[med-svn] r2134 - trunk/packages/proda/trunk/debian

plessy at alioth.debian.org plessy at alioth.debian.org
Fri Jul 4 04:14:04 UTC 2008


Author: plessy
Date: 2008-07-04 04:14:03 +0000 (Fri, 04 Jul 2008)
New Revision: 2134

Added:
   trunk/packages/proda/trunk/debian/install
   trunk/packages/proda/trunk/debian/manpages
Modified:
   trunk/packages/proda/trunk/debian/changelog
   trunk/packages/proda/trunk/debian/control
   trunk/packages/proda/trunk/debian/rules
Log:
Swiched the packaging to CDBS to solve a problem with parallel building.

(I do not know it it is supported in CDBS, but I delegate this issue to its maintainers ;)


Modified: trunk/packages/proda/trunk/debian/changelog
===================================================================
--- trunk/packages/proda/trunk/debian/changelog	2008-07-04 04:00:15 UTC (rev 2133)
+++ trunk/packages/proda/trunk/debian/changelog	2008-07-04 04:14:03 UTC (rev 2134)
@@ -1,3 +1,14 @@
+proda (1.0-7) unstable; urgency=low
+  
+  * debian/rules: swiched to CDBS (Closes: #486959).
+    This delegates the support of parallel building to CDBS.
+  * debian/control:
+    - Added build-dependancy on CDBS.
+    - Reverted to Standards-Version 3.7.3 because of lack of
+      `debian/README.source' to explain the patch system.
+
+ -- Charles Plessy <plessy at debian.org>  Fri, 04 Jul 2008 12:43:43 +0900
+
 proda (1.0-6) unstable; urgency=low
 
   * debian/patches/*.patch: documented and forwarded upstream.

Modified: trunk/packages/proda/trunk/debian/control
===================================================================
--- trunk/packages/proda/trunk/debian/control	2008-07-04 04:00:15 UTC (rev 2133)
+++ trunk/packages/proda/trunk/debian/control	2008-07-04 04:14:03 UTC (rev 2134)
@@ -5,8 +5,8 @@
 DM-Upload-Allowed: yes
 Uploaders: David Paleino <d.paleino at gmail.com>,
  Charles Plessy <plessy at debian.org>
-Build-Depends: debhelper (>= 6), quilt
-Standards-Version: 3.8.0
+Build-Depends: debhelper (>= 6), quilt, cdbs
+Standards-Version: 3.7.3
 Vcs-Browser: http://svn.debian.org/wsvn/debian-med/trunk/packages/proda/trunk/?rev=0&sc=0
 Vcs-Svn: svn://svn.debian.org/svn/debian-med/trunk/packages/proda/trunk/
 Homepage: http://proda.stanford.edu/

Added: trunk/packages/proda/trunk/debian/install
===================================================================
--- trunk/packages/proda/trunk/debian/install	                        (rev 0)
+++ trunk/packages/proda/trunk/debian/install	2008-07-04 04:14:03 UTC (rev 2134)
@@ -0,0 +1 @@
+proda	usr/bin

Added: trunk/packages/proda/trunk/debian/manpages
===================================================================
--- trunk/packages/proda/trunk/debian/manpages	                        (rev 0)
+++ trunk/packages/proda/trunk/debian/manpages	2008-07-04 04:14:03 UTC (rev 2134)
@@ -0,0 +1 @@
+debian/proda.1

Modified: trunk/packages/proda/trunk/debian/rules
===================================================================
--- trunk/packages/proda/trunk/debian/rules	2008-07-04 04:00:15 UTC (rev 2133)
+++ trunk/packages/proda/trunk/debian/rules	2008-07-04 04:14:03 UTC (rev 2134)
@@ -1,62 +1,5 @@
 #!/usr/bin/make -f
-# -*- makefile -*-
 
-#export DH_VERBOSE=1
-
-CXXFLAGS = -Wall -g
-
-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
-	CXXFLAGS += -O0
-else
-	CXXFLAGS += -O2
-endif
-ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
-	NUMJOBS := -j$(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
-endif
-MAKEFLAGS += $(NUMJOBS)
-
-include /usr/share/quilt/quilt.make
-
-XP=xsltproc -o debian/ -''-nonet
-
-build: patch build-stamp
-build-stamp:
-	dh_testdir
-	$(MAKE) CXXFLAGS="$(CXXFLAGS)" $(MAKEFLAGS)
-	touch $@
-
-manpages: proda.1
-proda.1: debian/proda.1.xml
-	$(XP) $<
-
-clean: unpatch
-	dh_testdir
-	dh_testroot
-	dh_clean build-stamp proda
-	[ ! -f Makefile ] || $(MAKE) clean
-
-install: build
-	dh_testdir
-	dh_testroot
-	dh_clean -k 
-	dh_installdirs usr/bin
-
-binary-indep: build install
-binary-arch: build install
-	dh_testdir
-	dh_testroot
-	dh_installchangelogs 
-	dh_installdocs
-	dh_installman ./debian/proda.1
-	dh_install ./proda usr/bin
-	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
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/makefile.mk




More information about the debian-med-commit mailing list