[Pkg-xfce-commits] r4303 - goodies/branches/experimental/xfce4-cellmodem-plugin/debian

Yves-Alexis Perez corsac at alioth.debian.org
Sun Oct 17 09:54:03 UTC 2010


Author: corsac
Date: 2010-10-17 09:54:02 +0000 (Sun, 17 Oct 2010)
New Revision: 4303

Modified:
   goodies/branches/experimental/xfce4-cellmodem-plugin/debian/changelog
   goodies/branches/experimental/xfce4-cellmodem-plugin/debian/control
   goodies/branches/experimental/xfce4-cellmodem-plugin/debian/rules
Log:
  - update debhelper build dep to 7.0.50~ for dh7 rules and overrides.
  - add build-dep on libxfcegui4-dev.
* Switch to 3.0 (quilt) source format.
* debian/rules:
  - switch to dh 7 rules

Modified: goodies/branches/experimental/xfce4-cellmodem-plugin/debian/changelog
===================================================================
--- goodies/branches/experimental/xfce4-cellmodem-plugin/debian/changelog	2010-10-17 09:44:09 UTC (rev 4302)
+++ goodies/branches/experimental/xfce4-cellmodem-plugin/debian/changelog	2010-10-17 09:54:02 UTC (rev 4303)
@@ -8,10 +8,14 @@
   * debian/watch edited to track Xfce archive reorganisation.
   * debian/control:
     - add myself to Uploaders.
-  * Switch to 3.0 (quilt)_source format.
+    - update debhelper build dep to 7.0.50~ for dh7 rules and overrides.
+    - add build-dep on libxfcegui4-dev.
+  * Switch to 3.0 (quilt) source format.
   * Update standards version to 3.9.1.
+  * debian/rules:
+    - switch to dh 7 rules
 
- -- Yves-Alexis Perez <corsac at debian.org>  Sun, 17 Oct 2010 11:43:54 +0200
+ -- Yves-Alexis Perez <corsac at debian.org>  Sun, 17 Oct 2010 11:52:36 +0200
 
 xfce4-cellmodem-plugin (0.0.5-1) unstable; urgency=low
 

Modified: goodies/branches/experimental/xfce4-cellmodem-plugin/debian/control
===================================================================
--- goodies/branches/experimental/xfce4-cellmodem-plugin/debian/control	2010-10-17 09:44:09 UTC (rev 4302)
+++ goodies/branches/experimental/xfce4-cellmodem-plugin/debian/control	2010-10-17 09:54:02 UTC (rev 4303)
@@ -4,7 +4,7 @@
 Maintainer: Debian Xfce Maintainers <pkg-xfce-devel at lists.alioth.debian.org>
 Uploaders: Evgeni Golov <evgeni at debian.org>, 
  Yves-Alexis Perez <corsac at debian.org>
-Build-Depends: debhelper (>= 5), autotools-dev, libpci-dev, libusb-dev, libxml-parser-perl, pkg-config, xfce4-panel-dev
+Build-Depends: debhelper (>= 7.0.50~), autotools-dev, libpci-dev, libusb-dev, libxml-parser-perl, pkg-config, xfce4-panel-dev, libxfcegui4-dev
 Standards-Version: 3.9.1
 Homepage: http://goodies.xfce.org/projects/panel-plugins/xfce4-cellmodem-plugin
 Vcs-Svn: svn://svn.debian.org/svn/pkg-xfce/goodies/trunk/xfce4-cellmodem-plugin/

Modified: goodies/branches/experimental/xfce4-cellmodem-plugin/debian/rules
===================================================================
--- goodies/branches/experimental/xfce4-cellmodem-plugin/debian/rules	2010-10-17 09:44:09 UTC (rev 4302)
+++ goodies/branches/experimental/xfce4-cellmodem-plugin/debian/rules	2010-10-17 09:54:02 UTC (rev 4303)
@@ -1,83 +1,13 @@
 #!/usr/bin/make -f
 # -*- makefile -*-
 
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
+CFLAGS=$(shell dpkg-buildflags --get CFLAGS)
+LDFLAGS=$(shell dpkg-buildflags --get LDFLAGS)
+#LDFLAGS+=-Wl,-z,defs -Wl,--as-needed
 
+override_dh_auto_configure:
+	dh_auto_configure -- --mandir=\$${prefix}/share/man \
+		--infodir=\$${prefix}/share/info --libexecdir=\$${prefix}/lib
 
-# 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)
-
-
-config.status: configure
-	dh_testdir
-	# Add here commands to configure the package.
-ifneq "$(wildcard /usr/share/misc/config.sub)" ""
-	cp -f /usr/share/misc/config.sub config.sub
-endif
-ifneq "$(wildcard /usr/share/misc/config.guess)" ""
-	cp -f /usr/share/misc/config.guess config.guess
-endif
-	./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) \
-	--prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info \
-	--libexecdir=\$${prefix}/lib \
-	CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs"
-
-
-build: build-stamp
-
-build-stamp:  config.status
-	dh_testdir
-
-	# Add here commands to compile the package.
-	$(MAKE)
-
-	touch $@
-
-clean:
-	dh_testdir
-	dh_testroot
-	rm -f build-stamp 
-
-	# Add here commands to clean up after the build process.
-	[ ! -f Makefile ] || $(MAKE) distclean
-	rm -f config.sub config.guess
-
-	dh_clean 
-
-install: build
-	dh_testdir
-	dh_testroot
-	dh_clean -k 
-	dh_installdirs
-
-	# Add here commands to install the package into debian/xfce4-cellmodem-plugin.
-	$(MAKE) DESTDIR=$(CURDIR)/debian/xfce4-cellmodem-plugin 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_installdocs
-	dh_installexamples
-	dh_installman
-	dh_link
-	dh_strip
-	dh_compress
-	dh_fixperms
-	dh_installdeb
-	dh_shlibdeps
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install 
+%:
+	dh $@




More information about the Pkg-xfce-commits mailing list