Source: gpr Version: 0.15deb-2 Severity: important Tags: patch Hello,
In order to clean the aisle wrt package and file names, the libppd library has been renamed to libppd-legacy, and your package needs an adjustment. The patch below does the job but is otherwise minimal, following the spirit of an NMU (it was much saner but more intrusive to switch to debhelper sequence style, bump debhelper to 9+, and adjust configure.ac intead). The existing libppd-dev and libppd0 package will go away soon, I will raise to severity to serious as grp will FTBFS then, and upload a fix according to the NMU guidelines. Sorry if this appears being pushy, all this should be done before transition freeze on January 12th. Regards, Christoph
diff --git a/debian/control b/debian/control index f3e5e95..5ea83dc 100644 --- a/debian/control +++ b/debian/control @@ -1,7 +1,7 @@ Source: gpr Section: utils Priority: optional -Build-Depends: debhelper (>= 8), po-debconf, gettext, autotools-dev, libtool, libppd-dev (>= 0.10), libgtk2.0-dev (>= 2.6), libpopt-dev, zlib1g-dev +Build-Depends: debhelper (>= 8), po-debconf, gettext, autotools-dev, libtool, libppd-legacy-dev (>= 0.10), libgtk2.0-dev (>= 2.6), libpopt-dev, zlib1g-dev Maintainer: A Mennucc1 <mennu...@debian.org> Standards-Version: 3.9.1.0 diff --git a/debian/patches/series b/debian/patches/series index 1cec446..0256a73 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -2,3 +2,4 @@ 0002-show-name-of-default-printer.patch 0003-use-non-deprecated-combo-boxes.patch autostuff-2011 +use-legacy-libppd.patch diff --git a/debian/patches/use-legacy-libppd.patch b/debian/patches/use-legacy-libppd.patch new file mode 100644 index 0000000..fd85974 --- /dev/null +++ b/debian/patches/use-legacy-libppd.patch @@ -0,0 +1,38 @@ +Subject: Follow renaming of libppd to libppd-legacy +Author: Christoph Biedl <debian.a...@manchmal.in-ulm.de> +Date: 2022-12-27 +Forwarded: not-needed + +--- a/configure ++++ b/configure +@@ -6383,13 +6383,13 @@ + done + + +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ppd_file_new in -lppd" >&5 +-$as_echo_n "checking for ppd_file_new in -lppd... " >&6; } ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ppd_file_new in -lppd-legacy" >&5 ++$as_echo_n "checking for ppd_file_new in -lppd-legacy... " >&6; } + if ${ac_cv_lib_ppd_ppd_file_new+:} false; then : + $as_echo_n "(cached) " >&6 + else + ac_check_lib_save_LIBS=$LIBS +-LIBS="-lppd $LIBS" ++LIBS="-lppd-legacy $LIBS" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + +@@ -6424,11 +6424,11 @@ + #define HAVE_LIBPPD 1 + _ACEOF + +- LIBS="-lppd $LIBS" ++ LIBS="-lppd-legacy $LIBS" + + else + +- as_fn_error $? "Must have libppd installed to compile gpr" "$LINENO" 5 ++ as_fn_error $? "Must have libppd-legacy installed to compile gpr" "$LINENO" 5 + fi + +
signature.asc
Description: PGP signature