Package: djvulibre
Version: 3.5.22-9
Severity: normal
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu maverick ubuntu-patch

In Ubuntu, we've applied the attached patch to achieve the following:

  * Use autotools-dev to update config.* files to unclutter debdiffs.
  * Change recommendation from mozilla-firefox to firefox (LP: #337508).

We thought you might be interested in doing the same. 
diff -u djvulibre-3.5.22/debian/rules djvulibre-3.5.22/debian/rules
--- djvulibre-3.5.22/debian/rules
+++ djvulibre-3.5.22/debian/rules
@@ -47,6 +47,7 @@
 
 config.status: configure
 	dh_testdir
+	dh_autotools-dev_updateconfig
 	dh_auto_configure -- --disable-desktopfiles --enable-static --enable-shared
 
 build: build-stamp
@@ -63,12 +64,8 @@
 	touch build-stamp
 
 clean:
+	dh_autotools-dev_restoreconfig
 	dh $@
-	@echo push in latest config support files
-	-test -r /usr/share/misc/config.sub && \
-	  cp -f /usr/share/misc/config.sub config/config.sub
-	-test -r /usr/share/misc/config.guess && \
-	  cp -f /usr/share/misc/config.guess config/config.guess
 
 plugsubdir=netscape/plugins-libc6
 plug=$(plugsubdir)/nsdejavu.so
diff -u djvulibre-3.5.22/debian/control djvulibre-3.5.22/debian/control
--- djvulibre-3.5.22/debian/control
+++ djvulibre-3.5.22/debian/control
@@ -1,8 +1,17 @@
 Source: djvulibre
 Section: web
 Priority: optional
-Maintainer: Barak A. Pearlmutter <b...@debian.org>
-Build-Depends: debhelper (>= 7), libx11-dev, libxext-dev, libxt-dev, libqt3-mt-dev (>= 3:3.3.4-4), libjpeg-dev, libtiff4-dev | libtiff3g-dev | libtiff-dev, imagemagick
+Maintainer: Ubuntu Developers <ubuntu-devel-disc...@lists.ubuntu.com>
+XSBC-Original-Maintainer: Barak A. Pearlmutter <b...@debian.org>
+Build-Depends: autotools-dev (>= 20100122.1~),
+               debhelper (>= 7),
+               libx11-dev,
+               libxext-dev,
+               libxt-dev,
+               libqt3-mt-dev (>= 3:3.3.4-4),
+               libjpeg-dev,
+               libtiff4-dev | libtiff3g-dev | libtiff-dev,
+               imagemagick
 Vcs-Cvs: :ext:@djvu.cvs.sourceforge.net:/cvsroot/djvu
 VCS-Browser: http://djvu.cvs.sourceforge.net/djvu/djvulibre-3.5/
 Homepage: http://djvu.sourceforge.net/
@@ -95,8 +104,8 @@
 Section: web
 Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends}, djview4 | djview3
-Enhances: mozilla-browser, mozilla, mozilla-firefox, iceweasel, iceape-browser, konqueror, galeon
-Recommends: mozilla-browser | mozilla | mozilla-firefox | iceweasel | iceape-browser | konqueror | galeon
+Enhances: mozilla-browser, mozilla, firefox, iceweasel, iceape-browser, konqueror, galeon
+Recommends: mozilla-browser | mozilla | firefox | iceweasel | iceape-browser | konqueror | galeon
 Suggests: mime-support
 Conflicts: djvulibre-bin (<< 3.5.19)
 Description: Browser plugin for the DjVu image format

Reply via email to