From cd4031eb92cd6f8ebeeaedafc5f091e8e8aab5cd Mon Sep 17 00:00:00 2001 From: Oliver Grawert Date: Fri, 13 Apr 2012 12:57:01 +0200 Subject: switch packaging to 3.0 quilt format, enable subarch specific quilt support, add linaros disable_standalone-clients.patch to make GLES builds not fail on GL bits (bzr r55.3.632) --- debian/rules | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'debian/rules') diff --git a/debian/rules b/debian/rules index ad4cc18ab..ef9649e13 100755 --- a/debian/rules +++ b/debian/rules @@ -13,6 +13,25 @@ CFLAGS=$(shell echo $$CFLAGS | sed -e 's/\-Wall//') CORE_ABIVERSION := $(shell sed -rn 's/^\#define[[:space:]]+CORE_ABIVERSION[[:space:]]+//p' /usr/include/compiz/core/abiversion.h ) NUX_ABIVERSION := $(shell sed -rn 's/^\#define[[:space:]]+NUX_ABIVERSION[[:space:]]+//p' /usr/include/Nux-2.0/Nux/ABI.h ) +override_dh_quilt_patch: + dh_quilt_patch + if test -r debian/patches/series.$(DEB_HOST_ARCH); then \ + pc=".pc.$(DEB_HOST_ARCH)"; \ + test -d "$(CURDIR)/$$pc" || mkdir "$(CURDIR)/$$pc"; \ + cp debian/patches/series.$(DEB_HOST_ARCH) $(CURDIR)/$$pc/series; \ + cd $(CURDIR); \ + QUILT_PC="$$pc" quilt upgrade || true; \ + QUILT_PC="$$pc" QUILT_PATCHES="debian/patches/" quilt push -a || true; \ + fi; \ + +override_dh_quilt_unpatch: + if test -r debian/patches/series.$(DEB_HOST_ARCH); then \ + pc=".pc.$(DEB_HOST_ARCH)"; \ + cd $(CURDIR); \ + QUILT_PC="$$pc" QUILT_PATCHES="debian/patches/" quilt pop -a || true; \ + fi; \ + dh_quilt_unpatch + override_dh_auto_configure: ifeq ($(DEB_HOST_ARCH),$(findstring $(DEB_HOST_ARCH), $(gles2_architectures))) dh_auto_configure -- -DCOMPIZ_BUILD_WITH_RPATH=FALSE -DCOMPIZ_PACKAGING_ENABLED=TRUE -DCOMPIZ_PLUGIN_INSTALL_TYPE=package -DBUILD_GLES=TRUE -DDISABLE_MAINTAINER_CFLAGS=ON -- cgit v1.2.3