All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Andreas Müller" <schnitzeltony@gmail.com>
To: openembedded-devel@lists.openembedded.org
Subject: [PATCH 15/29] gnome-control-center: re-add 3.34.1
Date: Mon,  9 Dec 2019 01:38:26 +0100	[thread overview]
Message-ID: <20191209003840.3383-16-schnitzeltony@gmail.com> (raw)
In-Reply-To: <20191209003840.3383-1-schnitzeltony@gmail.com>

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
---
 ...001-Add-meson-option-to-pass-sysroot.patch | 45 +++++++++++++++
 .../gnome-control-center_3.34.1.bb            | 55 +++++++++++++++++++
 2 files changed, 100 insertions(+)
 create mode 100644 meta-gnome/recipes-gnome/gnome-control-center/gnome-control-center/0001-Add-meson-option-to-pass-sysroot.patch
 create mode 100644 meta-gnome/recipes-gnome/gnome-control-center/gnome-control-center_3.34.1.bb

diff --git a/meta-gnome/recipes-gnome/gnome-control-center/gnome-control-center/0001-Add-meson-option-to-pass-sysroot.patch b/meta-gnome/recipes-gnome/gnome-control-center/gnome-control-center/0001-Add-meson-option-to-pass-sysroot.patch
new file mode 100644
index 000000000..7f82a152c
--- /dev/null
+++ b/meta-gnome/recipes-gnome/gnome-control-center/gnome-control-center/0001-Add-meson-option-to-pass-sysroot.patch
@@ -0,0 +1,45 @@
+From ba8aebe1259ae3f7f5a4827e5a47bb95c568b218 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com>
+Date: Tue, 21 May 2019 16:07:46 +0200
+Subject: [PATCH] Add meson option to pass sysroot
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+We need to pass this to meson to help it finding gdesktop-enums.h:
+
+| panels/background/meson.build:38:0: ERROR: File /usr/include/gsettings-desktop-schemas/gdesktop-enums.h does not exist.
+
+Upstream-Status: Inappropriate [OE specific]
+
+Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
+---
+ meson_options.txt             | 1 +
+ panels/background/meson.build | 2 +-
+ 2 files changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/meson_options.txt b/meson_options.txt
+index a347168..2cd8121 100644
+--- a/meson_options.txt
++++ b/meson_options.txt
+@@ -1,3 +1,4 @@
++option('oe_sysroot', type: 'string', value: '', description: 'Directory for OE-sysroot')
+ option('cheese', type: 'boolean', value: true, description: 'build with cheese webcam support')
+ option('documentation', type: 'boolean', value: false, description: 'build documentation')
+ option('gnome_session_libexecdir', type: 'string', value: '', description: 'Directory for gnome-session\'s libexecdir')
+diff --git a/panels/background/meson.build b/panels/background/meson.build
+index bb34b69..f22722e 100644
+--- a/panels/background/meson.build
++++ b/panels/background/meson.build
+@@ -36,7 +36,7 @@ common_sources = []
+ 
+ enums = 'gdesktop-enums-types'
+ enums_header = files(
+-  gsettings_desktop_dep.get_pkgconfig_variable('prefix') + '/include/gsettings-desktop-schemas/gdesktop-enums.h',
++  get_option('oe_sysroot') + gsettings_desktop_dep.get_pkgconfig_variable('prefix') + '/include/gsettings-desktop-schemas/gdesktop-enums.h',
+   'cc-background-item.h'
+ )
+ 
+-- 
+2.20.1
+
diff --git a/meta-gnome/recipes-gnome/gnome-control-center/gnome-control-center_3.34.1.bb b/meta-gnome/recipes-gnome/gnome-control-center/gnome-control-center_3.34.1.bb
new file mode 100644
index 000000000..5d58879c5
--- /dev/null
+++ b/meta-gnome/recipes-gnome/gnome-control-center/gnome-control-center_3.34.1.bb
@@ -0,0 +1,55 @@
+SUMMARY = "GNOME Settings"
+DESCRIPTION = "GNOME Settings is GNOME's main interface for configuration of various aspects of your desktop"
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=75859989545e37968a99b631ef42722e"
+
+GNOMEBASEBUILDCLASS = "meson"
+
+inherit gnomebase gsettings gettext vala upstream-version-is-even bash-completion features_check
+
+DEPENDS = " \
+    gdk-pixbuf-native \
+    colord-gtk \
+    udisks2 \
+    upower \
+    polkit \
+    pulseaudio \
+    accountsservice \
+    samba \
+    gsettings-desktop-schemas \
+    gnome-settings-daemon \
+    gnome-desktop3 \
+    gnome-online-accounts \
+    network-manager-applet \
+    gnome-bluetooth \
+    grilo \
+    libgtop \
+    gsound \
+    libpwquality \
+"
+
+REQUIRED_DISTRO_FEATURES += "polkit pulseaudio systemd x11"
+
+SRC_URI[archive.md5sum] = "8b0f0baea34fbe937efd0ad1be4b451b"
+SRC_URI[archive.sha256sum] = "5f82ecd5554136c462248ec5363b82d95358b39dfd6787006d8307b4504e515e"
+SRC_URI += "file://0001-Add-meson-option-to-pass-sysroot.patch"
+
+PACKAGECONFIG ??= "ibus ${@bb.utils.filter('DISTRO_FEATURES', 'wayland', d)}"
+PACKAGECONFIG[ibus] = "-Dibus=true, -Dibus=false, ibus"
+PACKAGECONFIG[wayland] = "-Dwayland=true, -Dwayland=false, wayland"
+
+# Once we have (lib)cheese we can make cheese a PACKAGECONFIG
+EXTRA_OEMESON = " \
+    -Doe_sysroot=${STAGING_DIR_HOST} \
+    -Dcheese=false \
+"
+
+FILES_${PN} += " \
+    ${datadir}/dbus-1 \
+    ${datadir}/gnome-shell \
+    ${datadir}/metainfo \
+"
+
+FILES_${PN}-dev += "${datadir}/gettext"
+
+RDEPENDS_${PN} += "gsettings-desktop-schemas"
-- 
2.21.0



  parent reply	other threads:[~2019-12-09  0:39 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-09  0:38 [PATCH][v2 00/29] Gnome cleanups & desktop patches Andreas Müller
2019-12-09  0:38 ` [PATCH 01/29] pinpoint: remove dead project Andreas Müller
2019-12-09  0:38 ` [PATCH 02/29] gnome-keyring: upgrade 3.28.2 -> 3.34.0 Andreas Müller
2019-12-09  0:38 ` [PATCH 03/29] libgsf: upgrade 1.14.45 -> 1.14.46 Andreas Müller
2019-12-09  0:38 ` [PATCH 04/29] libgnome-keyring: remove Andreas Müller
2019-12-09  0:38 ` [PATCH 05/29] gjs: initial add 1.58.3 Andreas Müller
2019-12-09  0:38 ` [PATCH 06/29] gdm: re-add 3.34.1 Andreas Müller
2019-12-09  0:38 ` [PATCH 07/29] gnome-shell: initial add 3.34.1 Andreas Müller
2019-12-09  0:38 ` [PATCH 08/29] gnome-shell-extensions: " Andreas Müller
2019-12-09  0:38 ` [PATCH 09/29] accountsservice: initial add 0.6.55 Andreas Müller
2019-12-09  0:38 ` [PATCH 10/29] rest: initial add 0.8.1 Andreas Müller
2019-12-09  0:38 ` [PATCH 11/29] gnome-online-accounts: initial add 3.34.1 Andreas Müller
2019-12-09  0:38 ` [PATCH 12/29] gvfs: upgrade 1.41.2 -> 1.42.1 Andreas Müller
2019-12-09  0:38 ` [PATCH 13/29] grilo: initial add 0.3.10 Andreas Müller
2019-12-09  0:38 ` [PATCH 14/29] gsound: initial add 1.0.2 Andreas Müller
2019-12-09  0:38 ` Andreas Müller [this message]
2019-12-09  0:38 ` [PATCH 16/29] gnome-session: inital add 3.34.1 Andreas Müller
2019-12-09  0:38 ` [PATCH 17/29] gnome-backgrounds: initial add 3.34.0 Andreas Müller
2019-12-09  0:38 ` [PATCH 18/29] metacity: upgrade 3.32.0 -> 3.34.1 Andreas Müller
2019-12-09  0:38 ` [PATCH 19/29] gnome-panel: (re)add 3.34.1 Andreas Müller
2019-12-09  0:38 ` [PATCH 20/29] gnome-flashback: initial add 3.34.1 Andreas Müller
2019-12-09  0:38 ` [PATCH 21/29] Add: packagegroup-gnome-apps / packagegroup-gnome-desktop Andreas Müller
2019-12-09  0:38 ` [PATCH 22/29] glfw: add features_check to inherit Andreas Müller
2019-12-09  0:38 ` [PATCH 23/29] stalonetray: Add x11 to required distro feature Andreas Müller
2019-12-09  0:38 ` [PATCH 24/29] projucer: add x11 to required distro features Andreas Müller
2019-12-09  0:38 ` [PATCH 25/29] colord-gtk: add polkit " Andreas Müller
2019-12-09  0:38 ` [PATCH 26/29] yelp: add x11 " Andreas Müller
2019-12-09  0:38 ` [PATCH 27/29] file-roller: remove nautilus from DEPENDS Andreas Müller
2019-12-09  0:38 ` [PATCH 28/29] libgdata: add x11 to required distro features Andreas Müller
2019-12-09  0:38 ` [PATCH 29/29] accountsservice: Hack musl build fix Andreas Müller
2019-12-09  3:43 ` [PATCH][v2 00/29] Gnome cleanups & desktop patches Khem Raj
2019-12-09  8:26   ` Andreas Müller

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=20191209003840.3383-16-schnitzeltony@gmail.com \
    --to=schnitzeltony@gmail.com \
    --cc=openembedded-devel@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.