[SCM] VLC media player packaging branch, sid, updated. debian/0.9.9a-1-11-g2d411b7
xtophe-guest at users.alioth.debian.org
xtophe-guest at users.alioth.debian.org
Wed Apr 22 13:09:33 UTC 2009
The following commit has been merged in the sid branch:
commit 4b7b467a59629af346821e140b184cd7a1658651
Author: Christophe Mutricy <xtophe at videolan.org>
Date: Wed Apr 22 12:00:43 2009 +0200
Fix building as root.
Note that ist's more eleguant to run the build target as normal user an
so to use dpkg-build-package -rfakeroot rather than fakeroot
dpkg-buildpackage
Ref: #440216
diff --git a/debian/rules b/debian/rules
index 08472cb..fa63385 100755
--- a/debian/rules
+++ b/debian/rules
@@ -135,7 +135,13 @@ build-stamp: $(QUILT_STAMPFN)
ifeq ($(filter nocheck,$(DEB_BUILD_OPTIONS)),)
ifeq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE))
# Check which plugins were built and whether they load properly.
- ./vlc -vvv --reset-plugins-cache --list --no-color
+ @if test $$( id -u ) -eq 0 ; then \
+ echo "Not runing the test as you are compiling as root"; \
+ echo "Use 'dpkg-buildpackage -rfakeroot' rather than 'fakeroot dpkg-buildpackage'"; \
+ else \
+ command="./vlc -vvv --reset-plugins-cache --list --no-color"; \
+ echo "$${command}"; $${command} ; \
+ fi
endif
endif
touch $@
--
VLC media player packaging
More information about the pkg-multimedia-commits
mailing list