fixes for gcc, glib-2.0 upgrade
cover fixes for gcc, glib-2.0 upgrade
Tested only with this patchset applied:
http://lists.linuxtogo.org/pipermail/openembedded-core/2012-April/021626.html
so it would be nice to apply it after that.
Thanks
The following changes since commit 8f9b2e3a102e66426ce5b269a6827fc6a3218bef:
kernel bbclass: recreate uImage unless KEEPUIMAGE is set (2012-04-27 21:57:32 +0200)
are available in the git repository at:
git://git.openembedded.org/meta-openembedded-contrib jansa/pull2
http://cgit.openembedded.org/cgit.cgi/meta-openembedded-contrib/log/?h=jansa/pull2
Martin Jansa (6):
libsoup-2.4, gobject-introspection: upgraded in oe-core
midori: upgrade to 0.4.5
libgpewidget: fix build with glib-2.32
epdfview: fix build with glib-2.32
tangogps: fix build with glib-2.32
webkit-efl: fix build with gcc-4.7
meta-efl/recipes-efl/efl/epdfview/glib-2.32.patch | 12 +++
meta-efl/recipes-efl/efl/epdfview_0.1.8.bb | 6 +-
...t-pass-P-to-the-preprocessor-when-running.patch | 76 ++++++++++++++++++++
meta-efl/recipes-efl/webkit/webkit-efl_svn.bb | 3 +-
.../recipes-support/libsoup/libsoup-2.4_2.37.2.bb | 25 -------
.../use-usr-bin-env-for-python.patch | 20 -----
.../gobject-introspection_0.9.10.bb | 32 --------
.../gobject-introspection_git.bb | 34 ---------
.../libgpewidget/libgpewidget/glib-2.32.patch | 11 +++
.../libgpewidget/libgpewidget_0.117.bb | 10 ++-
.../midori/{midori_0.4.4.bb => midori_0.4.5.bb} | 6 +-
.../tangogps/tangogps-0.99.4/glib-2.32.patch | 11 +++
.../recipes-navigation/tangogps/tangogps_0.99.4.bb | 6 +-
13 files changed, 128 insertions(+), 124 deletions(-)
create mode 100644 meta-efl/recipes-efl/efl/epdfview/glib-2.32.patch
create mode 100644 meta-efl/recipes-efl/webkit/webkit-efl/0001-CMake-Do-not-pass-P-to-the-preprocessor-when-running.patch
delete mode 100644 meta-efl/recipes-support/libsoup/libsoup-2.4_2.37.2.bb
delete mode 100644 meta-gnome/recipes-gnome/gobject-introspection/gobject-introspection/use-usr-bin-env-for-python.patch
delete mode 100644 meta-gnome/recipes-gnome/gobject-introspection/gobject-introspection_0.9.10.bb
delete mode 100644 meta-gnome/recipes-gnome/gobject-introspection/gobject-introspection_git.bb
create mode 100644 meta-gpe/recipes-graphics/libgpewidget/libgpewidget/glib-2.32.patch
rename meta-oe/recipes-connectivity/midori/{midori_0.4.4.bb => midori_0.4.5.bb} (89%)
create mode 100644 meta-oe/recipes-navigation/tangogps/tangogps-0.99.4/glib-2.32.patchSignature · 1 line
1.7.8.6
PATCH 1/6 libsoup-2.4, gobject-introspection: upgraded in oe-core
--- .../recipes-support/libsoup/libsoup-2.4_2.37.2.bb | 25 -------------- .../use-usr-bin-env-for-python.patch | 20 ----------- .../gobject-introspection_0.9.10.bb | 32 ------------------ .../gobject-introspection_git.bb | 34 -------------------- 4 files changed, 0 insertions(+), 111 deletions(-) delete mode 100644 meta-efl/recipes-support/libsoup/libsoup-2.4_2.37.2.bb delete mode 100644 meta-gnome/recipes-gnome/gobject-introspection/gobject-introspection/use-usr-bin-env-for-python.patch delete mode 100644 meta-gnome/recipes-gnome/gobject-introspection/gobject-introspection_0.9.10.bb delete mode 100644 meta-gnome/recipes-gnome/gobject-introspection/gobject-introspection_git.bb
meta-efl/recipes-support/libsoup/libsoup-2.4_2.37.2.bb deleted +0 -25
@@ -1,25 +0,0 @@ -DESCRIPTION = "An HTTP library implementation in C" -HOMEPAGE = "http://www.gnome.org/" -BUGTRACKER = "https://bugzilla.gnome.org/" - -LICENSE = "LGPLv2" -LIC_FILES_CHKSUM = "file://COPYING;md5=5f30f0716dfdd0d91eb439ebec522ec2" - -PR = "r1" - -# unstable version -DEFAULT_PREFERENCE = "-1" - -SECTION = "x11/gnome/libs" - -DEPENDS = "glib-2.0 gnutls libxml2 libproxy sqlite3 libgnome-keyring" - -SRC_URI = "${GNOME_MIRROR}/libsoup/2.37/libsoup-${PV}.tar.xz" - -SRC_URI[md5sum] = "7737dd5238efd593452ba3c365e63e8c" -SRC_URI[sha256sum] = "df82c51b67f67c3128979d1f3bf20a8ceeea369b6e43aceb16d576d8fc4e8423" - -S = "${WORKDIR}/libsoup-${PV}" - -inherit autotools pkgconfig -
meta-gnome/recipes-gnome/gobject-introspection/gobject-introspection/use-usr-bin-env-for-python.patch deleted +0 -20
@@ -1,20 +0,0 @@ -Index: gobject-introspection-0.9.10/tools/g-ir-annotation-tool.in -=================================================================== ---- gobject-introspection-0.9.10.orig/tools/g-ir-annotation-tool.in -+++ gobject-introspection-0.9.10/tools/g-ir-annotation-tool.in -@@ -1,4 +1,4 @@ --#!@PYTHON@ -+#!/usr/bin/env python - # -*- Mode: Python -*- - # GObject-Introspection - a framework for introspecting GObject libraries - # Copyright (C) 2008 Johan Dahlin -Index: gobject-introspection-0.9.10/tools/g-ir-scanner.in -=================================================================== ---- gobject-introspection-0.9.10.orig/tools/g-ir-scanner.in -+++ gobject-introspection-0.9.10/tools/g-ir-scanner.in -@@ -1,4 +1,4 @@ --#!@PYTHON@ -+#!/usr/bin/env python - # -*- Mode: Python -*- - # GObject-Introspection - a framework for introspecting GObject libraries - # Copyright (C) 2008 Johan Dahlin
meta-gnome/recipes-gnome/gobject-introspection/gobject-introspection_0.9.10.bb deleted +0 -32
@@ -1,32 +0,0 @@ -# NOTE: WIP! This recipe does not cross-compile atm., only -native -SECTION = "libs" -DEPENDS = "glib-2.0 libffi bison-native" -BBCLASSEXTEND = "native" -PR = "r1" - -LICENSE = "GPLv2+ & LGPLv2+" -LIC_FILES_CHKSUM = "file://COPYING;md5=90d577535a3898e1ae5dbf0ae3509a8c \ - file://COPYING.GPL;md5=94d55d512a9ba36caa9b7df079bae19f \ - file://COPYING.LGPL;md5=3bf50002aefd002f49e7bb854063f7e7" - -SRC_URI[md5sum] = "e5cd63d6bcc5c105e898e7c33cf42175" -SRC_URI[sha256sum] = "4bf244db75df04499dea704e7734376c0fc5a3a17fb59be2123c8d76111e6fb8" - -SRC_URI = "\ - ${GNOME_MIRROR}/gobject-introspection/0.9/${BPN}-${PV}.tar.bz2 \ - file://use-usr-bin-env-for-python.patch \ -" -S = "${WORKDIR}/${BPN}-${PV}" - -inherit autotools - -do_configure_prepend() { - touch -f gtk-doc.make -} - -EXTRA_OECONF = "\ - --disable-gtk-doc \ - --disable-gtk-doc-html \ - --disable-gtk-doc-pdf \ - --disable-tests \ -"
meta-gnome/recipes-gnome/gobject-introspection/gobject-introspection_git.bb deleted +0 -34
@@ -1,34 +0,0 @@ -# NOTE: WIP! This recipe does not cross-compile atm., only -native -DEPENDS = "glib-2.0 libffi python-native gobject-introspection-native" -DEPENDS_virtclass-native = "glib-2.0-native libffi-native python-native bison-native flex-native" -BBCLASSEXTEND = "native" - -SRC_URI = "git://git.gnome.org/gobject-introspection;protocol=git \ - file://use-usr-bin-env-for-python.patch \ -" - -LICENSE = "GPLv2+ & LGPLv2+" -LIC_FILES_CHKSUM = "file://COPYING.tools;md5=94d55d512a9ba36caa9b7df079bae19f \ - file://COPYING.lib;md5=3bf50002aefd002f49e7bb854063f7e7" - -SRCREV = "8d64bc23d2b837421ecf9c7b0e4b8d5d95ca0d21" -PV = "1.29.0+gitr${SRCPV}" -PR = "r1" -DEFAULT_PREFERENCE = "-1" - -S = "${WORKDIR}/git" - -inherit autotools - -BBCLASSEXTEND = "native" - -do_configure_prepend () { - echo "EXTRA_DIST = " > ${S}/gtk-doc.make -} - -EXTRA_OECONF = "\ - --disable-gtk-doc \ - --disable-gtk-doc-html \ - --disable-gtk-doc-pdf \ - --disable-tests \ -"
Signature · 1 line
1.7.8.6
Re: [meta-oe][meta-efl][PATCH 1/6] libsoup-2.4, gobject-introspection: upgraded in oe-core
Quoted 11 lines · Martin Jansa
Signed-off-by Martin Jansa <[email protected]>---
.../recipes-support/libsoup/libsoup-2.4_2.37.2.bb | 25 --------------.../use-usr-bin-env-for-python.patch| 20 ----------- .../gobject-introspection_0.9.10.bb | 32 ------------------ .../gobject-introspection_git.bb | 34 --------------------4 files changed, 0 insertions(+), 111 deletions(-)delete mode 100644 meta-efl/recipes-support/libsoup/libsoup-2.4_2.37.2.bb
delete mode 100644meta-gnome/recipes-gnome/gobject-introspection/gobject-introspection/use-usr-bin-env-for-python.patchdelete mode 100644 meta-gnome/recipes-gnome/gobject-introspection/gobject-introspection_0.9.10.bb delete mode 100644 meta-gnome/recipes-gnome/gobject-introspection/gobject-introspection_git.bb
Now it's applied in oe-core, I'll send updated pull request from jansa/pull2 with 4 more patches tonight..
Cheers,
PATCH 2/6 midori: upgrade to 0.4.5
In reply to Martin Jansa---
.../midori/{midori_0.4.4.bb => midori_0.4.5.bb} | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
rename meta-oe/recipes-connectivity/midori/{midori_0.4.4.bb => midori_0.4.5.bb} (89%)meta-oe/recipes-connectivity/midori/midori_0.4.5.bb renamed from meta-oe/recipes-connectivity/midori/midori_0.4.4.bb +2 -4
@@ -4,12 +4,10 @@ LICENSE = "LGPLv2.1" LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24" DEPENDS = "webkit-gtk libsoup-2.4 libsexy openssl vala-native python-native python-docutils-native librsvg-native" -PR = "r1" - SRC_URI = "http://archive.xfce.org/src/apps/midori/0.4/midori-${PV}.tar.bz2;name=midori \ " -SRC_URI[midori.md5sum] = "a6578ebfd237c0f22cce49113b95f70c" -SRC_URI[midori.sha256sum] = "fadd43f76c1c9f6a16483e60a804e58fb6817c6a595b1acdd59bcbdd7b35bca2" +SRC_URI[midori.md5sum] = "14288197a1e2251b7c0803e1448daa0e" +SRC_URI[midori.sha256sum] = "7b57cf3ebb56eef586351f2ae9f71ec9683aedff0b79a071b70b811d9876ff84" inherit gtk-icon-cache pkgconfig
Signature · 1 line
1.7.8.6
PATCH 3/6 libgpewidget: fix build with glib-2.32
In reply to Martin Jansa* SRC_URI needs to be after inherit gpe
and pkgconfig.patch wasn't ever used
--- .../libgpewidget/libgpewidget/glib-2.32.patch | 11 +++++++++++ .../libgpewidget/libgpewidget_0.117.bb | 10 ++++++---- 2 files changed, 17 insertions(+), 4 deletions(-) create mode 100644 meta-gpe/recipes-graphics/libgpewidget/libgpewidget/glib-2.32.patch
meta-gpe/recipes-graphics/libgpewidget/libgpewidget/glib-2.32.patch new file +11 -0
@@ -0,0 +1,11 @@ +diff -uNr libgpewidget-0.117.orig/gpehelp.c libgpewidget-0.117/gpehelp.c +--- libgpewidget-0.117.orig/gpehelp.c 2006-10-12 12:20:33.000000000 +0200 ++++ libgpewidget-0.117/gpehelp.c 2012-04-30 07:45:57.813293792 +0200 +@@ -33,7 +33,6 @@ + #include <gdk-pixbuf/gdk-pixbuf.h> + #include <gdk/gdk.h> + #include <glib.h> +-#include <glib/gkeyfile.h> + + + /* helper function definitions*/
meta-gpe/recipes-graphics/libgpewidget/libgpewidget_0.117.bb +6 -4
@@ -5,16 +5,18 @@ LICENSE = "LGPLv2.1" LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=d8045f3b8f929c1cb29a1e3fd737b499" DEPENDS = "gtk+ cairo libxinerama libxcomposite libxrender gtk-doc" -PR = "r1" +PR = "r2" -SRC_URI += "file://pkgconfig.patch;striplevel=0" +inherit gpe pkgconfig autotools + +SRC_URI += "file://pkgconfig.patch;striplevel=0 \ + file://glib-2.32.patch \ +" SRC_URI[md5sum] = "b85a839264a35d0faf9a1a38c486e189" SRC_URI[sha256sum] = "f96d30c09b0395ea4e146730fd52d9ea303b619bb139051d9f12d3f868a9e18c" GPE_TARBALL_SUFFIX = "bz2" -inherit gpe pkgconfig autotools - EXTRA_OECONF = "--enable-cairo" LDFLAGS += " -L${STAGING_LIBDIR}"
Signature · 1 line
1.7.8.6
PATCH 4/6 epdfview: fix build with glib-2.32
In reply to Martin Jansa--- meta-efl/recipes-efl/efl/epdfview/glib-2.32.patch | 12 ++++++++++++ meta-efl/recipes-efl/efl/epdfview_0.1.8.bb | 6 ++++-- 2 files changed, 16 insertions(+), 2 deletions(-) create mode 100644 meta-efl/recipes-efl/efl/epdfview/glib-2.32.patch
meta-efl/recipes-efl/efl/epdfview/glib-2.32.patch new file +12 -0
@@ -0,0 +1,12 @@ +diff -uNr epdfview-0.1.8.orig/src/gtk/StockIcons.h epdfview-0.1.8/src/gtk/StockIcons.h +--- epdfview-0.1.8.orig/src/gtk/StockIcons.h 2011-05-28 12:24:57.000000000 +0200 ++++ epdfview-0.1.8/src/gtk/StockIcons.h 2012-04-30 07:48:08.528285594 +0200 +@@ -18,8 +18,6 @@ + #if !defined (__STOCK_ICONS_H__) + #define __STOCK_ICONS_H__ + +-#include <glib/gmacros.h> +- + G_BEGIN_DECLS + + // ePDFView stock icons.
meta-efl/recipes-efl/efl/epdfview_0.1.8.bb +4 -2
@@ -5,12 +5,14 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552" SECTION = "x11/applications" DEPENDS = "gtk+ poppler" -PR = "r1" +PR = "r2" EXTRA_OECONF += "--without-cups" inherit autotools gettext -SRC_URI = "http://www.emma-soft.com/projects/epdfview/chrome/site/releases/epdfview-${PV}.tar.bz2" +SRC_URI = "http://www.emma-soft.com/projects/${BPN}/chrome/site/releases/${BP}.tar.bz2 \ + file://glib-2.32.patch \ +" SRC_URI[md5sum] = "e50285b01612169b2594fea375f53ae4" SRC_URI[sha256sum] = "948648ae7c9d7b3b408d738bd4f48d87375b1196cae1129d6b846a8de0f2f8f0"
Signature · 1 line
1.7.8.6
PATCH 5/6 tangogps: fix build with glib-2.32
In reply to Martin Jansa--- .../tangogps/tangogps-0.99.4/glib-2.32.patch | 11 +++++++++++ .../recipes-navigation/tangogps/tangogps_0.99.4.bb | 6 ++++-- 2 files changed, 15 insertions(+), 2 deletions(-) create mode 100644 meta-oe/recipes-navigation/tangogps/tangogps-0.99.4/glib-2.32.patch
meta-oe/recipes-navigation/tangogps/tangogps-0.99.4/glib-2.32.patch new file +11 -0
@@ -0,0 +1,11 @@ +diff -uNr tangogps-0.99.4.orig/src/map_management.c tangogps-0.99.4/src/map_management.c +--- tangogps-0.99.4.orig/src/map_management.c 2010-06-25 11:40:05.000000000 +0200 ++++ tangogps-0.99.4/src/map_management.c 2012-04-30 07:43:58.551301271 +0200 +@@ -2,7 +2,6 @@ + + #include <glib.h> + #include <gtk/gtk.h> +-#include <glib/gstring.h> + #include <glib/gprintf.h> + #include <gconf/gconf.h> + #include <math.h>
meta-oe/recipes-navigation/tangogps/tangogps_0.99.4.bb +4 -2
@@ -5,10 +5,12 @@ SECTION = "x11/applications" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552" DEPENDS = "curl gtk+ gconf sqlite3 libexif libsoup-2.4 bluez4" -PR = "r1" +PR = "r2" SRC_URI = "http://www.tangogps.org/downloads/${P}.tar.gz \ - file://remove.unused.header.patch" + file://remove.unused.header.patch \ + file://glib-2.32.patch \ +" SRC_URI[md5sum] = "0f07ede94a21eb84f5e017fa88a1fc3d" SRC_URI[sha256sum] = "660fdf89ef3c379f2fc0c2a9d0c9d3bfa5345835786b72bf9f513ba9ec2c812a"
Signature · 1 line
1.7.8.6
PATCH 6/6 webkit-efl: fix build with gcc-4.7
In reply to Martin Jansa* that patch is backport of
http://trac.webkit.org/changeset/113786/trunk/
to our SRCREV
--- ...t-pass-P-to-the-preprocessor-when-running.patch | 76 ++++++++++++++++++++ meta-efl/recipes-efl/webkit/webkit-efl_svn.bb | 3 +- 2 files changed, 78 insertions(+), 1 deletions(-) create mode 100644 meta-efl/recipes-efl/webkit/webkit-efl/0001-CMake-Do-not-pass-P-to-the-preprocessor-when-running.patch
meta-efl/recipes-efl/webkit/webkit-efl/0001-CMake-Do-not-pass-P-to-the-preprocessor-when-running.patch new file +76 -0
@@ -0,0 +1,76 @@ +From 3dfc99730b99472d642f19b825fb9794e32a05c4 Mon Sep 17 00:00:00 2001 +From: "[email protected]" + <[email protected]@268f45cc-cd09-0410-ab3c-d52691b4dbfc> +Date: Tue, 10 Apr 2012 22:59:04 +0000 +Subject: [PATCH] [CMake] Do not pass -P to the preprocessor when running + make_names.pl. + https://bugs.webkit.org/show_bug.cgi?id=83225 + +Reviewed by Rob Buis. + +This is necessary to make CMake-based ports build with the +recently-released GCC 4.7.0, whose preprocessor seems to ignore +empty lines when -P is passed to it. Such behavior breaks +make_names.pl (in fact, InFilesParser.pm), which expects an empty +line to separate common and specific sections in .in files. + +A fix for this same problem has been supposedly done in r84123, +but as the CMake-based ports always pass --preprocessor to the +Perl tools the fix never reached us. + +The idea is to define CODE_GENERATOR_PREPROCESSOR_WITH_LINEMARKERS +for (!MSVC && !QNX) and use it in the macros which call +make_names.pl. + +* Source/cmake/OptionsCommon.cmake: +* Source/cmake/WebKitMacros.cmake: + +git-svn-id: http://svn.webkit.org/repository/webkit/trunk@113786 268f45cc-cd09-0410-ab3c-d52691b4dbfc +--- + ChangeLog | 24 ++++++++++++++++++++++++ + Source/cmake/OptionsCommon.cmake | 7 +++++++ + Source/cmake/WebKitMacros.cmake | 2 +- + 3 files changed, 32 insertions(+), 1 deletions(-) + +diff --git a/Source/cmake/OptionsCommon.cmake b/Source/cmake/OptionsCommon.cmake +index 11581e6..37cb4a8 100644 +--- a/Source/cmake/OptionsCommon.cmake ++++ b/Source/cmake/OptionsCommon.cmake +@@ -5,14 +5,21 @@ IF (WTF_OS_UNIX) + ADD_DEFINITIONS(-DXP_UNIX) + ENDIF (WTF_OS_UNIX) + ++# CODE_GENERATOR_PREPROCESSOR_WITH_LINEMARKERS only matters with GCC >= 4.7.0. Since this ++# version, -P does not output empty lines, which currently breaks make_names.pl in ++# WebCore. Investigating whether make_names.pl should be changed instead is left as an exercise to ++# the reader. + IF (MSVC) + # FIXME: Some codegenerators don't support paths with spaces. So use the executable name only. + GET_FILENAME_COMPONENT(CODE_GENERATOR_PREPROCESSOR_EXECUTABLE ${CMAKE_CXX_COMPILER} NAME) + SET(CODE_GENERATOR_PREPROCESSOR "${CODE_GENERATOR_PREPROCESSOR_EXECUTABLE} /nologo /EP") ++ SET(CODE_GENERATOR_PREPROCESSOR_WITH_LINEMARKERS "${CODE_GENERATOR_PREPROCESSOR}") + ELSEIF (CMAKE_SYSTEM_NAME MATCHES QNX) + SET(CODE_GENERATOR_PREPROCESSOR "${CMAKE_CXX_COMPILER} -E -Wp,-P -x c++") ++ SET(CODE_GENERATOR_PREPROCESSOR_WITH_LINEMARKERS "${CODE_GENERATOR_PREPROCESSOR}") + ELSE () + SET(CODE_GENERATOR_PREPROCESSOR "${CMAKE_CXX_COMPILER} -E -P -x c++") ++ SET(CODE_GENERATOR_PREPROCESSOR_WITH_LINEMARKERS "${CMAKE_CXX_COMPILER} -E -x c++") + ENDIF () + + SET_PROPERTY(GLOBAL PROPERTY USE_FOLDERS ON) +diff --git a/Source/cmake/WebKitMacros.cmake b/Source/cmake/WebKitMacros.cmake +index 3abe342..4e7ca9f 100644 +--- a/Source/cmake/WebKitMacros.cmake ++++ b/Source/cmake/WebKitMacros.cmake +@@ -89,7 +89,7 @@ MACRO (GENERATE_DOM_NAMES _namespace _attrs) + ADD_CUSTOM_COMMAND( + OUTPUT ${_outputfiles} + DEPENDS ${NAMES_GENERATOR} ${SCRIPTS_BINDINGS} ${_attrs} ${_tags} +- COMMAND ${PERL_EXECUTABLE} -I${WEBCORE_DIR}/bindings/scripts ${NAMES_GENERATOR} --preprocessor "${CODE_GENERATOR_PREPROCESSOR}" --outputDir ${DERIVED_SOURCES_WEBCORE_DIR} ${_arguments} ${_additionArguments} ++ COMMAND ${PERL_EXECUTABLE} -I${WEBCORE_DIR}/bindings/scripts ${NAMES_GENERATOR} --preprocessor "${CODE_GENERATOR_PREPROCESSOR_WITH_LINEMARKERS}" --outputDir ${DERIVED_SOURCES_WEBCORE_DIR} ${_arguments} ${_additionArguments} + VERBATIM) + ENDMACRO () + +-- +1.7.7 +
meta-efl/recipes-efl/webkit/webkit-efl_svn.bb +2 -1
@@ -11,7 +11,7 @@ DEPENDS = "icu libxslt sqlite3 gperf-native bison-native flex-native jpeg \ SRCREV = "105069" PV = "1.7.3+svnr${SRCPV}" -PR = "r1" +PR = "r2" SRCREV_FORMAT = "source"
@@ -20,6 +20,7 @@ SRC_URI = "\ svn://svn.webkit.org/repository/webkit/trunk/;module=WebKitLibraries;proto=http;subdir=src \ svn://svn.webkit.org/repository/webkit/trunk/;module=Tools;proto=http;subdir=src \ file://0001-JavaScriptCore-add-EINA_LIBRARIES-to-shell-build-for.patch \ + file://0001-CMake-Do-not-pass-P-to-the-preprocessor-when-running.patch \ file://CMakeLists.txt \ "
Signature · 1 line
1.7.8.6
PATCH 7/7 gtkmathview: fix build with gcc-4.7
In reply to Martin Jansa--- .../mml-widget/gtkmathview/mathview-gcc47x.diff | 48 ++++++++++++++++++++ .../mml-widget/gtkmathview_0.8.0.bb | 3 +- 2 files changed, 50 insertions(+), 1 deletions(-) create mode 100644 meta-oe/recipes-extended/mml-widget/gtkmathview/mathview-gcc47x.diff
meta-oe/recipes-extended/mml-widget/gtkmathview/mathview-gcc47x.diff new file +48 -0
@@ -0,0 +1,48 @@ +../../../src/frontend/common/TemplateBuilder.hh:50:113: warning: 'linkerAssoc' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive] +../../../src/frontend/common/TemplateBuilder.hh:50:113: note: declarations in dependent base 'custom_reader_Builder' are not found by unqualified lookup +../../../src/frontend/common/TemplateBuilder.hh:50:113: note: use 'this->linkerAssoc' instead +../../../src/frontend/common/TemplateBuilder.hh:54:111: error: redeclaration of 'SmartPtr<BoxMLDecorElement> elem' +../../../src/frontend/common/TemplateBuilder.hh:50:49: error: 'SmartPtr<BoxMLDecorElement> elem' previously declared here +../../../src/frontend/common/TemplateBuilder.hh:55:2: warning: 'linkerAdd' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive] +../../../src/frontend/common/TemplateBuilder.hh:55:2: note: declarations in dependent base 'custom_reader_Builder' are not found by unqualified lookup +../../../src/frontend/common/TemplateBuilder.hh:55:2: note: use 'this->linkerAdd' instead + +--- gtkmathview-0.8.0.orig/src/frontend/common/TemplateBuilder.hh 2007-08-17 12:02:34.000000000 +0200 ++++ gtkmathview-0.8.0/src/frontend/common/TemplateBuilder.hh 2012-04-30 11:45:07.000000000 +0200 +@@ -47,12 +47,13 @@ + SmartPtr<typename ElementBuilder::type> + getElement(const typename Model::Element& el) const + { +- if (SmartPtr<typename ElementBuilder::type> elem = smart_cast<typename ElementBuilder::type>(linkerAssoc(el))) ++ SmartPtr<typename ElementBuilder::type> elem = NULL; ++ if (elem = smart_cast<typename ElementBuilder::type>(this->linkerAssoc(el))) + return elem; + else + { +- SmartPtr<typename ElementBuilder::type> elem = ElementBuilder::type::create(ElementBuilder::getContext(*this)); +- linkerAdd(el, elem); ++ elem = ElementBuilder::type::create(ElementBuilder::getContext(*this)); ++ this->linkerAdd(el, elem); + return elem; + } + } +--- gtkmathview-0.8.0.orig/mathmlsvg/main.cc 2012-04-30 11:35:19.000000000 +0200 ++++ gtkmathview-0.8.0/mathmlsvg/main.cc 2012-04-30 11:51:19.000000000 +0200 +@@ -20,6 +20,7 @@ + + #include <cassert> + #include <fstream> ++#include <unistd.h> + #include <string.h> + #include <popt.h> + +--- gtkmathview-0.8.0.orig/mathmlps/main.cc 2012-04-30 11:35:19.000000000 +0200 ++++ gtkmathview-0.8.0/mathmlps/main.cc 2012-04-30 11:50:57.000000000 +0200 +@@ -20,6 +20,7 @@ + + #include <cassert> + #include <fstream> ++#include <unistd.h> + #include <string.h> + #include <popt.h> +
meta-oe/recipes-extended/mml-widget/gtkmathview_0.8.0.bb +2 -1
@@ -4,10 +4,11 @@ DEPENDS = "t1lib gtk+ popt libxslt libxml2" LICENSE = "LGPLv3" LIC_FILES_CHKSUM = "file://COPYING;md5=6a6a8e020838b23406c81b19c1d46df6" -PR = "r1" +PR = "r2" SRC_URI = "http://helm.cs.unibo.it/mml-widget/sources/${P}.tar.gz \ file://mathview-gcc43x.diff \ + file://mathview-gcc47x.diff \ " SRC_URI[md5sum] = "b53564e553728d4b69f7d366dfeb5299" SRC_URI[sha256sum] = "1dc30175da6a3c560a7d62d1abe1c2f9829d988e6f1a7c5e766544575c558c43"
Signature · 1 line
1.7.8.6
PATCH 8/8 abiword: fix build with glib-2.32
In reply to Martin Jansa--- .../abiword/abiword/abiword.fix.glib-2.32.patch | 21 ++++++++++++++++++++ meta-gnome/recipes-gnome/abiword/abiword_2.8.6.bb | 5 ++- 2 files changed, 24 insertions(+), 2 deletions(-) create mode 100644 meta-gnome/recipes-gnome/abiword/abiword/abiword.fix.glib-2.32.patch
meta-gnome/recipes-gnome/abiword/abiword/abiword.fix.glib-2.32.patch new file +21 -0
@@ -0,0 +1,21 @@ +--- abiword-2.8.6/goffice-bits/goffice/app/goffice-app.h 2012-04-30 15:06:28.000000000 +0200 ++++ abiword-2.8.6.orig/goffice-bits/goffice/app/goffice-app.h 2007-01-17 00:17:27.000000000 +0100 +@@ -22,7 +22,7 @@ + #ifndef GOFFICE_APP_H + #define GOFFICE_APP_H + +-#include <glib/gmacros.h> ++#include <glib.h> + + G_BEGIN_DECLS + +--- abiword-2.8.6/src/af/util/xp/ut_go_file.h 2012-04-30 15:08:43.000000000 +0200 ++++ abiword-2.8.6.orig/src/af/util/xp/ut_go_file.h 2009-08-27 15:27:10.000000000 +0200 +@@ -31,7 +31,6 @@ + + #include <glib.h> + #include <gsf/gsf.h> +-#include <glib/gerror.h> + #include <time.h> + + G_BEGIN_DECLS
meta-gnome/recipes-gnome/abiword/abiword_2.8.6.bb +3 -2
@@ -2,12 +2,13 @@ require abiword-2.5.inc DEPENDS += " librsvg loudmouth libwmf-native gtkmathview asio" RCONFLICTS_${PN} = "abiword-embedded" -PR = "r2" +PR = "r3" SRC_URI = "http://www.abisource.com/downloads/abiword/${PV}/source/abiword-${PV}.tar.gz;name=abiword \ file://autogen-common.sh \ file://nodolt.patch \ - file://fix.no.undefined.param.patch" + file://fix.no.undefined.param.patch \ + file://abiword.fix.glib-2.32.patch" LIC_FILES_CHKSUM = "file://COPYING;md5=ecd3ac329fca77e2d0e412bec38e1c20"
Signature · 1 line
1.7.8.6
PATCH 9/9 libav-0.7.4: fix build with gcc-4.7
In reply to Martin JansaA cmp instruction with two constants is invalid, therefore 'g' constraint is not correct but must be "rm" instead.
--- .../libav/libav-0.7.4/h264_qpel_mmx.patch | 57 ++++++++++++++++++++ meta-oe/recipes-multimedia/libav/libav_0.7.4.bb | 6 ++- 2 files changed, 61 insertions(+), 2 deletions(-) create mode 100644 meta-oe/recipes-multimedia/libav/libav-0.7.4/h264_qpel_mmx.patch
meta-oe/recipes-multimedia/libav/libav-0.7.4/h264_qpel_mmx.patch new file +57 -0
@@ -0,0 +1,57 @@ +Backport http://git.videolan.org/?p=ffmpeg.git;a=commitdiff;h=5f654897e325349dacf2546674e0510bb72ecb50;hp=250cebeb3b348c3da71f9972eb500d6005dc01f1 + +Fixes these errors on x86 + +libavcodec/x86/h264_qpel_mmx.c: Assembler messages: +libavcodec/x86/h264_qpel_mmx.c:1294: Error: operand type mismatch for `cmp' +libavcodec/x86/h264_qpel_mmx.c:1294: Error: operand type mismatch for `cmp' +libavcodec/x86/h264_qpel_mmx.c:1298: Error: operand type mismatch for `cmp' +libavcodec/x86/h264_qpel_mmx.c:1298: Error: operand type mismatch for `cmp' +libavcodec/x86/h264_qpel_mmx.c:964: Error: operand type mismatch for `cmp' +libavcodec/x86/h264_qpel_mmx.c:964: Error: operand type mismatch for `cmp' +libavcodec/x86/h264_qpel_mmx.c:964: Error: operand type mismatch for `cmp' +make[5]: *** [libavcodec/x86/dsputil_mmx.o] Error 1 + + +Signed-off-by: Khem Raj <[email protected]> +Upstream-status: Backport +Index: b/libavcodec/x86/h264_qpel_mmx.c +=================================================================== +--- a/libavcodec/x86/h264_qpel_mmx.c 2012-03-30 11:39:41.324522051 -0700 ++++ b/libavcodec/x86/h264_qpel_mmx.c 2012-03-30 11:54:08.152564075 -0700 +@@ -398,7 +398,7 @@ + "2: \n\t"\ + \ + : "+a"(src), "+c"(dst)\ +- : "S"((x86_reg)srcStride), "D"((x86_reg)dstStride), "g"(h)\ ++ : "S"((x86_reg)srcStride), "D"((x86_reg)dstStride), "rm"(h)\ + : "memory"\ + );\ + src += 4-(h+5)*srcStride;\ +@@ -446,7 +446,7 @@ + QPEL_H264HV(%%mm3, %%mm4, %%mm5, %%mm0, %%mm1, %%mm2, 15*48)\ + "2: \n\t"\ + : "+a"(src)\ +- : "c"(tmp), "S"((x86_reg)srcStride), "g"(size)\ ++ : "c"(tmp), "S"((x86_reg)srcStride), "rm"(size)\ + : "memory"\ + );\ + tmp += 4;\ +@@ -823,7 +823,7 @@ + "2: \n\t"\ + \ + : "+a"(src), "+c"(dst)\ +- : "S"((x86_reg)srcStride), "D"((x86_reg)dstStride), "g"(h)\ ++ : "S"((x86_reg)srcStride), "D"((x86_reg)dstStride), "rm"(h)\ + : XMM_CLOBBERS("%xmm0", "%xmm1", "%xmm2", "%xmm3", \ + "%xmm4", "%xmm5", "%xmm6", "%xmm7",)\ + "memory"\ +@@ -878,7 +878,7 @@ + QPEL_H264HV_XMM(%%xmm3, %%xmm4, %%xmm5, %%xmm0, %%xmm1, %%xmm2, 15*48) + "2: \n\t" + : "+a"(src) +- : "c"(tmp), "S"((x86_reg)srcStride), "g"(size) ++ : "c"(tmp), "S"((x86_reg)srcStride), "rm"(size) + : XMM_CLOBBERS("%xmm0", "%xmm1", "%xmm2", "%xmm3", + "%xmm4", "%xmm5", "%xmm6", "%xmm7",) + "memory"
meta-oe/recipes-multimedia/libav/libav_0.7.4.bb +4 -2
@@ -10,9 +10,11 @@ LIC_FILES_CHKSUM = "file://COPYING.GPLv2;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ SRCREV = "d4653e882fee5a2876c3878bc23d26799e3380ad" PV = "0.7.4" -PR = "${INC_PR}.0" +PR = "${INC_PR}.1" -SRC_URI = "git://git.libav.org/libav.git;protocol=git;branch=release/0.7" +SRC_URI = "git://git.libav.org/libav.git;protocol=git;branch=release/0.7 \ + file://h264_qpel_mmx.patch \ +" S = "${WORKDIR}/git"
Signature · 1 line
1.7.8.6
PATCH 10/10 xorg: remove BBCLASSEXTENDs for gtk+-native they should be in oe-core
In reply to Martin JansaThis reverts commit 1ab99af784f5f1564f28f6afc4718d630b42a606.
--- .../xorg-lib/libxcomposite_0.4.3.bbappend | 1 - .../xorg-lib/libxcursor_1.1.13.bbappend | 1 - .../xorg-lib/libxdamage_1.1.3.bbappend | 1 - .../xorg-lib/libxfixes_5.0.bbappend | 1 - .../xorg-lib/libxrandr_1.3.2.bbappend | 1 - .../xorg-proto/compositeproto_0.4.2.bbappend | 1 - .../xorg-proto/damageproto_1.2.1.bbappend | 1 - .../xorg-proto/fixesproto_5.0.bbappend | 1 - .../xorg-proto/randrproto_1.3.2.bbappend | 1 - 9 files changed, 0 insertions(+), 9 deletions(-) delete mode 100644 meta-oe/recipes-graphics/xorg-lib/libxcomposite_0.4.3.bbappend delete mode 100644 meta-oe/recipes-graphics/xorg-lib/libxcursor_1.1.13.bbappend delete mode 100644 meta-oe/recipes-graphics/xorg-lib/libxdamage_1.1.3.bbappend delete mode 100644 meta-oe/recipes-graphics/xorg-lib/libxfixes_5.0.bbappend delete mode 100644 meta-oe/recipes-graphics/xorg-lib/libxrandr_1.3.2.bbappend delete mode 100644 meta-oe/recipes-graphics/xorg-proto/compositeproto_0.4.2.bbappend delete mode 100644 meta-oe/recipes-graphics/xorg-proto/damageproto_1.2.1.bbappend delete mode 100644 meta-oe/recipes-graphics/xorg-proto/fixesproto_5.0.bbappend delete mode 100644 meta-oe/recipes-graphics/xorg-proto/randrproto_1.3.2.bbappend
meta-oe/recipes-graphics/xorg-lib/libxcomposite_0.4.3.bbappend deleted +0 -1
@@ -1 +0,0 @@ -BBCLASSEXTEND += "native"
meta-oe/recipes-graphics/xorg-lib/libxcursor_1.1.13.bbappend deleted +0 -1
@@ -1 +0,0 @@ -BBCLASSEXTEND += "native"
meta-oe/recipes-graphics/xorg-lib/libxdamage_1.1.3.bbappend deleted +0 -1
@@ -1 +0,0 @@ -BBCLASSEXTEND += "native"
meta-oe/recipes-graphics/xorg-lib/libxfixes_5.0.bbappend deleted +0 -1
@@ -1 +0,0 @@ -BBCLASSEXTEND += "native"
meta-oe/recipes-graphics/xorg-lib/libxrandr_1.3.2.bbappend deleted +0 -1
@@ -1 +0,0 @@ -BBCLASSEXTEND += "native"
meta-oe/recipes-graphics/xorg-proto/compositeproto_0.4.2.bbappend deleted +0 -1
@@ -1 +0,0 @@ -BBCLASSEXTEND += "native"
meta-oe/recipes-graphics/xorg-proto/damageproto_1.2.1.bbappend deleted +0 -1
@@ -1 +0,0 @@ -BBCLASSEXTEND += "native"
meta-oe/recipes-graphics/xorg-proto/fixesproto_5.0.bbappend deleted +0 -1
@@ -1 +0,0 @@ -BBCLASSEXTEND += "native"
meta-oe/recipes-graphics/xorg-proto/randrproto_1.3.2.bbappend deleted +0 -1
@@ -1 +0,0 @@ -BBCLASSEXTEND += "native"
Signature · 1 line
1.7.8.6
PATCH 11/11 libgee: upgrade to 0.6.4
In reply to Martin Jansa--- meta-oe/recipes-devtools/libgee/libgee_0.6.0.bb | 12 ------------ meta-oe/recipes-devtools/libgee/libgee_0.6.4.bb | 11 +++++++++++ 2 files changed, 11 insertions(+), 12 deletions(-) delete mode 100644 meta-oe/recipes-devtools/libgee/libgee_0.6.0.bb create mode 100644 meta-oe/recipes-devtools/libgee/libgee_0.6.4.bb
meta-oe/recipes-devtools/libgee/libgee_0.6.0.bb deleted +0 -12
@@ -1,12 +0,0 @@ -require libgee.inc -PE = "1" -PR = "${INC_PR}.1" -#autoreconf needs introspection.m4 (staged by gobject-introspection-native) after http://git.gnome.org/browse/libgee/commit/?id=d026a29b38ca1a3388981c6e75a92602212373d8 -DEPENDS += "gobject-introspection-native" -DEPENDS_virtclass-native += "gobject-introspection-native" - -SRC_URI = "http://ftp.gnome.org/pub/GNOME/sources/libgee/0.6/${BPN}-${PV}.tar.bz2" -S = "${WORKDIR}/${BPN}-${PV}" - -SRC_URI[md5sum] = "4eb513b23ab6ea78884989518a4acf6f" -SRC_URI[sha256sum] = "e586678d0a88637abeaaf850b62231000772e79ea6d9c4b45dc3cea99f778a7a"
meta-oe/recipes-devtools/libgee/libgee_0.6.4.bb new file +11 -0
@@ -0,0 +1,11 @@ +require libgee.inc +PE = "1" +PR = "${INC_PR}.0" +#autoreconf needs introspection.m4 (staged by gobject-introspection-native) after http://git.gnome.org/browse/libgee/commit/?id=d026a29b38ca1a3388981c6e75a92602212373d8 +DEPENDS += "gobject-introspection-native" +DEPENDS_virtclass-native += "gobject-introspection-native" + +SHRT_VER = "${@bb.data.getVar('PV',d,1).split('.')[0]}.${@bb.data.getVar('PV',d,1).split('.')[1]}" +SRC_URI = "http://ftp.gnome.org/pub/GNOME/sources/libgee/${SHRT_VER}/${BP}.tar.xz" +SRC_URI[md5sum] = "a32bf498cf33d5e3417823a7b252ad22" +SRC_URI[sha256sum] = "55f39f3b28e676f6cbd9377d83edd031084436a4da41280a9503c94faffb1665"
Signature · 1 line
1.7.8.6
PATCH 12/12 vala-dbus-biniding-tool: bump SRCREV
In reply to Martin Jansa* also needed to rebuild after libgee upgrade
--- .../vala-dbus-binding-tool_git.bb | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
meta-oe/recipes-devtools/vala-dbus-binding-tool/vala-dbus-binding-tool_git.bb +1 -1
@@ -1,5 +1,5 @@ require vala-dbus-binding-tool.inc -SRCREV = "fd89af4941d6478575900128d09029fa5549e0db" +SRCREV = "2c72ff9c981be947837c72d3aa38e1fbf074068f" PV = "0.3.2+gitr${SRCPV}" SRC_URI = "${FREESMARTPHONE_GIT}/vala-dbus-binding-tool.git;protocol=git;branch=master"
Signature · 1 line
1.7.8.6