diff options
author | Rolf Leggewie <oe-devel@rolf.leggewie.biz> | 2007-12-13 11:43:58 +0000 |
---|---|---|
committer | Rolf Leggewie <oe-devel@rolf.leggewie.biz> | 2007-12-13 11:43:58 +0000 |
commit | 19711ba264ecf5b93f70f73896608aca29cadeef (patch) | |
tree | 6528a4095e88eac53ef2097bf713763fd7db4521 /packages | |
parent | 7085289d77b701e5617fc8ab17cb4641dc32ead0 (diff) | |
parent | 60bf325ef367ef3820d3b54227815fa478d94c38 (diff) |
merge of '0340844fa6dec3078e66fa33da6ff6e42090cf32'
and '5e41bb4f3a91a4ca575844d0563d02e7659d4217'
Diffstat (limited to 'packages')
35 files changed, 478 insertions, 160 deletions
diff --git a/packages/glibc/eglibc-package.bbclass b/packages/glibc/eglibc-package.bbclass index 0cb8497733..a859ac2ca9 100644 --- a/packages/glibc/eglibc-package.bbclass +++ b/packages/glibc/eglibc-package.bbclass @@ -27,7 +27,7 @@ ENABLE_BINARY_LOCALE_GENERATION ?= "0" BINARY_LOCALE_ARCHES ?= "arm.*" PACKAGES = "eglibc-dbg eglibc catchsegv sln nscd ldd localedef eglibc-utils eglibc-dev eglibc-doc eglibc-locale libsegfault eglibc-extra-nss eglibc-thread-db eglibc-pcprofile" -PACKAGES_DYNAMIC = "eglibc-gconv-* eglibc-charmap-* eglibc-localedata-*" +PACKAGES_DYNAMIC = "glibc-gconv-* glibc-charmap-* glibc-localedata-* eglibc-gconv-* eglibc-charmap-* eglibc-localedata-*" RPROVIDES_eglibc = "glibc" RPROVIDES_eglibc-utils = "glibc-utils" @@ -210,6 +210,7 @@ python package_do_split_gconvs () { f.close() if deps != []: bb.data.setVar('RDEPENDS_%s' % pkg, " ".join(deps), d) + bb.data.setVar('RPROVIDES_%s' % pkg, 'glibc-localedata-%s' % group, d) do_split_packages(d, locales_dir, file_regex='(.*)', output_pattern='eglibc-localedata-%s', description='locale definition for %s', hook=calc_locale_deps, extra_depends='') bb.data.setVar('PACKAGES', bb.data.getVar('PACKAGES', d) + ' eglibc-gconv', d) @@ -261,6 +262,7 @@ python package_do_split_gconvs () { else: eglibc_name = name bb.data.setVar('RDEPENDS_%s' % pkgname, legitimize_package_name('eglibc-binary-localedata-%s' % eglibc_name), d) + bb.data.setVar('RPROVIDES_%s' % pkgname, 'glibc-binary-localedata-%s' % group, d) rprovides = 'virtual-locale-%s' % legitimize_package_name(name) m = re.match("(.*)_(.*)", name) if m: diff --git a/packages/glibc/eglibc_svn.bb b/packages/glibc/eglibc_svn.bb index da33cca3fa..ff68185bcc 100644 --- a/packages/glibc/eglibc_svn.bb +++ b/packages/glibc/eglibc_svn.bb @@ -2,8 +2,8 @@ require glibc.inc DEFAULT_PREFERENCE = "-1" FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/eglibc-svn" -PV = "2.6+svnr${SRCREV}" -PR = "r1" +PV = "2.7+svnr${SRCREV}" +PR = "r2" SRC_URI = "svn://svn.eglibc.org;module=trunk \ file://etc/ld.so.conf \ file://generate-supported.mk" diff --git a/packages/gpephone/gpe-applauncher_0.11.bb b/packages/gpephone/gpe-applauncher_0.11.bb index 1efcd793e0..204f7828f9 100644 --- a/packages/gpephone/gpe-applauncher_0.11.bb +++ b/packages/gpephone/gpe-applauncher_0.11.bb @@ -2,7 +2,7 @@ LICENSE = "GPL" DESCRIPTION = "A cellphone application launcher." SECTION = "gpe" PRIORITY = "optional" -PR = "r1" +PR = "r2" SRC_URI_OVERRIDES_PACKAGE_ARCH = "0" @@ -18,7 +18,7 @@ inherit gpephone autotools SRC_URI += "file://hotkeys.conf \ file://softkeys.conf" -EXTRA_OECONF = "--disable-gridlayout" +EXTRA_OECONF = "--enable-gridlayout" FILES_${PN} = '${datadir} ${bindir}' FILES_gpe-applauncher-config = '${sysconfdir}/gpe/' diff --git a/packages/gpephone/gpe-applauncher_svn.bb b/packages/gpephone/gpe-applauncher_svn.bb index 4fe82877e3..311d2eef60 100644 --- a/packages/gpephone/gpe-applauncher_svn.bb +++ b/packages/gpephone/gpe-applauncher_svn.bb @@ -2,7 +2,7 @@ LICENSE = "GPL" DESCRIPTION = "A cellphone application launcher." SECTION = "gpe" PRIORITY = "optional" -PR = "r0" +PR = "r1" PV = "0.11+svn-${SRCREV}" SRC_URI_OVERRIDES_PACKAGE_ARCH = "0" @@ -24,7 +24,7 @@ RDEPENDS_${PN} += "gpe-applauncher-config" SRC_URI += "file://hotkeys.conf \ file://softkeys.conf" -EXTRA_OECONF = "--disable-gridlayout" +EXTRA_OECONF = "--enable-gridlayout" FILES_${PN} = '${datadir} ${bindir}' FILES_gpe-applauncher-config = '${sysconfdir}/gpe/' diff --git a/packages/gtk-webcore/midori_0.0.13.bb b/packages/gtk-webcore/midori_0.0.13.bb new file mode 100644 index 0000000000..23d0179375 --- /dev/null +++ b/packages/gtk-webcore/midori_0.0.13.bb @@ -0,0 +1,11 @@ +DESCRIPTION = "Midori is a lightweight web browser." +LICENSE = "GPLv2" + +DEPENDS = "webkit-gtk libsexy" + +inherit autotools pkgconfig + +SRC_URI = "http://software.twotoasts.de/media/midori/midori-${PV}.tar.gz \ + " + + diff --git a/packages/images/minimal-openmoko-image.bb b/packages/images/minimal-openmoko-image.bb new file mode 100644 index 0000000000..6ab4935c24 --- /dev/null +++ b/packages/images/minimal-openmoko-image.bb @@ -0,0 +1,21 @@ +#------------------------------------------------------ +# Minimal OpenMoko Image Recipe +# This should only have the base system + dialer +# #------------------------------------------------------ + +IMAGE_LINGUAS = "" +ANGSTROM_EXTRA_INSTALL ?= "" + +IMAGE_INSTALL = "\ + task-base \ + ${ANGSTROM_EXTRA_INSTALL} \ + task-openmoko-linux \ + task-openmoko-net \ + task-openmoko-ui \ + task-openmoko-base \ + task-openmoko-phone \ + " + +inherit image + +ROOTFS_POSTPROCESS_COMMAND += 'date "+%m%d%H%M%Y" >${IMAGE_ROOTFS}/etc/timestamp' diff --git a/packages/linux/linux-handhelds-2.6.inc b/packages/linux/linux-handhelds-2.6.inc index f58ef672aa..0db5e93974 100644 --- a/packages/linux/linux-handhelds-2.6.inc +++ b/packages/linux/linux-handhelds-2.6.inc @@ -23,7 +23,7 @@ HHV ?= "${@bb.data.getVar('PV',d,1).split('-')[1].split('hh')[-1]}" KERNEL_PRIORITY = "${@'%d' % (int(bb.data.getVar('K_MAJOR',d,1)) * 100000000 + int(bb.data.getVar('K_MINOR',d,1)) * 1000000 + int(bb.data.getVar('K_MICRO',d,1)) * 10000 + float(bb.data.getVar('HHV',d,1)))}" -KERNEL_FILENAME = "${KERNEL_IMAGETYPE}-${PV}-${MACHINE}-${DATETIME}" +KERNEL_FILENAME = "${KERNEL_IMAGETYPE}-${PV}-${PR}-${MACHINE}.bin" do_configure() { diff --git a/packages/linux/linux-handhelds-2.6_2.6.21-hh19.bb b/packages/linux/linux-handhelds-2.6_2.6.21-hh19.bb index ec5844bfb5..275602762d 100644 --- a/packages/linux/linux-handhelds-2.6_2.6.21-hh19.bb +++ b/packages/linux/linux-handhelds-2.6_2.6.21-hh19.bb @@ -1,7 +1,7 @@ SECTION = "kernel" DESCRIPTION = "handhelds.org Linux kernel 2.6 for PocketPCs and other consumer handheld devices." LICENSE = "GPL" -PR = "r1" +PR = "r2" DEFAULT_PREFERENCE = "-1" diff --git a/packages/meta/meta-angstrom-2007.bb b/packages/meta/meta-angstrom-2007.bb new file mode 100644 index 0000000000..a3a2c78a79 --- /dev/null +++ b/packages/meta/meta-angstrom-2007.bb @@ -0,0 +1,32 @@ +# Meta file to inform the autobuilder which packages to build for the feeds +# Any changes should be discussed first on the angstrom-distro-devel mailinglist + +# Try to keep it alphabetically sorted please + +inherit meta + +RDEPENDS = "" + +# Basic tools +RDEPENDS += " \ + task-proper-tools \ + screen \ + " + +# Browsers know to work on all archs +RDEPENDS += " \ + gpe-mini-browser \ + midori \ + minimo \ + openmoko-browser2 \ + webkit-gtklauncher \ + " + +# Webservers +RDEPENDS += " \ + apache2 \ + boa \ + cherokee \ + lighttpd \ + thttpd \ + " diff --git a/packages/mono/files/mono-libgc-configure.patch b/packages/mono/files/mono-libgc-configure.patch new file mode 100644 index 0000000000..641635da3c --- /dev/null +++ b/packages/mono/files/mono-libgc-configure.patch @@ -0,0 +1,20 @@ +Index: mono-1.2.6/libgc/configure.in +=================================================================== +--- mono-1.2.6.orig/libgc/configure.in 2007-12-12 15:02:31.000000000 -0500 ++++ mono-1.2.6/libgc/configure.in 2007-12-12 15:05:10.000000000 -0500 +@@ -17,6 +17,15 @@ + AC_PREREQ(2.53) + AC_INIT(libgc-mono, 6.6, Hans_Boehm@hp.com) + ++# the following is a very strange bug. CPPFLAGS does not get set correctly ++# if CPPFLAGS is set in the environment. The top level configure script ++# appends to the CPPFLAGS variable, and then exports it. This change should ++# be picked up by this configure script, but it is not. The original ++# env variable is still used for some reason. If CPPFLAGS is not set in the ++# environment, everything works fine. ++# Someone more experienced with autoconf will have to come up with a better fix. ++CPPFLAGS="$CPPFLAGS -DGC_LINUX_THREADS -D_GNU_SOURCE -D_REENTRANT -DUSE_MMAP -DUSE_MUNMAP -DUSE_COMPILER_TLS" ++echo "CPPFLAGS verify: start of libgc/configure.in, CPPFLAGS = $CPPFLAGS" + AM_INIT_AUTOMAKE(libgc-mono, 6.6, no-define) + + AC_CONFIG_SRCDIR(gcj_mlc.c) diff --git a/packages/zroadmap/.mtn2git_empty b/packages/mono/mono-1.2.5.1+1.2.6pre4/.mtn2git_empty index e69de29bb2..e69de29bb2 100644 --- a/packages/zroadmap/.mtn2git_empty +++ b/packages/mono/mono-1.2.5.1+1.2.6pre4/.mtn2git_empty diff --git a/packages/mono/mono-1.2.5.1+1.2.6pre4/configure.patch b/packages/mono/mono-1.2.5.1+1.2.6pre4/configure.patch new file mode 100644 index 0000000000..f033248621 --- /dev/null +++ b/packages/mono/mono-1.2.5.1+1.2.6pre4/configure.patch @@ -0,0 +1,23 @@ +Index: mono-1.2.6/configure.in +=================================================================== +--- mono-1.2.6.orig/configure.in 2007-11-08 17:07:57.000000000 -0500 ++++ mono-1.2.6/configure.in 2007-12-12 15:27:52.000000000 -0500 +@@ -1150,6 +1150,8 @@ + ], [ + AC_MSG_RESULT(no) + with_tls=pthread ++ ], [ ++ AC_MSG_RESULT(yes) + ]) + fi + +@@ -1252,6 +1254,9 @@ + ], [ + with_sigaltstack=no + AC_MSG_RESULT(no) ++ ], [ ++ AC_MSG_RESULT(yes) ++ AC_DEFINE(HAVE_WORKING_SIGALTSTACK) + ]) + fi + diff --git a/packages/mono/mono-mcs-intermediate_1.2.5.1+1.2.6pre4.bb b/packages/mono/mono-mcs-intermediate_1.2.5.1+1.2.6pre4.bb new file mode 100644 index 0000000000..1ec7397e2b --- /dev/null +++ b/packages/mono/mono-mcs-intermediate_1.2.5.1+1.2.6pre4.bb @@ -0,0 +1,12 @@ +# This is a straw-man recipe for step 1 in the two-step build of +# mono. Because it's impossible to build the mcs directory +# in cross-compile mode, this recipe will do a native build, +# then tar the resulting install tree for usage by the mono +# package in step 2. +# See http://www.mono-project.com/Mono:ARM + +require mono_1.2.6.inc +require mono-mcs-intermediate.inc + +DEFAULT_PREFERENCE = "-1" + diff --git a/packages/mono/mono_1.2.5.1+1.2.6pre4.bb b/packages/mono/mono_1.2.5.1+1.2.6pre4.bb new file mode 100644 index 0000000000..e78160ee5a --- /dev/null +++ b/packages/mono/mono_1.2.5.1+1.2.6pre4.bb @@ -0,0 +1,80 @@ +require mono_1.2.6.inc + +DEPENDS = "mono-native mono-mcs-intermediate glib-2.0 perl-native" + +PR = "r0" + +DEFAULT_PREFERENCE = "-1" + +SRC_URI += "file://configure.patch;patch=1" + +# Per http://www.mono-project.com/Mono:ARM +EXTRA_OECONF += " --disable-mcs-build " +# Instead, get the mcs tree from a different build (see mono-mcs-intermediate) + +do_install_prepend() { + install -d ${D} + pushd ${D} + tar -xzf ${STAGING_DIR}/share/mono-mcs/mono-mcs-${PV}.tar.gz + popd +} + +do_install_append() { + # mono-mcs-intermediate builds and installs jay (a Yacc for Java and C#), + # however, jay is not being cross-compiled and thus only + # available for the buildhost architecture, so remove it + # entirely + pushd ${D} + rm -rf ./usr/share/man/man1/jay.1 ./usr/share/jay \ + ./usr/share/jay/README.jay \ + ./usr/bin/jay + popd + + # Not packaged with the default rules and apparently + # not used for anything + rm -rf ${D}${datadir}/mono-1.0/mono/cil/cil-opcodes.xml +} + +inherit mono + +# Import file definitions from Debian +require mono_1.2.5.1-files.inc + +# Add some packages +PACKAGES_append = " mono-doc mono mono-runtime" + +FILES_mono-doc_append = " /usr/share/libgc-mono/ " + +FILES_mono = "" +ALLOW_EMPTY_mono = "1" +RDEPENDS_mono = "mono-common mono-jit" + +FILES_mono-runtime = "" +ALLOW_EMPTY_mono-runtime = "1" +RDEPENDS_mono-runtime = "mono-jit mono-gac" + +RDEPENDS_mono-jit = "mono-common" + +FILES_libmono-dev =+ " /usr/lib/libmono.la /usr/lib/libmono-profiler-cov.la /usr/lib/libmono-profiler-aot.la \ + /usr/lib/libMonoPosixHelper.la /usr/lib/libMonoSupportW.la" +FILES_libmono-dbg =+ " /usr/lib/.debug/libmono*.so.* /usr/lib/.debug/libikvm-native.so \ + /usr/lib/.debug/libMonoPosixHelper.so /usr/lib/.debug/libMonoSupportW.so" + +# Packages not included in Debian +PACKAGES_prepend = "libnunit2.2-cil-dbg libnunit2.2-cil-dev libnunit2.2-cil \ + libmono-cecil0.5-cil-dbg libmono-cecil0.5-cil-dev libmono-cecil0.5-cil \ + libmono-db2-1.0-cil-dbg libmono-db2-1.0-cil-dev libmono-db2-1.0-cil" + +FILES_libnunit2.2-cil = "/usr/lib/mono/gac/nunit.*/2.2.* /usr/lib/mono/1.0/nunit.*.dll" +FILES_libnunit2.2-cil-dev = "/usr/lib/pkgconfig/mono-nunit.pc" +FILES_libnunit2.2-cil-dbg = "/usr/lib/mono/gac/nunit*/2.2.*/nunit.*.dll.mdb" + +FILES_libmono-cecil0.5-cil = "/usr/lib/mono/gac/Mono.Cecil/0.5.*" +FILES_libmono-cecil0.5-cil-dbg = "/usr/lib/mono/gac/Mono.Cecil/0.5.0.1__0738eb9f132ed756/Mono.Cecil.dll.mdb" + +FILES_libmono-db2-1.0-cil = "/usr/lib/mono/gac/IBM.Data.DB2/1.0* /usr/lib/mono/1.0/IBM.Data.DB2.dll" +FILES_libmono-db2-1.0-cil-dbg = "/usr/lib/mono/gac/IBM.Data.DB2/1.0*/IBM.Data.DB2.dll.mdb" + +# Move .pc files +FILES_libmono-cairo1.0-cil-dev = "/usr/lib/pkgconfig/mono-cairo.pc" +PACKAGES =+ " libmono-cairo1.0-cil-dev " diff --git a/packages/mono/mono_1.2.6.inc b/packages/mono/mono_1.2.6.inc new file mode 100644 index 0000000000..23492e82f7 --- /dev/null +++ b/packages/mono/mono_1.2.6.inc @@ -0,0 +1,13 @@ +DESCRIPTION = "Mono Programming Language" +SECTION = "devel/mono" +LICENSE = "GPL LGPL X11" + +SRC_URI = "http://mono.ximian.com/monobuild/preview/sources/mono/mono-1.2.6.tar.bz2 \ + file://mono-libgc-configure.patch;patch=1" + +S = "${WORKDIR}/mono-1.2.6" + +inherit autotools +EXTRA_OECONF_arm = "--without-tls" +EXTRA_OECONF_mipsel = "--without-tls" + diff --git a/packages/octave/octave_2.9.17.bb b/packages/octave/octave_2.9.19.bb index 5473e0d99e..b92a181754 100644 --- a/packages/octave/octave_2.9.17.bb +++ b/packages/octave/octave_2.9.19.bb @@ -11,15 +11,15 @@ PACKAGES =+ "libcruft liboctave liboctinterp octave-oct \ FILES_libcruft = "${libdir}/${PN}-${PV}/libcruft*" FILES_libcruft-dev = "${libdir}/${PN}-${PV}/libcruft.so" -FILES_libcruft-dbg = "${libdir}/${PN}-${PV}/.debug/libcruft*" +FILES_libcruft-dbg += "${libdir}/${PN}-${PV}/.debug/libcruft*" FILES_liboctave = "${libdir}/${PN}-${PV}/liboctave*" FILES_liboctave-dev = "${libdir}/${PN}-${PV}/liboctave.so" -FILES_liboctave-dbg = "${libdir}/${PN}-${PV}/.debug/liboctave*" +FILES_liboctave-dbg += "${libdir}/${PN}-${PV}/.debug/liboctave*" FILES_liboctinterp = "${libdir}/${PN}-${PV}/liboctinterp*" FILES_liboctinterp-dev = "${libdir}/${PN}-${PV}/liboctinterp.so" -FILES_liboctinterp-dbg = "${libdir}/${PN}-${PV}/.debug/liboctinterp*" +FILES_liboctinterp-dbg += "${libdir}/${PN}-${PV}/.debug/liboctinterp*" # octave-oct provides subroutines in .oct file format FILES_${PN}-oct = "${libexecdir}/${PN}/${PV}/oct/${TARGET_SYS}/*.oct" diff --git a/packages/zroadmap/files/.mtn2git_empty b/packages/roadmap/zroadmap-1.0.12/.mtn2git_empty index e69de29bb2..e69de29bb2 100644 --- a/packages/zroadmap/files/.mtn2git_empty +++ b/packages/roadmap/zroadmap-1.0.12/.mtn2git_empty diff --git a/packages/zroadmap/files/qt2-fixes-r1.patch b/packages/roadmap/zroadmap-1.0.12/qt2-fixes-r1.patch index 24fe1c9bdb..24fe1c9bdb 100644 --- a/packages/zroadmap/files/qt2-fixes-r1.patch +++ b/packages/roadmap/zroadmap-1.0.12/qt2-fixes-r1.patch diff --git a/packages/zroadmap/files/qt2-fixes.patch b/packages/roadmap/zroadmap-1.0.12/qt2-fixes.patch index 46b17b8cfb..46b17b8cfb 100644 --- a/packages/zroadmap/files/qt2-fixes.patch +++ b/packages/roadmap/zroadmap-1.0.12/qt2-fixes.patch diff --git a/packages/zroadmap/files/zroadgps.png b/packages/roadmap/zroadmap-1.0.12/zroadgps.png Binary files differindex a77b3729b7..a77b3729b7 100644 --- a/packages/zroadmap/files/zroadgps.png +++ b/packages/roadmap/zroadmap-1.0.12/zroadgps.png diff --git a/packages/zroadmap/zroadmap_1.0.12.bb b/packages/roadmap/zroadmap_1.0.12.bb index 5b9161cfce..5b9161cfce 100644 --- a/packages/zroadmap/zroadmap_1.0.12.bb +++ b/packages/roadmap/zroadmap_1.0.12.bb diff --git a/packages/zroadmap/zroadmap_cvs.bb b/packages/roadmap/zroadmap_cvs.bb index fd9cc5e95f..fd9cc5e95f 100644 --- a/packages/zroadmap/zroadmap_cvs.bb +++ b/packages/roadmap/zroadmap_cvs.bb diff --git a/packages/tasks/task-openmoko-base.bb b/packages/tasks/task-openmoko-base.bb new file mode 100644 index 0000000000..a5d13e7e08 --- /dev/null +++ b/packages/tasks/task-openmoko-base.bb @@ -0,0 +1,29 @@ +DESCRIPTION = "OpenMoko: Base Task for the OpenMoko Linux Distribution" +SECTION = "openmoko/base" +LICENSE = "MIT" +PR = "r71" + +inherit task + +# +# task-openmoko-base +# +DESCRIPTION_task-openmoko-base = "OpenMoko: Top Panel, Application Launcher, Application Manager" +RDEPENDS_task-openmoko-base = "\ + matchbox-panel-2 \ + matchbox-panel-2-applets \ + matchbox-keyboard-inputmethod \ + matchbox-keyboard-im \ + matchbox-keyboard-applet \ + matchbox-stroke \ + openmoko-terminal2 \ +# openmoko-keyboard \ + openmoko-panel-battery \ + openmoko-panel-bt \ + openmoko-panel-clock \ + openmoko-panel-usb \ + ${@base_contains('MACHINE_FEATURES', 'gps', 'openmoko-panel-gps', '',d)} \ + \ + openmoko-today2 \ +# openmoko-appmanager \ +" diff --git a/packages/tasks/task-openmoko-examples.bb b/packages/tasks/task-openmoko-examples.bb new file mode 100644 index 0000000000..c5dbfb6f04 --- /dev/null +++ b/packages/tasks/task-openmoko-examples.bb @@ -0,0 +1,6 @@ +DESCRIPTION = "OpenMoko: Examples for the OpenMoko Linux Distribution" +SECTION = "openmoko/base" +LICENSE = "MIT" +PR = "r71" + +inherit task
\ No newline at end of file diff --git a/packages/tasks/task-openmoko-games.bb b/packages/tasks/task-openmoko-games.bb new file mode 100644 index 0000000000..0fdf3cac33 --- /dev/null +++ b/packages/tasks/task-openmoko-games.bb @@ -0,0 +1,14 @@ +DESCRIPTION = "OpenMoko: Games for the OpenMoko Linux Distribution" +SECTION = "openmoko/base" +LICENSE = "MIT" +PR = "r71" + +inherit task + +# +# task-openmoko-games +# +DESCRIPTION_task-openmoko-games = "OpenMoko: Games" +RDEPENDS_task-openmoko-games = "\ + oh-puzzles \ +" diff --git a/packages/tasks/task-openmoko-linux.bb b/packages/tasks/task-openmoko-linux.bb new file mode 100644 index 0000000000..59e6f24094 --- /dev/null +++ b/packages/tasks/task-openmoko-linux.bb @@ -0,0 +1,24 @@ +DESCRIPTION = "OpenMoko: Core system for the OpenMoko Linux Distribution" +SECTION = "openmoko/base" +LICENSE = "MIT" +PR = "r71" + +inherit task + +# +# task-openmoko-core +# +DESCRIPTION_task-openmoko-linux = "OpenMoko: Linux Core Services" +RDEPENDS_task-openmoko-linux = "\ + task-base \ + netbase \ + sysfsutils \ + modutils-initscripts \ + module-init-tools-depmod \ + rsync \ + screen \ + psplash \ + fbset \ + fbset-modes \ +# update-alternatives \ +" diff --git a/packages/tasks/task-openmoko-net.bb b/packages/tasks/task-openmoko-net.bb new file mode 100644 index 0000000000..e75dc4b4ff --- /dev/null +++ b/packages/tasks/task-openmoko-net.bb @@ -0,0 +1,15 @@ +DESCRIPTION = "OpenMoko: Networking for the OpenMoko Linux Distribution" +SECTION = "openmoko/base" +LICENSE = "MIT" +PR = "r71" + +inherit task + +# +# task-openmoko-net +# +DESCRIPTION_task-openmoko-net = "OpenMoko: Linux Advanced Networking" +RDEPENDS_task-openmoko-net = "\ + bluez-utils \ + bridge-utils \ +" diff --git a/packages/tasks/task-openmoko-phone.bb b/packages/tasks/task-openmoko-phone.bb new file mode 100644 index 0000000000..e47a1e5465 --- /dev/null +++ b/packages/tasks/task-openmoko-phone.bb @@ -0,0 +1,19 @@ +DESCRIPTION = "OpenMoko: Tasks for the OpenMoko Linux Distribution" +SECTION = "openmoko/base" +LICENSE = "MIT" +PROVIDES = "task-openmoko-everything" +PR = "r71" + +inherit task + +# +# task-openmoko-phone +# +DESCRIPTION_task-openmoko-phone = "OpenMoko: GSM and GPRS Phone Services" +RDEPENDS_task-openmoko-phone = "\ + gsmd \ + libgsmd-tools \ + openmoko-dialer2 \ + openmoko-panel-gsm \ +# ppp \ +" diff --git a/packages/tasks/task-openmoko-pim.bb b/packages/tasks/task-openmoko-pim.bb new file mode 100644 index 0000000000..1eea1a14a1 --- /dev/null +++ b/packages/tasks/task-openmoko-pim.bb @@ -0,0 +1,23 @@ +DESCRIPTION = "OpenMoko: PIM for the OpenMoko Linux Distribution" +SECTION = "openmoko/base" +LICENSE = "MIT" +PR = "r71" + +inherit task + +# +# task-openmoko-pim +# +DESCRIPTION_task-openmoko-pim = "OpenMoko: Personal Information Management Suite" +RDEPENDS_task-openmoko-pim = "\ + eds-dbus \ + openmoko-calculator2 \ + openmoko-contacts2 \ + openmoko-dates2 \ + openmoko-feedreader2 \ + openmoko-browser2 \ + openmoko-appmanager2 \ + openmoko-tasks2 \ + openmoko-mediaplayer2 \ + openmoko-messages2 \ +" diff --git a/packages/tasks/task-openmoko-ui.bb b/packages/tasks/task-openmoko-ui.bb new file mode 100644 index 0000000000..e34bb42b2f --- /dev/null +++ b/packages/tasks/task-openmoko-ui.bb @@ -0,0 +1,56 @@ +DESCRIPTION = "OpenMoko: GUI for the OpenMoko Linux Distribution" +SECTION = "openmoko/base" +LICENSE = "MIT" +PR = "r71" + +inherit task + +XSERVER ?= "xserver-kdrive-fbdev" + +# +# task-openmoko-ui +# +DESCRIPTION_task-openmoko-ui = "OpenMoko: The X11/Gtk+2 based native User Interface" +PACKAGE_ARCH_task-openmoko-ui = "${MACHINE_ARCH}" +RDEPENDS_task-openmoko-ui = "\ + gdk-pixbuf-loader-png \ + gdk-pixbuf-loader-gif \ + gdk-pixbuf-loader-xpm \ + gdk-pixbuf-loader-jpeg \ + pango-module-basic-x \ + pango-module-basic-fc \ + gtk+ \ + matchbox-wm \ + ${XSERVER} \ + xserver-kdrive-common \ + xserver-nodm-init \ + xauth \ + xhost \ + xset \ + xrandr \ + \ + settings-daemon \ + notification-daemon \ + neod \ + libnotify \ + \ + openmoko-session2 \ + openmoko-sound-system2 \ + openmoko-sound-theme-standard2 \ + \ + gpe-scap \ +" + +# Handle theming. FIXME: properly use machine database in a smart way, +# taking into account not only size but also PPI! Ultimately this might +# need recomputing some theme files and images on-the-fly :/ SVG and logical +# theme description anyone? Or simply Edje to the rescue! :D +THEMES = "openmoko-icon-theme-standard2 openmoko-theme-standard2" +THEMES_a780 = "openmoko-icon-theme-standard2-qvga openmoko-theme-standard2-qvga" +THEMES_e680 = "openmoko-icon-theme-standard2-qvga openmoko-theme-standard2-qvga" +THEMES_a1200 = "openmoko-icon-theme-standard2-qvga openmoko-theme-standard2-qvga" +THEMES_rokre2 = "openmoko-icon-theme-standard2-qvga openmoko-theme-standard2-qvga" +THEMES_rokre6 = "openmoko-icon-theme-standard2-qvga openmoko-theme-standard2-qvga" +THEMES_magician = "openmoko-icon-theme-standard2-qvga openmoko-theme-standard2-qvga" + +RDEPENDS_task-openmoko-ui += "${THEMES}" diff --git a/packages/tasks/task-openmoko.bb b/packages/tasks/task-openmoko.bb index 76e0b843f7..730ea339aa 100644 --- a/packages/tasks/task-openmoko.bb +++ b/packages/tasks/task-openmoko.bb @@ -6,158 +6,26 @@ PR = "r71" inherit task -XSERVER ?= "xserver-kdrive-fbdev" +PACKAGES += "\ + task-openmoko-everything \ +" -PACKAGES = "\ +RDEPENDS_task-openmoko-everything := "\ task-openmoko-linux \ task-openmoko-ui \ task-openmoko-base \ task-openmoko-phone \ task-openmoko-pim \ task-openmoko-net \ - \ task-openmoko-games \ task-openmoko-examples \ -" - -RDEPENDS_task-openmoko-everything := "\ - ${PACKAGES} \ task-openmoko-debug \ task-openmoko-native-sdk \ " -# -# task-openmoko-core -# -DESCRIPTION_task-openmoko-linux = "OpenMoko: Linux Core Services" -RDEPENDS_task-openmoko-linux = "\ - task-base \ - netbase \ - sysfsutils \ - modutils-initscripts \ - module-init-tools-depmod \ - rsync \ - screen \ - psplash \ - fbset \ - fbset-modes \ -# update-alternatives \ -" - -# -# task-openmoko-ui -# -DESCRIPTION_task-openmoko-ui = "OpenMoko: The X11/Gtk+2 based native User Interface" -PACKAGE_ARCH_task-openmoko-ui = "${MACHINE_ARCH}" -RDEPENDS_task-openmoko-ui = "\ - gdk-pixbuf-loader-png \ - gdk-pixbuf-loader-gif \ - gdk-pixbuf-loader-xpm \ - gdk-pixbuf-loader-jpeg \ - pango-module-basic-x \ - pango-module-basic-fc \ - gtk+ \ - matchbox-wm \ - ${XSERVER} \ - xserver-kdrive-common \ - xserver-nodm-init \ - xauth \ - xhost \ - xset \ - xrandr \ - \ - settings-daemon \ - notification-daemon \ - neod \ - libnotify \ - \ - openmoko-session2 \ - openmoko-sound-system2 \ - openmoko-sound-theme-standard2 \ - \ - gpe-scap \ -" -# Handle theming. FIXME: properly use machine database in a smart way, -# taking into account not only size but also PPI! Ultimately this might -# need recomputing some theme files and images on-the-fly :/ SVG and logical -# theme description anyone? Or simply Edje to the rescue! :D -THEMES = "openmoko-icon-theme-standard2 openmoko-theme-standard2" -THEMES_a780 = "openmoko-icon-theme-standard2-qvga openmoko-theme-standard2-qvga" -THEMES_e680 = "openmoko-icon-theme-standard2-qvga openmoko-theme-standard2-qvga" -THEMES_a1200 = "openmoko-icon-theme-standard2-qvga openmoko-theme-standard2-qvga" -THEMES_rokre2 = "openmoko-icon-theme-standard2-qvga openmoko-theme-standard2-qvga" -THEMES_rokre6 = "openmoko-icon-theme-standard2-qvga openmoko-theme-standard2-qvga" -THEMES_magician = "openmoko-icon-theme-standard2-qvga openmoko-theme-standard2-qvga" -RDEPENDS_task-openmoko-ui += "${THEMES}" -PACKAGE_ARCH_task-openmoko-ui = "${MACHINE_ARCH}" -# -# task-openmoko-base -# -DESCRIPTION_task-openmoko-base = "OpenMoko: Top Panel, Application Launcher, Application Manager" -RDEPENDS_task-openmoko-base = "\ - matchbox-panel-2 \ - matchbox-panel-2-applets \ - matchbox-keyboard-inputmethod \ - matchbox-keyboard-im \ - matchbox-keyboard-applet \ - matchbox-stroke \ - openmoko-terminal2 \ -# openmoko-keyboard \ - openmoko-panel-battery \ - openmoko-panel-bt \ - openmoko-panel-clock \ - openmoko-panel-usb \ - ${@base_contains('MACHINE_FEATURES', 'gps', 'openmoko-panel-gps', '',d)} \ - \ - openmoko-today2 \ -# openmoko-appmanager \ -" -# -# task-openmoko-phone -# -DESCRIPTION_task-openmoko-phone = "OpenMoko: GSM and GPRS Phone Services" -RDEPENDS_task-openmoko-phone = "\ - gsmd \ - libgsmd-tools \ - openmoko-dialer2 \ - openmoko-panel-gsm \ -# ppp \ -" -# -# task-openmoko-pim -# -DESCRIPTION_task-openmoko-pim = "OpenMoko: Personal Information Management Suite" -RDEPENDS_task-openmoko-pim = "\ - eds-dbus \ - openmoko-calculator2 \ - openmoko-contacts2 \ - openmoko-dates2 \ - openmoko-feedreader2 \ - openmoko-browser2 \ - openmoko-appmanager2 \ - openmoko-tasks2 \ - openmoko-mediaplayer2 \ - openmoko-messages2 \ -" -# -# task-openmoko-net -# -DESCRIPTION_task-openmoko-net = "OpenMoko: Linux Advanced Networking" -RDEPENDS_task-openmoko-net = "\ - bluez-utils \ - bridge-utils \ -" - -# -# task-openmoko-games -# -DESCRIPTION_task-openmoko-games = "OpenMoko: Games" -RDEPENDS_task-openmoko-games = "\ - oh-puzzles \ -" diff --git a/packages/webkit/files/WebKit.pri b/packages/webkit/files/WebKit.pri index 0c47afe7fd..640fa34174 100644 --- a/packages/webkit/files/WebKit.pri +++ b/packages/webkit/files/WebKit.pri @@ -11,12 +11,47 @@ qt-port:DEFINES += BUILDING_QT__=1 qt-port:!building-libs { QMAKE_LIBDIR = $$OUTPUT_DIR/lib $$QMAKE_LIBDIR LIBS += -lQtWebKit + DEPENDPATH += $$PWD/WebKit/qt/Api +} + +gtk-port:!building-libs { + QMAKE_LIBDIR = $$OUTPUT_DIR/lib $$QMAKE_LIBDIR + LIBS += -lWebKitGtk + DEPENDPATH += $$PWD/WebKit/gtk/WebView $$PWD/WebKit/gtk/WebCoreSupport +} + +gtk-port { + CONFIG += link_pkgconfig + + DEFINES += BUILDING_CAIRO__=1 BUILDING_GTK__=1 + + # We use FreeType directly with Cairo + PKGCONFIG += cairo-ft + + directfb: PKGCONFIG += cairo-directfb gtk+-directfb-2.0 + else: PKGCONFIG += cairo gtk+-2.0 + + # Set a CONFIG flag for the GTK+ target (x11, quartz, win32, directfb) + CONFIG += $$system(pkg-config --variable=target $$PKGCONFIG) + + # We use the curl http backend on all platforms + PKGCONFIG += libcurl + + LIBS += -lWebKitGtk -ljpeg -lpng + + QMAKE_CXXFLAGS += $$system(icu-config --cppflags) + QMAKE_LIBS += $$system(icu-config --ldflags) + + # This set of warnings is borrowed from the Mac build + QMAKE_CXXFLAGS += -Wall -W -Wcast-align -Wchar-subscripts -Wformat-security -Wmissing-format-attribute -Wpointer-arith -Wwrite-strings -Wno-format-y2k -Wno-unused-parameter -Wundef + + # These flags are based on optimization experience from the Mac port: + # Helps code size significantly and speed a little + QMAKE_CXXFLAGS += -fno-exceptions -fno-rtti + + DEPENDPATH += $$PWD/JavaScriptCore/API + INCLUDEPATH += $$PWD } -gtk-port:CONFIG += link_pkgconfig -gtk-port:PKGCONFIG += cairo cairo-ft gdk-2.0 gtk+-2.0 libcurl -gtk-port:DEFINES += BUILDING_GTK__=1 BUILDING_CAIRO__ -gtk-port:LIBS += -L$$OUTPUT_DIR/lib -lWebKitGtk $$system(icu-config --ldflags) -ljpeg -lpng -gtk-port:QMAKE_CXXFLAGS += $$system(icu-config --cppflags) DEFINES += USE_SYSTEM_MALLOC CONFIG(release) { @@ -32,7 +67,7 @@ gtk-port:INCLUDEPATH += \ $$BASE_DIR/WebCore/platform/graphics/cairo \ $$BASE_DIR/WebCore/loader/gtk \ $$BASE_DIR/WebCore/page/gtk \ - $$BASE_DIR/WebKit/gtk/Api \ + $$BASE_DIR/WebKit/gtk/WebView \ $$BASE_DIR/WebKit/gtk/WebCoreSupport INCLUDEPATH += \ $$BASE_DIR/JavaScriptCore/ \ diff --git a/packages/webkit/files/WebKit.pro b/packages/webkit/files/WebKit.pro index aab0209a93..027017bd8d 100644 --- a/packages/webkit/files/WebKit.pro +++ b/packages/webkit/files/WebKit.pro @@ -3,9 +3,15 @@ CONFIG += ordered !gtk-port:CONFIG += qt-port qt-port:!win32-*:SUBDIRS += WebKit/qt/Plugins SUBDIRS += \ - WebCore + WebCore \ + JavaScriptCore/kjs/testkjs.pro + +qt-port { + SUBDIRS += WebKit/qt/QtLauncher + + !win32-*: SUBDIRS += WebKitTools/DumpRenderTree/qt/DumpRenderTree.pro +} -qt-port:SUBDIRS += \ - WebKit/qt/QtLauncher gtk-port:SUBDIRS += \ - WebKitTools/GtkLauncher + WebKitTools/GtkLauncher \ + WebKitTools/DumpRenderTree/gtk/DumpRenderTree.pro diff --git a/packages/webkit/webkit-gtk_svn.bb b/packages/webkit/webkit-gtk_svn.bb index 262c6820db..c726020d1a 100644 --- a/packages/webkit/webkit-gtk_svn.bb +++ b/packages/webkit/webkit-gtk_svn.bb @@ -1,5 +1,8 @@ DEPENDS = "curl icu libxml2 cairo libxslt libidn gnutls gtk+" +# If you activate HTML5 media support (ENABLE_VIDEO=1) you'll need: +# DEPENDS += " gstreamer gst-plugins-base gnome-vfs " + WEBKIT_PORT = "gtk-port" WEBKIT_EXTRA_OPTIONS = "CONFIG-=qt" @@ -9,7 +12,7 @@ FILES_webkit-gtklauncher-dbg = "${bindir}/.debug/GtkLauncher" require webkit.inc -PR = "r3" +PR = "r4" do_install() { install -d ${D}${bindir} diff --git a/packages/webkit/webkit.inc b/packages/webkit/webkit.inc index 2ff61091c3..81c2d91bf8 100644 --- a/packages/webkit/webkit.inc +++ b/packages/webkit/webkit.inc @@ -34,7 +34,13 @@ do_configure() { do_compile_prepend() { mkdir -p ${S}/WebKitBuilds/Debug/JavaScriptCore/pcre/tmp/ cd ${S}/JavaScriptCore/pcre - ${BUILD_CC} dftables.c -o dftables -I. -I../wtf + if test -e dftables.c + then + ${BUILD_CC} dftables.c -o dftables -I. -I../wtf + elif test -e dftables.cpp + then + ${BUILD_CXX} dftables.cpp -o dftables -I. -I../wtf + fi cp dftables ${S}/WebKitBuilds/Debug/JavaScriptCore/pcre/tmp/ cd ${S}/WebKitBuilds/Debug } |