[svn] r6759 - trunk/tools/wiipresent

packagers at lists.rpmforge.net packagers at lists.rpmforge.net
Fri Apr 10 22:15:45 CEST 2009


Author: dag
Date: 2009-04-10 21:15:45 +0100 (Fri, 10 Apr 2009)
New Revision: 6759

Modified:
   trunk/tools/wiipresent/Makefile
   trunk/tools/wiipresent/wiipresent.c
Log:
Small changes.

Modified: trunk/tools/wiipresent/Makefile
===================================================================
--- trunk/tools/wiipresent/Makefile	2009-04-10 19:07:15 UTC (rev 6758)
+++ trunk/tools/wiipresent/Makefile	2009-04-10 20:15:45 UTC (rev 6759)
@@ -39,7 +39,7 @@
 	find . -type f ! -wholename '*/.svn*' | pax -d -w -x ustar -s ,^\./,$(name)-$(version)/, | bzip2 >../$(name)-$(version).tar.bz2
 
 rpm: dist
-	rpmbuild -tb --clean --rmsource --rmspec --define "_rpmfilename %%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm" --define "_rpmdir ../" --define "debug_package %nil" ../$(name)-$(version).tar.bz2
+	rpmbuild -tb --clean --rmsource --rmspec --define "_rpmfilename %%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm" --define "_rpmdir ../" --define "_srpmdir ../" --define "debug_package %nil" ../$(name)-$(version).tar.bz2
 
 srpm: dist
 	rpmbuild -ts --clean --rmsource --rmspec --define "_rpmfilename %%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm" --define "_srcrpmdir ../" --define "debug_package %nil" ../$(name)-$(version).tar.bz2

Modified: trunk/tools/wiipresent/wiipresent.c
===================================================================
--- trunk/tools/wiipresent/wiipresent.c	2009-04-10 19:07:15 UTC (rev 6758)
+++ trunk/tools/wiipresent/wiipresent.c	2009-04-10 20:15:45 UTC (rev 6759)
@@ -545,8 +545,12 @@
                         XKeycode(XK_Page_Up, 0);
                     } else if (strcasestr(name, "xterm") == name) {
                         XKeycode(XK_Page_Up, ShiftMask);
+                    } else if (strcasestr(name, "gnome-terminal") == name) {
+                        XKeycode(XK_Page_Up, ShiftMask);
                     } else if (strcasestr(name, "rhythmbox") == name) {
                         XKeycode(XK_Page_Up, 0);
+                    } else if (strcasestr(name, "tvtime") == name) {
+                        XKeycode(XK_i, 0); // Change input source
                     }
                 }
 
@@ -558,6 +562,8 @@
                         XKeycode(XK_Page_Down, 0);
                     } else if (strcasestr(name, "xterm") == name) {
                         XKeycode(XK_Page_Down, ShiftMask);
+                    } else if (strcasestr(name, "gnome-terminal") == name) {
+                        XKeycode(XK_Page_Down, ShiftMask);
                     } else if (strcasestr(name, "rhythmbox") == name) {
                         XKeycode(XK_Page_Down, 0);
                     }
@@ -700,7 +706,7 @@
                     } else if (strcasestr(name, "xine") == name) {
                         XKeycode(XK_space, 0);
                     } else if (strcasestr(name, "tvtime") == name) {
-                        XKeycode(XK_i, 0); // Change input source
+                        XKeycode(XK_Return, 0); // Channel info
                     } else if (strcasestr(name, "qiv") == name) {
                         XKeycode(XK_m, 0);  // Maximize
                     } else if (strcasestr(name, "nautilus") == name) {




More information about the commits mailing list