Author: neurocyte-guest
Date: Fri Oct  6 11:46:34 2006
New Revision: 73

URL: http://svn.debian.org/wsvn/pkg-pulseaudio/?sc=1&rev=73
Log:
patch to use G2.14 icon


Added:
    paprefs/trunk/debian/patches/
    paprefs/trunk/debian/patches/00list
    paprefs/trunk/debian/patches/01_use_stock_g2.14_icons.dpatch
Modified:
    paprefs/trunk/debian/control
    paprefs/trunk/debian/rules
Modified: paprefs/trunk/debian/control
URL: http://svn.debian.org/wsvn/pkg-pulseaudio/paprefs/trunk/debian/control?rev=73&op=diff
==============================================================================
--- paprefs/trunk/debian/control (original)
+++ paprefs/trunk/debian/control Fri Oct  6 11:46:34 2006
@@ -2,7 +2,7 @@
 Section: sound
 Priority: optional
 Maintainer: CJ van den Berg <[EMAIL PROTECTED]>
-Build-Depends: debhelper (>= 5), autotools-dev, libpulse-dev,
+Build-Depends: debhelper (>= 5), dpatch, autotools-dev, libpulse-dev,
     libgtkmm-2.4-dev, libglademm-2.4-dev, libgconfmm-2.6-dev, lynx
 Standards-Version: 3.7.2
 

Added: paprefs/trunk/debian/patches/00list
URL: http://svn.debian.org/wsvn/pkg-pulseaudio/paprefs/trunk/debian/patches/00list?rev=73&op=file
==============================================================================
--- paprefs/trunk/debian/patches/00list (added)
+++ paprefs/trunk/debian/patches/00list Fri Oct  6 11:46:34 2006
@@ -1,0 +1,1 @@
+01_use_stock_g2.14_icons.dpatch

Added: paprefs/trunk/debian/patches/01_use_stock_g2.14_icons.dpatch
URL: http://svn.debian.org/wsvn/pkg-pulseaudio/paprefs/trunk/debian/patches/01_use_stock_g2.14_icons.dpatch?rev=73&op=file
==============================================================================
--- paprefs/trunk/debian/patches/01_use_stock_g2.14_icons.dpatch (added)
+++ paprefs/trunk/debian/patches/01_use_stock_g2.14_icons.dpatch Fri Oct  6 11:46:34 2006
@@ -1,0 +1,41 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 01_use_stock_g2.14_icons.dpatch by CJ van den Berg <[EMAIL PROTECTED]>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: use stock GNOME 2.14 icon (instead of GNOME 2.16)
+
[EMAIL PROTECTED]@
+
+diff -Nru paprefs-0.9.5-orig/src/paprefs.desktop paprefs-0.9.5/src/paprefs.desktop
+--- paprefs-0.9.5-orig/src/paprefs.desktop	2006-07-27 20:08:45.000000000 +0200
++++ paprefs-0.9.5/src/paprefs.desktop	2006-10-06 13:30:56.924532697 +0200
+@@ -5,7 +5,7 @@
+ GenericName=Sound server Preferences
+ Comment=View and modify the configuration of the local sound server
+ Exec=paprefs
+-Icon=preferences-desktop
++Icon=gnome-settings
+ StartupNotify=true
+ Type=Application
+ Categories=Application;AudioVideo;Audio;
+diff -Nru paprefs-0.9.5-orig/src/paprefs.glade paprefs-0.9.5/src/paprefs.glade
+--- paprefs-0.9.5-orig/src/paprefs.glade	2006-07-27 20:08:45.000000000 +0200
++++ paprefs-0.9.5/src/paprefs.glade	2006-10-06 13:30:53.080022537 +0200
+@@ -10,7 +10,7 @@
+   <property name="modal">False</property>
+   <property name="resizable">False</property>
+   <property name="destroy_with_parent">False</property>
+-  <property name="icon_name">preferences-desktop</property>
++  <property name="icon_name">gnome-settings</property>
+   <property name="decorated">True</property>
+   <property name="skip_taskbar_hint">False</property>
+   <property name="skip_pager_hint">False</property>
+@@ -42,7 +42,7 @@
+ 		<widget class="GtkImage" id="image19">
+ 		  <property name="visible">True</property>
+ 		  <property name="icon_size">6</property>
+-		  <property name="icon_name">preferences-desktop</property>
++		  <property name="icon_name">gnome-settings</property>
+ 		  <property name="xalign">0.5</property>
+ 		  <property name="yalign">0.5</property>
+ 		  <property name="xpad">0</property>

Modified: paprefs/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-pulseaudio/paprefs/trunk/debian/rules?rev=73&op=diff
==============================================================================
--- paprefs/trunk/debian/rules (original)
+++ paprefs/trunk/debian/rules Fri Oct  6 11:46:34 2006
@@ -19,7 +19,7 @@
 	CONFIGURE_FLAGS += --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE)
 endif
 
-config.status: configure
+config.status: patch-stamp configure
 	dh_testdir
 	./configure $(CONFIGURE_FLAGS)
 
@@ -43,6 +43,15 @@
 	cp -f /usr/share/misc/config.guess config.guess
 endif
 	dh_clean 
+
+patch: patch-stamp
+patch-stamp:
+	dpatch apply-all
+	touch patch-stamp
+
+unpatch:
+	dpatch deapply-all
+	rm -rf patch-stamp debian/patched
 
 install: build
 	dh_testdir
@@ -69,4 +78,4 @@
 	dh_builddeb
 
 binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install 
+.PHONY: build clean binary-indep binary-arch binary install patch

_______________________________________________
Pkg-pulseaudio-devel mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/pkg-pulseaudio-devel

Reply via email to