[Pkg-wmaker-commits] [wmshutdown] 13/173: debian/patches/10-name-change.dpatch: new

Doug Torrance dtorrance-guest at moszumanska.debian.org
Tue Aug 25 02:46:17 UTC 2015


This is an automated email from the git hooks/post-receive script.

dtorrance-guest pushed a commit to branch master
in repository wmshutdown.

commit 25ad73dfac33beefd636009c759c2606ddce1cc2
Author: Jari Aalto <jari.aalto at cante.net>
Date:   Sat Dec 5 14:29:45 2009 +0200

    debian/patches/10-name-change.dpatch: new
---
 debian/patches/10-name-change.dpatch | 43 ++++++++++++++++++++++++++++++++++++
 1 file changed, 43 insertions(+)

diff --git a/debian/patches/10-name-change.dpatch b/debian/patches/10-name-change.dpatch
new file mode 100755
index 0000000..e65fa0c
--- /dev/null
+++ b/debian/patches/10-name-change.dpatch
@@ -0,0 +1,43 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## /tmp/name-change.patch.dpatch by  <jari.aalto at cante.net>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: fd
+## DP: Author: Jari Aalto <jari.aalto at cante.net>
+## DP: 
+## DP: 
+## DP:     wmShutdown.c: change names
+
+ at DPATCH@
+
+diff --git a/wmShutdown.c b/wmShutdown.c
+index 7f7e14e..96996bc 100644
+--- a/wmShutdown.c
++++ b/wmShutdown.c
+@@ -57,7 +57,7 @@ int desliga(void) {
+ 	FILE *output;
+ 	char *teste;
+ 
+-	output = popen("/usr/local/bin/Shutdown -h", "r");
++	output = popen("/usr/bin/wmshutdown -h", "r");
+ 	teste = (char*) fgetc(output);
+ 	while ((int)teste != EOF) {
+ 		g_print("%c", teste);
+@@ -70,7 +70,7 @@ int reinicia(void) {
+ 	FILE *output;
+ 	char *teste;
+ 
+-	output = popen("/usr/local/bin/Shutdown -r", "r");
++	output = popen("/usr/bin/wmhutdown-run -r", "r");
+ 	teste = (char*) fgetc(output);
+ 	while ((int)teste != EOF) {
+ 		g_print("%c", teste);
+@@ -148,7 +148,7 @@ int main(int argc, char *argv[]) {
+ 	gtk_widget_realize(dockArea);	    
+ 
+         icon = (gpointer) gdk_pixmap_create_from_xpm (gtkiw->window, &mask,
+-                	NULL, "/usr/share/pixmaps/wmShutdown.xpm");
++                	NULL, "/usr/share/pixmaps/wmshutdown.xpm");
+ 
+         pixmap = gtk_pixmap_new((gpointer) icon, mask);
+         gtk_widget_show(pixmap);

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wmaker/wmshutdown.git



More information about the Pkg-wmaker-commits mailing list