Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Nov 2002 10:28:41 -0800
From:      Will Andrews <will@csociety.org>
To:        gnome@freebsd.org
Cc:        kde@freebsd.org
Subject:   Fix for libxml2-2.4.26 bug re: SGML_CATALOG_FILES
Message-ID:  <20021114182841.GG62585@procyon.firepipe.net>

next in thread | raw e-mail | index | archive | help

--RpqchZ26BWispMcB
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi gnome@ and kde@ people,

An API change was made to libxml2-2.4.26 (from 2.4.25) which
broke building KDE documentation.  A conversation between KDE and
the libxml2 maintainers (Daniel Veillard and Igor Zlatkovic in
particular) occurred via GNOME Bug#96963:

http://bugzilla.gnome.org/show_bug.cgi?id=3D96963

The conclusion was that since a different environment variable
than SGML_CATALOG_FILES was already assigned for the purpose of
using URIs to specify DTD catalog files, the breakage caused by
rev. 1.36 by Igor could be reverted and the variable deprecated
in favor of XML_CATALOG_FILES, which supports the default file://
scheme (and the fact that ':' are valid filename characters).

See the GNOME CVS logs:

http://cvs.gnome.org/bonsai/cvslog.cgi?file=3Dlibxml2/catalog.c&rev=3D&root=
=3D/cvs/gnome

A simple fix was used: back out the change to catalog.c that
broke the API.  This patch can be removed in the next version of
libxml2 as it is merged in GNOME CVS.

My patch to the port (ports/textproc/libxml2) is at:

http://people.fruitsalad.org/will/patches/libxml2-2.4.26_1.diff

which fixes the bug and bumps PORTREVISION.  Please consider
committing this ASAP, as it has affected KDE users for the last
three weeks or so.

Two test KDE CVS builds have succeeded with this patch (well,
without the PORTREVISION bump):

http://rabarber.fruitsalad.org/logs/200211132234/4-STABLE/
http://rabarber.fruitsalad.org/logs/200211140803/4-STABLE/

I have not (and will not) test any other GNOME stuff, but I'm
sure gnome@ has an automated mechanism of some sort to try it.
I'm positive it will work since GNOME fixed it in the same way.

Thanks!

Regards,
--=20
wca

--RpqchZ26BWispMcB
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (FreeBSD)

iD8DBQE90+tYF47idPgWcsURAnOuAJ92GYP0lZ3hcv2HWN2Aurxk2qTgfwCfZZFZ
TZ2U2QZOL/ZL2bW3wWfIqdQ=
=jU/l
-----END PGP SIGNATURE-----

--RpqchZ26BWispMcB--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-gnome" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021114182841.GG62585>