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

compizconfig-backend-gconf: Changes to 'debian-unstable'



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

New commits:
commit 30988d10854b113092026284d5a4c77b42915785
Author: Loïc Minier <lool@dooz.org>
Date:   Fri Apr 24 14:37:26 2009 +0200

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

diff --git a/debian/control b/debian/control
index 1e6372d..71dad84 100644
--- a/debian/control
+++ b/debian/control
@@ -8,7 +8,8 @@ Section: x11
 
 Package: compizconfig-backend-gconf
 Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}
+Depends: ${shlibs:Depends}, ${misc:Depends},
+         compiz-core, compiz-core-abiversion-${coreabiversion}
 Description: Compiz Fusion configuration system - gconf backend
  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 69e92c1..b6dfef8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -11,6 +11,8 @@ else
 	CFLAGS += -O2
 endif
 
+CORE_ABIVERSION := $(shell sed -rn 's/^\#define[[:space:]]+CORE_ABIVERSION[[:space:]]+//p' /usr/include/compiz/compiz-core.h )
+
 AUTOFOO_DELETE:=Makefile.in aclocal.m4 config.guess config.sub configure \
 	depcomp install-sh intltool-extract.in intltool-merge.in \
 	intltool-update.in ltmain.sh missing mkinstalldirs \
@@ -68,7 +70,7 @@ binary-arch: build install
 	dh_makeshlibs
 	dh_installdeb
 	dh_shlibdeps
-	dh_gencontrol
+	dh_gencontrol -- -Vcoreabiversion=$(CORE_ABIVERSION)
 	dh_md5sums
 	dh_builddeb
 


Reply to: