Control: tags 687590 + pending
Control: tags 870543 + pending

Dear maintainer,

I've prepared an NMU for liblqr (versioned as 0.4.2-2.1).
I uploaded it to DELAYED/15, despite you being in the lowNMU list, due
to some other unrelated extensive changes I did to the packaging; in
short I totally rewrote d/rules to use the dh sequencer.
Please feel free to tell me if I should delay it longer or cancel it
altogether.

Regards.

-- 
regards,
                        Mattia Rizzolo

GPG Key: 66AE 2B4A FCCF 3F52 DA18  4D18 4B04 3FCD B944 4540      .''`.
more about me:  https://mapreri.org                             : :'  :
Launchpad user: https://launchpad.net/~mapreri                  `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia  `-
diffstat for liblqr-0.4.2 liblqr-0.4.2

 changelog                                  |   29 ++++++--
 compat                                     |    2 
 control                                    |   60 +++-------------
 copyright                                  |    3 
 liblqr-1-0-dev.docs                        |    2 
 patches/fix_configure.ac_for_dh_autoreconf |    4 +
 rules                                      |  105 +++--------------------------
 7 files changed, 61 insertions(+), 144 deletions(-)

diff -Nru liblqr-0.4.2/debian/changelog liblqr-0.4.2/debian/changelog
--- liblqr-0.4.2/debian/changelog	2014-08-12 01:12:08.000000000 +0200
+++ liblqr-0.4.2/debian/changelog	2018-01-01 01:21:16.000000000 +0100
@@ -1,3 +1,24 @@
+liblqr (0.4.2-2.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * debian/control:
+    + Drop explicit Pre-Depends on multiarch-support.  Closes: #870543
+    + Fix grammar errors in package descripts.  Closes: #687590
+      Thanks to Clayton Casciato <cc11ro...@yahoo.com> for the patch.
+    + Mark liblqr-1-0-dev as Multi-Arch: same.
+    + Add missing ${misc:Depends} to liblqr-1-0-dev.
+    + Bump Standards-Version to 4.1.3, no changes needed.
+  * Drop liblqr-1-0-dbg in favour of automatic dbgsym packages.
+  * debian/rules:
+    + Rewrite using the dh sequencer.
+    + Use flags coming from dpkg-buildflags.
+  * Bump debhelper compat level to 11:
+    + Drop explcit autoreconf, now run by default.
+  * Add DEP-3 header to the autoreconf patch.
+  * debian/copyright: claim some copyright for my own changes.
+
+ -- Mattia Rizzolo <mat...@debian.org>  Mon, 01 Jan 2018 01:21:16 +0100
+
 liblqr (0.4.2-2) unstable; urgency=medium
 
   * [fea32719] Use debian source format 3.0 (quilt)
@@ -53,11 +74,11 @@
   * New Upstream Version
     This is a bugfix release. It fixes a serious bug with 16bit images
     (therefore, it is actually irrelevant to GIMP users, not so for other
-    programs such as ImageMagick and DigiKam). 
+    programs such as ImageMagick and DigiKam).
   * debian/rules: Be pendantic about symbol changes.
   * debian/control:
     - Bump Standards-Version.
-    - Move liblqr-1-0-dbg into the debug section. 
+    - Move liblqr-1-0-dbg into the debug section.
 
  -- Bernd Zeimetz <b...@debian.org>  Wed, 08 Apr 2009 01:57:00 +0200
 
@@ -86,7 +107,7 @@
 
   * New Upstream Version
   * debian/watch:
-    - Updating watch file to fit the new filename. 
+    - Updating watch file to fit the new filename.
   * debian/liblqr-1-0.symbols:
     - In the last version of the library several symbols were not marked as
       private by upstream, they are missing now. As the library is new and
@@ -95,7 +116,7 @@
   * debian/rules:
     - Install manpages on build.
   * debian/liblqr-1-0-dev.manpages:
-    - Adding file, instaaling devel manpages into the -dev package. 
+    - Adding file, instaaling devel manpages into the -dev package.
 
  -- Bernd Zeimetz <b...@debian.org>  Fri, 17 Oct 2008 11:28:43 +0200
 
diff -Nru liblqr-0.4.2/debian/compat liblqr-0.4.2/debian/compat
--- liblqr-0.4.2/debian/compat	2014-08-12 01:12:08.000000000 +0200
+++ liblqr-0.4.2/debian/compat	2018-01-01 00:59:40.000000000 +0100
@@ -1 +1 @@
-9
+11
diff -Nru liblqr-0.4.2/debian/control liblqr-0.4.2/debian/control
--- liblqr-0.4.2/debian/control	2014-08-12 01:12:08.000000000 +0200
+++ liblqr-0.4.2/debian/control	2018-01-01 01:10:24.000000000 +0100
@@ -1,9 +1,15 @@
 Source: liblqr
+Section: libs
 Priority: optional
 Maintainer: Bernd Zeimetz <b...@debian.org>
-Build-Depends: debhelper (>= 8.1.3~), autotools-dev, xsltproc, docbook-xsl, docbook-xml, pkg-config, libglib2.0-dev (>= 2.0.0), dh-autoreconf
-Standards-Version: 3.8.1
-Section: libs
+Build-Depends:
+ debhelper (>= 11~),
+ docbook-xml,
+ docbook-xsl,
+ libglib2.0-dev (>= 2.0.0),
+ pkg-config,
+ xsltproc
+Standards-Version: 4.1.3
 Homepage: http://liblqr.wikidot.com/
 Vcs-Browser: http://git.recluse.de/?p=debian/pkg-liblqr.git;a=summary
 Vcs-Git: git://git.recluse.de/debian/pkg-liblqr.git
@@ -11,7 +17,8 @@
 Package: liblqr-1-0-dev
 Section: libdevel
 Architecture: any
-Depends: liblqr-1-0 (= ${binary:Version})
+Multi-Arch: same
+Depends: liblqr-1-0 (= ${binary:Version}), ${misc:Depends}
 Provides: liblqr-dev
 Conflicts: liblqr-dev
 Description: converts plain array images into multi-size representation (developments files)
@@ -38,7 +45,7 @@
    * The automatic feature detection algorithm can be tuned by
      selecting among different energy gradient functions
    * Reports progress through a customizable interface
-   * A signalling system permits to cleanly handle errors
+   * A signalling system permits one to cleanly handle errors
  .
  The library implements the algorithm described in the paper "Seam
  Carving for Content-Aware Image Resizing" by Shai Avidan and Ariel
@@ -51,7 +58,7 @@
 Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends}
 Multi-Arch: same
-Pre-Depends: multiarch-support
+Pre-Depends: ${misc:Pre-Depends}
 Description: converts plain array images into multi-size representation
  The LiquidRescale (lqr) library provides a C/C++ API for performing
  non-uniform resizing of images by the seam-carving technique.
@@ -76,7 +83,7 @@
    * The automatic feature detection algorithm can be tuned by
      selecting among different energy gradient functions
    * Reports progress through a customizable interface
-   * A signalling system permits to cleanly handle errors
+   * A signalling system permits one to cleanly handle errors
  .
  The library implements the algorithm described in the paper "Seam
  Carving for Content-Aware Image Resizing" by Shai Avidan and Ariel
@@ -84,42 +91,3 @@
  http://www.faculty.idc.ac.il/arik/imret.pdf
  .
  This package contains the shared library.
-
-Package: liblqr-1-0-dbg
-Section: debug
-Priority: extra
-Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}, liblqr-1-0 (= ${binary:Version})
-Description: converts plain array images into multi-size representation (debug package)
- The LiquidRescale (lqr) library provides a C/C++ API for performing
- non-uniform resizing of images by the seam-carving technique.
- .
- The library takes images in plain array format as input and converts
- them to a multi-size representation.
- .
- Following is a list of features:
- .
-   * Areas in the image can be marked for preservation or discard
-   * Once the image has been fully processed, the scaling can be done
-     in real-time. In fact, the information can be saved and read out
-     later without any further processing
-   * The resizing is done with a single function which automatically
-     performs all the necessary operations; it can also work in
-     successive steps without wasting computational time
-   * Possibility to tune the carving operation by letting the seams be
-     less connected, or more rigid, or both
-   * Can export and import the visibility map (the seams)
-   * Other images can be attached and undergo the same carving process
-     as the parent image
-   * The automatic feature detection algorithm can be tuned by
-     selecting among different energy gradient functions
-   * Reports progress through a customizable interface
-   * A signalling system permits to cleanly handle errors
- .
- The library implements the algorithm described in the paper "Seam
- Carving for Content-Aware Image Resizing" by Shai Avidan and Ariel
- Shamir, which can be found at
- http://www.faculty.idc.ac.il/arik/imret.pdf
- .
- This package contains the debug information of shared library found in
- liblqr-1-0.
diff -Nru liblqr-0.4.2/debian/copyright liblqr-0.4.2/debian/copyright
--- liblqr-0.4.2/debian/copyright	2014-08-12 01:12:08.000000000 +0200
+++ liblqr-0.4.2/debian/copyright	2018-01-01 01:19:19.000000000 +0100
@@ -7,7 +7,7 @@
 
     Carlo Baldassi <carlobalda...@gmail.com>
 
-Copyright: 
+Copyright:
 
     Copyright (C) 2007 Carlo Baldassi <carlobalda...@gmail.com>
 
@@ -28,6 +28,7 @@
 The Debian packaging is
   Copyright (C) 2008 Sandro Tosi <matrixh...@gmail.com>
   Copyright (C) 2008-2009 Bernd Zeimetz <b...@debian.org>
+  Copyright (C) 2017-2018 Mattia Rizzolo <mat...@debian.org>
 and is licensed under the GPL, see `/usr/share/common-licenses/GPL-3'.
 
 These files have a different license:
diff -Nru liblqr-0.4.2/debian/liblqr-1-0-dev.docs liblqr-0.4.2/debian/liblqr-1-0-dev.docs
--- liblqr-0.4.2/debian/liblqr-1-0-dev.docs	2014-08-12 01:12:08.000000000 +0200
+++ liblqr-0.4.2/debian/liblqr-1-0-dev.docs	2017-12-18 23:49:26.000000000 +0100
@@ -1,2 +1,2 @@
-docs/liblqr_manual.html
 docs/html
+docs/liblqr_manual.html
diff -Nru liblqr-0.4.2/debian/patches/fix_configure.ac_for_dh_autoreconf liblqr-0.4.2/debian/patches/fix_configure.ac_for_dh_autoreconf
--- liblqr-0.4.2/debian/patches/fix_configure.ac_for_dh_autoreconf	2014-08-12 01:12:08.000000000 +0200
+++ liblqr-0.4.2/debian/patches/fix_configure.ac_for_dh_autoreconf	2018-01-01 01:17:32.000000000 +0100
@@ -1,3 +1,7 @@
+Description: Fix autoreconfig
+Author: Breno Leitao <bren...@br.ibm.com>
+Bug-Debian: https://bugs.debian.org/757815
+
 --- a/configure.ac
 +++ b/configure.ac
 @@ -63,6 +63,7 @@ AM_INIT_AUTOMAKE([-Wall -Werror])
diff -Nru liblqr-0.4.2/debian/rules liblqr-0.4.2/debian/rules
--- liblqr-0.4.2/debian/rules	2014-08-12 01:12:08.000000000 +0200
+++ liblqr-0.4.2/debian/rules	2018-01-01 01:00:04.000000000 +0100
@@ -1,102 +1,25 @@
 #!/usr/bin/make -f
-# -*- makefile -*-
 
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
+%:
+	dh $@
 
-# Package name
-PACKAGE=liblqr-1-0
-
-
-# These are used for cross-compiling and for saving the configure script
-# from having to guess our platform (since we know it already)
-DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
-DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
-ifneq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE))
-CROSS= --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE)
-else
-CROSS= --build $(DEB_BUILD_GNU_TYPE)
-endif
-
-#library versions
-LIB_version_number := $(shell grep '^libgps_la_LDFLAGS' Makefile.am | sed 's,.*-version-number ,,')
-LIB_version_number := $(shell grep LTVERSION= configure | sed 's,.*LTVERSION=,,g')
-LIB_version_current := $(shell echo $(LIB_version_number) | awk -F : '{print $$1}')
-LIB_version_revision := $(shell echo $(LIB_version_number) | awk -F : '{print $$2}')
-LIB_version_age := $(shell echo $(LIB_version_number) | awk -F : '{print $$3}')
-LIB_soname := $(shell expr $(LIB_version_current) - $(LIB_version_age))
-LIB_version := $(LIB_soname).$(LIB_version_age).$(LIB_version_revision)
-
-
-
-config.status: configure
-	dh_testdir
-	dh_autoreconf
-	./configure $(CROSS) --prefix=/usr CFLAGS="$(CFLAGS)" --libdir=/usr/lib/$(strip $(shell dpkg-architecture -qDEB_HOST_MULTIARCH))\
-		LDFLAGS="-Wl,-z,defs" 
-
-build: build-stamp
-build-stamp: config.status 
-	dh_testdir
-
-	#sanity check to ensure we have the right soname in debian/control
-	grep liblqr-1-$(LIB_soname) debian/control
-
-	# Add here commands to compile the package.
-	$(MAKE)
+override_dh_auto_build:
+	dh_auto_build
 	$(MAKE) -C docs all
 
-	touch $@
-
-clean: 
-	dh_testdir
-	dh_testroot
-	rm -f build-stamp 
-
-	# Add here commands to clean up after the build process.
-	[ ! -f Makefile ] || $(MAKE) distclean
+override_dh_auto_clean:
+	dh_auto_clean
 	$(MAKE) -C docs clean
+	$(RM) -r docs/html
 
-	rm -rf docs/html
+override_dh_install:
+	dh_install -X.la
 
-	# restore upstream version of config.{sub,guess}
-	dh_autoreconf_clean
+override_dh_missing:
+	dh_missing --list-missing
 
-	dh_clean 
+override_dh_installexamples:
+	dh_installexamples examples/*
 
-install: build
-	dh_testdir
-	dh_testroot
-	dh_clean -k 
-	dh_installdirs
-
-	# Add here commands to install the package into debian/tmp
-	# we install all in debian/tmp, in $PKG.install we separate files
-	$(MAKE) DESTDIR=$(CURDIR)/debian/tmp install
-
-# Build architecture-independent files here.
-binary-indep: build install
-# We have nothing to do by default.
-
-# Build architecture-dependent files here.
-binary-arch: build install
-	dh_testdir
-	dh_testroot
-	dh_installchangelogs	ChangeLog
-	dh_install		--sourcedir=debian/tmp -X.la --list-missing
-	dh_installdocs
-	dh_installexamples	examples/*
-	dh_installman
-	dh_strip		--dbg-package=$(PACKAGE)-dbg
-	dh_compress
-	dh_fixperms
-	# needed to create shlibs file
+override_dh_makeshlibs:
 	dh_makeshlibs -- -c4
-	dh_installdeb
-	dh_shlibdeps		-Lliblqr-1-0 -l$(CURDIR)/debian/$(PACKAGE)/usr/lib
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install 

Attachment: signature.asc
Description: PGP signature

Reply via email to