diff options
| author | Stefan Schmidt <stefan@datenfreihafen.org> | 2008-10-19 00:43:17 +0200 |
|---|---|---|
| committer | Stefan Schmidt <stefan@datenfreihafen.org> | 2008-10-19 00:43:17 +0200 |
| commit | 14bf8220ea36950431c7d521a9ab47dace33ba9d (patch) | |
| tree | 04a23c0f7bbea0d4142747143f355e256aaa1055 /packages | |
| parent | 310ccc10715067a20f96c87c4e78553193060c90 (diff) | |
| parent | f5908addf3671abab19e1e43763b3b0ca60a451b (diff) | |
Merge branch 'org.openembedded.dev' of git@git.openembedded.net:openembedded into org.openembedded.dev
Diffstat (limited to 'packages')
86 files changed, 2109 insertions, 468 deletions
diff --git a/packages/base-files/base-files/collie/fstab b/packages/base-files/base-files/collie/fstab deleted file mode 100644 index c2e3f3c189..0000000000 --- a/packages/base-files/base-files/collie/fstab +++ /dev/null @@ -1,13 +0,0 @@ -/dev/mtdblock4 / jffs2 defaults 1 1 -proc /proc proc defaults 0 0 -/dev/hda1 /media/cf auto defaults,sync,noauto,noatime,user,exec,suid,gid=100,umask=0002 0 0 -tmpfs /var/volatile tmpfs mode=0755 0 0 -tmpfs /dev/shm tmpfs mode=0777 0 0 - -# we use a non-volatile ramdisk, see /etc/init.d/ramdisk -#tmpfs /media/ram tmpfs defaults 0 0 - -# SD/MMC in kernel 2.4 -#/dev/mmcda1 /media/card auto defaults,sync,noauto 0 0 -# SD/MMC in kernel 2.6 -/dev/mmcblk0p1 /media/card auto defaults,sync,noauto 0 0 diff --git a/packages/base-files/base-files_3.0.14.bb b/packages/base-files/base-files_3.0.14.bb index 4a7a41ac57..31164e4bc1 100644 --- a/packages/base-files/base-files_3.0.14.bb +++ b/packages/base-files/base-files_3.0.14.bb @@ -1,7 +1,7 @@ DESCRIPTION = "Miscellaneous files for the base system." SECTION = "base" PRIORITY = "required" -FILE_PR = "r81" +FILE_PR = "r82" LICENSE = "GPL" SRC_URI = " \ diff --git a/packages/boost/boost-36.inc b/packages/boost/boost-36.inc index 826ad81299..3ccb66f4b6 100644 --- a/packages/boost/boost-36.inc +++ b/packages/boost/boost-36.inc @@ -15,59 +15,52 @@ BOOST_VER = "${@"_".join(bb.data.getVar("PV",d,1).split("."))}" BOOST_MAJ = "${@"_".join(bb.data.getVar("PV",d,1).split(".")[0:2])}" BOOST_P = "boost_${BOOST_VER}" -S = "${WORKDIR}/${BOOST_P}" - -# Make a package for each library, plus -dev and -python -PACKAGES = "${PN}-dbg" -BOOSTLIBS = "" - -PACKAGES += "boost-date-time" -FILES_boost-date-time = "${libdir}/libboost_date_time*.so*" - -BOOSTLIBS += "boost-filesystem" -FILES_boost-filesystem = "${libdir}/libboost_filesystem*.so*" - -BOOSTLIBS += "boost-prg-exec-monitor" -FILES_boost-prg-exec-monitor = "${libdir}/libboost_prg_exec_monitor*.so*" - -BOOSTLIBS += "boost-program-options" -FILES_boost-program-options = "${libdir}/libboost_program_options*.so*" - -BOOSTLIBS += "boost-regex" -FILES_boost-regex = "${libdir}/libboost_regex*.so*" - -BOOSTLIBS += "boost-signals" -FILES_boost-signals = "${libdir}/libboost_signals*.so*" - -BOOSTLIBS += "boost-test-exec-monitor" -FILES_boost-test-exec-monitor = "${libdir}/libboost_test_exec_monitor*.so*" +BOOST_LIBS = "\ + date_time \ + filesystem \ + graph \ + iostreams \ + program_options \ + regex \ + signals \ + system \ + test \ + thread \ + " + +# FIXME: for some reason this fails on powerpc +#BOOST_LIBS += "serialization" + +# To enable python, uncomment the following: +#BOOST_LIBS += "python" +#DEPENDS += "python" +#PYTHON_ROOT = "${STAGING_DIR_HOST}/${layout_prefix}" +#PYTHON_VERSION = "2.5" -BOOSTLIBS += "boost-thread-mt" -FILES_boost-thread-mt = "${libdir}/libboost_thread-mt.so*" - -BOOSTLIBS += "boost-unit-test-framework" -FILES_boost-unit-test-framework = "${libdir}/libboost_unit_test_framework*.so*" - -BOOSTLIBS += "boost-iostreams" -FILES_boost-iostreams = "${libdir}/libboost_iostreams*.so*" - -BOOSTLIBS += "boost-serialization" -FILES_boost-serialization = "${libdir}/libboost_serialization*.so*" - -BOOSTLIBS += "boost-wserialization" -FILES_boost-wserialization = "${libdir}/libboost_wserialization*.so*" - -# Python - remove this and set: -#PYTHON_ROOT = "/dev/null" -# to remove the python build -DEPENDS += "python" -PYTHON_ROOT = "${STAGING_DIR_HOST}/${layout_prefix}" -PYTHON_VERSION = "2.5" +S = "${WORKDIR}/${BOOST_P}" -BOOSTLIBS += "boost-python" -FILES_boost-python = "${libdir}/libboost_python*.so*" +# Make a package for each library, plus -dev +PACKAGES = "${PN}-dbg ${BOOST_PACKAGES}" +python __anonymous () { + import bb + + packages = [] + extras = [] + for lib in bb.data.getVar('BOOST_LIBS', d, 1).split( ): + pkg = "boost-%s" % lib.replace("_", "-") + extras.append("--with-%s" % lib) + packages.append(pkg) + if not bb.data.getVar("FILES_%s" % pkg, d, 1): + bb.data.setVar("FILES_%s" % pkg, "${libdir}/libboost_%s*.so*" % lib, d) + bb.data.setVar("BOOST_PACKAGES", " ".join(packages), d) + bb.data.setVar("BJAM_EXTRA", " ".join(extras), d) +} -PACKAGES += "${BOOSTLIBS}" +# Override the contents of specific packages +FILES_boost-serialization = "${libdir}/libboost_serialization*.so* \ + ${libdir}/libboost_wserialization*.so*" +FILES_boost-test = "${libdir}/libboost_prg_exec_monitor*.so \ + ${libdir}/libboost_unit_test_framework*.so*" # -dev last to pick up the remaining stuff PACKAGES += "${PN}-dev" @@ -75,7 +68,7 @@ FILES_${PN}-dev = "${includedir} ${libdir}/libboost_*.so ${libdir}/libboost_*.a" # "boost" is a metapackage which pulls in all boost librabries PACKAGES += "${PN}" -RRECOMMENDS_${PN} += "${BOOSTLIBS}" +RRECOMMENDS_${PN} += "${BOOST_PACKAGES}" # Oh yippee, a new build system, it's sooo cooool I could eat my own # foot. inlining=on lets the compiler choose, I think. At least this @@ -122,12 +115,6 @@ BJAM_TOOLS = "-sTOOLS=gcc \ '--layout=system' \ " -BJAM_EXTRA = '\ - --with-thread \ - --with-date_time \ - --with-filesystem \ - ' - BJAM_OPTS = '${BJAM_TOOLS} \ --builddir=${S}/${TARGET_SYS} \ --with-python-root=${PYTHON_ROOT} \ diff --git a/packages/boost/boost_1.36.0.bb b/packages/boost/boost_1.36.0.bb index 20a8f0ad47..17fddb06b4 100644 --- a/packages/boost/boost_1.36.0.bb +++ b/packages/boost/boost_1.36.0.bb @@ -2,7 +2,7 @@ include boost-36.inc DEFAULT_PREFERENCE = "-1" -FILE_PR = "r1" +FILE_PR = "r3" SRC_URI = "${SOURCEFORGE_MIRROR}/boost/${BOOST_P}.tar.bz2 \ file://arm-intrinsics.patch;patch=1 \ diff --git a/packages/duke3d/duke3d_svn.bb b/packages/duke3d/duke3d_svn.bb index 11c33b1fad..36e46df513 100644 --- a/packages/duke3d/duke3d_svn.bb +++ b/packages/duke3d/duke3d_svn.bb @@ -1,6 +1,6 @@ DESCRIPTION = "Duke Nukem 3D game engine" LICENSE = "GPLv2" -DEPENDS = "libsdl libsdl-mixer" +DEPENDS = "virtual/libsdl libsdl-mixer" SRCREV = "185" PV = "0.0+svnr${SRCREV}" diff --git a/packages/freesmartphone/frameworkd_git.bb b/packages/freesmartphone/frameworkd_git.bb index 3ad398b5e7..2fd8a480fd 100644 --- a/packages/freesmartphone/frameworkd_git.bb +++ b/packages/freesmartphone/frameworkd_git.bb @@ -4,7 +4,7 @@ AUTHOR = "Michael 'Mickey' Lauer <mlauer@vanille-media.de> et. al." SECTION = "console/network" DEPENDS = "python-cython-native python-pyrex-native" LICENSE = "GPL" -PV = "0.8.4.0+gitr${SRCREV}" +PV = "0.8.4.2+gitr${SRCREV}" FILE_PR = "r0" inherit distutils update-rc.d @@ -35,6 +35,7 @@ RDEPENDS_${PN} += "\ python-shell \ python-subprocess \ python-syslog \ + python-textutils \ \ ${PN}-config \ " @@ -49,10 +50,21 @@ RRECOMMENDS_${PN}_append_om-gta01 = "gsm0710muxd" RRECOMMENDS_${PN}_append_om-gta02 = "gsm0710muxd" PACKAGES =+ "${PN}-config" - PACKAGE_ARCH_${PN}-config = "${MACHINE_ARCH}" -FILES_${PN}-config = "${sysconfdir}/frameworkd.conf" -CONFFILES_${PN}-config = "${sysconfdir}/frameworkd.conf" + +FILES_${PN}-config = "\ + ${sysconfdir}/frameworkd.conf \ + ${sysconfdir}/freesmartphone \ +" +CONFFILES_${PN}-config = "\ + ${sysconfdir}/frameworkd.conf \ + ${sysconfdir}/freesmartphone/opreferences/conf/phone/silent.yaml \ + ${sysconfdir}/freesmartphone/opreferences/conf/phone/default.yaml \ + ${sysconfdir}/freesmartphone/opreferences/conf/profiles/default.yaml \ + ${sysconfdir}/freesmartphone/opreferences/conf/rules/silent.yaml \ + ${sysconfdir}/freesmartphone/opreferences/conf/rules/default.yaml \ + ${sysconfdir}/freesmartphone/oevents/rules.yaml \ +" PACKAGE_ARCH_${PN} = "${BASE_PACKAGE_ARCH}" FILES_${PN} += "${sysconfdir}/dbus-1 ${sysconfdir}/freesmartphone ${sysconfdir}/init.d ${datadir}" diff --git a/packages/gcc/gcc-4.1.1.inc b/packages/gcc/gcc-4.1.1.inc index 92ee2d7bb8..ac8a4a8a71 100644 --- a/packages/gcc/gcc-4.1.1.inc +++ b/packages/gcc/gcc-4.1.1.inc @@ -29,6 +29,7 @@ SRC_URI = "http://ftp.gnu.org/pub/gnu/gcc/gcc-4.1.1/gcc-4.1.1.tar.bz2 \ file://gcc-ignore-cache.patch;patch=1 \ file://gcc-4.1.1-e300cx.patch;patch=1 \ file://pr34130.patch;patch=1 \ + file://sed-fixinc-backslash.patch;patch=1 \ " SRC_URI_append_sh3 = " file://sh3-installfix-fixheaders.patch;patch=1 " diff --git a/packages/gcc/gcc-4.1.1/sed-fixinc-backslash.patch b/packages/gcc/gcc-4.1.1/sed-fixinc-backslash.patch new file mode 100644 index 0000000000..9aff951bdc --- /dev/null +++ b/packages/gcc/gcc-4.1.1/sed-fixinc-backslash.patch @@ -0,0 +1,18 @@ +2006-09-06 Matthias Klose <doko@debian.org> + + * Makefile.in (s-macro_list): Conform to POSIX rules in single quoted + strings. + +--- s/gcc/Makefile.in~ 2008-10-18 08:53:56.000000000 +0100 ++++ s/gcc/Makefile.in 2008-10-18 08:55:16.000000000 +0100 +@@ -3146,8 +3146,8 @@ + macro_list: s-macro_list; @true + s-macro_list : $(GCC_PASSES) + echo | $(GCC_FOR_TARGET) -E -dM - | \ +- sed -n 's/^#define \([^_][a-zA-Z0-9_]*\).*/\1/p ; \ +- s/^#define \(_[^_A-Z][a-zA-Z0-9_]*\).*/\1/p' | \ ++ sed -n -e 's/^#define \([^_][a-zA-Z0-9_]*\).*/\1/p' \ ++ -e 's/^#define \(_[^_A-Z][a-zA-Z0-9_]*\).*/\1/p' | \ + sort -u > tmp-macro_list + $(SHELL) $(srcdir)/../move-if-change tmp-macro_list macro_list + $(STAMP) s-macro_list diff --git a/packages/gcc/gcc-configure-common.inc b/packages/gcc/gcc-configure-common.inc index 795911db74..e88cee5cb2 100644 --- a/packages/gcc/gcc-configure-common.inc +++ b/packages/gcc/gcc-configure-common.inc @@ -75,6 +75,13 @@ do_configure () { export LDFLAGS_FOR_BUILD="${BUILD_LDFLAGS}" export ARCH_FLAGS_FOR_TARGET="${ARCH_FLAGS_FOR_TARGET}" (cd ${S} && gnu-configize) || die "failure running gnu-configize" + + # splice our idea of where the headers live into gcc's world + echo "NATIVE_SYSTEM_HEADER_DIR = ${layout_includedir}" > ${T}/t-oe + sed 's%^tmake_file=.*$%& ${T}/t-oe%' < ${S}/gcc/Makefile.in >${S}/gcc/Makefile.in.new + mv ${S}/gcc/Makefile.in.new ${S}/gcc/Makefile.in + + echo "#define STANDARD_INCLUDE_DIR \"${layout_includedir}\"" >> ${S}/gcc/defaults.h + oe_runconf } - diff --git a/packages/gcc/gcc-cross-kernel.inc b/packages/gcc/gcc-cross-kernel.inc index a567c60119..c0a8de77cc 100644 --- a/packages/gcc/gcc-cross-kernel.inc +++ b/packages/gcc/gcc-cross-kernel.inc @@ -9,6 +9,13 @@ do_install () { : } +do_compile () { + # This compiler is only for the kernel. Don't bother running fixincludes. + mkdir -p gcc + touch gcc/stmp-fixinc + oe_runmake +} + do_stage () { cd gcc oe_runmake installdirs install-common install-headers install-libgcc diff --git a/packages/gettext/gettext-0.17/use_open_properly.patch b/packages/gettext/gettext-0.17/use_open_properly.patch new file mode 100644 index 0000000000..111714b543 --- /dev/null +++ b/packages/gettext/gettext-0.17/use_open_properly.patch @@ -0,0 +1,15 @@ +Index: gettext-0.17/gettext-tools/src/write-catalog.c +=================================================================== +--- gettext-0.17.orig/gettext-tools/src/write-catalog.c 2008-10-16 15:18:16.000000000 +0200 |
