tags 666589 +patch
thanks
I'm running a derivative distribution called raspbian to provide a
hardfloat distribution for the Pi and one of our users asked for this
package so I went looking for a soloution to make it build.
And I've found one but it's kinda ugly, it would require a trip through
new and given how long this package has been out of testing I doubt the
release team would consider it for debian wheezy. Still I thought I
would document my soloution and provide the patches here in case users
or maintainers of other derivatives find them useful.
The problem is that libgeotiff-dev contains both a static library and a
shared library symlink. Shared libraries have inbuilt soname based
dependencies but static ones do not. So the libgeotiff-dev package needs
to have a dependency on libtiff5-dev to provide for users who are using
the static library.
My soloution was to create a libgeotiff5-alt-dev package, this package
provides the headers and shared library symlink but NOT the static
library. As such it does not need to depend on libtiff5-dev and can be
installed alongside packages that depend on libtiff4-dev.
I then modified xastir to depend on libgeotiff5-alt-dev instead of
libgeotiff5-dev.
debdiffs are attatched.
diff -Nru libgeotiff-dfsg-1.3.0+dfsg/debian/changelog
libgeotiff-dfsg-1.3.0+dfsg/debian/changelog
--- libgeotiff-dfsg-1.3.0+dfsg/debian/changelog 2012-03-12 13:19:55.000000000
+0000
+++ libgeotiff-dfsg-1.3.0+dfsg/debian/changelog 2012-07-29 00:12:21.000000000
+0000
@@ -1,3 +1,10 @@
+libgeotiff-dfsg (1.3.0+dfsg-3+rpi1) wheezy-staging; urgency=low
+
+ * build alternate dev package that only contains shared library and
+ doesn't depend on libtiff5-dev.
+
+ -- Peter Michael Green <plugw...@raspbian.org> Sun, 29 Jul 2012 00:11:09
+0000
+
libgeotiff-dfsg (1.3.0+dfsg-3) unstable; urgency=high
* Fixed wrong libgeotiff-dev dependency on old libtiff-dev version.
diff -Nru libgeotiff-dfsg-1.3.0+dfsg/debian/control
libgeotiff-dfsg-1.3.0+dfsg/debian/control
--- libgeotiff-dfsg-1.3.0+dfsg/debian/control 2012-03-12 13:20:16.000000000
+0000
+++ libgeotiff-dfsg-1.3.0+dfsg/debian/control 2012-07-29 01:28:17.000000000
+0000
@@ -22,6 +22,21 @@
This package contains stuff to be used to develop programs based
on the GeoTIFF library.
+Package: libgeotiff-alt-dev
+Section: libdevel
+Architecture: any
+Depends: libgeotiff2 (= ${binary:Version})
+Suggests: libgeotiff-epsg
+Conflicts: libgeotiff-dev
+Description: the GeoTIFF library -- development files
+ This C library supports TIFF 6.0 based interchange format for georeferenced
+ raster imagery. The GeoTIFF standard has been developed for reading, and
+ writing geographic meta-information tags on top of TIFF raster.
+ .
+ This is an alternative development package that does not depend on
+ libtiff5-dev and does not provide a static library.
+
+
Package: libgeotiff2
Section: libs
Architecture: any
diff -Nru libgeotiff-dfsg-1.3.0+dfsg/debian/libgeotiff-alt-dev.dirs
libgeotiff-dfsg-1.3.0+dfsg/debian/libgeotiff-alt-dev.dirs
--- libgeotiff-dfsg-1.3.0+dfsg/debian/libgeotiff-alt-dev.dirs 1970-01-01
00:00:00.000000000 +0000
+++ libgeotiff-dfsg-1.3.0+dfsg/debian/libgeotiff-alt-dev.dirs 2012-07-29
00:14:57.000000000 +0000
@@ -0,0 +1,3 @@
+usr/lib
+usr/include/geotiff
+usr/share/doc/libgeotiff-dev
diff -Nru libgeotiff-dfsg-1.3.0+dfsg/debian/libgeotiff-alt-dev.docs
libgeotiff-dfsg-1.3.0+dfsg/debian/libgeotiff-alt-dev.docs
--- libgeotiff-dfsg-1.3.0+dfsg/debian/libgeotiff-alt-dev.docs 1970-01-01
00:00:00.000000000 +0000
+++ libgeotiff-dfsg-1.3.0+dfsg/debian/libgeotiff-alt-dev.docs 2012-07-29
00:15:13.000000000 +0000
@@ -0,0 +1,3 @@
+README
+docs/index.dox
+docs/manual.txt
diff -Nru libgeotiff-dfsg-1.3.0+dfsg/debian/libgeotiff-alt-dev.install
libgeotiff-dfsg-1.3.0+dfsg/debian/libgeotiff-alt-dev.install
--- libgeotiff-dfsg-1.3.0+dfsg/debian/libgeotiff-alt-dev.install
1970-01-01 00:00:00.000000000 +0000
+++ libgeotiff-dfsg-1.3.0+dfsg/debian/libgeotiff-alt-dev.install
2012-07-29 00:15:36.000000000 +0000
@@ -0,0 +1,3 @@
+usr/include/*.h usr/include/geotiff
+usr/include/*.inc usr/include/geotiff
+usr/lib/lib*.so
diff -Nru xastir-2.0.0/debian/changelog xastir-2.0.0/debian/changelog
--- xastir-2.0.0/debian/changelog 2011-06-21 19:26:52.000000000 +0000
+++ xastir-2.0.0/debian/changelog 2012-07-29 01:06:24.000000000 +0000
@@ -1,3 +1,9 @@
+xastir (2.0.0-2+rpi1) wheezy-staging; urgency=low
+
+ * change build-depends from libgeotiff-dev to libgeotiff-alt-dev
+
+ -- Peter Michael Green <plugw...@raspbian.org> Sun, 29 Jul 2012 01:05:58
+0000
+
xastir (2.0.0-2) unstable; urgency=low
* Upgrade to 3.9.2 packaging standard.
diff -Nru xastir-2.0.0/debian/control xastir-2.0.0/debian/control
--- xastir-2.0.0/debian/control 2011-06-21 19:25:11.000000000 +0000
+++ xastir-2.0.0/debian/control 2012-07-29 01:07:43.000000000 +0000
@@ -4,7 +4,7 @@
Maintainer: Debian Hams group <debian-h...@lists.debian.org>
Uploaders: Jerry Stueve <k4...@arrl.net>, Kamal Mostafa <ka...@whence.com>,
Hamish Moffatt <ham...@debian.org>
Standards-Version: 3.9.2
-Build-Depends: debhelper (>= 7), libax25-dev, lesstif2-dev | libmotif-dev,
libxext-dev, libxt-dev, festival-dev, libgraphicsmagick1-dev |
libgraphicsmagick-dev, libshp-dev, libproj-dev, libpcre3-dev,
libcurl4-gnutls-dev | libcurl-ssl-dev, libgdal1-dev (>= 1.5.0), libdb-dev,
libgeotiff-dev
+Build-Depends: debhelper (>= 7), libax25-dev, lesstif2-dev | libmotif-dev,
libxext-dev, libxt-dev, festival-dev, libgraphicsmagick1-dev |
libgraphicsmagick-dev, libshp-dev, libproj-dev, libpcre3-dev,
libcurl4-gnutls-dev | libcurl-ssl-dev, libgdal1-dev (>= 1.5.0), libdb-dev,
libgeotiff-alt-dev
Homepage: http://www.xastir.org/
Vcs-Browser: http://xastir.cvs.sourceforge.net/viewvc/xastir/xastir/
Vcs-Cvs: :pserver:anonym...@xastir.cvs.sourceforge.net/cvsroot/xastir