summaryrefslogtreecommitdiff
path: root/recipes/gpe-package/gpe-package-0.2
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denis@denix.org>2009-03-17 14:32:59 -0400
committerDenys Dmytriyenko <denis@denix.org>2009-03-17 14:32:59 -0400
commit709c4d66e0b107ca606941b988bad717c0b45d9b (patch)
tree37ee08b1eb308f3b2b6426d5793545c38396b838 /recipes/gpe-package/gpe-package-0.2
parentfa6cd5a3b993f16c27de4ff82b42684516d433ba (diff)
rename packages/ to recipes/ per earlier agreement
See links below for more details: http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326 http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816 Signed-off-by: Denys Dmytriyenko <denis@denix.org> Acked-by: Mike Westerhof <mwester@dls.net> Acked-by: Philip Balister <philip@balister.org> Acked-by: Khem Raj <raj.khem@gmail.com> Acked-by: Marcin Juszkiewicz <hrw@openembedded.org> Acked-by: Koen Kooi <koen@openembedded.org> Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'recipes/gpe-package/gpe-package-0.2')
-rw-r--r--recipes/gpe-package/gpe-package-0.2/nostropts.patch15
-rw-r--r--recipes/gpe-package/gpe-package-0.2/use-filesel.patch51
2 files changed, 66 insertions, 0 deletions
diff --git a/recipes/gpe-package/gpe-package-0.2/nostropts.patch b/recipes/gpe-package/gpe-package-0.2/nostropts.patch
new file mode 100644
index 0000000000..907f3017ef
--- /dev/null
+++ b/recipes/gpe-package/gpe-package-0.2/nostropts.patch
@@ -0,0 +1,15 @@
+
+#
+# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
+#
+
+--- gpe-package-0.2/interface.c~nostropts 2004-10-19 18:33:19.000000000 -0400
++++ gpe-package-0.2/interface.c 2005-01-04 15:14:08.587136384 -0500
+@@ -18,7 +18,6 @@
+ #include <unistd.h>
+ #include <dirent.h>
+ #include <fcntl.h>
+-#include <stropts.h>
+ #include <poll.h>
+ #include <sys/types.h>
+ #include <sys/socket.h>
diff --git a/recipes/gpe-package/gpe-package-0.2/use-filesel.patch b/recipes/gpe-package/gpe-package-0.2/use-filesel.patch
new file mode 100644
index 0000000000..c25b9b1022
--- /dev/null
+++ b/recipes/gpe-package/gpe-package-0.2/use-filesel.patch
@@ -0,0 +1,51 @@
+diff -urNd ../gpe-package-0.2-r0/gpe-package-0.2/Makefile gpe-package-0.2/Makefile
+--- ../gpe-package-0.2-r0/gpe-package-0.2/Makefile 2004-10-20 09:37:58 +01:00
++++ gpe-package-0.2/Makefile 2004-12-24 20:57:02 +00:00
+@@ -18,7 +18,7 @@
+ BUILD = build
+ endif
+
+-MEMBERS = main interface packages filechooser feededit
++MEMBERS = main interface packages filesel feededit
+
+ ifeq ($(DEBUG),yes)
+ CFLAGS += -g -DDEBUG
+diff -urNd ../gpe-package-0.2-r0/gpe-package-0.2/filesel.c gpe-package-0.2/filesel.c
+--- ../gpe-package-0.2-r0/gpe-package-0.2/filesel.c 2003-11-28 23:50:10 +00:00
++++ gpe-package-0.2/filesel.c 2004-12-24 21:14:38 +00:00
+@@ -81,20 +81,18 @@
+ }
+
+
+-void
++/*void
+ ask_user_a_file (char *path, char *prompt,
+ void (*File_Selected) (char *filename, gpointer data),
+- void (*Cancel) (gpointer data), gpointer data)
++ void (*Cancel) (gpointer data), gpointer data)*/
++int package_choose(GtkWidget *parent, void (*File_Selected) (char *filename, gpointer data))
+ {
+ char buf[1024];
+ char *ret = getcwd (buf, 1024);
+
+- if (path) // this is a hack, we're all waiting a gtk_file_selection_change_directory().. (TODO)
+- chdir (path);
+ {
+ GtkWidget *fileselection1 =
+- gtk_file_selection_new (prompt ? prompt :
+- _("Select File"));
++ gtk_file_selection_new (_("Choose packages"));
+ GtkWidget *ok_button1 =
+ GTK_FILE_SELECTION (fileselection1)->ok_button;
+ GtkWidget *cancel_button1 =
+@@ -110,8 +108,8 @@
+ chdir (buf);
+ s->fs = fileselection1;
+ s->File_Selected = File_Selected;
+- s->Cancel = Cancel;
+- s->data = data;
++ s->Cancel = NULL;
++ s->data = NULL;
+
+ GTK_WINDOW (fileselection1)->type = GTK_WINDOW_TOPLEVEL;
+