diff options
Diffstat (limited to 'gpe-package/gpe-package-0.0.10')
-rw-r--r-- | gpe-package/gpe-package-0.0.10/fix_interface_c.patch | 14 | ||||
-rw-r--r-- | gpe-package/gpe-package-0.0.10/fix_makefile.patch | 37 |
2 files changed, 51 insertions, 0 deletions
diff --git a/gpe-package/gpe-package-0.0.10/fix_interface_c.patch b/gpe-package/gpe-package-0.0.10/fix_interface_c.patch index e69de29bb2..56764a646a 100644 --- a/gpe-package/gpe-package-0.0.10/fix_interface_c.patch +++ b/gpe-package/gpe-package-0.0.10/fix_interface_c.patch @@ -0,0 +1,14 @@ +diff -urNd ../gpe-package-0.0.9-1-r0/gpe-package-0.0.9-1/interface.c gpe-package-0.0.9-1/interface.c +--- ../gpe-package-0.0.9-1-r0/gpe-package-0.0.9-1/interface.c 2004-03-12 12:00:46.000000000 +0000 ++++ gpe-package-0.0.9-1/interface.c 2004-07-27 14:40:06.000000000 +0100 +@@ -61,8 +61,8 @@ + #define TREE_SHOW_INST 0x01 + #define TREE_SHOW_NOTINST 0x02 + +-#define HELPMESSAGE "GPE-Package\nVersion " VERSION \ +- "\nGPE frontend for ipkg\n\nflorian@handhelds.org" ++#define HELPMESSAGE "GPE-Package\nVersion " ++#define VERSION "\nGPE frontend for ipkg\n\nflorian@handhelds.org" + + #define NOHELPMESSAGE N_("Displaying help failed.") + diff --git a/gpe-package/gpe-package-0.0.10/fix_makefile.patch b/gpe-package/gpe-package-0.0.10/fix_makefile.patch index e69de29bb2..73ae52867c 100644 --- a/gpe-package/gpe-package-0.0.10/fix_makefile.patch +++ b/gpe-package/gpe-package-0.0.10/fix_makefile.patch @@ -0,0 +1,37 @@ +diff -urNd ../gpe-package-0.0.10-r0/gpe-package-0.0.10/Makefile gpe-package-0.0.10/Makefile +--- ../gpe-package-0.0.10-r0/gpe-package-0.0.10/Makefile 2004-07-29 14:44:24.000000000 +0100 ++++ gpe-package-0.0.10/Makefile 2004-08-03 14:02:56.000000000 +0100 +@@ -3,7 +3,6 @@ + CVSBUILD = no + DEBUG = no + INSTALL = install +-STRIP = strip + PREFIX = /usr/local + DESTDIR = / + +@@ -28,13 +27,13 @@ + + PACKAGE_CFLAGS += -DVERSION=\"$(VERSION)\" -DPREFIX=\"$(PREFIX)\" -D_GNU_SOURCE + PACKAGE_CFLAGS += -DPACKAGE=\"$(PACKAGE)\" -DPACKAGE_LOCALE_DIR=\"$(PREFIX)/share/locale\" +-PACKAGE_CFLAGS += -DIPKG_LIB -I/skiff/local/arm-linux/include/libipkg ++PACKAGE_CFLAGS += -DIPKG_LIB -I$(STAGING_INCDIR)/libipkg + + GTKCFLAGS = `pkg-config --cflags gtk+-2.0 gdk-pixbuf-2.0 libipkg` + GTKLDFLAGS = `pkg-config --libs gtk+-2.0 gdk-2.0 gdk-pixbuf-2.0 libipkg` + + PACKAGE_CFLAGS += $(GPECFLAGS) $(GTKCFLAGS) $(STANDARD_CFLAGS) +-PACKAGE_LDFLAGS += $(GPELIBS) $(GTKLDFLAGS) $(STANDARD_LDFLAGS) ++PACKAGE_LDFLAGS += $(GPELIBS) $(GTKLDFLAGS) $(STANDARD_LDFLAGS) -lipkg + + OBJS = $(patsubst %,%.o,$(MEMBERS)) + DEPS = $(patsubst %,%.d,$(MEMBERS)) +@@ -53,8 +52,7 @@ + sed -e s/VERSION/$(VERSION)/ < familiar/control > $(DESTDIR)/CONTROL/control + mkdir -p $(DESTDIR)/etc/gpe + mkdir -p $(DESTDIR)/$(PREFIX)/bin +- $(INSTALL) $(PACKAGE) $(DESTDIR)$(PREFIX)/bin/$(PACKAGE) +- $(STRIP) $(DESTDIR)$(PREFIX)/bin/$(PACKAGE) ++ $(INSTALL) -s $(PACKAGE) $(DESTDIR)$(PREFIX)/bin/$(PACKAGE) + mkdir -p $(DESTDIR)$(PREFIX)/share/pixmaps + for i in $(PIXMAPS); do install -m 644 -D pixmaps/$$i $(DESTDIR)$(PREFIX)/share/pixmaps/$$i; done + mkdir -p $(DESTDIR)$(PREFIX)/share/applications |