All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
From: Alexander Kanavin <alexander.kanavin@linux.intel.com>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH 17/22] Add a warning suppression patch to glib
Date: Wed, 17 Jun 2015 16:19:27 +0300	[thread overview]
Message-ID: <1434547172-24620-18-git-send-email-alexander.kanavin@linux.intel.com> (raw)
In-Reply-To: <1434547172-24620-1-git-send-email-alexander.kanavin@linux.intel.com>

Otherwise QA check will fail.
Some schemas in gsettings-desktop-schemas (such as proxy and locale)
are still using deprecated paths, as of 3.16.1. This causes warning
messages, and meta/lib/oe/rootfs.py complaints about them.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
---
 ...warning-about-deprecated-paths-in-schemas.patch | 32 ++++++++++++++++++++++
 meta/recipes-core/glib-2.0/glib-2.0_2.44.1.bb      |  1 +
 2 files changed, 33 insertions(+)
 create mode 100644 meta/recipes-core/glib-2.0/glib-2.0/0001-Remove-the-warning-about-deprecated-paths-in-schemas.patch

diff --git a/meta/recipes-core/glib-2.0/glib-2.0/0001-Remove-the-warning-about-deprecated-paths-in-schemas.patch b/meta/recipes-core/glib-2.0/glib-2.0/0001-Remove-the-warning-about-deprecated-paths-in-schemas.patch
new file mode 100644
index 0000000..54e830c
--- /dev/null
+++ b/meta/recipes-core/glib-2.0/glib-2.0/0001-Remove-the-warning-about-deprecated-paths-in-schemas.patch
@@ -0,0 +1,32 @@
+From 41534253b6b61ed4769eb6a3966698a50ee73b71 Mon Sep 17 00:00:00 2001
+From: Alexander Kanavin <alex.kanavin@gmail.com>
+Date: Fri, 12 Jun 2015 17:08:46 +0300
+Subject: [PATCH] Remove the warning about deprecated paths in schemas
+
+Some schemas in gsettings-desktop-schemas (such as proxy and locale)
+are still using deprecated paths, as of 3.16.1. This causes warning
+messages, and meta/lib/oe/rootfs.py complaints about them.
+---
+ gio/glib-compile-schemas.c | 6 ------
+ 1 file changed, 6 deletions(-)
+
+diff --git a/gio/glib-compile-schemas.c b/gio/glib-compile-schemas.c
+index e42949b..ec79d7c 100644
+--- a/gio/glib-compile-schemas.c
++++ b/gio/glib-compile-schemas.c
+@@ -1202,12 +1202,6 @@ parse_state_start_schema (ParseState  *state,
+       return;
+     }
+ 
+-  if (path && (g_str_has_prefix (path, "/apps/") ||
+-               g_str_has_prefix (path, "/desktop/") ||
+-               g_str_has_prefix (path, "/system/")))
+-    g_printerr ("warning: Schema '%s' has path '%s'.  Paths starting with "
+-                "'/apps/', '/desktop/' or '/system/' are deprecated.\n", id, path);
+-
+   state->schema_state = schema_state_new (path, gettext_domain,
+                                           extends, extends_name, list_of);
+ 
+-- 
+2.1.4
+
diff --git a/meta/recipes-core/glib-2.0/glib-2.0_2.44.1.bb b/meta/recipes-core/glib-2.0/glib-2.0_2.44.1.bb
index 8eaccfb..1e3d36a 100644
--- a/meta/recipes-core/glib-2.0/glib-2.0_2.44.1.bb
+++ b/meta/recipes-core/glib-2.0/glib-2.0_2.44.1.bb
@@ -14,6 +14,7 @@ SRC_URI = "${GNOME_MIRROR}/glib/${SHRT_VER}/glib-${PV}.tar.xz \
            file://uclibc.patch \
            file://0001-configure.ac-Do-not-use-readlink-when-cross-compilin.patch \
            file://allow-run-media-sdX-drive-mount-if-username-root.patch \
+	   file://0001-Remove-the-warning-about-deprecated-paths-in-schemas.patch \
           "
 
 SRC_URI_append_class-native = " file://glib-gettextize-dir.patch"
-- 
2.1.4



  parent reply	other threads:[~2015-06-17 13:19 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-17 13:19 [PATCH 00/22] Update webkitgtk to latest stable upstream; replace midori with epiphany Alexander Kanavin
2015-06-17 13:19 ` [PATCH 01/22] Change tarball compression to xz for gnome recipes Alexander Kanavin
2015-06-17 13:19 ` [PATCH 02/22] Enable icu feature in harfbuzz recipe Alexander Kanavin
2015-06-17 13:19 ` [PATCH 03/22] Add arch conversion routine to cmake.bbclass Alexander Kanavin
2015-06-17 13:19 ` [PATCH 04/22] Update jpeg recipe to version 9a Alexander Kanavin
2015-06-17 13:19 ` [PATCH 05/22] Update libnotify to version 0.7.6 Alexander Kanavin
2015-06-17 14:59   ` Jussi Kukkonen
2015-06-18 11:23     ` Alexander Kanavin
2015-06-18 12:35       ` Andreas Müller
2015-06-18 13:02         ` Martin Jansa
2015-06-18 13:16         ` Alexander Kanavin
2015-06-18 14:42           ` Andreas Müller
2015-06-19 21:41             ` Andreas Müller
2015-06-22 12:34               ` Alexander Kanavin
     [not found]   ` <CALbNGRS5T12OGFK-C9B4DSyWsz-nRe8zsm=8_xnv4xtqhBHUXg@mail.gmail.com>
2015-06-17 15:01     ` Andreas Müller
2015-06-17 13:19 ` [PATCH 06/22] Add a recipe for giflib Alexander Kanavin
2015-06-17 13:19 ` [PATCH 07/22] Add a recipe for libyaml Alexander Kanavin
2015-06-17 13:19 ` [PATCH 08/22] Add a recipe for ruby Alexander Kanavin
2015-06-17 13:19 ` [PATCH 09/22] Add a recipe for libsecret Alexander Kanavin
2015-06-17 15:05   ` Andreas Müller
2015-06-17 18:54     ` akuster808
2015-06-18 11:54       ` Alexander Kanavin
2015-06-18 11:31     ` Alexander Kanavin
2015-06-17 13:19 ` [PATCH 10/22] Add a recipe for libwebp Alexander Kanavin
2015-06-17 13:19 ` [PATCH 11/22] Add a recipe for webkitgtk 2.8.3 Alexander Kanavin
2015-06-17 13:19 ` [PATCH 12/22] Add a recipe for p11-kit Alexander Kanavin
2015-06-17 13:19 ` [PATCH 13/22] Add a recipe for gcr Alexander Kanavin
2015-06-17 13:19 ` [PATCH 14/22] Add a recipe for iso-codes Alexander Kanavin
2015-06-17 13:19 ` [PATCH 15/22] Add a recipe for libwnck3 Alexander Kanavin
2015-06-17 13:19 ` [PATCH 16/22] Add a recipe for gnome-desktop3 Alexander Kanavin
2015-06-17 13:19 ` Alexander Kanavin [this message]
2015-06-17 13:19 ` [PATCH 18/22] Add a recipe gsettings-desktop-schemas Alexander Kanavin
2015-06-17 13:19 ` [PATCH 19/22] Add a recipe for epiphany Alexander Kanavin
2015-06-17 13:19 ` [PATCH 20/22] Remove the recipe for the obsolete webkit-gtk 1.8.3 Alexander Kanavin
2015-06-17 13:19 ` [PATCH 21/22] Remove the midori recipe and replace references to midori with epiphany Alexander Kanavin
2015-06-17 13:19 ` [PATCH 22/22] poky: update distro files related to webkitgtk update and epiphany addition Alexander Kanavin
2015-06-17 16:01 ` [PATCH 00/22] Update webkitgtk to latest stable upstream; replace midori with epiphany Paul Eggleton
2015-06-18 11:46   ` Alexander Kanavin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1434547172-24620-18-git-send-email-alexander.kanavin@linux.intel.com \
    --to=alexander.kanavin@linux.intel.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.