Source: synaptic
Version: 0.75.13
Severity: wishlist
Tags: patch

Please support parallel builds - as simple as passing --parallel to dh(1)
invocations.

-- System Information:
Debian Release: 7.2
  APT prefers stable
  APT policy: (990, 'stable'), (600, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.9-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

-- no debconf information
diff -Nru synaptic-0.75.13/debian/changelog synaptic-0.75.13+nmu1/debian/changelog
--- synaptic-0.75.13/debian/changelog	2012-07-12 20:14:24.000000000 +0100
+++ synaptic-0.75.13+nmu1/debian/changelog	2013-10-17 20:49:07.000000000 +0100
@@ -1,3 +1,10 @@
+synaptic (0.75.13+nmu1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Support parallel building.
+
+ -- Jonathan Dowland <j...@debian.org>  Thu, 17 Oct 2013 21:48:59 +0100
+
 synaptic (0.75.13) unstable; urgency=low
 
   * debian/synaptic.menu:
diff -Nru synaptic-0.75.13/debian/rules synaptic-0.75.13+nmu1/debian/rules
--- synaptic-0.75.13/debian/rules	2012-06-11 16:31:11.000000000 +0100
+++ synaptic-0.75.13+nmu1/debian/rules	2013-10-17 21:00:50.000000000 +0100
@@ -3,6 +3,7 @@
 # make the package build on ubuntu and debian
 DIST = $(shell lsb_release -i -s)
 
+DHFLAGS=--parallel
 CONFIGURE_FLAGS= --prefix=/usr \
 	      --mandir=\$${prefix}/share/man \
 	      --infodir=\$${prefix}/share/info \
@@ -12,13 +13,13 @@
 	      $(MULTIARCH)
 
 %:
-	dh $@ --with autoreconf
+	dh $@ --with autoreconf $(DHFLAGS)
 
 override_dh_auto_configure:
-	dh_auto_configure -- $(CONFIGURE_FLAGS) 
+	dh_auto_configure $(DHFLAGS) -- $(CONFIGURE_FLAGS) 
 
 override_dh_auto_install:
-	dh_auto_install
+	dh_auto_install $(DHFLAGS)
 	# allow per distro supported PIXMAP, FIXME: make this part
 	# of the install (e.g. package-supported.{Ubuntu,Debian} and
 	# do run-time switching
@@ -40,7 +41,7 @@
 	  cp debian/patches/00list.$(DIST) debian/patches/00list;\
 	  dpatch apply-all;\
 	fi;
-	dh_auto_build
+	dh_auto_build $(DHFLAGS)
 	# ubuntu specific for universe langpacks but will not do any
 	#  harm on debian
 	make -C po synaptic.pot
@@ -50,4 +51,4 @@
 	cp debian/patches/00list.$(DIST) debian/patches/00list
 	dpatch deapply-all
 	rm -rf patch-stamp debian/patched
-	dh_auto_clean
+	dh_auto_clean $(DHFLAGS)

Reply via email to