Bug#253958: (fwd) Re: (fwd) Bug#253958: Unable to build packages depending on this with gcc.
On 08.07.04 Olaf Weber (olaf@infovore.xs4all.nl) wrote:
> Hilmar Preusse writes:
> > On 14.06.04 Hilmar Preusse (hille42@web.de) wrote:
Hi all,
> >> Perhaps we should more explicitly say, that one have to use
> >> "#include <kpathsea/kpathsea.h>". I guess, that was the bug in
> >> that case. Patch applies to kpathsea.texi of latest beta and
> >> teTeX 2.0.2
>
> > What about this suggestion? If there is nothing more to add (i.e.
> > you don't plan to change the docs) I suggest to close that bug
> > now, as the issue is clarified.
>
> FYI, I made the following change to the kpathsea sources.
>
Thanks very much! We'll apply that change to our teTeX 2.0.2 packages
temporary so we can close that bug. Frank: kpathsea.diff should be
added to patch-tmp. Unfortunately we have to add a B-D on texinfo as
I regenerate kpathsea.info during build (well I could patch
kpathsea.info manually...). The other two patches belong to the
appropriate files.
Regards,
H.
--
sigmentation fault
--- texk/kpathsea/kpathsea.texi 2003-01-24 21:36:51.000000000 +0000
+++ texk/kpathsea/kpathsea.texi 2004-07-08 22:28:37.000000000 +0000
@@ -1925,8 +1925,17 @@
files define the actual routines, which are the ultimate documentation).
@file{pathsearch.h} declares the basic searching routine.
@file{tex-file.h} and @file{tex-glyph.h} define the interfaces for
-looking up particular kinds of files. You may wish to use
-@code{#include <kpathsea/kpathsea.h>}, which includes every Kpathsea header.
+looking up particular kinds of files. In view of the way the headers
+depend on each other, it is recommended to use @code{#include
+<kpathsea/kpathsea.h>}, which includes every Kpathsea header.
+
+@flindex config.h
+@flindex c-auto.h
+If you want to include only specific headers, you should still consider
+including @file{kpathsea/config.h} before including any other Kpathsea
+header, as it provides symbols used in the other headers. Note that
+@file{kpathsea/config.h} includes @file{kpathsea/c-auto.h}, which is
+generated by Autoconf.
@cindex file types, registering new
The library provides no way for an external program to register new file
--- control 2004-07-08 23:46:15.000000000 +0000
+++ control 2004-07-08 23:45:13.000000000 +0000
@@ -4,7 +4,7 @@
Maintainer: teTeX maintainers <debian-tetex-maint@lists.debian.org>
Uploaders: Christoph Martin <christoph.martin@uni-mainz.de>, Julian Gilbey <jdg@debian.org>, C.M. Connelly <cmc@debian.org>, Atsuhito KOHDA <kohda@debian.org>, Frank KÃŒster <frank@debian.org>
Standards-Version: 3.5.6.0
-Build-Depends: debhelper (>= 4.1.16), ed, libpng12-dev, zlib1g-dev, xlibs-dev, libxaw7-dev | libxaw-dev, flex, bison, tetex-base (>= 1.0.2+20021025), libtiff3g-dev, libwww-dev (>= 5.4.0-4), libwww0, libt1-dev (>= 5.0.0-3), po-debconf, autotools-dev, libpaper-dev
+Build-Depends: debhelper (>= 4.1.16), ed, libpng12-dev, zlib1g-dev, xlibs-dev, libxaw7-dev | libxaw-dev, flex, bison, tetex-base (>= 1.0.2+20021025), libtiff3g-dev, libwww-dev (>= 5.4.0-4), libwww0, libt1-dev (>= 5.0.0-3), po-debconf, autotools-dev, libpaper-dev, texinfo
Package: tetex-bin
Priority: optional
--- rules 2004-07-08 23:46:15.000000000 +0000
+++ rules 2004-07-08 23:29:57.000000000 +0000
@@ -62,6 +62,8 @@
# cp texk/web2c/omegafonts/lex.yy.c-dist texk/web2c/omegafonts/lex.yy.c
# Add here commands to compile the package.
make ${CFLAGS}
+# temporary cause we patch kpathsea.texi
+ cd texk/kpathsea; makeinfo --paragraph-indent=2 kpathsea.texi
gcc -o debian/tetex-xwarn -O2 -W -Wall -ansi -pedantic -L/usr/X11R6/lib -lXaw -lXt -lX11 debian/texdoctk-warn.c
touch build-stamp
Reply to: