From 9a1819bbc77975d7589e0eb7b01089fead2b4160 Mon Sep 17 00:00:00 2001 From: Marcin Juszkiewicz Date: Sat, 10 Feb 2007 10:39:09 +0000 Subject: lighttpd: simplified config (disabled webdav, auth modules) --- packages/lighttpd/conf/etc/lighttpd.conf | 14 +++----------- packages/lighttpd/lighttpd_1.4.13.bb | 2 +- 2 files changed, 4 insertions(+), 12 deletions(-) diff --git a/packages/lighttpd/conf/etc/lighttpd.conf b/packages/lighttpd/conf/etc/lighttpd.conf index 1536083e10..5642e3175f 100644 --- a/packages/lighttpd/conf/etc/lighttpd.conf +++ b/packages/lighttpd/conf/etc/lighttpd.conf @@ -13,12 +13,12 @@ # - saves memory server.modules = ( # "mod_rewrite", - "mod_redirect", +# "mod_redirect", # "mod_alias", "mod_access", # "mod_cml", # "mod_trigger_b4_dl", - "mod_auth", +# "mod_auth", # "mod_status", # "mod_setenv", # "mod_fastcgi", @@ -33,7 +33,7 @@ server.modules = ( # "mod_expire", # "mod_secdownload", # "mod_rrdtool", - "mod_webdav", +# "mod_webdav", "mod_accesslog" ) ## a static document-root, for virtual-hosting take look at the @@ -131,12 +131,6 @@ $HTTP["url"] =~ "\.pdf$" { server.range-requests = "disable" } -$HTTP["url"] =~ "^/dav($|/)" { - webdav.activate = "enable" - webdav.is-readonly = "disable" - webdav.sqlite-db-name = "/www/var/lighttpd.webdav_lock.db" -} - ## # which extensions should not be handle via static-file transfer # @@ -267,8 +261,6 @@ static-file.exclude-extensions = ( ".php", ".pl", ".fcgi" ) #url.rewrite = ( "^/$" => "/server-status" ) #url.redirect = ( "^/wishlist/(.+)" => "http://www.123.org/$1" ) -url.redirect = ( "^/DAV($|/)" => "http://cmx270/dav" ) - #### both rewrite/redirect support back reference to regex conditional using %n #$HTTP["host"] =~ "^www\.(.*)" { # url.redirect = ( "^/(.*)" => "http://%1/$1" ) diff --git a/packages/lighttpd/lighttpd_1.4.13.bb b/packages/lighttpd/lighttpd_1.4.13.bb index d56132e47d..9cb3d26425 100644 --- a/packages/lighttpd/lighttpd_1.4.13.bb +++ b/packages/lighttpd/lighttpd_1.4.13.bb @@ -2,7 +2,7 @@ DESCRIPTION = "Web server" SECTION = "net" DEPENDS = "sqlite3 libpcre libxml2" LICENSE = "BSD" -PR = "r3" +PR = "r4" SRC_URI = "http://www.lighttpd.net/download/lighttpd-1.4.13.tar.gz \ file://${PV}/configure.in.patch;patch=1;pnum=2 \ -- cgit v1.2.3 From 76205a8f6fbfd2fa8b3d294e5efa613afdb22db7 Mon Sep 17 00:00:00 2001 From: Philippe De Swert Date: Sat, 10 Feb 2007 12:50:26 +0000 Subject: packages/gpe-mini-browser/gpe-mini-browser_svn.bb packages/libgpelaunch/libgpelaunch_svn.bb packages/libgpepimc/libgpepimc_svn.bb packages/libgpeplugin/libgpeplugin_svn.bb packages/libgpevtype/libgpevtype_svn.bb packages/libgtkinput/libgtkinput_svn.bb packages/libgtkstylus/libgtkstylus_svn.bb packages/libschedule/libschedule_svn.bb packages/libtododb/libtododb_svn.bb packages/libxsettings/libxsettings_svn.bb * removed MAINTAINER field (apologies for my bad reading skills) * improved style (all run through oe-stylize) --- packages/gpe-mini-browser/gpe-mini-browser_svn.bb | 9 ++---- packages/libgpelaunch/libgpelaunch_svn.bb | 15 +++++----- packages/libgpepimc/libgpepimc_svn.bb | 25 +++++++--------- packages/libgpeplugin/libgpeplugin_svn.bb | 17 ++++++----- packages/libgpevtype/libgpevtype_svn.bb | 31 +++++++++----------- packages/libgtkinput/libgtkinput_svn.bb | 11 +++---- packages/libgtkstylus/libgtkstylus_svn.bb | 14 ++++----- packages/libschedule/libschedule_svn.bb | 10 +++---- packages/libtododb/libtododb_svn.bb | 33 ++++++++++----------- packages/libxsettings/libxsettings_svn.bb | 35 +++++++++++------------ 10 files changed, 88 insertions(+), 112 deletions(-) diff --git a/packages/gpe-mini-browser/gpe-mini-browser_svn.bb b/packages/gpe-mini-browser/gpe-mini-browser_svn.bb index f71237f4e4..523fccbc0f 100644 --- a/packages/gpe-mini-browser/gpe-mini-browser_svn.bb +++ b/packages/gpe-mini-browser/gpe-mini-browser_svn.bb @@ -1,10 +1,5 @@ -require gpe-mini-browser.inc - -DEFAULT_PREFERENCE = "-1" - DEPENDS = "sqlite gettext gtk+ glib-2.0 osb-nrcit libgpewidget" RRECOMMENDS = "gdk-pixbuf-loader-gif gdk-pixbuf-loader-png gdk-pixbuf-loader-jpeg" - PV = "0.20+svn${SRCDATE}" PR = "r0" @@ -39,7 +34,6 @@ pkg_postinst_${PN}-doc () { fi fi } - pkg_postrm_${PN}-doc () { #!/bin/sh if [ -e /etc/gpe/gpe-help.conf ]; then @@ -54,3 +48,6 @@ pkg_postrm_${PN}-doc () { fi } +require gpe-mini-browser.inc + +DEFAULT_PREFERENCE = "-1" diff --git a/packages/libgpelaunch/libgpelaunch_svn.bb b/packages/libgpelaunch/libgpelaunch_svn.bb index 2470e99c08..31db9c08a5 100644 --- a/packages/libgpelaunch/libgpelaunch_svn.bb +++ b/packages/libgpelaunch/libgpelaunch_svn.bb @@ -1,12 +1,9 @@ -MAINTAINER = "Philippe De Swert " -LICENSE = "LGPL" DESCRIPTION = "GPE program launcher library" SECTION = "libs" +LICENSE = "LGPL" DEPENDS = "gtk+ startup-notification" -PR = "r0" PV = "0.14+svn${SRCDATE}" - -DEFAULT_PREFERENCE = "-1" +PR = "r0" SRC_URI = "svn://projects.linuxtogo.org/svn/gpe/trunk/base;module=${PN}" @@ -14,8 +11,10 @@ S = "${WORKDIR}/${PN}" inherit autotools pkgconfig -FILES_${PN}-dbg += "/usr/libexec/libgpelaunch/.debug" - do_stage() { - autotools_stage_all + autotools_stage_all } + +FILES_${PN}-dbg += "${libexecdir}/libgpelaunch/.debug" + +DEFAULT_PREFERENCE = "-1" diff --git a/packages/libgpepimc/libgpepimc_svn.bb b/packages/libgpepimc/libgpepimc_svn.bb index 4b6dfd91e3..2d29e39109 100644 --- a/packages/libgpepimc/libgpepimc_svn.bb +++ b/packages/libgpepimc/libgpepimc_svn.bb @@ -1,15 +1,12 @@ -MAINTAINER = "Philippe De Swert " -LICENSE = "LGPL" -PR = "r0" -PV = "0.8+svn${SRCDATE}" DESCRIPTION = "Common code for GPE PIMs" -SECTION = "gpe/libs" -PRIORITY = "optional" -DEPENDS = "libgpewidget gtk+ sqlite" -PROVIDES = "libgepepimc" -RPROVIDES = "libgepepimc" - -DEFAULT_PREFERENCE = "-1" +SECTION = "gpe/libs" +PRIORITY = "optional" +LICENSE = "LGPL" +DEPENDS = "libgpewidget gtk+ sqlite" +PROVIDES = "libgepepimc" +RPROVIDES = "libgepepimc" +PV = "0.8+svn${SRCDATE}" +PR = "r0" SRC_URI = "svn://projects.linuxtogo.org/svn/gpe/trunk/base;module=${PN}" @@ -17,14 +14,14 @@ S = "${WORKDIR}/${PN}" inherit pkgconfig autotools -headers = "pim-categories.h pim-categories-ui.h" - do_stage () { oe_libinstall -so libgpepimc ${STAGING_LIBDIR} - mkdir -p ${STAGING_INCDIR}/gpe for h in ${headers}; do install -m 0644 ${S}/gpe/$h ${STAGING_INCDIR}/gpe/$h done } +headers = "pim-categories.h pim-categories-ui.h" + +DEFAULT_PREFERENCE = "-1" diff --git a/packages/libgpeplugin/libgpeplugin_svn.bb b/packages/libgpeplugin/libgpeplugin_svn.bb index 398941c1c4..33275f6d87 100644 --- a/packages/libgpeplugin/libgpeplugin_svn.bb +++ b/packages/libgpeplugin/libgpeplugin_svn.bb @@ -1,22 +1,21 @@ DESCRIPTION = "Plugin system for GPE applications" AUTHOR = "Luce DeCicco " -MAINTAINER = "Philippe De Swert " - DEPENDS = "gtk+ libgpewidget" PV = "0.0+svn${SRCDATE}" PR = "r0" -#put examples in a seperate package -PACKAGES += "${PN}-examples" -FILES_${PN}-examples = "${bindir}/* ${libexecdir}/*" -FILES_${PN} = "${libdir}/*.so.*" - - SRC_URI = "svn://projects.linuxtogo.org/svn/gpe/trunk/base;module=${PN}" + S = "${WORKDIR}/${PN}" inherit autotools pkgconfig do_stage() { -autotools_stage_all + autotools_stage_all } + +#put examples in a seperate package +PACKAGES += "${PN}-examples" + +FILES_${PN}-examples = "${bindir}/* ${libexecdir}/*" +FILES_${PN} = "${libdir}/*.so.*" diff --git a/packages/libgpevtype/libgpevtype_svn.bb b/packages/libgpevtype/libgpevtype_svn.bb index baad6bd8e3..b339833199 100644 --- a/packages/libgpevtype/libgpevtype_svn.bb +++ b/packages/libgpevtype/libgpevtype_svn.bb @@ -1,30 +1,25 @@ -MAINTAINER = "Philippe De Swert " -LICENSE = "LGPL" DESCRIPTION = "Data interchange library for GPE" -SECTION = "gpe/libs" -PRIORITY = "optional" -DEPENDS = "libmimedir libeventdb" -PR = "r0" +SECTION = "gpe/libs" +PRIORITY = "optional" +LICENSE = "LGPL" +DEPENDS = "libmimedir libeventdb" PV = "0.17+svn${SRCDATE}" - -DEFAULT_PREFERENCE = "-1" - -inherit pkgconfig gpe autotools +PR = "r0" SRC_URI = "svn://projects.linuxtogo.org/svn/gpe/trunk/base;module=${PN}" S = "${WORKDIR}/${PN}" -headers = "tag-db.h vcard.h vevent.h vtodo.h" - +inherit pkgconfig gpe autotools do_stage () { - oe_libinstall -so libgpevtype ${STAGING_LIBDIR} - - mkdir -p ${STAGING_INCDIR}/gpe - for h in ${headers}; do - install -m 0644 ${S}/gpe/$h ${STAGING_INCDIR}/gpe/${h} - done + oe_libinstall -so libgpevtype ${STAGING_LIBDIR} + mkdir -p ${STAGING_INCDIR}/gpe + for h in ${headers}; do + install -m 0644 ${S}/gpe/$h ${STAGING_INCDIR}/gpe/${h} + done } +headers = "tag-db.h vcard.h vevent.h vtodo.h" +DEFAULT_PREFERENCE = "-1" diff --git a/packages/libgtkinput/libgtkinput_svn.bb b/packages/libgtkinput/libgtkinput_svn.bb index 4394b00927..6169d2d87d 100644 --- a/packages/libgtkinput/libgtkinput_svn.bb +++ b/packages/libgtkinput/libgtkinput_svn.bb @@ -1,9 +1,4 @@ -MAINTAINER = "Philippe De Swert " LICENSE = "LGPL" -inherit gpe autotools - -DEFAULT_PREFERENCE = "-1" - PV = "0.3+svn${SRCDATE}" SRC_URI = "svn://projects.linuxtogo.org/svn/gpe/trunk/base;module=${PN} \ @@ -11,11 +6,13 @@ SRC_URI = "svn://projects.linuxtogo.org/svn/gpe/trunk/base;module=${PN} \ S = "${WORKDIR}/${PN}" -FILES_${PN} += "${libdir}" - +inherit gpe autotools do_install_append() { install -d ${D}/${sysconfdir}/X11/Xsession.d install -m 755 ${WORKDIR}/gtkinput.sh ${D}/${sysconfdir}/X11/Xsession.d/46gtkinput } +FILES_${PN} += "${libdir}" + +DEFAULT_PREFERENCE = "-1" diff --git a/packages/libgtkstylus/libgtkstylus_svn.bb b/packages/libgtkstylus/libgtkstylus_svn.bb index cd551521f7..42f1a94d01 100644 --- a/packages/libgtkstylus/libgtkstylus_svn.bb +++ b/packages/libgtkstylus/libgtkstylus_svn.bb @@ -1,21 +1,21 @@ -MAINTAINER = "Philippe De Swert " DESCRIPTION = "GTK plugin for stylus based systems" SECTION = "libs" -DEPENDS = "gtk+" LICENSE = "LGPL" -PR = "r5" +DEPENDS = "gtk+" PV = "0.3+svn${SRCDATE}" - -inherit autotools +PR = "r5" SRC_URI = "svn://projects.linuxtogo.org/svn/gpe/trunk/base;module=${PN}" S = "${WORKDIR}/${PN}" +inherit autotools + do_install_append() { - install -d ${D}/${sysconfdir}/X11/Xsession.d - install -m 755 ${S}/gtkstylus.sh ${D}/${sysconfdir}/X11/Xsession.d/45gtkstylus + install -d ${D}/${sysconfdir}/X11/Xsession.d + install -m 755 ${S}/gtkstylus.sh ${D}/${sysconfdir}/X11/Xsession.d/45gtkstylus } FILES_${PN} = "/etc ${libdir}/gtk-2.0/*/modules/*.so*" +DEFAULT_PREFERENCE = "-1" diff --git a/packages/libschedule/libschedule_svn.bb b/packages/libschedule/libschedule_svn.bb index 7a2bae0ec7..6307657d8c 100644 --- a/packages/libschedule/libschedule_svn.bb +++ b/packages/libschedule/libschedule_svn.bb @@ -1,21 +1,19 @@ DESCRIPTION = "RTC alarm handling library for GPE" -MAINTAINER = "Philippe De Swert " SECTION = "gpe/libs" PRIORITY = "optional" LICENSE = "LGPL" DEPENDS = "glib-2.0 sqlite libgpewidget" -PR = "r0" PV = "0.16+svn${SRCDATE}" - -DEFAULT_PREFERENCE = "-1" - -inherit autotools pkgconfig gpe +PR = "r0" SRC_URI = "svn://projects.linuxtogo.org/svn/gpe/trunk/base;module=${PN}" S = "${WORKDIR}/${PN}" +inherit autotools pkgconfig gpe do_stage () { autotools_stage_all } + +DEFAULT_PREFERENCE = "-1" diff --git a/packages/libtododb/libtododb_svn.bb b/packages/libtododb/libtododb_svn.bb index cb05a1ae85..f5bf88341c 100644 --- a/packages/libtododb/libtododb_svn.bb +++ b/packages/libtododb/libtododb_svn.bb @@ -1,32 +1,29 @@ -LICENSE = "LGPL" DESCRIPTION = "Database access for GPE to-do list" -MAINTAINER = "Philippe De Swert " SECTION = "gpe/libs" PRIORITY = "optional" +LICENSE = "LGPL" DEPENDS = "libgpewidget libgpepimc sqlite" -PR = "r0" PV = "0.10+svn${SRCDATE}" +PR = "r0" -DEFAULT_PREFERENCE = "-1" - -inherit pkgconfig gpe autotools - SRC_URI = "svn://projects.linuxtogo.org/svn/gpe/trunk/base;module=${PN}" S = "${WORKDIR}/${PN}" -headers = "todo-db.h" +inherit pkgconfig gpe autotools +do_install () { + gpe_do_install +# oe_runmake PREFIX=${prefix} DESTDIR=${D} install-devel +} do_stage () { - oe_libinstall -so libtododb ${STAGING_LIBDIR} - - mkdir -p ${STAGING_INCDIR}/gpe - for h in ${headers}; do - install -m 0644 ${S}/gpe/$h ${STAGING_INCDIR}/gpe/$h - done + oe_libinstall -so libtododb ${STAGING_LIBDIR} + mkdir -p ${STAGING_INCDIR}/gpe + for h in ${headers}; do + install -m 0644 ${S}/gpe/$h ${STAGING_INCDIR}/gpe/$h + done } -do_install () { - gpe_do_install -# oe_runmake PREFIX=${prefix} DESTDIR=${D} install-devel -} +headers = "todo-db.h" + +DEFAULT_PREFERENCE = "-1" diff --git a/packages/libxsettings/libxsettings_svn.bb b/packages/libxsettings/libxsettings_svn.bb index 0b5c45b947..4c1dfd3d74 100644 --- a/packages/libxsettings/libxsettings_svn.bb +++ b/packages/libxsettings/libxsettings_svn.bb @@ -1,35 +1,32 @@ DESCRIPTION = "Common code for XSETTINGS" -MAINTAINER = "Philippe De Swert " SECTION = "gpe/libs" -LICENSE = "BSD-X" PRIORITY = "optional" +LICENSE = "BSD-X" DEPENDS = "virtual/libx11" -PR = "r0" PV = "0.11+svn${SRCDATE}" - -DEFAULT_PREFERENCE = "-1" - -inherit gpe +PR = "r0" SRC_URI = "svn://projects.linuxtogo.org/svn/gpe/trunk/base;module=${PN} \ file://libxsettings-svn-makefile-fix.patch;patch=1 \ - file://Makefile.dpkg_ipkg \ - file://Makefile.translation" + file://Makefile.dpkg_ipkg \ + file://Makefile.translation" S = "${WORKDIR}/${PN}" -headers = "xsettings-common.h" +inherit gpe +do_install () { + gpe_do_install + oe_runmake PREFIX=${prefix} DESTDIR=${D} install-devel +} do_stage () { oe_libinstall -so libXsettings ${STAGING_LIBDIR} - - mkdir -p ${STAGING_INCDIR}/gpe - for h in ${headers}; do - install -m 0644 ${S}/$h ${STAGING_INCDIR}/$h - done + mkdir -p ${STAGING_INCDIR}/gpe + for h in ${headers}; do + install -m 0644 ${S}/$h ${STAGING_INCDIR}/$h + done } -do_install () { - gpe_do_install - oe_runmake PREFIX=${prefix} DESTDIR=${D} install-devel -} +headers = "xsettings-common.h" + +DEFAULT_PREFERENCE = "-1" -- cgit v1.2.3 From c915ccb0010bbd09ed63282a679315b2901b1799 Mon Sep 17 00:00:00 2001 From: Philippe De Swert Date: Sat, 10 Feb 2007 14:07:48 +0000 Subject: packages/gpe-mini-browser/gpe-mini-browser_svn.bb packages/libgpelaunch/libgpelaunch_svn.bb packages/libgpepimc/libgpepimc_svn.bb packages/libgpeplugin/libgpeplugin_svn.bb packages/libgpevtype/libgpevtype_svn.bb packages/libgtkinput/libgtkinput_svn.bb packages/libgtkstylus/libgtkstylus_svn.bb packages/libschedule/libschedule_svn.bb packages/libtododb/libtododb_svn.bb packages/libxsettings/libxsettings_svn.bb * fix svn downloading. OE-stylize makes a mistake by putting the SRC_URI before the inherit line, causing download to fail. * Adapted SRC_URI to be ${GPE_SVN} instead of svn://... --- packages/gpe-mini-browser/gpe-mini-browser_svn.bb | 6 +++--- packages/libgpelaunch/libgpelaunch_svn.bb | 6 +++--- packages/libgpepimc/libgpepimc_svn.bb | 6 +++--- packages/libgpeplugin/libgpeplugin_svn.bb | 6 +++--- packages/libgpevtype/libgpevtype_svn.bb | 6 +++--- packages/libgtkinput/libgtkinput_svn.bb | 6 +++--- packages/libgtkstylus/libgtkstylus_svn.bb | 6 +++--- packages/libschedule/libschedule_svn.bb | 6 +++--- packages/libtododb/libtododb_svn.bb | 6 +++--- packages/libxsettings/libxsettings_svn.bb | 6 +++--- 10 files changed, 30 insertions(+), 30 deletions(-) diff --git a/packages/gpe-mini-browser/gpe-mini-browser_svn.bb b/packages/gpe-mini-browser/gpe-mini-browser_svn.bb index 523fccbc0f..67c16862e8 100644 --- a/packages/gpe-mini-browser/gpe-mini-browser_svn.bb +++ b/packages/gpe-mini-browser/gpe-mini-browser_svn.bb @@ -3,11 +3,11 @@ RRECOMMENDS = "gdk-pixbuf-loader-gif gdk-pixbuf-loader-png gdk-pixbuf-loader-jpe PV = "0.20+svn${SRCDATE}" PR = "r0" -SRC_URI = "svn://projects.linuxtogo.org/svn/gpe/trunk/extra;module=${PN}" +inherit autotools -S = "${WORKDIR}/gpe-mini-browser" +SRC_URI = "${GPE_EXTRA_SVN}" -inherit autotools +S = "${WORKDIR}/gpe-mini-browser" do_install() { install -d ${D}/usr/share/applications diff --git a/packages/libgpelaunch/libgpelaunch_svn.bb b/packages/libgpelaunch/libgpelaunch_svn.bb index 31db9c08a5..c7c3c8e83e 100644 --- a/packages/libgpelaunch/libgpelaunch_svn.bb +++ b/packages/libgpelaunch/libgpelaunch_svn.bb @@ -5,11 +5,11 @@ DEPENDS = "gtk+ startup-notification" PV = "0.14+svn${SRCDATE}" PR = "r0" -SRC_URI = "svn://projects.linuxtogo.org/svn/gpe/trunk/base;module=${PN}" +inherit autotools pkgconfig -S = "${WORKDIR}/${PN}" +SRC_URI = "${GPE_SVN}" -inherit autotools pkgconfig +S = "${WORKDIR}/${PN}" do_stage() { autotools_stage_all diff --git a/packages/libgpepimc/libgpepimc_svn.bb b/packages/libgpepimc/libgpepimc_svn.bb index 2d29e39109..b195837ed3 100644 --- a/packages/libgpepimc/libgpepimc_svn.bb +++ b/packages/libgpepimc/libgpepimc_svn.bb @@ -8,11 +8,11 @@ RPROVIDES = "libgepepimc" PV = "0.8+svn${SRCDATE}" PR = "r0" -SRC_URI = "svn://projects.linuxtogo.org/svn/gpe/trunk/base;module=${PN}" +inherit pkgconfig autotools -S = "${WORKDIR}/${PN}" +SRC_URI = "${GPE_SVN}" -inherit pkgconfig autotools +S = "${WORKDIR}/${PN}" do_stage () { oe_libinstall -so libgpepimc ${STAGING_LIBDIR} diff --git a/packages/libgpeplugin/libgpeplugin_svn.bb b/packages/libgpeplugin/libgpeplugin_svn.bb index 33275f6d87..91eca5abc1 100644 --- a/packages/libgpeplugin/libgpeplugin_svn.bb +++ b/packages/libgpeplugin/libgpeplugin_svn.bb @@ -4,11 +4,11 @@ DEPENDS = "gtk+ libgpewidget" PV = "0.0+svn${SRCDATE}" PR = "r0" -SRC_URI = "svn://projects.linuxtogo.org/svn/gpe/trunk/base;module=${PN}" +inherit autotools pkgconfig -S = "${WORKDIR}/${PN}" +SRC_URI = "${GPE_SVN}" -inherit autotools pkgconfig +S = "${WORKDIR}/${PN}" do_stage() { autotools_stage_all diff --git a/packages/libgpevtype/libgpevtype_svn.bb b/packages/libgpevtype/libgpevtype_svn.bb index b339833199..5c7ca33fbb 100644 --- a/packages/libgpevtype/libgpevtype_svn.bb +++ b/packages/libgpevtype/libgpevtype_svn.bb @@ -6,11 +6,11 @@ DEPENDS = "libmimedir libeventdb" PV = "0.17+svn${SRCDATE}" PR = "r0" -SRC_URI = "svn://projects.linuxtogo.org/svn/gpe/trunk/base;module=${PN}" +inherit pkgconfig gpe autotools -S = "${WORKDIR}/${PN}" +SRC_URI = "${GPE_SVN}" -inherit pkgconfig gpe autotools +S = "${WORKDIR}/${PN}" do_stage () { oe_libinstall -so libgpevtype ${STAGING_LIBDIR} diff --git a/packages/libgtkinput/libgtkinput_svn.bb b/packages/libgtkinput/libgtkinput_svn.bb index 6169d2d87d..b8fcc8c26e 100644 --- a/packages/libgtkinput/libgtkinput_svn.bb +++ b/packages/libgtkinput/libgtkinput_svn.bb @@ -1,13 +1,13 @@ LICENSE = "LGPL" PV = "0.3+svn${SRCDATE}" -SRC_URI = "svn://projects.linuxtogo.org/svn/gpe/trunk/base;module=${PN} \ +inherit gpe autotools + +SRC_URI = "${GPE_SVN} \ file://gtkinput.sh" S = "${WORKDIR}/${PN}" -inherit gpe autotools - do_install_append() { install -d ${D}/${sysconfdir}/X11/Xsession.d install -m 755 ${WORKDIR}/gtkinput.sh ${D}/${sysconfdir}/X11/Xsession.d/46gtkinput diff --git a/packages/libgtkstylus/libgtkstylus_svn.bb b/packages/libgtkstylus/libgtkstylus_svn.bb index 42f1a94d01..33122345a7 100644 --- a/packages/libgtkstylus/libgtkstylus_svn.bb +++ b/packages/libgtkstylus/libgtkstylus_svn.bb @@ -5,11 +5,11 @@ DEPENDS = "gtk+" PV = "0.3+svn${SRCDATE}" PR = "r5" -SRC_URI = "svn://projects.linuxtogo.org/svn/gpe/trunk/base;module=${PN}" +inherit autotools -S = "${WORKDIR}/${PN}" +SRC_URI = "${GPE_SVN}" -inherit autotools +S = "${WORKDIR}/${PN}" do_install_append() { install -d ${D}/${sysconfdir}/X11/Xsession.d diff --git a/packages/libschedule/libschedule_svn.bb b/packages/libschedule/libschedule_svn.bb index 6307657d8c..1095c2de32 100644 --- a/packages/libschedule/libschedule_svn.bb +++ b/packages/libschedule/libschedule_svn.bb @@ -6,11 +6,11 @@ DEPENDS = "glib-2.0 sqlite libgpewidget" PV = "0.16+svn${SRCDATE}" PR = "r0" -SRC_URI = "svn://projects.linuxtogo.org/svn/gpe/trunk/base;module=${PN}" +inherit autotools pkgconfig gpe -S = "${WORKDIR}/${PN}" +SRC_URI = "${GPE_SVN}" -inherit autotools pkgconfig gpe +S = "${WORKDIR}/${PN}" do_stage () { autotools_stage_all diff --git a/packages/libtododb/libtododb_svn.bb b/packages/libtododb/libtododb_svn.bb index f5bf88341c..a0263f27ac 100644 --- a/packages/libtododb/libtododb_svn.bb +++ b/packages/libtododb/libtododb_svn.bb @@ -6,11 +6,11 @@ DEPENDS = "libgpewidget libgpepimc sqlite" PV = "0.10+svn${SRCDATE}" PR = "r0" -SRC_URI = "svn://projects.linuxtogo.org/svn/gpe/trunk/base;module=${PN}" +inherit pkgconfig gpe autotools -S = "${WORKDIR}/${PN}" +SRC_URI = "${GPE_SVN}" -inherit pkgconfig gpe autotools +S = "${WORKDIR}/${PN}" do_install () { gpe_do_install diff --git a/packages/libxsettings/libxsettings_svn.bb b/packages/libxsettings/libxsettings_svn.bb index 4c1dfd3d74..dd1e7fcadf 100644 --- a/packages/libxsettings/libxsettings_svn.bb +++ b/packages/libxsettings/libxsettings_svn.bb @@ -6,15 +6,15 @@ DEPENDS = "virtual/libx11" PV = "0.11+svn${SRCDATE}" PR = "r0" -SRC_URI = "svn://projects.linuxtogo.org/svn/gpe/trunk/base;module=${PN} \ +inherit gpe + +SRC_URI = "${GPE_SVN} \ file://libxsettings-svn-makefile-fix.patch;patch=1 \ file://Makefile.dpkg_ipkg \ file://Makefile.translation" S = "${WORKDIR}/${PN}" -inherit gpe - do_install () { gpe_do_install oe_runmake PREFIX=${prefix} DESTDIR=${D} install-devel -- cgit v1.2.3 From 5c63c5da016ef8df5b634e96c6b4a5794a00cce7 Mon Sep 17 00:00:00 2001 From: Philippe De Swert Date: Sat, 10 Feb 2007 17:33:58 +0000 Subject: blueprobe_svn: * added bb recipe * added necessary patches detect-stylus_svn: * added bb recipe * added necessary patches gpe-appmgr_svn: * added bb recipe * added necessary patches gpe-autostarter_svn: * added bb recipe * added necessary patches libxsettings-client_svn: * added bb recipe MAINTAINERS: * added myself (Philippe De Swert) * added packages maintained by me --- MAINTAINERS | 6 + packages/blueprobe/blueprobe_svn.bb | 13 ++ packages/blueprobe/files/.mtn2git_empty | 0 .../blueprobe/files/blueprobe-svn-Makefile.patch | 250 +++++++++++++++++++++ packages/detect-stylus/detect-stylus_svn.bb | 18 ++ packages/detect-stylus/files/.mtn2git_empty | 0 .../files/detect-stylus-svn-build.patch | 229 +++++++++++++++++++ packages/gpe-appmgr/files/svn-build.patch | 229 +++++++++++++++++++ packages/gpe-appmgr/gpe-appmgr_svn.bb | 17 ++ packages/gpe-autostarter/gpe-autostarter_svn.bb | 15 ++ packages/gpe-autostarter/svn-build.patch | 229 +++++++++++++++++++ .../libxsettings-client/libxsettings-client_svn.bb | 26 +++ 12 files changed, 1032 insertions(+) create mode 100644 packages/blueprobe/blueprobe_svn.bb create mode 100644 packages/blueprobe/files/.mtn2git_empty create mode 100644 packages/blueprobe/files/blueprobe-svn-Makefile.patch create mode 100644 packages/detect-stylus/detect-stylus_svn.bb create mode 100644 packages/detect-stylus/files/.mtn2git_empty create mode 100644 packages/detect-stylus/files/detect-stylus-svn-build.patch create mode 100644 packages/gpe-appmgr/files/svn-build.patch create mode 100644 packages/gpe-appmgr/gpe-appmgr_svn.bb create mode 100644 packages/gpe-autostarter/gpe-autostarter_svn.bb create mode 100644 packages/gpe-autostarter/svn-build.patch create mode 100644 packages/libxsettings-client/libxsettings-client_svn.bb diff --git a/MAINTAINERS b/MAINTAINERS index 054fc18ce6..061c12c83f 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -141,6 +141,12 @@ Machines: omap5912osk Distros: openomap Recipes: xerces-c, omniorb +Person: Philippe De Swert +Mail: philippedeswert@scarlet.be +Recipes: gpe-*_svn, libgpe*_svn, libgtkstylus_svn, libtododb_svn +Recipes: libxsettings*_svn, libgtkinput_svn, libschedule_svn +Recipes: blueprobe_svn, detect-stylus_svn + Person: Richard Purdie Mail: rpurdie@rpsys.net Distros: poky, openzaurus, Ångström diff --git a/packages/blueprobe/blueprobe_svn.bb b/packages/blueprobe/blueprobe_svn.bb new file mode 100644 index 0000000000..5ef2dfcf8b --- /dev/null +++ b/packages/blueprobe/blueprobe_svn.bb @@ -0,0 +1,13 @@ +PV = "0.18+svn${SRCDATE}" +PR = "r0" + +inherit pkgconfig gpe autotools + +SRC_URI = "${GPE_SVN} \ + file://blueprobe-svn-Makefile.patch;patch=1" + +S = "${WORKDIR}/${PN}" + +require blueprobe.inc + +DEFAULT_PREFERENCE = "-1" diff --git a/packages/blueprobe/files/.mtn2git_empty b/packages/blueprobe/files/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/packages/blueprobe/files/blueprobe-svn-Makefile.patch b/packages/blueprobe/files/blueprobe-svn-Makefile.patch new file mode 100644 index 0000000000..b51b46561d --- /dev/null +++ b/packages/blueprobe/files/blueprobe-svn-Makefile.patch @@ -0,0 +1,250 @@ +diff -Naur blueprobe.orig/Makefile blueprobe/Makefile +--- blueprobe.orig/Makefile 2007-02-10 16:23:12.158675487 +0200 ++++ blueprobe/Makefile 2007-02-10 16:27:53.906731396 +0200 +@@ -1,7 +1,7 @@ + PREFIX = /usr/local + PACKAGE = blueprobe + DEBUG = no +-CVSBUILD = yes ++CVSBUILD = no + VERSION = 0.18 + + MEMBERS = blueprobe +@@ -17,7 +17,7 @@ + ifeq ($(CVSBUILD),yes) + BUILD = ../build + else +-BUILD = build ++BUILD = . + endif + + all: $(PACKAGE) +diff -Naur blueprobe.orig/Makefile.dpkg_ipkg blueprobe/Makefile.dpkg_ipkg +--- blueprobe.orig/Makefile.dpkg_ipkg 1970-01-01 02:00:00.000000000 +0200 ++++ blueprobe/Makefile.dpkg_ipkg 2007-02-10 16:28:13.211831530 +0200 +@@ -0,0 +1,114 @@ ++## Please read the README in this directory to see how to use this ++## Makefile snippet ++ ++# Let's use whatever clean target the specific app provides ++ ++CONTROL = `if test -e familiar/control1; then echo control1; else echo control; fi` ++ ++# URL to source tarball ++SOURCE = http://gpe.linuxtogo.org/download/source/$(PACKAGE)-$(VERSION).tar.gz ++ ++# can change this to e.g. /var/tmp/deb ++DEB_PATH = ../deb ++ ++ifeq ($(CVSBUILD),yes) ++LIBGPEWIDGET_PC = libgpewidget-uninstalled ++PC_EXTRA=PKG_CONFIG_PATH=../../base/libgpewidget ++else ++LIBGPEWIDGET_PC = libgpewidget ++endif ++ ++ifeq ($(IN_LIBGPEWIDGET),) ++GPECFLAGS = $(shell $(PC_EXTRA) pkg-config --cflags $(LIBGPEWIDGET_PC)) ++GPELIBS = $(shell $(PC_EXTRA) pkg-config --libs $(LIBGPEWIDGET_PC)) ++endif ++ ++GTKCFLAGS = $(shell pkg-config --cflags gtk+-2.0) ++GTKLIBS = $(shell pkg-config --libs gtk+-2.0) ++ ++STANDARD_CPPFLAGS = -D_GNU_SOURCE -DPACKAGE=\"$(PACKAGE)\" -DPREFIX=\"$(PREFIX)\" -DPACKAGE_LOCALE_DIR=\"$(PREFIX)/share/locale\" ++STANDARD_CFLAGS = -MD -Wall ++ ++ifeq ($(DEBUG),yes) ++CFLAGS += -O2 -g ++LDFLAGS = -g ++else ++CFLAGS += -Os -fomit-frame-pointer ++endif ++ ++dist: check-source clean dist-prep ++ rm -rf ../$(PACKAGE)-$(VERSION) ++ mkdir ../$(PACKAGE)-$(VERSION) ++ ( tar cf - --exclude "*/CVS" --exclude CVS --exclude "*~" --exclude "#*#" --exclude "debian" --exclude ".*" --exclude "*.ipk" --exclude "*.ipk.*" --exclude "*.mo" --exclude "*.batch" --exclude "translation-ipkgs.txt" * ) | (cd ../$(PACKAGE)-$(VERSION); tar xf -) ++ ( if [ -f linguas ]; then LINGUAS=`cat linguas`; PATCH_LINGUAS="s:^LINGUAS =.*:LINGUAS = $${LINGUAS}:"; fi; cd ../$(PACKAGE)-$(VERSION) && mkdir build && cp $(BUILD)/Makefile.dpkg_ipkg $(BUILD)/Makefile.translation build/ && sed "s:^CVSBUILD =.*:CVSBUILD = no:;s:^DEBUG =.*:DEBUG = no:;s:Makefile.translation-auto-linguas:Makefile.translation:;$${PATCH_LINGUAS}" < Makefile > Makefile.new && mv Makefile.new Makefile ) ++ ( cd .. ; tar cf - $(PACKAGE)-$(VERSION) | gzip -9 >$(PACKAGE)-$(VERSION).tar.gz ) ++ rm -rf ../$(PACKAGE)-$(VERSION) ++ $(MAKE) printinfo ++ ++dist-upload: dist ++ scp ../$(PACKAGE)-$(VERSION).tar.gz $(USER)@linuxtogo.org:/media/data/projects/gpe/source/ ++ ++dist-prep: ++ipkg-prep: ++install-mo: ++# empty, can be filled in Makefile.translation ++ ++install: install-program install-mo ++ ++clean-dist: ++ rm -rf familiar/dist familiar/dist.list ++ ++clean: clean-dist ++ ++check-source: ++ @if [ -f familiar/$(CONTROL) ] && ! grep -q '^Source:' familiar/$(CONTROL); then echo -e "\nNo Source: field in control file. Aborting.\n"; exit 1; fi ++ ++ipkg: check-source ipkg-prep clean ++ rm -rf familiar/dist ++ mkdir -p familiar/dist/CONTROL ++ sed 's:VERSION:$(VERSION):;s$$SOURCE$$$(SOURCE)$$' < familiar/$(CONTROL) > familiar/dist/CONTROL/control ++ if test -e familiar/conffiles; then install -m 644 familiar/conffiles familiar/dist/CONTROL; fi ++ if test -e familiar/preinst; then install familiar/preinst familiar/dist/CONTROL; fi ++ if test -e familiar/postinst; then install familiar/postinst familiar/dist/CONTROL; fi ++ if test -e familiar/prerm; then install familiar/prerm familiar/dist/CONTROL; fi ++ if test -e familiar/postrm; then install familiar/postrm familiar/dist/CONTROL; fi ++ $(MAKE) DESTDIR=`pwd`/familiar/dist PREFIX=/usr prefix=/usr DEBUG=no install-program ++ rm -rf familiar/dist.list ++ ipkg-build -o 0 -g 0 familiar/dist | sed 's/^Packaged .*into //; t 1; d; : 1; s:.*/::' >> familiar/dist.list ++ if [ "x$(LINGUAS)" != "x" ]; then make translation-ipkg; tr ' ' '\n' < translation-ipkgs.txt >> familiar/dist.list; fi ++ md5sum `cat familiar/dist.list` > $(PACKAGE)_$(VERSION).batch ++ rm -rf familiar/dist familiar/dist.list ++ $(MAKE) printinfo ++ ++dpkg: dist ++ mkdir -p $(DEB_PATH) ++ ( olddir=`pwd`; cd $(DEB_PATH); rm -rf $(PACKAGE)-$(VERSION); ln -s $$olddir/../$(PACKAGE)-$(VERSION).tar.gz $(PACKAGE)_$(VERSION).orig.tar.gz ; tar xzf $(PACKAGE)_$(VERSION).orig.tar.gz ) ++ mkdir -p $(DEB_PATH)/$(PACKAGE)-$(VERSION)/debian ++ for i in debian/*; do if test -f $$i; then cp $$i $(DEB_PATH)/$(PACKAGE)-$(VERSION)/debian/; fi; done ++ ++CVSTAG := $(shell echo $(PACKAGE)-$(VERSION) | tr [a-z.] [A-Z_]) ++printinfo: ++ @printf '-------------------------------------------------------------------------------\n' ++ @printf "If this becomes a package release, please add a CVS tag.\n" ++ @printf "You can use 'make tag' for that, it will execute\n" ++ @printf " cvs tag %s\n" $(CVSTAG) ++ @printf "Please upload a tarball (created with 'make dist') to\n" ++ @printf " ftp://ftp.handhelds.org/pub/projects/gpe/\n" ++ @printf " (handhelds.org:~ftp/pub/projects/gpe/source)\n" ++ @printf "You can use 'make dist-upload' to do that.\n" ++ @printf "You are currently known as USER %s.\n" $(USER) ++ @printf '-------------------------------------------------------------------------------\n' ++ ++tag: check-source ++ cvs tag $(CVSTAG) ++ ++retag: check-source ++ cvs tag -F $(CVSTAG) ++ ++source: tag dist-upload ++ ++%.pc: %.pc.in ++ sed 's:PREFIX:$(PREFIX):;s:BUILDDIR:$(shell pwd):;s:VERSION:$(VERSION):' < $< > $@ ++ ++.c.o:; ++ $(CC) $(CFLAGS) $(CPPFLAGS) $(PACKAGE_CFLAGS) $(PACKAGE_CPPFLAGS) -c $< -o $@ +diff -Naur blueprobe.orig/Makefile.translation blueprobe/Makefile.translation +--- blueprobe.orig/Makefile.translation 1970-01-01 02:00:00.000000000 +0200 ++++ blueprobe/Makefile.translation 2007-02-10 16:28:17.996104169 +0200 +@@ -0,0 +1,107 @@ ++.SUFFIXES: .mo .po .pot .po8 ++ ++CONTROL = `if test -e familiar/control1; then echo control1; else echo control; fi` ++ ++# use ipkg-build or ipkg-deb-build ++IPKG_BUILD := ipkg-build ++ ++TRANSLATION_SITE := http://www.iro.umontreal.ca/~gnutra/maint ++ ++ifeq ($(DIR_PO),) ++DIR_PO := po ++endif ++ ++ifeq ($(BINPACKAGE),) ++BINPACKAGE := $(PACKAGE) ++endif ++ ++mo-files = $(patsubst %,$(DIR_PO)/%.mo,$(LINGUAS)) ++po-files = $(patsubst %,$(DIR_PO)/%.po,$(LINGUAS)) ++ ++ifeq ($(shell if [ -f $(PACKAGE).desktop.in ]; then echo present; fi;),present) ++desktop-files += $(PACKAGE).desktop ++endif ++ ++ifneq ($(EXTRA_DESKTOPS),) ++desktop-files += $(patsubst %.desktop.in,%.desktop,$(EXTRA_DESKTOPS)) ++endif ++ ++all-mo: $(mo-files) ++ ++all-desktop: $(desktop-files) ++ ++install-mo: all-mo ++ if [ "$(ENABLE_NLS)" != "no" ]; then \ ++ if [ "x$(LINGUAS)" != "x" ]; then \ ++ for i in $(LINGUAS); do mkdir -p $(DESTDIR)$(PREFIX)/share/locale/$$i/LC_MESSAGES; install -m 644 $(DIR_PO)/$$i.mo $(DESTDIR)$(PREFIX)/share/locale/$$i/LC_MESSAGES/$(PACKAGE).mo; done \ ++ fi; \ ++ fi; ++ ++.po8.mo:; ++ if [ "$(ENABLE_NLS)" != "no" ]; then \ ++ msgfmt -o $@ $<; \ ++ fi; ++ ++.po.po8:; ++ CTYPE=`grep "^\"Content-Type:" $< | sed 's/^.*charset=//;s/\\\\.*//'`; sed "s/\(Content-Type: .*=\)$$CTYPE/\1UTF-8/" < $< | iconv -f $${CTYPE} -t UTF-8 >$@ ++ ++update-po: $(po-files) extract-po ++ ++dist-prep: update-po freshen-po ++# empty ++ ++ifeq ($(CVSBUILD),yes) ++ipkg-prep: freshen-po ++# empty ++endif ++ ++extract-po: ++ mkdir -p $(DIR_PO) ++ ( SOURCES="$(SOURCES)"; for DESK in $(PACKAGE).desktop.in $(EXTRA_DESKTOPS); do if [ -f $$DESK ]; then intltool-extract --type=gettext/ini $$DESK; SOURCES="$$SOURCES $${DESK}.h"; fi; done; if [ "x$$SOURCES" != "x" ]; then xgettext --add-comments=TRANSLATORS: -k_ -kN_ -o $(DIR_PO)/$(PACKAGE).pot.new $$SOURCES; fi ) ++ if [ -f $(DIR_PO)/$(PACKAGE).pot.new ]; then if cmp -s $(DIR_PO)/$(PACKAGE).pot.new $(PACKAGE).pot; then rm $(DIR_PO)/$(PACKAGE).pot.new; else mv $(DIR_PO)/$(PACKAGE).pot.new $(DIR_PO)/$(PACKAGE).pot; fi; fi ++ ++clean: clean-po clean-dist-translation ++ ++clean-po: ++ rm -rf $(DIR_PO)/*.mo ++ for i in $(desktop-files); do if [ -f $$i.in ]; then rm -f $$i; rm -f $$i.in.h; fi; done ++ ++%.desktop: %.desktop.in $(patsubst %,$(DIR_PO)/%.po,$(LINGUAS)) ++ intltool-merge -u -d $(DIR_PO) $< $@ ++ ++freshen-po: ++ rm -rf tmp-po ++ mkdir tmp-po ++ cd tmp-po; for LANG in $(LINGUAS); do wget $(TRANSLATION_SITE)/$(PACKAGE)/$$LANG.po; done ++ for LANG in $(LINGUAS); do if [ ! -f $(DIR_PO)/$$LANG.po ] || ! cmp -s $(DIR_PO)/$$LANG.po tmp-po/$$LANG.po ; then mv tmp-po/$$LANG.po $(DIR_PO)/$$LANG.po; echo "Updated $$LANG translation"; fi; done ++ rm -rf tmp-po ++ ++# ------------------------------------------------------------------------ ++ ++MAINTAINER = $(shell grep 'Maintainer: ' familiar/$(CONTROL) | cut -d ' ' -f 2-) ++ ++ifndef BUILD ++BUILD = ../build ++endif ++ ++transdist := familiar/dist-translation ++templates := $(BUILD)/familiar ++ipkglist := translation-ipkgs.txt ++ ++clean-dist-translation: ++ rm -rf $(transdist) $(ipkglist) ++ ++real-translation-package: all-mo ++ rm -rf $(transdist) $(ipkglist) ++ for LINGUA in $(LINGUAS); do \ ++ i=$$(echo $$LINGUA | tr '[A-Z_]' '[a-z+]'); \ ++ mkdir -p $(transdist)/$$i/CONTROL; \ ++ mkdir -p $(transdist)/$$i$(PREFIX)/share/locale/$$LINGUA/LC_MESSAGES; \ ++ install -m 644 po/$$LINGUA.mo $(transdist)/$$i$(PREFIX)/share/locale/$$LINGUA/LC_MESSAGES/$(PACKAGE).mo; \ ++ sed -e "s//$(MAINTAINER)/;s//$(BINPACKAGE)/;s//$(VERSION)/;s//$$i/;s!!$(SOURCE)!" $(templates)/control.translation > $(transdist)/$$i/CONTROL/control; \ ++ install $(templates)/postinst.translation $(transdist)/$$i/CONTROL/postinst; \ ++ $(IPKG_BUILD) -g 0 -o 0 $(transdist)/$$i | sed 's/^Packaged .*into //; t 1; d; : 1; s:.*/::' >> $(ipkglist); \ ++ done ++ ++translation-ipkg: ++ make PREFIX=/usr real-translation-package diff --git a/packages/detect-stylus/detect-stylus_svn.bb b/packages/detect-stylus/detect-stylus_svn.bb new file mode 100644 index 0000000000..7f4385473c --- /dev/null +++ b/packages/detect-stylus/detect-stylus_svn.bb @@ -0,0 +1,18 @@ +DESCRIPTION = "Touchscreen detection utility" +SECTION = "gpe" +LICENSE = "GPL" +DEPENDS = "virtual/libx11 xcursor-transparent-theme xrdb" +RDEPENDS = "xrdb" +PV = "0.13+svn${SRCDATE}" +PR = "r0" + +inherit gpe pkgconfig + +SRC_URI = "${GPE_SVN} \ + file://detect-stylus-svn-build.patch;patch=1" + +S = "${WORKDIR}/${PN}" + +export CVSBUILD="no" + +DEFAULT_PREFERENCE = "-1" diff --git a/packages/detect-stylus/files/.mtn2git_empty b/packages/detect-stylus/files/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/packages/detect-stylus/files/detect-stylus-svn-build.patch b/packages/detect-stylus/files/detect-stylus-svn-build.patch new file mode 100644 index 0000000000..ea1d67af6b --- /dev/null +++ b/packages/detect-stylus/files/detect-stylus-svn-build.patch @@ -0,0 +1,229 @@ +diff -Naur detect-stylus.orig/build/Makefile.dpkg_ipkg detect-stylus/build/Makefile.dpkg_ipkg +--- detect-stylus.orig/build/Makefile.dpkg_ipkg 1970-01-01 02:00:00.000000000 +0200 ++++ detect-stylus/build/Makefile.dpkg_ipkg 2007-02-10 17:21:40.154584782 +0200 +@@ -0,0 +1,114 @@ ++## Please read the README in this directory to see how to use this ++## Makefile snippet ++ ++# Let's use whatever clean target the specific app provides ++ ++CONTROL = `if test -e familiar/control1; then echo control1; else echo control; fi` ++ ++# URL to source tarball ++SOURCE = http://gpe.linuxtogo.org/download/source/$(PACKAGE)-$(VERSION).tar.gz ++ ++# can change this to e.g. /var/tmp/deb ++DEB_PATH = ../deb ++ ++ifeq ($(CVSBUILD),yes) ++LIBGPEWIDGET_PC = libgpewidget-uninstalled ++PC_EXTRA=PKG_CONFIG_PATH=../../base/libgpewidget ++else ++LIBGPEWIDGET_PC = libgpewidget ++endif ++ ++ifeq ($(IN_LIBGPEWIDGET),) ++GPECFLAGS = $(shell $(PC_EXTRA) pkg-config --cflags $(LIBGPEWIDGET_PC)) ++GPELIBS = $(shell $(PC_EXTRA) pkg-config --libs $(LIBGPEWIDGET_PC)) ++endif ++ ++GTKCFLAGS = $(shell pkg-config --cflags gtk+-2.0) ++GTKLIBS = $(shell pkg-config --libs gtk+-2.0) ++ ++STANDARD_CPPFLAGS = -D_GNU_SOURCE -DPACKAGE=\"$(PACKAGE)\" -DPREFIX=\"$(PREFIX)\" -DPACKAGE_LOCALE_DIR=\"$(PREFIX)/share/locale\" ++STANDARD_CFLAGS = -MD -Wall ++ ++ifeq ($(DEBUG),yes) ++CFLAGS += -O2 -g ++LDFLAGS = -g ++else ++CFLAGS += -Os -fomit-frame-pointer ++endif ++ ++dist: check-source clean dist-prep ++ rm -rf ../$(PACKAGE)-$(VERSION) ++ mkdir ../$(PACKAGE)-$(VERSION) ++ ( tar cf - --exclude "*/CVS" --exclude CVS --exclude "*~" --exclude "#*#" --exclude "debian" --exclude ".*" --exclude "*.ipk" --exclude "*.ipk.*" --exclude "*.mo" --exclude "*.batch" --exclude "translation-ipkgs.txt" * ) | (cd ../$(PACKAGE)-$(VERSION); tar xf -) ++ ( if [ -f linguas ]; then LINGUAS=`cat linguas`; PATCH_LINGUAS="s:^LINGUAS =.*:LINGUAS = $${LINGUAS}:"; fi; cd ../$(PACKAGE)-$(VERSION) && mkdir build && cp $(BUILD)/Makefile.dpkg_ipkg $(BUILD)/Makefile.translation build/ && sed "s:^CVSBUILD =.*:CVSBUILD = no:;s:^DEBUG =.*:DEBUG = no:;s:Makefile.translation-auto-linguas:Makefile.translation:;$${PATCH_LINGUAS}" < Makefile > Makefile.new && mv Makefile.new Makefile ) ++ ( cd .. ; tar cf - $(PACKAGE)-$(VERSION) | gzip -9 >$(PACKAGE)-$(VERSION).tar.gz ) ++ rm -rf ../$(PACKAGE)-$(VERSION) ++ $(MAKE) printinfo ++ ++dist-upload: dist ++ scp ../$(PACKAGE)-$(VERSION).tar.gz $(USER)@linuxtogo.org:/media/data/projects/gpe/source/ ++ ++dist-prep: ++ipkg-prep: ++install-mo: ++# empty, can be filled in Makefile.translation ++ ++install: install-program install-mo ++ ++clean-dist: ++ rm -rf familiar/dist familiar/dist.list ++ ++clean: clean-dist ++ ++check-source: ++ @if [ -f familiar/$(CONTROL) ] && ! grep -q '^Source:' familiar/$(CONTROL); then echo -e "\nNo Source: field in control file. Aborting.\n"; exit 1; fi ++ ++ipkg: check-source ipkg-prep clean ++ rm -rf familiar/dist ++ mkdir -p familiar/dist/CONTROL ++ sed 's:VERSION:$(VERSION):;s$$SOURCE$$$(SOURCE)$$' < familiar/$(CONTROL) > familiar/dist/CONTROL/control ++ if test -e familiar/conffiles; then install -m 644 familiar/conffiles familiar/dist/CONTROL; fi ++ if test -e familiar/preinst; then install familiar/preinst familiar/dist/CONTROL; fi ++ if test -e familiar/postinst; then install familiar/postinst familiar/dist/CONTROL; fi ++ if test -e familiar/prerm; then install familiar/prerm familiar/dist/CONTROL; fi ++ if test -e familiar/postrm; then install familiar/postrm familiar/dist/CONTROL; fi ++ $(MAKE) DESTDIR=`pwd`/familiar/dist PREFIX=/usr prefix=/usr DEBUG=no install-program ++ rm -rf familiar/dist.list ++ ipkg-build -o 0 -g 0 familiar/dist | sed 's/^Packaged .*into //; t 1; d; : 1; s:.*/::' >> familiar/dist.list ++ if [ "x$(LINGUAS)" != "x" ]; then make translation-ipkg; tr ' ' '\n' < translation-ipkgs.txt >> familiar/dist.list; fi ++ md5sum `cat familiar/dist.list` > $(PACKAGE)_$(VERSION).batch ++ rm -rf familiar/dist familiar/dist.list ++ $(MAKE) printinfo ++ ++dpkg: dist ++ mkdir -p $(DEB_PATH) ++ ( olddir=`pwd`; cd $(DEB_PATH); rm -rf $(PACKAGE)-$(VERSION); ln -s $$olddir/../$(PACKAGE)-$(VERSION).tar.gz $(PACKAGE)_$(VERSION).orig.tar.gz ; tar xzf $(PACKAGE)_$(VERSION).orig.tar.gz ) ++ mkdir -p $(DEB_PATH)/$(PACKAGE)-$(VERSION)/debian ++ for i in debian/*; do if test -f $$i; then cp $$i $(DEB_PATH)/$(PACKAGE)-$(VERSION)/debian/; fi; done ++ ++CVSTAG := $(shell echo $(PACKAGE)-$(VERSION) | tr [a-z.] [A-Z_]) ++printinfo: ++ @printf '-------------------------------------------------------------------------------\n' ++ @printf "If this becomes a package release, please add a CVS tag.\n" ++ @printf "You can use 'make tag' for that, it will execute\n" ++ @printf " cvs tag %s\n" $(CVSTAG) ++ @printf "Please upload a tarball (created with 'make dist') to\n" ++ @printf " ftp://ftp.handhelds.org/pub/projects/gpe/\n" ++ @printf " (handhelds.org:~ftp/pub/projects/gpe/source)\n" ++ @printf "You can use 'make dist-upload' to do that.\n" ++ @printf "You are currently known as USER %s.\n" $(USER) ++ @printf '-------------------------------------------------------------------------------\n' ++ ++tag: check-source ++ cvs tag $(CVSTAG) ++ ++retag: check-source ++ cvs tag -F $(CVSTAG) ++ ++source: tag dist-upload ++ ++%.pc: %.pc.in ++ sed 's:PREFIX:$(PREFIX):;s:BUILDDIR:$(shell pwd):;s:VERSION:$(VERSION):' < $< > $@ ++ ++.c.o:; ++ $(CC) $(CFLAGS) $(CPPFLAGS) $(PACKAGE_CFLAGS) $(PACKAGE_CPPFLAGS) -c $< -o $@ +diff -Naur detect-stylus.orig/build/Makefile.translation detect-stylus/build/Makefile.translation +--- detect-stylus.orig/build/Makefile.translation 1970-01-01 02:00:00.000000000 +0200 ++++ detect-stylus/build/Makefile.translation 2007-02-10 17:21:46.170927636 +0200 +@@ -0,0 +1,107 @@ ++.SUFFIXES: .mo .po .pot .po8 ++ ++CONTROL = `if test -e familiar/control1; then echo control1; else echo control; fi` ++ ++# use ipkg-build or ipkg-deb-build ++IPKG_BUILD := ipkg-build ++ ++TRANSLATION_SITE := http://www.iro.umontreal.ca/~gnutra/maint ++ ++ifeq ($(DIR_PO),) ++DIR_PO := po ++endif ++ ++ifeq ($(BINPACKAGE),) ++BINPACKAGE := $(PACKAGE) ++endif ++ ++mo-files = $(patsubst %,$(DIR_PO)/%.mo,$(LINGUAS)) ++po-files = $(patsubst %,$(DIR_PO)/%.po,$(LINGUAS)) ++ ++ifeq ($(shell if [ -f $(PACKAGE).desktop.in ]; then echo present; fi;),present) ++desktop-files += $(PACKAGE).desktop ++endif ++ ++ifneq ($(EXTRA_DESKTOPS),) ++desktop-files += $(patsubst %.desktop.in,%.desktop,$(EXTRA_DESKTOPS)) ++endif ++ ++all-mo: $(mo-files) ++ ++all-desktop: $(desktop-files) ++ ++install-mo: all-mo ++ if [ "$(ENABLE_NLS)" != "no" ]; then \ ++ if [ "x$(LINGUAS)" != "x" ]; then \ ++ for i in $(LINGUAS); do mkdir -p $(DESTDIR)$(PREFIX)/share/locale/$$i/LC_MESSAGES; install -m 644 $(DIR_PO)/$$i.mo $(DESTDIR)$(PREFIX)/share/locale/$$i/LC_MESSAGES/$(PACKAGE).mo; done \ ++ fi; \ ++ fi; ++ ++.po8.mo:; ++ if [ "$(ENABLE_NLS)" != "no" ]; then \ ++ msgfmt -o $@ $<; \ ++ fi; ++ ++.po.po8:; ++ CTYPE=`grep "^\"Content-Type:" $< | sed 's/^.*charset=//;s/\\\\.*//'`; sed "s/\(Content-Type: .*=\)$$CTYPE/\1UTF-8/" < $< | iconv -f $${CTYPE} -t UTF-8 >$@ ++ ++update-po: $(po-files) extract-po ++ ++dist-prep: update-po freshen-po ++# empty ++ ++ifeq ($(CVSBUILD),yes) ++ipkg-prep: freshen-po ++# empty ++endif ++ ++extract-po: ++ mkdir -p $(DIR_PO) ++ ( SOURCES="$(SOURCES)"; for DESK in $(PACKAGE).desktop.in $(EXTRA_DESKTOPS); do if [ -f $$DESK ]; then intltool-extract --type=gettext/ini $$DESK; SOURCES="$$SOURCES $${DESK}.h"; fi; done; if [ "x$$SOURCES" != "x" ]; then xgettext --add-comments=TRANSLATORS: -k_ -kN_ -o $(DIR_PO)/$(PACKAGE).pot.new $$SOURCES; fi ) ++ if [ -f $(DIR_PO)/$(PACKAGE).pot.new ]; then if cmp -s $(DIR_PO)/$(PACKAGE).pot.new $(PACKAGE).pot; then rm $(DIR_PO)/$(PACKAGE).pot.new; else mv $(DIR_PO)/$(PACKAGE).pot.new $(DIR_PO)/$(PACKAGE).pot; fi; fi ++ ++clean: clean-po clean-dist-translation ++ ++clean-po: ++ rm -rf $(DIR_PO)/*.mo ++ for i in $(desktop-files); do if [ -f $$i.in ]; then rm -f $$i; rm -f $$i.in.h; fi; done ++ ++%.desktop: %.desktop.in $(patsubst %,$(DIR_PO)/%.po,$(LINGUAS)) ++ intltool-merge -u -d $(DIR_PO) $< $@ ++ ++freshen-po: ++ rm -rf tmp-po ++ mkdir tmp-po ++ cd tmp-po; for LANG in $(LINGUAS); do wget $(TRANSLATION_SITE)/$(PACKAGE)/$$LANG.po; done ++ for LANG in $(LINGUAS); do if [ ! -f $(DIR_PO)/$$LANG.po ] || ! cmp -s $(DIR_PO)/$$LANG.po tmp-po/$$LANG.po ; then mv tmp-po/$$LANG.po $(DIR_PO)/$$LANG.po; echo "Updated $$LANG translation"; fi; done ++ rm -rf tmp-po ++ ++# ------------------------------------------------------------------------ ++ ++MAINTAINER = $(shell grep 'Maintainer: ' familiar/$(CONTROL) | cut -d ' ' -f 2-) ++ ++ifndef BUILD ++BUILD = ../build ++endif ++ ++transdist := familiar/dist-translation ++templates := $(BUILD)/familiar ++ipkglist := translation-ipkgs.txt ++ ++clean-dist-translation: ++ rm -rf $(transdist) $(ipkglist) ++ ++real-translation-package: all-mo ++ rm -rf $(transdist) $(ipkglist) ++ for LINGUA in $(LINGUAS); do \ ++ i=$$(echo $$LINGUA | tr '[A-Z_]' '[a-z+]'); \ ++ mkdir -p $(transdist)/$$i/CONTROL; \ ++ mkdir -p $(transdist)/$$i$(PREFIX)/share/locale/$$LINGUA/LC_MESSAGES; \ ++ install -m 644 po/$$LINGUA.mo $(transdist)/$$i$(PREFIX)/share/locale/$$LINGUA/LC_MESSAGES/$(PACKAGE).mo; \ ++ sed -e "s//$(MAINTAINER)/;s//$(BINPACKAGE)/;s//$(VERSION)/;s//$$i/;s!!$(SOURCE)!" $(templates)/control.translation > $(transdist)/$$i/CONTROL/control; \ ++ install $(templates)/postinst.translation $(transdist)/$$i/CONTROL/postinst; \ ++ $(IPKG_BUILD) -g 0 -o 0 $(transdist)/$$i | sed 's/^Packaged .*into //; t 1; d; : 1; s:.*/::' >> $(ipkglist); \ ++ done ++ ++translation-ipkg: ++ make PREFIX=/usr real-translation-package diff --git a/packages/gpe-appmgr/files/svn-build.patch b/packages/gpe-appmgr/files/svn-build.patch new file mode 100644 index 0000000000..ea1d67af6b --- /dev/null +++ b/packages/gpe-appmgr/files/svn-build.patch @@ -0,0 +1,229 @@ +diff -Naur detect-stylus.orig/build/Makefile.dpkg_ipkg detect-stylus/build/Makefile.dpkg_ipkg +--- detect-stylus.orig/build/Makefile.dpkg_ipkg 1970-01-01 02:00:00.000000000 +0200 ++++ detect-stylus/build/Makefile.dpkg_ipkg 2007-02-10 17:21:40.154584782 +0200 +@@ -0,0 +1,114 @@ ++## Please read the README in this directory to see how to use this ++## Makefile snippet ++ ++# Let's use whatever clean target the specific app provides ++ ++CONTROL = `if test -e familiar/control1; then echo control1; else echo control; fi` ++ ++# URL to source tarball ++SOURCE = http://gpe.linuxtogo.org/download/source/$(PACKAGE)-$(VERSION).tar.gz ++ ++# can change this to e.g. /var/tmp/deb ++DEB_PATH = ../deb ++ ++ifeq ($(CVSBUILD),yes) ++LIBGPEWIDGET_PC = libgpewidget-uninstalled ++PC_EXTRA=PKG_CONFIG_PATH=../../base/libgpewidget ++else ++LIBGPEWIDGET_PC = libgpewidget ++endif ++ ++ifeq ($(IN_LIBGPEWIDGET),) ++GPECFLAGS = $(shell $(PC_EXTRA) pkg-config --cflags $(LIBGPEWIDGET_PC)) ++GPELIBS = $(shell $(PC_EXTRA) pkg-config --libs $(LIBGPEWIDGET_PC)) ++endif ++ ++GTKCFLAGS = $(shell pkg-config --cflags gtk+-2.0) ++GTKLIBS = $(shell pkg-config --libs gtk+-2.0) ++ ++STANDARD_CPPFLAGS = -D_GNU_SOURCE -DPACKAGE=\"$(PACKAGE)\" -DPREFIX=\"$(PREFIX)\" -DPACKAGE_LOCALE_DIR=\"$(PREFIX)/share/locale\" ++STANDARD_CFLAGS = -MD -Wall ++ ++ifeq ($(DEBUG),yes) ++CFLAGS += -O2 -g ++LDFLAGS = -g ++else ++CFLAGS += -Os -fomit-frame-pointer ++endif ++ ++dist: check-source clean dist-prep ++ rm -rf ../$(PACKAGE)-$(VERSION) ++ mkdir ../$(PACKAGE)-$(VERSION) ++ ( tar cf - --exclude "*/CVS" --exclude CVS --exclude "*~" --exclude "#*#" --exclude "debian" --exclude ".*" --exclude "*.ipk" --exclude "*.ipk.*" --exclude "*.mo" --exclude "*.batch" --exclude "translation-ipkgs.txt" * ) | (cd ../$(PACKAGE)-$(VERSION); tar xf -) ++ ( if [ -f linguas ]; then LINGUAS=`cat linguas`; PATCH_LINGUAS="s:^LINGUAS =.*:LINGUAS = $${LINGUAS}:"; fi; cd ../$(PACKAGE)-$(VERSION) && mkdir build && cp $(BUILD)/Makefile.dpkg_ipkg $(BUILD)/Makefile.translation build/ && sed "s:^CVSBUILD =.*:CVSBUILD = no:;s:^DEBUG =.*:DEBUG = no:;s:Makefile.translation-auto-linguas:Makefile.translation:;$${PATCH_LINGUAS}" < Makefile > Makefile.new && mv Makefile.new Makefile ) ++ ( cd .. ; tar cf - $(PACKAGE)-$(VERSION) | gzip -9 >$(PACKAGE)-$(VERSION).tar.gz ) ++ rm -rf ../$(PACKAGE)-$(VERSION) ++ $(MAKE) printinfo ++ ++dist-upload: dist ++ scp ../$(PACKAGE)-$(VERSION).tar.gz $(USER)@linuxtogo.org:/media/data/projects/gpe/source/ ++ ++dist-prep: ++ipkg-prep: ++install-mo: ++# empty, can be filled in Makefile.translation ++ ++install: install-program install-mo ++ ++clean-dist: ++ rm -rf familiar/dist familiar/dist.list ++ ++clean: clean-dist ++ ++check-source: ++ @if [ -f familiar/$(CONTROL) ] && ! grep -q '^Source:' familiar/$(CONTROL); then echo -e "\nNo Source: field in control file. Aborting.\n"; exit 1; fi ++ ++ipkg: check-source ipkg-prep clean ++ rm -rf familiar/dist ++ mkdir -p familiar/dist/CONTROL ++ sed 's:VERSION:$(VERSION):;s$$SOURCE$$$(SOURCE)$$' < familiar/$(CONTROL) > familiar/dist/CONTROL/control ++ if test -e familiar/conffiles; then install -m 644 familiar/conffiles familiar/dist/CONTROL; fi ++ if test -e familiar/preinst; then install familiar/preinst familiar/dist/CONTROL; fi ++ if test -e familiar/postinst; then install familiar/postinst familiar/dist/CONTROL; fi ++ if test -e familiar/prerm; then install familiar/prerm familiar/dist/CONTROL; fi ++ if test -e familiar/postrm; then install familiar/postrm familiar/dist/CONTROL; fi ++ $(MAKE) DESTDIR=`pwd`/familiar/dist PREFIX=/usr prefix=/usr DEBUG=no install-program ++ rm -rf familiar/dist.list ++ ipkg-build -o 0 -g 0 familiar/dist | sed 's/^Packaged .*into //; t 1; d; : 1; s:.*/::' >> familiar/dist.list ++ if [ "x$(LINGUAS)" != "x" ]; then make translation-ipkg; tr ' ' '\n' < translation-ipkgs.txt >> familiar/dist.list; fi ++ md5sum `cat familiar/dist.list` > $(PACKAGE)_$(VERSION).batch ++ rm -rf familiar/dist familiar/dist.list ++ $(MAKE) printinfo ++ ++dpkg: dist ++ mkdir -p $(DEB_PATH) ++ ( olddir=`pwd`; cd $(DEB_PATH); rm -rf $(PACKAGE)-$(VERSION); ln -s $$olddir/../$(PACKAGE)-$(VERSION).tar.gz $(PACKAGE)_$(VERSION).orig.tar.gz ; tar xzf $(PACKAGE)_$(VERSION).orig.tar.gz ) ++ mkdir -p $(DEB_PATH)/$(PACKAGE)-$(VERSION)/debian ++ for i in debian/*; do if test -f $$i; then cp $$i $(DEB_PATH)/$(PACKAGE)-$(VERSION)/debian/; fi; done ++ ++CVSTAG := $(shell echo $(PACKAGE)-$(VERSION) | tr [a-z.] [A-Z_]) ++printinfo: ++ @printf '-------------------------------------------------------------------------------\n' ++ @printf "If this becomes a package release, please add a CVS tag.\n" ++ @printf "You can use 'make tag' for that, it will execute\n" ++ @printf " cvs tag %s\n" $(CVSTAG) ++ @printf "Please upload a tarball (created with 'make dist') to\n" ++ @printf " ftp://ftp.handhelds.org/pub/projects/gpe/\n" ++ @printf " (handhelds.org:~ftp/pub/projects/gpe/source)\n" ++ @printf "You can use 'make dist-upload' to do that.\n" ++ @printf "You are currently known as USER %s.\n" $(USER) ++ @printf '-------------------------------------------------------------------------------\n' ++ ++tag: check-source ++ cvs tag $(CVSTAG) ++ ++retag: check-source ++ cvs tag -F $(CVSTAG) ++ ++source: tag dist-upload ++ ++%.pc: %.pc.in ++ sed 's:PREFIX:$(PREFIX):;s:BUILDDIR:$(shell pwd):;s:VERSION:$(VERSION):' < $< > $@ ++ ++.c.o:; ++ $(CC) $(CFLAGS) $(CPPFLAGS) $(PACKAGE_CFLAGS) $(PACKAGE_CPPFLAGS) -c $< -o $@ +diff -Naur detect-stylus.orig/build/Makefile.translation detect-stylus/build/Makefile.translation +--- detect-stylus.orig/build/Makefile.translation 1970-01-01 02:00:00.000000000 +0200 ++++ detect-stylus/build/Makefile.translation 2007-02-10 17:21:46.170927636 +0200 +@@ -0,0 +1,107 @@ ++.SUFFIXES: .mo .po .pot .po8 ++ ++CONTROL = `if test -e familiar/control1; then echo control1; else echo control; fi` ++ ++# use ipkg-build or ipkg-deb-build ++IPKG_BUILD := ipkg-build ++ ++TRANSLATION_SITE := http://www.iro.umontreal.ca/~gnutra/maint ++ ++ifeq ($(DIR_PO),) ++DIR_PO := po ++endif ++ ++ifeq ($(BINPACKAGE),) ++BINPACKAGE := $(PACKAGE) ++endif ++ ++mo-files = $(patsubst %,$(DIR_PO)/%.mo,$(LINGUAS)) ++po-files = $(patsubst %,$(DIR_PO)/%.po,$(LINGUAS)) ++ ++ifeq ($(shell if [ -f $(PACKAGE).desktop.in ]; then echo present; fi;),present) ++desktop-files += $(PACKAGE).desktop ++endif ++ ++ifneq ($(EXTRA_DESKTOPS),) ++desktop-files += $(patsubst %.desktop.in,%.desktop,$(EXTRA_DESKTOPS)) ++endif ++ ++all-mo: $(mo-files) ++ ++all-desktop: $(desktop-files) ++ ++install-mo: all-mo ++ if [ "$(ENABLE_NLS)" != "no" ]; then \ ++ if [ "x$(LINGUAS)" != "x" ]; then \ ++ for i in $(LINGUAS); do mkdir -p $(DESTDIR)$(PREFIX)/share/locale/$$i/LC_MESSAGES; install -m 644 $(DIR_PO)/$$i.mo $(DESTDIR)$(PREFIX)/share/locale/$$i/LC_MESSAGES/$(PACKAGE).mo; done \ ++ fi; \ ++ fi; ++ ++.po8.mo:; ++ if [ "$(ENABLE_NLS)" != "no" ]; then \ ++ msgfmt -o $@ $<; \ ++ fi; ++ ++.po.po8:; ++ CTYPE=`grep "^\"Content-Type:" $< | sed 's/^.*charset=//;s/\\\\.*//'`; sed "s/\(Content-Type: .*=\)$$CTYPE/\1UTF-8/" < $< | iconv -f $${CTYPE} -t UTF-8 >$@ ++ ++update-po: $(po-files) extract-po ++ ++dist-prep: update-po freshen-po ++# empty ++ ++ifeq ($(CVSBUILD),yes) ++ipkg-prep: freshen-po ++# empty ++endif ++ ++extract-po: ++ mkdir -p $(DIR_PO) ++ ( SOURCES="$(SOURCES)"; for DESK in $(PACKAGE).desktop.in $(EXTRA_DESKTOPS); do if [ -f $$DESK ]; then intltool-extract --type=gettext/ini $$DESK; SOURCES="$$SOURCES $${DESK}.h"; fi; done; if [ "x$$SOURCES" != "x" ]; then xgettext --add-comments=TRANSLATORS: -k_ -kN_ -o $(DIR_PO)/$(PACKAGE).pot.new $$SOURCES; fi ) ++ if [ -f $(DIR_PO)/$(PACKAGE).pot.new ]; then if cmp -s $(DIR_PO)/$(PACKAGE).pot.new $(PACKAGE).pot; then rm $(DIR_PO)/$(PACKAGE).pot.new; else mv $(DIR_PO)/$(PACKAGE).pot.new $(DIR_PO)/$(PACKAGE).pot; fi; fi ++ ++clean: clean-po clean-dist-translation ++ ++clean-po: ++ rm -rf $(DIR_PO)/*.mo ++ for i in $(desktop-files); do if [ -f $$i.in ]; then rm -f $$i; rm -f $$i.in.h; fi; done ++ ++%.desktop: %.desktop.in $(patsubst %,$(DIR_PO)/%.po,$(LINGUAS)) ++ intltool-merge -u -d $(DIR_PO) $< $@ ++ ++freshen-po: ++ rm -rf tmp-po ++ mkdir tmp-po ++ cd tmp-po; for LANG in $(LINGUAS); do wget $(TRANSLATION_SITE)/$(PACKAGE)/$$LANG.po; done ++ for LANG in $(LINGUAS); do if [ ! -f $(DIR_PO)/$$LANG.po ] || ! cmp -s $(DIR_PO)/$$LANG.po tmp-po/$$LANG.po ; then mv tmp-po/$$LANG.po $(DIR_PO)/$$LANG.po; echo "Updated $$LANG translation"; fi; done ++ rm -rf tmp-po ++ ++# ------------------------------------------------------------------------ ++ ++MAINTAINER = $(shell grep 'Maintainer: ' familiar/$(CONTROL) | cut -d ' ' -f 2-) ++ ++ifndef BUILD ++BUILD = ../build ++endif ++ ++transdist := familiar/dist-translation ++templates := $(BUILD)/familiar ++ipkglist := translation-ipkgs.txt ++ ++clean-dist-translation: ++ rm -rf $(transdist) $(ipkglist) ++ ++real-translation-package: all-mo ++ rm -rf $(transdist) $(ipkglist) ++ for LINGUA in $(LINGUAS); do \ ++ i=$$(echo $$LINGUA | tr '[A-Z_]' '[a-z+]'); \ ++ mkdir -p $(transdist)/$$i/CONTROL; \ ++ mkdir -p $(transdist)/$$i$(PREFIX)/share/locale/$$LINGUA/LC_MESSAGES; \ ++ install -m 644 po/$$LINGUA.mo $(transdist)/$$i$(PREFIX)/share/locale/$$LINGUA/LC_MESSAGES/$(PACKAGE).mo; \ ++ sed -e "s//$(MAINTAINER)/;s//$(BINPACKAGE)/;s//$(VERSION)/;s//$$i/;s!!$(SOURCE)!" $(templates)/control.translation > $(transdist)/$$i/CONTROL/control; \ ++ install $(templates)/postinst.translation $(transdist)/$$i/CONTROL/postinst; \ ++ $(IPKG_BUILD) -g 0 -o 0 $(transdist)/$$i | sed 's/^Packaged .*into //; t 1; d; : 1; s:.*/::' >> $(ipkglist); \ ++ done ++ ++translation-ipkg: ++ make PREFIX=/usr real-translation-package diff --git a/packages/gpe-appmgr/gpe-appmgr_svn.bb b/packages/gpe-appmgr/gpe-appmgr_svn.bb new file mode 100644 index 0000000000..25492b1bc6 --- /dev/null +++ b/packages/gpe-appmgr/gpe-appmgr_svn.bb @@ -0,0 +1,17 @@ +DESCRIPTION = "GPE application launcher" +SECTION = "gpe" +LICENSE = "GPL" +DEPENDS = "libgpewidget libgpelaunch cairo libxsettings-client" +PV = "2.8+svn${SRCDATE}" +PR = "r0" + +inherit gpe + +SRC_URI = "${GPE_SVN} \ + file://svn-build.patch;patch=1" + +S = "${WORKDIR}/${PN}" + +export CVSBUILD="no" + +DEFAULT_PREFERENCE = "-1" diff --git a/packages/gpe-autostarter/gpe-autostarter_svn.bb b/packages/gpe-autostarter/gpe-autostarter_svn.bb new file mode 100644 index 0000000000..2742952e0f --- /dev/null +++ b/packages/gpe-autostarter/gpe-autostarter_svn.bb @@ -0,0 +1,15 @@ +SECTION = "gpe" +LICENSE = "GPL" +DEPENDS = "glib-2.0 dbus-glib hotplug-dbus virtual/libx11" +RDEPENDS = "hotplug-dbus" + +inherit gpe + +SRC_URI = "${GPE_SVN} \ + file://svn-build.patch;patch=1" + +S = "${WORKDIR}/${PN}" + +export CVSBUILD="no" + +DEFAULT_PREFERENCE = "-1" diff --git a/packages/gpe-autostarter/svn-build.patch b/packages/gpe-autostarter/svn-build.patch new file mode 100644 index 0000000000..ea1d67af6b --- /dev/null +++ b/packages/gpe-autostarter/svn-build.patch @@ -0,0 +1,229 @@ +diff -Naur detect-stylus.orig/build/Makefile.dpkg_ipkg detect-stylus/build/Makefile.dpkg_ipkg +--- detect-stylus.orig/build/Makefile.dpkg_ipkg 1970-01-01 02:00:00.000000000 +0200 ++++ detect-stylus/build/Makefile.dpkg_ipkg 2007-02-10 17:21:40.154584782 +0200 +@@ -0,0 +1,114 @@ ++## Please read the README in this directory to see how to use this ++## Makefile snippet ++ ++# Let's use whatever clean target the specific app provides ++ ++CONTROL = `if test -e familiar/control1; then echo control1; else echo control; fi` ++ ++# URL to source tarball ++SOURCE = http://gpe.linuxtogo.org/download/source/$(PACKAGE)-$(VERSION).tar.gz ++ ++# can change this to e.g. /var/tmp/deb ++DEB_PATH = ../deb ++ ++ifeq ($(CVSBUILD),yes) ++LIBGPEWIDGET_PC = libgpewidget-uninstalled ++PC_EXTRA=PKG_CONFIG_PATH=../../base/libgpewidget ++else ++LIBGPEWIDGET_PC = libgpewidget ++endif ++ ++ifeq ($(IN_LIBGPEWIDGET),) ++GPECFLAGS = $(shell $(PC_EXTRA) pkg-config --cflags $(LIBGPEWIDGET_PC)) ++GPELIBS = $(shell $(PC_EXTRA) pkg-config --libs $(LIBGPEWIDGET_PC)) ++endif ++ ++GTKCFLAGS = $(shell pkg-config --cflags gtk+-2.0) ++GTKLIBS = $(shell pkg-config --libs gtk+-2.0) ++ ++STANDARD_CPPFLAGS = -D_GNU_SOURCE -DPACKAGE=\"$(PACKAGE)\" -DPREFIX=\"$(PREFIX)\" -DPACKAGE_LOCALE_DIR=\"$(PREFIX)/share/locale\" ++STANDARD_CFLAGS = -MD -Wall ++ ++ifeq ($(DEBUG),yes) ++CFLAGS += -O2 -g ++LDFLAGS = -g ++else ++CFLAGS += -Os -fomit-frame-pointer ++endif ++ ++dist: check-source clean dist-prep ++ rm -rf ../$(PACKAGE)-$(VERSION) ++ mkdir ../$(PACKAGE)-$(VERSION) ++ ( tar cf - --exclude "*/CVS" --exclude CVS --exclude "*~" --exclude "#*#" --exclude "debian" --exclude ".*" --exclude "*.ipk" --exclude "*.ipk.*" --exclude "*.mo" --exclude "*.batch" --exclude "translation-ipkgs.txt" * ) | (cd ../$(PACKAGE)-$(VERSION); tar xf -) ++ ( if [ -f linguas ]; then LINGUAS=`cat linguas`; PATCH_LINGUAS="s:^LINGUAS =.*:LINGUAS = $${LINGUAS}:"; fi; cd ../$(PACKAGE)-$(VERSION) && mkdir build && cp $(BUILD)/Makefile.dpkg_ipkg $(BUILD)/Makefile.translation build/ && sed "s:^CVSBUILD =.*:CVSBUILD = no:;s:^DEBUG =.*:DEBUG = no:;s:Makefile.translation-auto-linguas:Makefile.translation:;$${PATCH_LINGUAS}" < Makefile > Makefile.new && mv Makefile.new Makefile ) ++ ( cd .. ; tar cf - $(PACKAGE)-$(VERSION) | gzip -9 >$(PACKAGE)-$(VERSION).tar.gz ) ++ rm -rf ../$(PACKAGE)-$(VERSION) ++ $(MAKE) printinfo ++ ++dist-upload: dist ++ scp ../$(PACKAGE)-$(VERSION).tar.gz $(USER)@linuxtogo.org:/media/data/projects/gpe/source/ ++ ++dist-prep: ++ipkg-prep: ++install-mo: ++# empty, can be filled in Makefile.translation ++ ++install: install-program install-mo ++ ++clean-dist: ++ rm -rf familiar/dist familiar/dist.list ++ ++clean: clean-dist ++ ++check-source: ++ @if [ -f familiar/$(CONTROL) ] && ! grep -q '^Source:' familiar/$(CONTROL); then echo -e "\nNo Source: field in control file. Aborting.\n"; exit 1; fi ++ ++ipkg: check-source ipkg-prep clean ++ rm -rf familiar/dist ++ mkdir -p familiar/dist/CONTROL ++ sed 's:VERSION:$(VERSION):;s$$SOURCE$$$(SOURCE)$$' < familiar/$(CONTROL) > familiar/dist/CONTROL/control ++ if test -e familiar/conffiles; then install -m 644 familiar/conffiles familiar/dist/CONTROL; fi ++ if test -e familiar/preinst; then install familiar/preinst familiar/dist/CONTROL; fi ++ if test -e familiar/postinst; then install familiar/postinst familiar/dist/CONTROL; fi ++ if test -e familiar/prerm; then install familiar/prerm familiar/dist/CONTROL; fi ++ if test -e familiar/postrm; then install familiar/postrm familiar/dist/CONTROL; fi ++ $(MAKE) DESTDIR=`pwd`/familiar/dist PREFIX=/usr prefix=/usr DEBUG=no install-program ++ rm -rf familiar/dist.list ++ ipkg-build -o 0 -g 0 familiar/dist | sed 's/^Packaged .*into //; t 1; d; : 1; s:.*/::' >> familiar/dist.list ++ if [ "x$(LINGUAS)" != "x" ]; then make translation-ipkg; tr ' ' '\n' < translation-ipkgs.txt >> familiar/dist.list; fi ++ md5sum `cat familiar/dist.list` > $(PACKAGE)_$(VERSION).batch ++ rm -rf familiar/dist familiar/dist.list ++ $(MAKE) printinfo ++ ++dpkg: dist ++ mkdir -p $(DEB_PATH) ++ ( olddir=`pwd`; cd $(DEB_PATH); rm -rf $(PACKAGE)-$(VERSION); ln -s $$olddir/../$(PACKAGE)-$(VERSION).tar.gz $(PACKAGE)_$(VERSION).orig.tar.gz ; tar xzf $(PACKAGE)_$(VERSION).orig.tar.gz ) ++ mkdir -p $(DEB_PATH)/$(PACKAGE)-$(VERSION)/debian ++ for i in debian/*; do if test -f $$i; then cp $$i $(DEB_PATH)/$(PACKAGE)-$(VERSION)/debian/; fi; done ++ ++CVSTAG := $(shell echo $(PACKAGE)-$(VERSION) | tr [a-z.] [A-Z_]) ++printinfo: ++ @printf '-------------------------------------------------------------------------------\n' ++ @printf "If this becomes a package release, please add a CVS tag.\n" ++ @printf "You can use 'make tag' for that, it will execute\n" ++ @printf " cvs tag %s\n" $(CVSTAG) ++ @printf "Please upload a tarball (created with 'make dist') to\n" ++ @printf " ftp://ftp.handhelds.org/pub/projects/gpe/\n" ++ @printf " (handhelds.org:~ftp/pub/projects/gpe/source)\n" ++ @printf "You can use 'make dist-upload' to do that.\n" ++ @printf "You are currently known as USER %s.\n" $(USER) ++ @printf '-------------------------------------------------------------------------------\n' ++ ++tag: check-source ++ cvs tag $(CVSTAG) ++ ++retag: check-source ++ cvs tag -F $(CVSTAG) ++ ++source: tag dist-upload ++ ++%.pc: %.pc.in ++ sed 's:PREFIX:$(PREFIX):;s:BUILDDIR:$(shell pwd):;s:VERSION:$(VERSION):' < $< > $@ ++ ++.c.o:; ++ $(CC) $(CFLAGS) $(CPPFLAGS) $(PACKAGE_CFLAGS) $(PACKAGE_CPPFLAGS) -c $< -o $@ +diff -Naur detect-stylus.orig/build/Makefile.translation detect-stylus/build/Makefile.translation +--- detect-stylus.orig/build/Makefile.translation 1970-01-01 02:00:00.000000000 +0200 ++++ detect-stylus/build/Makefile.translation 2007-02-10 17:21:46.170927636 +0200 +@@ -0,0 +1,107 @@ ++.SUFFIXES: .mo .po .pot .po8 ++ ++CONTROL = `if test -e familiar/control1; then echo control1; else echo control; fi` ++ ++# use ipkg-build or ipkg-deb-build ++IPKG_BUILD := ipkg-build ++ ++TRANSLATION_SITE := http://www.iro.umontreal.ca/~gnutra/maint ++ ++ifeq ($(DIR_PO),) ++DIR_PO := po ++endif ++ ++ifeq ($(BINPACKAGE),) ++BINPACKAGE := $(PACKAGE) ++endif ++ ++mo-files = $(patsubst %,$(DIR_PO)/%.mo,$(LINGUAS)) ++po-files = $(patsubst %,$(DIR_PO)/%.po,$(LINGUAS)) ++ ++ifeq ($(shell if [ -f $(PACKAGE).desktop.in ]; then echo present; fi;),present) ++desktop-files += $(PACKAGE).desktop ++endif ++ ++ifneq ($(EXTRA_DESKTOPS),) ++desktop-files += $(patsubst %.desktop.in,%.desktop,$(EXTRA_DESKTOPS)) ++endif ++ ++all-mo: $(mo-files) ++ ++all-desktop: $(desktop-files) ++ ++install-mo: all-mo ++ if [ "$(ENABLE_NLS)" != "no" ]; then \ ++ if [ "x$(LINGUAS)" != "x" ]; then \ ++ for i in $(LINGUAS); do mkdir -p $(DESTDIR)$(PREFIX)/share/locale/$$i/LC_MESSAGES; install -m 644 $(DIR_PO)/$$i.mo $(DESTDIR)$(PREFIX)/share/locale/$$i/LC_MESSAGES/$(PACKAGE).mo; done \ ++ fi; \ ++ fi; ++ ++.po8.mo:; ++ if [ "$(ENABLE_NLS)" != "no" ]; then \ ++ msgfmt -o $@ $<; \ ++ fi; ++ ++.po.po8:; ++ CTYPE=`grep "^\"Content-Type:" $< | sed 's/^.*charset=//;s/\\\\.*//'`; sed "s/\(Content-Type: .*=\)$$CTYPE/\1UTF-8/" < $< | iconv -f $${CTYPE} -t UTF-8 >$@ ++ ++update-po: $(po-files) extract-po ++ ++dist-prep: update-po freshen-po ++# empty ++ ++ifeq ($(CVSBUILD),yes) ++ipkg-prep: freshen-po ++# empty ++endif ++ ++extract-po: ++ mkdir -p $(DIR_PO) ++ ( SOURCES="$(SOURCES)"; for DESK in $(PACKAGE).desktop.in $(EXTRA_DESKTOPS); do if [ -f $$DESK ]; then intltool-extract --type=gettext/ini $$DESK; SOURCES="$$SOURCES $${DESK}.h"; fi; done; if [ "x$$SOURCES" != "x" ]; then xgettext --add-comments=TRANSLATORS: -k_ -kN_ -o $(DIR_PO)/$(PACKAGE).pot.new $$SOURCES; fi ) ++ if [ -f $(DIR_PO)/$(PACKAGE).pot.new ]; then if cmp -s $(DIR_PO)/$(PACKAGE).pot.new $(PACKAGE).pot; then rm $(DIR_PO)/$(PACKAGE).pot.new; else mv $(DIR_PO)/$(PACKAGE).pot.new $(DIR_PO)/$(PACKAGE).pot; fi; fi ++ ++clean: clean-po clean-dist-translation ++ ++clean-po: ++ rm -rf $(DIR_PO)/*.mo ++ for i in $(desktop-files); do if [ -f $$i.in ]; then rm -f $$i; rm -f $$i.in.h; fi; done ++ ++%.desktop: %.desktop.in $(patsubst %,$(DIR_PO)/%.po,$(LINGUAS)) ++ intltool-merge -u -d $(DIR_PO) $< $@ ++ ++freshen-po: ++ rm -rf tmp-po ++ mkdir tmp-po ++ cd tmp-po; for LANG in $(LINGUAS); do wget $(TRANSLATION_SITE)/$(PACKAGE)/$$LANG.po; done ++ for LANG in $(LINGUAS); do if [ ! -f $(DIR_PO)/$$LANG.po ] || ! cmp -s $(DIR_PO)/$$LANG.po tmp-po/$$LANG.po ; then mv tmp-po/$$LANG.po $(DIR_PO)/$$LANG.po; echo "Updated $$LANG translation"; fi; done ++ rm -rf tmp-po ++ ++# ------------------------------------------------------------------------ ++ ++MAINTAINER = $(shell grep 'Maintainer: ' familiar/$(CONTROL) | cut -d ' ' -f 2-) ++ ++ifndef BUILD ++BUILD = ../build ++endif ++ ++transdist := familiar/dist-translation ++templates := $(BUILD)/familiar ++ipkglist := translation-ipkgs.txt ++ ++clean-dist-translation: ++ rm -rf $(transdist) $(ipkglist) ++ ++real-translation-package: all-mo ++ rm -rf $(transdist) $(ipkglist) ++ for LINGUA in $(LINGUAS); do \ ++ i=$$(echo $$LINGUA | tr '[A-Z_]' '[a-z+]'); \ ++ mkdir -p $(transdist)/$$i/CONTROL; \ ++ mkdir -p $(transdist)/$$i$(PREFIX)/share/locale/$$LINGUA/LC_MESSAGES; \ ++ install -m 644 po/$$LINGUA.mo $(transdist)/$$i$(PREFIX)/share/locale/$$LINGUA/LC_MESSAGES/$(PACKAGE).mo; \ ++ sed -e "s//$(MAINTAINER)/;s//$(BINPACKAGE)/;s//$(VERSION)/;s//$$i/;s!!$(SOURCE)!" $(templates)/control.translation > $(transdist)/$$i/CONTROL/control; \ ++ install $(templates)/postinst.translation $(transdist)/$$i/CONTROL/postinst; \ ++ $(IPKG_BUILD) -g 0 -o 0 $(transdist)/$$i | sed 's/^Packaged .*into //; t 1; d; : 1; s:.*/::' >> $(ipkglist); \ ++ done ++ ++translation-ipkg: ++ make PREFIX=/usr real-translation-package diff --git a/packages/libxsettings-client/libxsettings-client_svn.bb b/packages/libxsettings-client/libxsettings-client_svn.bb new file mode 100644 index 0000000000..111c692603 --- /dev/null +++ b/packages/libxsettings-client/libxsettings-client_svn.bb @@ -0,0 +1,26 @@ +SECTION = "gpe/libs" +PRIORITY = "optional" +LICENSE = "BSD-X" +DEPENDS = "libxsettings virtual/libx11 libxt gtk-doc" +PV = "0.17+svn${SRCDATE}" +# libxt is required to stop configure breaking builds by +# including system paths to find it if it isn't present. +PR = "r0" + +inherit autotools pkgconfig gpe + +SRC_URI = "${GPE_SVN}" + +S = "${WORKDIR}/${PN}" + +do_stage () { + oe_libinstall -so libXsettings-client ${STAGING_LIBDIR} + mkdir -p ${STAGING_INCDIR} + for h in ${headers}; do + install -m 0644 ${S}/$h ${STAGING_INCDIR}/$h + done +} + +headers = "xsettings-client.h xsettings-common.h" + +DEFAULT_PREFERENCE = "-1" -- cgit v1.2.3 From c70295ad8bc5f80f1958661b1c80899474417824 Mon Sep 17 00:00:00 2001 From: Philippe De Swert Date: Sat, 10 Feb 2007 18:36:27 +0000 Subject: MAINTAINERS: * added myself (Philippe De Swert) * added packages maintained by me --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index 061c12c83f..eae78b2b8b 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -145,7 +145,7 @@ Person: Philippe De Swert Mail: philippedeswert@scarlet.be Recipes: gpe-*_svn, libgpe*_svn, libgtkstylus_svn, libtododb_svn Recipes: libxsettings*_svn, libgtkinput_svn, libschedule_svn -Recipes: blueprobe_svn, detect-stylus_svn +Recipes: blueprobe_svn, detect-stylus_svn. Person: Richard Purdie Mail: rpurdie@rpsys.net -- cgit v1.2.3 From 2ae4c1082de5e88964137c4ba9b6e9871de2f344 Mon Sep 17 00:00:00 2001 From: Philippe De Swert Date: Sat, 10 Feb 2007 18:37:41 +0000 Subject: disapproval of revision '2b583c51398ab09a8a2369e6add94451c09fa796' --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index eae78b2b8b..061c12c83f 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -145,7 +145,7 @@ Person: Philippe De Swert Mail: philippedeswert@scarlet.be Recipes: gpe-*_svn, libgpe*_svn, libgtkstylus_svn, libtododb_svn Recipes: libxsettings*_svn, libgtkinput_svn, libschedule_svn -Recipes: blueprobe_svn, detect-stylus_svn. +Recipes: blueprobe_svn, detect-stylus_svn Person: Richard Purdie Mail: rpurdie@rpsys.net -- cgit v1.2.3 From 48b268b155883dd6c2fafddff6821133c4216d09 Mon Sep 17 00:00:00 2001 From: Philippe De Swert Date: Sat, 10 Feb 2007 18:42:30 +0000 Subject: disapproval of revision '24993d4dbc28b379aa3f3b199a50ac3ecf716342' --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index 061c12c83f..eae78b2b8b 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -145,7 +145,7 @@ Person: Philippe De Swert Mail: philippedeswert@scarlet.be Recipes: gpe-*_svn, libgpe*_svn, libgtkstylus_svn, libtododb_svn Recipes: libxsettings*_svn, libgtkinput_svn, libschedule_svn -Recipes: blueprobe_svn, detect-stylus_svn +Recipes: blueprobe_svn, detect-stylus_svn. Person: Richard Purdie Mail: rpurdie@rpsys.net -- cgit v1.2.3 From 5bee8267442d15df237db62c8643744c0b264cfd Mon Sep 17 00:00:00 2001 From: Shane Volpe Date: Sat, 10 Feb 2007 19:25:37 +0000 Subject: fusionsound: add package --- .../directfb/fusionsound_0.9.26+cvs20070207.bb | 37 ++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 packages/directfb/fusionsound_0.9.26+cvs20070207.bb diff --git a/packages/directfb/fusionsound_0.9.26+cvs20070207.bb b/packages/directfb/fusionsound_0.9.26+cvs20070207.bb new file mode 100644 index 0000000000..fe04a195c1 --- /dev/null +++ b/packages/directfb/fusionsound_0.9.26+cvs20070207.bb @@ -0,0 +1,37 @@ +DESCRIPTION = "FusionSound for DirectFB" +DEPENDS = "directfb" +SECTION = "libs" +LICENSE = "LGPL" + +# this is a CVS only release + +SRC_URI = "cvs://anonymous@cvs.directfb.org/cvs/directfb;method=pserver;module=FusionSound;date=${@bb.data.getVar('PV', d, 1)[9:]}" + +S = "${WORKDIR}/FusionSound" + +inherit autotools pkgconfig + +do_configure_append() { + find ${S} -type f | xargs sed -i 's:I/usr/include:I${STAGING_INCDIR}:g' +} + +do_stage() { + autotools_stage_all +} + +do_install() { + oe_runmake 'DESTDIR=${D}' install +} + +FILES_fusionsound-dbg_append = " ${libdir}/directfb-1.0-0/*/*/.debug/*.so \ + ${libdir}/directfb-1.0-0/*/.debug/*.so \ + " + +FILES_fusionsound-dev_append = " ${libdir}/directfb-1.0-0/interfaces/*/*.la \ + ${libdir}/directfb-1.0-0/snddrivers/*.la \ + " + +FILES_fusionsound_append = " ${libdir}/directfb-1.0-0/interfaces/*/*.so \ + ${libdir}/directfb-1.0-0/snddrivers/*.so \ + " + -- cgit v1.2.3 From 27cf1700682462904c743be8407591b283a8c4a4 Mon Sep 17 00:00:00 2001 From: Shane Volpe Date: Sat, 10 Feb 2007 19:27:16 +0000 Subject: directfb lite: add package to OE --- packages/directfb/lite_0.9.26+cvs20070207.bb | 40 ++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 packages/directfb/lite_0.9.26+cvs20070207.bb diff --git a/packages/directfb/lite_0.9.26+cvs20070207.bb b/packages/directfb/lite_0.9.26+cvs20070207.bb new file mode 100644 index 0000000000..2f43627829 --- /dev/null +++ b/packages/directfb/lite_0.9.26+cvs20070207.bb @@ -0,0 +1,40 @@ +DESCRIPTION = "LiTE stands for Lightweight Toolkit Enabler. Its role is to \ + facilitate the functions of DirectFB so that a toolbox could \ + be written on top of DirectFB with less effort. As such LiTE \ + has abstractions for the underlying graphics and event systems." + +DEPENDS = "directfb" +SECTION = "libs" +LICENSE = "LGPL" + +# this is a CVS only release + +SRC_URI = "cvs://anonymous@cvs.directfb.org/cvs/directfb;method=pserver;module=lite;date=${@bb.data.getVar('PV', d, 1)[9:]}" + +S = "${WORKDIR}/lite" + +inherit autotools pkgconfig + +do_configure_append() { + find ${S} -type f | xargs sed -i 's:I/usr/include:I${STAGING_INCDIR}:g' +} + +do_stage() { + autotools_stage_all +} + +do_install() { + oe_runmake 'DESTDIR=${D}' install +} + +FILES_lite-dbg_append = " ${libdir}/directfb-1.0-0/*/*/.debug/*.so \ + ${libdir}/directfb-1.0-0/*/.debug/*.so \ + " +FILES_lite-dev_append = " ${libdir}/directfb-1.0-0/interfaces/*/*.la \ + " + +FILES_lite_append = " ${libdir}/directfb-1.0-0/interfaces/*/*.so \ + ${datadir}/LiTE/* \ + ${datadir}/fonts/truetype/* \ + " + -- cgit v1.2.3