1 |
commit: 721084917a979d3c10bfb689205dcb9656190ae9 |
2 |
Author: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Sep 8 16:50:59 2019 +0000 |
4 |
Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Sep 8 16:51:13 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72108491 |
7 |
|
8 |
gnome-base/gnome-settings-daemon: bump to 3.32.1 |
9 |
|
10 |
Package-Manager: Portage-2.3.69, Repoman-2.3.12 |
11 |
Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org> |
12 |
|
13 |
gnome-base/gnome-settings-daemon/Manifest | 2 + |
14 |
.../gnome-settings-daemon-3.32.1.ebuild | 135 +++++++++++++++++++++ |
15 |
2 files changed, 137 insertions(+) |
16 |
|
17 |
diff --git a/gnome-base/gnome-settings-daemon/Manifest b/gnome-base/gnome-settings-daemon/Manifest |
18 |
index a15f3b30aa5..2a6ee2053d5 100644 |
19 |
--- a/gnome-base/gnome-settings-daemon/Manifest |
20 |
+++ b/gnome-base/gnome-settings-daemon/Manifest |
21 |
@@ -1,2 +1,4 @@ |
22 |
DIST gnome-settings-daemon-3.30.2-patchset.tar.xz 20132 BLAKE2B b8f2573e806ee5aedcc1476de3550cdc39933c869d64c9d13e463cdf27fa7695e69e57612738fa5438988eda78ae998808508c94fbf841ec037eb1f103921458 SHA512 7318029f4145379b05f7a95686917b4ea7623fd0059559930072350db12170d6083d75c170578516bcede5282da677013086c343abe779b9d1696bd882b7e34d |
23 |
DIST gnome-settings-daemon-3.30.2.tar.xz 1376776 BLAKE2B a7cf276c5a802b7d9a6f738048b5bc34d97f79723c6f4cfb4f29ac3ed0f43e307cbdd6793e8d8115f51981ee576737d75c58531dcd5d0779d9f3670b68523a60 SHA512 517cb6bab3da10d5d47ab9c9690da3fa23e64d023d01b7cc101441f6b65639f3b6c8d0a0d19da80b22924b3dbe6430b2573fb861060f02fda248b24f00be5d84 |
24 |
+DIST gnome-settings-daemon-3.32.1-patchset.tar.xz 9840 BLAKE2B 0b0249b6335fc64c111cfd4c221b408460105bd544527ca29a32b2ceb82d39c1ca8c9813916cde9afdac1cf146c1286ed937dadb07eb0263b5ab3ada2a95e0aa SHA512 175f4d0200b88b696b73fc7e7b10065b3e6f046e48955408cc438499fdc6464483420b4801dbb77b5ae819cb52a131e2594a628b9731eaa167b802b5b2cbe855 |
25 |
+DIST gnome-settings-daemon-3.32.1.tar.xz 1372968 BLAKE2B ba0596d9f2019f2ecff32b70c03d962dd7966c282d1fb0ea94c38fc895b7ef788d9dd179a037b74a319ca520811e985465578a725bf14d1eff92846f188445ea SHA512 8d6aca1041cbd50d7dda67dc711269a51c4a5148d55dc63969f47c21bf309126f5d5cb13c1e6fa9e6498fbb30dc70fa7a049fead7d32c6a20d550da0ce8828c3 |
26 |
|
27 |
diff --git a/gnome-base/gnome-settings-daemon/gnome-settings-daemon-3.32.1.ebuild b/gnome-base/gnome-settings-daemon/gnome-settings-daemon-3.32.1.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..92e5c92709b |
30 |
--- /dev/null |
31 |
+++ b/gnome-base/gnome-settings-daemon/gnome-settings-daemon-3.32.1.ebuild |
32 |
@@ -0,0 +1,135 @@ |
33 |
+# Copyright 1999-2019 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=6 |
37 |
+PYTHON_COMPAT=( python{3_5,3_6,3_7} ) |
38 |
+ |
39 |
+inherit gnome.org gnome2-utils python-any-r1 meson udev virtualx xdg |
40 |
+ |
41 |
+DESCRIPTION="Gnome Settings Daemon" |
42 |
+HOMEPAGE="https://gitlab.gnome.org/GNOME/gnome-settings-daemon" |
43 |
+SRC_URI+=" https://dev.gentoo.org/~leio/distfiles/${P}-patchset.tar.xz" |
44 |
+ |
45 |
+LICENSE="GPL-2+ LGPL-2+" |
46 |
+SLOT="0" |
47 |
+IUSE="+colord +cups debug elogind input_devices_wacom networkmanager smartcard systemd test +udev wayland" |
48 |
+REQUIRED_USE=" |
49 |
+ ^^ ( elogind systemd ) |
50 |
+ input_devices_wacom? ( udev ) |
51 |
+ wayland? ( udev ) |
52 |
+" |
53 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x86-solaris" |
54 |
+ |
55 |
+# >=polkit-0.114 for ITS translation rules of .policy files |
56 |
+COMMON_DEPEND=" |
57 |
+ >=sci-geosciences/geocode-glib-3.10 |
58 |
+ >=dev-libs/glib-2.56:2 |
59 |
+ >=gnome-base/gnome-desktop-3.11.1:3= |
60 |
+ >=gnome-base/gsettings-desktop-schemas-3.27.90 |
61 |
+ >=x11-libs/gtk+-3.15.3:3[X,wayland?] |
62 |
+ >=dev-libs/libgweather-3.9.5:2= |
63 |
+ colord? ( |
64 |
+ >=x11-misc/colord-1.0.2:= |
65 |
+ >=media-libs/lcms-2.2:2 ) |
66 |
+ media-libs/libcanberra[gtk3] |
67 |
+ >=app-misc/geoclue-2.3.1:2.0 |
68 |
+ >=x11-libs/libnotify-0.7.3 |
69 |
+ >=media-sound/pulseaudio-2[glib] |
70 |
+ >=sys-auth/polkit-0.114 |
71 |
+ >=sys-power/upower-0.99:= |
72 |
+ x11-libs/libX11 |
73 |
+ udev? ( virtual/libgudev:= ) |
74 |
+ wayland? ( dev-libs/wayland ) |
75 |
+ input_devices_wacom? ( >=dev-libs/libwacom-0.7 |
76 |
+ >=x11-libs/pango-1.20.0 |
77 |
+ x11-libs/gdk-pixbuf:2 ) |
78 |
+ smartcard? ( >=dev-libs/nss-3.11.2 ) |
79 |
+ cups? ( >=net-print/cups-1.4[dbus] ) |
80 |
+ networkmanager? ( >=net-misc/networkmanager-1.0 ) |
81 |
+ media-libs/alsa-lib |
82 |
+ x11-libs/libXi |
83 |
+ x11-libs/libXext |
84 |
+ media-libs/fontconfig |
85 |
+" |
86 |
+# logind needed for power and session management, bug #464944 |
87 |
+# gnome-session-3.27.90 and gdm-3.27.9 adapt to A11yKeyboard component removal (moved to shell dealing with it) |
88 |
+RDEPEND="${COMMON_DEPEND} |
89 |
+ gnome-base/dconf |
90 |
+ elogind? ( sys-auth/elogind ) |
91 |
+ systemd? ( sys-apps/systemd ) |
92 |
+ !<gnome-base/gnome-session-3.27.90 |
93 |
+ !<gnome-base/gdm-3.27.90 |
94 |
+" |
95 |
+# rfkill requires linux/rfkill.h (and USE=udev), thus linux-headers dep, not os-headers. If this package wants to work on other kernels, we need to make rfkill conditional instead |
96 |
+DEPEND="${COMMON_DEPEND} |
97 |
+ sys-kernel/linux-headers |
98 |
+ dev-util/glib-utils |
99 |
+ dev-util/gdbus-codegen |
100 |
+ x11-base/xorg-proto |
101 |
+ ${PYTHON_DEPS} |
102 |
+ test? ( |
103 |
+ $(python_gen_any_dep 'dev-python/pygobject:3[${PYTHON_USEDEP}]') |
104 |
+ $(python_gen_any_dep 'dev-python/dbusmock[${PYTHON_USEDEP}]') |
105 |
+ gnome-base/gnome-session ) |
106 |
+ >=sys-devel/gettext-0.19.8 |
107 |
+ virtual/pkgconfig |
108 |
+" |
109 |
+ |
110 |
+# Tests go a bit better in 3.26, but still fail some for me; revisit with 3.30+ (incompatible build system python needs until then as well) |
111 |
+#RESTRICT="!test? ( test )" |
112 |
+ |
113 |
+PATCHES=( |
114 |
+ # Translation updates from gnome-3-30 branch |
115 |
+ # Allow disabling udev and networkmanager on Linux |
116 |
+ # Make colord and wacom optional |
117 |
+ "${WORKDIR}"/patches/ |
118 |
+) |
119 |
+ |
120 |
+python_check_deps() { |
121 |
+ if use test; then |
122 |
+ has_version "dev-python/pygobject:3[${PYTHON_USEDEP}]" && |
123 |
+ has_version "dev-python/dbusmock[${PYTHON_USEDEP}]" |
124 |
+ fi |
125 |
+} |
126 |
+ |
127 |
+pkg_setup() { |
128 |
+ python-any-r1_pkg_setup |
129 |
+} |
130 |
+ |
131 |
+src_configure() { |
132 |
+ local emesonargs=( |
133 |
+ #-Dnssdb_dir # TODO: Is the default /etc/pki/nssdb path correct for our nss? |
134 |
+ -Dudev_dir="$(get_udevdir)" |
135 |
+ -Dalsa=true |
136 |
+ $(meson_use udev gudev) |
137 |
+ $(meson_use colord) |
138 |
+ $(meson_use cups) |
139 |
+ $(meson_use networkmanager network_manager) |
140 |
+ $(meson_use udev rfkill) |
141 |
+ $(meson_use smartcard) |
142 |
+ $(meson_use input_devices_wacom wacom) |
143 |
+ $(meson_use wayland) |
144 |
+ ) |
145 |
+ meson_src_configure |
146 |
+} |
147 |
+ |
148 |
+src_install() { |
149 |
+ meson_src_install |
150 |
+ # Don't auto-suspend by default on AC power |
151 |
+ insinto /usr/share/glib-2.0/schemas |
152 |
+ doins "${FILESDIR}"/org.gnome.settings-daemon.plugins.power.gschema.override |
153 |
+} |
154 |
+ |
155 |
+src_test() { |
156 |
+ virtx meson_src_test |
157 |
+} |
158 |
+ |
159 |
+pkg_postinst() { |
160 |
+ xdg_pkg_postinst |
161 |
+ gnome2_schemas_update |
162 |
+} |
163 |
+ |
164 |
+pkg_postrm() { |
165 |
+ xdg_pkg_postrm |
166 |
+ gnome2_schemas_update |
167 |
+} |