diff options
author | Frans Meulenbroeks <fransmeulenbroeks@gmail.com> | 2010-01-21 19:54:05 +0100 |
---|---|---|
committer | Frans Meulenbroeks <fransmeulenbroeks@gmail.com> | 2010-01-21 19:54:05 +0100 |
commit | 33762d41c0e68ea1c130e9fd2e283f70e2338592 (patch) | |
tree | 04255a24a3c63d6c8a624ebca25db93b5e96f78d | |
parent | 6cd92d1545ccf5d4f1459f70faa81be68adb0794 (diff) | |
parent | 21b699c06496cb374dbf05def5c57ff10720392e (diff) |
Merge branch 'org.openembedded.dev' of git.openembedded.org:openembedded into org.openembedded.dev
83 files changed, 1410 insertions, 94 deletions
diff --git a/MAINTAINERS b/MAINTAINERS index ae0519b2ca..83b2835c23 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -180,10 +180,13 @@ Interests: Small read-only Linux based firmware, deterministic builds. Recipes: lighttpd, fastcgi, squashfs-tools, rt-tests, linux-rt, linux Machines: mpc8313e-rdb, mpc8315e-rdb, canyonlands, calamari, openrd-base -Person: Liam Girdwoord -Mail: liam.girdwood@wolfsonmicro.com +Person: Liam Girdwood +Mail: lrg@slimlogic.co.uk +Website: http://www.slimlogic.co.uk +Interests: Mobile and embedded Linux within commercial environments. +Interests: Kernel development, userspace development, audio, power management. Machines: mx31ads -Recipes: mx31ads-kernel* +Recipes: mx31ads-kernel*, glibc-2.10.1, some pulseaudio versions Person: Lynn Lin Mail: Lin_Lynn@emc.com diff --git a/classes/package_dbg.bbclass b/classes/package_dbg.bbclass new file mode 100644 index 0000000000..39dceaf9b3 --- /dev/null +++ b/classes/package_dbg.bbclass @@ -0,0 +1,125 @@ +# package_dbg.bbclass: populate -dbg versions for each package in PACKAGES +# +# Copyright (c) 2009 MontaVista Software, Inc. All rights reserved. +# +# Released under the MIT license (see LICENSE.MIT for the terms) + + +inherit package + + +PACKAGE_DBG_DIRS = "${bindir} ${sbindir} \ + ${libexecdir} ${libdir} \ + ${base_bindir} ${base_sbindir} \ + ${base_libdir}" +PACKAGE_DBG_DESC = "Debugging files for %s" +PACKAGE_DBG_EXCLUDE = "${PN}-locale* ${PN}-doc ${PN}-dev *-dbg" + + +def __find(dir): + """ Given a directory, recurses into that directory, + returning all files. """ + + from os import walk + from os.path import join + + for root, dirs, files in walk(dir): + for file in files: + yield join(root, file) + +def __package_get_files(pkg, d): + """ Obtains a list of files to be included in a package. + + Starting from the FILES_<pkg> variable, it expands any globs in the list, + which removes missing files, and traverses any directories in the list. + + It does *not* remove files which are also in other packages, it's left + to the user's discretion whether to allow overlap. """ + + from glob import glob + from os.path import join, isdir, islink + + installdir = d.getVar("D", True) + installdirlen = len(installdir) + + files = (d.getVar("FILES_%s" % pkg, True) or "").split() + for globbed in (glob(join(installdir, file[1:])) for file in files): + for path in globbed: + if isdir(path) and not islink(path): + for file in __find(path): + yield file[installdirlen:] + else: + yield path[installdirlen:] + +def add_dbg_packages(d): + from fnmatch import fnmatch + + packages = d.getVar("PACKAGES", True).split() + excludes = d.getVar("PACKAGE_DBG_EXCLUDE", True).split() + + for pkg in tuple(packages): + if any(fnmatch(pkg, excluded) for excluded in excludes): + continue + + dbgpkg = "%s-dbg" % pkg + if not dbgpkg in packages: + packages.insert(0, dbgpkg) + + d.setVar("PACKAGES", " ".join(packages)) + + +# Add the -dbg packages to PACKAGES +python () { + from bb.data import inherits_class as inherits + + # Task handles its own -dbg versions of its packages at the moment + if not inherits("task", d): + dynpkgs = d.getVar("PACKAGES_DYNAMIC", True).split() + dynpkgs += ["%s-dbg" % dyn for dyn in dynpkgs] + d.setVar("PACKAGES_DYNAMIC", " ".join(dynpkgs)) + + add_dbg_packages(d) +} + +python populate_packages_prepend () { + from bb.data import inherits_class as inherits + + if not inherits("task", d): + bb.build.exec_func("package_do_dbg", d) +} + +# Populate the -dbg subpackage metadata +python package_do_dbg() { + """ Populate the -dbg subpackage metadata. """ + + from os.path import join, basename, dirname + + def setVar(key, val): + if d.getVar(key, val) is None: + d.setVar(key, val) + + add_dbg_packages(d) + packages = d.getVar("PACKAGES", True).split() + desc = d.getVar("PACKAGE_DBG_DESC", True) + debug_dirs = d.getVar("PACKAGE_DBG_DIRS", True).split() + + done = [] + for pkgname in tuple(packages): + files = tuple(__package_get_files(pkgname, d)) + dbg = [join(dirname(file), ".debug", basename(file)) + for file in files + if not file in done and + any(file.startswith(dir) for dir in debug_dirs)] + done.extend(files) + + if dbg: + setVar("FILES_%s-dbg" % pkgname, " ".join(dbg)) + setVar("DESCRIPTION_%s-dbg" % pkgname, desc % pkgname) + setVar("RDEPENDS_%s-dbg" % pkgname, pkgname) + else: + try: + packages.remove("%s-dbg" % pkgname) + except ValueError: + pass + d.setVar("PACKAGES", " ".join(packages)) +} diff --git a/classes/qt3e.bbclass b/classes/qt3e.bbclass index 35958b34ab..d3d4a14e8a 100644 --- a/classes/qt3e.bbclass +++ b/classes/qt3e.bbclass @@ -6,6 +6,6 @@ export QTEDIR="${STAGING_DIR_HOST}/qte3" export OE_QMAKE_UIC="${STAGING_BINDIR_NATIVE}/uic3" export OE_QMAKE_MOC="${STAGING_BINDIR_NATIVE}/moc3" export OE_QMAKE_CXXFLAGS="${CXXFLAGS} " -export OE_QMAKE_INCDIR_QT="${QTEDIR}/include" -export OE_QMAKE_LIBDIR_QT="${QTEDIR}/lib" +export OE_QMAKE_INCDIR_QT="${STAGING_INCDIR}/qte3/include" +export OE_QMAKE_LIBDIR_QT="${STAGING_LIBDIR}/qte3/lib" export OE_QMAKE_LIBS_QT="qte" diff --git a/classes/sanity.bbclass b/classes/sanity.bbclass index f65df61c1d..f57d8e47d0 100644 --- a/classes/sanity.bbclass +++ b/classes/sanity.bbclass @@ -96,11 +96,14 @@ def check_sanity(e): if not check_app_exists("qemu-arm", e.data): messages = messages + "qemu-native was in ASSUME_PROVIDED but the QEMU binaries (qemu-arm) can't be found in PATH" - if os.path.exists("/proc/sys/vm/mmap_min_addr"): - f = file("/proc/sys/vm/mmap_min_addr", "r") - if (f.read().strip() != "0"): - messages = messages + "/proc/sys/vm/mmap_min_addr is not 0. This will cause problems with qemu so please fix the value (as root).\n\nTo fix this in later reboots, set vm.mmap_min_addr = 0 in /etc/sysctl.conf.\n" - f.close() + try: + if os.path.exists("/proc/sys/vm/mmap_min_addr"): + f = file("/proc/sys/vm/mmap_min_addr", "r") + if (f.read().strip() != "0"): + messages = messages + "/proc/sys/vm/mmap_min_addr is not 0. This will cause problems with qemu so please fix the value (as root).\n\nTo fix this in later reboots, set vm.mmap_min_addr = 0 in /etc/sysctl.conf.\n" + f.close() + except: + pass for util in required_utilities.split(): if not check_app_exists( util, e.data ): diff --git a/conf/amend-recipes.inc b/conf/amend-recipes.inc new file mode 100644 index 0000000000..bcb93d4e75 --- /dev/null +++ b/conf/amend-recipes.inc @@ -0,0 +1,29 @@ +# Allows tweaks to be amended to a recipe via a .inc in its FILESPATH +# +# Simply drop amend.inc into an appropriate place in a recipe's FILESPATH and +# it'll be parsed in after the recipe itself is. +# +# Copyright (c) 2009 MontaVista Software, Inc. All rights reserved. +# +# Released under the MIT license (see LICENSE.MIT for the terms) + +python () { + import bb, os + + filespath = d.getVar("FILESPATH", 1).split(":") + amendfiles = [os.path.join(fpath, "amend.inc") + for fpath in filespath] + + # Adding all amend.incs that can exist to the __depends, to ensure that + # creating one of them invalidates the bitbake cache. Note that it + # requires a fix in bitbake. Without the bitbake fix, the cache will be + # completely invalidated on every bitbake execution. + depends = d.getVar("__depends", 0) or [] + d.setVar("__depends", depends + [(file, 0) for file in amendfiles if not os.path.exists(file)]) + + existing = (file for file in amendfiles if os.path.exists(file)) + try: + bb.parse.handle(existing.next(), d, 1) + except StopIteration: + pass +} diff --git a/conf/checksums.ini b/conf/checksums.ini index d78264d553..ea05753c73 100644 --- a/conf/checksums.ini +++ b/conf/checksums.ini @@ -1362,6 +1362,10 @@ sha256=0b654cd39126333a0dab7fdd2fd0c5023f6eb45e72d1d8bf9fb3cab175002bc7 md5=0fc5008858661c0abd0399acbe30ef28 sha256=26c833b0bdf3281c61e03f1fb985feced88cf4a5cebce7bd055f05e025460037 +[http://www.us.xfce.org/archive/xfce-4.6.1/src/Thunar-1.0.1.tar.bz2] +md5=218373aa45d74b6ba8c69c4d5af3bb19 +sha256=7a2b6b493463756bbc9c54144fab2f2163bc84f0896b4c06fd225d11025a210d + [http://www.us.xfce.org/archive/xfce/4.6.1/src/Thunar-1.0.1.tar.bz2] md5=218373aa45d74b6ba8c69c4d5af3bb19 sha256=7a2b6b493463756bbc9c54144fab2f2163bc84f0896b4c06fd225d11025a210d @@ -5814,6 +5818,10 @@ sha256=1954a7e96d7fe70611c483836ed143e84a069eed6d3dab22c05a531bfb6da9e4 md5=5cb7987d29db068153bdc8f23c767c43 sha256=2b33f7c7658fb8f004c3aaf2717711262baeb5d77cf3fd24e9b6cc263895122d +[http://xorg.freedesktop.org/releases/individual/proto/dri2proto-2.2.tar.bz2] +md5=3ca8ddb42cd4ee31b8690031303221af +sha256=f352950ffee4437d9da3e216d9a348ba0c7cf80c8c0fb30385c77ce3b780b2a1 + [http://www.ex-parrot.com/~chris/driftnet/driftnet-0.1.6.tar.gz] md5=8e11d77770452f97bb3c23f510489815 sha256=dbdf7ead3ae14b109f88c86dedeb7524be8c257aa773a781891216f013373d6d @@ -9314,6 +9322,10 @@ sha256=9d9ef356cc4478499442573556787125dc76c8acd1e55e5001fb11f1e224d27f md5=c9f8cebfba72bfab674bc0170551fb8d sha256=7fb83a28ae24d4f56eca88bc48f0fe414faee1afb2574bfb6257b52e8c716fcf +[http://xorg.freedesktop.org/releases/individual/proto/glproto-1.4.11.tar.bz2] +md5=78e7c4dc7dcb74b1869fee7897e00f59 +sha256=fe481d89d74f01db4f3a671ef1f29df29da74dff5b678517ee659a6f9d819451 + [http://xorg.freedesktop.org/releases/individual/proto/glproto-1.4.8.tar.bz2] md5=3dfbd17203c0c88b94b6f579f24c11cc sha256=2f5d84413853b688b7bb46c66fee108a499190e1f7810afffb775910778f053c @@ -9654,6 +9666,14 @@ sha256=7acda11db2eb07b2f68a1a506203fe95141954acb10c394850418fd04ed80a07 md5=07fa253d8506c22640d74eb4fc90a092 sha256=1b3234f1feac6a619a9a61a0b5f67ab8cd89d94aeeec9a5cc2d78b81d9d8cab4 +[http://ftp.gnome.org/pub/GNOME/sources/gnome-keyring/2.28/gnome-keyring-2.28.2.tar.bz2] +md5=97ea6823e88b39284187764c1ca95a59 +sha256=d2d686fb2528ee045bbcd9f18d0d452e0eb88c2265a1947f639152b61a5987f6 + +[http://ftp.gnome.org/pub/GNOME/sources/gnome-keyring/2.29/gnome-keyring-2.29.5.tar.bz2] +md5=13c0da5743242313400fe86a363a5f69 +sha256=cf63c162845929a1b1f407a334afdafdc2bc3769001d51d214bc22284a9fba9f + [http://ftp.gnome.org/pub/GNOME/sources/gnome-media/2.26/gnome-media-2.26.0.tar.bz2] md5=3d519bc7d812aed8f6e4288b6d3cdf26 sha256=39e7646d0790e05a010da1eb2d7552dcb5311abd72f001477c9c465d7146b9f7 @@ -13922,6 +13942,10 @@ sha256=e4863cdf5d471763806e9bcae25ea47606a56cd91a5546a34c093aa3de181051 md5=001d780829f936e34851ef7cd37b4dfd sha256=4def4d5c9fce85d690f1f29d675154594acdea3d3fe792d0cb513732c7b4bcb2 +[http://xorg.freedesktop.org/releases/individual/lib/libX11-1.3.3.tar.bz2] +md5=5d74971360f194ce33d2bd2e4d9b066c +sha256=8c7f867918a3739dc7cabe955179539d4a7ecc52cb42becfd261e5dfbff511ac + [http://xorg.freedesktop.org/releases/individual/lib/libX11-1.3.tar.bz2] md5=0545089013213e90aac19b8f8045d32e sha256=34656d022ff2f94430b534612821428fe15ade028d86a42907958167f2e497ac @@ -14646,6 +14670,10 @@ sha256=5a6d96b9b15afa5d1702eee3a1ee3e50c3cfedb65d7c3faad64036ccfb3294b4 md5=8868b6083392964a6969547ceb8d7cd1 sha256=42b2ac58b86b2cc93fbbc65f94a3d1fcf5e8f33f728384653b30dbe456e91274 +[http://ftp.gnome.org/pub/GNOME/sources/libbonobo/2.24/libbonobo-2.24.2.tar.bz2] +md5=5c7c5ea9c2f78a3c1e9ff2f1e27ad751 +sha256=95c0230a31a657e1873fc601318bbaa16722986699219317053f1cd1aa2a28bf + [http://ftp.gnome.org/pub/GNOME/sources/libbonobo/2.6/libbonobo-2.6.0.tar.bz2] md5=078942cb9c6a1a31f93958e993353f45 sha256=cd579e8dff38882d685be01449db92dad7c78900885d5a9abf6160756f83a7a8 @@ -14910,6 +14938,10 @@ sha256=ddfd398383729707846e1f1689e9acb3bc672e4f255a632c8f0d0c55ddf8718c md5=e0e66fae165d0b665b61e9516bf33ade sha256=5e07ec4b644f50160900d4281a74dd1cbf1535cfe4ab24e0c28ae5b038836a8c +[http://dri.freedesktop.org/libdrm/libdrm-2.4.17.tar.bz2] +md5=667d81f993f7fd8a1b1b1b830a28a748 +sha256=b8a4e7c610b0e970546d791c06e28882857a49d34698633a89292d7ae142316a + [http://www.metzlerbros.org/dvb/libdvb-0.5.5.1.tar.gz] md5=47612d2f8a4d4dee746a166d8b7f6f77 sha256=941e8020129111377652bd7253ea85e6c133fd1c23c66bd9fc0ca9eabab1385a @@ -15190,6 +15222,10 @@ sha256=7562042a6210947363bd6a9bbcdd03f8d02470c0347970b507f689d25a907844 md5=06b14f1cd96432b0717ed03fe013ca4d sha256=55c616b0761faaa9fb028434de97b02d5145dfc52b1db632671ebc6cc6905575 +[http://ftp.gnome.org/pub/GNOME/sources/libgdata/0.5/libgdata-0.5.1.tar.bz2] +md5=fc9be11d2f823bb16d6e03e2a0dda85d +sha256=2b90f206063405ae6cf579ed3a090b0130e849e1ead02b2ad2ed4fc6d7f585a0 + [http://geda.seul.org/release/v1.4/1.4.1/libgeda-1.4.1.tar.gz] md5=16f2e3176eb489838bad57c8728c7388 sha256=c0598428fc25e79b7ac1da35d44133e3fc50763b32fcdfffd5e6654f2f94682d @@ -17734,6 +17770,10 @@ sha256=9dbd0f6c92b33ae8b96c5a045a341a00b2454492c2229839d056e4fd1488bca5 md5=5d86ca7bb4ed458743acd922ff09dae6 sha256=e4b6ab08eaff2766c3bf85ea8d63ab31ae774266b8351772117fcc94d1318ade +[http://palm.cdnetworks.net/opensource/1.3.1/linuxkernel-2.6.24-patch.gz] +md5=651e9c518db317d11ae5b9076fb0e3ee +sha256=f9c0327a9fa379f2db6bf4b599bd1e37b65e7224aa3fd2bd860a5e0dc5b06040 + [http://linuxtv.org/downloads/linuxtv-dvb-apps-1.1.1.tar.bz2] md5=de958cdb8d00e74792dd69f3c945b037 sha256=371f8133db705bde6c2f79cccb0b1a1f626a0d94bf41acceba5d76a69155f057 @@ -22022,6 +22062,10 @@ sha256=3438437c131c9847b34106225a728c11e522776ac454bb8740a9bc7aea409f22 md5=02bd3669f53c404c19980d5efb6f86fb sha256=05f78c2fd3a5f054c0d716e8ba1b67a0c04a7a7e642d6946828ec383b389d185 +[http://cairographics.org/releases/pixman-0.17.4.tar.gz] +md5=734f70667d0a6454a1b1e332f8d50083 +sha256=dd2f4a7c9c9373d20720d78718c0e9603741a83d66da3316a020b097b1c918a9 + [http://xorg.freedesktop.org/releases/individual/lib/pixman-0.9.4.tar.bz2] md5=c354ab5b0da10227226d3ef604254875 sha256=261d239e9e3070a0a81e5b3eab92e6236c6295979bdae0a1ded05cbef93f67aa @@ -24222,6 +24266,10 @@ sha256=91619748c4dba733c60eb8a40805c972f407b2463dc6de856ac40336d66bc16c md5=5b60500bc9605d2409b71124e48aa929 sha256=59cc003bab753335b3ce14a908e663ea782514b3531dc7030379ff753ef1a78c +[http://cloud.github.com/downloads/kichkasch/rtmom/rtmom-src-0.1.3.tar.gz] +md5=c4a1012fc0e00d2b64d8d794166bf893 +sha256=9227e503a90054dd643364272d48b3eae8dae3a9c6c4a42a2859395a8786398f + [http://libtorrent.rakshasa.no/downloads/rtorrent-0.8.0.tar.gz] md5=6216be7ce5e3ead9dc115eaeea863694 sha256=597cefac4535d7f3b752253e5997b3c851c261b26b966a39beb032dcf1d5baa7 @@ -27358,6 +27406,10 @@ sha256=57d2629849796b4dc919261eadd1eea3ee6e634d58979797287f7e09408cde67 md5=8ac38951e753f250aaefbd4ba0afda94 sha256=d49ab68cad724ae51f6cb69f7f5cfff7629cbb066f4c5c8bda81d62675a21986 +[http://xorg.freedesktop.org/releases/individual/util/util-macros-1.5.0.tar.gz] +md5=ffef78135535c60c2b68d0a2a4ecae9b +sha256=d47116ce5df198859a6082af7a72505575d1685b8c82bb4ef6fbedfa3316617e + [http://xorg.freedesktop.org/releases/X11R7.0/src/util/util-macros-X11R7.0-1.0.1.tar.bz2] md5=bc6be634532d4936eb753de54e1663d3 sha256=e95a45db65b33be472a3134492e348c4cd6edc200d02a85654ffe62bc2e6fdcd @@ -28194,6 +28246,10 @@ sha256=9b4096bb1e273914adf101182c27d457f46fcc44d1b3ea027bae3d34ace8c6f7 md5=3ad40ea2b1728eefa94f60beb9951ff7 sha256=9b4096bb1e273914adf101182c27d457f46fcc44d1b3ea027bae3d34ace8c6f7 +[http://downloads.sourceforge.net/wxwindows/wxWidgets-2.9.0.tar.bz2] +md5=09058928eeb72853142c062bdec056ce +sha256=8cf5c1dcf6357b2d27efd0c737b95baf1d2d1e88b5bf24560824b5eb6f2dc782 + [http://xorg.freedesktop.org/releases/individual/app/x11perf-1.4.1.tar.bz2] md5=fd06c8b8e3572a0e14af65a49e0dd7d1 sha256=c81819618ec596fda55b950ef80f2ee02e5ce149ea99f1f741cedb459b4d3064 @@ -29662,6 +29718,10 @@ sha256=738463dbf1980b9d0f95936a2d951dc51bd776c7949215c2456580948660669e md5=4d76953e97ee760efb7627e7ac721dbf sha256=ea2b875a8bb8ab9d987192dbcb4fb595e511b382d06260baf23a936f7e61fa14 +[http://xorg.freedesktop.org/releases/individual/driver/xf86-video-intel-2.10.0.tar.bz2] +md5=78309d4f04dd8ae6585d120377042741 +sha256=e46dd691dc93db7cd6f5f22b84fea7e9f4bfd34f28026cfd680993b3ccfc48ab + [http://xorg.freedesktop.org/releases/individual/driver/xf86-video-intel-2.2.1.tar.bz2] md5=3334dc5142871b78fc609fd1b3dac3f2 sha256=d976c5f5e9c84f3817aba6ad22855446f1c2b9bfa0d53bd11c37c62cfdefa60a @@ -30222,6 +30282,10 @@ sha256=8b3e077d2534722033d7b1c647aa7f31fc7fbb5014da096b7a53170005e80226 md5=61a1dc9a22991bd04d0ff98f800775c1 sha256=a3657971232e9c7db3e7517a8aedd86d3ef4d159f7099ec974cdd03aafa41080 +[http://xorg.freedesktop.org/releases/individual/driver/xf86-video-vesa-2.3.0.tar.bz2] +md5=07fa32958aff9b463dd3af5481ef6626 +sha256=8ed85a0e94523539d81d5ae6639fa22ceb1c1e3baf89128915db65d4d2900d7a + [http://xorg.freedesktop.org/releases/X11R7.0/src/driver/xf86-video-vesa-X11R7.0-1.0.1.3.tar.bz2] md5=049ada4df1abb5aa2b6633ba90353e78 sha256=c6601cd278ebc30a0d20b49b6284bc21b4910f8ef5d24d1c62daa1591a251452 @@ -30274,6 +30338,10 @@ sha256=3e4e9abfd806b36076083ef6cacc93b713bfa4ddefe7005edfc15c64f5174366 md5=25287a202c986b33bd79fbe379c96a16 sha256=956443948d94f7459b0056d8cb8ff2cd9fba4621d8b61f0257cb84469ea7da07 +[http://xorg.freedesktop.org/releases/individual/driver/xf86-video-vmware-10.16.9.tar.bz2] +md5=3b3d38abfa1f8be4b1e26dcd236bc94f +sha256=835a5e45b54837cbbd963a48bd09db709717e097e931dd76e68e397a167e8bc1 + [http://xorg.freedesktop.org/releases/X11R7.0/src/driver/xf86-video-vmware-X11R7.0-10.11.1.3.tar.bz2] md5=4df79349e26add4c23f6be8bec347ad4 sha256=79b0bf59d866d3760fa8a55b4a19d56ae7fa6a962d629a9de5c188cec5c98c9a @@ -30498,6 +30566,10 @@ sha256=5eab9a3ba822a1163c07efd917c3425eaf149c01c09df375ac38a0cb7ddf20a4 md5=7d09d161efc7ef86b3b48791d98c8ae8 sha256=1e7a506f08c8a4f368dd18648006ba3934a94eb96fd4545f5303d46aeae9cc3e +[http://www.us.xfce.org/archive/xfce-4.6.0/src/xfce4-dev-tools-4.6.0.tar.bz2] +md5=c9587fa78e877eee858a33391d0afd62 +sha256=4763a891ac7030c109c7ca03b1b0b834859c2aac4f8e359774ee01a6875694ac + [http://www.us.xfce.org/archive/xfce/4.6.0/src/xfce4-dev-tools-4.6.0.tar.bz2] md5=c9587fa78e877eee858a33391d0afd62 sha256=4763a891ac7030c109c7ca03b1b0b834859c2aac4f8e359774ee01a6875694ac @@ -31330,6 +31402,10 @@ sha256=f4fb49209a6f3cb1c5b039b1f43870774e2eac1540b4d3235a2f13bc441da159 md5=4c63b22cad9ed8ae8b86561f0f92c327 sha256=4b644113cd030fc77615c03c7b6529e063dc1d471ec6a990e6f62eb45a9c2db4 +[http://xorg.freedesktop.org/releases/individual/xserver/xorg-server-1.7.4.tar.bz2] +md5=75d27c3a1c12293f620a2d6518fcbdfa +sha256=b8ec11b3f2c6f84c21e8cd9804672ba6e27fda3e913d58dd947205ea253e33f8 + [http://xorg.freedesktop.org/releases/X11R7.0/src/xserver/xorg-server-X11R7.0-1.0.1.tar.bz2] md5=0e7527480fb845a3c2e333bd0f47ff50 sha256=0419124e1bab473f8f9e2d7de1dba8bae2ed1375b72d55cdfb9471dac357ed47 @@ -31882,6 +31958,10 @@ sha256=487bf07b2f9ead6a59682d091081e47cfe4ca5777de32e6cec5bef55fa51c82f md5=e0744594f4e5969b20df28d897781318 sha256=6d0feb42c2f1d6011d97c776b9d580fd589cdf3cfe246cd99437c406a2740d36 +[http://xorg.freedesktop.org/releases/individual/app/xvidtune-1.0.2.tar.bz2] +md5=e40eeb4454f2a7cdde3a14f5dfd3aadd +sha256=73ca41bd5e73560663bea0d98149b099cfef5743a2282ca67547e97732618a53 + [http://xorg.freedesktop.org/releases/X11R7.0/src/app/xvidtune-X11R7.0-1.0.1.tar.bz2] md5=a12e27fb732cb115b6adc4c724c44c5d sha256=f7b3925d7e9981d146d3e5774de0521e6d48e2ed99841f538f267e8bc58bf5cd diff --git a/conf/distro/include/kaeilos-2009-preferred-versions.inc b/conf/distro/include/kaeilos-2009-preferred-versions.inc index 8b120f2eb2..870ac04036 100644 --- a/conf/distro/include/kaeilos-2009-preferred-versions.inc +++ b/conf/distro/include/kaeilos-2009-preferred-versions.inc @@ -4,7 +4,7 @@ #@NAME: KaeilOS(R) - http://www.kaeilos.com #@DESCRIPTION: KaeilOS Linux Distribution preferred version #@MAINTAINER: Marco Cavallini <m.cavallini@koansoftware.com> -#@VERSION: 11-01-2010 +#@VERSION: 20-01-2010 # # KaeilOS is a registered trade mark of KOAN - Bergamo - Italia # Product website : http://www.KaeilOS.com @@ -46,6 +46,9 @@ PREFERRED_VERSION_python = "2.6.2" PREFERRED_VERSION_samba = "3.3.9" PREFERRED_VERSION_tiff = "3.8.2+4.0.0beta2" +KAEILOS_WX_VERSION ?= "2.8.10" +PREFERRED_VERSION_wxwidgets = "${KAEILOS_WX_VERSION}" + KAEILOS_QT_VERSION ?= "4.6.0" PREFERRED_VERSION_qt4-tools-native = "${KAEILOS_QT_VERSION}" PREFERRED_VERSION_qt4-tools-sdk = "${KAEILOS_QT_VERSION}" diff --git a/conf/distro/include/preferred-xorg-versions-live.inc b/conf/distro/include/preferred-xorg-versions-live.inc index bea2b4105c..65e94fac5c 100644 --- a/conf/distro/include/preferred-xorg-versions-live.inc +++ b/conf/distro/include/preferred-xorg-versions-live.inc @@ -1,4 +1,4 @@ -#Thu Dec 31 14:54:51 CET 2009 +#Mon Jan 18 14:00:56 CET 2010 #app PREFERRED_VERSION_appres ?= "1.0.2" PREFERRED_VERSION_bdftopcf ?= "1.0.2" @@ -98,7 +98,7 @@ PREFERRED_VERSION_xsetroot ?= "1.0.3" PREFERRED_VERSION_xsm ?= "1.0.1" PREFERRED_VERSION_xstdcmap ?= "1.0.1" PREFERRED_VERSION_xtrap ?= "1.0.2" -PREFERRED_VERSION_xvidtune ?= "1.0.1" +PREFERRED_VERSION_xvidtune ?= "1.0.2" PREFERRED_VERSION_xvinfo ?= "1.1.0" PREFERRED_VERSION_xwd ?= "1.0.3" PREFERRED_VERSION_xwininfo ?= "1.0.5" @@ -156,8 +156,7 @@ PREFERRED_VERSION_xf86-video-i740 ?= "1.3.2" PREFERRED_VERSION_xf86-video-i810 ?= "1.7.4" PREFERRED_VERSION_xf86-video-impact ?= "0.2.0" PREFERRED_VERSION_xf86-video-imstt ?= "1.1.0" -#PREFERRED_VERSION_xf86-video-intel ?= "2.9.99.902" -PREFERRED_VERSION_xf86-video-intel ?= "2.9.1" +PREFERRED_VERSION_xf86-video-intel ?= "2.10.0" PREFERRED_VERSION_xf86-video-mach64 ?= "6.8.2" PREFERRED_VERSION_xf86-video-mga ?= "1.9.100" PREFERRED_VERSION_xf86-video-neomagic ?= "1.2.4" @@ -187,11 +186,10 @@ PREFERRED_VERSION_xf86-video-trident ?= "1.3.3" PREFERRED_VERSION_xf86-video-tseng ?= "1.2.3" PREFERRED_VERSION_xf86-video-v4l ?= "0.2.0" PREFERRED_VERSION_xf86-video-vermilion ?= "1.0.1" -PREFERRED_VERSION_xf86-video-vesa ?= "2.2.1" +PREFERRED_VERSION_xf86-video-vesa ?= "2.3.0" PREFERRED_VERSION_xf86-video-vga ?= "4.1.0" PREFERRED_VERSION_xf86-video-via ?= "0.2.2" -#PREFERRED_VERSION_xf86-video-vmware ?= "10.16.9" -PREFERRED_VERSION_xf86-video-vmware ?= "10.16.8" +PREFERRED_VERSION_xf86-video-vmware ?= "10.16.9" PREFERRED_VERSION_xf86-video-voodoo ?= "1.2.3" PREFERRED_VERSION_xf86-video-wsfb ?= "0.3.0" PREFERRED_VERSION_xf86-video-xgi ?= "1.5.1" @@ -244,8 +242,8 @@ PREFERRED_VERSION_libice-native ?= "1.0.6" PREFERRED_VERSION_libsm ?= "1.1.1" PREFERRED_VERSION_libsm-native ?= "1.1.1" PREFERRED_VERSION_libwindowswm ?= "1.0.1" -PREFERRED_VERSION_libx11 ?= "1.3.2" -PREFERRED_VERSION_libx11-native ?= "1.3.2" +PREFERRED_VERSION_libx11 ?= "1.3.3" +PREFERRED_VERSION_libx11-native ?= "1.3.3" PREFERRED_VERSION_libxscrnsaver ?= "1.2.0" PREFERRED_VERSION_libxtrap ?= "1.0.0" PREFERRED_VERSION_libxau ?= "1.0.5" @@ -294,8 +292,7 @@ PREFERRED_VERSION_libpciaccess ?= "0.11.0" PREFERRED_VERSION_libxkbfile ?= "1.0.6" PREFERRED_VERSION_libxkbfile-native ?= "1.0.6" PREFERRED_VERSION_libxkbui ?= "1.0.2" -#PREFERRED_VERSION_pixman ?= "0.17.2" -PREFERRED_VERSION_pixman ?= "0.16.2" +PREFERRED_VERSION_pixman ?= "0.17.4" PREFERRED_VERSION_xtrans ?= "1.2.5" PREFERRED_VERSION_xtrans-native ?= "1.2.5" #proto @@ -305,7 +302,7 @@ PREFERRED_VERSION_bigreqsproto-native ?= "1.1.0" PREFERRED_VERSION_compositeproto ?= "0.4.1" PREFERRED_VERSION_damageproto ?= "1.2.0" PREFERRED_VERSION_dmxproto ?= "2.3" -PREFERRED_VERSION_dri2proto ?= "2.1" +PREFERRED_VERSION_dri2proto ?= "2.2" PREFERRED_VERSION_evieext ?= "1.1.0" PREFERRED_VERSION_fixesproto ?= "4.1.1" PREFERRED_VERSION_fixesproto-native ?= "4.1.1" @@ -313,7 +310,7 @@ PREFERRED_VERSION_fontcacheproto ?= "0.1.3" PREFERRED_VERSION_fontcacheproto-native ?= "0.1.3" PREFERRED_VERSION_fontsproto ?= "2.1.0" PREFERRED_VERSION_fontsproto-native ?= "2.1.0" -PREFERRED_VERSION_glproto ?= "1.4.10" +PREFERRED_VERSION_glproto ?= "1.4.11" PREFERRED_VERSION_inputproto ?= "2.0" PREFERRED_VERSION_inputproto-native ?= "2.0" PREFERRED_VERSION_kbproto ?= "1.0.4" @@ -349,9 +346,9 @@ PREFERRED_VERSION_imake ?= "1.0.2" PREFERRED_VERSION_lndir ?= "1.0.1" PREFERRED_VERSION_makedepend ?= "1.0.2" PREFERRED_VERSION_makedepend-native ?= "1.0.2" -PREFERRED_VERSION_util-macros ?= "1.4.1" -PREFERRED_VERSION_util-macros-native ?= "1.4.1" +PREFERRED_VERSION_util-macros ?= "1.5.0" +PREFERRED_VERSION_util-macros-native ?= "1.5.0" PREFERRED_VERSION_xorg-cf-files ?= "1.0.3" #xserver #PREFERRED_VERSION_xserver-xorg ?= "1.7.99.2" -PREFERRED_VERSION_xserver-xorg ?= "1.7.3" +PREFERRED_VERSION_xserver-xorg ?= "1.7.4" diff --git a/conf/distro/include/sane-srcrevs-fso.inc b/conf/distro/include/sane-srcrevs-fso.inc index 733b15e78b..06e3f1c8e0 100644 --- a/conf/distro/include/sane-srcrevs-fso.inc +++ b/conf/distro/include/sane-srcrevs-fso.inc @@ -16,6 +16,7 @@ SRCREV_pn-libfsobasics ?= "${FSO_CORNUCOPIA_SRCREV}" SRCREV_pn-libfsoframework ?= "c227502c59f4d1de3b3097b3329c2461d6cfa2a2" SRCREV_pn-libfsotransport ?= "${FSO_CORNUCOPIA_SRCREV}" SRCREV_pn-libfsoresource ?= "${FSO_CORNUCOPIA_SRCREV}" +SRCREV_pn-mickeydbus2 ?= "${FSO_CORNUCOPIA_SRCREV}" # FSO Projects -- Misc SRCREV_pn-dbus-hlid ?= "5df7f49fe8881804aaab544a569fd164c3e93afb" diff --git a/conf/distro/include/sane-srcrevs.inc b/conf/distro/include/sane-srcrevs.inc index 207c320a66..f4d79268a2 100644 --- a/conf/distro/include/sane-srcrevs.inc +++ b/conf/distro/include/sane-srcrevs.inc @@ -148,7 +148,7 @@ SRCREV_pn-linux-ixp4xx ?= "1089" SRCREV_pn-linux-openmoko-2.6.24 ?= "fb42ce6724576fc173faf8abfb04aa2c36d213b7" SRCREV_pn-linux-openmoko-2.6.28 ?= "8c65792a5c83c76d662a617a7c4e1ae8104bb6a5" SRCREV_pn-linux-openmoko-2.6.31 ?= "dd32737aa524e09c1d141a0e735dd58674552244" -SRCREV_pn-linux-openmoko-2.6.32 ?= "5827b20d022fb47ce9c9731d0fb894d361e16ffe" +SRCREV_pn-linux-openmoko-2.6.32 ?= "058cbf4220fd2f1cd970bf553c044cb178e3804e" SRCREV_pn-linux-openmoko-devel ?= "a15608f241a40b41fed5bffe511355c2067c4e88" SRCREV_pn-linux-openmoko-shr-devel ?= "a15608f241a40b41fed5bffe511355c2067c4e88" SRCREV_pn-linux-openmoko-shr-drm-devel ?= "e62a4ae1c6783f41b41a9ac3d258786586b65a40" @@ -312,6 +312,7 @@ SRCREV_pn-socketcan-modules ?= "917" SRCREV_pn-socketcan-utils-test ?= "917" SRCREV_pn-sphyrna-python ?= "45" SRCREV_pn-starling ?= "9574" +SRCREV_pn-stopwatch ?= "89644b91e02151fc72989755f20c1ffb144ef5e2" SRCREV_pn-table ?= "2191" SRCREV_pn-tichy ?= "ab68d849502009cf3214df48ffa8075a10cc2177" SRCREV_pn-tmut ?= "60" diff --git a/conf/distro/micro.conf b/conf/distro/micro.conf index d9fc595303..9885425979 100644 --- a/conf/distro/micro.conf +++ b/conf/distro/micro.conf @@ -62,6 +62,8 @@ MACHINE_KERNEL_VERSION = "2.6" ############################################################################# LIBC ?= "eglibc" PREFERRED_BINUTILS = "2.19.51" +PREFERRED_VERSION_glibc ?= "2.10.1" +PREFERRED_VERSION_glibc-initial ?= "2.10.1" PREFERRED_ARM_INSTRUCTION_SET ?= "thumb" require conf/distro/include/sane-toolchain.inc diff --git a/recipes/cairo/cairo-native_1.8.0.bb b/recipes/cairo/cairo-native_1.8.0.bb index c575cdcce1..d58e16b61d 100644 --- a/recipes/cairo/cairo-native_1.8.0.bb +++ b/recipes/cairo/cairo-native_1.8.0.bb @@ -3,8 +3,7 @@ require cairo_1.8.0.bb inherit native -DEPENDS += "glib-2.0-native libpng-native libpixman-native libx11-native fontconfig-native" +DEPENDS += "glib-2.0-native libpng-native pixman-native libx11-native fontconfig-native" PROVIDES = "cairo-native" -PR = "r0" - +PR = "r1" diff --git a/recipes/cherokee/cherokee_0.99.24.bb b/recipes/cherokee/cherokee_0.99.24.bb index b5d016006f..05349033b3 100644 --- a/recipes/cherokee/cherokee_0.99.24.bb +++ b/recipes/cherokee/cherokee_0.99.24.bb @@ -1,6 +1,8 @@ require cherokee.inc -PR = "${INC_PR}.0" +PR = "${INC_PR}.1" + +DEPENDS = "libpcre openssl mysql" SRC_URI = "http://www.cherokee-project.com/download/0.99/${PV}/cherokee-${PV}.tar.gz \ file://cherokee.init " @@ -9,4 +11,4 @@ CONFFILES_${PN} = " \ ${sysconfdir}/cherokee/cherokee.conf \ ${sysconfdir}/init.d/cherokee \ " -EXTRA_OECONF += "--with-mysql=${STAGING_INCDIR}/mysql" +EXTRA_OECONF = "--enable-tls=openssl --disable-static --disable-nls --with-mysql=${STAGING_INCDIR}/mysql" diff --git a/recipes/dri/libdrm_2.4.17.bb b/recipes/dri/libdrm_2.4.17.bb new file mode 100644 index 0000000000..4f2af1ed73 --- /dev/null +++ b/recipes/dri/libdrm_2.4.17.bb @@ -0,0 +1,16 @@ +SECTION = "x11/base" +DEPENDS = "libpthread-stubs" +LICENSE = "MIT" +SRC_URI = "http://dri.freedesktop.org/libdrm/libdrm-${PV}.tar.bz2" +PROVIDES = "drm" +PR = "r1" + +inherit autotools pkgconfig + +do_stage() { + autotools_stage_all +} + +PACKAGES =+ "${PN}-intel" + +FILES_${PN}-intel = "${libdir}/libdrm_intel.so.*" diff --git a/recipes/freesmartphone/mickeydbus2_git.bb b/recipes/freesmartphone/mickeydbus2_git.bb new file mode 100644 index 0000000000..799cbe72c1 --- /dev/null +++ b/recipes/freesmartphone/mickeydbus2_git.bb @@ -0,0 +1,17 @@ +DESCRIPTION = "Mickey's DBus introspection and calling Program rewritten in vala" +AUTHOR = "Michael 'Mickey' Lauer <mlauer@vanille-media.de>" +HOMEPAGE = "http://www.freesmartphone.org" +SECTION = "console/network" +LICENSE = "GPLv2" + +DEPENDS = "vala-native glib-2.0 dbus dbus-glib" + +PV = "2.0.0+gitr${SRCREV}" +PR = "r0" + +SRC_URI = "${FREESMARTPHONE_GIT}/cornucopia.git;protocol=git;branch=master" +S = "${WORKDIR}/git/tools/mdbus2" + +inherit autotools + + diff --git a/recipes/gdb/gdb.inc b/recipes/gdb/gdb.inc index 77a9ca6a3e..a63fb6159b 100644 --- a/recipes/gdb/gdb.inc +++ b/recipes/gdb/gdb.inc @@ -10,6 +10,10 @@ FILES_gdbserver = "${bindir}/gdbserver" RRECOMMENDS_gdb_append_linux = " glibc-thread-db " RRECOMMENDS_gdb_append_linux-gnueabi = " glibc-thread-db " +RRECOMMENDS_gdb_append_linux-uclibc = " uclibc-thread-db " +RRECOMMENDS_gdb_append_linux-uclibceabi = " uclibc-thread-db " +RRECOMMENDS_gdb_append_linux-spe = " uclibc-thread-db " + inherit gettext SRC_URI += "file://kill_arm_map_symbols.patch;patch=1 \ @@ -43,5 +47,3 @@ do_install () { install -d ${D}${bindir} install -m 0755 gdb/gdbserver/gdbserver ${D}${bindir} } - - diff --git a/recipes/gdb/gdbserver.inc b/recipes/gdb/gdbserver.inc index b98058fe5d..f477c3aa9c 100644 --- a/recipes/gdb/gdbserver.inc +++ b/recipes/gdb/gdbserver.inc @@ -1,6 +1,6 @@ require gdb-common.inc -INC_PR = "r1" +INC_PR = "r2" DEFAULT_PREFERENCE_avr32 = "-99" @@ -9,6 +9,10 @@ FILES_gdbserver = "${bindir}/gdbserver" RRECOMMENDS_gdb_append_linux = " glibc-thread-db " RRECOMMENDS_gdb_append_linux-gnueabi = " glibc-thread-db " +RRECOMMENDS_gdb_append_linux-uclibc = " uclibc-thread-db " +RRECOMMENDS_gdb_append_linux-uclibceabi = " uclibc-thread-db " +RRECOMMENDS_gdb_append_linux-spe = " uclibc-thread-db " + inherit gettext FILESPATHPKG =. "gdb-${PV}:" diff --git a/recipes/glib-1.2/glib-1.2_1.2.10.bb b/recipes/glib-1.2/glib-1.2_1.2.10.bb index 77cbee2a14..72eca3a16a 100644 --- a/recipes/glib-1.2/glib-1.2_1.2.10.bb +++ b/recipes/glib-1.2/glib-1.2_1.2.10.bb @@ -4,7 +4,7 @@ SECTION = "libs" PRIORITY = "optional" LICENSE = "LGPL" DEPENDS = "glib-1.2-native" -PR = "r2" +PR = "r3" LEAD_SONAME = "libglib-1.2.*" @@ -42,3 +42,4 @@ do_stage () { install -m 0644 ${S}/glib.m4 ${STAGING_DATADIR}/aclocal/glib-1.2.m4 } +FILES_${PN}-dev += "${libdir}/glib/include/glibconfig.h" diff --git a/recipes/gnome/at-spi_1.28.0.bb b/recipes/gnome/at-spi_1.28.0.bb index 3639407eb6..79b48b3f1b 100644 --- a/recipes/gnome/at-spi_1.28.0.bb +++ b/recipes/gnome/at-spi_1.28.0.bb @@ -6,8 +6,16 @@ LICENSE = "LGPL" DEPENDS = "gtk+ atk libbonobo orbit2 orbit2-native" RDEPENDS_${PN} = "libgail-gnome gtk-module-gail" +PR = "r1" + inherit gnome +do_configure_prepend () { + sed -i "s|ORBIT_IDL=.*|ORBIT_IDL=${STAGING_BINDIR_NATIVE}/orbit-idl-2|" ${S}/configure.in + sed -i "s|BONOBO_ACTIVATION_IDL_DIR=.*|BONOBO_ACTIVATION_IDL_DIR=${STAGING_DATADIR}/idl/bonobo-activation-2.0|" ${S}/configure.in + sed -i "s|LIBBONOBO_IDL_DIR=.*|LIBBONOBO_IDL_DIR=${STAGING_DATADIR}/idl//bonobo-2.0|" ${S}/configure.in +} + do_stage () { autotools_stage_all } diff --git a/recipes/gnome/gnome-games_2.24.0.bb b/recipes/gnome/gnome-games_2.24.0.bb index 4b3fd2077b..971b83e6a7 100644 --- a/recipes/gnome/gnome-games_2.24.0.bb +++ b/recipes/gnome/gnome-games_2.24.0.bb @@ -1,9 +1,9 @@ LICENSE = "GPL" -DEPENDS = " guile libggz ggz-client-libs python-pygtk gtk+ libgnome libgnomeui librsvg gnome-vfs gconf libglade gnome-common gnome-python-desktop gnome-python gstreamer virtual/libsdl" +DEPENDS = " guile libggz ggz-client-libs python-pygtk gtk+ libgnome libgnomeui librsvg gnome-vfs gconf libglade gnome-common gnome-python-desktop gnome-python gstreamer virtual/libsdl libsdl-mixer" inherit gnome distutils-base gconf -PR = "r6" +PR = "r7" SRC_URI += "file://ggz-unbreak-m4.patch;patch=1 \ " @@ -18,7 +18,9 @@ EXTRA_OECONF = "--with-libggz-includes=${STAGING_INCDIR} \ # disable help dir and crappy old sdl-macro do_configure_prepend() { - rm m4/sdl.m4 + if [ -e m4/sdl.m4 ]; then + rm m4/sdl.m4 + fi for i in $(find ${S} -name "Makefile.am") ; do sed -i -e s:help::g $i done diff --git a/recipes/gnome/gnome-keyring_2.28.0.bb b/recipes/gnome/gnome-keyring_2.28.2.bb index 46d2de0fd0..70a7349a3b 100644 --- a/recipes/gnome/gnome-keyring_2.28.0.bb +++ b/recipes/gnome/gnome-keyring_2.28.2.bb @@ -3,7 +3,7 @@ LICENSE = "GPL" SECTION = "x11/gnome" DEPENDS = " libpam gconf gtk+ libtasn1 libtasn1-native libgcrypt" -inherit autotools gnome pkgconfig +inherit gnome pkgconfig EXTRA_OECONF = "--disable-gtk-doc --enable-pam --with-pam-dir=${libdir}/security/" @@ -23,6 +23,3 @@ PACKAGES =+ "gnome-keyring-pam-plugin" FILES_gnome-keyring-pam-plugin = "${libdir}/security/*.so" FILES_${PN}-dbg += "${libdir}/gnome-keyring/*/.debug ${libdir}/security/.debug" -do_stage() { - autotools_stage_all -} diff --git a/recipes/gnome/libbonobo_2.24.1.bb b/recipes/gnome/libbonobo_2.24.2.bb index efc71d24a8..efc71d24a8 100644 --- a/recipes/gnome/libbonobo_2.24.1.bb +++ b/recipes/gnome/libbonobo_2.24.2.bb diff --git a/recipes/gnome/libgdata_0.5.1.bb b/recipes/gnome/libgdata_0.5.1.bb new file mode 100644 index 0000000000..7c510d0b5f --- /dev/null +++ b/recipes/gnome/libgdata_0.5.1.bb @@ -0,0 +1,18 @@ +DESCRIPTION = "libgdata is a GLib-based library for accessing online service APIs" +LICENSE = "LGPL" +DEPENDS = "libxml2 glib-2.0 libsoup-2.4" + +inherit gnome lib_package autotools_stage + +SRC_URI += " \ + file://gtk-doc.make \ +" + +do_configure_prepend() { + cp ${WORKDIR}/gtk-doc.make ${S}/ + sed -i -e s:docs::g ${S}/Makefile.am + echo "EXTRA_DIST = version.xml" > gnome-doc-utils.make +} + + + diff --git a/recipes/irda-utils/irdadump/glib2.patch b/recipes/irda-utils/irdadump/glib2.patch new file mode 100644 index 0000000000..ea37ab151b --- /dev/null +++ b/recipes/irda-utils/irdadump/glib2.patch @@ -0,0 +1,13 @@ +Index: irdadump/configure.in +=================================================================== +--- irdadump.orig/configure.in ++++ irdadump/configure.in +@@ -9,7 +9,7 @@ AC_PROG_MAKE_SET + + dnl Checks for libraries. + AM_PROG_LIBTOOL +-AM_PATH_GLIB(1.2.0) ++AM_PATH_GLIB_2_0 + + dnl Checks for header files. + AC_HEADER_STDC diff --git a/recipes/irda-utils/irdadump_0.9.16.bb b/recipes/irda-utils/irdadump_0.9.16.bb index 5c64b2dd96..90fd03ecb3 100644 --- a/recipes/irda-utils/irdadump_0.9.16.bb +++ b/recipes/irda-utils/irdadump_0.9.16.bb @@ -1,14 +1,16 @@ DESCRIPTION = "Utility to dump IrDA traffic." SECTION = "base" LICENSE = "GPL" -DEPENDS = "glib-1.2" +DEPENDS = "glib-2.0 pkgconfig" +PR = "r1" -SRC_URI = "${SOURCEFORGE_MIRROR}/irda/irda-utils-${PV}.tar.gz" +SRC_URI = "${SOURCEFORGE_MIRROR}/irda/irda-utils-${PV}.tar.gz \ + file://glib2.patch;patch=1" S="${WORKDIR}/irda-utils-${PV}/irdadump" -EXTRA_CFLAGS += "-I${STAGING_INCDIR}/glib-1.2/" -EXTRA_LDFLAGS += "-lglib" +EXTRA_CFLAGS += "`pkg-config --cflags glib-2.0`" +EXTRA_LDFLAGS += "`pkg-config --libs glib-2.0`" inherit autotools diff --git a/recipes/konqueror/konqueror-embedded_20060404.bb b/recipes/konqueror/konqueror-embedded_20060404.bb index a84f47d471..9f6ed35aeb 100644 --- a/recipes/konqueror/konqueror-embedded_20060404.bb +++ b/recipes/konqueror/konqueror-embedded_20060404.bb @@ -21,7 +21,7 @@ S = "${WORKDIR}/kdenox" export QMAKE = "${STAGING_BINDIR_NATIVE}/qmake" export MOC = "${STAGING_BINDIR_NATIVE}/moc" export UIC = "${STAGING_BINDIR_NATIVE}/uic" -export exec_prefix = "${palmtopdir}" +#export exec_prefix = "${palmtopdir}" export CXXFLAGS = "-fexceptions -frtti -DKJS_VERBOSE=1 -DQT_THREAD_SUPPORT -DQ_OS_UNIX -DQT_NO_DOM -DENABLE_BOOKMARKS" export PCRE_CONFIG = "invalid" # uncomment this for a static build diff --git a/recipes/libqpe/libqpe-opie/unhide_lnkproperties_destructor.patch b/recipes/libqpe/libqpe-opie/unhide_lnkproperties_destructor.patch new file mode 100644 index 0000000000..65e790a145 --- /dev/null +++ b/recipes/libqpe/libqpe-opie/unhide_lnkproperties_destructor.patch @@ -0,0 +1,24 @@ +Dont hide destructor, if we do then in moc_lnkproperties.cpp its not +seen and compiler puts in a default one and inlines it which is then +hidden as we ask it to use -fvisibility-inlines-hidden + +Now linker can merge the symbol visivility and promotes the most +restrictive visivility in output which means that the library will have +the destructor but it will be hidden + +-Khem + +Index: library/lnkproperties.h +=================================================================== +--- library.orig/lnkproperties.h 2010-01-19 10:49:36.771348810 -0800 ++++ library/lnkproperties.h 2010-01-19 10:49:59.318857574 -0800 +@@ -45,8 +45,8 @@ + // have this class. + #ifdef QTOPIA_INTERNAL_FSLP + LnkProperties( AppLnk* lnk, QWidget* parent = 0 ); +- ~LnkProperties(); + #endif ++ ~LnkProperties(); + + void done(int); + private slots: diff --git a/recipes/libqpe/libqpe-opie_1.2.4.bb b/recipes/libqpe/libqpe-opie_1.2.4.bb index 5c1690ec12..bb154d013f 100644 --- a/recipes/libqpe/libqpe-opie_1.2.4.bb +++ b/recipes/libqpe/libqpe-opie_1.2.4.bb @@ -1,6 +1,6 @@ require ${PN}.inc -PR = "${INC_PR}.0" +PR = "${INC_PR}.1" TAG = "${@'v' + bb.data.getVar('PV',d,1).replace('.', '_')}" SRC_URI = "${HANDHELDS_CVS};tag=${TAG};module=opie/library \ @@ -8,5 +8,6 @@ SRC_URI = "${HANDHELDS_CVS};tag=${TAG};module=opie/library \ file://unbreak-logging.patch;patch=1 \ file://citytime-path-2.patch;patch=1 \ file://no-include-pro.patch;patch=1 \ + file://unhide_lnkproperties_destructor.patch;patch=1 \ " diff --git a/recipes/libsdl/libsdl-x11-1.2.14/sdl.m4 b/recipes/libsdl/libsdl-x11-1.2.14/sdl.m4 new file mode 100644 index 0000000000..6acf1b2fc3 --- /dev/null +++ b/recipes/libsdl/libsdl-x11-1.2.14/sdl.m4 @@ -0,0 +1,203 @@ +# Configure paths for SDL +# Sam Lantinga 9/21/99 +# stolen from Manish Singh +# stolen back from Frank Belew +# stolen from Manish Singh +# Shamelessly stolen from Owen Taylor + +dnl AM_PATH_SDL([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]]) +dnl Test for SDL, and define SDL_CFLAGS and SDL_LIBS +dnl +AC_DEFUN([AM_PATH_SDL], +[dnl +dnl Get the cflags and libraries from the sdl-config script +dnl +AC_ARG_WITH(sdl-prefix,[ --with-sdl-prefix=PFX Prefix where SDL is installed (optional)], + sdl_prefix="$withval", sdl_prefix="") +AC_ARG_WITH(sdl-exec-prefix,[ --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)], + sdl_exec_prefix="$withval", sdl_exec_prefix="") +AC_ARG_ENABLE(sdltest, [ --disable-sdltest Do not try to compile and run a test SDL program], + , enable_sdltest=yes) + + min_sdl_version=ifelse([$1], ,1.2.0,$1) + + if test "x$sdl_prefix$sdl_exec_prefix" = x ; then + PKG_CHECK_MODULES(SDL, [sdl >= $min_sdl_version], + [sdl_pc=yes], + [dnl + AC_MSG_RESULT(no) + sdl_pc=no + ]) + else + sdl_pc=no + if test x$sdl_exec_prefix != x ; then + sdl_config_args="$sdl_config_args --exec-prefix=$sdl_exec_prefix" + if test x${SDL_CONFIG+set} != xset ; then + SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config + fi + fi + if test x$sdl_prefix != x ; then + sdl_config_args="$sdl_config_args --prefix=$sdl_prefix" + if test x${SDL_CONFIG+set} != xset ; then + SDL_CONFIG=$sdl_prefix/bin/sdl-config + fi + fi + fi + + if test "x$sdl_pc" = xyes ; then + no_sdl="" + SDL_CONFIG="pkg-config sdl" + else + as_save_PATH="$PATH" + if test "x$prefix" != xNONE && test "$cross_compiling" != yes; then + PATH="$prefix/bin:$prefix/usr/bin:$PATH" + fi + AC_PATH_PROG(SDL_CONFIG, sdl-config, no, [$PATH]) + PATH="$as_save_PATH" + AC_MSG_CHECKING(for SDL - version >= $min_sdl_version) + no_sdl="" + + if test "$SDL_CONFIG" = "no" ; then + no_sdl=yes + else + SDL_CFLAGS=`$SDL_CONFIG $sdl_config_args --cflags` + SDL_LIBS=`$SDL_CONFIG $sdl_config_args --libs` + + sdl_major_version=`$SDL_CONFIG $sdl_config_args --version | \ + sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'` + sdl_minor_version=`$SDL_CONFIG $sdl_config_args --version | \ + sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'` + sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \ + sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'` + if test "x$enable_sdltest" = "xyes" ; then + ac_save_CFLAGS="$CFLAGS" + ac_save_CXXFLAGS="$CXXFLAGS" + ac_save_LIBS="$LIBS" + CFLAGS="$CFLAGS $SDL_CFLAGS" + CXXFLAGS="$CXXFLAGS $SDL_CFLAGS" + LIBS="$LIBS $SDL_LIBS" +dnl +dnl Now check if the installed SDL is sufficiently new. (Also sanity +dnl checks the results of sdl-config to some extent +dnl + rm -f conf.sdltest + AC_TRY_RUN([ +#include <stdio.h> +#include <stdlib.h> +#include <string.h> +#include "SDL.h" + +char* +my_strdup (char *str) +{ + char *new_str; + + if (str) + { + new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char)); + strcpy (new_str, str); + } + else + new_str = NULL; + + return new_str; +} + +int main (int argc, char *argv[]) +{ + int major, minor, micro; + char *tmp_version; + + /* This hangs on some systems (?) + system ("touch conf.sdltest"); + */ + { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); } + + /* HP/UX 9 (%@#!) writes to sscanf strings */ + tmp_version = my_strdup("$min_sdl_version"); + if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) { + printf("%s, bad version string\n", "$min_sdl_version"); + exit(1); + } + + if (($sdl_major_version > major) || + (($sdl_major_version == major) && ($sdl_minor_version > minor)) || + (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro))) + { + return 0; + } + else + { + printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version); + printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro); + printf("*** best to upgrade to the required version.\n"); + printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n"); + printf("*** to point to the correct copy of sdl-config, and remove the file\n"); + printf("*** config.cache before re-running configure\n"); + return 1; + } +} + +],, no_sdl=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"]) + CFLAGS="$ac_save_CFLAGS" + CXXFLAGS="$ac_save_CXXFLAGS" + LIBS="$ac_save_LIBS" + fi + fi + if test "x$no_sdl" = x ; then + AC_MSG_RESULT(yes) + else + AC_MSG_RESULT(no) + fi + fi + if test "x$no_sdl" = x ; then + ifelse([$2], , :, [$2]) + else + if test "$SDL_CONFIG" = "no" ; then + echo "*** The sdl-config script installed by SDL could not be found" + echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in" + echo "*** your path, or set the SDL_CONFIG environment variable to the" + echo "*** full path to sdl-config." + else + if test -f conf.sdltest ; then + : + else + echo "*** Could not run SDL test program, checking why..." + CFLAGS="$CFLAGS $SDL_CFLAGS" + CXXFLAGS="$CXXFLAGS $SDL_CFLAGS" + LIBS="$LIBS $SDL_LIBS" + AC_TRY_LINK([ +#include <stdio.h> +#include "SDL.h" + +int main(int argc, char *argv[]) +{ return 0; } +#undef main +#define main K_and_R_C_main +], [ return 0; ], + [ echo "*** The test program compiled, but did not run. This usually means" + echo "*** that the run-time linker is not finding SDL or finding the wrong" + echo "*** version of SDL. If it is not finding SDL, you'll need to set your" + echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point" + echo "*** to the installed location Also, make sure you have run ldconfig if that" + echo "*** is required on your system" + echo "***" + echo "*** If you have an old version installed, it is best to remove it, although" + echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"], + [ echo "*** The test program failed to compile or link. See the file config.log for the" + echo "*** exact error that occured. This usually means SDL was incorrectly installed" + echo "*** or that you have moved SDL since it was installed. In the latter case, you" + echo "*** may want to edit the sdl-config script: $SDL_CONFIG" ]) + CFLAGS="$ac_save_CFLAGS" + CXXFLAGS="$ac_save_CXXFLAGS" + LIBS="$ac_save_LIBS" + fi + fi + SDL_CFLAGS="" + SDL_LIBS="" + ifelse([$3], , :, [$3]) + fi + AC_SUBST(SDL_CFLAGS) + AC_SUBST(SDL_LIBS) + rm -f conf.sdltest +]) diff --git a/recipes/libsdl/libsdl-x11_1.2.14.bb b/recipes/libsdl/libsdl-x11_1.2.14.bb index b35cc26dfe..d606e801de 100644 --- a/recipes/libsdl/libsdl-x11_1.2.14.bb +++ b/recipes/libsdl/libsdl-x11_1.2.14.bb @@ -8,10 +8,11 @@ LICENSE = "LGPL" DEPENDS = "alsa-lib virtual/libgl virtual/libx11 libxext tslib" DEPENDS_avr32 = "alsa-lib virtual/libx11 libxext tslib" PROVIDES = "virtual/libsdl" -PR = "r2" +PR = "r3" SRC_URI = " \ http://www.libsdl.org/release/SDL-${PV}.tar.gz \ + file://sdl.m4 \ " S = "${WORKDIR}/SDL-${PV}" @@ -40,6 +41,9 @@ do_configure_append () { # prevent libtool from linking libs against libstdc++, libgcc, ... cat ${TARGET_PREFIX}libtool | sed -e 's/postdeps=".*"/postdeps=""/' > ${TARGET_PREFIX}libtool.tmp mv ${TARGET_PREFIX}libtool.tmp ${TARGET_PREFIX}libtool + + # copy new sdl.m4 macrofile to the dir for installing + cp ${WORKDIR}/sdl.m4 ${S}/ } do_stage() { diff --git a/recipes/linux/linux-2.6.24/hipox/defconfig b/recipes/linux/linux-2.6.24/hipox/defconfig index 8778456c56..f01741d14f 100644 --- a/recipes/linux/linux-2.6.24/hipox/defconfig +++ b/recipes/linux/linux-2.6.24/hipox/defconfig @@ -166,7 +166,10 @@ CONFIG_ARCH_HIPOX_UART2=y CONFIG_ARCH_HIPOX_UART2_DEBUG=y CONFIG_ARCH_HIPOX_UART2_BOOTPROGRESS=y # CONFIG_ARCH_HIPOX_UART2_MODEM is not set -# CONFIG_ARCH_HIPOX_UART3 is not set +CONFIG_ARCH_HIPOX_UART3=y +# CONFIG_ARCH_HIPOX_UART3_DEBUG is not set +# CONFIG_ARCH_HIPOX_UART3_BOOTPROGRESS is not set +# CONFIG_ARCH_HIPOX_UART3_MODEM is not set CONFIG_ARCH_HIPOX_PCI_REQGNT_0=y # CONFIG_ARCH_HIPOX_PCI_REQGNT_1 is not set # CONFIG_ARCH_HIPOX_PCI_REQGNT_2 is not set @@ -212,8 +215,8 @@ CONFIG_TACHO_THERM_AND_FAN=m # CONFIG_HIPOX_USB_TEST_MODES is not set # CONFIG_LEDS_TRIGGER_SATA_DISK is not set # CONFIG_HIPOX_LED_TEST is not set -CONFIG_HIPOX_I2C_SDA=6 -CONFIG_HIPOX_I2C_SCL=7 +CONFIG_HIPOX_I2C_SDA=26 +CONFIG_HIPOX_I2C_SCL=25 # CONFIG_HIPOX_USB_PORTA_POWER_CONTROL is not set # CONFIG_HIPOX_USB_PORTB_POWER_CONTROL is not set # CONFIG_HIPOX_USB_PORTC_POWER_CONTROL is not set diff --git a/recipes/linux/linux-openmoko-2.6.32/om-gta02/defconfig b/recipes/linux/linux-openmoko-2.6.32/om-gta02/defconfig index c7a32421bb..e63bbd73dc 100644 --- a/recipes/linux/linux-openmoko-2.6.32/om-gta02/defconfig +++ b/recipes/linux/linux-openmoko-2.6.32/om-gta02/defconfig @@ -1332,7 +1332,7 @@ CONFIG_USB_ETH_RNDIS=y # CONFIG_NOP_USB_XCEIV is not set CONFIG_MMC=y # CONFIG_MMC_DEBUG is not set -# CONFIG_MMC_UNSAFE_RESUME is not set +CONFIG_MMC_UNSAFE_RESUME=y # # MMC/SD/SDIO Card Drivers diff --git a/recipes/mokomaze/mokomaze_0.5.5.bb b/recipes/mokomaze/mokomaze_0.5.5.bb index 6fbe415d2e..f15ca0ff53 100644 --- a/recipes/mokomaze/mokomaze_0.5.5.bb +++ b/recipes/mokomaze/mokomaze_0.5.5.bb @@ -8,7 +8,7 @@ RDEPENDS="ttf-liberation-mono libpng" RDEPENDS_shr += "fsoraw" -PR="r1" +PR="r2" PV="0.5.5+git8" diff --git a/recipes/mozilla/firefox_3.5.2.bb b/recipes/mozilla/firefox_3.5.2.bb index f126f13763..3d940d7af5 100644 --- a/recipes/mozilla/firefox_3.5.2.bb +++ b/recipes/mozilla/firefox_3.5.2.bb @@ -1,5 +1,5 @@ -DEPENDS += "cairo" -PR = "r2" +DEPENDS += "cairo sqlite3" +PR = "r3" SRC_URI = "ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/${PV}/source/firefox-${PV}-source.tar.bz2 \ file://jsautocfg.h \ diff --git a/recipes/mozilla/firefox_3.5.4.bb b/recipes/mozilla/firefox_3.5.4.bb index 37be0fb858..8ba6ba15db 100644 --- a/recipes/mozilla/firefox_3.5.4.bb +++ b/recipes/mozilla/firefox_3.5.4.bb @@ -1,6 +1,6 @@ -DEPENDS += "cairo" +DEPENDS += "cairo sqlite3" -PR = "r1" +PR = "r2" SRC_URI = "ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/${PV}/source/firefox-${PV}.source.tar.bz2 \ file://jsautocfg.h \ diff --git a/recipes/mozilla/firefox_3.5.5.bb b/recipes/mozilla/firefox_3.5.5.bb index a440382d14..da54872046 100644 --- a/recipes/mozilla/firefox_3.5.5.bb +++ b/recipes/mozilla/firefox_3.5.5.bb @@ -1,6 +1,6 @@ -DEPENDS += "cairo" +DEPENDS += "cairo sqlite3" -PR = "r2" +PR = "r3" SRC_URI = "ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/${PV}/source/firefox-${PV}.source.tar.bz2 \ file://jsautocfg.h \ diff --git a/recipes/mozilla/firefox_3.5b4.bb b/recipes/mozilla/firefox_3.5b4.bb index 149ee3cbdf..4a12329231 100644 --- a/recipes/mozilla/firefox_3.5b4.bb +++ b/recipes/mozilla/firefox_3.5b4.bb @@ -1,8 +1,8 @@ -DEPENDS += "cairo" +DEPENDS += "cairo sqlite" PV = "3.0.1+3.5b4" MOZPV = "3.5b4" -PR = "r1" +PR = "r2" SRC_URI = "http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/${MOZPV}-candidates/build1/source/firefox-${MOZPV}-source.tar.bz2 \ file://jsautocfg.h \ diff --git a/recipes/libpixman/libpixman-native_0.12.0.bb b/recipes/obsolete/libpixman/libpixman-native_0.12.0.bb index 808cc86d1a..808cc86d1a 100644 --- a/recipes/libpixman/libpixman-native_0.12.0.bb +++ b/recipes/obsolete/libpixman/libpixman-native_0.12.0.bb diff --git a/recipes/libpixman/libpixman_0.1.5.bb b/recipes/obsolete/libpixman/libpixman_0.1.5.bb index bf23947fc1..bf23947fc1 100644 --- a/recipes/libpixman/libpixman_0.1.5.bb +++ b/recipes/obsolete/libpixman/libpixman_0.1.5.bb diff --git a/recipes/libpixman/libpixman_0.1.6.bb b/recipes/obsolete/libpixman/libpixman_0.1.6.bb index bf23947fc1..bf23947fc1 100644 --- a/recipes/libpixman/libpixman_0.1.6.bb +++ b/recipes/obsolete/libpixman/libpixman_0.1.6.bb diff --git a/recipes/libpixman/libpixman_0.10.0.bb b/recipes/obsolete/libpixman/libpixman_0.10.0.bb index fba7dc9152..fba7dc9152 100644 --- a/recipes/libpixman/libpixman_0.10.0.bb +++ b/recipes/obsolete/libpixman/libpixman_0.10.0.bb diff --git a/recipes/libpixman/libpixman_0.9.6.bb b/recipes/obsolete/libpixman/libpixman_0.9.6.bb index fba7dc9152..fba7dc9152 100644 --- a/recipes/libpixman/libpixman_0.9.6.bb +++ b/recipes/obsolete/libpixman/libpixman_0.9.6.bb diff --git a/recipes/libpixman/libpixman_cvs.bb b/recipes/obsolete/libpixman/libpixman_cvs.bb index a75a284bca..a75a284bca 100644 --- a/recipes/libpixman/libpixman_cvs.bb +++ b/recipes/obsolete/libpixman/libpixman_cvs.bb diff --git a/recipes/openmoko-3rdparty/rtmom_0.1.3.bb b/recipes/openmoko-3rdparty/rtmom_0.1.3.bb new file mode 100644 index 0000000000..10ab501916 --- /dev/null +++ b/recipes/openmoko-3rdparty/rtmom_0.1.3.bb @@ -0,0 +1,31 @@ +DESCRIPTION = "Elementary based client for Remember the Milk written in Python. " +AUTHOR = "Michael Pilgermann" +PRIORITY = "optional" +LICENSE = "GPL" +HOMEPAGE = "http://freshmeat.net/projects/rtmom" +SRCNAME = "rtmom" +DEPENDS = "python python-elementary" +RDEPENDS = "python-core pyrtm" +RSUGGESTS_${PN} = "python-simplejson" + +PACKAGE_ARCH = "all" + +PR = "r0" + +SRC_URI = "http://cloud.github.com/downloads/kichkasch/rtmom/rtmom-src-${PV}.tar.gz" + +FILES_${PN} += "/opt/rtmom \ + ${datadir}/pixmaps \ + ${datadir}/applications \ + ${datadir}/doc/rtmom" +CONFFILES_${PN} += "/usr/share/doc/${PN}/rtmom.conf.example" + +do_compile() { + ${STAGING_BINDIR_NATIVE}/python ${S}/setup.py build ${D} +} + +do_install() { + ${STAGING_BINDIR_NATIVE}/python ${S}/setup.py install ${D} + rm -rf ${D}/opt/rtmom/build/ + rm -rf ${D}/opt/rtmom/patches/ +} diff --git a/recipes/opie-taskbar/opie-taskbar/launcher.patch b/recipes/opie-taskbar/opie-taskbar/launcher.patch deleted file mode 100644 index e7f90f9185..0000000000 --- a/recipes/opie-taskbar/opie-taskbar/launcher.patch +++ /dev/null @@ -1,17 +0,0 @@ -Index: launcher/launcher.cpp -=================================================================== ---- launcher.orig/launcher.cpp 2009-12-23 22:29:17.396221157 +0100 -+++ launcher/launcher.cpp 2009-12-23 22:31:45.849117517 +0100 -@@ -646,10 +646,10 @@ - // Not supported: flat is simpler for the user - } else { - /* ### libqtopia FIXME also moving docLnks... */ -- LnkProperties prop(appLnk,0 ); -+ /* LnkProperties prop(appLnk,0 ); - - if (QPEApplication::execDialog( &prop )==QDialog::Accepted && tabs->currentView()==tabs->docView()) { -- } -+ }*/ - } - } - diff --git a/recipes/opie-taskbar/opie-taskbar_1.2.4.bb b/recipes/opie-taskbar/opie-taskbar_1.2.4.bb index 7648747fa6..b5660451a6 100644 --- a/recipes/opie-taskbar/opie-taskbar_1.2.4.bb +++ b/recipes/opie-taskbar/opie-taskbar_1.2.4.bb @@ -1,5 +1,5 @@ require ${PN}.inc -PR = "r2" +PR = "r3" SRC_URI = "${HANDHELDS_CVS};tag=${TAG};module=opie/core/apps/calibrate \ ${HANDHELDS_CVS};tag=${TAG};module=opie/noncore/settings/mediummount \ @@ -14,5 +14,4 @@ SRC_URI = "${HANDHELDS_CVS};tag=${TAG};module=opie/core/apps/calibrate \ file://restart-from-bindir.patch;patch=1 \ file://server-pro-1.2.4.patch;patch=1 \ file://firstuse-path.patch;patch=1 \ - file://launcher.patch;patch=1 \ " diff --git a/recipes/parted/parted_1.8.8.bb b/recipes/parted/parted_1.8.8.bb index e93dbc8dfc..4ab4aa62f9 100644 --- a/recipes/parted/parted_1.8.8.bb +++ b/recipes/parted/parted_1.8.8.bb @@ -2,9 +2,8 @@ DESCRIPTION = "parted, the GNU partition resizing program" HOMEPAGE = "http://www.gnu.org/software/parted/parted.html" LICENSE = "GPLv3" SECTION = "console/tools" -DEPENDS = "readline e2fsprogs-libs" - -PR = "r2" +DEPENDS = "readline util-linux-ng" +PR = "r3" SRC_URI = "${GNU_MIRROR}/parted/parted-${PV}.tar.gz \ file://use_llseek_syscall.patch;patch=1 \ diff --git a/recipes/preboot/files/etc/init.d/usbnet b/recipes/preboot/files/etc/init.d/usbnet new file mode 100644 index 0000000000..e6c7f4e412 --- /dev/null +++ b/recipes/preboot/files/etc/init.d/usbnet @@ -0,0 +1,9 @@ +#!/bin/sh + +# usb gadget configuration: +# there already different configurations on the palm pre defined, we choose nr 5 +# cause it provides the usbnet, novacom and storage gadget +if [ -e /sys/class/usb_gadget/config_num ]; then + echo 5 > /sys/class/usb_gadget/config_num +fi + diff --git a/recipes/preboot/files/etc/miniboot.sh b/recipes/preboot/files/etc/miniboot.sh new file mode 100644 index 0000000000..1997ff8646 --- /dev/null +++ b/recipes/preboot/files/etc/miniboot.sh @@ -0,0 +1,43 @@ +#!/bin/sh + +# Mount proc +mount -t proc proc /proc -o rw,noexec,nosuid,nodev +# Mount sys +mount -t sysfs sys /sys -o rw,noexec,nosuid,nodev + +# Mount root rw +mount / -o remount,rw + +# Prep modules +depmod -A + +# Populate /dev +/etc/init.d/udev start + +# Mount everything +# mount -a + +# Setup a proper /tmp using tmpfs +cat /proc/mounts | grep -q "\s/tmp\s" +[ "x$?" != "x0" ] && mount -t tmpfs tmpfs /tmp + +cat /proc/mounts | grep -q "\s/dev/pts\s" +[ "x$?" != "x0" ] && mount -t devpts devpts /dev/pts + +# Set the hostname +hostname -F /etc/hostname + +# USB gadget configuration +if [ -e /sys/class/usb_gadget/config_num ]; then + echo 5 > /sys/class/usb_gadget/config_num +fi + +# USB network configuration +ifup -f usb0 +ifconfig usb0 192.168.0.202 + +# Dropbear ssh service +/etc/init.d/dropbear start + +# Spin relaunching login +while true; do getty 115200 console; done diff --git a/recipes/preboot/initramfs-preboot-image.bb b/recipes/preboot/initramfs-preboot-image.bb new file mode 100644 index 0000000000..0675916680 --- /dev/null +++ b/recipes/preboot/initramfs-preboot-image.bb @@ -0,0 +1,69 @@ +#initramfs image which mounts the rootfilesystem and kexecs a kernel from there +PR = "r1" + +ONLINE_PACKAGE_MANAGEMENT = "none" +IMAGE_FSTYPES = "cpio.gz" + +export IMAGE_BASENAME = "initramfs-preboot-image" + +IMAGE_PREPROCESS_COMMAND = "create_etc_timestamp" + +# avoid circular dependencies +EXTRA_IMAGEDEPENDS = "" + +IMAGE_INSTALL = " \ + task-boot \ + util-linux-ng-mount util-linux-ng-umount \ + dropbear \ + fontconfig \ + ttf-freefonts \ + eina \ + evas \ + edje \ + efreet \ + eet \ + edbus \ + elementary \ + elementary-themes \ + elementary-tests \ + fbset \ + fbset-init \ + msmcommd \ +# lvm2 \ +# preboot \ + " + +IMAGE_LINGUAS = "" + +inherit image + +preboot_palmpre_rootfs_postprocess() { + # copy all our files to the rootfs + dirs=`find ${FILESDIR} -type d -printf "%P\n" | grep -v "^.$" | grep -v ".git"` + for dir in $dirs; do + mkdir -p ${IMAGE_ROOTFS}/$dir + done + files=`find ${FILESDIR} -type f -printf "%P\n" | grep -v ".git"` + for file in $files; do + cp -f ${FILESDIR}/$file ${IMAGE_ROOTFS}/$file + done + + curdir=$PWD + cd ${IMAGE_ROOTFS} + + # install our usbnet initscript + chmod +x etc/init.d/usbnet +# ln -sf ../init.d/usbnet ${IMAGE_ROOTFS}/etc/rcS.d/S15usbnet + + # miniboot sequence (just for debugging) + rm ${IMAGE_ROOTFS}/sbin/init + chmod +x ${IMAGE_ROOTFS}/etc/miniboot.sh + ln -sf /etc/miniboot.sh ${IMAGE_ROOTFS}/init + ln -sf ../etc/miniboot.sh ${IMAGE_ROOTFS}/sbin/init + + cd $curdir +} + +ROOTFS_POSTPROCESS_COMMAND_palmpre += " preboot_palmpre_rootfs_postprocess" + + diff --git a/recipes/preboot/linux-preboot-palmpre_2.6.24.bb b/recipes/preboot/linux-preboot-palmpre_2.6.24.bb new file mode 100644 index 0000000000..e2d278cb68 --- /dev/null +++ b/recipes/preboot/linux-preboot-palmpre_2.6.24.bb @@ -0,0 +1,24 @@ +require linux-preboot.inc + +DEFAULT_PREFERENCE = "-1" +DEFAULT_PREFERENCE_palmpre = "-1" + +# Hacks should clearly named and at the bottom +SRC_URI += "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-2.6.24.tar.bz2 \ + " + +SRC_URI_append_palmpre = "\ +http://palm.cdnetworks.net/opensource/1.3.1/linuxkernel-2.6.24-patch.gz;patch=1 \ +" +S = "${WORKDIR}/linux-2.6.24" + +# We try to build the identical kernel as Palms here, use their defconfig. +do_configure_prepend() { + install -m 0644 ${S}/arch/arm/configs/omap_sirloin_3430_defconfig ${WORKDIR}/defconfig +} + +# linux.inc overrides LOCAVERSION but we like to stay with the one used originally +do_compile_prepend() { + sed -i -e '/CONFIG_LOCALVERSION=/d' ${S}/.config + echo 'CONFIG_LOCALVERSION="-joplin-3430"' >>${S}/.config +} diff --git a/recipes/preboot/linux-preboot.inc b/recipes/preboot/linux-preboot.inc new file mode 100644 index 0000000000..4f99b71773 --- /dev/null +++ b/recipes/preboot/linux-preboot.inc @@ -0,0 +1,54 @@ +# We set PR here, since a change in the kexecboot recipe will need to get picked up by *all* the kernels: +PR = "r15" + +SRC_URI = "file://defconfig" + +LOGO_SIZE = '${@base_conditional("GUI_MACHINE_CLASS", "bigscreen", "vga", "qvga", d)}' + +require ../linux/linux.inc + +DONT_CHECK_KERNELSIZE = "" +INITRAMFS_IMAGE = "initramfs-preboot-image" + +# here we set master console on serial +CMDLINE = "console=tty1 console=ttyS0,115200n8" + +PACKAGES = "" +PROVIDES = "" + +KERNEL_IMAGE_BASE_NAME = "${KERNEL_IMAGETYPE}-preboot-${PV}-${PR}-${MACHINE}" +KERNEL_IMAGE_SYMLINK_NAME = "${KERNEL_IMAGETYPE}-preboot-${MACHINE}" + +do_configure[depends] += "${INITRAMFS_IMAGE}:do_rootfs" + +do_configure_append() { +sed -i -e /CONFIG_BLK_DEV_INITRD/d \ + -e /CONFIG_KEXEC/d \ + -e /CONFIG_INITRAMFS_SOURCE/d \ + -e /=m/d \ + -e /CONFIG_MODULES/d \ + -e /CONFIG_DEBUG_ERRORS/d \ + -e /CONFIG_DEBUG_BUGVERBOSE/d \ + -e /CONFIG_DEBUG_KERNEL/d \ + ${S}/.config + +# Remove last tag appended by linux.inc (output messes screen) +sed -i -e /CONFIG_CMDLINE/s/quiet/loglevel=3/1 ${S}/.config +sed -i -e /CONFIG_CMDLINE/s/debug/loglevel=3/1 ${S}/.config + +echo 'CONFIG_BLK_DEV_INITRD=y +CONFIG_KEXEC=y +CONFIG_INITRAMFS_SOURCE="initramfs.cpio.gz" +CONFIG_MODULES=n' >> ${S}/.config + + yes '' | oe_runmake oldconfig +} + +do_stage() { +} + +do_install() { +} + +python do_package() { +} diff --git a/recipes/rpm/rpm-native_4.4.2.3.bb b/recipes/rpm/rpm-native_4.4.2.3.bb index 62cef86a72..ec98cb8817 100644 --- a/recipes/rpm/rpm-native_4.4.2.3.bb +++ b/recipes/rpm/rpm-native_4.4.2.3.bb @@ -4,6 +4,3 @@ require rpm-${PV}.inc DEPENDS = "beecrypt-native gettext-native zlib-native file-native popt-native python-native" PACKAGES = "" - -export localstatedir = "${layout_localstatedir}" -export varprefix = "${layout_localstatedir}" diff --git a/recipes/rygel/rygel_0.4.8.bb b/recipes/rygel/rygel_0.4.8.bb index 6d7dd6a930..2e305bbdb1 100644 --- a/recipes/rygel/rygel_0.4.8.bb +++ b/recipes/rygel/rygel_0.4.8.bb @@ -1,6 +1,6 @@ DESCRIPTION = "Collection of DLNA[1] (UPnP[2] AV) devices, implemented through a plug-in mechanism." SECTION = "network/multimedia" -DEPENDS = "glib-2.0 gupnp gupnp-av gstreamer sqlite3 libsoup-2.4 automake-native-1.11.1" +DEPENDS = "glib-2.0 gupnp gupnp-av gstreamer sqlite3 libsoup-2.4 " HOMEPAGE = "http://live.gnome.org/Rygel" SRC_URI = "http://ftp.acc.umu.se/pub/GNOME/sources/rygel/0.4/rygel-${PV}.tar.bz2 \ @@ -8,6 +8,11 @@ SRC_URI = "http://ftp.acc.umu.se/pub/GNOME/sources/rygel/0.4/rygel-${PV}.tar.bz2 inherit autotools +# Needs automake 1.11.x, which isn't safe to use yet in OE +do_configure() { + oe_runconf +} + EXTRA_OECONF = "--enable-vala=no" FILES_${PN} += "${libdir}/rygel-1.0/librygel*.so ${datadir}/dbus-1/" diff --git a/recipes/stopwatch/stopwatch_git.bb b/recipes/stopwatch/stopwatch_git.bb new file mode 100644 index 0000000000..f0d40da54b --- /dev/null +++ b/recipes/stopwatch/stopwatch_git.bb @@ -0,0 +1,33 @@ +DESCRIPTION = "Simple Qt based stop watch" +AUTHOR = "Christof Musik" +SECTION = "x11/applications" +PRIORITY = "optional" +HOMEPAGE = "http://git.senfdax.de" +LICENSE = "GPL QPL" +DEPENDS = "qt4-x11-free" +PV = "1.3.1+gitr${SRCREV}" +PR = "r0" + +inherit qt4x11 + +SRC_URI = "git://git.senfdax.de/git/stopwatch;protocol=http;tag=master;branch=master" +S = "${WORKDIR}/git/" + +do_configure() { + ${OE_QMAKE_QMAKE} +} + +do_compile() { + oe_runmake +} + +do_install() { + install -d ${D}${bindir} + install -m 0755 ${S}stopwatch ${D}${bindir} + install -d ${D}${datadir}/applications + install ${S}desktop/stopwatch.desktop ${D}${datadir}/applications/ + install -d ${D}${datadir}/pixmaps + install ${S}desktop/stopwatch.png ${D}${datadir}/pixmaps/ + install -d ${D}${datadir}/${PN} + install ${S}desktop/om.style ${D}${datadir}/${PN}/ +} diff --git a/recipes/tasks/task-shr-feed.bb b/recipes/tasks/task-shr-feed.bb index aedeb3bb1b..7b5d1a2067 100644 --- a/recipes/tasks/task-shr-feed.bb +++ b/recipes/tasks/task-shr-feed.bb @@ -266,4 +266,6 @@ RDEPENDS_${PN} += "\ qi-ubi \ wpa-gui \ gabriel \ + stopwatch \ + rtmom \ " diff --git a/recipes/wxwidgets/wxwidgets-2.9.0.inc b/recipes/wxwidgets/wxwidgets-2.9.0.inc new file mode 100644 index 0000000000..cb6a971e7a --- /dev/null +++ b/recipes/wxwidgets/wxwidgets-2.9.0.inc @@ -0,0 +1,44 @@ +require wxwidgets.inc + +INC_PR = "r0" + +PROVIDES += "wxwidgets" + +TOOLKIT ?= "gtk2" +UNICODE ?= "${@base_contains('EXTRA_OECONF', '--disable-unicode', 'ansi', 'unicode', d)}" +DEBUG ?= "${@base_contains('EXTRA_OECONF', '--enable-debug', 'debug', 'release', d)}" +RELEASE ?= "${@bb.data.getVar('PV',d,1).rsplit('.', 1)[0]}" + +WXCONFIG ?= "${TOOLKIT}-${UNICODE}-${DEBUG}-${RELEASE}" + +LEAD_SONAME = "libwx_.*_core-.*\.so" + +# Patch and regenerate configure script so that it finds staging root. +FILESDIR = "${FILE_DIRNAME}/wxwidgets-${PV}" +SRC_URI += "file://configure-cross_root.patch;patch=1" + +do_configure_prepend() { + ./autogen.sh +} + +do_stage() { + install -d ${STAGING_INCDIR}/wx-${RELEASE}/wx + cp -pR include/wx ${STAGING_INCDIR}/wx-${RELEASE} + cp -pR lib/libwx* ${STAGING_LIBDIR} + cp -pR lib/wx ${STAGING_LIBDIR} + cp -pR build/bakefiles/wxpresets/presets ${STAGING_DATADIR}/bakefile + cp -p wxwin.m4 ${STAGING_DATADIR}/aclocal + ln -sf ${STAGING_LIBDIR}/wx/config/${TARGET_PREFIX}${WXCONFIG} \ + ${STAGING_BINDIR_CROSS}/wx-config + sed -e s,'wxconfdir=".*"','wxconfigdir="${STAGING_LIBDIR}/wx/config"', \ + -e s,'bindir=".*"','bindir="${STAGING_BINDIR}"', \ + -e s,'libdir=".*"','libdir="${STAGING_LIBDIR}"', \ + -e s,'includedir=".*"','includedir="${STAGING_INCDIR}"', \ + -i ${STAGING_LIBDIR}/wx/config/${TARGET_PREFIX}${WXCONFIG} +} + +do_install() { + oe_runmake 'DESTDIR=${D}' install + ln -sf ${libdir}/wx/config/${TARGET_PREFIX}${WXCONFIG} \ + ${D}${bindir}/wx-config +} diff --git a/recipes/wxwidgets/wxwidgets-2.9.0/configure-cross_root.patch b/recipes/wxwidgets/wxwidgets-2.9.0/configure-cross_root.patch new file mode 100644 index 0000000000..e91a95cfbb --- /dev/null +++ b/recipes/wxwidgets/wxwidgets-2.9.0/configure-cross_root.patch @@ -0,0 +1,30 @@ +diff -pu a/configure.in b/configure.in +--- a/configure.in 2009-12-04 11:02:26.000000000 +0100 ++++ b/configure.in 2009-12-03 22:08:05.000000000 +0100 +@@ -2117,14 +2117,21 @@ if test "$build" != "$host" -a "$GCC" = + dnl the linker. Stripping off the trailing '/bin/ld' gives us a candiate + dnl for a 'root' below which libraries and headers for the target system + dnl might be installed. +- if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then ++ m4_pattern_allow([^PKG_CONFIG_SYSROOT_DIR$]) ++ if test ! -z "$PKG_CONFIG_SYSROOT_DIR"; then ++ cross_root="$PKG_CONFIG_SYSROOT_DIR" ++ elif cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then + cross_root=`dirname $cross_root` + cross_root=`dirname $cross_root` ++ else ++ cross_root="" ++ fi + +- dnl substitute this candiate root for '^/usr' in the search lists, +- dnl strip out any that don't start '^/usr'. +- SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"` +- SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"` ++ if test ! -z "$cross_root"; then ++ dnl substitute this candiate root for '^/' in the search lists, ++ dnl strip out any that don't start '^/'. ++ SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/|$cross_root/|p"` ++ SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/|$cross_root/|p"` + SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include" + + dnl also have pkg-config search for *.pc files under this 'root' diff --git a/recipes/wxwidgets/wxwidgets-ansi_2.9.0.bb b/recipes/wxwidgets/wxwidgets-ansi_2.9.0.bb new file mode 100644 index 0000000000..aafbe5b238 --- /dev/null +++ b/recipes/wxwidgets/wxwidgets-ansi_2.9.0.bb @@ -0,0 +1,5 @@ +require wxwidgets-${PV}.inc + +PR = "${INC_PR}.0" + +EXTRA_OECONF += "--disable-unicode" diff --git a/recipes/wxwidgets/wxwidgets-opengl_2.9.0.bb b/recipes/wxwidgets/wxwidgets-opengl_2.9.0.bb new file mode 100644 index 0000000000..e85658c36a --- /dev/null +++ b/recipes/wxwidgets/wxwidgets-opengl_2.9.0.bb @@ -0,0 +1,7 @@ +require wxwidgets-${PV}.inc + +DEPENDS += "virtual/libgl" + +PR = "${INC_PR}.0" + +EXTRA_OECONF += "--with-opengl" diff --git a/recipes/wxwidgets/wxwidgets_2.9.0.bb b/recipes/wxwidgets/wxwidgets_2.9.0.bb new file mode 100644 index 0000000000..c23c969861 --- /dev/null +++ b/recipes/wxwidgets/wxwidgets_2.9.0.bb @@ -0,0 +1,3 @@ +require wxwidgets-${PV}.inc + +PR = "${INC_PR}.0" diff --git a/recipes/xinput-calibrator/xinput-calibrator-0.5.0/0001-switch-to-autotools-based-build-system.patch b/recipes/xinput-calibrator/xinput-calibrator-0.5.0/0001-switch-to-autotools-based-build-system.patch new file mode 100644 index 0000000000..adec403147 --- /dev/null +++ b/recipes/xinput-calibrator/xinput-calibrator-0.5.0/0001-switch-to-autotools-based-build-system.patch @@ -0,0 +1,162 @@ +From 1a85be450fba4585c64b3178316603a5ad7dd4e6 Mon Sep 17 00:00:00 2001 +From: =?utf-8?q?Petr=20=C5=A0tetiar?= <ynezz@true.cz> +Date: Tue, 19 Jan 2010 18:59:52 +0100 +Subject: [PATCH] switch to autotools based build system +MIME-Version: 1.0 +Content-Type: text/plain; charset=utf-8 +Content-Transfer-Encoding: 8bit + +This patch autotoolize xinput_calibrator for easier (cross)compiling. + +Signed-off-by: Petr Štetiar <ynezz@true.cz> +--- + Makefile | 11 ----------- + Makefile.am | 41 +++++++++++++++++++++++++++++++++++++++++ + autogen.sh | 12 ++++++++++++ + configure.ac | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ + 4 files changed, 102 insertions(+), 11 deletions(-) + delete mode 100644 Makefile + create mode 100644 Makefile.am + create mode 100755 autogen.sh + create mode 100644 configure.ac + +diff --git a/Makefile b/Makefile +deleted file mode 100644 +index c6eabed..0000000 +--- a/Makefile ++++ /dev/null +@@ -1,11 +0,0 @@ +-all: x11 gtkmm +- +-x11: main_x11.cpp gui_x11.cpp +- g++ -Wall main_x11.cpp -lX11 -lXi -o xinput_calibrator.x11 +- cp xinput_calibrator.x11 xinput_calibrator +- +-gtkmm: main_gtkmm.cpp gui_gtkmm.cpp +- g++ -Wall main_gtkmm.cpp `pkg-config --cflags --libs gtkmm-2.4` -o xinput_calibrator.gtkmm +- +-clean: +- rm -f xinput_calibrator xinput_calibrator.x11 xinput_calibrator.gtkmm +diff --git a/Makefile.am b/Makefile.am +new file mode 100644 +index 0000000..ef8f531 +--- /dev/null ++++ b/Makefile.am +@@ -0,0 +1,41 @@ ++# ++# Copyright (c) 2010 Petr Stetiar <ynezz@true.cz> ++# ++# Permission is hereby granted, free of charge, to any person ++# obtaining a copy of this software and associated documentation ++# files (the "Software"), to deal in the Software without ++# restriction, including without limitation the rights to use, ++# copy, modify, merge, publish, distribute, sublicense, and/or sell ++# copies of the Software, and to permit persons to whom the ++# Software is furnished to do so, subject to the following ++# conditions: ++# ++# The above copyright notice and this permission notice shall be ++# included in all copies or substantial portions of the Software. ++# ++# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, ++# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES ++# OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND ++# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT ++# HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, ++# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING ++# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR ++# OTHER DEALINGS IN THE SOFTWARE. ++# ++ ++#AM_CFLAGS = -Wall -ansi -pedantic -W -Wmissing-prototypes -Wmissing-declarations -Werror -std=gnu99 ++ ++if BUILD_GTKMM ++bin_PROGRAMS = xinput_calibrator_x11 xinput_calibrator_gtkmm ++xinput_calibrator_gtkmm_SOURCES = main_gtkmm.cpp ++xinput_calibrator_gtkmm_CXXFLAGS = $(GTKMM_CFLAGS) ++xinput_calibrator_gtkmm_LDADD = $(GTKMM_LIBS) ++else ++bin_PROGRAMS = xinput_calibrator_x11 ++endif ++ ++xinput_calibrator_x11_LDADD = $(XORG_LIBS) ++xinput_calibrator_x11_CFLAGS = $(XORG_CFLAGS) ++xinput_calibrator_x11_SOURCES = main_x11.cpp ++ ++EXTRA_DIST = autogen.sh +diff --git a/autogen.sh b/autogen.sh +new file mode 100755 +index 0000000..904cd67 +--- /dev/null ++++ b/autogen.sh +@@ -0,0 +1,12 @@ ++#! /bin/sh ++ ++srcdir=`dirname $0` ++test -z "$srcdir" && srcdir=. ++ ++ORIGDIR=`pwd` ++cd $srcdir ++ ++autoreconf -v --install || exit 1 ++cd $ORIGDIR || exit $? ++ ++$srcdir/configure --enable-maintainer-mode "$@" +diff --git a/configure.ac b/configure.ac +new file mode 100644 +index 0000000..13257b4 +--- /dev/null ++++ b/configure.ac +@@ -0,0 +1,49 @@ ++# ++# Copyright (c) 2010 Petr Stetiar <ynezz@true.cz> ++# ++# Permission is hereby granted, free of charge, to any person ++# obtaining a copy of this software and associated documentation ++# files (the "Software"), to deal in the Software without ++# restriction, including without limitation the rights to use, ++# copy, modify, merge, publish, distribute, sublicense, and/or sell ++# copies of the Software, and to permit persons to whom the ++# Software is furnished to do so, subject to the following ++# conditions: ++# ++# The above copyright notice and this permission notice shall be ++# included in all copies or substantial portions of the Software. ++# ++# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, ++# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES ++# OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND ++# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT ++# HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, ++# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING ++# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR ++# OTHER DEALINGS IN THE SOFTWARE. ++# ++ ++AC_PREREQ([2.57]) ++AC_INIT(xinput_calibrator,[0.5.0], [http://github.com/tias/xinput_calibrator]) ++AM_INIT_AUTOMAKE([foreign dist-bzip2]) ++AM_MAINTAINER_MODE ++ ++AC_PROG_CC ++AC_PROG_CXX ++AC_PROG_INSTALL ++ ++AC_ARG_ENABLE([gtkmm], AS_HELP_STRING([--enable-gtkmm], [Enable GTKMM GUI])) ++AS_IF([test "x$enable_gtkmm" = "xyes"], [ ++ PKG_CHECK_MODULES(GTKMM, [gtkmm-2.4]) ++ AC_SUBST(GTKMM_CFLAGS) ++ AC_SUBST(GTKMM_LIBS) ++]) ++ ++AM_CONDITIONAL([BUILD_GTKMM], [test "x$enable_gtkmm" = "xyes"]) ++ ++PKG_CHECK_MODULES(XORG, [x11 xi]) ++AC_SUBST(XORG_CFLAGS) ++AC_SUBST(XORG_LIBS) ++ ++AC_CONFIG_FILES(Makefile) ++AC_OUTPUT +-- +1.6.0.4 + diff --git a/recipes/xinput-calibrator/xinput-calibrator-0.5.0/0002-gui_x11.cpp-Load-font-fixed-when-9x15-fails-in-GuiCa.patch b/recipes/xinput-calibrator/xinput-calibrator-0.5.0/0002-gui_x11.cpp-Load-font-fixed-when-9x15-fails-in-GuiCa.patch new file mode 100644 index 0000000000..08f430999b --- /dev/null +++ b/recipes/xinput-calibrator/xinput-calibrator-0.5.0/0002-gui_x11.cpp-Load-font-fixed-when-9x15-fails-in-GuiCa.patch @@ -0,0 +1,32 @@ +From aaf549ecacc05bd5ddd29bb345cae471ce3ab48c Mon Sep 17 00:00:00 2001 +From: Marco Cavallini <m.cavallini@koansoftware.com> +Date: Thu, 21 Jan 2010 16:46:18 +0100 +Subject: [PATCH] gui_x11.cpp: Load font fixed when 9x15 fails in GuiCalibratorX11 + + +Signed-off-by: Marco Cavallini <m.cavallini@koansoftware.com> +--- + gui_x11.cpp | 7 +++++-- + 1 files changed, 5 insertions(+), 2 deletions(-) + +diff --git a/gui_x11.cpp b/gui_x11.cpp +index bc483cd..02ddc73 100644 +--- a/gui_x11.cpp ++++ b/gui_x11.cpp +@@ -112,8 +112,11 @@ GuiCalibratorX11::GuiCalibratorX11(Calibrator* calibrator0) + // Load font and get font information structure + font_info = XLoadQueryFont(display, "9x15"); + if (font_info == NULL) { +- XCloseDisplay(display); +- throw std::runtime_error("Unable to open 9x15 font"); ++ font_info = XLoadQueryFont(display, "fixed"); ++ if (font_info == NULL) { ++ XCloseDisplay(display); ++ throw std::runtime_error("Unable to open 9x15 neither fixed font"); ++ } + } + + // Compute absolute circle centers +-- +1.6.3.3 + diff --git a/recipes/xinput-calibrator/xinput-calibrator_0.5.0.bb b/recipes/xinput-calibrator/xinput-calibrator_0.5.0.bb new file mode 100644 index 0000000000..b01d4fd4a9 --- /dev/null +++ b/recipes/xinput-calibrator/xinput-calibrator_0.5.0.bb @@ -0,0 +1,15 @@ +DEPENDS = "virtual/libx11 libxi" + +SRCREV = "6af268f1b435f7bdd83335092ddc684054df2110" +SRC_URI = "git://github.com/tias/xinput_calibrator.git;protocol=git \ + file://0001-switch-to-autotools-based-build-system.patch;patch=1 \ + file://0002-gui_x11.cpp-Load-font-fixed-when-9x15-fails-in-GuiCa.patch;patch=1" + +PR = "r1" +inherit autotools +S = "${WORKDIR}/git/" + +do_install() { + install -d ${D}${bindir} + install -m 0755 xinput_calibrator_x11 ${D}${bindir}/xinput_calibrator +} diff --git a/recipes/xorg-app/xvidtune_1.0.2.bb b/recipes/xorg-app/xvidtune_1.0.2.bb new file mode 100644 index 0000000000..bfab14a67a --- /dev/null +++ b/recipes/xorg-app/xvidtune_1.0.2.bb @@ -0,0 +1,6 @@ +require xorg-app-common.inc +PE = "1" + +DEPENDS += " libxaw libxxf86vm libxt" + +FILES_${PN} += " ${datadir}/X11/app-defaults/Xvidtune " diff --git a/recipes/xorg-driver/xf86-input-tslib/double-free-crash.patch b/recipes/xorg-driver/xf86-input-tslib/double-free-crash.patch new file mode 100644 index 0000000000..07754731dd --- /dev/null +++ b/recipes/xorg-driver/xf86-input-tslib/double-free-crash.patch @@ -0,0 +1,20 @@ +xorg-server-1.7.3/hw/xfree86/common/xf86Helper.c contains this code +causing a double free crash on chvt or exit: + + /* This should *really* be handled in drv->UnInit(dev) call instead, but + * if the driver forgets about it make sure we free it or at least crash + * with flying colors */ + if (pInp->private) + xfree(pInp->private); +Index: xf86-input-tslib-0.0.6/src/tslib.c +=================================================================== +--- xf86-input-tslib-0.0.6.orig/src/tslib.c ++++ xf86-input-tslib-0.0.6/src/tslib.c +@@ -435,6 +435,7 @@ xf86TslibUninit(InputDriverPtr drv, Inpu + xf86TslibControlProc(pInfo->dev, DEVICE_OFF); + ts_close(priv->ts); + xfree(pInfo->private); ++ pInfo->private = NULL; + xf86DeleteInput(pInfo, 0); + } + diff --git a/recipes/xorg-driver/xf86-input-tslib_0.0.6.bb b/recipes/xorg-driver/xf86-input-tslib_0.0.6.bb index 84d2da0ffd..cce5e9bdd1 100644 --- a/recipes/xorg-driver/xf86-input-tslib_0.0.6.bb +++ b/recipes/xorg-driver/xf86-input-tslib_0.0.6.bb @@ -4,9 +4,10 @@ DESCRIPTION = "X.Org X server -- tslib input driver" RRECOMMENDS += "hal tslib-calibrate" DEPENDS += "tslib" -PR = "r8" +PR = "r9" SRC_URI = "http://www.pengutronix.de/software/xf86-input-tslib/download/xf86-input-tslib-${PV}.tar.bz2 \ + file://double-free-crash.patch;patch=1 \ file://10-x11-input-tslib.fdi" do_configure_prepend() { diff --git a/recipes/xorg-driver/xf86-video-intel_2.10.0.bb b/recipes/xorg-driver/xf86-video-intel_2.10.0.bb new file mode 100644 index 0000000000..eed1fcb600 --- /dev/null +++ b/recipes/xorg-driver/xf86-video-intel_2.10.0.bb @@ -0,0 +1,5 @@ +require xorg-driver-video.inc + +DESCRIPTION = "X.Org X server -- Intel i8xx, i9xx display driver" +DEPENDS += " virtual/libx11 libxvmc drm xf86driproto" +PE = "1" diff --git a/recipes/xorg-driver/xf86-video-vesa_2.3.0.bb b/recipes/xorg-driver/xf86-video-vesa_2.3.0.bb new file mode 100644 index 0000000000..c2b6b7608a --- /dev/null +++ b/recipes/xorg-driver/xf86-video-vesa_2.3.0.bb @@ -0,0 +1,2 @@ +require xorg-driver-video.inc +PE = "1" diff --git a/recipes/xorg-driver/xf86-video-vmware_10.16.9.bb b/recipes/xorg-driver/xf86-video-vmware_10.16.9.bb new file mode 100644 index 0000000000..994b8b6a3c --- /dev/null +++ b/recipes/xorg-driver/xf86-video-vmware_10.16.9.bb @@ -0,0 +1,6 @@ +require xorg-driver-video.inc +PE = "1" + +#DESCRIPTION = "" + +DEPENDS += " xineramaproto xf86miscproto drm xf86driproto" diff --git a/recipes/xorg-lib/libx11-1.3.3/x11_disable_makekeys.patch b/recipes/xorg-lib/libx11-1.3.3/x11_disable_makekeys.patch new file mode 100644 index 0000000000..5d0a24ca2d --- /dev/null +++ b/recipes/xorg-lib/libx11-1.3.3/x11_disable_makekeys.patch @@ -0,0 +1,23 @@ +diff -uNr libX11-1.3.3.orig/src/util/Makefile.am libX11-1.3.3/src/util/Makefile.am +--- libX11-1.3.3.orig/src/util/Makefile.am 2010-01-15 02:11:36.000000000 +0100 ++++ libX11-1.3.3/src/util/Makefile.am 2010-01-18 14:48:27.000000000 +0100 +@@ -1,19 +1 @@ +- +-noinst_PROGRAMS=makekeys +- +-makekeys_CFLAGS=$(X11_CFLAGS) +- +-CC = @CC_FOR_BUILD@ +- + EXTRA_DIST = mkks.sh +- +-if LINT +-# Check source code with tools like lint & sparse +- +-ALL_LINT_FLAGS=$(LINT_FLAGS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ +- $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) +- +-lint: +- $(LINT) $(ALL_LINT_FLAGS) makekeys.c +- +-endif LINT diff --git a/recipes/xorg-lib/libx11-native_1.3.3.bb b/recipes/xorg-lib/libx11-native_1.3.3.bb new file mode 100644 index 0000000000..98fe79f5c3 --- /dev/null +++ b/recipes/xorg-lib/libx11-native_1.3.3.bb @@ -0,0 +1,10 @@ +require libx11_${PV}.bb + +SRC_URI += "file://dolt-fix.patch;patch=1" + +FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/libx11" + +DEPENDS = "xproto-native xextproto-native libxau-native xtrans-native libxdmcp-native xcmiscproto-native xf86bigfontproto-native kbproto-native inputproto-native bigreqsproto-native util-macros-native" +PROVIDES = "" + +inherit native diff --git a/recipes/xorg-lib/libx11_1.3.3.bb b/recipes/xorg-lib/libx11_1.3.3.bb new file mode 100644 index 0000000000..8858a09721 --- /dev/null +++ b/recipes/xorg-lib/libx11_1.3.3.bb @@ -0,0 +1,33 @@ +require xorg-lib-common.inc + +DESCRIPTION = "Base X libs." +DEPENDS += "bigreqsproto xproto xextproto xtrans libxau xcmiscproto \ + libxdmcp xf86bigfontproto kbproto inputproto xproto-native" +PROVIDES = "virtual/libx11" +PE = "1" +PR = "r3" + +XORG_PN = "libX11" + +SRC_URI += "file://x11_disable_makekeys.patch;patch=1 \ +# file://dolt-fix.patch;patch=1 \ +# file://keysymdef_include.patch;patch=1 \ +" + +EXTRA_OECONF += "--without-xcb --with-keysymdef=${STAGING_INCDIR}/X11/keysymdef.h" + +do_compile() { + ( + unset CC LD CXX CCLD CFLAGS CPPFLAGS LDFLAGS CXXFLAGS + cd src/util; + mv makekeys.c.orig makekeys.c || true + touch makekeys-makekeys.o ; ${BUILD_CC} ${BUILD_CFLAGS} -I${STAGING_INCDIR_NATIVE} makekeys.c -o makekeys + # mv to stop it getting rebuilt + mv makekeys.c makekeys.c.orig + cd ../../ + ) || exit 1 + oe_runmake +} + +FILES_${PN} += "${datadir}/X11/XKeysymDB ${datadir}/X11/XErrorDB ${libdir}/X11/Xcms.txt" +FILES_${PN}-locale += "${datadir}/X11/locale ${libdir}/X11/locale" diff --git a/recipes/xorg-lib/pixman_0.16.2.bb b/recipes/xorg-lib/pixman_0.16.2.bb index 2517f8f354..1a15ac4a96 100644 --- a/recipes/xorg-lib/pixman_0.16.2.bb +++ b/recipes/xorg-lib/pixman_0.16.2.bb @@ -3,7 +3,9 @@ PRIORITY = "optional" DESCRIPTION = "Low-level pixel manipulation library." LICENSE = "X11" -DEFAULT_PREFERENCE = "-1" +PR = "r1" + +BBCLASSEXTEND="native" SRC_URI = "http://cairographics.org/releases/pixman-${PV}.tar.gz \ " diff --git a/recipes/xorg-lib/pixman_git.bb b/recipes/xorg-lib/pixman_git.bb index 1b5ca6388f..0c3008de99 100644 --- a/recipes/xorg-lib/pixman_git.bb +++ b/recipes/xorg-lib/pixman_git.bb @@ -4,9 +4,11 @@ DESCRIPTION = "Low-level pixel manipulation library." LICENSE = "X11" PV = "0.17.3" -PR = "r4" +PR = "r5" PR_append = "+gitr${SRCREV}" +BBCLASSEXTEND="native" + SRCREV = "c97b1e803fc214e9880eaeff98410c8fa37f9ddc" DEFAULT_PREFERENCE = "-1" diff --git a/recipes/xorg-proto/dri2proto_2.2.bb b/recipes/xorg-proto/dri2proto_2.2.bb new file mode 100644 index 0000000000..a0e1fd3989 --- /dev/null +++ b/recipes/xorg-proto/dri2proto_2.2.bb @@ -0,0 +1,3 @@ +DESCRIPTION = "DRI2 extension headers" + +require xorg-proto-common.inc diff --git a/recipes/xorg-proto/glproto_1.4.11.bb b/recipes/xorg-proto/glproto_1.4.11.bb new file mode 100644 index 0000000000..9f09fff7b7 --- /dev/null +++ b/recipes/xorg-proto/glproto_1.4.11.bb @@ -0,0 +1,4 @@ +require xorg-proto-common.inc + +PR = "r1" +PE = "1" diff --git a/recipes/xorg-util/util-macros-native_1.5.0.bb b/recipes/xorg-util/util-macros-native_1.5.0.bb new file mode 100644 index 0000000000..618e78f116 --- /dev/null +++ b/recipes/xorg-util/util-macros-native_1.5.0.bb @@ -0,0 +1,7 @@ +require util-macros_${PV}.bb + +inherit native + +XORG_PN = "util-macros" + +S = "${WORKDIR}/util-macros-${PV}" diff --git a/recipes/xorg-util/util-macros_1.5.0.bb b/recipes/xorg-util/util-macros_1.5.0.bb new file mode 100644 index 0000000000..4775fc6901 --- /dev/null +++ b/recipes/xorg-util/util-macros_1.5.0.bb @@ -0,0 +1,6 @@ +require xorg-util-common.inc + +DESCRIPTION = "X autotools macros" +PE = "1" + +ALLOW_EMPTY = "1" diff --git a/recipes/xorg-xserver/xserver-xorg-1.7.4/hack-assume-pixman-supports-overlapped-blt.patch b/recipes/xorg-xserver/xserver-xorg-1.7.4/hack-assume-pixman-supports-overlapped-blt.patch new file mode 100644 index 0000000000..a947582f15 --- /dev/null +++ b/recipes/xorg-xserver/xserver-xorg-1.7.4/hack-assume-pixman-supports-overlapped-blt.patch @@ -0,0 +1,14 @@ +diff --git a/fb/fbcopy.c b/fb/fbcopy.c +index 07eb663..ba394b7 100644 +--- a/fb/fbcopy.c ++++ b/fb/fbcopy.c +@@ -91,8 +91,7 @@ fbCopyNtoN (DrawablePtr pSrcDrawable, + while (nbox--) + { + #ifndef FB_ACCESS_WRAPPER /* pixman_blt() doesn't support accessors yet */ +- if (pm == FB_ALLONES && alu == GXcopy && !reverse && +- !upsidedown) ++ if (pm == FB_ALLONES && alu == GXcopy) + { + if (!pixman_blt ((uint32_t *)src, (uint32_t *)dst, srcStride, dstStride, srcBpp, dstBpp, + (pbox->x1 + dx + srcXoff), diff --git a/recipes/xorg-xserver/xserver-xorg/hack-fbdev-ignore-return-mode.patch b/recipes/xorg-xserver/xserver-xorg/hack-fbdev-ignore-return-mode.patch new file mode 100644 index 0000000000..d3661cbea2 --- /dev/null +++ b/recipes/xorg-xserver/xserver-xorg/hack-fbdev-ignore-return-mode.patch @@ -0,0 +1,39 @@ +Ugly hack that prevents server termination with xf86-video-fbdev-0.4.1 +(and probably other) while returning from chvt or resume on some +hardware (e. g. zaurus). + +Correct fix would require debugging of fbdev mode during LeaveVT and +EnterVT. + +This patch may cause staying in incorrect or corrupted display mode +after EnterVT, but on man affected devices it does not cause any visible +problems. + +Hacked code is never called on properly written drivers. + +Devices affected and testers involved for future patch removal: +Sharp Zaurus (spitz/akita): Stanislav Brabec <utx@penguin.cz> + +See also: +https://bugzilla.redhat.com/show_bug.cgi?id=238451 + +The bug (first line indicates that your device is affected): + +(EE) FBDEV(0): FBIOPUT_VSCREENINFO succeeded but modified mode + +Fatal server error: +EnterVT failed for screen 0 + +Index: xorg-server-1.7.3/hw/xfree86/fbdevhw/fbdevhw.c +=================================================================== +--- xorg-server-1.7.3.orig/hw/xfree86/fbdevhw/fbdevhw.c ++++ xorg-server-1.7.3/hw/xfree86/fbdevhw/fbdevhw.c +@@ -571,7 +571,7 @@ fbdevHWSetMode(ScrnInfoPtr pScrn, Displa + #if DEBUG + print_fbdev_mode("returned", &set_var); + #endif +- return FALSE; ++ /* return FALSE; UGLY HACK to allow return from chvt */ + } + + if (!check) diff --git a/recipes/xorg-xserver/xserver-xorg_1.7.3.bb b/recipes/xorg-xserver/xserver-xorg_1.7.3.bb index edede8b3ff..2ecb169a84 100644 --- a/recipes/xorg-xserver/xserver-xorg_1.7.3.bb +++ b/recipes/xorg-xserver/xserver-xorg_1.7.3.bb @@ -3,11 +3,12 @@ require xorg-xserver-common.inc DESCRIPTION = "the X.Org X server" DEPENDS += "pixman libpciaccess openssl dri2proto glproto xorg-minimal-fonts" PE = "2" -PR = "r4" +PR = "r5" SRC_URI += "file://sysroot_fix.patch;patch=1 \ file://dolt-fix-1.7.0.patch;patch=1 \ file://randr-support-1.7.0.patch;patch=1 \ + file://hack-fbdev-ignore-return-mode.patch;patch=1 \ " SRC_URI_append_angstrom = " file://hack-assume-pixman-supports-overlapped-blt.patch;patch=1" diff --git a/recipes/xorg-xserver/xserver-xorg_1.7.4.bb b/recipes/xorg-xserver/xserver-xorg_1.7.4.bb new file mode 100644 index 0000000000..bd2e6f82a8 --- /dev/null +++ b/recipes/xorg-xserver/xserver-xorg_1.7.4.bb @@ -0,0 +1,26 @@ +require xorg-xserver-common.inc + +DESCRIPTION = "the X.Org X server" +DEPENDS += "pixman libpciaccess openssl dri2proto glproto xorg-minimal-fonts" +PE = "2" + +SRC_URI += "file://sysroot_fix.patch;patch=1 \ + file://dolt-fix-1.7.0.patch;patch=1 \ + file://randr-support-1.7.0.patch;patch=1 \ + file://hack-fbdev-ignore-return-mode.patch;patch=1 \ + " + +SRC_URI_append_angstrom = " file://hack-assume-pixman-supports-overlapped-blt.patch;patch=1" +SRC_URI_append_shr = " file://hack-assume-pixman-supports-overlapped-blt.patch;patch=1" + +do_install_prepend() { + mkdir -p ${D}/${libdir}/X11/fonts +} + +# The NVidia driver requires Xinerama support in the X server. Ion uses it. +XINERAMA = "${@['--disable-xinerama','--enable-xinerama'][bb.data.getVar('MACHINE',d) in ['ion']]}" + +EXTRA_OECONF += " --enable-config-hal ${XINERAMA} --disable-kdrive --disable-xephyr --disable-xsdl --disable-xfake --disable-xfbdev --disable-dmx" +EXTRA_OECONF += " --disable-glx-tls --enable-dri2 --disable-unit-tests " + +export LDFLAGS += " -ldl " |