]> git.decadent.org.uk Git - ion3.git/commitdiff
Merged all changes to use x-terminal-emulator into 206_use-xterm.diff.
authorBen Hutchings <ben@decadent.org.uk>
Mon, 6 Aug 2007 22:46:38 +0000 (22:46 +0000)
committerBen Hutchings <ben@decadent.org.uk>
Sun, 2 Nov 2008 12:41:34 +0000 (12:41 +0000)
Merged menu change to use ion-lock into 205_ion-lock.diff
Moved all Debian menu changes into new 211_add-debian-menu.diff.

debian/patches/202_fix-menus.diff [deleted file]
debian/patches/204_fix-bindings.diff [deleted file]
debian/patches/205_ion-lock.diff
debian/patches/206_use-x-terminal-emulator.diff [new file with mode: 0644]
debian/patches/206_use-xterm.diff [deleted file]
debian/patches/211_add-debian-menu.diff [new file with mode: 0644]
debian/patches/extra/debian-menu.cfg [deleted file]
debian/patches/series
debian/rules

diff --git a/debian/patches/202_fix-menus.diff b/debian/patches/202_fix-menus.diff
deleted file mode 100755 (executable)
index c762b1f..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
---- ion3.orig/etc/cfg_ioncore.lua
-+++ ion3/etc/cfg_ioncore.lua
-@@ -330,11 +330,13 @@
- -- Main menu
- defmenu("mainmenu", {
-     menuentry("Run...",         "mod_query.query_exec(_)"),
--    menuentry("Terminal",       "ioncore.exec_on(_, XTERM or 'xterm')"),
-+    menuentry("Terminal",       "ioncore.exec_on(_, 'x-terminal-emulator')"),
--    menuentry("Lock screen",    "ioncore.exec_on(_, 'xlock')"),
-+    menuentry("Lock screen",
-+              "ioncore.exec_on(_, ioncore.lookup_script('ion-lock'))"),
-     menuentry("Help",           "mod_query.query_man(_)"),
-     menuentry("About Ion",      "mod_query.show_about_ion(_)"),
-     submenu("Styles",           "stylemenu"),
-+    submenu("Debian",           "Debian"),
-     submenu("Session",          "sessionmenu"),
- })
diff --git a/debian/patches/204_fix-bindings.diff b/debian/patches/204_fix-bindings.diff
deleted file mode 100755 (executable)
index 5028e05..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
---- ion3.orig/etc/cfg_ioncore.lua
-+++ ion3/etc/cfg_ioncore.lua
-@@ -153,7 +153,7 @@
-     kpress(META.."F1", "ioncore.exec_on(_, ':man ion3')"),
-     bdoc("Run a terminal emulator."),
--    kpress(ALTMETA.."F2", "ioncore.exec_on(_, XTERM or 'xterm')"),
-+    kpress(ALTMETA.."F2", "ioncore.exec_on(_, XTERM or 'x-terminal-emulator')"),
-     
-     bdoc("Query for command line to execute."),
-     kpress(ALTMETA.."F3", "mod_query.query_exec(_)"),
index 6d2dfafa265d6467530b9cd1556b414994d60821..fce52f9691398b8d87ae8ab069050c621ca9ec53 100755 (executable)
@@ -1,3 +1,15 @@
+--- ion3.orig/etc/cfg_ioncore.lua
++++ ion3/etc/cfg_ioncore.lua
+@@ -331,7 +331,8 @@
+ defmenu("mainmenu", {
+     menuentry("Run...",         "mod_query.query_exec(_)"),
+     menuentry("Terminal",       "ioncore.exec_on(_, XTERM or 'xterm')"),
+-    menuentry("Lock screen",    "ioncore.exec_on(_, 'xlock')"),
++    menuentry("Lock screen",
++              "ioncore.exec_on(_, ioncore.lookup_script('ion-lock'))"),
+     menuentry("Help",           "mod_query.query_man(_)"),
+     menuentry("About Ion",      "mod_query.show_about_ion(_)"),
+     submenu("Styles",           "stylemenu"),
 --- ion3.orig/utils/Makefile
 +++ ion3/utils/Makefile
 @@ -11,7 +11,7 @@
diff --git a/debian/patches/206_use-x-terminal-emulator.diff b/debian/patches/206_use-x-terminal-emulator.diff
new file mode 100644 (file)
index 0000000..afaab3f
--- /dev/null
@@ -0,0 +1,30 @@
+--- ion3.orig/etc/cfg_ioncore.lua
++++ ion3/etc/cfg_ioncore.lua
+@@ -153,7 +153,7 @@
+     kpress(META.."F1", "ioncore.exec_on(_, ':man ion3')"),
+     bdoc("Run a terminal emulator."),
+-    kpress(ALTMETA.."F2", "ioncore.exec_on(_, XTERM or 'xterm')"),
++    kpress(ALTMETA.."F2", "ioncore.exec_on(_, XTERM or 'x-terminal-emulator')"),
+     
+     bdoc("Query for command line to execute."),
+     kpress(ALTMETA.."F3", "mod_query.query_exec(_)"),
+@@ -330,7 +330,7 @@
+ -- Main menu
+ defmenu("mainmenu", {
+     menuentry("Run...",         "mod_query.query_exec(_)"),
+-    menuentry("Terminal",       "ioncore.exec_on(_, XTERM or 'xterm')"),
++    menuentry("Terminal",       "ioncore.exec_on(_, XTERM or 'x-terminal-emulator')"),
+     menuentry("Lock screen",
+               "ioncore.exec_on(_, ioncore.lookup_script('ion-lock'))"),
+     menuentry("Help",           "mod_query.query_man(_)"),
+--- ion3.orig/utils/ion-runinxterm
++++ ion3/utils/ion-runinxterm
+@@ -1,6 +1,6 @@
+ #!/bin/sh
+-test "$XTERMCMD" || XTERMCMD="xterm"
++test "$XTERMCMD" || XTERMCMD="x-terminal-emulator"
+ title=""
+ wait=""
diff --git a/debian/patches/206_use-xterm.diff b/debian/patches/206_use-xterm.diff
deleted file mode 100755 (executable)
index 1583fd3..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
---- ion3.orig/utils/ion-runinxterm
-+++ ion3/utils/ion-runinxterm
-@@ -1,6 +1,6 @@
- #!/bin/sh
--test "$XTERMCMD" || XTERMCMD="xterm"
-+test "$XTERMCMD" || XTERMCMD="x-terminal-emulator"
- title=""
- wait=""
diff --git a/debian/patches/211_add-debian-menu.diff b/debian/patches/211_add-debian-menu.diff
new file mode 100644 (file)
index 0000000..2f87b75
--- /dev/null
@@ -0,0 +1,23 @@
+--- ion3.orig/etc/cfg_ioncore.lua
++++ ion3/etc/cfg_ioncore.lua
+@@ -336,6 +336,7 @@
+     menuentry("Help",           "mod_query.query_man(_)"),
+     menuentry("About Ion",      "mod_query.show_about_ion(_)"),
+     submenu("Styles",           "stylemenu"),
++    submenu("Debian",           "Debian"),
+     submenu("Session",          "sessionmenu"),
+ })
+@@ -381,3 +381,12 @@
+ defctxmenu("WClientWin", "Client window", {
+     menuentry("Kill",           "WClientWin.kill(_)"),
+ })
++
++-- Auto-generated Debian menu definitions
++if os.execute("test -x /usr/bin/update-menus") == 0 then
++    if ioncore.is_i18n() then
++        dopath("debian-menu-i18n")
++    else
++        dopath("debian-menu")
++    end
++end
diff --git a/debian/patches/extra/debian-menu.cfg b/debian/patches/extra/debian-menu.cfg
deleted file mode 100644 (file)
index 03b5007..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-
--- Auto-generated Debian menu definitions
-if os.execute("test -x /usr/bin/update-menus") == 0 then
-    if ioncore.is_i18n() then
-        dopath("debian-menu-i18n")
-    else
-        dopath("debian-menu")
-    end
-end
index 2ad6a6eff4c25c6f6a683892301db49fbcf6483d..b4e6be904a79539b71876bacb1abe88553ba8ae5 100644 (file)
@@ -1,7 +1,6 @@
 201_build-config.diff
-202_fix-menus.diff
-204_fix-bindings.diff
 205_ion-lock.diff
-206_use-xterm.diff
+206_use-x-terminal-emulator.diff
 209_use-etc-default.diff
 210_use-cfg_debian_ext.diff
+211_add-debian-menu.diff
index ade1b180bc6add4d0c553f57e6eba77e76717446..b0a50e1a200c35a6313c68e1347c1a9cc04bbcea 100755 (executable)
@@ -141,8 +141,6 @@ binary-arch: build-arch install-arch
        install -m644 debian/ion3.menu-method.i18n \
                $(INSTDIR)/etc/menu-methods/ion3-i18n
 
-       cat $(CURDIR)/debian/patches/extra/debian-menu.cfg >> $(INSTDIR)/etc/X11/ion3/cfg_ioncore.lua
-
        dh_installdebconf -a
 #      dh_installlogrotate -a
 #      dh_installemacsen -a