[SCM] gpac/master: Don't install modules in multi-arch directories, Closes: #730497
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sat Feb 22 18:16:24 UTC 2014
The following commit has been merged in the master branch:
commit 76ccc4d1a300b31f10769e0ea5b7e47b4979a8f8
Author: Reinhard Tartler <siretart at tauware.de>
Date: Sat Feb 22 13:40:05 2014 +0000
Don't install modules in multi-arch directories, Closes: #730497
The code just doesn't look into the right directories
diff --git a/debian/control b/debian/control
index 706d209..0d15f41 100644
--- a/debian/control
+++ b/debian/control
@@ -73,7 +73,6 @@ Description: GPAC Project on Advanced Content - debugging symbols
Package: gpac-modules-base
Architecture: any
-Multi-Arch: same
Pre-Depends: ${misc:Pre-Depends}
Breaks:
gpac (<= 0.4.5+svn3462~dfsg0-1~)
@@ -93,7 +92,6 @@ Description: GPAC Project on Advanced Content - modules
Package: libgpac2
Architecture: any
-Multi-Arch: same
Section: libs
Pre-Depends: ${misc:Pre-Depends}
Depends:
@@ -112,7 +110,6 @@ Package: libgpac-dbg
Priority: extra
Section: debug
Architecture: any
-Multi-Arch: same
Depends:
libgpac2 (= ${binary:Version}),
${misc:Depends}
@@ -127,7 +124,6 @@ Description: GPAC Project on Advanced Content - debugging symbols for libgpac2
Package: libgpac-dev
Architecture: any
Section: libdevel
-Multi-Arch: same
Depends:
libgpac2 (= ${binary:Version}),
${misc:Depends}
diff --git a/debian/gpac-modules-base.install b/debian/gpac-modules-base.install
index ad19fda..caf071a 100644
--- a/debian/gpac-modules-base.install
+++ b/debian/gpac-modules-base.install
@@ -1 +1 @@
-usr/lib/*/gpac
+usr/lib/gpac
diff --git a/debian/libgpac-dev.install b/debian/libgpac-dev.install
index 418619f..68ea53d 100644
--- a/debian/libgpac-dev.install
+++ b/debian/libgpac-dev.install
@@ -1,3 +1,3 @@
usr/include
-usr/lib/*/libgpac.so
-usr/lib/*/libgpac_static.a
+usr/lib/libgpac.so
+usr/lib/libgpac_static.a
diff --git a/debian/libgpac2.install b/debian/libgpac2.install
index 8c21b71..bc40adc 100644
--- a/debian/libgpac2.install
+++ b/debian/libgpac2.install
@@ -1 +1 @@
-usr/lib/*/libgpac.so.*
+usr/lib/libgpac.so.*
diff --git a/debian/rules b/debian/rules
index 72513d6..93609a9 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,7 +2,6 @@
export REPACK_SH=$(CURDIR)/debian/repack.sh
-DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
export GPAC_BASE_VER ?= $(shell dpkg-parsechangelog | sed -n 's/Version: \([0-9.]*\)\+.*/\1/p')
export GPAC_SVN_REVISION ?= $(shell dpkg-parsechangelog | grep Version | sed 's/Version:.*+svn\([0-9]\+\).*/\1/')
@@ -16,8 +15,8 @@ endif
override_dh_auto_configure:
dh_auto_configure -- \
--prefix=/usr \
+ --libdir=lib \
--mandir=\$${prefix}/share/man \
- --libdir=lib/$(DEB_HOST_MULTIARCH) \
--extra-cflags="-Wall -fPIC -DPIC -I/usr/include/mozjs -DXP_UNIX" \
--enable-joystick \
--enable-debug \
@@ -25,13 +24,8 @@ override_dh_auto_configure:
$(DEB_EXTRA_CONFIGURE_FLAGS)
override_dh_auto_install:
- $(MAKE) install prefix=$(CURDIR)/debian/tmp/usr \
- moddir=$(CURDIR)/debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/gpac
+ $(MAKE) install prefix=$(CURDIR)/debian/tmp/usr
$(MAKE) install-lib prefix=$(CURDIR)/debian/tmp/usr
- # Move the arch-specific headers into the multiarch path
- cd debian/tmp/usr/include && \
- mkdir -p $(DEB_HOST_MULTIARCH)/gpac && \
- mv gpac/configuration.h $(DEB_HOST_MULTIARCH)/gpac/
mv debian/tmp/usr/share/man/man1/mp4box.1 \
debian/tmp/usr/share/man/man1/MP4Box.1
mv debian/tmp/usr/share/man/man1/mp4client.1 \
--
gpac packaging
More information about the pkg-multimedia-commits
mailing list