From 709c4d66e0b107ca606941b988bad717c0b45d9b Mon Sep 17 00:00:00 2001 From: Denys Dmytriyenko Date: Tue, 17 Mar 2009 14:32:59 -0400 Subject: 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 Acked-by: Mike Westerhof Acked-by: Philip Balister Acked-by: Khem Raj Acked-by: Marcin Juszkiewicz Acked-by: Koen Kooi Acked-by: Frans Meulenbroeks --- recipes/gpe-conf/gpe-conf-0.2.4/scriptname.patch | 13 ++ .../gpe-conf/gpe-conf-0.2.5/backlight-bugfix.patch | 11 ++ recipes/gpe-conf/gpe-conf-0.2.5/wireless.patch | 16 ++ recipes/gpe-conf/gpe-conf-0.2.7/poweroff.patch | 11 ++ recipes/gpe-conf/gpe-conf-0.2.7/wifi-key.patch | 166 +++++++++++++++++++++ recipes/gpe-conf/gpe-conf_0.2.3.bb | 21 +++ recipes/gpe-conf/gpe-conf_0.2.4.bb | 25 ++++ recipes/gpe-conf/gpe-conf_0.2.5.bb | 27 ++++ recipes/gpe-conf/gpe-conf_0.2.6.bb | 25 ++++ recipes/gpe-conf/gpe-conf_0.2.7.bb | 28 ++++ recipes/gpe-conf/gpe-conf_0.2.8.bb | 23 +++ recipes/gpe-conf/gpe-conf_svn.bb | 27 ++++ 12 files changed, 393 insertions(+) create mode 100644 recipes/gpe-conf/gpe-conf-0.2.4/scriptname.patch create mode 100644 recipes/gpe-conf/gpe-conf-0.2.5/backlight-bugfix.patch create mode 100644 recipes/gpe-conf/gpe-conf-0.2.5/wireless.patch create mode 100644 recipes/gpe-conf/gpe-conf-0.2.7/poweroff.patch create mode 100644 recipes/gpe-conf/gpe-conf-0.2.7/wifi-key.patch create mode 100644 recipes/gpe-conf/gpe-conf_0.2.3.bb create mode 100644 recipes/gpe-conf/gpe-conf_0.2.4.bb create mode 100644 recipes/gpe-conf/gpe-conf_0.2.5.bb create mode 100644 recipes/gpe-conf/gpe-conf_0.2.6.bb create mode 100644 recipes/gpe-conf/gpe-conf_0.2.7.bb create mode 100644 recipes/gpe-conf/gpe-conf_0.2.8.bb create mode 100644 recipes/gpe-conf/gpe-conf_svn.bb (limited to 'recipes/gpe-conf') diff --git a/recipes/gpe-conf/gpe-conf-0.2.4/scriptname.patch b/recipes/gpe-conf/gpe-conf-0.2.4/scriptname.patch new file mode 100644 index 0000000000..e66d509c9f --- /dev/null +++ b/recipes/gpe-conf/gpe-conf-0.2.4/scriptname.patch @@ -0,0 +1,13 @@ +Index: Makefile.am +=================================================================== +--- Makefile.am (revision 9037) ++++ Makefile.am (working copy) +@@ -178,7 +178,7 @@ + + install-data-hook: + chmod u+s $(DESTDIR)$(bindir)/gpe-conf +- cd $(DESTDIR)/$(xscriptsdir) && mv soundsettings.sh S30soundsettings ++ cd $(DESTDIR)/$(xscriptsdir) && mv soundsettings.sh 30soundsettings + + deb: dist + -mkdir $(top_builddir)/debian-build diff --git a/recipes/gpe-conf/gpe-conf-0.2.5/backlight-bugfix.patch b/recipes/gpe-conf/gpe-conf-0.2.5/backlight-bugfix.patch new file mode 100644 index 0000000000..7a953c25ec --- /dev/null +++ b/recipes/gpe-conf/gpe-conf-0.2.5/backlight-bugfix.patch @@ -0,0 +1,11 @@ +--- gpe-conf-0.2.5/modules/screen/brightness.c~brightness ++++ gpe-conf-0.2.5/modules/screen/brightness.c +@@ -216,7 +216,7 @@ + FILE *f_power; + gint value = SYS_STATE_ON; + +- f_power = fopen(SYS_BRIGHTNESS, "r"); ++ f_power = fopen(SYS_POWER, "r"); + if (f_power != NULL) + { + fscanf(f_power,"%i", &value); diff --git a/recipes/gpe-conf/gpe-conf-0.2.5/wireless.patch b/recipes/gpe-conf/gpe-conf-0.2.5/wireless.patch new file mode 100644 index 0000000000..4e52f8b092 --- /dev/null +++ b/recipes/gpe-conf/gpe-conf-0.2.5/wireless.patch @@ -0,0 +1,16 @@ + +# +# Patch managed by http://www.holgerschurig.de/patcher.html +# + +--- gpe-conf-0.2.5/modules/sysinfo.c~wireless ++++ gpe-conf-0.2.5/modules/sysinfo.c +@@ -28,6 +28,8 @@ + #include + + #include ++#include ++#include + #include + #include + diff --git a/recipes/gpe-conf/gpe-conf-0.2.7/poweroff.patch b/recipes/gpe-conf/gpe-conf-0.2.7/poweroff.patch new file mode 100644 index 0000000000..2255886968 --- /dev/null +++ b/recipes/gpe-conf/gpe-conf-0.2.7/poweroff.patch @@ -0,0 +1,11 @@ +--- gpe-conf/suid.c~ 2008-06-05 12:41:26.000000000 +0200 ++++ gpe-conf/suid.c 2008-06-05 12:41:26.000000000 +0200 +@@ -454,7 +454,7 @@ + else if (strcmp (cmd, "SHDN") == 0) // shutdown device + { + fscanf (in, "%100s", arg2); +- system ("poweroff"); ++ system ("/sbin/poweroff"); + } + else if (strcmp (cmd, "MODP") == 0) /* modprobe kernel module */ + { diff --git a/recipes/gpe-conf/gpe-conf-0.2.7/wifi-key.patch b/recipes/gpe-conf/gpe-conf-0.2.7/wifi-key.patch new file mode 100644 index 0000000000..f05c04cb45 --- /dev/null +++ b/recipes/gpe-conf/gpe-conf-0.2.7/wifi-key.patch @@ -0,0 +1,166 @@ +--- + ChangeLog | 4 ++++ + modules/cfgfile.c | 49 +++++++++++++++++++++++++++++-------------------- + 2 files changed, 33 insertions(+), 20 deletions(-) + +--- ChangeLog.orig ++++ ChangeLog +@@ -1,5 +1,9 @@ ++2008-12-18 Florian Boor ++ ++ * cfgfile.c: Some fixes to wifi key string generation. ++ + 2008-05-23 Florian Boor + + * Relase version 0.2.7 + * Update translations + +--- modules/cfgfile.c.orig ++++ modules/cfgfile.c +@@ -1,8 +1,8 @@ + /* + * +- * Copyright (C) 2002, 2003 Florian Boor ++ * Copyright (C) 2002, 2003, 2008 Florian Boor + * 2004 Ole Reinhardt + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version +@@ -128,12 +128,10 @@ gint get_param_val(gchar* line, gchar* p + for (b=a+1;b 0) value=strncpy(value,&line[a],b-a); + if ((b-a) > 0) value=strncpy(value,&line[a],b-a); + value[b-a]='\0'; + return 0; + } + +@@ -562,15 +560,17 @@ gchar *get_iflist() + strncat(result," ",255); + } + return result; + } + +-void get_wifikey_string(NWInterface_t iface, char* key) ++void get_wifikey_string(NWInterface_t iface, gchar** key) + { + gint nokeys = FALSE; + gint count; + gchar temp[42]; ++ gchar *lkey = g_strdup(""), *t; ++ + + if ((strlen(iface.key[0]) == 0) && + (strlen(iface.key[1]) == 0) && + (strlen(iface.key[2]) == 0) && + (strlen(iface.key[3]) == 0)) +@@ -581,29 +581,36 @@ void get_wifikey_string(NWInterface_t if + + if (strlen(iface.key[iface.keynr-1]) == 0) + for (iface.keynr = 1; iface.keynr <=4; iface.keynr++) + if (strlen(iface.key[iface.keynr-1]) != 0) break; + +- switch (iface.encmode) +- { +- case ENC_OFF: strcpy(key, "off"); break; +- case ENC_OPEN: strcpy(key, "open"); break; +- case ENC_RESTRICTED: strcpy(key, "restricted"); break; +- } +- + if (!nokeys) + { + for (count = 0; count < 4; count++) + if (strlen(iface.key[count]) > 0) + { +- sprintf(temp, " key %s [%d]", iface.key[count], count+1); +- strcat(key, temp); ++ t = lkey; ++ lkey = g_strdup_printf("%s key %s [%d]", lkey, iface.key[count], count+1); ++ g_free(t); + } + +- sprintf(temp, " key [%d]", iface.keynr); +- strcat(key, temp); ++ t = lkey; ++ lkey = g_strdup_printf(" %s key [%d]", lkey, iface.keynr); ++ g_free(t); + } ++ ++ t = lkey; ++ switch (iface.encmode) ++ { ++ case ENC_OPEN: lkey = g_strdup_printf ("%s key open", lkey); break; ++ case ENC_RESTRICTED: lkey = g_strdup_printf("%s key restricted", lkey); break; ++ case ENC_OFF: lkey = g_strdup_printf("%s key off", lkey); break; ++ default: lkey = g_strdup_printf("%s key off", lkey); break; ++ } ++ g_free(t); ++ ++ *key = lkey; + } + + gint write_sections() + { + gint i,j; +@@ -613,11 +620,11 @@ gint write_sections() + gchar paramval[255]; + gchar ifname[255]; + gint svd[14]; + gint lastwpos = 0; + gint last_i; +- gchar key[128]; ++ gchar *key; + + for (i=0;i 0) + { + sprintf(outstr,"\twireless_channel %s",iflist[i].channel); + add_line(configlen,outstr); + } +- get_wifikey_string(iflist[i], key); +- sprintf(outstr,"\twireless_key %s",key); ++ get_wifikey_string(iflist[i], &key); ++ sprintf(outstr,"\twireless_key %s",key); ++ g_free(key); + add_line(configlen,outstr); + } + + } //if status + diff --git a/recipes/gpe-conf/gpe-conf_0.2.3.bb b/recipes/gpe-conf/gpe-conf_0.2.3.bb new file mode 100644 index 0000000000..0cb645c5d4 --- /dev/null +++ b/recipes/gpe-conf/gpe-conf_0.2.3.bb @@ -0,0 +1,21 @@ +DESCRIPTION = "Configuration applets for GPE" +SECTION = "gpe" +PRIORITY = "optional" +LICENSE = "GPL" + +DEPENDS = "gtk+ esound audiofile libgpewidget libxsettings libxsettings-client" +RDEPENDS_${PN} = "xst xset ipaq-sleep ntpdate gpe-login gpe-icons tzdata" +RDEPENDS_gpe-conf-panel = "gpe-conf" + +PR = "r1" + +GPE_TARBALL_SUFFIX = "bz2" + +inherit gpe autotools pkgconfig + +PACKAGES += "gpe-conf-panel" + +FILES_${PN} = "${sysconfdir} ${bindir} ${datadir}/pixmaps \ + ${datadir}/applications/gpe-conf-* ${datadir}/gpe/pixmaps \ + ${datadir}/gpe-conf" +FILES_gpe-conf-panel = "${datadir}/applications/gpe-conf.desktop" diff --git a/recipes/gpe-conf/gpe-conf_0.2.4.bb b/recipes/gpe-conf/gpe-conf_0.2.4.bb new file mode 100644 index 0000000000..15a5bce0f3 --- /dev/null +++ b/recipes/gpe-conf/gpe-conf_0.2.4.bb @@ -0,0 +1,25 @@ +DESCRIPTION = "Configuration applets for GPE" +SECTION = "gpe" +PRIORITY = "optional" +LICENSE = "GPL" + +DEPENDS = "gtk+ esound audiofile libgpewidget libxsettings libxsettings-client libxrandr" +RDEPENDS_${PN} = "xst xset ntpdate gpe-login gpe-icons tzdata xrandr" +RDEPENDS_gpe-conf-panel = "gpe-conf" + +PR = "r2" + +GPE_TARBALL_SUFFIX = "bz2" + +inherit gpe autotools pkgconfig + +SRC_URI += "file://scriptname.patch;patch=1;pnum=0" + +PACKAGES += "gpe-conf-panel" + +FILES_${PN} = "${sysconfdir} ${bindir} ${datadir}/pixmaps \ + ${datadir}/applications/gpe-conf-* ${datadir}/gpe/pixmaps \ + ${datadir}/gpe-conf" +FILES_gpe-conf-panel = "${datadir}/applications/gpe-conf.desktop" + + diff --git a/recipes/gpe-conf/gpe-conf_0.2.5.bb b/recipes/gpe-conf/gpe-conf_0.2.5.bb new file mode 100644 index 0000000000..8cb2d61f3d --- /dev/null +++ b/recipes/gpe-conf/gpe-conf_0.2.5.bb @@ -0,0 +1,27 @@ +DESCRIPTION = "Configuration applets for GPE" +SECTION = "gpe" +PRIORITY = "optional" +LICENSE = "GPL" + +DEPENDS = "gtk+ esound audiofile libgpewidget libxsettings libxsettings-client libxrandr" +RDEPENDS_${PN} = "xst xset ntpdate gpe-login gpe-icons tzdata xrandr" +RDEPENDS_gpe-conf-panel = "gpe-conf" + +RPROVIDES_${PN} += " bl" +RCONFLICTS_${PN} = "bl" + +PR = "r4" + +GPE_TARBALL_SUFFIX = "bz2" + +inherit gpe autotools pkgconfig + +PACKAGES += "gpe-conf-panel" + +FILES_${PN} = "${sysconfdir} ${bindir} ${datadir}/pixmaps \ + ${datadir}/applications/gpe-conf-* ${datadir}/gpe/pixmaps \ + ${datadir}/gpe-conf" +FILES_gpe-conf-panel = "${datadir}/applications/gpe-conf.desktop" + +SRC_URI += "file://backlight-bugfix.patch;patch=1 \ + file://wireless.patch;patch=1" diff --git a/recipes/gpe-conf/gpe-conf_0.2.6.bb b/recipes/gpe-conf/gpe-conf_0.2.6.bb new file mode 100644 index 0000000000..b56b780210 --- /dev/null +++ b/recipes/gpe-conf/gpe-conf_0.2.6.bb @@ -0,0 +1,25 @@ +DESCRIPTION = "Configuration applets for GPE" +SECTION = "gpe" +PRIORITY = "optional" +LICENSE = "GPL" + +DEPENDS = "gtk+ esound audiofile libgpewidget libxsettings libxsettings-client libxrandr" +RDEPENDS_${PN} = "xst gpe-confd xset ntpdate gpe-icons tzdata xrandr" +RDEPENDS_gpe-conf-panel = "gpe-conf" + +RPROVIDES_${PN} += " bl" +RCONFLICTS_${PN} = "bl" + +PR = "r1" + +GPE_TARBALL_SUFFIX = "bz2" + +inherit gpe autotools pkgconfig + +PACKAGES += "gpe-conf-panel" + +FILES_${PN} = "${sysconfdir} ${bindir} ${datadir}/pixmaps \ + ${datadir}/applications/gpe-conf-* ${datadir}/gpe/pixmaps \ + ${datadir}/gpe-conf" +FILES_gpe-conf-panel = "${datadir}/applications/gpe-conf.desktop" + diff --git a/recipes/gpe-conf/gpe-conf_0.2.7.bb b/recipes/gpe-conf/gpe-conf_0.2.7.bb new file mode 100644 index 0000000000..2d4fb2168e --- /dev/null +++ b/recipes/gpe-conf/gpe-conf_0.2.7.bb @@ -0,0 +1,28 @@ +DESCRIPTION = "Configuration applets for GPE" +SECTION = "gpe" +PRIORITY = "optional" +LICENSE = "GPL" + +DEPENDS = "gtk+ esound audiofile libgpewidget libxsettings libxsettings-client libxrandr" +RDEPENDS_${PN} = "xst gpe-confd xset ntpdate gpe-icons tzdata xrandr" +RDEPENDS_gpe-conf-panel = "gpe-conf" + +RPROVIDES_${PN} += " bl" +RCONFLICTS_${PN} = "bl" + +PR = "r2" + +GPE_TARBALL_SUFFIX = "bz2" + +inherit gpe autotools pkgconfig + +SRC_URI += "file://poweroff.patch;patch=1 \ + file://wifi-key.patch;patch=1;pnum=0" + +PACKAGES += "gpe-conf-panel" + +FILES_${PN} = "${sysconfdir} ${bindir} ${datadir}/pixmaps \ + ${datadir}/applications/gpe-conf-* ${datadir}/gpe/pixmaps \ + ${datadir}/gpe-conf" +FILES_gpe-conf-panel = "${datadir}/applications/gpe-conf.desktop" + diff --git a/recipes/gpe-conf/gpe-conf_0.2.8.bb b/recipes/gpe-conf/gpe-conf_0.2.8.bb new file mode 100644 index 0000000000..de840517e6 --- /dev/null +++ b/recipes/gpe-conf/gpe-conf_0.2.8.bb @@ -0,0 +1,23 @@ +DESCRIPTION = "Configuration applets for GPE" +SECTION = "gpe" +PRIORITY = "optional" +LICENSE = "GPL" + +DEPENDS = "gtk+ esound audiofile libgpewidget libxsettings libxsettings-client libxrandr" +RDEPENDS_${PN} = "xst gpe-confd xset ntpdate gpe-icons tzdata xrandr" +RDEPENDS_gpe-conf-panel = "gpe-conf" + +RPROVIDES_${PN} += " bl" +RCONFLICTS_${PN} = "bl" + +GPE_TARBALL_SUFFIX = "bz2" + +inherit gpe autotools pkgconfig + +PACKAGES += "gpe-conf-panel" + +FILES_${PN} = "${sysconfdir} ${bindir} ${datadir}/pixmaps \ + ${datadir}/applications/gpe-conf-* ${datadir}/gpe/pixmaps \ + ${datadir}/gpe-conf" +FILES_gpe-conf-panel = "${datadir}/applications/gpe-conf.desktop" + diff --git a/recipes/gpe-conf/gpe-conf_svn.bb b/recipes/gpe-conf/gpe-conf_svn.bb new file mode 100644 index 0000000000..5f9d60fd88 --- /dev/null +++ b/recipes/gpe-conf/gpe-conf_svn.bb @@ -0,0 +1,27 @@ +DEFAULT_PREFERENCE = "-1" + +DESCRIPTION = "Configuration applets for GPE" +SECTION = "gpe" +PRIORITY = "optional" +LICENSE = "GPL" + +DEPENDS = "gtk+ libgpewidget libxsettings libxsettings-client pcmcia-cs xst xset ntp gpe-login gpe-icons" +RDEPENDS_${PN} = "xst tzdata xset ntpdate gpe-login gpe-icons" +RDEPENDS_gpe-conf-panel = "gpe-conf" + +inherit autotools gpe + +PV = "0.2.7+svnr${SRCREV}" +PR = "r0" + +SRC_URI = "${GPE_SVN}" +S = "${WORKDIR}/${PN}" + + +PACKAGES = "${PN}-dbg gpe-conf gpe-conf-panel" + +FILES_${PN} = "${sysconfdir} ${bindir} ${datadir}/pixmaps \ + ${datadir}/applications/gpe-conf-* ${datadir}/gpe/pixmaps \ + ${datadir}/gpe-conf" +FILES_gpe-conf-panel = "${datadir}/applications/gpe-conf.desktop" + -- cgit 1.2.3-korg