From 0535e724a274818f0ef7fab74d5a59a32fd78ac9 Mon Sep 17 00:00:00 2001 From: Stephen Dolan Date: Sun, 19 May 2013 10:48:25 +0100 Subject: [PATCH] jq 1.3 release --- Makefile.am | 2 +- configure.ac | 2 +- docs/content/2.download/default.yml | 20 ++++++++++++++++---- docs/content/index/index.yml | 9 ++++++++- docs/public/css/base.scss | 7 +++++++ docs/site.yml | 2 +- docs/templates/default.liquid | 2 +- docs/templates/index.liquid | 10 ++++++++++ 8 files changed, 45 insertions(+), 9 deletions(-) diff --git a/Makefile.am b/Makefile.am index be8e914..3415205 100644 --- a/Makefile.am +++ b/Makefile.am @@ -77,7 +77,7 @@ endif ### Packaging docs/site.yml: configure.ac - sed 's/^jq_version: .*/jq_version: $(VERSION)/' $@ > $@.new + sed 's/^jq_version: .*/jq_version: "$(VERSION)"/' $@ > $@.new mv $@.new $@ install-binaries: $(BUILT_SOURCES) diff --git a/configure.ac b/configure.ac index 0ad893a..1ee3ad7 100644 --- a/configure.ac +++ b/configure.ac @@ -1,4 +1,4 @@ -AC_INIT([jq], [1.2], [mu@netsoc.tcd.ie], +AC_INIT([jq], [1.3], [mu@netsoc.tcd.ie], [jq], [http://stedolan.github.com/jq/]) dnl Created autoconf implementation thompson@dtosolutions, 26NOV12 diff --git a/docs/content/2.download/default.yml b/docs/content/2.download/default.yml index 502ef0b..c7faa1e 100644 --- a/docs/content/2.download/default.yml +++ b/docs/content/2.download/default.yml @@ -27,7 +27,7 @@ body: manually by following instructions on [Arch Linux's Wiki](https://wiki.archlinux.org/index.php/Arch_UseRepository). - * Debian/Ubuntu packages are coming Real Soon Now. + * jq 1.2 is [in Debian](http://packages.debian.org/jq) ### OS X @@ -42,18 +42,28 @@ body: ### From source on Linux or OS X + * [Source tarball for jq $JQ_VERSION](source/jq-$JQ_VERSION.tar.gz) + + You can build it using the usual `./configure && make && sudo + make install` rigmarole. + + If you're interested in using the lastest development version, try: + git clone https://github.com/stedolan/jq.git cd jq - make && sudo make install + autoreconf + ./configure + make + sudo make install To build it from a git clone, you'll need to install a few packages first: * [Flex](http://www.gnu.org/software/flex/) * [Bison](http://www.gnu.org/software/bison/) - * [Python](http://www.python.org) * [GCC](http://gcc.gnu.org) * [Make](http://www.gnu.org/software/make) + * [Autotools](http://www.gnu.org/software/automake) For Linux systems, these will all be in your system's package manager, and if you do development on the machine they're most @@ -73,6 +83,8 @@ body: jq's documentation is compiled into static HTML using [Bonsai](http://www.tinytree.info). To view the documentation - locally, run `rake serve` from the docs/ subdirectory. + locally, run `rake serve` from the docs/ subdirectory. You'll + need a few Ruby dependencies, which can be installed by + following the instructions in `docs/README.md`. diff --git a/docs/content/index/index.yml b/docs/content/index/index.yml index 6b6faf3..096fbed 100644 --- a/docs/content/index/index.yml +++ b/docs/content/index/index.yml @@ -24,4 +24,11 @@ body3: | tail: | Go read the [tutorial](tutorial/) for more, or the [manual](manual/) - for *way* more. \ No newline at end of file + for *way* more. + +news: + - date: 2013-05-19 + body: | + + jq 1.3 (finally) released! Get it on the [download](download/) page. + diff --git a/docs/public/css/base.scss b/docs/public/css/base.scss index 260f830..9f58d94 100644 --- a/docs/public/css/base.scss +++ b/docs/public/css/base.scss @@ -89,4 +89,11 @@ h3 code { footer { text-align: center; +} + +#news { + font-size: 12pt; + .date { + font-style: italic; + } } \ No newline at end of file diff --git a/docs/site.yml b/docs/site.yml index 37f82cf..058bd4c 100644 --- a/docs/site.yml +++ b/docs/site.yml @@ -4,7 +4,7 @@ # This line is modified by the Makefile. To change the version number, # edit the Autoconf version number at the top of configure.ac -jq_version: 1.2 +jq_version: "1.3" root: '/jq' footer: | diff --git a/docs/templates/default.liquid b/docs/templates/default.liquid index eb2ebbb..c49de1c 100644 --- a/docs/templates/default.liquid +++ b/docs/templates/default.liquid @@ -10,7 +10,7 @@

{{headline}}

{% for item in body %} {% if item.text %} - {{ item.text | markdownify }} + {{ item.text | replace: '$JQ_VERSION', jq_version | markdownify }} {% endif %} {% if item.command %} diff --git a/docs/templates/index.liquid b/docs/templates/index.liquid index 4165c76..6ee88bb 100644 --- a/docs/templates/index.liquid +++ b/docs/templates/index.liquid @@ -35,6 +35,16 @@
{{tail | markdownify}}
+
+

News

+
+
    + {% for item in news %} +
  • {{ item.date | date: '%m %B %Y' }}{{item.body | markdownify}}
  • + {% endfor %} +
+
+
{% include "shared/footer" %} -- 2.40.0