r842 - vdr/vdr/trunk/debian
Tobias Grimm
tiber-guest at costa.debian.org
Wed Aug 10 19:01:55 UTC 2005
Author: tiber-guest
Date: 2005-08-10 19:01:54 +0000 (Wed, 10 Aug 2005)
New Revision: 842
Added:
vdr/vdr/trunk/debian/extract-patchinfo
Modified:
vdr/vdr/trunk/debian/changelog
vdr/vdr/trunk/debian/rules
vdr/vdr/trunk/debian/vdr-dev.docs
vdr/vdr/trunk/debian/vdr.docs
Log:
vdr: Extract patch infos and install to /usr/share/doc/vdr/patchinfo
Modified: vdr/vdr/trunk/debian/changelog
===================================================================
--- vdr/vdr/trunk/debian/changelog 2005-08-10 19:00:02 UTC (rev 841)
+++ vdr/vdr/trunk/debian/changelog 2005-08-10 19:01:54 UTC (rev 842)
@@ -11,6 +11,8 @@
- vdr-dev: depend on ${misc:Depends}, dvb-dev (>= 1.0.0) |
linux-kernel-headers (>=2.5.999-test7-bk-6)
- vdr-dev: suggests dh-make
+ * Tobias Grimm <tg at e-tobi.net>
+ - Extract patch infos and install to /usr/share/doc/vdr/patchinfo
-- Debian VDR Team <pkg-vdr-dvb-devel at lists.alioth.debian.org> Tue, 9 Aug 2005 20:45:37 +0200
Added: vdr/vdr/trunk/debian/extract-patchinfo
===================================================================
--- vdr/vdr/trunk/debian/extract-patchinfo 2005-08-10 19:00:02 UTC (rev 841)
+++ vdr/vdr/trunk/debian/extract-patchinfo 2005-08-10 19:01:54 UTC (rev 842)
@@ -0,0 +1,47 @@
+#!/bin/sh
+
+print_patch()
+{
+ author=`dpatch cat --author-only $1`
+ patch_name=`echo $1 | sed 's/[^_]*_\(.*\)/\1/'`
+ patch_description=`dpatch cat --no-meta $patch`
+ echo $patch_name:
+ if [ ! -z "$author" ] ; then
+ echo " $author"
+ echo
+ fi
+ if [ ! -z "$patch_description" ] ; then
+ echo $patch_description | fmt | sed 's/\(.*\)/ \1/'
+ fi
+ echo
+}
+
+echo "Patches applied to vanilla vdr sources"
+echo "--------------------------------------"
+echo
+
+patches_applied=`dpatch list-all`
+for patch in $patches_applied ; do
+ print_patch $patch
+done
+
+echo
+echo "Patches available in source package, but not active"
+echo "---------------------------------------------------"
+echo
+
+patches_available=`find debian/patches -name *.dpatch -printf "%f\n" | sed 's/\(.*\)\.dpatch/\1/'`
+for patch in $patches_available ; do
+ is_applied="no"
+
+ for applied_patch in $patches_applied ; do
+ if [ $applied_patch == $patch ] ; then
+ is_applied="yes"
+ break
+ fi
+ done
+
+ if [ $is_applied == "no" ] ; then
+ print_patch $patch
+ fi
+done
Property changes on: vdr/vdr/trunk/debian/extract-patchinfo
___________________________________________________________________
Name: svn:executable
+ *
Modified: vdr/vdr/trunk/debian/rules
===================================================================
--- vdr/vdr/trunk/debian/rules 2005-08-10 19:00:02 UTC (rev 841)
+++ vdr/vdr/trunk/debian/rules 2005-08-10 19:01:54 UTC (rev 842)
@@ -51,6 +51,8 @@
patchlevel:
chmod +x debian/patchlevel.sh
debian/patchlevel.sh make
+ chmod +x debian/extract-patchinfo
+ debian/extract-patchinfo >debian/patchinfo
clean: clean-patched unpatch
Modified: vdr/vdr/trunk/debian/vdr-dev.docs
===================================================================
--- vdr/vdr/trunk/debian/vdr-dev.docs 2005-08-10 19:00:02 UTC (rev 841)
+++ vdr/vdr/trunk/debian/vdr-dev.docs 2005-08-10 19:01:54 UTC (rev 842)
@@ -2,3 +2,4 @@
CONTRIBUTORS
PLUGINS.html
README.developer
+debian/patchinfo
Modified: vdr/vdr/trunk/debian/vdr.docs
===================================================================
--- vdr/vdr/trunk/debian/vdr.docs 2005-08-10 19:00:02 UTC (rev 841)
+++ vdr/vdr/trunk/debian/vdr.docs 2005-08-10 19:01:54 UTC (rev 842)
@@ -4,3 +4,4 @@
INSTALL
UPDATE-1.2.0
README.vps
+debian/patchinfo
More information about the pkg-vdr-dvb-changes
mailing list