diff options
Diffstat (limited to 'meta/recipes-sato')
52 files changed, 550 insertions, 789 deletions
diff --git a/meta/recipes-sato/eds/eds-dbus/old-gdk-api.patch b/meta/recipes-sato/eds/eds-dbus/old-gdk-api.patch new file mode 100644 index 000000000..8b600698b --- /dev/null +++ b/meta/recipes-sato/eds/eds-dbus/old-gdk-api.patch @@ -0,0 +1,17 @@ +Do not disable old API after upgrading gtk+. +This avoid build error due to defination missing. + +Signed-off-by: Zhai Edwin <edwin.zhai@intel.com> + +Index: git/configure.ac +=================================================================== +--- git.orig/configure.ac 2010-12-16 10:25:24.000000000 +0800 ++++ git/configure.ac 2010-12-16 10:25:58.000000000 +0800 +@@ -147,7 +147,6 @@ + AS_COMPILER_FLAGS(WARNING_FLAGS, + "-DG_DISABLE_DEPRECATED + -DPANGO_DISABLE_DEPRECATED +- -DGDK_DISABLE_DEPRECATED + -DGDK_PIXBUF_DISABLE_DEPRECATED + -DG_DISABLE_SINGLE_INCLUDES + -DGTK_DISABLE_SINGLE_INCLUDES diff --git a/meta/recipes-sato/eds/eds-dbus_git.bb b/meta/recipes-sato/eds/eds-dbus_git.bb index e5b7e15f7..5ab96a7ef 100644 --- a/meta/recipes-sato/eds/eds-dbus_git.bb +++ b/meta/recipes-sato/eds/eds-dbus_git.bb @@ -18,6 +18,7 @@ SRC_URI = "git://git.gnome.org/evolution-data-server;protocol=git \ file://nossl.patch;patch=1 \ file://optional_imapx_provider.patch;patch=1 \ file://new-contact-fix.patch;patch=1 \ + file://old-gdk-api.patch;patch=1 \ file://iconv-detect.h" S = "${WORKDIR}/git" diff --git a/meta/recipes-sato/eds/eds-tools_bzr.bb b/meta/recipes-sato/eds/eds-tools_bzr.bb index 0dfcf593c..9cead1651 100644 --- a/meta/recipes-sato/eds/eds-tools_bzr.bb +++ b/meta/recipes-sato/eds/eds-tools_bzr.bb @@ -1,10 +1,10 @@ LICENSE = "GPLv2" SECTION = "x11" DEPENDS = "dbus-glib eds-dbus" -RDEPENDS = "libedata-book" +RDEPENDS_${PN} = "libedata-book" DESCRIPTION = "Test applications for EDS" -PR = "r0" +PR = "r1" SRC_URI = "bzr://burtonini.com/bzr/eds-tools;proto=http" diff --git a/meta/recipes-sato/gaku/gaku_svn.bb b/meta/recipes-sato/gaku/gaku_svn.bb index a70863e6b..594b03736 100644 --- a/meta/recipes-sato/gaku/gaku_svn.bb +++ b/meta/recipes-sato/gaku/gaku_svn.bb @@ -4,20 +4,20 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \ file://main.c;beginline=1;endline=20;md5=0c02b4ef945956832b37a036b9cc103a" DEPENDS = "gtk+ gstreamer libowl-av" -RDEPENDS = "gst-plugins-base-audioconvert \ +RDEPENDS_${PN} = "gst-plugins-base-audioconvert \ gst-plugins-base-audioresample \ gst-plugins-base-typefindfunctions \ gst-plugins-base-playbin" -RRECOMMENDS = "gst-plugins-good-id3demux \ +RRECOMMENDS_${PN} = "gst-plugins-good-id3demux \ gst-plugins-base-vorbis \ gst-plugins-base-alsa \ gst-plugins-base-ogg \ ${COMMERCIAL_AUDIO_PLUGINS}" -PV = "0.0+svnr${SRCREV}" +PV = "0.0+svnr${SRCPV}" -PR = "r3" +PR = "r4" SRC_URI = "svn://svn.o-hand.com/repos/misc/trunk;module=${PN};proto=http" diff --git a/meta/recipes-sato/gtk-engines/gtk-sato-engine_svn.bb b/meta/recipes-sato/gtk-engines/gtk-sato-engine_svn.bb index a7ee6c6e4..3c7f1b542 100644 --- a/meta/recipes-sato/gtk-engines/gtk-sato-engine_svn.bb +++ b/meta/recipes-sato/gtk-engines/gtk-sato-engine_svn.bb @@ -4,7 +4,7 @@ LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=2d5025d4aa3495befef8f17206a5b0a1 \ file://src/sato-utils.h;endline=24;md5=708f28cfe7fe028d497aaf4389b80b62 \ file://src/sato-main.c;endline=24;md5=b5e5dddebca570275becb51b526e4c5a" -PV = "0.3.2+svnr${SRCREV}" +PV = "0.3.2+svnr${SRCPV}" PR = "r0" SRC_URI = "svn://svn.o-hand.com/repos/sato/trunk;module=gtk-engine;proto=http" diff --git a/meta/recipes-sato/images/poky-image-sato-dev.bb b/meta/recipes-sato/images/poky-image-sato-dev.bb new file mode 100644 index 000000000..429095e19 --- /dev/null +++ b/meta/recipes-sato/images/poky-image-sato-dev.bb @@ -0,0 +1,9 @@ +# +# Copyright (C) 2007 OpenedHand Ltd. +# + +IMAGE_FEATURES += "apps-console-core ${SATO_IMAGE_FEATURES} dev-pkgs" + +LICENSE = "MIT" + +inherit poky-image diff --git a/meta/recipes-sato/images/poky-image-sato-sdk-directdisk.bb b/meta/recipes-sato/images/poky-image-sato-sdk-directdisk.bb new file mode 100644 index 000000000..b69780fa0 --- /dev/null +++ b/meta/recipes-sato/images/poky-image-sato-sdk-directdisk.bb @@ -0,0 +1,9 @@ +require recipes-core/images/poky-image-directdisk.inc + +DESCRIPTION = "Sato SDK Direct Disk Image" + +LICENSE = "MIT" + +ROOTFS = "${DEPLOY_DIR_IMAGE}/poky-image-sato-sdk-${MACHINE}.ext3" + +do_bootdirectdisk[depends] += "poky-image-sato-sdk:do_rootfs" diff --git a/meta/recipes-sato/images/poky-image-sato-sdk-live.bb b/meta/recipes-sato/images/poky-image-sato-sdk-live.bb new file mode 100644 index 000000000..b5e786e98 --- /dev/null +++ b/meta/recipes-sato/images/poky-image-sato-sdk-live.bb @@ -0,0 +1,11 @@ +DESCRIPTION = "Bootable Live Sato SDK Image" + +require recipes-core/images/poky-image-live.inc + +LABELS += "boot install" + +ROOTFS = "${DEPLOY_DIR_IMAGE}/poky-image-sato-sdk-${MACHINE}.ext3" + +LICENSE = "MIT" + +do_bootimg[depends] += "poky-image-sato-sdk:do_rootfs" diff --git a/meta/recipes-sato/images/poky-image-sdk.bb b/meta/recipes-sato/images/poky-image-sato-sdk.bb index 9f8eef9a5..9f8eef9a5 100644 --- a/meta/recipes-sato/images/poky-image-sdk.bb +++ b/meta/recipes-sato/images/poky-image-sato-sdk.bb diff --git a/meta/recipes-sato/images/poky-image-sdk-directdisk.bb b/meta/recipes-sato/images/poky-image-sdk-directdisk.bb deleted file mode 100644 index 17dcdc5f0..000000000 --- a/meta/recipes-sato/images/poky-image-sdk-directdisk.bb +++ /dev/null @@ -1,9 +0,0 @@ -require recipes-core/images/poky-image-directdisk.inc - -DESCRIPTION = "SDK Direct Disk Image" - -LICENSE = "MIT" - -ROOTFS = "${DEPLOY_DIR_IMAGE}/poky-image-sdk-${MACHINE}.ext3" - -do_bootdirectdisk[depends] += "poky-image-sdk:do_rootfs" diff --git a/meta/recipes-sato/images/poky-image-sdk-live.bb b/meta/recipes-sato/images/poky-image-sdk-live.bb deleted file mode 100644 index b96cd925a..000000000 --- a/meta/recipes-sato/images/poky-image-sdk-live.bb +++ /dev/null @@ -1,11 +0,0 @@ -DESCRIPTION = "Bootable Live SDK Image" - -require recipes-core/images/poky-image-live.inc - -LABELS += "boot install" - -ROOTFS = "${DEPLOY_DIR_IMAGE}/poky-image-sdk-${MACHINE}.ext3" - -LICENSE = "MIT" - -do_bootimg[depends] += "poky-image-sdk:do_rootfs" diff --git a/meta/recipes-sato/leafpad/leafpad_0.8.17.bb b/meta/recipes-sato/leafpad/leafpad_0.8.18.1.bb index 6291b95ee..5024e7cf4 100644 --- a/meta/recipes-sato/leafpad/leafpad_0.8.17.bb +++ b/meta/recipes-sato/leafpad/leafpad_0.8.18.1.bb @@ -12,8 +12,8 @@ DEPENDS_append_poky = " libowl" SRC_URI = "http://savannah.nongnu.org/download/${PN}/${PN}-${PV}.tar.gz \ file://leafpad.desktop" -SRC_URI[md5sum] = "d39acdf4d31de309d484511bdc9f5924" -SRC_URI[sha256sum] = "8df8de7aaea26148225b6120631b4fe6b89d36d2b52962e7c9cc0ce07bfdbd4c" +SRC_URI[md5sum] = "254a72fc67505e3aa52884c729cd7b97" +SRC_URI[sha256sum] = "959d22ae07f22803bc66ff40d373a854532a6e4732680bf8a96a3fbcb9f80a2c" PR = "r0" SRC_URI_append_poky += " file://owl-menu.patch;apply=yes " diff --git a/meta/recipes-sato/libowl/libowl_svn.bb b/meta/recipes-sato/libowl/libowl_svn.bb index 31a142c93..74d0d7798 100644 --- a/meta/recipes-sato/libowl/libowl_svn.bb +++ b/meta/recipes-sato/libowl/libowl_svn.bb @@ -10,7 +10,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \ SECTION = "libs" DEPENDS = "gtk+" -PV = "0.0+svnr${SRCREV}" +PV = "0.0+svnr${SRCPV}" PR = "r6" SRC_URI = "svn://svn.o-hand.com/repos/misc/trunk;module=${PN};proto=http" diff --git a/meta/recipes-sato/matchbox-config-gtk/matchbox-config-gtk_svn.bb b/meta/recipes-sato/matchbox-config-gtk/matchbox-config-gtk_git.bb index af748f14f..9f4e4d3e0 100644 --- a/meta/recipes-sato/matchbox-config-gtk/matchbox-config-gtk_svn.bb +++ b/meta/recipes-sato/matchbox-config-gtk/matchbox-config-gtk_git.bb @@ -7,13 +7,14 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \ file://appearance/mb-appearance.c;endline=25;md5=ea92333cf8a6802639d62d874c114a28" DEPENDS = "gconf gtk+" -RDEPENDS = "settings-daemon" +RDEPENDS_${PN} = "settings-daemon" -PV = "0.0+svnr${SRCREV}" +PV = "0.0+git${SRCPV}" +PR = "r0" -S = "${WORKDIR}/${PN}" +S = "${WORKDIR}/git" -SRC_URI = "svn://svn.o-hand.com/repos/matchbox/trunk;module=${PN};proto=http \ +SRC_URI = "git://git.pokylinux.org/${PN};protocol=git \ file://no-handed.patch;patch=1;pnum=0" inherit autotools pkgconfig diff --git a/meta/recipes-sato/matchbox-desktop-sato/matchbox-desktop-sato_svn.bb b/meta/recipes-sato/matchbox-desktop-sato/matchbox-desktop-sato_svn.bb index bdae33d5a..617fb6dbe 100644 --- a/meta/recipes-sato/matchbox-desktop-sato/matchbox-desktop-sato_svn.bb +++ b/meta/recipes-sato/matchbox-desktop-sato/matchbox-desktop-sato_svn.bb @@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552" SECTION = "x11" DEPENDS = "" CONFLICTS = "matchbox-common" -PV = "0.0+svnr${SRCREV}" +PV = "0.0+svnr${SRCPV}" PR = "r0" SRC_URI = "svn://svn.o-hand.com/repos/sato/trunk;module=desktop-folders;proto=http" diff --git a/meta/recipes-sato/matchbox-desktop/files/dso_linking_change_build_fix.patch b/meta/recipes-sato/matchbox-desktop/files/dso_linking_change_build_fix.patch new file mode 100644 index 000000000..54f3670e9 --- /dev/null +++ b/meta/recipes-sato/matchbox-desktop/files/dso_linking_change_build_fix.patch @@ -0,0 +1,26 @@ +after gcc linking has changed, all the libraries must be explicitely specified to for linking. +This patch avoids this linking error: + +| make[2]: Entering directory `/disk0/pokybuild/build1/tmp/work/i586-poky-linux/matchbox-desktop-2.0+svnr2096-r0/matchbox-desktop-2/src'^M +| ccache i586-poky-linux-gcc -march=i586 --sysroot=/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux -Wall -fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2 -ggdb -feliminate-unused-debug-types -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -o matchbox-desktop main.o taku-category-bar.o desktop.o ../libtaku/libtaku.a -pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0 -ldbus-1 -lpthread -lrt -lstartup-notification-1 ../libtaku/libinotify.a^M +| /disk0/pokybuild/build1/tmp/sysroots/x86_64-linux/usr/libexec/i586-poky-linux/gcc/i586-poky-linux/4.5.1/ld: F^A: invalid DSO for symbol `XFree' definition^M +| /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libX11.so.6: could not read symbols: Bad value^M +| collect2: ld returned 1 exit status^M +| make[2]: *** [matchbox-desktop] Error 1 + +Nitin A Kamble <nitin.a.kamble@intel.com> +Date: 2011/01/11 + +Index: matchbox-desktop-2/configure.ac +=================================================================== +--- matchbox-desktop-2.orig/configure.ac ++++ matchbox-desktop-2/configure.ac +@@ -14,7 +14,7 @@ if test x$inotify_support = xyes; then + AC_DEFINE(WITH_INOTIFY, [1], [If inotify is enabled]) + fi + +-PKG_CHECK_MODULES(GTK, gtk+-2.0) ++PKG_CHECK_MODULES(GTK, [gtk+-2.0 x11]) + + AC_ARG_ENABLE(startup_notification, + AC_HELP_STRING([--disable-startup-notification], [disable startup notification support]), diff --git a/meta/recipes-sato/matchbox-desktop/matchbox-desktop_2.0.bb b/meta/recipes-sato/matchbox-desktop/matchbox-desktop_2.0.bb index 83d4d0b3f..2943e4d0a 100644 --- a/meta/recipes-sato/matchbox-desktop/matchbox-desktop_2.0.bb +++ b/meta/recipes-sato/matchbox-desktop/matchbox-desktop_2.0.bb @@ -2,9 +2,10 @@ DESCRIPTION = "Matchbox Window Manager Desktop" LICENSE = "GPL" DEPENDS = "gtk+ startup-notification" SECTION = "x11/wm" -PR = "r1" +PR = "r2" -SRC_URI = "http://projects.o-hand.com/matchbox/sources/matchbox-desktop/2.0/matchbox-desktop-${PV}.tar.bz2" +SRC_URI = "http://projects.o-hand.com/matchbox/sources/matchbox-desktop/2.0/matchbox-desktop-${PV}.tar.bz2 \ + file://dso_linking_change_build_fix.patch" EXTRA_OECONF = "--enable-startup-notification" diff --git a/meta/recipes-sato/matchbox-desktop/matchbox-desktop_svn.bb b/meta/recipes-sato/matchbox-desktop/matchbox-desktop_git.bb index 324c81ff2..09f79138c 100644 --- a/meta/recipes-sato/matchbox-desktop/matchbox-desktop_svn.bb +++ b/meta/recipes-sato/matchbox-desktop/matchbox-desktop_git.bb @@ -10,13 +10,14 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \ DEPENDS = "gtk+ startup-notification dbus" SECTION = "x11/wm" -PV = "2.0+svnr${SRCREV}" +PV = "2.0+git${SRCPV}" PR = "r0" -SRC_URI = "svn://svn.o-hand.com/repos/matchbox/trunk;module=${PN}-2;proto=http" +SRC_URI = "git://git.pokylinux.org/${PN}-2;protocol=git \ + file://dso_linking_change_build_fix.patch" EXTRA_OECONF = "--enable-startup-notification --with-dbus" -S = "${WORKDIR}/${PN}-2" +S = "${WORKDIR}/git" inherit autotools pkgconfig diff --git a/meta/recipes-sato/matchbox-keyboard/files/single-instance.patch b/meta/recipes-sato/matchbox-keyboard/files/single-instance.patch new file mode 100644 index 000000000..d0adc47f7 --- /dev/null +++ b/meta/recipes-sato/matchbox-keyboard/files/single-instance.patch @@ -0,0 +1,22 @@ +Multiple matchbox-keyboard instances would occupy whole screen and cause X +window segfault(Bug 509). Making matchbox-keyboard singleton is one work +around. + +This patch allow only one instance of matchbox-keyboard based on some mechanism +in matchbox-desktop. In future, an applet and GTK-IM modules in +matchbox-keyboard can be used to automatically map/unmap the virtual keyboard +on demand. + +Signed-off-by: Zhai Edwin <edwin.zhai@intel.com> + + +Index: matchbox-keyboard/matchbox-keyboard.desktop +=================================================================== +--- matchbox-keyboard.orig/matchbox-keyboard.desktop 2010-12-22 20:41:40.000000000 +0800 ++++ matchbox-keyboard/matchbox-keyboard.desktop 2010-12-22 20:42:12.000000000 +0800 +@@ -6,3 +6,5 @@ + Icon=matchbox-keyboard.png + Categories=Panel;Utility;MB + X-MB-INPUT-MECHANSIM=True ++X-MB-SingleInstance=true ++StartupNotify=true diff --git a/meta/recipes-sato/matchbox-keyboard/matchbox-keyboard_svn.bb b/meta/recipes-sato/matchbox-keyboard/matchbox-keyboard_git.bb index 0425fec78..245f99933 100644 --- a/meta/recipes-sato/matchbox-keyboard/matchbox-keyboard_svn.bb +++ b/meta/recipes-sato/matchbox-keyboard/matchbox-keyboard_git.bb @@ -8,16 +8,17 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \ file://applet/applet.c;endline=20;md5=e9201b3efa0a81a160b88d6feb5cf75b" DEPENDS = "libfakekey expat libxft gtk+ matchbox-panel-2" -RDEPENDS = "formfactor dbus-wait" +RDEPENDS_${PN} = "formfactor dbus-wait" SECTION = "x11" -PV = "0.0+svnr${SRCREV}" -PR = "r4" +PV = "0.0+git${SRCPV}" +PR = "r0" -SRC_URI = "svn://svn.o-hand.com/repos/matchbox/trunk;module=${PN};proto=http \ +SRC_URI = "git://git.pokylinux.org/${PN};protocol=git \ file://configure_fix.patch;patch=1;maxrev=1819 \ + file://single-instance.patch;patch=1 \ file://80matchboxkeyboard.shbg" -S = "${WORKDIR}/${PN}" +S = "${WORKDIR}/git" inherit autotools pkgconfig gettext diff --git a/meta/recipes-sato/matchbox-panel-2/matchbox-panel-2_svn.bb b/meta/recipes-sato/matchbox-panel-2/matchbox-panel-2_git.bb index 8f5ccc84f..256b5a22d 100644 --- a/meta/recipes-sato/matchbox-panel-2/matchbox-panel-2_svn.bb +++ b/meta/recipes-sato/matchbox-panel-2/matchbox-panel-2_git.bb @@ -12,21 +12,21 @@ DEPENDS = "gtk+ startup-notification dbus dbus-glib" DEPENDS += " ${@base_contains("MACHINE_FEATURES", "acpi", "libacpi", "",d)}" DEPENDS += " ${@base_contains("MACHINE_FEATURES", "apm", "apmd", "",d)}" -PV = "0.0+svnr${SRCREV}" -PR = "r7" +PV = "0.0+git${SRCPV}" +PR = "r0" RPROVIDES_${PN} = "matchbox-panel" RREPLACES_${PN} = "matchbox-panel" RCONFLICTS_${PN} = "matchbox-panel" -SRC_URI = "svn://svn.o-hand.com/repos/matchbox/trunk;module=${PN};proto=http \ +SRC_URI = "git://git.pokylinux.org/${PN};protocol=git \ file://startup_fix.diff;patch=1" EXTRA_OECONF = "--enable-startup-notification --enable-dbus" EXTRA_OECONF += " ${@base_contains("MACHINE_FEATURES", "acpi", "--with-battery=acpi", "",d)}" EXTRA_OECONF += " ${@base_contains("MACHINE_FEATURES", "apm", "--with-battery=apm", "",d)}" -S = "${WORKDIR}/${PN}" +S = "${WORKDIR}/git" FILES_${PN} += "${libdir}/matchbox-panel/*.so \ ${datadir}/matchbox-panel/brightness/*.png \ diff --git a/meta/recipes-sato/matchbox-sato/matchbox-session-sato_0.1.bb b/meta/recipes-sato/matchbox-sato/matchbox-session-sato_0.1.bb index 96d644c3c..a4abea4b8 100644 --- a/meta/recipes-sato/matchbox-sato/matchbox-session-sato_0.1.bb +++ b/meta/recipes-sato/matchbox-sato/matchbox-session-sato_0.1.bb @@ -6,8 +6,8 @@ LICENSE = "GPL" LIC_FILES_CHKSUM = "file://session;endline=3;md5=f8a5c5b9c279e52dc094d10e11c2be63" SECTION = "x11" -RDEPENDS = "formfactor gtk-sato-engine matchbox-theme-sato gtk-theme-sato matchbox-panel-2 matchbox-desktop-sato initscripts matchbox-session" -PR = "r27" +RDEPENDS_${PN} = "formfactor gtk-sato-engine matchbox-theme-sato gtk-theme-sato matchbox-panel-2 matchbox-desktop-sato initscripts matchbox-session" +PR = "r28" # This package is architecture specific because the session script is modified # based on the machine architecture. diff --git a/meta/recipes-sato/matchbox-stroke/files/dso_linking_change_build_fix.patch b/meta/recipes-sato/matchbox-stroke/files/dso_linking_change_build_fix.patch new file mode 100644 index 000000000..dd4534119 --- /dev/null +++ b/meta/recipes-sato/matchbox-stroke/files/dso_linking_change_build_fix.patch @@ -0,0 +1,36 @@ +after gcc linking has changed, all the libraries must be explicitely specified +This patch avoids these linking errors: + +| make[1]: Entering directory `/disk0/pokybuild/build1/tmp/work/i586-poky-linux/matchbox-stroke-0.0+svnr1820-r0/matchbox-stroke'^M +| Making all in src^M +| make[2]: Entering directory `/disk0/pokybuild/build1/tmp/work/i586-poky-linux/matchbox-stroke-0.0+svnr1820-r0/matchbox-stroke/src'^M +| ccache i586-poky-linux-gcc -march=i586 --sysroot=/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux -fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2 -ggdb -feliminate-unused-debug-types -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -o matchbox-stroke matchbox-stroke.o matchbox-stroke-ui.o matchbox-stroke-recog.o matchbox-stroke-mode.o matchbox-stroke-action.o config-parser.o util-hash.o util.o -lXft -lX11 -lXtst -lfakekey -lexpat -lm^M +| /disk0/pokybuild/build1/tmp/sysroots/x86_64-linux/usr/libexec/i586-poky-linux/gcc/i586-poky-linux/4.5.1/ld: u: invalid DSO for symbol `XRenderFindVisualFormat' definition^M +| /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libXrender.so.1: could not read symbols: Bad value^M +| collect2: ld returned 1 exit status^M +| make[2]: *** [matchbox-stroke] Error 1 + +Nitin A Kamble <nitin.a.kamble@intel.com> +Date: 2011/01/11 + + +Index: matchbox-stroke/configure.ac +=================================================================== +--- matchbox-stroke.orig/configure.ac ++++ matchbox-stroke/configure.ac +@@ -38,7 +38,7 @@ AC_ARG_WITH(expat-lib, + expat_lib=$withval, expat_lib=yes) + + +-PKG_CHECK_MODULES(MBSTROKE, xft libfakekey,, ++PKG_CHECK_MODULES(MBSTROKE, xft libfakekey xrender,, + AC_MSG_ERROR([*** Required Librarys not found ***])) + + dnl ------ Expat ------------------------------------------------------------ +@@ -160,4 +160,4 @@ echo " + compiler: ${CC} + + Building with Debug: ${enable_debug} +-" +\ No newline at end of file ++" diff --git a/meta/recipes-sato/matchbox-stroke/files/single-instance.patch b/meta/recipes-sato/matchbox-stroke/files/single-instance.patch new file mode 100644 index 000000000..f4fec079b --- /dev/null +++ b/meta/recipes-sato/matchbox-stroke/files/single-instance.patch @@ -0,0 +1,19 @@ +Multiple matchbox-stroke instances would occupy whole screen and cause end user +confusing. Making matchbox-stroke singleton is one work around. + +This patch allow only one instance of matchbox-stroke based on some mechanism +in matchbox-desktop. + +Signed-off-by: Zhai Edwin <edwin.zhai@intel.com> + + +Index: matchbox-stroke/matchbox-stroke.desktop +=================================================================== +--- matchbox-stroke.orig/matchbox-stroke.desktop 2010-07-10 10:23:26.000000000 +0800 ++++ matchbox-stroke/matchbox-stroke.desktop 2010-12-22 20:59:26.000000000 +0800 +@@ -6,3 +6,5 @@ + Icon=matchbox-stroke.png + Categories=Panel;Utility;MB + X-MB-INPUT-MECHANSIM=True ++X-MB-SingleInstance=true ++StartupNotify=true diff --git a/meta/recipes-sato/matchbox-stroke/matchbox-stroke_svn.bb b/meta/recipes-sato/matchbox-stroke/matchbox-stroke_git.bb index 1e25369e3..8077a56e1 100644 --- a/meta/recipes-sato/matchbox-stroke/matchbox-stroke_svn.bb +++ b/meta/recipes-sato/matchbox-stroke/matchbox-stroke_git.bb @@ -7,12 +7,15 @@ LIC_FILES_CHKSUM = "file://src/matchbox-stroke.h;endline=12;md5=8ed5c5bbec2321fb DEPENDS = "libfakekey expat libxft" SECTION = "x11/wm" -PV = "0.0+svnr${SRCREV}" +PV = "0.0+git${SRCPV}" +PR = "r0" -SRC_URI = "svn://svn.o-hand.com/repos/matchbox/trunk;module=${PN};proto=http \ - file://configure_fix.patch;patch=1;maxrev=1819 " +SRC_URI = "git://git.pokylinux.org/${PN};protocol=git \ + file://single-instance.patch;patch=1 \ + file://configure_fix.patch;patch=1;maxrev=1819 \ + file://dso_linking_change_build_fix.patch " -S = "${WORKDIR}/${PN}" +S = "${WORKDIR}/git" inherit autotools pkgconfig gettext diff --git a/meta/recipes-sato/matchbox-terminal/matchbox-terminal_svn.bb b/meta/recipes-sato/matchbox-terminal/matchbox-terminal_git.bb index 169223f84..c26c33861 100644 --- a/meta/recipes-sato/matchbox-terminal/matchbox-terminal_svn.bb +++ b/meta/recipes-sato/matchbox-terminal/matchbox-terminal_git.bb @@ -8,11 +8,11 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \ DEPENDS = "gtk+ vte" SECTION = "x11/utils" -PV = "0.0+svnr${SRCREV}" +PV = "0.0+git${SRCPV}" PR = "r0" -SRC_URI = "svn://svn.o-hand.com/repos/matchbox/trunk;module=${PN};proto=http" +SRC_URI = "git://git.pokylinux.org/${PN};protocol=git" -S = "${WORKDIR}/${PN}" +S = "${WORKDIR}/git" inherit autotools pkgconfig diff --git a/meta/recipes-sato/matchbox-theme-sato/matchbox-theme-sato-2/png_rename.patch b/meta/recipes-sato/matchbox-theme-sato/matchbox-theme-sato-2/png_rename.patch new file mode 100644 index 000000000..b12e92000 --- /dev/null +++ b/meta/recipes-sato/matchbox-theme-sato/matchbox-theme-sato-2/png_rename.patch @@ -0,0 +1,14 @@ +Background Image name was changed from background.png to template.png + +Signed-off-by: Saul Wold <sgw@linux.intel.com> + +Index: matchbox-sato/Sato/matchbox2/Makefile.am +=================================================================== +--- matchbox-sato.orig/Sato/matchbox2/Makefile.am 2010-12-29 13:08:43.000000000 -0800 ++++ matchbox-sato/Sato/matchbox2/Makefile.am 2010-12-29 22:14:45.690428881 -0800 +@@ -1,4 +1,4 @@ +-pngs = background.png ++pngs = template.png + + themesdir = $(datadir)/themes/Sato/matchbox2 + themes_DATA = theme.xml $(pngs) diff --git a/meta/recipes-sato/matchbox-theme-sato/matchbox-theme-sato-2_svn.bb b/meta/recipes-sato/matchbox-theme-sato/matchbox-theme-sato-2_svn.bb index 30b632934..36bde38fc 100644 --- a/meta/recipes-sato/matchbox-theme-sato/matchbox-theme-sato-2_svn.bb +++ b/meta/recipes-sato/matchbox-theme-sato/matchbox-theme-sato-2_svn.bb @@ -1,9 +1,11 @@ require matchbox-theme-sato.inc DEPENDS = "matchbox-wm-2" -PV = "0.1+svnr${SRCREV}" +PV = "0.1+svnr${SRCPV}" + +SRC_URI = "svn://svn.o-hand.com/repos/sato/trunk;module=matchbox-sato;proto=http \ + file://png_rename.patch" -SRC_URI = "svn://svn.o-hand.com/repos/sato/trunk;module=matchbox-sato;proto=http" S = "${WORKDIR}/matchbox-sato" EXTRA_OECONF = "--disable-matchbox-1 --enable-matchbox-2" diff --git a/meta/recipes-sato/matchbox-theme-sato/matchbox-theme-sato_svn.bb b/meta/recipes-sato/matchbox-theme-sato/matchbox-theme-sato_svn.bb index 7d492353b..16ea8251b 100644 --- a/meta/recipes-sato/matchbox-theme-sato/matchbox-theme-sato_svn.bb +++ b/meta/recipes-sato/matchbox-theme-sato/matchbox-theme-sato_svn.bb @@ -1,6 +1,6 @@ require matchbox-theme-sato.inc -PV = "0.1+svnr${SRCREV}" +PV = "0.1+svnr${SRCPV}" PR = "r0" SRC_URI = "svn://svn.o-hand.com/repos/sato/trunk;module=matchbox-sato;proto=http" diff --git a/meta/recipes-sato/owl-video-widget/libowl-av_svn.bb b/meta/recipes-sato/owl-video-widget/libowl-av_svn.bb index 4eeeed6d2..b9612c074 100644 --- a/meta/recipes-sato/owl-video-widget/libowl-av_svn.bb +++ b/meta/recipes-sato/owl-video-widget/libowl-av_svn.bb @@ -9,11 +9,11 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=ac14b7ca45afea5af040da54db270eb0 \ SECTION = "x11" DEPENDS = "gtk+ gstreamer gst-plugins-base" -RDEPENDS = "gst-meta-base" -RRECOMMENDS = "gst-meta-audio gst-meta-video" +RDEPENDS_${PN} = "gst-meta-base" +RRECOMMENDS_${PN} = "gst-meta-audio gst-meta-video" -PV = "0.0+svnr${SRCREV}" -PR = "r5" +PV = "0.0+svnr${SRCPV}" +PR = "r6" S = "${WORKDIR}/${PN}" diff --git a/meta/recipes-sato/owl-video-widget/owl-video_svn.bb b/meta/recipes-sato/owl-video-widget/owl-video_svn.bb index 5419beaca..f83dbdc5d 100644 --- a/meta/recipes-sato/owl-video-widget/owl-video_svn.bb +++ b/meta/recipes-sato/owl-video-widget/owl-video_svn.bb @@ -8,8 +8,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=ac14b7ca45afea5af040da54db270eb0 \ SECTION = "x11" DEPENDS = "libowl-av" -PV = "0.0+svnr${SRCREV}" -PR = "r2" +PV = "0.0+svnr${SRCPV}" +PR = "r3" S = "${WORKDIR}/video" diff --git a/meta/recipes-sato/pimlico/contacts.inc b/meta/recipes-sato/pimlico/contacts.inc index a424295ac..ce990d7dd 100644 --- a/meta/recipes-sato/pimlico/contacts.inc +++ b/meta/recipes-sato/pimlico/contacts.inc @@ -6,7 +6,7 @@ LICENSE = "GPLv2 & GPLv2+ & GPLv3+ " SECTION = "x11" DEPENDS = "glib-2.0 gtk+ eds-dbus" DEPENDS_append_poky = " libowl" -RDEPENDS = "libedata-book" +RDEPENDS_${PN} = "libedata-book" inherit autotools pkgconfig diff --git a/meta/recipes-sato/pimlico/contacts_0.9.bb b/meta/recipes-sato/pimlico/contacts_0.9.bb index 1e4628737..a9e3f15ad 100644 --- a/meta/recipes-sato/pimlico/contacts_0.9.bb +++ b/meta/recipes-sato/pimlico/contacts_0.9.bb @@ -1,5 +1,5 @@ require contacts.inc -PR = "r2" +PR = "r3" SRC_URI =+ "http://pimlico-project.org/sources/${PN}/${PN}-${PV}.tar.gz" diff --git a/meta/recipes-sato/pimlico/contacts_git.bb b/meta/recipes-sato/pimlico/contacts_git.bb index c37543530..0d2e235e5 100644 --- a/meta/recipes-sato/pimlico/contacts_git.bb +++ b/meta/recipes-sato/pimlico/contacts_git.bb @@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \ file://src/contacts-gtk.c;endline=23;md5=e1ee9b9e72045f2d3aa44cf17313b46e" PV = "0.12+git${SRCPV}" -PR = "r1" +PR = "r2" S = "${WORKDIR}/git" diff --git a/meta/recipes-sato/pimlico/dates.inc b/meta/recipes-sato/pimlico/dates.inc index 6ef7b6061..01ab40962 100644 --- a/meta/recipes-sato/pimlico/dates.inc +++ b/meta/recipes-sato/pimlico/dates.inc @@ -6,7 +6,7 @@ LICENSE = "GPLv2 & GPLv2+ & LGPLv2+" SECTION = "x11" DEPENDS = "glib-2.0 gtk+ libglade eds-dbus" -RDEPENDS = "libedata-cal" +RDEPENDS_${PN} = "libedata-cal" inherit autotools pkgconfig gtk-icon-cache diff --git a/meta/recipes-sato/pimlico/dates/dso_linking_change_build_fix.patch b/meta/recipes-sato/pimlico/dates/dso_linking_change_build_fix.patch new file mode 100644 index 000000000..07a0264c1 --- /dev/null +++ b/meta/recipes-sato/pimlico/dates/dso_linking_change_build_fix.patch @@ -0,0 +1,44 @@ +after gcc linking has changed, all the libraries must be explicitely specified +This patch avoids these linking errors: + + +| make[2]: Entering directory `/disk0/pokybuild/build1/tmp/work/i586-poky-linux/dates-0.4.11+git0+514185dc1f6588085fda41eb59898b93d0487dd4-r2/git/src'^M +| /bin/sh ../i586-poky-linux-libtool --tag=CC --mode=link ccache i586-poky-linux-gcc -march=i586 --sysroot=/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux -std=gnu99 -Wall -pthread -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/glib-2.0 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/glib-2.0/include -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/gtk-2.0 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/gtk-2.0/include -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/atk-1.0 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/cairo -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/pango-1.0 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/pixman-1 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/freetype2 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/libpng12 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/evolution-data-server-2.30 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/dbus-1.0 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/libxml2 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/gconf/2 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/libsoup-2.4 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/dbus-1.0/include -pthread -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/libowl -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/gtk-2.0 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/gtk-2.0/include -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/atk-1.0 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/cairo -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/pango-1.0 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/glib-2.0 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/glib-2.0/include -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/pixman-1 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/freetype2 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/libpng12 -DUSE_OWL=1 -fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2 -ggdb -feliminate-unused-debug-types -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -o dates dates_gtk.o dates_main.o dates_callbacks.o gconf-bridge.o -pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lecal-1.2 -lical -licalss -licalvcal -ledataserver-1.2 -lxml2 -lsoup-2.4 -lgio-2.0 -lgmodule-2.0 -lgconf-2 -ldbus-glib-1 -ldbus-1 -lpthread -lgobject-2.0 -lgthread-2.0 -lrt -lglib-2.0 -pthread -lowl -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0 libgtkdatesview.la +| i586-poky-linux-libtool: link: ccache i586-poky-linux-gcc -march=i586 --sysroot=/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux -std=gnu99 -Wall -pthread -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/glib-2.0 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/glib-2.0/include -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/gtk-2.0 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/gtk-2.0/include -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/atk-1.0 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/cairo -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/pango-1.0 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/pixman-1 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/freetype2 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/libpng12 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/evolution-data-server-2.30 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/dbus-1.0 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/libxml2 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/gconf/2 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/libsoup-2.4 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/dbus-1.0/include -pthread -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/libowl -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/gtk-2.0 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/gtk-2.0/include -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/atk-1.0 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/cairo -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/pango-1.0 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/glib-2.0 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/glib-2.0/include -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/pixman-1 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/freetype2 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/libpng12 -DUSE_OWL=1 -fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2 -ggdb -feliminate-unused-debug-types -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -o .libs/dates dates_gtk.o dates_main.o dates_callbacks.o gconf-bridge.o -pthread -pthread -L/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libecal-1.2.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libicalss.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libicalvcal.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libical.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libedataserver-1.2.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libsoup-2.4.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libxml2.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libgnutls.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libtasn1.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libgcrypt.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libgpg-error.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libgconf-2.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libdbus-glib-1.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libdbus-1.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libowl.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libgtk-x11-2.0.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libgdk-x11-2.0.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libatk-1.0.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libgdk_pixbuf-2.0.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libgio-2.0.so -lresolv /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libpangocairo-1.0.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libpangoft2-1.0.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libstdc++.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libcairo.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libpixman-1.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libpng12.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libXrender.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libX11.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libxcb.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libXau.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libXdmcp.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libz.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libpango-1.0.so -lm /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libfontconfig.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libfreetype.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libexpat.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libgobject-2.0.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libgmodule-2.0.so -ldl /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libgthread-2.0.so -lpthread /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libglib-2.0.so -lrt ./.libs/libgtkdatesview.a -pthread
+| +| /disk0/pokybuild/build1/tmp/sysroots/x86_64-linux/usr/libexec/i586-poky-linux/gcc/i586-poky-linux/4.5.1/ld: e: invalid DSO for symbol `pow@@GLIBC_2.0' definition^M +| /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libm.so: could not read symbols: Bad value^M +| collect2: ld returned 1 exit status^M +| make[2]: *** [dates] Error 1 + + + +| /disk0/pokybuild/build1/tmp/sysroots/x86_64-linux/usr/libexec/i586-poky-linux/gcc/i586-poky-linux/4.5.1/ld: z: invalid DSO for symbol `pango_layout_get_extents' definition +| /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libpango-1.0.so: could not read symbols: Bad value +| collect2: ld returned 1 exit status +| make[2]: *** [dates] Error 1 + + +Nitin A Kamble <nitin.a.kamble@intel.com> +Date: 2011/01/11 + +Update: +This is identified as a libtool issue. While creating the libgtkdatesview.la +file, libtool should have added these needed libraries in there. + A bug has been created for this issue: + http://bugzilla.pokylinux.org/show_bug.cgi?id=664 +Nitin A Kamble <nitin.a.kamble@intel.com> +Date: 2011/01/19 + +Index: git/src/Makefile.am +=================================================================== +--- git.orig/src/Makefile.am ++++ git/src/Makefile.am +@@ -34,6 +34,6 @@ dates_SOURCES = $(platform) \ + gconf-bridge.h \ + gconf-bridge.c + +-dates_LDADD = $(DATES_LIBS) $(OWL_LIBS) libgtkdatesview.la ++dates_LDADD = $(DATES_LIBS) $(OWL_LIBS) libgtkdatesview.la -lm -lpango-1.0 + + MAINTAINERCLEANFILES = config.h.in Makefile.in diff --git a/meta/recipes-sato/pimlico/dates_0.4.8.bb b/meta/recipes-sato/pimlico/dates_0.4.8.bb index 13afc157d..ca88a7301 100644 --- a/meta/recipes-sato/pimlico/dates_0.4.8.bb +++ b/meta/recipes-sato/pimlico/dates_0.4.8.bb @@ -1,5 +1,5 @@ require dates.inc -PR = "r3" +PR = "r4" SRC_URI = "http://pimlico-project.org/sources/dates/dates-${PV}.tar.gz" diff --git a/meta/recipes-sato/pimlico/dates_git.bb b/meta/recipes-sato/pimlico/dates_git.bb index d09f4e621..973c42d85 100644 --- a/meta/recipes-sato/pimlico/dates_git.bb +++ b/meta/recipes-sato/pimlico/dates_git.bb @@ -6,9 +6,10 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe \ file://src/gconf-bridge.c;endline=22;md5=ad7626c6daf4aec590474a243f4912fa" PV = "0.4.11+git${SRCPV}" -PR = "r1" +PR = "r3" S = "${WORKDIR}/git" SRC_URI = "git://git.gnome.org/${PN};protocol=git \ - file://make-382.patch" + file://make-382.patch \ + file://dso_linking_change_build_fix.patch" diff --git a/meta/recipes-sato/puzzles/oh-puzzles_svn.bb b/meta/recipes-sato/puzzles/oh-puzzles_svn.bb index 5fcea24b3..3bee48687 100644 --- a/meta/recipes-sato/puzzles/oh-puzzles_svn.bb +++ b/meta/recipes-sato/puzzles/oh-puzzles_svn.bb @@ -11,7 +11,7 @@ SECTION = "x11" DEPENDS = "gtk+ gconf intltool-native librsvg" DEPENDS_append_poky = " libowl" -PV = "0.1+svnr${SRCREV}" +PV = "0.1+svnr${SRCPV}" PR = "r10" bindir = "/usr/games" diff --git a/meta/recipes-sato/puzzles/puzzles_r9023.bb b/meta/recipes-sato/puzzles/puzzles_r9076.bb index acf61de6a..fbd0e37d5 100644 --- a/meta/recipes-sato/puzzles/puzzles_r9023.bb +++ b/meta/recipes-sato/puzzles/puzzles_r9076.bb @@ -10,8 +10,9 @@ LIC_FILES_CHKSUM = "file://LICENCE;md5=9928b60f3b78be315b7ab699c1b03ff5" SRC_URI = "http://www.chiark.greenend.org.uk/~sgtatham/puzzles/puzzles-${PV}.tar.gz" -SRC_URI[md5sum] = "ce3b8b49a4970cdecbd3c0deb236802c" -SRC_URI[sha256sum] = "52ac700d8ecb6bc51c8892f12f0212a6f12504eaae4cf95bb6fe084889ac5932" +# Checksums seem to be changing regularly right now, need to verify with upstream +#SRC_URI[md5sum] = "e8b4c7e2341264789f3cd6733857bf1c" +#SRC_URI[sha256sum] = "69f37e497e63b2f7ab44e7bbd50aee078269c16dbc2d78ec1b00257678f2cbd2" #SRC_URI = "svn://ixion.tartarus.org/main;module=puzzles;rev=${MOD_PV}" S = "${WORKDIR}/${PN}-${PV}" diff --git a/meta/recipes-sato/screenshot/files/dso_linking_change_build_fix.patch b/meta/recipes-sato/screenshot/files/dso_linking_change_build_fix.patch new file mode 100644 index 000000000..d3a9ed1a7 --- /dev/null +++ b/meta/recipes-sato/screenshot/files/dso_linking_change_build_fix.patch @@ -0,0 +1,49 @@ +after gcc linking has changed, all the libraries must be explicitely specified +This patch avoids these linking errors: + + + +| i586-poky-linux-libtool: link: ccache i586-poky-linux-gcc -march=i586 --sysroot=/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux -Wall -g -pthread -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/gtk-2.0 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/gtk-2.0/include -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/atk-1.0 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/cairo -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/pango-1.0 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/glib-2.0 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/glib-2.0/include -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/pixman-1 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/freetype2 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/libpng12 -pthread -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/glib-2.0 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/glib-2.0/include -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/gtk-2.0 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/gtk-2.0/include -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/atk-1.0 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/cairo -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/pango-1.0 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/pixman-1 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/freetype2 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/libpng12 -fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2 -ggdb -feliminate-unused-debug-types -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -o .libs/screenshot main.o -pthread /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libgtk-x11-2.0.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libgdk-x11-2.0.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libatk-1.0.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libgdk_pixbuf-2.0.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libgio-2.0.so -lresolv /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libpangocairo-1.0.so -L/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libpangoft2-1.0.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libstdc++.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libcairo.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libpixman-1.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libpng12.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libXrender.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libX11.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libxcb.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libXau.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libXdmcp.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libz.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libpango-1.0.so -lm /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libfontconfig.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libfreetype.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libexpat.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libgobject-2.0.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libgmodule-2.0.so -ldl /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libgthread-2.0.so -lpthread /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libglib-2.0.so -lrt ./.libs/libshot.a -pthread
+| /disk0/pokybuild/build1/tmp/sysroots/x86_64-linux/usr/libexec/i586-poky-linux/gcc/i586-poky-linux/4.5.1/ld: L: invalid DSO for symbol `gdk_cursor_unref' definition
+| /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libgdk-x11-2.0.so: could not read symbols: Bad value
+| collect2: ld returned 1 exit status
+| make[1]: *** [screenshot] Error 1
+ + + + +| i586-poky-linux-libtool: link: ccache i586-poky-linux-gcc -march=i586 --sysroot=/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux -Wall -g -pthread -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/gtk-2.0 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/gtk-2.0/include -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/atk-1.0 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/cairo -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/pango-1.0 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/glib-2.0 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/glib-2.0/include -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/pixman-1 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/freetype2 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/libpng12 -pthread -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/glib-2.0 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/glib-2.0/include -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/gtk-2.0 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/gtk-2.0/include -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/atk-1.0 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/cairo -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/pango-1.0 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/pixman-1 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/freetype2 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/libpng12 -fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2 -ggdb -feliminate-unused-debug-types -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -o .libs/screenshot main.o -pthread /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libgtk-x11-2.0.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libatk-1.0.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libgdk_pixbuf-2.0.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libgio-2.0.so -lresolv /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libpangocairo-1.0.so -L/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libpangoft2-1.0.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libstdc++.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libcairo.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libpixman-1.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libpng12.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libXrender.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libX11.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libxcb.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libXau.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libXdmcp.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libz.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libpango-1.0.so -lm /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libfontconfig.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libfreetype.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libexpat.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libgobject-2.0.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libgmodule-2.0.so -ldl /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libgthread-2.0.so -lpthread /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libglib-2.0.so -lrt ./.libs/libshot.a /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libgdk-x11-2.0.so -pthread +| /disk0/pokybuild/build1/tmp/sysroots/x86_64-linux/usr/libexec/i586-poky-linux/gcc/i586-poky-linux/4.5.1/ld: a: invalid DSO for symbol `gdk_pixbuf_unref' definition +| /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libgdk_pixbuf-2.0.so: could not read symbols: Bad value +| collect2: ld returned 1 exit status +| make[1]: *** [screenshot] Error 1 + + +| i586-poky-linux-libtool: link: ccache i586-poky-linux-gcc -march=i586 --sysroot=/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux -Wall -g -pthread -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/gtk-2.0 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/gtk-2.0/include -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/atk-1.0 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/cairo -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/pango-1.0 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/glib-2.0 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/glib-2.0/include -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/pixman-1 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/freetype2 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/libpng12 -pthread -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/glib-2.0 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/glib-2.0/include -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/gtk-2.0 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/gtk-2.0/include -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/atk-1.0 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/cairo -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/pango-1.0 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/pixman-1 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/freetype2 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/libpng12 -fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2 -ggdb -feliminate-unused-debug-types -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -o .libs/screenshot main.o -pthread /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libgtk-x11-2.0.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libatk-1.0.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libpangocairo-1.0.so -L/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libpangoft2-1.0.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libstdc++.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libcairo.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libpixman-1.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libpng12.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libXrender.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libX11.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libxcb.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libXau.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libXdmcp.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libpango-1.0.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libfontconfig.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libfreetype.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libexpat.so ./.libs/libshot.a /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libgdk-x11-2.0.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libgdk_pixbuf-2.0.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libgio-2.0.so -lresolv /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libz.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libgobject-2.0.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libgmodule-2.0.so -ldl /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libgthread-2.0.so -lpthread /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libglib-2.0.so -lrt -lm -pthread +| /disk0/pokybuild/build1/tmp/sysroots/x86_64-linux/usr/libexec/i586-poky-linux/gcc/i586-poky-linux/4.5.1/ld: }: invalid DSO for symbol `XUngrabServer' definition +| /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libX11.so: could not read symbols: Bad value +| collect2: ld returned 1 exit status +| make[1]: *** [screenshot] Error 1 + +Nitin A Kamble <nitin.a.kamble@intel.com> +Date: 2011/01/11 + +Update: +This is identified as a libtool issue. While creating the libshot.la +file, libtool should have added these needed libraries in there. + A bug has been created for this issue: + http://bugzilla.pokylinux.org/show_bug.cgi?id=664 +Nitin A Kamble <nitin.a.kamble@intel.com> +Date: 2011/01/19 + + +Index: screenshot/Makefile.am +=================================================================== +--- screenshot.orig/Makefile.am ++++ screenshot/Makefile.am +@@ -23,4 +23,4 @@ endif + # A standalone tool for running from a terminal and scripts + bin_PROGRAMS = screenshot + screenshot_SOURCES = main.c +-screenshot_LDADD = $(GTK_LIBS) libshot.la ++screenshot_LDADD = $(GTK_LIBS) libshot.la -lgdk-x11-2.0 -lgdk_pixbuf-2.0 -lX11 diff --git a/meta/recipes-sato/screenshot/screenshot_svn.bb b/meta/recipes-sato/screenshot/screenshot_svn.bb index a95ba2d54..ff2b7c894 100644 --- a/meta/recipes-sato/screenshot/screenshot_svn.bb +++ b/meta/recipes-sato/screenshot/screenshot_svn.bb @@ -9,9 +9,11 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \ PRIORITY = "optional" DEPENDS = "matchbox-panel-2" -PV = "0.0+svnr${SRCREV}" +PV = "0.0+svnr${SRCPV}" +PR = "r1" -SRC_URI = "svn://svn.o-hand.com/repos/misc/trunk;module=${PN};proto=http" +SRC_URI = "svn://svn.o-hand.com/repos/misc/trunk;module=${PN};proto=http\ + file://dso_linking_change_build_fix.patch" S = ${WORKDIR}/${PN} diff --git a/meta/recipes-sato/settings-daemon/files/dso_linking_change_build_fix.patch b/meta/recipes-sato/settings-daemon/files/dso_linking_change_build_fix.patch new file mode 100644 index 000000000..5fd96d464 --- /dev/null +++ b/meta/recipes-sato/settings-daemon/files/dso_linking_change_build_fix.patch @@ -0,0 +1,29 @@ +after gcc linking has changed, all the libraries must be explicitely specified to for linking. +This patch avoids this linking error: + +| make all-am^M +| make[1]: Entering directory `/disk0/pokybuild/build1/tmp/work/i586-poky-linux/settings-daemon-0.0+svnr2059-r3/settings-daemon'^M +| ccache i586-poky-linux-gcc -march=i586 --sysroot=/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux -Wall -fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2 -ggdb -feliminate-unused-debug-types -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -o settings-daemon settings_daemon-xsettings-common.o settings_daemon-xsettings-manager.o settings_daemon-settings-daemon.o -pthread -lgconf-2 -ldbus-glib-1 -ldbus-1 -lpthread -lgdk-x11-2.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0^M +| /disk0/pokybuild/build1/tmp/sysroots/x86_64-linux/usr/libexec/i586-poky-linux/gcc/i586-poky-linux/4.5.1/ld: *^A: invalid DSO for symbol `XCreateSimpleWindow' definition^M +| /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libX11.so.6: could not read symbols: Bad value^M +| collect2: ld returned 1 exit status^M +| make[1]: *** [settings-daemon] Error 1^M +| make[1]: Leaving directory `/disk0/pokybuild/build1/tmp/work/i586-poky-linux/settings-daemon-0.0+svnr2059-r3/settings-daemon'^M +| make: *** [all] Error 2^M + +Nitin A Kamble <nitin.a.kamble@intel.com> +Date: 2011/01/11 + +Index: settings-daemon/configure.ac +=================================================================== +--- settings-daemon.orig/configure.ac ++++ settings-daemon/configure.ac +@@ -14,7 +14,7 @@ AC_PROG_CC + + + dnl TODO: make gconf optional +-PKG_CHECK_MODULES(APP, [gconf-2.0 gdk-x11-2.0]) ++PKG_CHECK_MODULES(APP, [gconf-2.0 gdk-x11-2.0 x11]) + + + AC_SUBST(APP_CFLAGS) diff --git a/meta/recipes-sato/settings-daemon/settings-daemon_svn.bb b/meta/recipes-sato/settings-daemon/settings-daemon_git.bb index 4d1d9baf4..f7dc86fec 100644 --- a/meta/recipes-sato/settings-daemon/settings-daemon_svn.bb +++ b/meta/recipes-sato/settings-daemon/settings-daemon_git.bb @@ -6,15 +6,16 @@ LIC_FILES_CHKSUM = "file://xsettings-manager.h;endline=22;md5=7cfac9d2d4dc3694cc file://xsettings-common.h;endline=22;md5=7cfac9d2d4dc3694cc7eb605cf32a69b" DEPENDS = "gconf glib-2.0 gtk+" SECTION = "x11" -PV = "0.0+svnr${SRCREV}" +PV = "0.0+git${SRCPV}" -PR = "r3" +PR = "r0" -SRC_URI = "svn://svn.o-hand.com/repos/matchbox/trunk;module=${PN};proto=http \ +SRC_URI = "git://git.pokylinux.org/xsettings-daemon;protocol=git \ file://addsoundkeys.patch;apply=yes \ - file://70settings-daemon.sh" + file://70settings-daemon.sh \ + file://dso_linking_change_build_fix.patch" -S = "${WORKDIR}/${PN}" +S = "${WORKDIR}/git" inherit autotools pkgconfig gconf diff --git a/meta/recipes-sato/web/web-webkit_svn.bb b/meta/recipes-sato/web/web-webkit_svn.bb index 895d49b27..3df2bd8ba 100644 --- a/meta/recipes-sato/web/web-webkit_svn.bb +++ b/meta/recipes-sato/web/web-webkit_svn.bb @@ -2,12 +2,13 @@ DESCRIPTION = "Multi-platform web browsing application." HOMEPAGE = "http://o-hand.com/" BUGTRACKER = "http://bugzilla.openedhand.com/" -LICENSE = "GPLv2" +LICENSE = "LGPLv2.1" +LIC_FILES_CHKSUM = "file://COPYING;md5=7fbc338309ac38fefcd64b04bb903e34" SECTION = "x11" DEPENDS = "libxml2 glib-2.0 gtk+ libglade webkit-gtk curl gconf js libowl" -PV = "0.0+svnr${SRCREV}" +PV = "0.0+svnr${SRCPV}" PR = "r3" SRC_URI = "svn://svn.o-hand.com/repos/web/branches;module=webkit;proto=http \ diff --git a/meta/recipes-sato/web/web_svn.bb b/meta/recipes-sato/web/web_svn.bb index 79838cef7..bdcdaba00 100644 --- a/meta/recipes-sato/web/web_svn.bb +++ b/meta/recipes-sato/web/web_svn.bb @@ -4,7 +4,7 @@ DEPENDS = "libxml2 glib-2.0 gtk+ libglade gtkhtml2 curl gconf js libowl" DESCRIPTION = "Web is a multi-platform web browsing application." PR = "r4" -PV = "0.0+svnr${SRCREV}" +PV = "0.0+svnr${SRCPV}" SRC_URI = "svn://svn.o-hand.com/repos/${PN};module=trunk;proto=http \ file://owl-window-menu.patch \ diff --git a/meta/recipes-sato/webkit/files/GNUmakefile.am b/meta/recipes-sato/webkit/files/GNUmakefile.am index 39817f1dd..8884fcb6f 100644 --- a/meta/recipes-sato/webkit/files/GNUmakefile.am +++ b/meta/recipes-sato/webkit/files/GNUmakefile.am @@ -16,15 +16,11 @@ # webcore_sources, gtk port API and WebCoreSupport parts to webkitgtk_sources, # etc... The only exceptions are the global variables. See Global Variables # below. -# -# Global Variables -# -# global_cppflags = CPPFLAGS that apply to JSC, WebCore, and to any -# specific port -# global_cflags = CFLAGS that apply to JSC, WebCore, and to -# any specific port -# global_cxxflags = CXXFLAGS that apply to JSC, WebCore, and to any -# specific port + +# Global Variables Reference +# global_cppflags = CPPFLAGS that apply to all C/C++ files that are built for any project. +# global_cflags = CFLAGS that apply to all C files that are built for any project. +# global_cxxflags = CXXFLAGS that apply to all C++ files that are bult for any project. srcdir = @srcdir@ VPATH = @srcdir@ @@ -35,18 +31,13 @@ DISTCHECK_CONFIGURE_FLAGS = \ # Directory for autogenerated sources GENSOURCES := $(top_builddir)/DerivedSources -GENSOURCESWEBKITDOM := $(top_builddir)/DerivedSources/webkit +GENSOURCES_JAVASCRIPTCORE := $(top_builddir)/DerivedSources/JavaScriptCore +GENSOURCES_WEBCORE := $(top_builddir)/DerivedSources/WebCore +GENSOURCES_WEBKIT := $(top_builddir)/DerivedSources/webkit GENPROGRAMS := $(top_builddir)/Programs - -# Script for creating hash tables -CREATE_HASH_TABLE = $(srcdir)/JavaScriptCore/create_hash_table - -# Script for creating regexp tables -CREATE_REGEXP_TABLES = $(srcdir)/JavaScriptCore/create_regex_tables - -# Programs to run the WebKitGtk unit tests -GTESTER = gtester -GTESTER_REPORT = gtester-report +GENSOURCES_INSPECTOR := $(GENPROGRAMS)/resources/inspector +WebCore := $(srcdir)/WebCore +WebKit := $(srcdir)/WebKit/gtk # Libraries and support components bin_PROGRAMS := @@ -63,36 +54,27 @@ javascriptcore_cppflags:= javascriptcore_sources := javascriptcore_built_sources := javascriptcore_built_nosources := -javascriptcore_dist := webcore_cppflags := webcore_sources := webcore_libadd := webcore_built_sources := webcore_built_nosources := -webcore_dist := -webcoregtk_cppflags := webcoregtk_sources := -IDL_BINDINGS_GDOM := -GDOM_AUTO_CLASSES := -GDOM_FIXED_CLASSES := -GDOM_CLASSES := -GDOM_HEADERS_BUILT := -GDOM_HEADERS_FIXED := -libgdom_h_api := -libgdom_cleanfiles := +webcoregtk_cppflags := +webkitgtk_built_h_api := +webkitgtk_static_h_api := webkitgtk_h_api := webkitgtk_sources := webkitgtk_cppflags := +webkitgtk_gdom_built_sources := webkitgtk_built_sources := webkitgtk_built_nosources := -webkitgtk_cleanfiles := global_cppflags := global_cflags := global_cxxflags := -corekit_cflags := -corekit_cppflags := JSCORE_GIRSOURCES := WEBKIT_GIRSOURCES := +FEATURE_DEFINES := typelibsdir := typelibs_DATA := EXTRA_DIST := @@ -101,57 +83,15 @@ CLEANFILES := DISTCLEANFILES := MAINTAINERCLEANFILES := -webcoregtk_cppflags += \ - -I$(top_builddir)/DerivedSources/webkit \ - -I$(srcdir)/WebCore/bindings \ - -I$(srcdir)/WebCore/bindings/gobject - -# CFLAGS/CXXFLAGS used by WebCore and WebKit -# -# gtk+.pc already include glib, cairo, freetype and pango CFLAGS -# Don't include them for now to reduce the noise when compiling -# $(GLIB_CFLAGS) $(CAIRO_CFLAGS) $(PANGO_CFLAGS) $(FREETYPE_CFLAGS) -corekit_cflags += \ - -fno-strict-aliasing \ - $(COVERAGE_CFLAGS) \ - $(ENCHANT_CFLAGS) \ - $(GAIL_CFLAGS) \ - $(GEOCLUE_CFLAGS) \ - $(GLIB_CFLAGS) \ - $(GSTREAMER_CFLAGS) \ - $(GTK_CFLAGS) \ - $(HILDON_CFLAGS) \ - $(LIBSOUP_CFLAGS) \ - $(LIBXML_CFLAGS) \ - $(LIBXSLT_CFLAGS) \ - $(SQLITE3_CFLAGS) \ - $(UNICODE_CFLAGS) \ - $(XT_CFLAGS) - -# When building webcore/webkit, we want WebCore/config.h and NOT -# JavaScriptCore/config.h, hence, it's important that WebCore/ should come first -# before JavaScriptCore in the include path. -corekit_cppflags += \ - $(global_cppflags) \ - $(webcore_cppflags) \ - $(webcoregtk_cppflags) \ - $(javascriptcore_cppflags) - -# For the Gtk port we want to use XP_UNIX both in X11 and Mac -if !TARGET_WIN32 -corekit_cppflags += -DXP_UNIX -endif - -# Default compiler flags -global_cflags += \ +global_cppflags += \ -Wall -W -Wcast-align -Wchar-subscripts -Wreturn-type \ -Wformat -Wformat-security -Wno-format-y2k -Wundef \ -Wmissing-format-attribute -Wpointer-arith -Wwrite-strings \ -Wno-unused-parameter -Wno-parentheses \ - -fno-exceptions + -fno-exceptions -DENABLE_GLIB_SUPPORT=1 + global_cxxflags += \ - $(global_cflags) \ $(SYMBOL_VISIBILITY_INLINES) \ -fno-rtti @@ -159,30 +99,17 @@ global_cxxflags += \ # It breaks the build on other platforms, so we use it conditionally if OS_WIN32 no_undefined = -no-undefined -version_script = -export-symbols-regex "^(webkit_|JS).*" +version_script = -export-symbols-regex "^(webkit_|k?JS).*" endif if OS_GNU version_script = -Wl,--version-script,$(srcdir)/autotools/symbols.filter endif -# Shared libraries -lib_LTLIBRARIES += \ - libwebkitgtk-@WEBKITGTK_API_MAJOR_VERSION@.@WEBKITGTK_API_MINOR_VERSION@.la - # Convenience libraries noinst_LTLIBRARIES += \ libJavaScriptCore.la -# JavaScriptCore -javascriptcore_cppflags += \ - -I$(srcdir)/JavaScriptCore/ForwardingHeaders \ - -I$(srcdir)/JavaScriptCore/parser \ - -I$(srcdir)/JavaScriptCore/wtf \ - -I$(srcdir)/JavaScriptCore/wtf/gtk \ - -I$(srcdir)/JavaScriptCore/wtf/gobject \ - -I$(top_builddir)/DerivedSources - nodist_EXTRA_libJavaScriptCore_la_SOURCES = \ $(javascriptcore_built_nosources) @@ -215,78 +142,6 @@ libJavaScriptCore_la_CPPFLAGS = \ $(global_cppflags) \ $(javascriptcore_cppflags) -# WebKit -nodist_EXTRA_libwebkitgtk_@WEBKITGTK_API_MAJOR_VERSION@_@WEBKITGTK_API_MINOR_VERSION@_la_SOURCES = \ - $(webcore_built_nosources) - -nodist_libwebkitgtk_@WEBKITGTK_API_MAJOR_VERSION@_@WEBKITGTK_API_MINOR_VERSION@_la_SOURCES = \ - $(webcore_built_sources) \ - $(webkitgtk_built_sources) - -libwebkitgtk_@WEBKITGTK_API_MAJOR_VERSION@_@WEBKITGTK_API_MINOR_VERSION@_ladir = $(prefix)/include/webkit-@WEBKITGTK_API_VERSION@/webkit -libwebkitgtk_@WEBKITGTK_API_MAJOR_VERSION@_@WEBKITGTK_API_MINOR_VERSION@_la_HEADERS = \ - $(webkitgtk_h_api) \ - WebKit/gtk/webkit/webkitenumtypes.h - -libwebkitgtk_@WEBKITGTK_API_MAJOR_VERSION@_@WEBKITGTK_API_MINOR_VERSION@_la_SOURCES = \ - $(webcore_sources) \ - $(webcoregtk_sources) \ - $(webkitgtk_sources) - -libwebkitgtk_@WEBKITGTK_API_MAJOR_VERSION@_@WEBKITGTK_API_MINOR_VERSION@_la_CXXFLAGS = \ - $(global_cxxflags) \ - $(corekit_cflags) - -libwebkitgtk_@WEBKITGTK_API_MAJOR_VERSION@_@WEBKITGTK_API_MINOR_VERSION@_la_CFLAGS = \ - $(global_cflags) \ - $(corekit_cflags) - -libwebkitgtk_@WEBKITGTK_API_MAJOR_VERSION@_@WEBKITGTK_API_MINOR_VERSION@_la_CPPFLAGS = \ - $(corekit_cppflags) \ - $(webkitgtk_cppflags) \ - $(HILDON_CPPFLAGS) - -libwebkitgtk_@WEBKITGTK_API_MAJOR_VERSION@_@WEBKITGTK_API_MINOR_VERSION@_la_LDFLAGS = \ - -version-info @LIBWEBKITGTK_VERSION@ \ - $(version_script) \ - $(no_undefined) - -libwebkitgtk_@WEBKITGTK_API_MAJOR_VERSION@_@WEBKITGTK_API_MINOR_VERSION@_la_LIBADD = \ - -lpthread \ - libJavaScriptCore.la \ - libWebCoreJS.la \ - libgdom.la \ - $(webcore_ldflags) \ - $(CAIRO_LIBS) \ - $(COVERAGE_LDFLAGS) \ - $(ENCHANT_LIBS) \ - $(FREETYPE_LIBS) \ - $(GAIL_LIBS) \ - $(GEOCLUE_LIBS) \ - $(GLIB_LIBS) \ - $(GSTREAMER_LIBS) \ - $(GTK_LIBS) \ - $(HILDON_LIBS) \ - $(JPEG_LIBS) \ - $(LIBSOUP_LIBS) \ - $(LIBXML_LIBS) \ - $(LIBXSLT_LIBS) \ - $(PANGO_LIBS) \ - $(PNG_LIBS) \ - $(SQLITE3_LIBS) \ - $(UNICODE_LIBS) \ - $(XT_LIBS) - -libgdom_ladir = $(prefix)/include/webkit-@WEBKITGTK_API_VERSION@/webkit -nodist_libgdom_la_HEADERS = \ - $(libgdom_h_api) - -libgdom_cleanfiles += \ - $(top_builddir)/WebKit/gtk/webkit/webkitdomenumtypes.h \ - $(top_builddir)/libgdom.la \ - $(top_builddir)/stamp-webkitdomenumtypes.h - -# # Extra checks and flags global_cppflags += \ -DBUILDING_CAIRO__=1 \ @@ -308,17 +163,29 @@ global_cppflags += \ -DUSE_SYSTEM_MALLOC endif +if USE_GSTREAMER +global_cppflags += \ + -DWTF_USE_GSTREAMER=1 +endif + +# ---- +# GTK+ 2.x/3.x support +# ---- +if GTK_API_VERSION_2 +global_cppflags += \ + -DGTK_API_VERSION_2=1 +endif + if !ENABLE_DEBUG global_cppflags += -DNDEBUG global_cflags += $(SYMBOL_VISIBILITY) else -webcoregtk_cppflags += \ +global_cppflags += \ -DG_DISABLE_DEPRECATED \ -DGDK_PIXBUF_DISABLE_DEPRECATED \ -DGDK_DISABLE_DEPRECATED \ -DGTK_DISABLE_DEPRECATED \ -DPANGO_DISABLE_DEPRECATED - # Might be useful in the future # -DGDK_MULTIHEAD_SAFE \ # -DGTK_MULTIHEAD_SAFE @@ -330,454 +197,19 @@ global_cppflags += \ -DGCC_INSTRUMENT_PROGRAM_FLOW_ARCS endif -webkitgtk_h_api += \ - $(srcdir)/WebKit/gtk/webkit/webkit.h \ - $(srcdir)/WebKit/gtk/webkit/webkitdefines.h \ - $(srcdir)/WebKit/gtk/webkit/webkitdownload.h \ - $(srcdir)/WebKit/gtk/webkit/webkiterror.h \ - $(srcdir)/WebKit/gtk/webkit/webkithittestresult.h \ - $(srcdir)/WebKit/gtk/webkit/webkitnetworkrequest.h \ - $(srcdir)/WebKit/gtk/webkit/webkitnetworkresponse.h \ - $(srcdir)/WebKit/gtk/webkit/webkitsoupauthdialog.h \ - $(srcdir)/WebKit/gtk/webkit/webkitwebbackforwardlist.h \ - $(srcdir)/WebKit/gtk/webkit/webkitwebdatasource.h \ - $(srcdir)/WebKit/gtk/webkit/webkitwebframe.h \ - $(srcdir)/WebKit/gtk/webkit/webkitwebhistoryitem.h \ - $(srcdir)/WebKit/gtk/webkit/webkitwebinspector.h \ - $(srcdir)/WebKit/gtk/webkit/webkitwebnavigationaction.h \ - $(srcdir)/WebKit/gtk/webkit/webkitwebpolicydecision.h \ - $(srcdir)/WebKit/gtk/webkit/webkitgeolocationpolicydecision.h \ - $(srcdir)/WebKit/gtk/webkit/webkitwebresource.h \ - $(srcdir)/WebKit/gtk/webkit/webkitwebsettings.h \ - $(srcdir)/WebKit/gtk/webkit/webkitwebwindowfeatures.h \ - $(srcdir)/WebKit/gtk/webkit/webkitwebview.h \ - $(srcdir)/WebKit/gtk/webkit/webkitwebdatabase.h \ - $(srcdir)/WebKit/gtk/webkit/webkitsecurityorigin.h \ - $(top_builddir)/WebKit/gtk/webkit/webkitversion.h - -webkitgtk_built_sources += \ - DerivedSources/webkitenumtypes.cpp \ - DerivedSources/webkitdomenumtypes.cpp \ - DerivedSources/webkitmarshal.cpp \ - DerivedSources/webkitmarshal.h \ - WebKit/gtk/webkit/webkitenumtypes.h - -webkitgtk_sources += \ - WebKit/gtk/WebCoreSupport/ChromeClientGtk.cpp \ - WebKit/gtk/WebCoreSupport/ChromeClientGtk.h \ - WebKit/gtk/WebCoreSupport/ContextMenuClientGtk.cpp \ - WebKit/gtk/WebCoreSupport/ContextMenuClientGtk.h \ - WebKit/gtk/WebCoreSupport/DocumentLoaderGtk.cpp \ - WebKit/gtk/WebCoreSupport/DocumentLoaderGtk.h \ - WebKit/gtk/WebCoreSupport/DragClientGtk.cpp \ - WebKit/gtk/WebCoreSupport/DragClientGtk.h \ - WebKit/gtk/WebCoreSupport/EditorClientGtk.cpp \ - WebKit/gtk/WebCoreSupport/EditorClientGtk.h \ - WebKit/gtk/WebCoreSupport/FrameLoaderClientGtk.cpp \ - WebKit/gtk/WebCoreSupport/FrameLoaderClientGtk.h \ - WebKit/gtk/WebCoreSupport/InspectorClientGtk.cpp \ - WebKit/gtk/WebCoreSupport/InspectorClientGtk.h \ - WebKit/gtk/WebCoreSupport/PasteboardHelperGtk.cpp \ - WebKit/gtk/WebCoreSupport/PasteboardHelperGtk.h \ - WebKit/gtk/webkit/webkitapplicationcache.cpp \ - WebKit/gtk/webkit/webkitdownload.cpp \ - WebKit/gtk/webkit/webkiterror.cpp \ - WebKit/gtk/webkit/webkithittestresult.cpp \ - WebKit/gtk/webkit/webkitnetworkrequest.cpp \ - WebKit/gtk/webkit/webkitnetworkresponse.cpp \ - WebKit/gtk/webkit/webkitprivate.cpp \ - WebKit/gtk/webkit/webkitprivate.h \ - WebKit/gtk/webkit/webkitsoupauthdialog.c \ - WebKit/gtk/webkit/webkitversion.cpp \ - WebKit/gtk/webkit/webkitwebbackforwardlist.cpp \ - WebKit/gtk/webkit/webkitwebdatasource.cpp \ - WebKit/gtk/webkit/webkitwebframe.cpp \ - WebKit/gtk/webkit/webkitwebhistoryitem.cpp \ - WebKit/gtk/webkit/webkitwebinspector.cpp \ - WebKit/gtk/webkit/webkitwebnavigationaction.cpp \ - WebKit/gtk/webkit/webkitwebpolicydecision.cpp \ - WebKit/gtk/webkit/webkitgeolocationpolicydecision.cpp \ - WebKit/gtk/webkit/webkitwebresource.cpp \ - WebKit/gtk/webkit/webkitwebdatabase.cpp \ - WebKit/gtk/webkit/webkitsecurityorigin.cpp \ - WebKit/gtk/webkit/webkitwebsettings.cpp \ - WebKit/gtk/webkit/webkitwebview.cpp \ - WebKit/gtk/webkit/webkitwebwindowfeatures.cpp \ - WebKit/gtk/webkit/webkitworkers.cpp - -webkitgtk_cppflags += \ - -DBUILDING_WEBKIT \ - -DPACKAGE_LOCALE_DIR=\"$(localedir)\" \ - -DDATA_DIR=\"${datadir}\" \ - -I$(srcdir)/WebKit/gtk \ - -I$(srcdir)/WebKit/gtk/WebCoreSupport \ - -I$(srcdir)/WebKit/gtk/webkit \ - -I$(top_builddir)/WebKit/gtk \ - -I$(top_builddir)/WebKit/gtk/webkit \ - -I$(GENSOURCESWEBKITDOM) - -webkitgtk_cleanfiles += \ - $(top_builddir)/stamp-webkitmarshal.cpp \ - $(top_builddir)/stamp-webkitmarshal.h \ - $(top_builddir)/stamp-webkitenumtypes.cpp \ - $(top_builddir)/stamp-webkitenumtypes.h \ - $(top_builddir)/Programs/GtkLauncher \ - $(top_builddir)/WebKit/gtk/docs/version.xml \ - $(top_builddir)/WebKit/gtk/docs/GNUmakefile \ - $(top_builddir)/WebKit/gtk/@WEBKITGTK_PC_NAME@-@WEBKITGTK_API_VERSION@.pc \ - $(top_builddir)/WebKit/gtk/webkit/webkitenumtypes.h \ - $(top_builddir)/WebKit/gtk/webkit/webkitversion.h - -pkgconfigdir = $(libdir)/pkgconfig -pkgconfig_DATA = WebKit/gtk/@WEBKITGTK_PC_NAME@-@WEBKITGTK_API_VERSION@.pc - -if ENABLE_INTROSPECTION - -JSCore-@WEBKITGTK_API_VERSION@.gir: $(builddir)/WebKit/gtk/JSCore-@WEBKITGTK_API_VERSION@.gir - cp $(builddir)/WebKit/gtk/JSCore-@WEBKITGTK_API_VERSION@.gir $(builddir)/ - -JSCORE_GIRSOURCES += JSCore-@WEBKITGTK_API_VERSION@.gir -WEBKIT_GIRSOURCES += WebKit-@WEBKITGTK_API_VERSION@.gir - -$(WEBKIT_GIRSOURCES): $(G_IR_SCANNER) $(JSCORE_GIRSOURCES) libwebkitgtk-@WEBKITGTK_API_MAJOR_VERSION@.@WEBKITGTK_API_MINOR_VERSION@.la - $(AM_V_GEN)$(G_IR_SCANNER) -v --namespace WebKit --nsversion=@WEBKITGTK_API_VERSION@ \ - --include=GObject-2.0 \ - --include=Gtk-@GTK_API_VERSION@ \ - --include=JSCore-@WEBKITGTK_API_VERSION@ \ - --include=Soup-2.4 \ - --library=webkitgtk-@WEBKITGTK_API_VERSION@ \ - --libtool="$(LIBTOOL)" \ - --pkg gobject-2.0 \ - --pkg gtk+-@GTK_API_VERSION@ \ - --pkg libsoup-2.4 \ - --output $@ \ - --add-include-path $(top_srcdir)/WebKit/gtk \ - --add-include-path $(builddir) \ - -I$(top_srcdir)/WebKit/gtk \ - -I$(top_builddir)/WebKit/gtk \ - -I$(top_builddir)/DerivedSources \ - -I$(top_srcdir)/JavaScriptCore/ForwardingHeaders \ - -I$(top_srcdir) \ - $(webkitgtk_h_api) \ - $(libgdom_h_api) - -girdir = $(datadir)/gir-1.0 -gir_DATA = $(WEBKIT_GIRSOURCES) $(JSCORE_GIRSOURCES) - -typelibsdir += $(libdir)/girepository-1.0 -typelibs_DATA += $(JSCORE_GIRSOURCES:.gir=.typelib) $(WEBKIT_GIRSOURCES:.gir=.typelib) - -%.typelib: %.gir $(G_IR_COMPILER) - $(AM_V_GEN)$(G_IR_COMPILER) --includedir $(top_srcdir)/WebKit/gtk --includedir $(builddir) $< -o $@ - -CLEANFILES += $(JSCORE_GIRSOURCES) $(WEBKIT_GIRSOURCES) $(typelibs_DATA) - -endif - -EXTRA_DIST += $(builddir)/WebKit/gtk/JSCore-@WEBKITGTK_API_VERSION@.gir - -WEBKIT_MARSHAL = $(GENSOURCES)/webkitmarshal -WEBKIT_MARSHAL_LIST = $(top_srcdir)/WebKit/gtk/webkitmarshal.list - -$(WEBKIT_MARSHAL).cpp: stamp-webkitmarshal.cpp - @true - -$(WEBKIT_MARSHAL).h: stamp-webkitmarshal.h - @true - -stamp-webkitmarshal.cpp: $(WEBKIT_MARSHAL_LIST) - $(AM_V_GEN) echo "extern \"C\" {" > $(WEBKIT_MARSHAL).cpp && \ - $(GLIB_GENMARSHAL) --prefix=webkit_marshal $(WEBKIT_MARSHAL_LIST) --body >> $(WEBKIT_MARSHAL).cpp && echo '}' >> $(WEBKIT_MARSHAL).cpp && \ - echo timestamp > $(@F) - -stamp-webkitmarshal.h: $(WEBKIT_MARSHAL_LIST) - $(AM_V_GEN)$(GLIB_GENMARSHAL) --prefix=webkit_marshal $(WEBKIT_MARSHAL_LIST) --header > $(WEBKIT_MARSHAL).h && \ - echo timestamp > $(@F) - -WebKit/gtk/webkit/webkitenumtypes.h: stamp-webkitenumtypes.h - @true -stamp-webkitenumtypes.h: $(webkitgtk_h_api) GNUmakefile - $(AM_V_GEN)glib-mkenums \ - --fhead "#ifndef WEBKIT_ENUM_TYPES_H\n" \ - --fhead "#define WEBKIT_ENUM_TYPES_H\n\n" \ - --fhead "#include <glib-object.h>\n\n" \ - --fhead "#include <webkit/webkitdefines.h>\n\n" \ - --fhead "G_BEGIN_DECLS\n\n" \ - --ftail "G_END_DECLS\n\n" \ - --ftail "#endif\n" \ - --fprod "#include <webkit/@basename@>\n\n" \ - --eprod "#define WEBKIT_TYPE_@ENUMSHORT@ @enum_name@_get_type()\n\n" \ - --eprod "WEBKIT_API GType\n@enum_name@_get_type(void);\n\n" \ - $(webkitgtk_h_api) | \ - sed 's,web_kit,webkit,' | \ - sed 's,WEBKIT_TYPE_KIT,WEBKIT_TYPE,' \ - > xgen-gth \ - && (cmp -s xgen-gth WebKit/gtk/webkit/webkitenumtypes.h || cp xgen-gth WebKit/gtk/webkit/webkitenumtypes.h) \ - && rm -f xgen-gth \ - && echo timestamp > $(@F) - -DerivedSources/webkitenumtypes.cpp: $(webkitgtk_h_api) GNUmakefile - $(AM_V_GEN)glib-mkenums \ - --fhead "#include <config.h>\n" \ - --fhead "#include <glib-object.h>\n" \ - --fhead "#include \"$(top_builddir)/WebKit/gtk/webkit/webkitenumtypes.h\"\n\n" \ - --fhead "extern \"C\" {\n\n" \ - --fprod "\n/* enumerations from \"@filename@\" */" \ - --vhead "static const G@Type@Value _@enum_name@_values[] = {" \ - --vprod " { @VALUENAME@, \"@VALUENAME@\", \"@valuenick@\" }," \ - --vtail " { 0, NULL, NULL }\n};\n\n" \ - --vtail "GType @enum_name@_get_type(void)\n{\n" \ - --vtail " static GType type = 0;\n\n" \ - --vtail " if (!type)\n" \ - --vtail " type = g_@type@_register_static(\"@EnumName@\", _@enum_name@_values);\n\n" \ - --vtail " return type;\n}\n\n" \ - --ftail "}\n" \ - $(webkitgtk_h_api) | \ - sed 's,web_kit,webkit,' \ - > xgen-gtc \ - && cp xgen-gtc $@ \ - && rm -f xgen-gtc - -WebKit/gtk/webkit/webkitdomenumtypes.h: stamp-webkitdomenumtypes.h - @true -stamp-webkitdomenumtypes.h: $(libgdom_h_api) GNUmakefile - $(AM_V_GEN)glib-mkenums \ - --fhead "#ifndef WEBKIT_DOM_ENUM_TYPES_H\n" \ - --fhead "#define WEBKIT_DOM_ENUM_TYPES_H\n\n" \ - --fhead "#include <glib-object.h>\n\n" \ - --fhead "G_BEGIN_DECLS\n\n" \ - --ftail "G_END_DECLS\n\n" \ - --ftail "#endif\n" \ - --fprod "#include <webkit/@basename@>\n\n" \ - --eprod "#define WEBKIT_DOM_TYPE_@ENUMSHORT@ @enum_name@_get_type()\n\n" \ - --eprod "WEBKIT_API GType\n@enum_name@_get_type(void);n\n" \ - $(libgdom_h_api) | \ - sed 's,web_kit,webkit_dom,' | \ - sed 's,WEBKIT_DOM_TYPE_KIT,WEBKIT_DOM_TYPE,' \ - > xgen-cgth \ - && (cmp -s xgen-cgth WebKit/gtk/webkit/webkitdomenumtypes.h || cp xgen-cgth WebKit/gtk/webkit/webkitdomenumtypes.h) \ - && rm -f xgen-cgth \ - && echo timestamp > $(@F) - -DerivedSources/webkitdomenumtypes.cpp: $(top_builddir)/WebKit/gtk/webkit/webkitdomenumtypes.h $(libgdom_h_api) GNUmakefile - $(AM_V_GEN)glib-mkenums \ - --fhead "#include <config.h>\n" \ - --fhead "#include <glib-object.h>\n" \ - --fhead "#include \"$(top_builddir)/WebKit/gtk/webkit/webkitdomenumtypes.h\"\n\n" \ - --fhead "extern \"C\" {\n\n" \ - --fprod "\n/* enumerations from \"@filename@\" */" \ - --vhead "static const G@Type@Value _@enum_name@_values] = {" \ - --vprod " { @VALUENAME@, \"@VALUENAME@\", \"@valuenick@\" }," \ - --vtail " { 0, NULL, NULL }\n};\n\n" \ - --vtail "GType @enum_name@_get_type(void)\n{\n" \ - --vtail " static GType type = 0;\n\n" \ - --vtail " if (!type)\n" \ - --vtail " type = g_@type@_register_static(\"@EnumName@\", _@enum_name@_values);\n\n" \ - --vtail " return type;\n}\n\n" \ - --ftail "}\n" \ - $(libgdom_h_api) | \ - sed 's,web_kit,webkitdom,' \ - > xgen-cgtc \ - && cp xgen-cgtc $@ \ - && rm -f xgen-cgtc - -# Files that will be distributed EXTRA_DIST += \ - $(srcdir)/gtk-doc.make \ - WebKit/LICENSE \ - $(javascriptcore_dist) \ - $(webcore_dist) \ $(srcdir)/autotools/symbols.filter \ - $(srcdir)/WebKit/gtk/ChangeLog \ - $(srcdir)/WebKit/gtk/NEWS \ - $(srcdir)/WebKit/gtk/webkitmarshal.list \ - $(srcdir)/WebKit/gtk/docs/GNUmakefile.* \ - $(srcdir)/WebKit/gtk/docs/webkitenvironment.xml \ - $(srcdir)/WebKit/gtk/docs/webkitgtk-docs.sgml \ - $(srcdir)/WebKit/gtk/docs/webkitgtk-sections.txt \ - $(srcdir)/WebKit/gtk/docs/version.xml.in \ - $(srcdir)/WebKit/gtk/po/* \ - $(srcdir)/WebKit/gtk/resources/* \ - $(srcdir)/WebKit/gtk/tests/resources/* \ - $(srcdir)/WebKit/gtk/tests/test_utils.h - -# extra resource files -resourcesdir = ${datadir}/webkit-@WEBKITGTK_API_VERSION@/resources -dist_resources_DATA = \ - $(shell ls $(srcdir)/WebKit/gtk/resources/*.html) - -# END WEBKIT GTK+ + $(srcdir)/gtk-doc.make \ + $(srcdir)/WebKit/LICENSE # Include module makefiles include JavaScriptCore/GNUmakefile.am include WebCore/GNUmakefile.am +include WebKit/gtk/GNUmakefile.am +include WebCore/bindings/gobject/GNUmakefile.am include WebKitTools/GNUmakefile.am include WebKit/gtk/po/GNUmakefile.am -# Build unit tests -noinst_PROGRAMS += $(TEST_PROGS) - -webkit_tests_cflags = \ - -fno-strict-aliasing \ - -I$(srcdir)/JavaScriptCore/ForwardingHeaders \ - -I$(srcdir)/WebKit/gtk \ - -I$(top_builddir)/WebKit/gtk \ - -I$(top_builddir)/DerivedSources \ - -I$(top_srcdir)/WebCore/bindings \ - -I$(top_srcdir)/WebCore/bindings/gobject \ - $(global_cflags) \ - $(GLIB_CFLAGS) \ - $(GTK_CFLAGS) \ - $(LIBSOUP_CFLAGS) - -webkit_tests_ldadd = \ - libwebkitgtk-@WEBKITGTK_API_MAJOR_VERSION@.@WEBKITGTK_API_MINOR_VERSION@.la \ - $(GTK_LIBS) \ - $(GLIB_LIBS) \ - $(LIBSOUP_LIBS) - -webkit_tests_ldflags = \ - -no-install \ - -no-fast-install - -TEST_PROGS += \ - Programs/unittests/testdomdocument \ - Programs/unittests/testdomdomwindow \ - Programs/unittests/testdomnode \ - Programs/unittests/testhttpbackend \ - Programs/unittests/testloading \ - Programs/unittests/testglobals \ - Programs/unittests/testmimehandling \ - Programs/unittests/testnetworkrequest \ - Programs/unittests/testnetworkresponse \ - Programs/unittests/testwebframe \ - Programs/unittests/testwebbackforwardlist \ - Programs/unittests/testwebhistoryitem \ - Programs/unittests/testwindow \ - Programs/unittests/testdownload \ - Programs/unittests/testatk \ - Programs/unittests/testatkroles \ - Programs/unittests/testhittestresult \ - Programs/unittests/testwebsettings \ - Programs/unittests/testwebresource \ - Programs/unittests/testwebdatasource \ - Programs/unittests/testwebview \ - Programs/unittests/testkeyevents \ - Programs/unittests/testcopyandpaste - -# Add additional tests here -Programs_unittests_testdomdocument_SOURCES = WebKit/gtk/tests/testdomdocument.c -Programs_unittests_testdomdocument_CFLAGS = $(webkit_tests_cflags) -Programs_unittests_testdomdocument_LDADD = $(webkit_tests_ldadd) -Programs_unittests_testdomdocument_LDFLAGS = $(webkit_tests_ldflags) - -Programs_unittests_testdomdomwindow_SOURCES = WebKit/gtk/tests/testdomdomwindow.c -Programs_unittests_testdomdomwindow_CFLAGS = $(webkit_tests_cflags) -Programs_unittests_testdomdomwindow_LDADD = $(webkit_tests_ldadd) -Programs_unittests_testdomdomwindow_LDFLAGS = $(webkit_tests_ldflags) - -Programs_unittests_testdomnode_SOURCES = WebKit/gtk/tests/testdomnode.c -Programs_unittests_testdomnode_CFLAGS = $(webkit_tests_cflags) -Programs_unittests_testdomnode_LDADD = $(webkit_tests_ldadd) -Programs_unittests_testdomnode_LDFLAGS = $(webkit_tests_ldflags) - -Programs_unittests_testhttpbackend_SOURCES = WebKit/gtk/tests/testhttpbackend.c -Programs_unittests_testhttpbackend_CFLAGS = $(webkit_tests_cflags) -Programs_unittests_testhttpbackend_LDADD = $(webkit_tests_ldadd) -Programs_unittests_testhttpbackend_LDFLAGS = $(webkit_tests_ldflags) - -Programs_unittests_testglobals_SOURCES = WebKit/gtk/tests/testglobals.c -Programs_unittests_testglobals_CFLAGS = $(webkit_tests_cflags) -Programs_unittests_testglobals_LDADD = $(webkit_tests_ldadd) -Programs_unittests_testglobals_LDFLAGS = $(webkit_tests_ldflags) - -Programs_unittests_testloading_SOURCES = WebKit/gtk/tests/testloading.c -Programs_unittests_testloading_CFLAGS = $(webkit_tests_cflags) -Programs_unittests_testloading_LDADD = $(webkit_tests_ldadd) -Programs_unittests_testloading_LDFLAGS = $(webkit_tests_ldflags) - -Programs_unittests_testmimehandling_SOURCES = WebKit/gtk/tests/testmimehandling.c WebKit/gtk/tests/test_utils.c -Programs_unittests_testmimehandling_CFLAGS = $(webkit_tests_cflags) -Programs_unittests_testmimehandling_LDADD = $(webkit_tests_ldadd) -Programs_unittests_testmimehandling_LDFLAGS = $(webkit_tests_ldflags) - -Programs_unittests_testnetworkrequest_SOURCES = WebKit/gtk/tests/testnetworkrequest.c -Programs_unittests_testnetworkrequest_CFLAGS = $(webkit_tests_cflags) -Programs_unittests_testnetworkrequest_LDADD = $(webkit_tests_ldadd) -Programs_unittests_testnetworkrequest_LDFLAGS = $(webkit_tests_ldflags) - -Programs_unittests_testnetworkresponse_SOURCES = WebKit/gtk/tests/testnetworkresponse.c -Programs_unittests_testnetworkresponse_CFLAGS = $(webkit_tests_cflags) -Programs_unittests_testnetworkresponse_LDADD = $(webkit_tests_ldadd) -Programs_unittests_testnetworkresponse_LDFLAGS = $(webkit_tests_ldflags) - -Programs_unittests_testwebframe_SOURCES = WebKit/gtk/tests/testwebframe.c -Programs_unittests_testwebframe_CFLAGS = $(webkit_tests_cflags) -Programs_unittests_testwebframe_LDADD = $(webkit_tests_ldadd) -Programs_unittests_testwebframe_LDFLAGS = $(webkit_tests_ldflags) - -Programs_unittests_testwebbackforwardlist_SOURCES = WebKit/gtk/tests/testwebbackforwardlist.c -Programs_unittests_testwebbackforwardlist_CFLAGS = $(webkit_tests_cflags) -Programs_unittests_testwebbackforwardlist_LDADD = $(webkit_tests_ldadd) -Programs_unittests_testwebbackforwardlist_LDFLAGS = $(webkit_tests_ldflags) - -Programs_unittests_testwebhistoryitem_SOURCES = WebKit/gtk/tests/testwebhistoryitem.c -Programs_unittests_testwebhistoryitem_CFLAGS = $(webkit_tests_cflags) -Programs_unittests_testwebhistoryitem_LDADD = $(webkit_tests_ldadd) -Programs_unittests_testwebhistoryitem_LDFLAGS = $(webkit_tests_ldflags) - -Programs_unittests_testwindow_SOURCES = WebKit/gtk/tests/testwindow.c -Programs_unittests_testwindow_CFLAGS = $(webkit_tests_cflags) -Programs_unittests_testwindow_LDADD = $(webkit_tests_ldadd) -Programs_unittests_testwindow_LDFLAGS = $(webkit_tests_ldflags) - -Programs_unittests_testdownload_SOURCES = WebKit/gtk/tests/testdownload.c -Programs_unittests_testdownload_CFLAGS = $(webkit_tests_cflags) -Programs_unittests_testdownload_LDADD = $(webkit_tests_ldadd) -Programs_unittests_testdownload_LDFLAGS = $(webkit_tests_ldflags) - -Programs_unittests_testatk_SOURCES = WebKit/gtk/tests/testatk.c -Programs_unittests_testatk_CFLAGS = $(webkit_tests_cflags) -Programs_unittests_testatk_LDADD = $(webkit_tests_ldadd) -Programs_unittests_testatk_LDFLAGS = $(webkit_tests_ldflags) - -Programs_unittests_testatkroles_SOURCES = WebKit/gtk/tests/testatkroles.c -Programs_unittests_testatkroles_CFLAGS = $(webkit_tests_cflags) -Programs_unittests_testatkroles_LDADD = $(webkit_tests_ldadd) -Programs_unittests_testatkroles_LDFLAGS = $(webkit_tests_ldflags) - -Programs_unittests_testwebsettings_SOURCES = WebKit/gtk/tests/testwebsettings.c -Programs_unittests_testwebsettings_CFLAGS = $(webkit_tests_cflags) -Programs_unittests_testwebsettings_LDADD = $(webkit_tests_ldadd) -Programs_unittests_testwebsettings_LDFLAGS = $(webkit_tests_ldflags) - -Programs_unittests_testwebresource_SOURCES = WebKit/gtk/tests/testwebresource.c -Programs_unittests_testwebresource_CFLAGS = $(webkit_tests_cflags) -Programs_unittests_testwebresource_LDADD = $(webkit_tests_ldadd) - -Programs_unittests_testwebdatasource_SOURCES = WebKit/gtk/tests/testwebdatasource.c -Programs_unittests_testwebdatasource_CFLAGS = $(webkit_tests_cflags) -Programs_unittests_testwebdatasource_LDADD = $(webkit_tests_ldadd) - -Programs_unittests_testwebview_SOURCES = WebKit/gtk/tests/testwebview.c WebKit/gtk/tests/test_utils.c -Programs_unittests_testwebview_CFLAGS = $(webkit_tests_cflags) -Programs_unittests_testwebview_LDADD = $(webkit_tests_ldadd) -Programs_unittests_testwebview_LDFLAGS = $(webkit_tests_ldflags) - -Programs_unittests_testhittestresult_SOURCES = WebKit/gtk/tests/testhittestresult.c -Programs_unittests_testhittestresult_CFLAGS = $(webkit_tests_cflags) -Programs_unittests_testhittestresult_LDADD = $(webkit_tests_ldadd) - -Programs_unittests_testkeyevents_SOURCES = WebKit/gtk/tests/testkeyevents.c -Programs_unittests_testkeyevents_CFLAGS = $(webkit_tests_cflags) -Programs_unittests_testkeyevents_LDADD = $(webkit_tests_ldadd) -Programs_unittests_testkeyevents_LDFLAGS = $(webkit_tests_ldflags) - -Programs_unittests_testcopyandpaste_SOURCES = WebKit/gtk/tests/testcopyandpaste.c -Programs_unittests_testcopyandpaste_CFLAGS = $(webkit_tests_cflags) -Programs_unittests_testcopyandpaste_LDADD = $(webkit_tests_ldadd) -Programs_unittests_testcopyandpaste_LDFLAGS = $(webkit_tests_ldflags) - # Autogenerated sources BUILT_SOURCES += \ $(javascriptcore_built_sources) \ @@ -785,21 +217,17 @@ BUILT_SOURCES += \ $(webcore_built_sources) \ $(webcore_built_nosources) \ $(webkitgtk_built_sources) \ - $(webkitgtk_built_nosources) \ - $(gdom_built_nosources) - -# Project-wide clean rules -# Files that will be cleaned -CLEANFILES += \ - $(BUILT_SOURCES) \ - $(webkitgtk_cleanfiles) \ - $(libgdom_cleanfiles) + $(webkitgtk_built_nosources) DISTCLEANFILES += \ - $(CLEANFILES) + $(CLEANFILES) \ + $(builddir)/doltcompile \ + $(builddir)/doltlibtool MAINTAINERCLEANFILES += \ $(CLEANFILES) \ + $(builddir)/doltcompile \ + $(builddir)/doltlibtool \ $(srcdir)/aconfig.h.in \ $(srcdir)/autotools/config.* \ $(srcdir)/autotools/compile \ @@ -814,7 +242,7 @@ MAINTAINERCLEANFILES += \ # Older automake versions (1.7) place Plo files in a different place so we need # to create the output directory manually. -all-local: stamp-po +all-local: $(mkdir_p) $(top_builddir)/$(DEPDIR)/DerivedSources # remove built sources and program directories @@ -822,35 +250,5 @@ clean-local: -rm -rf $(GENPROGRAMS) maintainer-clean-local: distclean-local - distclean-local: -rm -rf $(GENSOURCES) $(GENPROGRAMS) - -dist-hook: - cp $(srcdir)/WebKit/gtk/NEWS $(distdir)/ - -install-data-local: po-install-data-local - -installdirs-data-local: po-installdirs-data-local - -uninstall-local: po-uninstall-local - -# Run all tests in cwd -# FIXME: we should run this under xvfb -test: $(TEST_PROGS) - $(GTESTER) --verbose $(TEST_PROGS); - -# test-report: run tests in cwd and generate report -# full-report: run tests in cwd with -m perf and -m slow and generate report -# perf-report: run tests in cwd with -m perf and generate report -test-report full-report perf-report: $(TEST_PROGS) - @ case $@ in \ - test-report) test_options="-k";; \ - full-report) test_options="-k -m=perf";; \ - perf-report) test_options="-k -m=perf -m=slow";; \ - esac ; \ - $(GTESTER) --verbose $$test_options -o test-report.xml $(TEST_PROGS); \ - $(GTESTER_REPORT) test-report.xml > test-report.html ; - -.PHONY: test test-report perf-report full-report -check-local: test diff --git a/meta/recipes-sato/webkit/files/Makefile b/meta/recipes-sato/webkit/files/Makefile index 1e50d1d35..cdee9da7a 100644 --- a/meta/recipes-sato/webkit/files/Makefile +++ b/meta/recipes-sato/webkit/files/Makefile @@ -1,4 +1,4 @@ -MODULES = JavaScriptCore JavaScriptGlue WebCore WebKit WebKit2 WebKitTools +MODULES = JavaScriptCore JavaScriptGlue ANGLE WebCore WebKit WebKit2 WebKitTools all: @for dir in $(MODULES); do ${MAKE} $@ -C $$dir; exit_status=$$?; \ diff --git a/meta/recipes-sato/webkit/files/autogen.sh b/meta/recipes-sato/webkit/files/autogen.sh index 97beb209d..60b163d55 100755 --- a/meta/recipes-sato/webkit/files/autogen.sh +++ b/meta/recipes-sato/webkit/files/autogen.sh @@ -10,7 +10,7 @@ cd $srcdir GTKDOCIZE_FLAGS="--copy" LIBTOOLIZE_FLAGS="--force --automake" -ACLOCAL_FLAGS="-I autotools" +ACLOCAL_FLAGS="-I autotools $ACLOCAL_FLAGS" AUTOMAKE_FLAGS="--foreign --add-missing" DIE=0 diff --git a/meta/recipes-sato/webkit/files/configure.ac b/meta/recipes-sato/webkit/files/configure.ac index d4f3e749f..bb703b4bf 100644 --- a/meta/recipes-sato/webkit/files/configure.ac +++ b/meta/recipes-sato/webkit/files/configure.ac @@ -2,14 +2,14 @@ AC_PREREQ(2.59) m4_define([webkit_major_version], [1]) m4_define([webkit_minor_version], [3]) -m4_define([webkit_micro_version], [2]) +m4_define([webkit_micro_version], [7]) # This is the version we'll be using as part of our User-Agent string # e.g., AppleWebKit/$(webkit_user_agent_version) ... # # Sourced from WebCore/Configurations/Version.xcconfig -m4_define([webkit_user_agent_major_version], [531]) -m4_define([webkit_user_agent_minor_version], [2]) +m4_define([webkit_user_agent_major_version], [534]) +m4_define([webkit_user_agent_minor_version], [7]) AC_INIT([WebKit],[webkit_major_version.webkit_minor_version.webkit_micro_version],[http://bugs.webkit.org/]) @@ -34,8 +34,8 @@ AC_SUBST(WEBKIT_USER_AGENT_MINOR_VERSION) AC_CONFIG_SRCDIR([WebCore/config.h]) dnl # Libtool library version, not to confuse with API version -dnl # see http://www.gnu.org/software/libtool/manual/html_node/Libtool-versioning.html#Libtool-versioning -LIBWEBKITGTK_VERSION=0:0:0 +dnl # see http://www.gnu.org/software/libtool/manual/html_node/Libtool-versioning.html +LIBWEBKITGTK_VERSION=4:0:4 AC_SUBST([LIBWEBKITGTK_VERSION]) AM_INIT_AUTOMAKE([foreign subdir-objects tar-ustar]) @@ -82,6 +82,8 @@ WEBKIT_INIT AC_DISABLE_STATIC AC_LIBTOOL_WIN32_DLL AC_PROG_LIBTOOL +# use dolt to speedup the build +DOLT AC_PATH_PROG(FLEX, flex) if test -z "$FLEX"; then @@ -165,6 +167,17 @@ if test "$png_ok" != yes; then fi AC_SUBST([PNG_LIBS]) + +if test "$os_win32" = "yes"; then + WINMM_LIBS=-lwinmm + SHLWAPI_LIBS=-lshlwapi + OLE32_LIBS=-lole32 +fi +AC_SUBST([WINMM_LIBS]) +AC_SUBST([SHLWAPI_LIBS]) +AC_SUBST([OLE32_LIBS]) + + # determine the GTK+ version to use AC_MSG_CHECKING([the GTK+ version to use]) AC_ARG_WITH([gtk], @@ -186,7 +199,7 @@ case "$with_gtk" in GAIL_PC_NAME=gail GAIL_REQUIRED_VERSION=1.8 ;; - 3.0) GTK_REQUIRED_VERSION=2.90 + 3.0) GTK_REQUIRED_VERSION=2.91 GTK_API_VERSION=3.0 WEBKITGTK_API_MAJOR_VERSION=3 WEBKITGTK_API_MINOR_VERSION=0 @@ -258,7 +271,17 @@ ENCHANT_REQUIRED_VERSION=0.22 # todo: webcore gtk WEBKIT_CHECK_DEPENDENCIES([glib unicode]) -GETTEXT_PACKAGE=$PACKAGE +# Check if we can use GSettings +PKG_CHECK_MODULES([GSETTINGS], + [gio-2.0 >= 2.25.0], + [have_gsettings=yes], + [have_gsettings=no]) +if test "$have_gsettings" = "yes"; then + AC_DEFINE([HAVE_GSETTINGS], 1, [Whether we can use GSettings]) + GLIB_GSETTINGS +fi + +GETTEXT_PACKAGE=$PACKAGE-$GTK_API_VERSION AC_SUBST(GETTEXT_PACKAGE) AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE", [The gettext catalog name]) @@ -430,14 +453,6 @@ AC_ARG_ENABLE(datalist, [],[enable_datalist="yes"]) AC_MSG_RESULT([$enable_datalist]) -# check whether to enable HTML5 ruby support -AC_MSG_CHECKING([whether to enable HTML5 ruby support]) -AC_ARG_ENABLE(ruby, - AC_HELP_STRING([--enable-ruby], - [enable HTML5 ruby support [default=yes]]), - [],[enable_ruby="yes"]) -AC_MSG_RESULT([$enable_ruby]) - # check whether to enable HTML5 sandbox iframe support AC_MSG_CHECKING([whether to enable HTML5 sandboxed iframe support]) AC_ARG_ENABLE(sandbox, @@ -526,6 +541,22 @@ AC_ARG_ENABLE(workers, [],[enable_workers="yes"]) AC_MSG_RESULT([$enable_workers]) +# check whether to enable directory upload support +AC_MSG_CHECKING([whether to enable directory upload support]) +AC_ARG_ENABLE(directory_upload, + AC_HELP_STRING([--enable-directory-upload], + [enable support for directory upload [default=no]]), + [], [enable_directory_upload="no"]) +AC_MSG_RESULT([$enable_directory_upload]) + +# check whether to enable HTML5 FileSystem API support +AC_MSG_CHECKING([whether to enable HTML5 FileSystem API support]) +AC_ARG_ENABLE(file_system, + AC_HELP_STRING([--enable-file-system], + [enable support for HTML5 FileSystem API [default=no]]), + [], [enable_file_system="no"]) +AC_MSG_RESULT([$enable_file_system]) + # turn off svg features if --disable-svg is requested if test "$enable_svg" = "no"; then enable_svg_animation=no @@ -600,8 +631,8 @@ fi AC_MSG_CHECKING([whether to enable Web Sockets support]) AC_ARG_ENABLE(web_sockets, AC_HELP_STRING([--enable-web-sockets], - [enable support for Web Sockets [default=no]]), - [],[enable_web_sockets="no"]) + [enable support for Web Sockets [default=yes]]), + [],[enable_web_sockets="yes"]) AC_MSG_RESULT([$enable_web_sockets]) # check whether to enable Web Timing support @@ -612,13 +643,13 @@ AC_ARG_ENABLE(web_timing, [],[enable_web_timing="no"]) AC_MSG_RESULT([$enable_web_timing]) -# check whether to enable Blob.slice support -AC_MSG_CHECKING([whether to enable Blob.slice support]) -AC_ARG_ENABLE(blob_slice, - AC_HELP_STRING([--enable-blob-slice], - [enable support for Blob.slice [default=no]]), - [],[enable_blob_slice="no"]) -AC_MSG_RESULT([$enable_blob_slice]) +# check whether to enable Blob support +AC_MSG_CHECKING([whether to enable Blob support]) +AC_ARG_ENABLE(blob, + AC_HELP_STRING([--enable-blob], + [enable support for Blob [default=no]]), + [],[enable_blob="no"]) +AC_MSG_RESULT([$enable_blob]) # check whether to enable Fast Mobile Scrolling support AC_MSG_CHECKING([whether to enable Fast Mobile Scrolling]) @@ -628,22 +659,6 @@ AC_ARG_ENABLE(fast_mobile_scrolling, [],[enable_fast_mobile_scrolling="no"]) AC_MSG_RESULT([$enable_fast_mobile_scrolling]) -# check whether to enable FileReader support -AC_MSG_CHECKING([whether to enable FileReader support]) -AC_ARG_ENABLE(file_reader, - AC_HELP_STRING([--enable-file-reader], - [enable support for FileReader [default=no]]), - [],[enable_file_reader="no"]) -AC_MSG_RESULT([$enable_file_reader]) - -# check whether to enable FileWriter support -AC_MSG_CHECKING([whether to enable FileWriter support]) -AC_ARG_ENABLE(file_writer, - AC_HELP_STRING([--enable-file-writer], - [enable support for FileWriter [default=no]]), - [],[enable_file_writer="no"]) -AC_MSG_RESULT([$enable_file_writer]) - # check whether to enable code coverage AC_MSG_CHECKING([whether to enable code coverage support]) AC_ARG_ENABLE(coverage, @@ -667,6 +682,11 @@ AC_ARG_ENABLE([jit], [],[enable_jit="yes"]) if test "$enable_jit" = "yes"; then case "$host_cpu" in + arm*) + AC_DEFINE([ENABLE_JIT], [1], [Define to enable JIT]) + AC_DEFINE([ENABLE_YARR], [1], [Define to enable YARR]) + AC_DEFINE([ENABLE_YARR_JIT], [1], [Define to enable YARR JIT]) + ;; i*86|x86_64) AC_DEFINE([ENABLE_JIT], [1], [Define to enable JIT]) AC_DEFINE([ENABLE_YARR], [1], [Define to enable YARR]) @@ -688,9 +708,36 @@ if test "$enable_jit" = "yes"; then enable_jit="no (CPU '$host_cpu' not supported)" ;; esac +else + AC_DEFINE([ENABLE_JIT], [0], [Define to enable JIT]) fi AC_MSG_RESULT([$enable_jit]) +# Opcode stats +AC_MSG_CHECKING([whether to enable opcode stats]) +AC_ARG_ENABLE([opcode-stats], + [AS_HELP_STRING([--enable-opcode-stats], [Enable Opcode statistics (default: disabled)])], + [], [enable_opcode_stats=no]) +AC_MSG_RESULT([$enable_opcode_stats]) + +if test "$enable_opcode_stats" = "yes"; then + if test "$enable_jit" = "yes"; then + AC_MSG_ERROR([JIT must be disabled for Opcode stats to work.]) + fi + AC_DEFINE([ENABLE_OPCODE_STATS], [1], [Define to enable Opcode statistics]) +fi + +# Link prefetch +AC_MSG_CHECKING([whether to enable link prefetch support]) +AC_ARG_ENABLE([link-prefetch], + [AS_HELP_STRING([--enable-link-prefetch], [Enable Link prefetch support (default: disabled)])], + [],[enable_link_prefetch=no]) +AC_MSG_RESULT([$enable_link_prefetch]) + +if test "$enable_link_prefetch" = "yes"; then + AC_DEFINE([ENABLE_LINK_PREFETCH], [1], [Define to enable link prefetch support]) +fi + # GObject Introspection AC_MSG_CHECKING([whether to enable GObject introspection support]) AC_ARG_ENABLE([introspection], @@ -705,7 +752,7 @@ GIRDIR= GIRTYPELIBDIR= if test "$enable_introspection" = "yes"; then - GOBJECT_INTROSPECTION_REQUIRED=0.6.15 + GOBJECT_INTROSPECTION_REQUIRED=0.9.5 PKG_CHECK_MODULES([INTROSPECTION],[gobject-introspection-1.0 >= $GOBJECT_INTROSPECTION_REQUIRED]) G_IR_SCANNER="$($PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0)" @@ -816,9 +863,13 @@ if test "$enable_video" = "yes"; then [gstreamer-0.10 >= $GSTREAMER_REQUIRED_VERSION gstreamer-app-0.10 gstreamer-base-0.10 + gstreamer-interfaces-0.10 gstreamer-pbutils-0.10 gstreamer-plugins-base-0.10 >= $GSTREAMER_PLUGINS_BASE_REQUIRED_VERSION - gstreamer-video-0.10]) + gstreamer-video-0.10], + [have_gstreamer=yes], + [have_gstreamer=no]) + AC_SUBST([GSTREAMER_CFLAGS]) AC_SUBST([GSTREAMER_LIBS]) fi @@ -859,18 +910,26 @@ AM_CONDITIONAL([USE_GLIB_UNICODE], [test "$with_unicode_backend" = "glib"]) AM_CONDITIONAL([USE_FREETYPE], [test "$with_font_backend" = "freetype"]) AM_CONDITIONAL([USE_PANGO], [test "$with_font_backend" = "pango"]) +# GLib/GIO feature conditionals +AM_CONDITIONAL([USE_GSETTINGS], [test "$have_gsettings" = "yes"]) + +# GStreamer feature conditional +AM_CONDITIONAL([USE_GSTREAMER], [test "$have_gstreamer" = "yes"]) + # WebKit feature conditionals AM_CONDITIONAL([ENABLE_DEBUG],[test "$enable_debug" = "yes"]) AM_CONDITIONAL([ENABLE_3D_TRANSFORMS],[test "$enable_3D_transforms" = "yes"]) -AM_CONDITIONAL([ENABLE_BLOB_SLICE],[test "$enable_blob_slice" = "yes"]) +AM_CONDITIONAL([ENABLE_BLOB],[test "$enable_blob" = "yes"]) AM_CONDITIONAL([ENABLE_CHANNEL_MESSAGING],[test "$enable_channel_messaging" = "yes"]) AM_CONDITIONAL([ENABLE_JAVASCRIPT_DEBUGGER],[test "$enable_javascript_debugger" = "yes"]) AM_CONDITIONAL([ENABLE_OFFLINE_WEB_APPLICATIONS],[test "$enable_offline_web_applications" = "yes"]) +AM_CONDITIONAL([ENABLE_DIRECTORY_UPLOAD],[test "$enable_directory_upload" = "yes"]) AM_CONDITIONAL([ENABLE_DOM_STORAGE],[test "$enable_dom_storage" = "yes"]) AM_CONDITIONAL([ENABLE_DATABASE],[test "$enable_database" = "yes"]) AM_CONDITIONAL([ENABLE_DATALIST],[test "$enable_datalist" = "yes"]) AM_CONDITIONAL([ENABLE_EVENTSOURCE],[test "$enable_eventsource" = "yes"]) AM_CONDITIONAL([ENABLE_FAST_MOBILE_SCROLLING],[test "$enable_fast_mobile_scrolling" = "yes"]) +AM_CONDITIONAL([ENABLE_FILE_SYSTEM],[test "$enable_file_system" = "yes"]) AM_CONDITIONAL([ENABLE_ICONDATABASE],[test "$enable_icon_database" = "yes"]) AM_CONDITIONAL([ENABLE_IMAGE_RESIZER],[test "$enable_image_resizer" = "yes"]) AM_CONDITIONAL([ENABLE_INDEXED_DATABASE],[test "$enable_indexed_database" = "yes"]) @@ -879,12 +938,8 @@ AM_CONDITIONAL([ENABLE_XHTMLMP],[test "$enable_xhtmlmp" = "yes"]) AM_CONDITIONAL([ENABLE_XPATH],[test "$enable_xpath" = "yes"]) AM_CONDITIONAL([ENABLE_XSLT],[test "$enable_xslt" = "yes"]) AM_CONDITIONAL([ENABLE_FILTERS],[test "$enable_filters" = "yes"]) -AM_CONDITIONAL([ENABLE_FILE_READER],[test "$enable_file_reader" = "yes"]) -AM_CONDITIONAL([ENABLE_FILE_WRITER],[test "$enable_file_writer" = "yes"]) AM_CONDITIONAL([ENABLE_GEOLOCATION], [test "$enable_geolocation" = "yes"]) AM_CONDITIONAL([ENABLE_MATHML], [test "$enable_mathml" = "yes"]) -AM_CONDITIONAL([ENABLE_RUBY],[test "$enable_ruby" = "yes"]) -AM_CONDITIONAL([ENABLE_SANDBOX],[test "$enable_sandbox" = "yes"]) AM_CONDITIONAL([ENABLE_VIDEO],[test "$enable_video" = "yes"]) AM_CONDITIONAL([ENABLE_NOTIFICATIONS],[test "$enable_notifications" = "yes"]) AM_CONDITIONAL([ENABLE_ORIENTATION_EVENTS],[test "$enable_orientation_events" = "yes"]) @@ -903,6 +958,7 @@ AM_CONDITIONAL([SVG_FLAGS],[test "$svg_flags" = "yes"]) AM_CONDITIONAL([HTML_FLAGS],[test "$html_flags" = "yes"]) AM_CONDITIONAL([ENABLE_WEB_SOCKETS],[test "$enable_web_sockets" = "yes"]) AM_CONDITIONAL([ENABLE_WEB_TIMING],[test "$enable_web_timing" = "yes"]) +AM_CONDITIONAL([ENABLE_OPCODE_STATS],[test "$enable_opcode_stats" = "yes"]) # Gtk conditionals AM_CONDITIONAL([ENABLE_INTROSPECTION],[test "$enable_introspection" = "yes"]) @@ -918,7 +974,9 @@ WebKit/gtk/docs/version.xml AC_CONFIG_FILES([ WebKit/gtk/${WEBKITGTK_PC_NAME}-${WEBKITGTK_API_VERSION}.pc:WebKit/gtk/webkit.pc.in -WebKit/gtk/JSCore-${WEBKITGTK_API_VERSION}.gir:WebKit/gtk/JSCore.gir.in] +WebKit/gtk/JSCore-${WEBKITGTK_API_VERSION}.gir:WebKit/gtk/JSCore.gir.in +WebKit/gtk/org.webkitgtk-${WEBKITGTK_API_VERSION}.gschema.xml:WebKit/gtk/org.webkitgtk.gschema.xml.in +] ,[WEBKITGTK_API_VERSION=$WEBKITGTK_API_VERSION,WEBKITGTK_PC_NAME=$WEBKITGTK_PC_NAME] ) @@ -936,12 +994,11 @@ Build configuration: Optimized memory allocator : $enable_fast_malloc Features: 3D Transforms : $enable_3D_transforms - Blob.slice support : $enable_blob_slice + Blob support : $enable_blob + Directory upload : $enable_directory_upload Fast Mobile Scrolling : $enable_fast_mobile_scrolling JIT compilation : $enable_jit Filters support : $enable_filters - FileReader support : $enable_file_reader - FileWriter support : $enable_file_writer Geolocation support : $enable_geolocation JavaScript debugger/profiler support : $enable_javascript_debugger MathML support : $enable_mathml @@ -949,12 +1006,14 @@ Features: HTML5 channel messaging support : $enable_channel_messaging HTML5 client-side session and persistent storage support : $enable_dom_storage HTML5 client-side database storage support : $enable_database - HTML5 ruby support : $enable_ruby + HTML5 FileSystem API support : $enable_file_system HTML5 sandboxed iframe support : $enable_sandbox HTML5 server-sent events support : $enable_eventsource HTML5 video element support : $enable_video Icon database support : $enable_icon_database Image resizer support : $enable_image_resizer + Link prefetch support : $enable_link_prefetch + Opcode stats : $enable_opcode_stats SharedWorkers support : $enable_shared_workers Speech input support : $enable_input_speech SVG support : $enable_svg @@ -970,6 +1029,7 @@ Features: XHTML-MP support : $enable_xhtmlmp XPATH support : $enable_xpath XSLT support : $enable_xslt + GTK+ configuration: GTK+ version : $with_gtk GDK target : $with_target diff --git a/meta/recipes-sato/webkit/files/nodolt.patch b/meta/recipes-sato/webkit/files/nodolt.patch new file mode 100644 index 000000000..53313671f --- /dev/null +++ b/meta/recipes-sato/webkit/files/nodolt.patch @@ -0,0 +1,16 @@ +Dolt cause build error on some platform, so disable it. + +Signed-off-by: Zhai Edwin <edwin.zhai@intel.com> +Index: webkit-gtk-1.3.7+svnr72836-r72836-r0/configure.ac +=================================================================== +--- webkit-gtk-1.3.7+svnr72836-r72836-r0.orig/configure.ac 2011-01-21 11:11:07.000000000 +0800 ++++ webkit-gtk-1.3.7+svnr72836-r72836-r0/configure.ac 2011-01-21 11:11:15.000000000 +0800 +@@ -82,8 +82,6 @@ + AC_DISABLE_STATIC + AC_LIBTOOL_WIN32_DLL + AC_PROG_LIBTOOL +-# use dolt to speedup the build +-DOLT + + AC_PATH_PROG(FLEX, flex) + if test -z "$FLEX"; then diff --git a/meta/recipes-sato/webkit/webkit-gtk_svn.bb b/meta/recipes-sato/webkit/webkit-gtk_svn.bb index fe31b9c24..1b5e27673 100644 --- a/meta/recipes-sato/webkit/webkit-gtk_svn.bb +++ b/meta/recipes-sato/webkit/webkit-gtk_svn.bb @@ -12,7 +12,7 @@ DEPENDS_darwin8 = "curl icu libxml2 cairo libxslt libidn gnutls gtk+ gstreamer f SRCREV_FORMAT = "webcore-rwebkit" -PV = "1.3.2+svnr${SRCREV}" +PV = "1.3.7+svnr${SRCPV}" PR = "r0" SRC_URI = "\ @@ -29,6 +29,7 @@ SRC_URI = "\ file://configure.ac \ file://GNUmakefile.am \ file://gtk-doc.make \ + file://nodolt.patch \ " S = "${WORKDIR}/" @@ -60,6 +61,11 @@ do_compile_prepend() { cd ${S} } +do_install_prepend() { + cp ${S}/Programs/.libs/jsc ${S}/Programs/jsc-1 || true +} + + PACKAGES =+ "${PN}-webinspector ${PN}launcher-dbg ${PN}launcher libjavascriptcore" FILES_${PN}launcher = "${bindir}/GtkLauncher" FILES_${PN}launcher-dbg = "${bindir}/.debug/GtkLauncher" |