[Pkg-phototools-devel] Bug#971067: RFS: libexif-gtk/0.5.0-1

Andreas Metzler ametzler at bebt.de
Tue Sep 29 13:03:24 BST 2020


On 2020-09-27 Hugh McMaster <hugh.mcmaster at outlook.com> wrote:
[...]
> I am looking for a sponsor to upload the package "libexif-gtk" to NEW,
> as switching to GTK 3 caused the main package to be renamed.

>  * Package name    : libexif-gtk
[...]
> The source builds the following binary packages:

>   libexif-gtk-dev - Library providing GTK+ widgets to display/edit
> EXIF tags (development files)
>   libexif-gtk5 - Library providing GTK+ widgets to display/edit EXIF
> tags (transitional package)
>   libexif-gtk3-5 - Library providing GTK+ widgets to display/edit EXIF tags
[...]


Hello Hugh,

I have just taken a quick look:

[nitpick] Explicit b-dep on autopoint is superfluous, debhelper pulls it
in for dh_autoreconf.

The transitional package makes no sense, it actually causes breakage.
Packages depend on libexif-gtk5 because they need a library with soname
libexif-gtk.so.5. The dummy package makes libexif-gtk5 0.5.0-1 +
libexif-gtk3-5 fulfill this dependency without providing
libexif-gtk.so.5. Any package depending on libexif-gtk5 will need to be
rebuilt against libexif-gtk-dev 0.5 and will then depend on
libexif-gtk3-5.

Also libexif-gtk5 0.4 and libexif-gtk3-5 should be co-installable (no
breaks/replaces - policy 8.1, worth reading in whole), afaict this
should be easily possible once the gettext message catalogues names are
versioned. I /think/ (untested!) this should do the trick:

--- libexif-gtk-0.5.0.orig/configure.ac
+++ libexif-gtk-0.5.0/configure.ac
@@ -47,7 +47,7 @@ dnl GP_CONFIG_MSG([Features])
 # ---------------------------------------------------------------------------
 ALL_LINGUAS="de es fr pl ru"
 AM_PO_SUBDIRS
-GP_GETTEXT_HACK([${PACKAGE}-${LIBEXIF_GTK_CURRENT}],
+GP_GETTEXT_HACK([${PACKAGE}3-${LIBEXIF_GTK_CURRENT}],

cu Andreas

-- 
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'



More information about the Pkg-phototools-devel mailing list