x11/fbxkb 0.6 (NEW)
authoryselkowitz <yselkowitz@e127d73d-b18e-4ae1-a744-a22e6a3ccd30>
Mon, 31 May 2010 05:37:28 +0000 (05:37 +0000)
committeryselkowitz <yselkowitz@e127d73d-b18e-4ae1-a744-a22e6a3ccd30>
Mon, 31 May 2010 05:37:28 +0000 (05:37 +0000)
git-svn-id: https://cygwin-ports.svn.sourceforge.net/svnroot/cygwin-ports/ports/trunk@9544 e127d73d-b18e-4ae1-a744-a22e6a3ccd30

0.6-as-needed.patch [new file with mode: 0644]
0.6-group0-defined.patch [new file with mode: 0644]
fbxkb-0.6-1.cygport [new file with mode: 0644]
setup.hint [new file with mode: 0644]

diff --git a/0.6-as-needed.patch b/0.6-as-needed.patch
new file mode 100644 (file)
index 0000000..509e5b4
--- /dev/null
@@ -0,0 +1,11 @@
+--- origsrc/fbxkb-0.6/Makefile 2006-12-17 08:30:52.000000000 -0600
++++ src/fbxkb-0.6/Makefile     2010-05-30 16:31:21.812308400 -0500
+@@ -30,7 +30,7 @@ endif
+ TARGET = fbxkb
+ $(TARGET): $(OBJ) 
+-      $(CC) $(LDFLAGS) $(LIBS) $(OBJ) -o $@
++      $(CC) $(LDFLAGS) $(OBJ) $(LIBS) -o $@
+ ifeq (,$(DEVEL))
+       strip $@
+ endif
diff --git a/0.6-group0-defined.patch b/0.6-group0-defined.patch
new file mode 100644 (file)
index 0000000..38c85a3
--- /dev/null
@@ -0,0 +1,15 @@
+--- origsrc/fbxkb-0.6/fbxkb.c  2006-12-18 15:47:52.000000000 -0600
++++ src/fbxkb-0.6/fbxkb.c      2010-05-30 16:37:51.937622300 -0500
+@@ -378,10 +378,11 @@ read_kbd_description()
+             g_assert((no >= 0) && (no < ngroups));
+             if (group2info[no].sym != NULL) {
+                 ERR("xkb group #%d is already defined\n", no);
+-            }
++            } else {
+             group2info[no].sym = g_strdup(tok);
+             group2info[no].flag = sym2flag(tok);
+             group2info[no].name = XGetAtomName(dpy, kbd_desc_ptr->names->groups[no]);           
++            }
+         }
+         XFree(sym_name);
+     }
diff --git a/fbxkb-0.6-1.cygport b/fbxkb-0.6-1.cygport
new file mode 100644 (file)
index 0000000..c8cbb4b
--- /dev/null
@@ -0,0 +1,20 @@
+DESCRIPTION="XKB layout indicator and switcher"
+HOMEPAGE="http://fbxkb.sourceforge.net/"
+SRC_URI="mirror://sourceforge/fbxkb/${P}.tgz"
+
+PATCH_URI="
+       0.6-as-needed.patch
+       0.6-group0-defined.patch
+"
+
+src_compile() {
+       lndirs
+       cd ${B}
+       ./configure --prefix=/usr
+       cygmake
+}
+
+src_install() {
+       cd ${B}
+       cyginstall PREFIX=${D}/usr
+}
diff --git a/setup.hint b/setup.hint
new file mode 100644 (file)
index 0000000..c756bac
--- /dev/null
@@ -0,0 +1,6 @@
+category: X11
+requires: libgcc1 libgdk_pixbuf2.0_0 libglib2.0_0 libgtk2.0_0 libX11_6
+sdesc: "XKB layout indicator and switcher"
+ldesc: "fbxkb is NETWM compliant keyboard indicator and switcher. It 
+shows a flag of current keyboard in a systray area and allows you to 
+switch to another one."
This page took 0.022596 seconds and 5 git commands to generate.