Author: neurocyte-guest
Date: Fri Oct 6 11:07:20 2006
New Revision: 71
URL: http://svn.debian.org/wsvn/pkg-pulseaudio/?sc=1&rev=71
Log:
patch to use G2.14 icon
Added:
pavumeter/trunk/debian/patches/
pavumeter/trunk/debian/patches/00list
pavumeter/trunk/debian/patches/01_use_stock_g2.14_icons.dpatch
Modified:
pavumeter/trunk/debian/control
pavumeter/trunk/debian/rules
Modified: pavumeter/trunk/debian/control
URL: http://svn.debian.org/wsvn/pkg-pulseaudio/pavumeter/trunk/debian/control?rev=71&op=diff
==============================================================================
--- pavumeter/trunk/debian/control (original)
+++ pavumeter/trunk/debian/control Fri Oct 6 11:07:20 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, lynx
Standards-Version: 3.7.2
Added: pavumeter/trunk/debian/patches/00list
URL: http://svn.debian.org/wsvn/pkg-pulseaudio/pavumeter/trunk/debian/patches/00list?rev=71&op=file
==============================================================================
--- pavumeter/trunk/debian/patches/00list (added)
+++ pavumeter/trunk/debian/patches/00list Fri Oct 6 11:07:20 2006
@@ -1,0 +1,1 @@
+01_use_stock_g2.14_icons.dpatch
Added: pavumeter/trunk/debian/patches/01_use_stock_g2.14_icons.dpatch
URL: http://svn.debian.org/wsvn/pkg-pulseaudio/pavumeter/trunk/debian/patches/01_use_stock_g2.14_icons.dpatch?rev=71&op=file
==============================================================================
--- pavumeter/trunk/debian/patches/01_use_stock_g2.14_icons.dpatch (added)
+++ pavumeter/trunk/debian/patches/01_use_stock_g2.14_icons.dpatch Fri Oct 6 11:07:20 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 icons (instead of GNOME 2.16)
+
[EMAIL PROTECTED]@
+
+diff -Nru pavumeter-0.9.2-orig/src/pavumeter.desktop pavumeter-0.9.2/src/pavumeter.desktop
+--- pavumeter-0.9.2-orig/src/pavumeter.desktop 2006-06-21 00:08:22.000000000 +0200
++++ pavumeter-0.9.2/src/pavumeter.desktop 2006-10-06 12:54:35.775097940 +0200
+@@ -4,7 +4,7 @@
+ GenericName=Volume Meter
+ Comment=Monitor the output or input volume
+ Exec=pavumeter
+-Icon=audio-input-microphone
++Icon=stock_mic
+ StartupNotify=true
+ Type=Application
+ Categories=Application;AudioVideo;Audio;
+diff -Nru pavumeter-0.9.2-orig/src/vumeter.cc pavumeter-0.9.2/src/vumeter.cc
+--- pavumeter-0.9.2-orig/src/vumeter.cc 2006-06-21 16:12:20.000000000 +0200
++++ pavumeter-0.9.2/src/vumeter.cc 2006-10-06 12:54:50.345031345 +0200
+@@ -98,7 +98,7 @@
+
+ set_title("PulseAudio Volume Meter");
+
+- gtk_window_set_icon_name(GTK_WINDOW(gobj()), "audio-input-microphone");
++ gtk_window_set_icon_name(GTK_WINDOW(gobj()), "stock_mic");
+
+ add(vbox);
+
+@@ -107,7 +107,7 @@
+
+ vbox.pack_start(eventBox, false, false);
+
+- image.set_from_icon_name("audio-input-microphone", Gtk::ICON_SIZE_DIALOG);
++ image.set_from_icon_name("stock_mic", Gtk::ICON_SIZE_DIALOG);
+
+ eventBox.add(titleHBox);
+ titleHBox.pack_start(image, false, false);
Modified: pavumeter/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-pulseaudio/pavumeter/trunk/debian/rules?rev=71&op=diff
==============================================================================
--- pavumeter/trunk/debian/rules (original)
+++ pavumeter/trunk/debian/rules Fri Oct 6 11:07:20 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
@@ -70,4 +79,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