[oe] [PATCH 6/6] gnome-tweaks: initial add 3.34.0

Andreas Müller schnitzeltony at gmail.com
Mon Dec 16 01:45:03 UTC 2019


On Mon, Dec 16, 2019 at 2:21 AM Andreas Müller <schnitzeltony at gmail.com> wrote:
>
> It runs but the area I did it for 'Startup Applications'is empty and I would
> like to disable some and see how gnome stores this.
The more I looked at this it seems we have a misunderstanding
GNOME-people: I don't want to add additional I want to remove as I was
used to in XFCE (and presumed - wrongly? - other desktops would
listen)
>
> Signed-off-by: Andreas Müller <schnitzeltony at gmail.com>
> ---
>  .../0001-Make-python-path-configurable.patch  | 41 +++++++++++++++++++
>  .../gnome-tweaks/gnome-tweaks_3.34.0.bb       | 32 +++++++++++++++
>  .../packagegroup-gnome-desktop.bb             |  1 +
>  3 files changed, 74 insertions(+)
>  create mode 100644 meta-gnome/recipes-gnome/gnome-tweaks/gnome-tweaks/0001-Make-python-path-configurable.patch
>  create mode 100644 meta-gnome/recipes-gnome/gnome-tweaks/gnome-tweaks_3.34.0.bb
>
> diff --git a/meta-gnome/recipes-gnome/gnome-tweaks/gnome-tweaks/0001-Make-python-path-configurable.patch b/meta-gnome/recipes-gnome/gnome-tweaks/gnome-tweaks/0001-Make-python-path-configurable.patch
> new file mode 100644
> index 000000000..8129f85a4
> --- /dev/null
> +++ b/meta-gnome/recipes-gnome/gnome-tweaks/gnome-tweaks/0001-Make-python-path-configurable.patch
> @@ -0,0 +1,41 @@
> +From db94983c93f38bd8494b47d9fa1b3e5368dc9abe Mon Sep 17 00:00:00 2001
> +From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony at gmail.com>
> +Date: Wed, 11 Dec 2019 01:34:01 +0100
> +Subject: [PATCH] Make python path configurable
> +MIME-Version: 1.0
> +Content-Type: text/plain; charset=UTF-8
> +Content-Transfer-Encoding: 8bit
> +
> +Upstream-Status: Inappropriate [Configuration]
> +
> +Signed-off-by: Andreas Müller <schnitzeltony at gmail.com>
> +---
> + meson.build       | 2 +-
> + meson_options.txt | 2 ++
> + 2 files changed, 3 insertions(+), 1 deletion(-)
> + create mode 100644 meson_options.txt
> +
> +diff --git a/meson.build b/meson.build
> +index b7da518..d58fb5b 100644
> +--- a/meson.build
> ++++ b/meson.build
> +@@ -13,7 +13,7 @@ bindir = join_paths(prefix, get_option('bindir'))
> + datadir = join_paths(prefix, get_option('datadir'))
> + libexecdir = join_paths(prefix, get_option('libexecdir'))
> + localedir = join_paths(prefix, get_option('localedir'))
> +-pythondir = join_paths(prefix, python3.sysconfig_path('purelib'))
> ++pythondir = get_option('python_site_dir')
> +
> + pkgdatadir = join_paths(datadir, meson.project_name())
> +
> +diff --git a/meson_options.txt b/meson_options.txt
> +new file mode 100644
> +index 0000000..03455ca
> +--- /dev/null
> ++++ b/meson_options.txt
> +@@ -0,0 +1,2 @@
> ++option('python_site_dir', type: 'string', value: '')
> ++
> +--
> +2.21.0
> +
> diff --git a/meta-gnome/recipes-gnome/gnome-tweaks/gnome-tweaks_3.34.0.bb b/meta-gnome/recipes-gnome/gnome-tweaks/gnome-tweaks_3.34.0.bb
> new file mode 100644
> index 000000000..af4c8c641
> --- /dev/null
> +++ b/meta-gnome/recipes-gnome/gnome-tweaks/gnome-tweaks_3.34.0.bb
> @@ -0,0 +1,32 @@
> +SUMMARY = "GNOME tweaks: Advanced options for GNOME 3 session"
> +LICENSE = "GPLv3 & CC0-1.0"
> +LIC_FILES_CHKSUM = " \
> +    file://LICENSES/CC0-1.0;md5=65d3616852dbf7b1a6d4b53b00626032 \
> +    file://LICENSES/GPL-3.0;md5=9eef91148a9b14ec7f9df333daebc746 \
> +"
> +
> +DEPENDS = "libhandy"
> +
> +GNOMEBASEBUILDCLASS = "meson"
> +
> +inherit gnomebase gtk-icon-cache gobject-introspection features_check upstream-version-is-even
> +
> +# same as gnome-shell
> +REQUIRED_DISTRO_FEATURES = "x11 polkit systemd pam"
> +
> +# gobject-introspection is mandatory and cannot be configured
> +REQUIRED_DISTRO_FEATURES += "gobject-introspection-data"
> +UNKNOWN_CONFIGURE_WHITELIST_append = " introspection"
> +
> +SRC_URI[archive.md5sum] = "a625d8b167c5549c68e1c6ac7a87d369"
> +SRC_URI[archive.sha256sum] = "003326fab46e6faad9485924bca503f0c583e3b4553d6f673406eda396205250"
> +SRC_URI += "file://0001-Make-python-path-configurable.patch"
> +
> +EXTRA_OEMESON = "-Dpython_site_dir=${PYTHON_SITEPACKAGES_DIR}"
> +
> +FILES_${PN} += " \
> +    ${datadir}/metainfo \
> +    ${PYTHON_SITEPACKAGES_DIR} \
> +"
> +
> +RDEPENDS_${PN} += "gnome-shell python3-core python3-logging libhandy"
> diff --git a/meta-gnome/recipes-support/packagegroups/packagegroup-gnome-desktop.bb b/meta-gnome/recipes-support/packagegroups/packagegroup-gnome-desktop.bb
> index e27678c89..3c333fe00 100644
> --- a/meta-gnome/recipes-support/packagegroups/packagegroup-gnome-desktop.bb
> +++ b/meta-gnome/recipes-support/packagegroups/packagegroup-gnome-desktop.bb
> @@ -21,6 +21,7 @@ RDEPENDS_${PN} = " \
>      gnome-settings-daemon \
>      gnome-shell \
>      gnome-shell-extensions \
> +    gnome-tweaks \
>      gmime \
>      gvfs gvfsd-ftp gvfsd-sftp gvfsd-trash \
>  "
> --
> 2.21.0
>


More information about the Openembedded-devel mailing list