Hi *!
Please find attached a patch to rename libexiv2 to libexiv2-0.10, the SONAME of the library. Additionally, I changed all ${Source-Version} occurrences from hardcoded entries in control to an improved version using ${binary:Version} in shlibs.local. For this the versioned dependency on dpkg-dev is needed. If and when this patch is uploaded, the ufraw package needs to be bin-NMUed, to update the dependencies. Regards, David -- - hallo... wie gehts heute? - *hust* gut *rotz* *keuch* - gott sei dank kommunizieren wir über ein septisches medium ;) -- Matthias Leeb, Uni f. angewandte Kunst, 2005-02-15
diff -uwrbN exiv2-0.10/debian/control exiv2-0.10.new/debian/control --- exiv2-0.10/debian/control 2006-09-08 22:06:22.000000000 +0200 +++ exiv2-0.10.new/debian/control 2006-09-08 21:26:07.000000000 +0200 @@ -2,13 +2,13 @@ Section: graphics Priority: optional Maintainer: KELEMEN Peter <[EMAIL PROTECTED]> -Build-Depends: debhelper (>= 4.0.0), g++ (>= 4.0.0), autotools-dev, chrpath +Build-Depends: debhelper (>= 4.0.0), g++ (>= 4.0.0), autotools-dev, chrpath, dpkg-dev (>= 1.13.19) Standards-Version: 3.7.2 Package: exiv2 Section: graphics Architecture: any -Depends: libexiv2 (= ${Source-Version}), ${shlibs:Depends}, ${misc:Depends} +Depends: ${shlibs:Depends}, ${misc:Depends} Description: EXIF/IPTC metadata manipulation tool Exiv2 can: * print the EXIF metadata of JPEG images as summary info, interpreted values, @@ -23,7 +23,7 @@ * extract the thumbnail image embedded in the EXIF metadata * delete the thumbnail or the complete EXIF metadata from an image -Package: libexiv2 +Package: libexiv2-0.10 Section: libs Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} @@ -48,7 +48,7 @@ Package: libexiv2-dev Section: libdevel Architecture: any -Depends: libexiv2 (= ${Source-Version}), ${shlibs:Depends}, ${misc:Depends} +Depends: libexiv2-0.10 (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} Suggests: libexiv2-doc Description: EXIF/IPTC metadata manipulation library - development files Exiv2 C++ header files. @@ -56,6 +56,6 @@ Package: libexiv2-doc Section: doc Architecture: all -Depends: libexiv2 (= ${Source-Version}) +Suggests: libexiv2-0.10 Description: EXIF/IPTC metadata manipulation library - HTML documentation Exiv2 HTML documentation. diff -uwrbN exiv2-0.10/debian/libexiv2-0.10.postinst exiv2-0.10.new/debian/libexiv2-0.10.postinst --- exiv2-0.10/debian/libexiv2-0.10.postinst 1970-01-01 01:00:00.000000000 +0100 +++ exiv2-0.10.new/debian/libexiv2-0.10.postinst 2006-09-08 21:14:56.000000000 +0200 @@ -0,0 +1,42 @@ +#! /bin/sh +# postinst script for exiv2 +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * <postinst> `configure' <most-recently-configured-version> +# * <old-postinst> `abort-upgrade' <new version> +# * <conflictor's-postinst> `abort-remove' `in-favour' <package> +# <new-version> +# * <deconfigured's-postinst> `abort-deconfigure' `in-favour' +# <failed-install-package> <version> `removing' +# <conflicting-package> <version> +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package +# + +case "$1" in + configure) + : + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + diff -uwrbN exiv2-0.10/debian/libexiv2-0.10.postrm exiv2-0.10.new/debian/libexiv2-0.10.postrm --- exiv2-0.10/debian/libexiv2-0.10.postrm 1970-01-01 01:00:00.000000000 +0100 +++ exiv2-0.10.new/debian/libexiv2-0.10.postrm 2006-09-08 21:14:56.000000000 +0200 @@ -0,0 +1,36 @@ +#! /bin/sh +# postrm script for exiv2 +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * <postrm> `remove' +# * <postrm> `purge' +# * <old-postrm> `upgrade' <new-version> +# * <new-postrm> `failed-upgrade' <old-version> +# * <new-postrm> `abort-install' +# * <new-postrm> `abort-install' <old-version> +# * <new-postrm> `abort-upgrade' <old-version> +# * <disappearer's-postrm> `disappear' <r>overwrit>r> <new-version> +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) + : + ;; + + *) + echo "postrm called with unknown argument \`$1'" >&2 + exit 1 +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 diff -uwrbN exiv2-0.10/debian/libexiv2.postinst exiv2-0.10.new/debian/libexiv2.postinst --- exiv2-0.10/debian/libexiv2.postinst 2006-09-08 22:06:22.000000000 +0200 +++ exiv2-0.10.new/debian/libexiv2.postinst 1970-01-01 01:00:00.000000000 +0100 @@ -1,42 +0,0 @@ -#! /bin/sh -# postinst script for exiv2 -# -# see: dh_installdeb(1) - -set -e - -# summary of how this script can be called: -# * <postinst> `configure' <most-recently-configured-version> -# * <old-postinst> `abort-upgrade' <new version> -# * <conflictor's-postinst> `abort-remove' `in-favour' <package> -# <new-version> -# * <deconfigured's-postinst> `abort-deconfigure' `in-favour' -# <failed-install-package> <version> `removing' -# <conflicting-package> <version> -# for details, see http://www.debian.org/doc/debian-policy/ or -# the debian-policy package -# - -case "$1" in - configure) - : - ;; - - abort-upgrade|abort-remove|abort-deconfigure) - - ;; - - *) - echo "postinst called with unknown argument \`$1'" >&2 - exit 1 - ;; -esac - -# dh_installdeb will replace this with shell code automatically -# generated by other debhelper scripts. - -#DEBHELPER# - -exit 0 - - diff -uwrbN exiv2-0.10/debian/libexiv2.postrm exiv2-0.10.new/debian/libexiv2.postrm --- exiv2-0.10/debian/libexiv2.postrm 2006-09-08 22:06:22.000000000 +0200 +++ exiv2-0.10.new/debian/libexiv2.postrm 1970-01-01 01:00:00.000000000 +0100 @@ -1,36 +0,0 @@ -#! /bin/sh -# postrm script for exiv2 -# -# see: dh_installdeb(1) - -set -e - -# summary of how this script can be called: -# * <postrm> `remove' -# * <postrm> `purge' -# * <old-postrm> `upgrade' <new-version> -# * <new-postrm> `failed-upgrade' <old-version> -# * <new-postrm> `abort-install' -# * <new-postrm> `abort-install' <old-version> -# * <new-postrm> `abort-upgrade' <old-version> -# * <disappearer's-postrm> `disappear' <r>overwrit>r> <new-version> -# for details, see http://www.debian.org/doc/debian-policy/ or -# the debian-policy package - - -case "$1" in - purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) - : - ;; - - *) - echo "postrm called with unknown argument \`$1'" >&2 - exit 1 -esac - -# dh_installdeb will replace this with shell code automatically -# generated by other debhelper scripts. - -#DEBHELPER# - -exit 0 diff -uwrbN exiv2-0.10/debian/shlibs.local exiv2-0.10.new/debian/shlibs.local --- exiv2-0.10/debian/shlibs.local 2006-09-08 22:06:22.000000000 +0200 +++ exiv2-0.10.new/debian/shlibs.local 2006-09-08 21:25:52.000000000 +0200 @@ -1 +1 @@ -libexiv2 0.7 libexiv2 (= ${Source-Version}) +libexiv2-0.10 0.7 libexiv2-0.10 (= ${binary:Version})