polkit-gnome: Upgrade 0.102 -> 0.105
PATCH v2 2/8 polkit-gnome: Upgrade 0.102 -> 0.105
add missing dep on gtk+3
---
meta-oe/recipes-extended/polkit/files/gtk-doc-check.patch | 12 ++++++++++++
.../{polkit-gnome_0.102.bb => polkit-gnome_0.105.bb} | 14 ++++++++------
2 files changed, 20 insertions(+), 6 deletions(-)
create mode 100644 meta-oe/recipes-extended/polkit/files/gtk-doc-check.patch
rename meta-oe/recipes-extended/polkit/{polkit-gnome_0.102.bb => polkit-gnome_0.105.bb} (62%)meta-oe/recipes-extended/polkit/files/gtk-doc-check.patch new file +12 -0
@@ -0,0 +1,12 @@ +--- polkit-gnome-0.105/configure.ac.org 2015-05-04 22:33:03.925977953 -0700 ++++ polkit-gnome-0.105/configure.ac 2015-05-04 22:33:16.862288030 -0700 +@@ -120,6 +120,9 @@ + # Check for required packages + # *************************** + ++# check for gtk-doc ++GTK_DOC_CHECK([1.14],[--flavour no-tmpl]) ++ + POLKIT_AGENT_REQUIRED=0.97 + POLKIT_GOBJECT_REQUIRED=0.97 + GTK_REQUIRED=3.0.0
meta-oe/recipes-extended/polkit/polkit-gnome_0.105.bb renamed from meta-oe/recipes-extended/polkit/polkit-gnome_0.102.bb +8 -6
@@ -7,22 +7,24 @@ LICENSE = "LGPLv2+" LIC_FILES_CHKSUM = "file://COPYING;md5=74579fab173e4c5e12aac0cd83ee98ec \ file://src/main.c;beginline=1;endline=20;md5=aba145d1802f2329ba561e3e48ecb795" -SRC_URI = "http://hal.freedesktop.org/releases/polkit-gnome-${PV}.tar.bz2 \ +SRC_URI = "https://download.gnome.org/sources/polkit-gnome/${PV}/polkit-gnome-${PV}.tar.xz \ + file://gtk-doc-check.patch \ " +SRC_URI[md5sum] = "50ecad37c8342fb4a52f590db7530621" +SRC_URI[sha256sum] = "1784494963b8bf9a00eedc6cd3a2868fb123b8a5e516e66c5eda48df17ab9369" -PNBLACKLIST[polkit-gnome] ?= "Fails to build, m4:configure.ac:125: recursion limit of 1024 exceeded, use -L<N> to change it" - -PR = "r2" +#PNBLACKLIST[polkit-gnome] ?= "Fails to build, m4:configure.ac:125: recursion limit of 1024 exceeded, use -L<N> to change it" EXTRA_OECONF = "\ --disable-examples \ --disable-introspection \ + --disable-static \ " +DEPENDS += "gtk+3" + inherit autotools gtk-doc pkgconfig FILES_${PN} += " ${datadir}/dbus-1 \ ${datadir}/PolicyKit \ " -SRC_URI[md5sum] = "f6b485ffd7bd605af815fd2747180481" -SRC_URI[sha256sum] = "81caa6972e651e90ef4ac31d7ed41bc79543d46b850dbd5b14b40f8ef7107d11"
Signature · 1 line
2.1.4
PATCH 8/8 gtkmathview: Use git for SRC_URI
Drop upstreamed patches
Fix cross compile and compiling with newer g++
--- ...-include-cstdio-to-get-printf-definitions.patch | 28 ++++++++++ .../mml-widget/gtkmathview/mathview-gcc43x.diff | 63 ---------------------- .../mml-widget/gtkmathview/mathview-gcc47x.diff | 48 ----------------- .../mml-widget/gtkmathview/qualify-lookup.diff | 13 ----- .../mml-widget/gtkmathview/use_hostcxx.patch | 18 +++++++ .../mml-widget/gtkmathview_0.8.0.bb | 17 +++--- 6 files changed, 55 insertions(+), 132 deletions(-) create mode 100644 meta-oe/recipes-extended/mml-widget/gtkmathview/0001-include-cstdio-to-get-printf-definitions.patch delete mode 100644 meta-oe/recipes-extended/mml-widget/gtkmathview/mathview-gcc43x.diff delete mode 100644 meta-oe/recipes-extended/mml-widget/gtkmathview/mathview-gcc47x.diff delete mode 100644 meta-oe/recipes-extended/mml-widget/gtkmathview/qualify-lookup.diff create mode 100644 meta-oe/recipes-extended/mml-widget/gtkmathview/use_hostcxx.patch
meta-oe/recipes-extended/mml-widget/gtkmathview/0001-include-cstdio-to-get-printf-definitions.patch new file +28 -0
@@ -0,0 +1,28 @@ +From c92890c5e18bb6ee23bdb14074bacf306dd9428f Mon Sep 17 00:00:00 2001 +From: Khem Raj <[email protected]> +Date: Tue, 5 May 2015 20:35:01 -0700 +Subject: [PATCH] include cstdio to get printf definitions + +Upstream-Status: Pending + +Signed-off-by: Khem Raj <[email protected]> +--- + src/engine/boxml/BoxMLHOVElement.cc | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/engine/boxml/BoxMLHOVElement.cc b/src/engine/boxml/BoxMLHOVElement.cc +index 1a2812c..96c9eea 100644 +--- a/src/engine/boxml/BoxMLHOVElement.cc ++++ b/src/engine/boxml/BoxMLHOVElement.cc +@@ -21,7 +21,7 @@ + // <http://www.gnu.org/licenses/>. + + #include <config.h> +- ++#include <cstdio> + #include "BoxMLAttributeSignatures.hh" + #include "BoxMLHOVElement.hh" + #include "BoxMLHElement.hh" +-- +2.1.4 +
meta-oe/recipes-extended/mml-widget/gtkmathview/mathview-gcc43x.diff deleted +0 -63
63 lines not on this page · raw message
meta-oe/recipes-extended/mml-widget/gtkmathview/mathview-gcc47x.diff deleted +0 -48
48 lines not on this page · raw message
meta-oe/recipes-extended/mml-widget/gtkmathview/qualify-lookup.diff deleted +0 -13
@@ -1,13 +0,0 @@ -Index: gtkmathview-0.8.0/src/frontend/common/TemplateElementIterator.hh -=================================================================== ---- gtkmathview-0.8.0.orig/src/frontend/common/TemplateElementIterator.hh -+++ gtkmathview-0.8.0/src/frontend/common/TemplateElementIterator.hh -@@ -43,7 +43,7 @@ protected: - findValidNodeForward(const typename Model::Node& p0) const - { - for (typename Model::Node p = p0; p; p = Model::getNextSibling(p)) -- if (valid(p)) return Model::asElement(p); -+ if (this->valid(p)) return Model::asElement(p); - return typename Model::Element(); - } -
meta-oe/recipes-extended/mml-widget/gtkmathview/use_hostcxx.patch new file +18 -0
@@ -0,0 +1,18 @@ +Use build_cc to compile the programs to run on build host +helps with cross compiling + +Upstream-Status: Inappropriate [Cross-compiled OE specific] + +diff --git a/src/common/mathvariants/Makefile.am b/src/common/mathvariants/Makefile.am +index 636ccf0..ed9921d 100644 +--- a/src/common/mathvariants/Makefile.am ++++ b/src/common/mathvariants/Makefile.am +@@ -52,7 +52,7 @@ XSLTPROC = xsltproc + %.cc : %_gen.cc $(srcdir)/variant.top $(srcdir)/variant.bot + cat $(srcdir)/variant.top >$@ + $(XSLTPROC) --novalid --param temp "false()" $(srcdir)/extract.xsl $(<:%_gen.cc=$(srcdir)/xml/%.xml) >>$@ +- $(CXX) -o $(@:%.cc=%) -I$(top_builddir)/auto $< ++ $(BUILD_CXX) -o $(@:%.cc=%) -I$(top_builddir)/auto $< + echo "Char32 " >>$@ + basename map_variant_$@ .cc | tr "-" "_" >>$@ + echo "(Char32 ch)" >>$@
meta-oe/recipes-extended/mml-widget/gtkmathview_0.8.0.bb +9 -8
@@ -5,16 +5,17 @@ LICENSE = "LGPLv3" LIC_FILES_CHKSUM = "file://COPYING;md5=6a6a8e020838b23406c81b19c1d46df6" PR = "r3" +SRCREV = "0bc2cfa0a47aed2c8a63abd989cb8da4dcceb2ec" +PV = "0.8.0+git${SRCPV}" -SRC_URI = "http://helm.cs.unibo.it/mml-widget/sources/${BP}.tar.gz \ - file://mathview-gcc43x.diff \ - file://mathview-gcc47x.diff \ - file://qualify-lookup.diff \ -" -SRC_URI[md5sum] = "b53564e553728d4b69f7d366dfeb5299" -SRC_URI[sha256sum] = "1dc30175da6a3c560a7d62d1abe1c2f9829d988e6f1a7c5e766544575c558c43" +SRC_URI = "git://github.com/GNOME/gtkmathview.git \ + file://use_hostcxx.patch \ + file://0001-include-cstdio-to-get-printf-definitions.patch \ + " -inherit autotools-brokensep pkgconfig +S = "${WORKDIR}/git" + +inherit autotools pkgconfig do_configure_prepend() { sed -i -e s:AM_BINRELOC::g ${S}/configure.ac
Signature · 1 line
2.1.4
Hi,
Can this patch and "gdm: Whitelist it" be applied to the fido branch?
Meta-question: Is this an appropriate request? What patches are considered for backport? In this case, I'm updating the meta-gumstix-extras layer to Fido which depends on meta-openembedded and, as it happens, these two patches. I can readily carry such fixes as updated recipes/bbappends in my layer until I next up-rev if these aren't suitable for backporting---just looking to understand the process :).
Thanks,
Ash
Quoted 74 lines · Khem Raj
add missing dep on gtk+3
Signed-off-by Khem Raj <[email protected]>--- meta-oe/recipes-extended/polkit/files/gtk-doc-check.patch | 12 ++++++++++++ .../{polkit-gnome_0.102.bb => polkit-gnome_0.105.bb} | 14 ++++++++------ 2 files changed, 20 insertions(+), 6 deletions(-) create mode 100644 meta-oe/recipes-extended/polkit/files/gtk-doc-check.patch rename meta-oe/recipes-extended/polkit/{polkit-gnome_0.102.bb => polkit-gnome_0.105.bb} (62%)meta-oe/recipes-extended/polkit/files/gtk-doc-check.patch new file +12
-0@@ -0,0 +1,12 @@ +--- polkit-gnome-0.105/configure.ac.org 2015-05-04 22:33:03.925977953 -0700 ++++ polkit-gnome-0.105/configure.ac 2015-05-04 22:33:16.862288030 -0700 +@@ -120,6 +120,9 @@ + # Check for required packages + # *************************** + ++# check for gtk-doc ++GTK_DOC_CHECK([1.14],[--flavour no-tmpl]) ++ + POLKIT_AGENT_REQUIRED=0.97 + POLKIT_GOBJECT_REQUIRED=0.97 + GTK_REQUIRED=3.0.0meta-oe/recipes-extended/polkit/polkit-gnome_0.105.bb renamed from meta-oe/recipes-extended/polkit/polkit-gnome_0.102.bb +8
-7@@ -7,22 +7,24 @@ LICENSE = "LGPLv2+" LIC_FILES_CHKSUM = "file://COPYING;md5=74579fab173e4c5e12aac0cd83ee98ec \ file://src/main.c;beginline=1;endline=20;md5=aba145d1802f2329ba561e3e48ecb795" -SRC_URI = "http://hal.freedesktop.org/releases/polkit-gnome-${PV}.tar.bz2 \ +SRC_URI = "https://download.gnome.org/sources/polkit-gnome/${PV}/polkit-gnome-${PV}.tar.xz \ + file://gtk-doc-check.patch \ " +SRC_URI[md5sum] = "50ecad37c8342fb4a52f590db7530621" +SRC_URI[sha256sum] = "1784494963b8bf9a00eedc6cd3a2868fb123b8a5e516e66c5eda48df17ab9369" -PNBLACKLIST[polkit-gnome] ?= "Fails to build, m4:configure.ac:125: recursion limit of 1024 exceeded, use -L<N> to change it" - -PR = "r2" +#PNBLACKLIST[polkit-gnome] ?= "Fails to build, m4:configure.ac:125: recursion limit of 1024 exceeded, use -L<N> to change it" EXTRA_OECONF = "\ --disable-examples \ --disable-introspection \ + --disable-static \ " +DEPENDS += "gtk+3" + inherit autotools gtk-doc pkgconfig FILES_${PN} += " ${datadir}/dbus-1 \ ${datadir}/PolicyKit \ " -SRC_URI[md5sum] = "f6b485ffd7bd605af815fd2747180481" -SRC_URI[sha256sum] = "81caa6972e651e90ef4ac31d7ed41bc79543d46b850dbd5b14b40f8ef7107d11" --2.1.4
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Hi,
Any insights as to what patches get backported?
Sorry for re-pinging---I'm less concerned with this exact backport and most interested in understanding the process.
--Ash
Quoted 90 lines · Ash Charles
Hi,
Can this patch and "gdm: Whitelist it" be applied to the fido branch?
Meta-question: Is this an appropriate request? What patches are considered for backport? In this case, I'm updating the meta-gumstix-extras layer to Fido which depends on meta-openembedded and, as it happens, these two patches. I can readily carry such fixes as updated recipes/bbappends in my layer until I next up-rev if these aren't suitable for backporting---just looking to understand the process :).
Thanks,
AshQuoted 74 lines · Khem Raj
add missing dep on gtk+3
Signed-off-by Khem Raj <[email protected]>--- meta-oe/recipes-extended/polkit/files/gtk-doc-check.patch | 12 ++++++++++++ .../{polkit-gnome_0.102.bb => polkit-gnome_0.105.bb} | 14 ++++++++------ 2 files changed, 20 insertions(+), 6 deletions(-) create mode 100644 meta-oe/recipes-extended/polkit/files/gtk-doc-check.patch rename meta-oe/recipes-extended/polkit/{polkit-gnome_0.102.bb => polkit-gnome_0.105.bb} (62%)meta-oe/recipes-extended/polkit/files/gtk-doc-check.patch new file +12
-0@@ -0,0 +1,12 @@ +--- polkit-gnome-0.105/configure.ac.org 2015-05-04 22:33:03.925977953 -0700 ++++ polkit-gnome-0.105/configure.ac 2015-05-04 22:33:16.862288030 -0700 +@@ -120,6 +120,9 @@ + # Check for required packages + # *************************** + ++# check for gtk-doc ++GTK_DOC_CHECK([1.14],[--flavour no-tmpl]) ++ + POLKIT_AGENT_REQUIRED=0.97 + POLKIT_GOBJECT_REQUIRED=0.97 + GTK_REQUIRED=3.0.0meta-oe/recipes-extended/polkit/polkit-gnome_0.105.bb renamed from meta-oe/recipes-extended/polkit/polkit-gnome_0.102.bb +8
-7@@ -7,22 +7,24 @@ LICENSE = "LGPLv2+" LIC_FILES_CHKSUM = "file://COPYING;md5=74579fab173e4c5e12aac0cd83ee98ec \ file://src/main.c;beginline=1;endline=20;md5=aba145d1802f2329ba561e3e48ecb795" -SRC_URI = "http://hal.freedesktop.org/releases/polkit-gnome-${PV}.tar.bz2 \ +SRC_URI = "https://download.gnome.org/sources/polkit-gnome/${PV}/polkit-gnome-${PV}.tar.xz \ + file://gtk-doc-check.patch \ " +SRC_URI[md5sum] = "50ecad37c8342fb4a52f590db7530621" +SRC_URI[sha256sum] = "1784494963b8bf9a00eedc6cd3a2868fb123b8a5e516e66c5eda48df17ab9369" -PNBLACKLIST[polkit-gnome] ?= "Fails to build, m4:configure.ac:125: recursion limit of 1024 exceeded, use -L<N> to change it" - -PR = "r2" +#PNBLACKLIST[polkit-gnome] ?= "Fails to build, m4:configure.ac:125: recursion limit of 1024 exceeded, use -L<N> to change it" EXTRA_OECONF = "\ --disable-examples \ --disable-introspection \ + --disable-static \ " +DEPENDS += "gtk+3" + inherit autotools gtk-doc pkgconfig FILES_${PN} += " ${datadir}/dbus-1 \ ${datadir}/PolicyKit \ " -SRC_URI[md5sum] = "f6b485ffd7bd605af815fd2747180481" -SRC_URI[sha256sum] = "81caa6972e651e90ef4ac31d7ed41bc79543d46b850dbd5b14b40f8ef7107d11" --2.1.4
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Quoted 6 lines · Ash Charles
Hi,
Any insights as to what patches get backported?
Sorry for re-pinging---I'm less concerned with this exact backport and most interested in understanding the process.
Its really case by case. If you give a good enough reason and even better propose a tested backported patch for appropriate branch then send it with [branchname] in subject. It will happen quicker.
Quoted 99 lines
--Ash
Quoted 85 lines · Ash Charles
Hi,
Can this patch and "gdm: Whitelist it" be applied to the fido branch?
Meta-question: Is this an appropriate request? What patches are considered for backport? In this case, I'm updating the meta-gumstix-extras layer to Fido which depends on meta-openembedded and, as it happens, these two patches. I can readily carry such fixes as updated recipes/bbappends in my layer until I next up-rev if these aren't suitable for backporting---just looking to understand the process :).
Thanks,
AshQuoted 69 lines · Khem Raj
add missing dep on gtk+3
Signed-off-by Khem Raj <[email protected]>--- meta-oe/recipes-extended/polkit/files/gtk-doc-check.patch | 12 ++++++++++++ .../{polkit-gnome_0.102.bb => polkit-gnome_0.105.bb} | 14 ++++++++------ 2 files changed, 20 insertions(+), 6 deletions(-) create mode 100644 meta-oe/recipes-extended/polkit/files/gtk-doc-check.patch rename meta-oe/recipes-extended/polkit/{polkit-gnome_0.102.bb => polkit-gnome_0.105.bb} (62%)meta-oe/recipes-extended/polkit/files/gtk-doc-check.patch new file +12
-0@@ -0,0 +1,12 @@ +--- polkit-gnome-0.105/configure.ac.org 2015-05-04 22:33:03.925977953 -0700 ++++ polkit-gnome-0.105/configure.ac 2015-05-04 22:33:16.862288030 -0700 +@@ -120,6 +120,9 @@ + # Check for required packages + # *************************** + ++# check for gtk-doc ++GTK_DOC_CHECK([1.14],[--flavour no-tmpl]) ++ + POLKIT_AGENT_REQUIRED=0.97 + POLKIT_GOBJECT_REQUIRED=0.97 + GTK_REQUIRED=3.0.0meta-oe/recipes-extended/polkit/polkit-gnome_0.105.bb renamed from meta-oe/recipes-extended/polkit/polkit-gnome_0.102.bb +8
-7@@ -7,22 +7,24 @@ LICENSE = "LGPLv2+" LIC_FILES_CHKSUM = "file://COPYING;md5=74579fab173e4c5e12aac0cd83ee98ec \ file://src/main.c;beginline=1;endline=20;md5=aba145d1802f2329ba561e3e48ecb795" -SRC_URI = "http://hal.freedesktop.org/releases/polkit-gnome-${PV}.tar.bz2 \ +SRC_URI = "https://download.gnome.org/sources/polkit-gnome/${PV}/polkit-gnome-${PV}.tar.xz \ + file://gtk-doc-check.patch \ " +SRC_URI[md5sum] = "50ecad37c8342fb4a52f590db7530621" +SRC_URI[sha256sum] = "1784494963b8bf9a00eedc6cd3a2868fb123b8a5e516e66c5eda48df17ab9369" -PNBLACKLIST[polkit-gnome] ?= "Fails to build, m4:configure.ac:125: recursion limit of 1024 exceeded, use -L<N> to change it" - -PR = "r2" +#PNBLACKLIST[polkit-gnome] ?= "Fails to build, m4:configure.ac:125: recursion limit of 1024 exceeded, use -L<N> to change it" EXTRA_OECONF = "\ --disable-examples \ --disable-introspection \ + --disable-static \ " +DEPENDS += "gtk+3" + inherit autotools gtk-doc pkgconfig FILES_${PN} += " ${datadir}/dbus-1 \ ${datadir}/PolicyKit \ " -SRC_URI[md5sum] = "f6b485ffd7bd605af815fd2747180481" -SRC_URI[sha256sum] = "81caa6972e651e90ef4ac31d7ed41bc79543d46b850dbd5b14b40f8ef7107d11" --2.1.4
Quoted 5 lines
Quoted 5 lines
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Quoted 3 lines · Khem Raj
Its really case by case. If you give a good enough reason and even better propose a tested backported patch for appropriate branch then send it with [branchname] in subject. It will happen quicker.
Cool---thanks for the explanation! I've cherry-picked these two patches to my fido checkout, tested and sent out the patch mail so hopefully this is all in order.
--Ash