r6756 - in /vdr/vdr/trunk/debian: changelog make-special-vdr.sh

tom-guest at users.alioth.debian.org tom-guest at users.alioth.debian.org
Sat Apr 19 20:59:21 UTC 2008


Author: tom-guest
Date: Sat Apr 19 20:59:21 2008
New Revision: 6756

URL: http://svn.debian.org/wsvn/pkg-vdr-dvb/?sc=1&rev=6756
Log:
Upgraded make-special-vdr.sh to version 0.9

Modified:
    vdr/vdr/trunk/debian/changelog
    vdr/vdr/trunk/debian/make-special-vdr.sh

Modified: vdr/vdr/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-vdr-dvb/vdr/vdr/trunk/debian/changelog?rev=6756&op=diff
==============================================================================
--- vdr/vdr/trunk/debian/changelog (original)
+++ vdr/vdr/trunk/debian/changelog Sat Apr 19 20:59:21 2008
@@ -26,7 +26,7 @@
     to opt-50_graphtft.dpatch (deleted old opt-50_graphtft.dpatch)
 
   [ Thomas Günther ]
-  * Upgraded make-special-vdr.sh to version 0.8
+  * Upgraded make-special-vdr.sh to version 0.9
   * Upgraded opt-41-x_timer-info.dpatch to version 0.5
 
  -- Tobias Grimm <tg at e-tobi.net>  Sat, 12 Apr 2008 23:24:29 +0200

Modified: vdr/vdr/trunk/debian/make-special-vdr.sh
URL: http://svn.debian.org/wsvn/pkg-vdr-dvb/vdr/vdr/trunk/debian/make-special-vdr.sh?rev=6756&op=diff
==============================================================================
--- vdr/vdr/trunk/debian/make-special-vdr.sh (original)
+++ vdr/vdr/trunk/debian/make-special-vdr.sh Sat Apr 19 20:59:21 2008
@@ -88,10 +88,14 @@
 #       - Preserve mode, ownership and timestamps
 #
 #    2008-03-24: Version 0.8
-#
 #       - Updated prepare_sudoku and prepare_wapd for cdbs build system
 #       - Added prepare_osdteletext (no substitution in README)
 #       - Updated substitution for the plugin debianizer script in prepare_vdr
+#
+#    2008-04-16: Version 0.9
+#       - Updated prepare_softdevice for cdbs build system
+#       - Use version of vdr-dev instead of vdrdevel-dev in the plugin
+#         debianizer script
 
 
 main()
@@ -499,6 +503,9 @@
 @@ -27 +27 @@
 -    ORIGTARBALL="../vdr${SPECIAL_VDR_SUFFIX}-plugin-$PLUGIN"_"$VERSION.orig.tar.gz"
 +    ORIGTARBALL="../vdr-plugin-$PLUGIN"_"$VERSION.orig.tar.gz"
+@@ -54 +54 @@
+-    VDRVERSION=`dpkg -s vdr${SPECIAL_VDR_SUFFIX}-dev | awk '/Version/ { print $2 }'`
++    VDRVERSION=`dpkg -s vdr-dev | awk '/Version/ { print $2 }'`
 @@ -72 +72 @@
 -dh_make="/usr/bin/dh_make -t /usr/share/vdr${SPECIAL_VDR_SUFFIX}-dev/plugin-template -b -p vdr${SPECIAL_VDR_SUFFIX}-plugin-$PLUGIN"
 +dh_make="/usr/bin/dh_make -t /usr/share/vdr${SPECIAL_VDR_SUFFIX}-dev/plugin-template -b -p vdr-plugin-$PLUGIN"
@@ -649,7 +656,14 @@
 prepare_softdevice()
 {
     echo "prepare_softdevice: ShmClient -> ShmClient_vdr${SPECIAL_VDR_SUFFIX}"
-    /bin/sed -e "s/\${SPECIAL_VDR_SUFFIX}/${SPECIAL_VDR_SUFFIX}/g" <<'EOF' | /usr/bin/patch -p0 -F0
+    if /usr/bin/dpkg --compare-versions "$(/usr/bin/dpkg-parsechangelog | /bin/egrep '^Version:' | /usr/bin/cut -f 2 -d ' ')" \
+                                        ge "0.4.0+cvs20070830-8"; then
+        /bin/sed -e "s/\${SPECIAL_VDR_SUFFIX}/${SPECIAL_VDR_SUFFIX}/g" <<'EOF' >> debian/rules
+common-binary-post-install-arch::
+	cd debian/vdr${SPECIAL_VDR_SUFFIX}-plugin-softdevice/usr/bin; mv ShmClient ShmClient_vdr${SPECIAL_VDR_SUFFIX}
+EOF
+    else
+        /bin/sed -e "s/\${SPECIAL_VDR_SUFFIX}/${SPECIAL_VDR_SUFFIX}/g" <<'EOF' | /usr/bin/patch -p0 -F0
 --- debian/rules
 +++ debian/rules
 @@ -54,1 +54,2 @@
@@ -657,6 +671,7 @@
 +	dh_install
 +	cd debian/vdr${SPECIAL_VDR_SUFFIX}-plugin-softdevice/usr/bin; mv ShmClient ShmClient_vdr${SPECIAL_VDR_SUFFIX}
 EOF
+    fi
 }
 
 prepare_sudoku()




More information about the pkg-vdr-dvb-changes mailing list