summaryrefslogtreecommitdiff
path: root/x11/rep-gtk2
diff options
context:
space:
mode:
authortnn <tnn@pkgsrc.org>2007-05-09 10:01:28 +0000
committertnn <tnn@pkgsrc.org>2007-05-09 10:01:28 +0000
commite7eeb2a38274a7d9b1220bef16d57c2c875e6893 (patch)
tree3e65feb4175548ad7df10b8602bf3c406ab500ef /x11/rep-gtk2
parenta996085053f7939cfaa81038c518bb0cb5db9835 (diff)
downloadpkgsrc-e7eeb2a38274a7d9b1220bef16d57c2c875e6893.tar.gz
Add rep-gtk2-0.18. Provides librep bindings for gtk2 (used by wm/sawfish)
Diffstat (limited to 'x11/rep-gtk2')
-rw-r--r--x11/rep-gtk2/DESCR1
-rw-r--r--x11/rep-gtk2/Makefile21
-rw-r--r--x11/rep-gtk2/PLIST6
-rw-r--r--x11/rep-gtk2/distinfo7
-rw-r--r--x11/rep-gtk2/patches/patch-aa17
-rw-r--r--x11/rep-gtk2/patches/patch-ab22
6 files changed, 74 insertions, 0 deletions
diff --git a/x11/rep-gtk2/DESCR b/x11/rep-gtk2/DESCR
new file mode 100644
index 00000000000..0e487534769
--- /dev/null
+++ b/x11/rep-gtk2/DESCR
@@ -0,0 +1 @@
+librep bindings for gtk2 (used by wm/sawfish)
diff --git a/x11/rep-gtk2/Makefile b/x11/rep-gtk2/Makefile
new file mode 100644
index 00000000000..e02cfc7e7d2
--- /dev/null
+++ b/x11/rep-gtk2/Makefile
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1.1.1 2007/05/09 10:01:28 tnn Exp $
+
+DISTNAME= rep-gtk-0.18
+PKGNAME= rep-gtk2-0.18
+CATEGORIES= x11 lang
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=rep-gtk/}
+
+MAINTAINER= tnn@NetBSD.org
+HOMEPAGE= http://rep-gtk.sourceforge.net/
+COMMENT= librep bindings for gtk2 (used by wm/sawfish)
+
+CONFLICTS= rep-gtk-[0-9]*
+
+USE_LIBTOOL= yes
+GNU_CONFIGURE= yes
+USE_TOOLS+= gmake
+
+.include "../../devel/libglade2/buildlink3.mk"
+.include "../../lang/librep/buildlink3.mk"
+.include "../../x11/gtk2/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/x11/rep-gtk2/PLIST b/x11/rep-gtk2/PLIST
new file mode 100644
index 00000000000..fabf1ef7922
--- /dev/null
+++ b/x11/rep-gtk2/PLIST
@@ -0,0 +1,6 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2007/05/09 10:01:28 tnn Exp $
+libexec/rep/${MACHINE_GNU_PLATFORM}/gui/gtk-2/gtk.la
+libexec/rep/${MACHINE_GNU_PLATFORM}/gui/gtk-2/libglade.la
+libexec/rep/${MACHINE_GNU_PLATFORM}/gui/gtk-2/types.la
+@dirrm libexec/rep/${MACHINE_GNU_PLATFORM}/gui/gtk-2
+@dirrm libexec/rep/${MACHINE_GNU_PLATFORM}/gui
diff --git a/x11/rep-gtk2/distinfo b/x11/rep-gtk2/distinfo
new file mode 100644
index 00000000000..6d8895418b7
--- /dev/null
+++ b/x11/rep-gtk2/distinfo
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1.1.1 2007/05/09 10:01:28 tnn Exp $
+
+SHA1 (rep-gtk-0.18.tar.gz) = 9410c348bd0736a86063c6b0a46c2d7f9b0a8f4a
+RMD160 (rep-gtk-0.18.tar.gz) = b6bd4210a26b2464b73295fb7009e7a75b5c1c8b
+Size (rep-gtk-0.18.tar.gz) = 147665 bytes
+SHA1 (patch-aa) = 48f44d05447b4a7934ff13a8b1c805f183abf274
+SHA1 (patch-ab) = cc831a1393bc95b3cdeb261d5063650866d7a4cc
diff --git a/x11/rep-gtk2/patches/patch-aa b/x11/rep-gtk2/patches/patch-aa
new file mode 100644
index 00000000000..b20b8a76726
--- /dev/null
+++ b/x11/rep-gtk2/patches/patch-aa
@@ -0,0 +1,17 @@
+$NetBSD: patch-aa,v 1.1.1.1 2007/05/09 10:01:28 tnn Exp $
+
+--- rep-gtk.h.orig 2004-09-02 19:40:23.000000000 +0200
++++ rep-gtk.h
+@@ -291,10 +291,10 @@ void gtk_menu_popup_interp (GtkMenu *men
+
+ GtkWidget*
+ gtk_radio_menu_item_new_with_label_from_widget (GtkRadioMenuItem *group,
+- gchar *label);
++ const gchar *label);
+ GtkWidget*
+ gtk_radio_menu_item_new_with_mnemonic_from_widget (GtkRadioMenuItem *group,
+- gchar *label);
++ const gchar *label);
+ GtkWidget* gtk_radio_menu_item_new_from_widget (GtkRadioMenuItem *group);
+ GtkWidget* gtk_pixmap_new_interp (char *file, GtkWidget *intended_parent);
+
diff --git a/x11/rep-gtk2/patches/patch-ab b/x11/rep-gtk2/patches/patch-ab
new file mode 100644
index 00000000000..6fa334e90b9
--- /dev/null
+++ b/x11/rep-gtk2/patches/patch-ab
@@ -0,0 +1,22 @@
+$NetBSD: patch-ab,v 1.1.1.1 2007/05/09 10:01:28 tnn Exp $
+
+--- gtk-compat.c.orig 2004-09-02 19:43:49.000000000 +0200
++++ gtk-compat.c
+@@ -64,7 +64,7 @@ gtk_menu_popup_interp (GtkMenu *menu,
+
+ GtkWidget*
+ gtk_radio_menu_item_new_with_label_from_widget (GtkRadioMenuItem *group,
+- gchar *label)
++ const gchar *label)
+ {
+ GSList *g = group? gtk_radio_menu_item_group (group) : NULL;
+ return gtk_radio_menu_item_new_with_label (g, label);
+@@ -72,7 +72,7 @@ gtk_radio_menu_item_new_with_label_from_
+
+ GtkWidget*
+ gtk_radio_menu_item_new_with_mnemonic_from_widget (GtkRadioMenuItem *group,
+- gchar *label)
++ const gchar *label)
+ {
+ GSList *g = group? gtk_radio_menu_item_group (group) : NULL;
+ return gtk_radio_menu_item_new_with_mnemonic (g, label);