All of lore.kernel.org
 help / color / mirror / Atom feed
From: brendank310 <brendank310@gmail.com>
To: openembedded-devel@lists.openembedded.org
Cc: schnitzeltony@googlemail.com
Subject: [RFC meta-gnome][PATCH 06/16] gnome-settings-daemon: add recipe for gnome-settings-daemon
Date: Mon, 29 Oct 2018 12:41:03 -0400	[thread overview]
Message-ID: <16012ad2ea09d37fb7a9b8ad4b0c0f01e641d821.1540830650.git.brendank310@gmail.com> (raw)
In-Reply-To: <cover.1540830650.git.brendank310@gmail.com>

From: Brendan Kerrigan <kerriganb@ainfosec.com>

Signed-off-by: Brendan Kerrigan <kerriganb@ainfosec.com>
---
 .../0001-remove-extraneous-plugins.patch      | 52 +++++++++++++++++++
 .../gnome3/gnome-settings-daemon_git.bb       | 43 +++++++++++++++
 2 files changed, 95 insertions(+)
 create mode 100644 meta-gnome/recipes-gnome/gnome3/gnome-settings-daemon/0001-remove-extraneous-plugins.patch
 create mode 100644 meta-gnome/recipes-gnome/gnome3/gnome-settings-daemon_git.bb

diff --git a/meta-gnome/recipes-gnome/gnome3/gnome-settings-daemon/0001-remove-extraneous-plugins.patch b/meta-gnome/recipes-gnome/gnome3/gnome-settings-daemon/0001-remove-extraneous-plugins.patch
new file mode 100644
index 000000000..6f5599058
--- /dev/null
+++ b/meta-gnome/recipes-gnome/gnome3/gnome-settings-daemon/0001-remove-extraneous-plugins.patch
@@ -0,0 +1,52 @@
+gnome-settings-daemon: Disable plugins, dependencies, and compiler errors
+
+  * Disable 'no-deprecated-declaration' to allow build to complete
+  * Remove colord as a dependency
+  * Remove unused plugins
+
+  Upstream-status: Inappropriate [configuration]
+
+  Signed-off-by: Brendan Kerrigan <kerriganb@ainfosec.com>
+
+diff --git a/meson.build b/meson.build
+index d2121623..15fcc88d 100644
+--- a/meson.build
++++ b/meson.build
+@@ -54,7 +54,7 @@ endforeach
+ 
+ # compiler flags
+ common_flags = ['-DHAVE_CONFIG_H']
+-compiler_flags = []
++compiler_flags = ['-Wno-deprecated-declarations']
+ 
+ if gsd_buildtype.contains('debug')
+   common_flags += ['-DG_ENABLE_DEBUG']
+@@ -82,7 +82,6 @@ endif
+ 
+ add_project_arguments(common_flags + compiler_flags, language: 'c')
+ 
+-colord_dep = dependency('colord', version: '>= 1.0.2')
+ geocode_glib_dep = dependency('geocode-glib-1.0', version: '>= 3.10.0')
+ gio_dep = dependency('gio-2.0', version: '>= 2.53.0')
+ gio_unix_dep = dependency('gio-unix-2.0')
+diff --git a/plugins/meson.build b/plugins/meson.build
+index 3db69da7..accb7b90 100644
+--- a/plugins/meson.build
++++ b/plugins/meson.build
+@@ -1,16 +1,11 @@
+ enabled_plugins = [
+   ['a11y-settings', 'A11ySettings'],
+   ['clipboard', 'Clipboard'],
+-  ['color', 'Color'],
+   ['datetime', 'Datetime'],
+   ['dummy', ''],
+-  ['power', 'Power'],
+   ['housekeeping', 'Housekeeping'],
+   ['keyboard', 'Keyboard'],
+-  ['media-keys', 'MediaKeys'],
+   ['mouse', 'Mouse'],
+-  ['screensaver-proxy', 'ScreensaverProxy'],
+-  ['sharing', 'Sharing'],
+   ['sound', 'Sound'],
+   ['xsettings', 'XSettings']
+ ]
diff --git a/meta-gnome/recipes-gnome/gnome3/gnome-settings-daemon_git.bb b/meta-gnome/recipes-gnome/gnome3/gnome-settings-daemon_git.bb
new file mode 100644
index 000000000..167db3bd2
--- /dev/null
+++ b/meta-gnome/recipes-gnome/gnome3/gnome-settings-daemon_git.bb
@@ -0,0 +1,43 @@
+DESCRIPTION = "GNOME Settings Daemon"
+LICENSE = "GPLv2"
+DEPENDS = " \
+           libcanberra \
+           prelink \
+           glib-2.0 \
+           gsettings-desktop-schemas \
+           gnome-desktop3 \
+           wayland \
+           wayland-protocols \
+           gettext-native \
+           polkit \
+           upower \
+           libnotify \
+           geocode-glib \
+           libgweather \
+           lcms2 \
+           libwacom \
+           networkmanager \
+           geoclue \
+          "
+
+LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552"
+
+SRC_URI = "git://gitlab.gnome.org/GNOME/gnome-settings-daemon.git;protocol=http;branch=gnome-3-30 \
+           file://0001-remove-extraneous-plugins.patch \
+           "
+
+SRCREV="${AUTOREV}"
+S = "${WORKDIR}/git"
+
+inherit pkgconfig meson gobject-introspection
+
+EXTRA_OEMESON += " -Denable-gtk-doc=false -Dcups=false "
+
+FILES_${PN} += "${datadir}"
+FILES_${PN} += "${libdir}"
+
+do_configure_prepend() {
+	# Fixup the gsettings version
+	sed -i 's^3.27.90^3.24.1^g' ${S}/meson.build
+}
+
-- 
2.17.1



  parent reply	other threads:[~2018-10-29 16:41 UTC|newest]

Thread overview: 64+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-29 16:40 [RFC meta-gnome][PATCH 00/16] Add gnome-shell support brendank310
2018-10-29 16:40 ` [RFC meta-gnome][PATCH 01/16] sassc: add recipes for libsass-native and sassc-native brendank310
2018-10-30 12:10   ` Burton, Ross
2018-10-29 16:40 ` [RFC meta-gnome][PATCH 02/16] ibus: add recipe for ibus to support gnome-settings-daemon and gnome-shell brendank310
2018-10-29 22:33   ` Andreas Müller
2018-10-30  2:38   ` Khem Raj
2018-10-30 11:24   ` Burton, Ross
2018-11-08 17:27     ` Brendan Kerrigan
2018-11-08 18:32       ` Khem Raj
2018-11-08 23:12       ` Burton, Ross
2018-11-08 23:13       ` Burton, Ross
2018-10-29 16:41 ` [RFC meta-gnome][PATCH 03/16] gjs: add a recipe for gjs (Gnome JavaScript engine) brendank310
2018-10-29 18:07   ` Burton, Ross
2018-10-29 18:28     ` Brendan Kerrigan
2018-10-29 16:41 ` [RFC meta-gnome][PATCH 04/16] accountsservice: add recipe for Accounts Service brendank310
2018-10-29 22:43   ` Andreas Müller
2018-10-30 11:48     ` Martin Jansa
2018-10-30 11:30   ` Burton, Ross
2018-10-29 16:41 ` [RFC meta-gnome][PATCH 05/16] lcms2: add recipe for Little Color Management System brendank310
2018-10-29 22:46   ` Andreas Müller
2018-10-30  2:41   ` Khem Raj
2018-10-30 11:22   ` Burton, Ross
2018-10-30 15:03     ` Brendan Kerrigan
2018-10-30 21:07       ` Khem Raj
2018-10-30 23:08       ` Andreas Müller
2018-10-29 16:41 ` brendank310 [this message]
2018-10-30  2:53   ` [RFC meta-gnome][PATCH 06/16] gnome-settings-daemon: add recipe for gnome-settings-daemon Khem Raj
2018-10-29 16:41 ` [RFC meta-gnome][PATCH 07/16] geocode-glib: add recipe for geocode-glib library brendank310
2018-10-30  2:52   ` Khem Raj
2018-10-30 11:16     ` Burton, Ross
2018-10-29 16:41 ` [RFC meta-gnome][PATCH 08/16] libgweather: add recipe for libgweather brendank310
2018-10-30  2:49   ` Khem Raj
2018-10-30 11:18   ` Burton, Ross
2018-10-29 16:41 ` [RFC meta-gnome][PATCH 09/16] gdm: add recipe for gdm (Gnome Desktop Manager) brendank310
2018-10-29 22:51   ` Andreas Müller
2018-10-30 11:33   ` Burton, Ross
2018-10-29 16:41 ` [RFC meta-gnome][PATCH 10/16] dconf-native: add dconf-native recipe brendank310
2018-10-29 18:06   ` Burton, Ross
2018-10-29 18:27     ` Brendan Kerrigan
2018-10-29 19:30       ` Khem Raj
2018-10-29 21:17         ` Burton, Ross
2018-10-29 16:41 ` [RFC meta-gnome][PATCH 11/16] libwacom: add recipe for libwacom brendank310
2018-10-29 16:41 ` [RFC meta-gnome][PATCH 12/16] mutter: add recipe for mutter window manager brendank310
2018-10-30  2:47   ` Khem Raj
2018-10-30 11:21   ` Burton, Ross
2018-10-29 16:41 ` [RFC meta-gnome][PATCH 13/16] gnome-shell: add recipe for gnome-shell brendank310
2018-10-30  2:44   ` Khem Raj
2018-10-30 11:20   ` Burton, Ross
2018-10-29 16:41 ` [RFC meta-gnome][PATCH 14/16] packagegroup-gnome3-base: add packagegroup for installing gnome3/gnome-shell brendank310
2018-10-29 23:03   ` Andreas Müller
2018-10-30 11:32   ` Burton, Ross
2018-10-30 12:00   ` Burton, Ross
2018-10-29 16:41 ` [RFC meta-gnome][PATCH 15/16] gnome-shell-extensions: add recipe for gnome-shell-extensions brendank310
2018-10-29 23:06   ` Andreas Müller
2018-10-30 11:31   ` Burton, Ross
2018-10-29 16:41 ` [RFC meta-gnome][PATCH 16/16] gnome-tweak-tool: add recipe for the GNOME Tweak tool brendank310
2018-10-29 23:09   ` Andreas Müller
2018-10-30  2:32   ` Khem Raj
2018-10-30 11:54     ` Burton, Ross
2018-10-29 22:34 ` [RFC meta-gnome][PATCH 00/16] Add gnome-shell support Andreas Müller
2018-10-31 13:17   ` Brendan Kerrigan
2018-10-31 13:30     ` Andreas Müller
2018-11-06 20:11 ` Alexander Kanavin
2018-11-07 20:24   ` Khem Raj

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=16012ad2ea09d37fb7a9b8ad4b0c0f01e641d821.1540830650.git.brendank310@gmail.com \
    --to=brendank310@gmail.com \
    --cc=openembedded-devel@lists.openembedded.org \
    --cc=schnitzeltony@googlemail.com \
    /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.