Bug#354507: libkpathsea3 should be removed
On Fri, Mar 03, 2006 at 07:37:55PM +0100, Frank Küster wrote:
> Adrian Bunk <bunk@stusta.de> wrote:
>
> > As I said earlier in this bug:
> >
> > <-- snip -->
> >
> > Now that teTeX 3.0 is in testing and these testing-specific issues are
> > no longer an issue, would you expect any problems with simply renaming
> > libkpathsea4-dev to libkpathsea-dev (and providing libkpathsea4-dev)?
> >
> > <-- snip -->
> >
> > This should be the easiest way.
>
> If you provide a patch and promise to take care of the problems we don't
> expect, should they nevertheless occur, I won't object applying it.
>
> But I really can't understand why you keep discussing in *this* bug,
> instead of preparing a patch for, e.g., #354508 you submitted, or any
> other of the packages still using libkpathsea3.
Sending a patch for #354508 would be silly since all it takes is adding
one letter to debian/control, and I can't believe that you think the
maintainer of the package would be dumb enough for not seeing this from
the bug report.
The advantage of the libkpathsea4-dev -> libkpathsea-dev is that the
packages build depending on libkpathsea-dev will automatically move to
libkpathsea4.
I'd also have thought that implemting my porposal was trivial enough
that it's not worth sending a patch, but in case you need one it is
below.
> Regards, Frank
cu
Adrian
<-- snip -->
diff -urN tetex1/tetex-bin-3.0/debian/control tetex2/tetex-bin-3.0/debian/control
--- tetex1/tetex-bin-3.0/debian/control 2006-03-03 22:11:44.000000000 +0100
+++ tetex2/tetex-bin-3.0/debian/control 2006-03-03 22:15:26.000000000 +0100
@@ -41,13 +41,14 @@
which implements generic path searching, configuration, and
TeX-specific file searching.
-Package: libkpathsea4-dev
+Package: libkpathsea-dev
Section: libdevel
Priority: optional
Architecture: any
Depends: libkpathsea4 (= ${Source-Version})
Conflicts: kpathsea-dev, tetex-dev, libkpathsea-dev
Replaces: kpathsea-dev, tetex-dev, libkpathsea-dev
+Provides: libkpathsea4-dev
Description: path search library for teTeX (devel part)
This package contains the static library and header files for the
libkpathsea[rch] library.
diff -urN tetex1/tetex-bin-3.0/debian/libkpathsea4-dev.files tetex2/tetex-bin-3.0/debian/libkpathsea4-dev.files
--- tetex1/tetex-bin-3.0/debian/libkpathsea4-dev.files 2006-03-03 22:11:44.000000000 +0100
+++ tetex2/tetex-bin-3.0/debian/libkpathsea4-dev.files 1970-01-01 01:00:00.000000000 +0100
@@ -1,3 +0,0 @@
-usr/include
-usr/lib/libkpathsea.a
-usr/lib/libkpathsea.so
diff -urN tetex1/tetex-bin-3.0/debian/libkpathsea4-dev.README.Debian tetex2/tetex-bin-3.0/debian/libkpathsea4-dev.README.Debian
--- tetex1/tetex-bin-3.0/debian/libkpathsea4-dev.README.Debian 2006-03-03 22:11:44.000000000 +0100
+++ tetex2/tetex-bin-3.0/debian/libkpathsea4-dev.README.Debian 1970-01-01 01:00:00.000000000 +0100
@@ -1,25 +0,0 @@
-Why a new soname of libkpathsea in teTeX 3.0?
----------------------------------------------
-
-We're just quoting Olaf Weber, the author of web2c. The full message can be
-found on:
-http://lists.debian.org/debian-tetex-maint/2004/03/msg00181.html
-
-"libkpathsea moved from using klibtool (a web2c-specific libtool-like hack)
-to libtool. As a result it acquired a new soname.
-libkpathsea was not designed to work well as a shared library, and has
-numerous flaws in that area -- in particular, too many internals are
-exposed, and too much is hard-coded."
-
-Olaf does not expect too many changes in the API of the libkpathsea between
-teTeX 2.0.2 and 3.0 so just relinking the programs should be sufficient.
-However that is not really predictable.
-
-"So at present my advice is that it's better to be safe than sorry, and
-enforce that the version of libkpathsea matches the program's version."
-
-A new redesigned libkpathsea, which is really a shared lib, is on his TODO
-list, but he can't say when it will be released.
-
- -- Frank Küster <frank@debian.org>, Wed Aug 24 12:54:11 2005
-
diff -urN tetex1/tetex-bin-3.0/debian/libkpathsea-dev.files tetex2/tetex-bin-3.0/debian/libkpathsea-dev.files
--- tetex1/tetex-bin-3.0/debian/libkpathsea-dev.files 1970-01-01 01:00:00.000000000 +0100
+++ tetex2/tetex-bin-3.0/debian/libkpathsea-dev.files 2006-03-03 22:11:51.000000000 +0100
@@ -0,0 +1,3 @@
+usr/include
+usr/lib/libkpathsea.a
+usr/lib/libkpathsea.so
diff -urN tetex1/tetex-bin-3.0/debian/libkpathsea-dev.README.Debian tetex2/tetex-bin-3.0/debian/libkpathsea-dev.README.Debian
--- tetex1/tetex-bin-3.0/debian/libkpathsea-dev.README.Debian 1970-01-01 01:00:00.000000000 +0100
+++ tetex2/tetex-bin-3.0/debian/libkpathsea-dev.README.Debian 2006-03-03 22:11:51.000000000 +0100
@@ -0,0 +1,25 @@
+Why a new soname of libkpathsea in teTeX 3.0?
+---------------------------------------------
+
+We're just quoting Olaf Weber, the author of web2c. The full message can be
+found on:
+http://lists.debian.org/debian-tetex-maint/2004/03/msg00181.html
+
+"libkpathsea moved from using klibtool (a web2c-specific libtool-like hack)
+to libtool. As a result it acquired a new soname.
+libkpathsea was not designed to work well as a shared library, and has
+numerous flaws in that area -- in particular, too many internals are
+exposed, and too much is hard-coded."
+
+Olaf does not expect too many changes in the API of the libkpathsea between
+teTeX 2.0.2 and 3.0 so just relinking the programs should be sufficient.
+However that is not really predictable.
+
+"So at present my advice is that it's better to be safe than sorry, and
+enforce that the version of libkpathsea matches the program's version."
+
+A new redesigned libkpathsea, which is really a shared lib, is on his TODO
+list, but he can't say when it will be released.
+
+ -- Frank Küster <frank@debian.org>, Wed Aug 24 12:54:11 2005
+
diff -urN tetex1/tetex-bin-3.0/debian/rules tetex2/tetex-bin-3.0/debian/rules
--- tetex1/tetex-bin-3.0/debian/rules 2006-03-03 22:11:44.000000000 +0100
+++ tetex2/tetex-bin-3.0/debian/rules 2006-03-03 22:15:38.000000000 +0100
@@ -52,7 +52,7 @@
package=tetex-bin
sublib=libkpathsea4
-subdev=libkpathsea4-dev
+subdev=libkpathsea-dev
sharedir=debian/$(package)/usr/share
txmfdir=$(sharedir)/texmf
@@ -247,7 +247,7 @@
install-lib: build-stamp
# libkpathsea4 and most of the dev-package is installed by dh_movefiles
-# libkpathsea4-dev installer
+# libkpathsea-dev installer
mkdir -p debian/$(subdev)/usr/share/doc
(cd debian/$(subdev)/usr/share/doc; ln -s $(sublib) $(subdev))
diff -urN tetex1/tetex-bin-3.0/debian/rules.in tetex2/tetex-bin-3.0/debian/rules.in
--- tetex1/tetex-bin-3.0/debian/rules.in 2006-03-03 22:11:44.000000000 +0100
+++ tetex2/tetex-bin-3.0/debian/rules.in 2006-03-03 22:15:47.000000000 +0100
@@ -57,7 +57,7 @@
package=tetex-bin
sublib=libkpathsea4
-subdev=libkpathsea4-dev
+subdev=libkpathsea-dev
sharedir=debian/$(package)/usr/share
txmfdir=$(sharedir)/texmf
@@ -252,7 +252,7 @@
install-lib: build-stamp
# libkpathsea4 and most of the dev-package is installed by dh_movefiles
-# libkpathsea4-dev installer
+# libkpathsea-dev installer
mkdir -p debian/$(subdev)/usr/share/doc
(cd debian/$(subdev)/usr/share/doc; ln -s $(sublib) $(subdev))
Reply to: