[Pkg-mono-svn-commits] rev 4004 - libgdiplus/trunk/debian

Jo Shields directhex-guest at alioth.debian.org
Tue Jun 30 09:43:56 UTC 2009


Author: directhex-guest
Date: 2009-06-30 09:43:54 +0000 (Tue, 30 Jun 2009)
New Revision: 4004

Modified:
   libgdiplus/trunk/debian/changelog
   libgdiplus/trunk/debian/control
   libgdiplus/trunk/debian/rules
Log:
  * New upstream release
  * debian/rules:
    + Modify get-orig-source rule to produce consistent md5sums
  * debian/control:
    + Bump standards version to 3.8.2 (no changes needed)
    + Re-space build-depends line for easier reading


Modified: libgdiplus/trunk/debian/changelog
===================================================================
--- libgdiplus/trunk/debian/changelog	2009-06-30 09:20:50 UTC (rev 4003)
+++ libgdiplus/trunk/debian/changelog	2009-06-30 09:43:54 UTC (rev 4004)
@@ -1,3 +1,14 @@
+libgdiplus (2.4.2-1) UNRELEASED; urgency=low
+
+  * New upstream release
+  * debian/rules:
+    + Modify get-orig-source rule to produce consistent md5sums
+  * debian/control:
+    + Bump standards version to 3.8.2 (no changes needed)
+    + Re-space build-depends line for easier reading
+
+ -- Jo Shields <jms at apebox.org>  Tue, 30 Jun 2009 10:31:21 +0100
+
 libgdiplus (2.4-1) unstable; urgency=low
 
   * New upstream release

Modified: libgdiplus/trunk/debian/control
===================================================================
--- libgdiplus/trunk/debian/control	2009-06-30 09:20:50 UTC (rev 4003)
+++ libgdiplus/trunk/debian/control	2009-06-30 09:43:54 UTC (rev 4004)
@@ -3,8 +3,22 @@
 Priority: optional
 Maintainer: Debian Mono Group <pkg-mono-group at lists.alioth.debian.org>
 Uploaders: Mirco Bauer <meebey at debian.org>, Sebastian Dröge <slomo at debian.org>, Jo Shields <directhex at apebox.org>
-Build-Depends: debhelper (>= 5), dpatch, libglib2.0-dev (>= 2.2.3), libx11-dev, libxt-dev, libfontconfig1-dev, libfreetype6-dev, libxft-dev (>= 2.0), libpng12-dev, libjpeg62-dev, libtiff4-dev, libgif-dev, libexif-dev, libcairo2-dev (>= 1.4)
-Standards-Version: 3.8.1
+Build-Depends: 
+ debhelper (>= 5), 
+ dpatch, 
+ libglib2.0-dev (>= 2.2.3), 
+ libx11-dev, 
+ libxt-dev, 
+ libfontconfig1-dev, 
+ libfreetype6-dev, 
+ libxft-dev (>= 2.0), 
+ libpng12-dev, 
+ libjpeg62-dev, 
+ libtiff4-dev, 
+ libgif-dev, 
+ libexif-dev, 
+ libcairo2-dev (>= 1.4)
+Standards-Version: 3.8.2
 Homepage: http://www.mono-project.com/Libgdiplus
 Vcs-Svn: svn://svn.debian.org/svn/pkg-mono/libgdiplus/trunk
 Vcs-Browser: http://svn.debian.org/wsvn/pkg-mono/libgdiplus/trunk/

Modified: libgdiplus/trunk/debian/rules
===================================================================
--- libgdiplus/trunk/debian/rules	2009-06-30 09:20:50 UTC (rev 4003)
+++ libgdiplus/trunk/debian/rules	2009-06-30 09:43:54 UTC (rev 4004)
@@ -1,9 +1,15 @@
 #!/usr/bin/make -f
 
 #export DH_VERBOSE=1
-upstream_version=$(shell uscan --dehs | sed -n 's/.*<upstream-version>\(.*\)<\/upstream-version>.*/\1/p')
+MAKEFILE = $(firstword $(MAKEFILE_LIST))
+DEBIAN_DIR = $(dir $(MAKEFILE))
+SOURCE_DIR = $(DEBIAN_DIR)/..
 
+DEB_VERSION = $(shell dpkg-parsechangelog -l$(DEBIAN_DIR)/changelog | grep ^Version | cut -d" " -f2)
+DEB_SOURCE_NAME = $(shell dpkg-parsechangelog -l$(DEBIAN_DIR)/changelog | grep ^Source | cut -d" " -f2)
+VERSION = $(shell echo $(DEB_VERSION) | cut -d"-" -f1 | sed 's/+dfsg.*//')
 
+
 DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
 DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
 
@@ -21,9 +27,20 @@
 endif
 
 get-orig-source:
-	uscan --force-download --download-version $(upstream_version) \
-	        --repack --rename --destdir .
+	[ -d ../tarballs ] || mkdir ../tarballs
+	uscan \
+		--package $(DEB_SOURCE_NAME) \
+		--watchfile $(DEBIAN_DIR)/watch \
+		--upstream-version $(VERSION) \
+		--download-version $(VERSION) \
+		--destdir ../tarballs \
+		--force-download \
+		--rename
+	bzcat ../tarballs/$(DEB_SOURCE_NAME)_$(VERSION).orig.tar.bz2 | \
+		gzip -9fn -c - > ../tarballs/$(DEB_SOURCE_NAME)_$(VERSION).orig.tar.gz
+	rm ../tarballs/$(DEB_SOURCE_NAME)_$(VERSION).orig.tar.bz2
 
+
 config.status: patch-stamp configure
 	dh_testdir
 	CFLAGS="$(CFLAGS)" ./configure \




More information about the Pkg-mono-svn-commits mailing list