diff options
| author | Andreas Müller <schnitzeltony@gmail.com> | 2019-12-16 02:20:47 +0100 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2019-12-16 08:38:35 -0800 |
| commit | d06a5b3f080bc58d3a67eb5b02d5aad17999bd82 (patch) | |
| tree | 65e97845c402019b7a59b8fb91964ec358e17f9a /meta-gnome | |
| parent | 5796a9ff4538bdf8a37acfee08e129967eb35c3c (diff) | |
| download | meta-openembedded-d06a5b3f080bc58d3a67eb5b02d5aad17999bd82.tar.gz | |
gnome-tweaks: initial add 3.34.0
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.
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-gnome')
3 files changed, 74 insertions, 0 deletions
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 0000000000..8129f85a4d --- /dev/null +++ b/meta-gnome/recipes-gnome/gnome-tweaks/gnome-tweaks/0001-Make-python-path-configurable.patch | |||
| @@ -0,0 +1,41 @@ | |||
| 1 | From db94983c93f38bd8494b47d9fa1b3e5368dc9abe Mon Sep 17 00:00:00 2001 | ||
| 2 | From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com> | ||
| 3 | Date: Wed, 11 Dec 2019 01:34:01 +0100 | ||
| 4 | Subject: [PATCH] Make python path configurable | ||
| 5 | MIME-Version: 1.0 | ||
| 6 | Content-Type: text/plain; charset=UTF-8 | ||
| 7 | Content-Transfer-Encoding: 8bit | ||
| 8 | |||
| 9 | Upstream-Status: Inappropriate [Configuration] | ||
| 10 | |||
| 11 | Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> | ||
| 12 | --- | ||
| 13 | meson.build | 2 +- | ||
| 14 | meson_options.txt | 2 ++ | ||
| 15 | 2 files changed, 3 insertions(+), 1 deletion(-) | ||
| 16 | create mode 100644 meson_options.txt | ||
| 17 | |||
| 18 | diff --git a/meson.build b/meson.build | ||
| 19 | index b7da518..d58fb5b 100644 | ||
| 20 | --- a/meson.build | ||
| 21 | +++ b/meson.build | ||
| 22 | @@ -13,7 +13,7 @@ bindir = join_paths(prefix, get_option('bindir')) | ||
| 23 | datadir = join_paths(prefix, get_option('datadir')) | ||
| 24 | libexecdir = join_paths(prefix, get_option('libexecdir')) | ||
| 25 | localedir = join_paths(prefix, get_option('localedir')) | ||
| 26 | -pythondir = join_paths(prefix, python3.sysconfig_path('purelib')) | ||
| 27 | +pythondir = get_option('python_site_dir') | ||
| 28 | |||
| 29 | pkgdatadir = join_paths(datadir, meson.project_name()) | ||
| 30 | |||
| 31 | diff --git a/meson_options.txt b/meson_options.txt | ||
| 32 | new file mode 100644 | ||
| 33 | index 0000000..03455ca | ||
| 34 | --- /dev/null | ||
| 35 | +++ b/meson_options.txt | ||
| 36 | @@ -0,0 +1,2 @@ | ||
| 37 | +option('python_site_dir', type: 'string', value: '') | ||
| 38 | + | ||
| 39 | -- | ||
| 40 | 2.21.0 | ||
| 41 | |||
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 0000000000..af4c8c6418 --- /dev/null +++ b/meta-gnome/recipes-gnome/gnome-tweaks/gnome-tweaks_3.34.0.bb | |||
| @@ -0,0 +1,32 @@ | |||
| 1 | SUMMARY = "GNOME tweaks: Advanced options for GNOME 3 session" | ||
| 2 | LICENSE = "GPLv3 & CC0-1.0" | ||
| 3 | LIC_FILES_CHKSUM = " \ | ||
| 4 | file://LICENSES/CC0-1.0;md5=65d3616852dbf7b1a6d4b53b00626032 \ | ||
| 5 | file://LICENSES/GPL-3.0;md5=9eef91148a9b14ec7f9df333daebc746 \ | ||
| 6 | " | ||
| 7 | |||
| 8 | DEPENDS = "libhandy" | ||
| 9 | |||
| 10 | GNOMEBASEBUILDCLASS = "meson" | ||
| 11 | |||
| 12 | inherit gnomebase gtk-icon-cache gobject-introspection features_check upstream-version-is-even | ||
| 13 | |||
| 14 | # same as gnome-shell | ||
| 15 | REQUIRED_DISTRO_FEATURES = "x11 polkit systemd pam" | ||
| 16 | |||
| 17 | # gobject-introspection is mandatory and cannot be configured | ||
| 18 | REQUIRED_DISTRO_FEATURES += "gobject-introspection-data" | ||
| 19 | UNKNOWN_CONFIGURE_WHITELIST_append = " introspection" | ||
| 20 | |||
| 21 | SRC_URI[archive.md5sum] = "a625d8b167c5549c68e1c6ac7a87d369" | ||
| 22 | SRC_URI[archive.sha256sum] = "003326fab46e6faad9485924bca503f0c583e3b4553d6f673406eda396205250" | ||
| 23 | SRC_URI += "file://0001-Make-python-path-configurable.patch" | ||
| 24 | |||
| 25 | EXTRA_OEMESON = "-Dpython_site_dir=${PYTHON_SITEPACKAGES_DIR}" | ||
| 26 | |||
| 27 | FILES_${PN} += " \ | ||
| 28 | ${datadir}/metainfo \ | ||
| 29 | ${PYTHON_SITEPACKAGES_DIR} \ | ||
| 30 | " | ||
| 31 | |||
| 32 | 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 e27678c895..3c333fe005 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} = " \ | |||
| 21 | gnome-settings-daemon \ | 21 | gnome-settings-daemon \ |
| 22 | gnome-shell \ | 22 | gnome-shell \ |
| 23 | gnome-shell-extensions \ | 23 | gnome-shell-extensions \ |
| 24 | gnome-tweaks \ | ||
| 24 | gmime \ | 25 | gmime \ |
| 25 | gvfs gvfsd-ftp gvfsd-sftp gvfsd-trash \ | 26 | gvfs gvfsd-ftp gvfsd-sftp gvfsd-trash \ |
| 26 | " | 27 | " |
