pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
autodoc - autodoc: Seems tar on FreeBSD has changed behaviour since the
2+ messages / 2 participants
[nested] [flat]

* autodoc - autodoc: Seems tar on FreeBSD has changed behaviour since the
@ 2009-05-01 02:31 User Rbt <rbt@pgfoundry.org>
  0 siblings, 0 replies; 2+ messages in thread

From: rbt@pgfoundry.org @ 2009-05-01 02:31 UTC (permalink / raw)
  To: pgsql-committers

Log Message:
-----------
Seems tar on FreeBSD has changed behaviour since the last release. Copy files to new location and build tarball out of that directory.

Modified Files:
--------------
    autodoc:
        ChangeLog (r1.10 -> r1.11)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/autodoc/autodoc/ChangeLog.diff?r1=1.10&r2=1.11)
        Makefile (r1.6 -> r1.7)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/autodoc/autodoc/Makefile.diff?r1=1.6&r2=1.7)




^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* pgsql: Fix documentation build with older docbook-xsl
@ 2024-02-08 10:42 Peter Eisentraut <peter@eisentraut.org>
  0 siblings, 0 replies; 2+ messages in thread

From: Peter Eisentraut @ 2024-02-08 10:42 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Fix documentation build with older docbook-xsl

Commit b0f0a9432d0 backpatched some code from upstream DocBook XSL to
our customization layer.  It turned out that this failed to work with
anything but the latest DocBook XSL upstream version (1.79.*), because
the backpatched code references an XSLT parameter (autolink.index.see)
that is not defined in earlier versions (because the feature it is
used for did not exist yet).

There is no way in XSLT to test whether a parameter is declared before
the stylesheet processor tries and fails to access it.  So the
possibilities to fix this would be to either remove the code that uses
the parameter (and thus give up on the feature it is used for) or
declare the parameter in our customization layer.  The latter seems
easier, and with a few more lines of code we can backport the entire
autolink.index.see feature, so let's do that.  (If we didn't, then
with older stylesheets the parameter will appear as on, but it won't
actually do anything, because of the way the stylesheets are laid out,
so it's less confusing to just make it work.)

With this, the documentation build should work again with docbook-xsl
versions 1.77.*, 1.78.*, and 1.79.* (which already worked before).
Version 1.76.1 already didn't work before all this, so was not
considered here.

Reported-by: Peter Smith <smithpb2250@gmail.com>
Discussion: https://www.postgresql.org/message-id/flat/9077b779-a9f8-09c8-6e85-da1ebfba15af@eisentraut.org

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/5869aef9a15d5dc0b4de3d63d1ae360a6f34afb4

Modified Files
--------------
doc/src/sgml/stylesheet-common.xsl      | 7 +++++++
doc/src/sgml/stylesheet-fo.xsl          | 4 ++++
doc/src/sgml/stylesheet-html-common.xsl | 4 ++++
3 files changed, 15 insertions(+)



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2024-02-08 10:42 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2009-05-01 02:31 autodoc - autodoc: Seems tar on FreeBSD has changed behaviour since the User Rbt <rbt@pgfoundry.org>
2024-02-08 10:42 pgsql: Fix documentation build with older docbook-xsl Peter Eisentraut <peter@eisentraut.org>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox