Hi,

* Carsten Hey [2012-04-28 14:19 +0200]:
> Uploading this change in the time frame from now (Ubuntu LTS is
> releasing today) to the upcoming freeze of Debian Wheezy guarantees that
> the installed deborphan release provides these options (even during
> partial updates and without the need to add a versioned dependency) and
> also ensures that during the next Debian release cycle deborphan is able
> to adapt the output of --all-packages or --show-deps if needed without
> breaking gtkorphan.

this time frame I wrote about is nearly over (possibly just a matter of
hours), so I uploaded a NMU that fixes this bug, adds the Spanish
translation, and, since debhelper compat level 4 is deprecated and there
is no difference in the built binary anyway, I bumped the dh compat
level to 9.

The diff without the Spanish translation file es.po between the source
packages 0.4.4-1 and 0.4.4-1.1 is attached.


Regards
Carsten

diff -u gtkorphan-0.4.4/debian/changelog gtkorphan-0.4.4/debian/changelog
--- gtkorphan-0.4.4/debian/changelog
+++ gtkorphan-0.4.4/debian/changelog
@@ -1,3 +1,22 @@
+gtkorphan (0.4.4-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Use deborphan's frontend specific options.  They provide a non-changing
+    interface to deborphan, even if deborphan needs to adapt its output
+    format, for example, if sections are replaced by tags in Debian.
+    (Closes:#670716)
+  * Depend on deborphan >= 1.7.28.2 instead of >= 1.7.17.  deborphan
+    1.7.28.2 or later is available since Debian Squeeze (6.0) and Ubuntu
+    Natty (11.04).
+  * Bump debhelper compat level to 9, adapt build-dependency on debhelper in
+    debian/control and use dh_prep in debian/rules.  The rationale for this
+    change is that the previously used compat level has been deprecated
+    and the there were no changes in debhelper since compat level 4 that
+    are relevant for gtkorphan.
+  * Add Spanish translation, provided by Omar Campagne.  (Closes:#537825)
+
+ -- Carsten Hey <cars...@debian.org>  Fri, 15 Jun 2012 22:31:17 +0000
+
 gtkorphan (0.4.4-1) unstable; urgency=low
 
   * Replaced gksu with su-to-root (Closes:#479819)
diff -u gtkorphan-0.4.4/debian/rules gtkorphan-0.4.4/debian/rules
--- gtkorphan-0.4.4/debian/rules
+++ gtkorphan-0.4.4/debian/rules
@@ -47,7 +47,7 @@
 install: build
 	dh_testdir
 	dh_testroot
-	dh_clean -k 
+	dh_prep
 	dh_installdirs
 
 	$(MAKE) install DESTDIR=$(CURDIR)/debian/gtkorphan
diff -u gtkorphan-0.4.4/debian/compat gtkorphan-0.4.4/debian/compat
--- gtkorphan-0.4.4/debian/compat
+++ gtkorphan-0.4.4/debian/compat
@@ -1 +1 @@
-4
+9
diff -u gtkorphan-0.4.4/debian/control gtkorphan-0.4.4/debian/control
--- gtkorphan-0.4.4/debian/control
+++ gtkorphan-0.4.4/debian/control
@@ -1,13 +1,13 @@
 Source: gtkorphan
 Section: admin
 Priority: optional
-Build-Depends: debhelper (>= 4.0.0), libxml-parser-perl, libgtk2-perl (>=1:1.100)
+Build-Depends: debhelper (>= 9.0.0), libxml-parser-perl, libgtk2-perl (>=1:1.100)
 Standards-Version: 3.7.3
 Maintainer: Fabio Marzocca <thesalty...@gmail.com>
 
 Package: gtkorphan
 Architecture: all
-Depends: menu, perl, deborphan(>=1.7.17), libgtk2-perl (>=1:1.100-1), libglib-perl (>=1:1.100-1), liblocale-gettext-perl, libgtk2-gladexml-perl
+Depends: menu, perl, deborphan(>=1.7.28.2), libgtk2-perl (>=1:1.100-1), libglib-perl (>=1:1.100-1), liblocale-gettext-perl, libgtk2-gladexml-perl
 Description: A graphical tool to find and remove orphaned libraries
  GtkOrphan is a graphical tool which scans your Debian system, looking for
  orphaned libraries. It implements a GUI front-end to deborphan, but adds the
only in patch2:
unchanged:
--- gtkorphan-0.4.4.orig/configure
+++ gtkorphan-0.4.4/configure
@@ -2246,7 +2246,7 @@
 
 ACLOCAL="$ACLOCAL $ACLOCAL_FLAGS"
 
-ALL_LINGUAS="it fr bg de cs vi sv nl zh_CN"
+ALL_LINGUAS="it fr bg de cs vi sv nl zh_CN es"
 GETTEXT_PACKAGE=gtkorphan
 
 
only in patch2:
unchanged:
--- gtkorphan-0.4.4.orig/configure.in
+++ gtkorphan-0.4.4/configure.in
@@ -13,7 +13,7 @@
 dnl put the ACLOCAL flags in the makefile
 ACLOCAL="$ACLOCAL $ACLOCAL_FLAGS"
 
-ALL_LINGUAS="it fr bg de cs vi sv nl zh_CN" 
+ALL_LINGUAS="it fr bg de cs vi sv nl zh_CN es" 
 GETTEXT_PACKAGE=gtkorphan
 AC_SUBST(GETTEXT_PACKAGE)
 AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", [Gettext package])
only in patch2:
unchanged:
only in patch2:
unchanged:
--- gtkorphan-0.4.4.orig/lib/gtkorphan_ops.pm
+++ gtkorphan-0.4.4/lib/gtkorphan_ops.pm
@@ -227,7 +227,7 @@
 	$options .= " --find-config" if ($find_config->get_active()) ;
 	
 	#all packages checked?
-	$options .= " --all-packages" if ($find_all->get_active()) ;
+	$options .= " --all-packages-pristine" if ($find_all->get_active()) ;
 	
 	
 	#GUESS options
@@ -608,7 +608,7 @@
 	$application->tv_regular->set_sensitive(TRUE);
 
 	#get orphaned to remove from list
-	#(deborphan bug on -d option
+	#(deborphan bug on --show-deps-pristine option
 	$command = $application->dorph;
 	my @orphaned = `$command`;
 	chomp (@orphaned);
@@ -617,7 +617,7 @@
 
 	
 	#build and spawn command line
-	$command = $application->dorph." -Psz -d".$options;
+	$command = $application->dorph." -Psz --show-deps-pristine".$options;
 	my @libraries = `$command`;
 	chomp (@libraries);
 	
@@ -666,7 +666,7 @@
 	$check_all=$gtkorphan_app::gladexml->get_widget('check_all_regular');
 	
 	#check_all checked?
-	$options .= " -a" if ($check_all->get_active()) ;
+	$options .= " --all-packages-pristine" if ($check_all->get_active()) ;
 
 	
 	return $options;

Reply via email to