summaryrefslogtreecommitdiffstats
path: root/extra
diff options
context:
space:
mode:
authorgeantbrun <geantbrun at gmail dot fr>2010-07-29 16:21:19 +0200
committergeantbrun <geantbrun at gmail dot fr>2010-07-29 16:21:19 +0200
commit2574007391f8ed0d5c39ee236ec41e9cc39d0b46 (patch)
treebb3986da97a336d800a0defaf268370633195e23 /extra
parent2bb61291fb80422edaac28b49bff8a7d9c88dd00 (diff)
downloadnutyx-extra-2574007391f8ed0d5c39ee236ec41e9cc39d0b46.tar.gz
nutyx-extra-2574007391f8ed0d5c39ee236ec41e9cc39d0b46.tar.bz2
nutyx-extra-2574007391f8ed0d5c39ee236ec41e9cc39d0b46.tar.xz
nutyx-extra-2574007391f8ed0d5c39ee236ec41e9cc39d0b46.zip
Ajout de gtkdialog#0.7.20-2.pkg.tar.gz
Diffstat (limited to 'extra')
-rw-r--r--extra/gtkdialog/.footprint3
-rw-r--r--extra/gtkdialog/.md5sum2
-rw-r--r--extra/gtkdialog/Pkgfile21
-rw-r--r--extra/gtkdialog/gtkdialog_0.7.20_glade.patch42
4 files changed, 68 insertions, 0 deletions
diff --git a/extra/gtkdialog/.footprint b/extra/gtkdialog/.footprint
new file mode 100644
index 000000000..763a92406
--- /dev/null
+++ b/extra/gtkdialog/.footprint
@@ -0,0 +1,3 @@
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/bin/
+-rwxr-xr-x root/root usr/bin/gtkdialog
diff --git a/extra/gtkdialog/.md5sum b/extra/gtkdialog/.md5sum
new file mode 100644
index 000000000..d1e1bcb07
--- /dev/null
+++ b/extra/gtkdialog/.md5sum
@@ -0,0 +1,2 @@
+597103b3ec575dd7af9e84931a62c532 gtkdialog-0.7.20.tar.gz
+9b520274e22e4e6f18fbaafe339d24de gtkdialog_0.7.20_glade.patch
diff --git a/extra/gtkdialog/Pkgfile b/extra/gtkdialog/Pkgfile
new file mode 100644
index 000000000..1a494df62
--- /dev/null
+++ b/extra/gtkdialog/Pkgfile
@@ -0,0 +1,21 @@
+# Description: outils pour GUI
+# URL: http://linux.pte.hu/~pipas/gtkdialog/
+# Maintainer: NuTyX core team
+# Packager: geantbrun at gmail dot com
+# Depends on: gtk
+
+name=gtkdialog
+version=0.7.20
+release=2
+source=(ftp://linux.pte.hu/pub/gtkdialog/$name-$version.tar.gz \
+ gtkdialog_0.7.20_glade.patch)
+
+build() {
+ cd $name-$version
+ patch -p1 < $SRC/gtkdialog_0.7.20_glade.patch
+ ./configure --prefix=/usr \
+ --disable-nls
+ make
+ make prefix=$PKG/usr install
+ rm -r $PKG/usr/info
+}
diff --git a/extra/gtkdialog/gtkdialog_0.7.20_glade.patch b/extra/gtkdialog/gtkdialog_0.7.20_glade.patch
new file mode 100644
index 000000000..8a2b585a5
--- /dev/null
+++ b/extra/gtkdialog/gtkdialog_0.7.20_glade.patch
@@ -0,0 +1,42 @@
+--- gtkdialog-0.7.20/src/glade_support.c 2007-03-16 14:25:49.000000000 +0000
++++ gtkdialog-0.7.20/src/glade_support.c.new 2009-05-17 19:11:59.993997605 +0100
+@@ -37,10 +37,10 @@
+ * *
+ * *
+ *************************************************************************/
+-typedef struct signal {
++typedef struct _signal {
+ gchar *name;
+ GCallback callback;
+-} signal;
++} _signal;
+
+ /*
+ ** Signal handler callbascks.
+@@ -206,7 +206,7 @@
+ static gboolean
+ find_and_connect_handler(
+ GtkWidget *widget,
+- signal *signals,
++ _signal *signals,
+ const gchar *signal_name,
+ const gchar *handler_name)
+ {
+@@ -288,7 +288,7 @@
+ gpointer user_data)
+ {
+ gint n;
+- signal entry_signals[] = {
++ _signal entry_signals[] = {
+ { "activate", (GCallback)on_any_entry_almost_any },
+ { "backspace", (GCallback)on_any_entry_almost_any },
+ { "copy-clipboard", (GCallback)on_any_entry_almost_any },
+@@ -319,7 +319,7 @@
+ gpointer user_data)
+ {
+ variable *var;
+- signal widget_signals[] = {
++ _signal widget_signals[] = {
+ { "accel-closures-changed", (GCallback)on_any_widget_almost_any },
+ { "composited-changed", (GCallback)on_any_widget_almost_any },
+ { "grab-focus", (GCallback)on_any_widget_almost_any },