[Pkg-fglrx-devel] r701 - fglrx-driver/branches/multiarch/debian

Andreas Beckmann anbe-guest at alioth.debian.org
Tue Aug 9 09:22:41 UTC 2011


Author: anbe-guest
Date: 2011-08-09 09:22:41 +0000 (Tue, 09 Aug 2011)
New Revision: 701

Modified:
   fglrx-driver/branches/multiarch/debian/README.source
   fglrx-driver/branches/multiarch/debian/changelog
   fglrx-driver/branches/multiarch/debian/rules
Log:
add instructions for squeeze backports

Modified: fglrx-driver/branches/multiarch/debian/README.source
===================================================================
--- fglrx-driver/branches/multiarch/debian/README.source	2011-08-08 22:00:24 UTC (rev 700)
+++ fglrx-driver/branches/multiarch/debian/README.source	2011-08-09 09:22:41 UTC (rev 701)
@@ -9,6 +9,20 @@
   ressource, and repackage it under "../".
 
 
+Backporting to squeeze
+======================
+
+For squeeze backports the following changes have to be made:
+ - reduce Build-Depends: debhelper and compat level to 8
+ - disable MULTIARCH variable in debian/rules
+ - remove Multi-Arch: lines from debian/control
+These steps and the creation of an initial bpo-changelog entry have been
+automated via
+    debian/rules prepare-squeeze-backport
+
+ -- Andreas Beckmann <debian at abeckmann.de>  Tue, 09 Aug 2011 00:06:35 +0200
+
+
 Backporting to lenny - xserver < 1.5:
 =====================================
 

Modified: fglrx-driver/branches/multiarch/debian/changelog
===================================================================
--- fglrx-driver/branches/multiarch/debian/changelog	2011-08-08 22:00:24 UTC (rev 700)
+++ fglrx-driver/branches/multiarch/debian/changelog	2011-08-09 09:22:41 UTC (rev 701)
@@ -8,6 +8,9 @@
     - Add Pre-Depends: ${misc:Pre-Depends}.
     - Add Multi-Arch: same.
     - Bump debhelper compat level to 9.
+  * Add instructions for squeeze-backports to README.source and a
+    prepare-squeeze-backport target to debian/rules that performs the
+    necessary changes.
 
  -- Andreas Beckmann <debian at abeckmann.de>  Mon, 08 Aug 2011 17:54:32 +0200
 

Modified: fglrx-driver/branches/multiarch/debian/rules
===================================================================
--- fglrx-driver/branches/multiarch/debian/rules	2011-08-08 22:00:24 UTC (rev 700)
+++ fglrx-driver/branches/multiarch/debian/rules	2011-08-09 09:22:41 UTC (rev 701)
@@ -80,6 +80,16 @@
 
 ############################################################################
 
+prepare-squeeze-backport:
+	echo 8 > debian/compat
+	sed -i -e '/^MULTIARCH/ s/^/#/' debian/rules
+	sed -i -e 's/debhelper (>= 9)/debhelper (>= 8)/' \
+	       -e '/^Multi-Arch:/ d' debian/control
+	debchange --bpo "Disable multiarch build."
+	debchange "Reduce Build-Depends: debhelper and compat level to 8."
+
+############################################################################
+
 ifneq (,$(filter VER=%,$(DEB_BUILD_OPTIONS)))
 NEW_UPSTREAM_VERSION=$(patsubst VER=%,%,$(filter VER=%,$(DEB_BUILD_OPTIONS)))
 INSTALLER=ati-driver-installer-$(NEW_UPSTREAM_VERSION)-x86.x86_64.run




More information about the Pkg-fglrx-devel mailing list