glib 2.36 fixes
cover glib 2.36 fixes
The following changes since commit 62ad7c96a12bc54871bf37366cfe89ec96881537:
connman: Fix .bbappend name (2013-05-02 13:04:52 +0200)
are available in the git repository at:
git://gitorious.org/schnitzeltony-oe-meta/meta-openembedded.git glibc-2.36-fixes
Andreas Müller (3):
gvfs: slightly update to 1.10.1 and backport patches to build with glib 2.36
orbit2: update to latest stable / fix build with glib 2.36
geany: update to 1.23 to fix build with glib 2.36
...ect-UDISKS_AUTOMOUNT_HINT-available-in-re.patch | 57 +
.../0001-gvfsfusedaemon.c-fix-glib-build.patch | 31 -
...ib-2.31-deprecations-and-thread-API-chang.patch | 599 +++++
.../0003-Adapt-to-glib-mutex-API-changes.patch | 2454 ++++++++++++++++++++
.../0004-Adapt-to-glib-thread-API-changes.patch | 44 +
..._1.8.2.bb => gvfs-gdu-volume-monitor_1.10.1.bb} | 2 +-
meta-gnome/recipes-gnome/gvfs/gvfs.inc | 15 +-
.../gvfs/{gvfs_1.8.2.bb => gvfs_1.10.1.bb} | 2 +-
...-src-Makefile.am-fix-build-with-glib-2.36.patch | 34 +
.../configure-lossage.patch | 0
.../{orbit2-2.14.17 => orbit2}/pkgconfig-fix.patch | 0
.../{orbit2_2.14.17.bb => orbit2_2.14.19.bb} | 16 +-
.../geany/{geany_1.22.bb => geany_1.23.bb} | 7 +-
13 files changed, 3213 insertions(+), 48 deletions(-)
create mode 100644 meta-gnome/recipes-gnome/gvfs/files/0001-Revert-Respect-UDISKS_AUTOMOUNT_HINT-available-in-re.patch
delete mode 100644 meta-gnome/recipes-gnome/gvfs/files/0001-gvfsfusedaemon.c-fix-glib-build.patch
create mode 100644 meta-gnome/recipes-gnome/gvfs/files/0002-Adapt-to-GLib-2.31-deprecations-and-thread-API-chang.patch
create mode 100644 meta-gnome/recipes-gnome/gvfs/files/0003-Adapt-to-glib-mutex-API-changes.patch
create mode 100644 meta-gnome/recipes-gnome/gvfs/files/0004-Adapt-to-glib-thread-API-changes.patch
rename meta-gnome/recipes-gnome/gvfs/{gvfs-gdu-volume-monitor_1.8.2.bb => gvfs-gdu-volume-monitor_1.10.1.bb} (97%)
rename meta-gnome/recipes-gnome/gvfs/{gvfs_1.8.2.bb => gvfs_1.10.1.bb} (97%)
create mode 100644 meta-gnome/recipes-gnome/orbit2/orbit2/0001-linc2-src-Makefile.am-fix-build-with-glib-2.36.patch
rename meta-gnome/recipes-gnome/orbit2/{orbit2-2.14.17 => orbit2}/configure-lossage.patch (100%)
rename meta-gnome/recipes-gnome/orbit2/{orbit2-2.14.17 => orbit2}/pkgconfig-fix.patch (100%)
rename meta-gnome/recipes-gnome/orbit2/{orbit2_2.14.17.bb => orbit2_2.14.19.bb} (68%)
rename meta-oe/recipes-devtools/geany/{geany_1.22.bb => geany_1.23.bb} (58%)Signature · 1 line
1.7.6.5
PATCH 1/3 gvfs: slightly update to 1.10.1 and backport patches to build with glib 2.36
This is a bit of a bad hack but as long as we are sitting on gnome2 we cannot follow to latest mainline because it would require gnome-disk-utility 3.x which relies on libnotify 0.7.x. For libnotify 0.6.x / 0.7.x API-conflict there is no solution available yet.
The following tests were performed:
* build my standard xfce-image from scratch
* test automount
* test trash
* test network browsing
---
...ect-UDISKS_AUTOMOUNT_HINT-available-in-re.patch | 57 +
.../0001-gvfsfusedaemon.c-fix-glib-build.patch | 31 -
...ib-2.31-deprecations-and-thread-API-chang.patch | 599 +++++
.../0003-Adapt-to-glib-mutex-API-changes.patch | 2454 ++++++++++++++++++++
.../0004-Adapt-to-glib-thread-API-changes.patch | 44 +
..._1.8.2.bb => gvfs-gdu-volume-monitor_1.10.1.bb} | 2 +-
meta-gnome/recipes-gnome/gvfs/gvfs.inc | 15 +-
.../gvfs/{gvfs_1.8.2.bb => gvfs_1.10.1.bb} | 2 +-
8 files changed, 3167 insertions(+), 37 deletions(-)
create mode 100644 meta-gnome/recipes-gnome/gvfs/files/0001-Revert-Respect-UDISKS_AUTOMOUNT_HINT-available-in-re.patch
delete mode 100644 meta-gnome/recipes-gnome/gvfs/files/0001-gvfsfusedaemon.c-fix-glib-build.patch
create mode 100644 meta-gnome/recipes-gnome/gvfs/files/0002-Adapt-to-GLib-2.31-deprecations-and-thread-API-chang.patch
create mode 100644 meta-gnome/recipes-gnome/gvfs/files/0003-Adapt-to-glib-mutex-API-changes.patch
create mode 100644 meta-gnome/recipes-gnome/gvfs/files/0004-Adapt-to-glib-thread-API-changes.patch
rename meta-gnome/recipes-gnome/gvfs/{gvfs-gdu-volume-monitor_1.8.2.bb => gvfs-gdu-volume-monitor_1.10.1.bb} (97%)
rename meta-gnome/recipes-gnome/gvfs/{gvfs_1.8.2.bb => gvfs_1.10.1.bb} (97%)meta-gnome/recipes-gnome/gvfs/files/0001-Revert-Respect-UDISKS_AUTOMOUNT_HINT-available-in-re.patch new file +57 -0
@@ -0,0 +1,57 @@ +From 1b9ceef87405296adccdadc9528d4cbb2bc51b76 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Andreas=20M=C3=BCller?= <[email protected]> +Date: Thu, 2 May 2013 13:27:16 +0200 +Subject: [PATCH] Revert "Respect UDISKS_AUTOMOUNT_HINT available in recent + udisks and gnome-disk-utility" +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +This reverts commit 493ee806eba214a748d064b43c10882d76ee1492. + +AFAICS was the requirement for gnome-disk-utility V3 for a minor functionality change. + +Upstream-Status: Inappropriate [related to missing gnome3 support] + +Signed-off-by: Andreas Müller <[email protected]> +--- + configure.ac | 2 +- + monitor/gdu/ggduvolume.c | 9 --------- + 2 files changed, 1 insertions(+), 10 deletions(-) + +diff --git a/configure.ac b/configure.ac +index 601e994..377770e 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -205,7 +205,7 @@ AC_ARG_ENABLE(gdu, AS_HELP_STRING([--disable-gdu],[build without GDU volume moni + msg_gdu=no + GDU_LIBS= + GDU_CFLAGS= +-GDU_REQUIRED=3.0.2 ++GDU_REQUIRED=2.29.0 + + if test "x$enable_gdu" != "xno"; then + PKG_CHECK_EXISTS([gdu >= $GDU_REQUIRED], msg_gdu=yes) +diff --git a/monitor/gdu/ggduvolume.c b/monitor/gdu/ggduvolume.c +index eb15d22..0665b7a 100644 +--- a/monitor/gdu/ggduvolume.c ++++ b/monitor/gdu/ggduvolume.c +@@ -429,15 +429,6 @@ update_volume (GGduVolume *volume) + g_free (activation_uri); + } + +- /* if there's an automount hint, use it */ +- if (device != NULL) +- { +- if (g_strcmp0 (gdu_device_get_automount_hint (device), "always") == 0) +- volume->should_automount = TRUE; +- else if (g_strcmp0 (gdu_device_get_automount_hint (device), "never") == 0) +- volume->should_automount = FALSE; +- } +- + if (pool != NULL) + g_object_unref (pool); + if (device != NULL) +-- +1.7.6.5 +
meta-gnome/recipes-gnome/gvfs/files/0001-gvfsfusedaemon.c-fix-glib-build.patch deleted +0 -31
@@ -1,31 +0,0 @@ -From c339eaaa514b8edcfe8de5c9610b8f2591ec221a Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Andreas=20M=C3=BCller?= <[email protected]> -Date: Mon, 14 May 2012 17:36:37 +0200 -Subject: [PATCH] gvfsfusedaemon.c: fix glib build -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit -Upstream-Status: Applied but we can not use it because newer versions depend -on gnome-disk-utiltity >= V3.02 which depends on gtk+ V3 - -Signed-off-by: Andreas Müller <[email protected]> ---- - client/gvfsfusedaemon.c | 2 -- - 1 files changed, 0 insertions(+), 2 deletions(-) - -diff --git a/client/gvfsfusedaemon.c b/client/gvfsfusedaemon.c -index bc3090d..f2e708e 100644 ---- a/client/gvfsfusedaemon.c -+++ b/client/gvfsfusedaemon.c -@@ -41,8 +41,6 @@ - #include <glib/gprintf.h> - #include <gio/gio.h> - --#include <glib/gurifuncs.h> -- - /* stuff from common/ */ - #include <gdaemonmount.h> - #include <gvfsdaemonprotocol.h> --- -1.7.6.5 -
meta-gnome/recipes-gnome/gvfs/files/0002-Adapt-to-GLib-2.31-deprecations-and-thread-API-chang.patch new file +599 -0
599 lines not on this page · raw message
meta-gnome/recipes-gnome/gvfs/files/0003-Adapt-to-glib-mutex-API-changes.patch new file +2454 -0
2,313 lines not on this page · raw message
meta-gnome/recipes-gnome/gvfs/files/0004-Adapt-to-glib-thread-API-changes.patch new file +44 -0
44 lines not on this page · raw message
meta-gnome/recipes-gnome/gvfs/gvfs-gdu-volume-monitor_1.10.1.bb renamed from meta-gnome/recipes-gnome/gvfs/gvfs-gdu-volume-monitor_1.8.2.bb +1 -1
Lines of this file are not shown. View the raw message.
meta-gnome/recipes-gnome/gvfs/gvfs.inc +11 -4
Lines of this file are not shown. View the raw message.
meta-gnome/recipes-gnome/gvfs/gvfs_1.10.1.bb renamed from meta-gnome/recipes-gnome/gvfs/gvfs_1.8.2.bb +1 -1
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
Signature · 1 line
1.7.6.5
Part of the diff is not shown here. View the raw message.
PATCH 2/3 orbit2: update to latest stable / fix build with glib 2.36
In reply to Andreas Müllerlicense change of FSF address only
---
...-src-Makefile.am-fix-build-with-glib-2.36.patch | 34 ++++++++++++++++++++
.../configure-lossage.patch | 0
.../{orbit2-2.14.17 => orbit2}/pkgconfig-fix.patch | 0
.../{orbit2_2.14.17.bb => orbit2_2.14.19.bb} | 16 +++++----
4 files changed, 43 insertions(+), 7 deletions(-)
create mode 100644 meta-gnome/recipes-gnome/orbit2/orbit2/0001-linc2-src-Makefile.am-fix-build-with-glib-2.36.patch
rename meta-gnome/recipes-gnome/orbit2/{orbit2-2.14.17 => orbit2}/configure-lossage.patch (100%)
rename meta-gnome/recipes-gnome/orbit2/{orbit2-2.14.17 => orbit2}/pkgconfig-fix.patch (100%)
rename meta-gnome/recipes-gnome/orbit2/{orbit2_2.14.17.bb => orbit2_2.14.19.bb} (68%)meta-gnome/recipes-gnome/orbit2/orbit2/0001-linc2-src-Makefile.am-fix-build-with-glib-2.36.patch new file +34 -0
@@ -0,0 +1,34 @@ +From 10bd8094e1d94e5c737791c7f4b6b844f535c120 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Andreas=20M=C3=BCller?= <[email protected]> +Date: Fri, 3 May 2013 10:00:16 +0200 +Subject: [PATCH] linc2/src/Makefile.am: fix build with glib 2.36 +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Upstream-Status: Submitted [1] + +[1] https://bugzilla.gnome.org/show_bug.cgi?id=696900 + +Signed-off-by: Andreas Müller <[email protected]> +--- + linc2/src/Makefile.am | 3 +-- + 1 files changed, 1 insertions(+), 2 deletions(-) + +diff --git a/linc2/src/Makefile.am b/linc2/src/Makefile.am +index 357a2dd..ba0e347 100644 +--- a/linc2/src/Makefile.am ++++ b/linc2/src/Makefile.am +@@ -12,8 +12,7 @@ INCLUDES = \ + -I$(top_builddir)/linc2/include \ + -I$(top_srcdir)/linc2/include \ + $(LINC_CFLAGS) \ +- $(WARN_CFLAGS) \ +- -DG_DISABLE_DEPRECATED ++ $(WARN_CFLAGS) + + if OS_WIN32 + else +-- +1.7.6.5 +
meta-gnome/recipes-gnome/orbit2/orbit2/configure-lossage.patch renamed from meta-gnome/recipes-gnome/orbit2/orbit2-2.14.17/configure-lossage.patch +0 -0
meta-gnome/recipes-gnome/orbit2/orbit2/pkgconfig-fix.patch renamed from meta-gnome/recipes-gnome/orbit2/orbit2-2.14.17/pkgconfig-fix.patch +0 -0
meta-gnome/recipes-gnome/orbit2/orbit2_2.14.19.bb renamed from meta-gnome/recipes-gnome/orbit2/orbit2_2.14.17.bb +9 -7
@@ -1,16 +1,18 @@ DESCRIPTION = "CORBA ORB" SECTION = "x11/gnome/libs" LICENSE = "GPL-2.0" -LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" +LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552" SRC_NAME = "ORBit2" SHRT_VER = "${@d.getVar('PV',1).split('.')[0]}.${@d.getVar('PV',1).split('.')[1]}" -SRC_URI = "${GNOME_MIRROR}/${SRC_NAME}/${SHRT_VER}/${SRC_NAME}-${PV}.tar.bz2 \ - file://configure-lossage.patch \ - file://pkgconfig-fix.patch" -SRC_URI[md5sum] = "10bfb957fa4a8935a0b4afaee7d71df7" -SRC_URI[sha256sum] = "62bfce3f678f9347a19c766944e8aef7b89bc32b25ac23eb3e4c25929ce8974c" +SRC_URI = " \ + ${GNOME_MIRROR}/${SRC_NAME}/${SHRT_VER}/${SRC_NAME}-${PV}.tar.bz2 \ + file://configure-lossage.patch \ + file://pkgconfig-fix.patch \ + file://0001-linc2-src-Makefile.am-fix-build-with-glib-2.36.patch \ +" +SRC_URI[md5sum] = "7082d317a9573ab338302243082d10d1" +SRC_URI[sha256sum] = "55c900a905482992730f575f3eef34d50bda717c197c97c08fa5a6eafd857550" -PR = "r5" BBCLASSEXTEND = "native" IDL_COMPILER_DEPENDS = "orbit2-native"
Signature · 1 line
1.7.6.5
Re: [meta-oe/master 2/3] orbit2: update to latest stable / fix build with glib 2.36
Quoted 3 lines · Andreas Müller
license change of FSF address only
Signed-off-by Andreas Müller <[email protected]>
Your commit log is not accurate when comparing with the code.
--
Otavio Salvador O.S. Systems
E-mail: [email protected] http://www.ossystems.com.br
Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br
Re: [meta-oe/master 2/3] orbit2: update to latest stable / fix build with glib 2.36
Quoted 8 lines · Otavio Salvador
Quoted 3 lines · Andreas Müller
license change of FSF address only
Signed-off-by Andreas Müller <[email protected]>Your commit log is not accurate when comparing with the code.
Needs V2 anyway for minor fix of gnome-disk-utilty
Andreas
PATCH 3/3 geany: update to 1.23 to fix build with glib 2.36
In reply to Andreas Müllerlicense change of FSF address only
---
.../geany/{geany_1.22.bb => geany_1.23.bb} | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
rename meta-oe/recipes-devtools/geany/{geany_1.22.bb => geany_1.23.bb} (58%)meta-oe/recipes-devtools/geany/geany_1.23.bb renamed from meta-oe/recipes-devtools/geany/geany_1.22.bb +3 -4
@@ -1,9 +1,8 @@ DESCRIPTION = "A fast and lightweight IDE" HOMEPAGE = "http://www.geany.org/" LICENSE = "GPLv2" -LIC_FILES_CHKSUM = "file://COPYING;md5=c107cf754550e65755c42985a5d4e9c9" +LIC_FILES_CHKSUM = "file://COPYING;md5=bd7b2c994af21d318bd2cd3b3f80c2d5" DEPENDS = "gtk+" -PR = "r2" inherit autotools pkgconfig perlnative
@@ -11,7 +10,7 @@ SRC_URI = " \ http://download.geany.org/${PN}-${PV}.tar.bz2 \ file://0001-configure.ac-remove-additional-c-test.patch \ " -SRC_URI[md5sum] = "0672077fe83e2a739aa0eaca426aacf0" -SRC_URI[sha256sum] = "901a35a7395ef10a80fb10b3ab63bae3871693a4e82d56388e9521a27877577e" +SRC_URI[md5sum] = "4290e8c32305e916f57bb0f0233bbec2" +SRC_URI[sha256sum] = "cdd4a772694803c837ae59e56f7bdc2faba174509317211f522e7d25dfcbe8b0" FILES_${PN} += "${datadir}/icons"
Signature · 1 line
1.7.6.5