debian/changelog | 4 ++-- debian/control | 2 +- debian/rules | 2 +- debian/xsfbs/xsfbs.mk | 15 +++++++++++++++ 4 files changed, 19 insertions(+), 4 deletions(-)
New commits: commit 10e9c4dcb610221cf2f57f780085589c4114f9a4 Author: David Nusinow <[EMAIL PROTECTED]> Date: Tue Feb 20 22:28:16 2007 -0500 Generate server dependencies automatically from the ABI diff --git a/debian/changelog b/debian/changelog index 0e31649..60c96f6 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,8 +1,8 @@ xserver-xorg-video-ark (1:0.6.0-5) UNRELEASED; urgency=low - * Bump xserver ABI metadata to 1.1 for use with server 1.2 + * Generate server dependencies automatically from the ABI - -- David Nusinow <[EMAIL PROTECTED]> Sat, 10 Feb 2007 21:23:34 -0500 + -- David Nusinow <[EMAIL PROTECTED]> Tue, 20 Feb 2007 22:19:09 -0500 xserver-xorg-video-ark (1:0.6.0-4) UNRELEASED; urgency=low diff --git a/debian/control b/debian/control index af2fb85..48eedf2 100644 --- a/debian/control +++ b/debian/control @@ -8,7 +8,7 @@ Standards-Version: 3.7.2 Package: xserver-xorg-video-ark Architecture: any -Depends: ${shlibs:Depends}, ${misc:Depends}, xserver-xorg-core (>= 2:1.2.0) +Depends: ${shlibs:Depends}, ${misc:Depends}, ${xserver:Depends} Provides: xserver-xorg-video-1.1 Replaces: xserver-xorg (<< 6.8.2-35) Description: X.Org X server -- ark display driver diff --git a/debian/rules b/debian/rules index f6e32c0..5c9dc36 100755 --- a/debian/rules +++ b/debian/rules @@ -66,7 +66,7 @@ install: build cd obj-$(DEB_BUILD_GNU_TYPE) && $(MAKE) DESTDIR=$(CURDIR)/debian/tmp install # Build architecture-dependent files here. -binary-arch: build install +binary-arch: build install serverabi dh_testdir dh_testroot commit 9ed8b0c26438b90f187ef7c165d5a76cf8f340eb Author: Julien Cristau <[EMAIL PROTECTED]> Date: Sat Feb 17 16:01:41 2007 +0100 Add new "serverabi" rule to generate drivers dependency on the server. diff --git a/debian/xsfbs/xsfbs.mk b/debian/xsfbs/xsfbs.mk index 7b8206e..dbb2872 100755 --- a/debian/xsfbs/xsfbs.mk +++ b/debian/xsfbs/xsfbs.mk @@ -354,6 +354,21 @@ # Generate the shlibs.local file. debian/shlibs.local: cat debian/*.shlibs >$@ +SERVERABI = $(shell cat /usr/share/xserver-xorg/serverabiver 2>/dev/null) +SERVER_DEPENDS = xserver-xorg-core (>= $(SERVERABI)) +ifeq ($(PACKAGE),) +PACKAGE=$(shell awk '/^Package:/ { print $$2; exit }' < debian/control) +endif + +.PHONY: serverabi +serverabi: +ifeq ($(SERVERABI),) + @echo error: xserver-xorg-dev needs to be installed + @exit 1 +else + echo "xserver:Depends=$(SERVER_DEPENDS)" >> debian/$(PACKAGE).substvars +endif + include debian/xsfbs/xsfbs-autoreconf.mk # vim:set noet ai sts=8 sw=8 tw=0: -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]