From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 96A7C138334 for ; Sun, 10 Jun 2018 19:19:35 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4C096E08DA; Sun, 10 Jun 2018 19:19:34 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E06FFE08DA for ; Sun, 10 Jun 2018 19:19:33 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 90B2B335C8D for ; Sun, 10 Jun 2018 19:19:31 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 987CF29E for ; Sun, 10 Jun 2018 19:19:29 +0000 (UTC) From: "Sobhan Mohammadpour" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sobhan Mohammadpour" Message-ID: <1528658361.16d3ce46a6c8c50ba5e96871a6a278d462846887.sobhan@gentoo> Subject: [gentoo-commits] proj/gnome:master commit in: gnome-extra/gnome-tweak-tool/, gnome-extra/gnome-tweak-tool/files/ X-VCS-Repository: proj/gnome X-VCS-Files: gnome-extra/gnome-tweak-tool/files/gnome-tweak-tool-3.26.4-gentoo-cursor-themes.patch gnome-extra/gnome-tweak-tool/gnome-tweak-tool-3.26.4.ebuild X-VCS-Directories: gnome-extra/gnome-tweak-tool/files/ gnome-extra/gnome-tweak-tool/ X-VCS-Committer: sobhan X-VCS-Committer-Name: Sobhan Mohammadpour X-VCS-Revision: 16d3ce46a6c8c50ba5e96871a6a278d462846887 X-VCS-Branch: master Date: Sun, 10 Jun 2018 19:19:29 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 78ed86d0-d10f-4101-9e47-cb47bc816b9b X-Archives-Hash: 7e6122d179828a6f4c0f8c9a10486565 commit: 16d3ce46a6c8c50ba5e96871a6a278d462846887 Author: Sobhan Mohammadpour gentoo org> AuthorDate: Sun Jun 10 19:19:21 2018 +0000 Commit: Sobhan Mohammadpour gentoo org> CommitDate: Sun Jun 10 19:19:21 2018 +0000 URL: https://gitweb.gentoo.org/proj/gnome.git/commit/?id=16d3ce46 gnome-extra/gnome-tweak-tool: 3.24.1 -> 3.26.4 Package-Manager: Portage-2.3.36, Repoman-2.3.9 Manifest-Sign-Key: 0x7DF238CF0AA182E1 ...me-tweak-tool-3.26.4-gentoo-cursor-themes.patch | 26 ++++++++ .../gnome-tweak-tool-3.26.4.ebuild | 75 ++++++++++++++++++++++ 2 files changed, 101 insertions(+) diff --git a/gnome-extra/gnome-tweak-tool/files/gnome-tweak-tool-3.26.4-gentoo-cursor-themes.patch b/gnome-extra/gnome-tweak-tool/files/gnome-tweak-tool-3.26.4-gentoo-cursor-themes.patch new file mode 100644 index 00000000..a974b4f0 --- /dev/null +++ b/gnome-extra/gnome-tweak-tool/files/gnome-tweak-tool-3.26.4-gentoo-cursor-themes.patch @@ -0,0 +1,26 @@ +From dd1a9a03cb424fe9fcded3c6e0ba4505e04e8cec Mon Sep 17 00:00:00 2001 +From: Sobhan Mohammadpour +Date: Sun, 10 Jun 2018 22:12:59 +0430 +Subject: [PATCH] update gnome-tweak-tool-3.10.1-gentoo-cursor-themes patch + +--- + gtweak/tweaks/tweak_group_appearance.py | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/gtweak/tweaks/tweak_group_appearance.py b/gtweak/tweaks/tweak_group_appearance.py +index 05d13e9..920df59 100644 +--- a/gtweak/tweaks/tweak_group_appearance.py ++++ b/gtweak/tweaks/tweak_group_appearance.py +@@ -89,7 +89,8 @@ class CursorThemeSwitcher(GSettingsComboTweak): + def _get_valid_cursor_themes(self): + dirs = ( os.path.join(gtweak.DATA_DIR, "icons"), + os.path.join(GLib.get_user_data_dir(), "icons"), +- os.path.join(os.path.expanduser("~"), ".icons")) ++ os.path.join(os.path.expanduser("~"), ".icons"), ++ os.path.join(gtweak.DATA_DIR, "cursors", "xorg-x11")) + valid = walk_directories(dirs, lambda d: + os.path.isdir(d) and \ + os.path.exists(os.path.join(d, "cursors"))) +-- +2.17.0 + diff --git a/gnome-extra/gnome-tweak-tool/gnome-tweak-tool-3.26.4.ebuild b/gnome-extra/gnome-tweak-tool/gnome-tweak-tool-3.26.4.ebuild new file mode 100644 index 00000000..ca70d152 --- /dev/null +++ b/gnome-extra/gnome-tweak-tool/gnome-tweak-tool-3.26.4.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +GNOME2_LA_PUNT="yes" +PYTHON_COMPAT=( python3_{4,5,6} ) + +inherit gnome-meson python-r1 + +DESCRIPTION="Tool to customize GNOME 3 options" +HOMEPAGE="https://wiki.gnome.org/action/show/Apps/GnomeTweakTool" + +LICENSE="GPL-2+" +SLOT="0" + +IUSE="" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +KEYWORDS="~amd64 ~ia64 ~x86" + +COMMON_DEPEND=" + ${PYTHON_DEPS} + dev-libs/glib:2[dbus] + >=dev-python/pygobject-3.10.2:3[${PYTHON_USEDEP}] + >=gnome-base/gsettings-desktop-schemas-3.23.3 +" +# g-s-d, gnome-desktop, gnome-shell etc. needed at runtime for the gsettings schemas +RDEPEND="${COMMON_DEPEND} + >=gnome-base/gnome-desktop-3.6.0.1:3=[introspection] + >=x11-libs/gtk+-3.12:3[introspection] + + net-libs/libsoup:2.4[introspection] + x11-libs/libnotify[introspection] + + >=gnome-base/gnome-settings-daemon-3 + >=gnome-base/gnome-shell-3.24 + >=gnome-base/nautilus-3 +" +DEPEND="${COMMON_DEPEND} + sys-devel/gettext + >=dev-util/intltool-0.40.0 + virtual/pkgconfig +" +run_in_sane_meson_variables() { + local EMESON_SOURCE + EMESON_SOURCE=${BUILD_DIR} + BUILD_DIR="${BUILD_DIR}-build" + "$@" + BUILD_DIR=${EMESON_SOURCE} +} + +src_prepare() { + # Add contents of Gentoo's cursor theme directory to cursor theme list + eapply "${FILESDIR}/${PN}-3.26.4-gentoo-cursor-themes.patch" + + gnome-meson_src_prepare + python_copy_sources +} + +src_configure() { + python_foreach_impl run_in_build_dir run_in_sane_meson_variables gnome-meson_src_configure +} + +src_compile() { + python_foreach_impl run_in_build_dir run_in_sane_meson_variables gnome-meson_src_compile +} + +src_test() { + python_foreach_impl run_in_build_dir run_in_sane_meson_variables meson_src_test +} + +src_install() { + python_foreach_impl run_in_build_dir run_in_sane_meson_variables gnome-meson_src_install + python_foreach_impl run_in_build_dir python_doscript gnome-tweak-tool || die +}