summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--xbindkeys_config/Makefile.patch13
-rw-r--r--xbindkeys_config/PKGBUILD26
-rw-r--r--xbindkeys_config/patch-gtk236
3 files changed, 75 insertions, 0 deletions
diff --git a/xbindkeys_config/Makefile.patch b/xbindkeys_config/Makefile.patch
new file mode 100644
index 0000000..6385a55
--- /dev/null
+++ b/xbindkeys_config/Makefile.patch
@@ -0,0 +1,13 @@
+--- Makefile 2003-06-08 16:10:25.000000000 +0200
++++ Makefile.new 2009-06-05 16:16:14.000000000 +0200
+@@ -2,8 +2,8 @@
+
+ CC= gcc -O3 -Wall
+ STD= _GNU_SOURCE
+-GTK= `gtk-config --cflags --libs`
+-GTK2= `gtk-config --cflags`
++GTK= `pkg-config gtk+-2.0 --cflags --libs`
++GTK2= `pkg-config gtk+-2.0 --cflags`
+ OBJS= xbindkeys_config.o menu.o middle.o speedc.o
+ NOM= xbindkeys_config
+
diff --git a/xbindkeys_config/PKGBUILD b/xbindkeys_config/PKGBUILD
new file mode 100644
index 0000000..b0f4b3e
--- /dev/null
+++ b/xbindkeys_config/PKGBUILD
@@ -0,0 +1,26 @@
+#Maintainer: hellwoofa (at arcor dot de)
+#PKGBUILD found at http://tur.berlios.de/pkgbuild/whatah/xbindkeys_config/PKGBUILD thx!
+pkgname=xbindkeys_config
+pkgver=0.1.3
+pkgrel=3
+pkgdesc="XBindKeys_Config is an easy to use gtk2 program for configuring Xbindkeys."
+arch=(i686 x86_64)
+url="http://hocwp.free.fr/xbindkeys/xbindkeys.html"
+license=('GPL')
+depends=('xbindkeys' 'gtk2')
+source=(http://home.arcor.de/hellwoofa/$pkgname-$pkgver.tar.gz http://www.grogy.com/ports/x11/xbindkeys_config/files/patch-gtk2 Makefile.patch)
+
+build() {
+ cd $startdir/src/$pkgname-$pkgver
+ mkdir $startdir/pkg/usr/bin -p
+ patch -Np0 -i ../patch-gtk2
+ patch -Np0 -i ../Makefile.patch
+ make || return 1
+ make prefix=$startdir/pkg/usr install
+}
+md5sums=('c8983fd822e66c9f9bfbe5e99044a203'
+ '15414f9d7535eef173266c2444154501'
+ '831d245993cb9565ddc013d19ec914b1')
+sha256sums=('aa4d8f31ec28aabc19a8a6e154f2abf974c337f88be2b77f63e6450f45a443e7'
+ 'f55e1420d1f9067e8a681271e50f957488d7df935e5be14d270fd57212d23b6c'
+ '2dd2c905d84513e1b1cf040b8d34d90b48f76bebf7aa47c58092bb1973faae2a')
diff --git a/xbindkeys_config/patch-gtk2 b/xbindkeys_config/patch-gtk2
new file mode 100644
index 0000000..49ebdb2
--- /dev/null
+++ b/xbindkeys_config/patch-gtk2
@@ -0,0 +1,36 @@
+diff -udp menu.c.orig menu.c
+--- menu.c.orig Sun Apr 10 22:51:26 2005
++++ menu.c Sun Apr 10 22:58:43 2005
+@@ -296,7 +296,7 @@ void menu_manual (GtkMenuItem *menuitem,
+ text = gtk_text_new(NULL,NULL);
+
+
+- gtk_text_insert (GTK_TEXT(text), NULL, NULL, NULL,
++ gtk_text_insert (text, NULL, NULL, NULL,
+ MANUAL_TEXT, sizeof(MANUAL_TEXT)-1);
+ gtk_box_pack_start(GTK_BOX(vbox), text, TRUE, TRUE, 0);
+ gtk_widget_set_usize(text,300,250);
+diff -udp middle.c.orig middle.c
+--- middle.c.orig Sun Apr 10 22:59:11 2005
++++ middle.c Sun Apr 10 23:00:21 2005
+@@ -565,7 +565,7 @@ void view_generated_file()
+ gtk_container_add (GTK_CONTAINER(src), text);
+
+ while (fgets (line, sizeof(line), f))
+- gtk_text_insert (GTK_TEXT(text), NULL, NULL, NULL,
++ gtk_text_insert (text, NULL, NULL, NULL,
+ line, strlen(line));
+
+ gtk_container_add(GTK_CONTAINER(window),src);
+Binary files work.orig/xbindkeys_config-0.1.3/xbindkeys_config and work/xbindkeys_config-0.1.3/xbindkeys_config differ
+diff -udp xbindkeys_config.c.orig xbindkeys_config.c
+--- xbindkeys_config.c.orig Sun Apr 10 22:49:47 2005
++++ xbindkeys_config.c Sun Apr 10 22:50:56 2005
+@@ -95,7 +95,6 @@ int main (int argc, char *argv[])
+ accel_group = gtk_accel_group_new();
+ menu=xbindkeys_config_menu(accel_group);
+ gtk_box_pack_start(GTK_BOX(vbox),menu,FALSE,FALSE,0);
+- gtk_accel_group_attach(accel_group, GTK_OBJECT(window));
+
+ middle= xbindkeys_config_middle();
+ gtk_box_pack_start(GTK_BOX(vbox),middle,TRUE,TRUE,0);