Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1XJ13Z-0002OR-4X for pgsql-docs@arkaria.postgresql.org; Sun, 17 Aug 2014 14:03:37 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1XJ13Y-0005t2-A4 for pgsql-docs@arkaria.postgresql.org; Sun, 17 Aug 2014 14:03:36 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1XJ13W-0005st-Aq for pgsql-docs@postgresql.org; Sun, 17 Aug 2014 14:03:34 +0000 Received: from eisentraut.org ([85.214.91.16] helo=gattler.pezone.net) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1XJ13S-00044R-BB for pgsql-docs@postgresql.org; Sun, 17 Aug 2014 14:03:32 +0000 Received: from jesse.mybdev.com (c-68-81-16-241.hsd1.pa.comcast.net [68.81.16.241]) by gattler.pezone.net (Postfix) with ESMTPSA id DDA9A59000B for ; Sun, 17 Aug 2014 14:03:27 +0000 (UTC) Message-ID: <53F0B62C.2010002@gmx.net> Date: Sun, 17 Aug 2014 10:03:24 -0400 From: Peter Eisentraut User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:31.0) Gecko/20100101 Thunderbird/31.0 MIME-Version: 1.0 To: pgsql-docs Subject: some notes on man page build Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-docs Precedence: bulk Sender: pgsql-docs-owner@postgresql.org I want to put some notes out of my head and on the record regarding the docbook-xsl stylesheets and the man page build. The release builds currently use version 1.76.1, because that's what's in Debian stable on borka. That works fine. I didn't look into older versions recently, so let's make sure we use at least that one. In is asked for an upgrade to 1.78.1, which is the current upstream release, because I wanted this bug fixed: http://sourceforge.net/p/docbook/bugs/1233/ It turned out, however, that it introduced these two bugs http://sourceforge.net/p/docbook/bugs/1321/ http://sourceforge.net/p/docbook/bugs/1322/ These are fixed upstream, but there hasn't been a new release in a while. So the strategy going forward is to keep using 1.76.1 until borka gets upgraded (or are we going to use wheezy-lts?). If it does get upgraded and Debian jessie ships with 1.78.1, we'll need to decide about either downgrading back to 1.76.1 or taking whatever new release might be out there at the time. We should not ship a release built with 1.78.1. Besides that, there are a few stylesheet bugs/shortcomings that we carry local workarounds for. These are http://sourceforge.net/p/docbook/bugs/1058/ http://sourceforge.net/p/docbook/bugs/1239/ http://sourceforge.net/p/docbook/bugs/1245/ http://sourceforge.net/p/docbook/bugs/1340/ The difference is merely that some bugs are easier to work around locally than others. We might eventually remove these local workarounds once the fixed stylesheet versions are ubiquitous. But there isn't really a standard way to require a minimum stylesheet version, so it's not clear yet how to do that. Btw., the way I test this is something like cd doc/src/sgml make man mkdir build-1 mv man? build-1/ rm man-stamp # make stylesheet changes make man mkdir build-2 mv man? build-2/ diff -IGenerator -ur build-1 build-2 (The -I option skips hunks that are different merely because the version embedded in the output is different.) To use a different stylesheet version, edit stylesheet-man.xsl and change the line You can replace "current" by a specific version number such as "1.76.1" or also "snapshot", to use the current development version. Our you can replace the whole http URL with a local file URL. -- Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-docs