[Pkg-fglrx-devel] r740 - fglrx-driver/trunk/debian
Andreas Beckmann
anbe-guest at alioth.debian.org
Thu Aug 25 07:33:51 UTC 2011
Author: anbe-guest
Date: 2011-08-25 07:33:51 +0000 (Thu, 25 Aug 2011)
New Revision: 740
Modified:
fglrx-driver/trunk/debian/README.source
fglrx-driver/trunk/debian/changelog
fglrx-driver/trunk/debian/rules
Log:
add instructions for squeeze-backports and prepare-squeeze-backport target
Modified: fglrx-driver/trunk/debian/README.source
===================================================================
--- fglrx-driver/trunk/debian/README.source 2011-08-25 07:24:04 UTC (rev 739)
+++ fglrx-driver/trunk/debian/README.source 2011-08-25 07:33:51 UTC (rev 740)
@@ -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/trunk/debian/changelog
===================================================================
--- fglrx-driver/trunk/debian/changelog 2011-08-25 07:24:04 UTC (rev 739)
+++ fglrx-driver/trunk/debian/changelog 2011-08-25 07:33:51 UTC (rev 740)
@@ -8,6 +8,9 @@
* Override the experimental lintian tag shlib-calls-exit.
* Cleanup maintainer scripts.
* Prepare support for squeeze-backports:
+ - Add instructions for squeeze-backports to README.source and a
+ prepare-squeeze-backport target to debian/rules that performs the
+ necessary changes.
- Readd some maintainer script code to cleanup after the
/emul/ia32-linux/usr/lib => /usr/lib32 transition.
- Cleanup /etc/init.d/fglrx-driver.
Modified: fglrx-driver/trunk/debian/rules
===================================================================
--- fglrx-driver/trunk/debian/rules 2011-08-25 07:24:04 UTC (rev 739)
+++ fglrx-driver/trunk/debian/rules 2011-08-25 07:33:51 UTC (rev 740)
@@ -70,6 +70,16 @@
############################################################################
+prepare-squeeze-backport:
+ echo 8 > debian/compat
+ sed -i -e '/^MULTIARCH/ s/^/#/' debian/rules
+ sed -i -e 's/debhelper (>= .*)/debhelper (>= 8.1)/' \
+ -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