vdr/vdr/debian vdr-plugin-examples.dirs vdr-plugin-sky.dirs changelog control rules

Thomas Schmidt pkg-vdr-dvb-changes@lists.alioth.debian.org
Sat, 24 Apr 2004 14:36:41 +0000


Update of /cvsroot/pkg-vdr-dvb/vdr/vdr/debian
In directory haydn:/tmp/cvs-serv12846/vdr/debian

Modified Files:
	changelog control rules 
Added Files:
	vdr-plugin-examples.dirs vdr-plugin-sky.dirs 
Log Message:
separated plugins from vdr-package

Index: changelog
===================================================================
RCS file: /cvsroot/pkg-vdr-dvb/vdr/vdr/debian/changelog,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- changelog	24 Apr 2004 10:40:54 -0000	1.3
+++ changelog	24 Apr 2004 14:36:39 -0000	1.4
@@ -1,8 +1,12 @@
 vdr (1.2.6-4) unstable; urgency=low
 
-  Thomas Schmidt:
-  * Use dpatch, so build-depend on dpatch
-  * Build-Depend on: dvb-dev | linux-kernel-headers
+  * Thomas Schmidt
+    - Use dpatch, so build-depend on dpatch
+    - Build-Depend on: dvb-dev | linux-kernel-headers
+    - Separate plugins from the vdr-package (new packages: 
+      vdr-plugin-examples and vdr-plugin-sky)
+    - Change architecture of package vdr to all - it does not 
+      contain any architecture-dependent files anymore
 
  -- Thomas Schmidt <thomas.schmidt@in.stud.tu-ilmenau.de>  Sat, 24 Apr 2004 12:04:41 +0200
 

Index: control
===================================================================
RCS file: /cvsroot/pkg-vdr-dvb/vdr/vdr/debian/control,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- control	24 Apr 2004 10:40:54 -0000	1.2
+++ control	24 Apr 2004 14:36:39 -0000	1.3
@@ -6,7 +6,7 @@
 Standards-Version: 3.6.1
 
 Package: vdr
-Architecture: any
+Architecture: all
 Depends: ${shlibs:Depends}, ${misc:Depends}, vdr-kbd | vdr-lirc | vdr-rcu | vdr-daemon
 Description: Video Disk Recorder for DVB cards
  Video Disk Recorder (VDR) is a digital sat-receiver program using
@@ -79,3 +79,29 @@
  capabilities.  Instead, it opens a control port and other programs
  like kvdr (from the kvdr package) can connect to the vdr-daemon and
  use it.
+
+Package: vdr-plugin-sky
+Architecture: any 
+Depends: ${shlibs:Depends}, vdr (= ${Source-Version})
+Description: Plugin for using a Sky Digibox with vdr
+ Video Disk Recorder (VDR) is a digital sat-receiver program using
+ Linux and DVB technologies. It allows one to record MPEG2 streams,
+ as well as output the stream to TV.
+ .
+ This package contains the sky-plugin, wich allows you to connect 
+ the analog a/v output of a Sky Digibox to VDR, so that you can 
+ enjoy the full recording flexibility of VDR with your Sky 
+ subscription. 
+
+Package: vdr-plugin-examples
+Architecture: any 
+Depends: ${shlibs:Depends}, vdr (= ${Source-Version})
+Description: Plugins for vdr to show some possible features
+ Video Disk Recorder (VDR) is a digital sat-receiver program using
+ Linux and DVB technologies. It allows one to record MPEG2 streams,
+ as well as output the stream to TV.
+ .
+ This package contains the example-plugins hello, osddemo and status
+ from the vdr-source. These plugins do not have a useful feature, 
+ they only demonstrate how vdr-plugins work an what is possible to
+ do with vdr-plugins.

--- NEW FILE: vdr-plugin-examples.dirs ---
usr/lib/vdr/plugins

--- NEW FILE: vdr-plugin-sky.dirs ---
usr/lib/vdr/plugins

Index: rules
===================================================================
RCS file: /cvsroot/pkg-vdr-dvb/vdr/vdr/debian/rules,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- rules	24 Apr 2004 12:31:52 -0000	1.3
+++ rules	24 Apr 2004 14:36:39 -0000	1.4
@@ -73,6 +73,7 @@
 	-$(MAKE) clean
 
 	rm -f vdr-kbd vdr-daemon vdr-lirc vdr-rcu
+	rm -rf PLUGINS/lib
 	
 	dh_clean
 	
@@ -89,7 +90,7 @@
 	cp -a epg2html.pl svdrpsend.pl $(CURDIR)/debian/vdr/usr/lib/vdr/
 	dh_installman $(CURDIR)/vdr.1 -p vdr
 	
-	for x in vdr-lirc vdr-kbd vdr-rcu vdr-daemon; do \
+	for x in vdr-lirc vdr-kbd vdr-rcu vdr-daemon vdr-plugin-examples; do \
 	  mkdir -p $(CURDIR)/debian/$$x/usr/share/doc; \
 	  ln -s vdr.1.gz $(CURDIR)/debian/vdr/usr/share/man/man1/$$x.1.gz; \
 	  ln -s vdr $(CURDIR)/debian/$$x/usr/share/doc/$$x; \
@@ -102,7 +103,10 @@
 	chmod ugo+x $(CURDIR)/debian/vdr/usr/sbin/runvdr
 	
 	# plugins
-	cp -a PLUGINS/lib/libvdr-*.so.* $(CURDIR)/debian/vdr/usr/lib/vdr/plugins
+	for x in hello osddemo status; do \
+		cp -a PLUGINS/lib/libvdr-$$x.so.* $(CURDIR)/debian/vdr-plugin-examples/usr/lib/vdr/plugins; \
+	done
+	cp -a PLUGINS/lib/libvdr-sky.so.* $(CURDIR)/debian/vdr-plugin-sky/usr/lib/vdr/plugins
 
 	# config files
 	install -m 644 ca.conf diseqc.conf keymacros.conf sources.conf svdrphosts.conf $(CURDIR)/debian/vdr/etc/vdr/
@@ -112,10 +116,6 @@
 
 # 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 -pvdr
@@ -126,6 +126,24 @@
 	dh_installchangelogs HISTORY -pvdr
 	dh_installchangelogs HISTORY -pvdr-dev
 	dh_installinit -pvdr
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+	dh_installdeb
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+# Build architecture-dependent files here.
+binary-arch: build install
+	dh_testdir
+	dh_testroot
+	dh_installdocs
+	dh_installexamples -pvdr-plugin-sky PLUGINS/src/sky/*.sky
+	dh_installmenu
+	dh_installchangelogs -pvdr-plugin-sky PLUGINS/src/sky/HISTORY
 	dh_link
 	dh_strip
 	dh_compress