All of 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/21] glib: add a warning suppression patch to glib
Date: Thu, 30 Jul 2015 17:27:40 +0300	[thread overview]
Message-ID: <29e3bfcfbfac3df3e8a627e8b7aceac93d7bfd37.1438265949.git.alexander.kanavin@linux.intel.com> (raw)
In-Reply-To: <cover.1438265949.git.alexander.kanavin@linux.intel.com>
In-Reply-To: <cover.1438265949.git.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-07-30 14:27 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-30 14:27 [PATCH 00/21] Update webkitgtk to latest stable upstream; replace midori with epiphany Alexander Kanavin
2015-07-30 14:27 ` [PATCH 01/21] classes/gnomebase: change tarball compression to xz Alexander Kanavin
2015-07-30 14:27 ` [PATCH 02/21] harfbuzz: enable icu feature Alexander Kanavin
2015-07-30 14:27 ` [PATCH 03/21] classes/cmake: add arch conversion routine Alexander Kanavin
2015-07-30 14:27 ` [PATCH 04/21] jpeg: update to version 9a Alexander Kanavin
2015-07-30 14:27 ` [PATCH 05/21] libnotify: update to version 0.7.6 Alexander Kanavin
2015-07-30 14:27 ` [PATCH 06/21] giflib: add a recipe from meta-oe Alexander Kanavin
2015-07-30 14:27 ` [PATCH 07/21] libyaml: " Alexander Kanavin
2015-07-30 14:27 ` [PATCH 08/21] ruby: add a recipe from meta-ruby Alexander Kanavin
2015-07-30 14:27 ` [PATCH 09/21] libsecret: add a recipe from meta-gnome Alexander Kanavin
2015-07-30 14:27 ` [PATCH 10/21] libwebp: add a recipe from meta-oe Alexander Kanavin
2015-07-30 14:27 ` [PATCH 11/21] webkitgtk: add a new recipe for latest upstream version Alexander Kanavin
2015-07-30 14:43   ` Martin Jansa
2015-07-30 15:30     ` Alexander Kanavin
2015-07-30 17:57       ` Paul Eggleton
2015-07-30 19:02         ` alexander.kanavin
2015-07-30 18:54       ` alexander.kanavin
2015-07-30 14:27 ` [PATCH 12/21] p11-kit: add a recipe from meta-oe Alexander Kanavin
2015-07-30 14:27 ` [PATCH 13/21] gcr: add a recipe from meta-gnome Alexander Kanavin
2015-07-30 14:27 ` [PATCH 14/21] iso-codes: add a recipe from meta-oe Alexander Kanavin
2015-07-30 14:27 ` [PATCH 15/21] libwnck3: add a recipe from meta-gnome Alexander Kanavin
2015-07-30 14:27 ` [PATCH 16/21] gnome-desktop3: " Alexander Kanavin
2015-07-30 14:27 ` Alexander Kanavin [this message]
2015-07-30 14:27 ` [PATCH 18/21] gsettings-desktop-schemas: " Alexander Kanavin
2015-07-30 14:27 ` [PATCH 19/21] epiphany: " Alexander Kanavin
2015-08-07  4:28   ` Randy MacLeod
2015-08-07 12:44     ` Alexander Kanavin
2015-08-11 23:49       ` Randy MacLeod
2015-08-12  1:45     ` Khem Raj
2015-07-30 14:27 ` [PATCH 20/21] webkit-gtk: remove the recipe for the obsolete version 1.8.3 Alexander Kanavin
2015-07-30 14:27 ` [PATCH 21/21] midori: remove the recipe and replace references to midori with epiphany 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=29e3bfcfbfac3df3e8a627e8b7aceac93d7bfd37.1438265949.git.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.