[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

compizconfig-python: Changes to 'debian-unstable'



 debian/control |    3 ++-
 debian/rules   |    4 +++-
 2 files changed, 5 insertions(+), 2 deletions(-)

New commits:
commit 77dc770950e09de56e5e449587f3d7375f68e759
Author: Loïc Minier <lool@dooz.org>
Date:   Fri Apr 24 14:45:30 2009 +0200

    Depend on compiz-core and -abiversion-2009xxyy
    
    Let python-compizconfig depend on compiz-core and
    compiz-core-abiversion-2009xxyy to avoid package mismatches.

diff --git a/debian/control b/debian/control
index f4f0903..2adb216 100644
--- a/debian/control
+++ b/debian/control
@@ -11,7 +11,8 @@ Homepage: http://www.compiz-fusion.org
 
 Package: python-compizconfig
 Architecture: any
-Depends: ${misc:Depends}, ${python:Depends}, ${shlibs:Depends}
+Depends: ${misc:Depends}, ${python:Depends}, ${shlibs:Depends},
+         compiz-core, compiz-core-abiversion-${coreabiversion}
 Description: Compizconfig bindings for python
  Compiz Fusion is the result of the re-unification of the Beryl-project
  and the community around the Compiz Window Manager. It seeks to provide
diff --git a/debian/rules b/debian/rules
index 1e1acee..2e0ed30 100755
--- a/debian/rules
+++ b/debian/rules
@@ -22,6 +22,8 @@ AUTOFOO_DELETE:=aclocal.m4 config.guess config.h.in config.sub configure \
 
 PYVERS=$(shell pyversions -r)
 
+CORE_ABIVERSION := $(shell sed -rn 's/^\#define[[:space:]]+CORE_ABIVERSION[[:space:]]+//p' /usr/include/compiz/compiz-core.h )
+
 configure: configure-stamp
 configure-stamp:
 	dh_testdir
@@ -100,7 +102,7 @@ binary-arch: build install
 	dh_makeshlibs
 	dh_installdeb
 	dh_shlibdeps
-	dh_gencontrol
+	dh_gencontrol -- -Vcoreabiversion=$(CORE_ABIVERSION)
 	dh_md5sums
 	dh_builddeb
 


Reply to: