[111731] trunk/dports/x11/awesome

ryandesign at macports.org ryandesign at macports.org
Mon Sep 30 03:45:15 PDT 2013


Revision: 111731
          https://trac.macports.org/changeset/111731
Author:   ryandesign at macports.org
Date:     2013-09-30 03:45:14 -0700 (Mon, 30 Sep 2013)
Log Message:
-----------
awesome: fix number key bindings (#27976); add gdk-pixbuf2 dependency

Modified Paths:
--------------
    trunk/dports/x11/awesome/Portfile

Added Paths:
-----------
    trunk/dports/x11/awesome/files/patch-awesomerc.lua.in.diff

Modified: trunk/dports/x11/awesome/Portfile
===================================================================
--- trunk/dports/x11/awesome/Portfile	2013-09-30 10:32:17 UTC (rev 111730)
+++ trunk/dports/x11/awesome/Portfile	2013-09-30 10:45:14 UTC (rev 111731)
@@ -6,6 +6,7 @@
 
 name                awesome
 version             3.5.1
+revision            1
 categories          x11 x11-wm
 platforms           darwin
 maintainers         nomaintainer
@@ -37,6 +38,7 @@
                     port:pkgconfig
 
 depends_lib         path:bin/dbus-daemon:dbus \
+                    port:gdk-pixbuf2 \
                     port:lua \
                     port:lua-lgi \
                     path:lib/pkgconfig/glib-2.0.pc:glib2 \
@@ -67,7 +69,8 @@
                     -DXDG_CONFIG_HOME=${prefix}/etc/xdg"
 
 patchfiles          patch-CMakeLists.txt.diff \
-                    patch-Makefile.diff
+                    patch-Makefile.diff \
+                    patch-awesomerc.lua.in.diff
 
 use_configure       no
 

Added: trunk/dports/x11/awesome/files/patch-awesomerc.lua.in.diff
===================================================================
--- trunk/dports/x11/awesome/files/patch-awesomerc.lua.in.diff	                        (rev 0)
+++ trunk/dports/x11/awesome/files/patch-awesomerc.lua.in.diff	2013-09-30 10:45:14 UTC (rev 111731)
@@ -0,0 +1,37 @@
+--- awesomerc.lua.in.orig	2013-04-01 06:44:46.000000000 -0500
++++ awesomerc.lua.in	2013-09-30 05:39:20.000000000 -0500
+@@ -297,7 +297,7 @@
+ -- This should map on the top row of your keyboard, usually 1 to 9.
+ for i = 1, 9 do
+     globalkeys = awful.util.table.join(globalkeys,
+-        awful.key({ modkey }, "#" .. i + 9,
++        awful.key({ modkey }, "" .. i,
+                   function ()
+                         local screen = mouse.screen
+                         local tag = awful.tag.gettags(screen)[i]
+@@ -305,7 +305,7 @@
+                            awful.tag.viewonly(tag)
+                         end
+                   end),
+-        awful.key({ modkey, "Control" }, "#" .. i + 9,
++        awful.key({ modkey, "Control" }, "" .. i,
+                   function ()
+                       local screen = mouse.screen
+                       local tag = awful.tag.gettags(screen)[i]
+@@ -313,14 +313,14 @@
+                          awful.tag.viewtoggle(tag)
+                       end
+                   end),
+-        awful.key({ modkey, "Shift" }, "#" .. i + 9,
++        awful.key({ modkey, "Shift" }, "" .. i,
+                   function ()
+                       local tag = awful.tag.gettags(client.focus.screen)[i]
+                       if client.focus and tag then
+                           awful.client.movetotag(tag)
+                      end
+                   end),
+-        awful.key({ modkey, "Control", "Shift" }, "#" .. i + 9,
++        awful.key({ modkey, "Control", "Shift" }, "" .. i,
+                   function ()
+                       local tag = awful.tag.gettags(client.focus.screen)[i]
+                       if client.focus and tag then
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130930/3b8808a7/attachment.html>


More information about the macports-changes mailing list