From 297fac9b424a54ec0340d8062661e2887636fb35 Mon Sep 17 00:00:00 2001 From: Rene Wagner Date: Sat, 22 Apr 2006 11:55:50 +0000 Subject: libsdl-mixer: explicitely disable ogg/vorbis support (libraries not in DEPENDS)packages/libsdl/libsdl-mixer_1.2.6.bb --- classes/image_ipk.bbclass | 36 ++++++++++ classes/kernel.bbclass | 3 + classes/multimachine.inc | 2 + conf/bitbake.conf | 2 +- conf/distro/familiar-0.8.4.conf | 84 ++++++++++++++++++++++ conf/distro/familiar-feeds.inc | 24 +++++++ packages/konqueror/konqueror-embedded_20030705.bb | 4 +- packages/libsdl/libsdl-mixer_1.2.6.bb | 4 +- .../linux/handhelds-pxa_2.4.19-rmk6-pxa1-hh41.bb | 2 +- packages/meta/gpe-image.bb | 11 ++- packages/meta/meta-opie.bb | 4 +- packages/meta/opie-image.bb | 12 +++- packages/opie-rdesktop/opie-rdesktop.inc | 4 +- packages/python/python_2.4.2.bb | 2 +- 14 files changed, 180 insertions(+), 14 deletions(-) create mode 100644 conf/distro/familiar-0.8.4.conf create mode 100644 conf/distro/familiar-feeds.inc diff --git a/classes/image_ipk.bbclass b/classes/image_ipk.bbclass index 5fdd340673..37d4b338d6 100644 --- a/classes/image_ipk.bbclass +++ b/classes/image_ipk.bbclass @@ -53,6 +53,32 @@ fakeroot do_rootfs () { ${IMAGE_POSTPROCESS_COMMAND} } +DISTRO_LOCALE_FEEDS_PREFIXES ?= "" +DISTRO_LOCALE_FEEDS_HEADER ?= "" + +python __anonymous() { + prefixes = bb.data.getVar("DISTRO_LOCALE_FEEDS_PREFIXES", d, 1).split() + locale_feeds = bb.data.getVar("DISTRO_LOCALE_FEEDS_HEADER", d, 1) + + # add template + locale_feeds += "# For each supported locale there is a subfeed in each of the feed folders.\n" + locale_feeds += "# You can use your webbrowser to check for valid locale codes.\n\n" + locale_feeds += "# To point ipkg at packages for your locale, replace with the\n" + locale_feeds += "# locale code in the template below and remove the leading '#' characters.\n\n" + for p in prefixes: + locale_feeds += "# src/gz %s-locale- %s/locale/\n" % (p.split('/')[-1], p) + + # add feed for each IMAGE_LINGUA + linguas = bb.data.getVar("IMAGE_LINGUAS", d, 1).split() + for l in linguas: + fst = l.split('-')[0] + locale_feeds += "\n# %s locale feeds\n" % fst + for p in prefixes: + locale_feeds += "src/gz %s-locale-%s %s/locale/%s\n" % (p.split('/')[-1], fst, p, fst) + + bb.data.setVar("DISTRO_LOCALE_FEEDS", locale_feeds, d) +} + insert_feed_uris () { echo "Building feeds for [${DISTRO}].." @@ -69,4 +95,14 @@ insert_feed_uris () { # insert new feed-sources echo "src/gz $feed_name $feed_uri" >> ${IMAGE_ROOTFS}/etc/ipkg/${feed_name}-feed.conf done + + if [ -z ${FEED_URIS} ]; then +cat > ${IMAGE_ROOTFS}/etc/ipkg/${DISTRO}-${DISTRO_VERSION}-feeds.conf < ${IMAGE_ROOTFS}/etc/ipkg/${DISTRO}-${DISTRO_VERSION}-locale-feeds.conf <