[pkg-nvidia-devel] r1280 - /packages/nvidia-graphics-drivers-legacy-173xx/trunk/debian/rules
anbe-guest at users.alioth.debian.org
anbe-guest at users.alioth.debian.org
Fri Jul 2 10:56:56 UTC 2010
Author: anbe-guest
Date: Fri Jul 2 10:56:56 2010
New Revision: 1280
URL: http://svn.debian.org/wsvn/pkg-nvidia/?sc=1&rev=1280
Log:
synchronize packaging with nvidia-graphics-drivers 195.36.31-1 (r1279)
Modified:
packages/nvidia-graphics-drivers-legacy-173xx/trunk/debian/rules
Modified: packages/nvidia-graphics-drivers-legacy-173xx/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-nvidia/packages/nvidia-graphics-drivers-legacy-173xx/trunk/debian/rules?rev=1280&op=diff
==============================================================================
--- packages/nvidia-graphics-drivers-legacy-173xx/trunk/debian/rules (original)
+++ packages/nvidia-graphics-drivers-legacy-173xx/trunk/debian/rules Fri Jul 2 10:56:56 2010
@@ -171,11 +171,13 @@
override_dh_makeshlibs:
dh_makeshlibs -Xvdpau/libvdpau_nvidia.so
# Redirect shlibs for libGL.so.1 to libgl1-mesa-glx | libgl1.
- sed -i -e '/^libGL 1 /s/.*/libGL 1 libgl1-mesa-glx | libgl1/' debian/libgl1-nvidia$(legacy)-glx/DEBIAN/shlibs
+ test ! -d debian/libgl1-nvidia$(legacy)-glx || \
+ sed -i -e '/^libGL 1 /s/.*/libGL 1 libgl1-mesa-glx | libgl1/' debian/libgl1-nvidia$(legacy)-glx/DEBIAN/shlibs
test ! -d debian/libgl1-nvidia$(legacy)-glx-ia32 || \
sed -i -e '/^libGL 1 /s/.*/libGL 1 ia32-libs (>= 20090804)/' debian/libgl1-nvidia$(legacy)-glx-ia32/DEBIAN/shlibs
# Remove libGL.so from symbols files in order not to override our special shlibs files.
- sed -i -e '/^libGL\.so/,/^lib/{/^libGL\.so\|^ /d}' debian/libgl1-nvidia$(legacy)-glx/DEBIAN/symbols
+ test ! -d debian/libgl1-nvidia$(legacy)-glx || \
+ sed -i -e '/^libGL\.so/,/^lib/{/^libGL\.so\|^ /d}' debian/libgl1-nvidia$(legacy)-glx/DEBIAN/symbols
test ! -d debian/libgl1-nvidia$(legacy)-glx-ia32 || \
sed -i -e '/^libGL\.so/,/^lib/{/^libGL\.so\|^ /d}' debian/libgl1-nvidia$(legacy)-glx-ia32/DEBIAN/symbols
@@ -209,6 +211,11 @@
debian/module/debian/changelog: debian/changelog
sed '1s/^nvidia-graphics-drivers/nvidia-kernel/g' $< > $@
+
+# only invoked manually
+%.txt: %.list
+ sed -e 's/ /#/g; s/#*$$/,/; $$ s/,$$//' $< | ( tr '\n' ' '; echo ) \
+ | fold -s -w 78 | sed -e 's/#/ /g; s/^/ /; s/ *$$//' > $@
# Renaming control files for legacy packaging
ifneq (,$(legacy))
More information about the Pkg-nvidia-devel
mailing list