r5993 - in /vdr/vdr-plugin-live/trunk/debian: changelog control install patches/ postinst postrm rules

tschmidt at users.alioth.debian.org tschmidt at users.alioth.debian.org
Fri Dec 28 20:17:00 UTC 2007


Author: tschmidt
Date: Fri Dec 28 20:17:00 2007
New Revision: 5993

URL: http://svn.debian.org/wsvn/pkg-vdr-dvb/?sc=1&rev=5993
Log:
* New Upstream Snapshot (Closes: #447280)
  - Removed all dpatches, they were integrated in upstream
  - Removed dpatch build-dependancy
* Added get-orig-source target to debian/rules
* Switched Build-System to cdbs, Build-Depend on cdbs
* Added Homepage field to debian/control
* Renamed XS-Vcs-* fields to Vcs-* in debian/control
* Bumped Standards-Version to 3.7.3
* Added data-dirs (images, css, js, themes) to /usr/share/vdr-plugin-live/
* Add symlinks from /var/lib/vdr/plugins/live/ to
  /usr/share/vdr-plugin-live/* in debian/postinst

Removed:
    vdr/vdr-plugin-live/trunk/debian/patches/
Modified:
    vdr/vdr-plugin-live/trunk/debian/changelog
    vdr/vdr-plugin-live/trunk/debian/control
    vdr/vdr-plugin-live/trunk/debian/install
    vdr/vdr-plugin-live/trunk/debian/postinst
    vdr/vdr-plugin-live/trunk/debian/postrm
    vdr/vdr-plugin-live/trunk/debian/rules

Modified: vdr/vdr-plugin-live/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-vdr-dvb/vdr/vdr-plugin-live/trunk/debian/changelog?rev=5993&op=diff
==============================================================================
--- vdr/vdr-plugin-live/trunk/debian/changelog (original)
+++ vdr/vdr-plugin-live/trunk/debian/changelog Fri Dec 28 20:17:00 2007
@@ -1,3 +1,19 @@
+vdr-plugin-live (0.1.0+cvs20071228.1851-1) unstable; urgency=low
+
+  * New Upstream Snapshot (Closes: #447280)
+    - Removed all dpatches, they were integrated in upstream
+    - Removed dpatch build-dependancy
+  * Added get-orig-source target to debian/rules
+  * Switched Build-System to cdbs, Build-Depend on cdbs
+  * Added Homepage field to debian/control
+  * Renamed XS-Vcs-* fields to Vcs-* in debian/control
+  * Bumped Standards-Version to 3.7.3
+  * Added data-dirs (images, css, js, themes) to /usr/share/vdr-plugin-live/
+  * Add symlinks from /var/lib/vdr/plugins/live/ to
+    /usr/share/vdr-plugin-live/* in debian/postinst
+
+ -- Thomas Schmidt <tschmidt at debian.org>  Fri, 28 Dec 2007 21:14:28 +0100
+
 vdr-plugin-live (0.1.0-10) unstable; urgency=low
 
   * Release for vdrdevel 1.5.12

Modified: vdr/vdr-plugin-live/trunk/debian/control
URL: http://svn.debian.org/wsvn/pkg-vdr-dvb/vdr/vdr-plugin-live/trunk/debian/control?rev=5993&op=diff
==============================================================================
--- vdr/vdr-plugin-live/trunk/debian/control (original)
+++ vdr/vdr-plugin-live/trunk/debian/control Fri Dec 28 20:17:00 2007
@@ -3,10 +3,11 @@
 Priority: extra
 Maintainer: Debian VDR Team <pkg-vdr-dvb-devel at lists.alioth.debian.org>
 Uploaders: Thomas Schmidt <tschmidt at debian.org>, Tobias Grimm <tg at e-tobi.net>, Thomas Günther <tom at toms-cafe.de>
-Build-Depends: debhelper (>= 5), dpatch, vdr-dev (>= 1.4.6-2ctvdr1), libtntnet-dev, libcxxtools-dev, libssl-dev, libboost-dev
-Standards-Version: 3.7.2
-XS-Vcs-Svn: svn://svn.debian.org/pkg-vdr-dvb/vdr/vdr-plugin-live/trunk/
-XS-Vcs-Browser: http://svn.debian.org/wsvn/pkg-vdr-dvb/vdr/vdr-plugin-live/trunk/
+Build-Depends: debhelper (>= 5), cdbs, vdr-dev (>= 1.4.6-2ctvdr1), libtntnet-dev, libcxxtools-dev, libssl-dev, libboost-dev
+Standards-Version: 3.7.3
+Vcs-Svn: svn://svn.debian.org/pkg-vdr-dvb/vdr/vdr-plugin-live/trunk/
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-vdr-dvb/vdr/vdr-plugin-live/trunk/
+Homepage: http://live.vdr-developer.org
 
 Package: vdr-plugin-live
 Architecture: any

Modified: vdr/vdr-plugin-live/trunk/debian/install
URL: http://svn.debian.org/wsvn/pkg-vdr-dvb/vdr/vdr-plugin-live/trunk/debian/install?rev=5993&op=diff
==============================================================================
--- vdr/vdr-plugin-live/trunk/debian/install (original)
+++ vdr/vdr-plugin-live/trunk/debian/install Fri Dec 28 20:17:00 2007
@@ -1,2 +1,4 @@
 libvdr-live.so.*           usr/lib/vdr/plugins/
+live/*                     usr/share/vdr-plugin-live/
+
 debian/plugin.live.conf    etc/vdr/plugins/

Modified: vdr/vdr-plugin-live/trunk/debian/postinst
URL: http://svn.debian.org/wsvn/pkg-vdr-dvb/vdr/vdr-plugin-live/trunk/debian/postinst?rev=5993&op=diff
==============================================================================
--- vdr/vdr-plugin-live/trunk/debian/postinst (original)
+++ vdr/vdr-plugin-live/trunk/debian/postinst Fri Dec 28 20:17:00 2007
@@ -21,6 +21,12 @@
 case "$1" in
     configure)
         chown -R vdr:vdr /var/lib/vdr/plugins/live
+
+        CFGDIR="/var/lib/vdr/plugins/live"
+        for DIR in css img js themes; do
+                [ ! -L $CFGDIR/$DIR ] && \
+                        ln -s /usr/share/vdr-plugin-live/$DIR $CFGDIR/$DIR
+        done
     ;;
 
     abort-upgrade|abort-remove|abort-deconfigure)

Modified: vdr/vdr-plugin-live/trunk/debian/postrm
URL: http://svn.debian.org/wsvn/pkg-vdr-dvb/vdr/vdr-plugin-live/trunk/debian/postrm?rev=5993&op=diff
==============================================================================
--- vdr/vdr-plugin-live/trunk/debian/postrm (original)
+++ vdr/vdr-plugin-live/trunk/debian/postrm Fri Dec 28 20:17:00 2007
@@ -23,6 +23,10 @@
     purge)
         rm -f /var/lib/vdr/plugins/live/httpd.config
         rm -f /var/lib/vdr/plugins/live/httpd.properties
+        
+        for DIR in css img js themes; do
+                [ -L $CFGDIR/$DIR ] && rm -f $CFGDIR/$DIR
+        done
     ;;
 
     remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)

Modified: vdr/vdr-plugin-live/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-vdr-dvb/vdr/vdr-plugin-live/trunk/debian/rules?rev=5993&op=diff
==============================================================================
--- vdr/vdr-plugin-live/trunk/debian/rules (original)
+++ vdr/vdr-plugin-live/trunk/debian/rules Fri Dec 28 20:17:00 2007
@@ -1,93 +1,29 @@
 #! /bin/sh /usr/share/vdr-dev/make-special-vdr.sh
-# Sample debian/rules that uses debhelper.
-# GNU copyright 1997 to 1999 by Joey Hess.
 
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
+include /usr/share/cdbs/1/rules/debhelper.mk
 
-ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
-	CFLAGS += -g
-endif
-ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
-	INSTALL_PROGRAM += -s
-endif
-
-# To use dpatch uncomment the following line and set Build-Depends to dpatch
-DPATCH=yes
-
-ifdef DPATCH
-include /usr/share/dpatch/dpatch.make
-else
-patch:
-patch-stamp:
-unpatch:
-endif
+DEB_INSTALL_CHANGELOGS_ALL = HISTORY
 
 MAKE_OPTIONS = DVBDIR=/usr VDRDIR=/usr/include/vdr LIBDIR=.
 
-configure: configure-stamp
-configure-stamp: patch-stamp
-	dh_testdir
-	touch configure-stamp
+common-build-arch::
+	$(MAKE) all $(MAKE_OPTIONS)
 
-build: build-stamp
-build-stamp: configure-stamp
-	dh_testdir
-	$(MAKE) all $(MAKE_OPTIONS)
-	touch build-stamp
+clean::
+	$(MAKE) -o .dependencies clean $(MAKE_OPTIONS)
+	rm -f libvdr-*.so.*
 
-clean: clean-patched unpatch
-clean-patched:
-	dh_testdir
-	dh_testroot
-	rm -f build-stamp configure-stamp
-	-$(MAKE) -o .dependencies clean $(MAKE_OPTIONS)
-	rm -f libvdr-*.so.*
-	dh_clean
-
-install: build
-	dh_testdir
-	dh_testroot
-	dh_clean -k
-	dh_installdirs
-	dh_install
-
-# Build architecture-independent files here.
-binary-indep: build install
-# We have nothing to do by default.
-
-# Build architecture-dependent files here.
-binary-arch: build install
-	dh_testdir
-	dh_testroot
-#	dh_installdebconf
-	dh_installdocs
-	dh_installexamples
-#	dh_installmenu
-#	dh_installlogrotate
-#	dh_installemacsen
-#	dh_installpam
-#	dh_installmime
-#	dh_installinit
-#	dh_installcron
-#	dh_installman
-#	dh_installinfo
-#	dh_undocumented
-	dh_installchangelogs HISTORY
-	dh_link
-	dh_strip
-	dh_compress
-	dh_fixperms
-#	dh_makeshlibs
-	dh_installdeb
-#	dh_perl
-	dh_shlibdeps
+common-binary-predeb-arch::
 	sh /usr/share/vdr-dev/patchlevel.sh subst
 	sh /usr/share/vdr-dev/dependencies.sh
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
 
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install configure \
-        clean-patched patch unpatch
+VERSION_DATE = $(shell /bin/date --utc +%0Y%0m%0d.%0k%0M)
+VERSION_ID = 0.1.0+cvs$(VERSION_DATE)
+get-orig-source::
+	echo Downloading vdr-live $(VERSION_ID) from cvs...
+	cvs -d:pserver:anoncvs at vdr-developer.org:/var/cvsroot co live
+	rm -rf `find live -type d -name CVS`
+	tar cvfz "../vdr-plugin-live_$(VERSION_ID).orig.tar.gz" live
+	rm -rf live
+	dch -v "$(VERSION_ID)-1" "New Upstream Snapshot"
+




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