Gentoo Archives: gentoo-commits

From: Matt Turner <mattst88@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: profiles/, gnome-base/gnome-settings-daemon/
Date: Sat, 01 Oct 2022 19:24:03
Message-Id: 1664652033.ad1c04250a23c795bd016bf50e7f94e30bce3abd.mattst88@gentoo
1 commit: ad1c04250a23c795bd016bf50e7f94e30bce3abd
2 Author: Pascal Jäger <pascal.jaeger <AT> leimstift <DOT> de>
3 AuthorDate: Sun Sep 18 15:22:56 2022 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Sat Oct 1 19:20:33 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad1c0425
7
8 gnome-base/gnome-settings-daemon: Version bump to 43.0
9
10 * (mattst88): Always enable udev; drop IUSE=udev.
11
12 Closes: https://github.com/gentoo/gentoo/pull/27327
13 Signed-off-by: Pascal Jäger <pascal.jaeger <AT> leimstift.de>
14 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
15
16 gnome-base/gnome-settings-daemon/Manifest | 1 +
17 .../gnome-settings-daemon-43.0.ebuild | 142 +++++++++++++++++++++
18 profiles/package.mask | 1 +
19 3 files changed, 144 insertions(+)
20
21 diff --git a/gnome-base/gnome-settings-daemon/Manifest b/gnome-base/gnome-settings-daemon/Manifest
22 index af87221f2ec3..ca47f78f7e6c 100644
23 --- a/gnome-base/gnome-settings-daemon/Manifest
24 +++ b/gnome-base/gnome-settings-daemon/Manifest
25 @@ -1 +1,2 @@
26 DIST gnome-settings-daemon-42.2.tar.xz 1483864 BLAKE2B c2051f129e66df8ca55eb72b0c3a037275c89d3c519fe01822aa4ad2309af9a27e840f4f797a8ecac8e0767d8e7894ffe9c5942840b0ca57536325e3cbe12617 SHA512 66f1e766a7d1c36d4609c9505ba5d99516505ecfc5123483a3cbc6189d21cce23abf26da067bf9c05c3c25bc96d4568a8b07477f0722b0cb9442085f6d886e5c
27 +DIST gnome-settings-daemon-43.0.tar.xz 1453808 BLAKE2B 365a1fe4d253e84b9fc355331688951e1428eaee421afbe052a16226c7006a420f28134b5fa02929bbb1d4250af243b02594444a4bdd208e5c41ed9e63e5f979 SHA512 8cc3ed73fa66d2cf72621db78be68e4fe01f292ab3987aff8cc67a1c67d910622e306c2d3e69a8dca5ac6517c8e57883faf02aec871c7aa1f1348d13ff1900a3
28
29 diff --git a/gnome-base/gnome-settings-daemon/gnome-settings-daemon-43.0.ebuild b/gnome-base/gnome-settings-daemon/gnome-settings-daemon-43.0.ebuild
30 new file mode 100644
31 index 000000000000..6adc96239da0
32 --- /dev/null
33 +++ b/gnome-base/gnome-settings-daemon/gnome-settings-daemon-43.0.ebuild
34 @@ -0,0 +1,142 @@
35 +# Copyright 1999-2022 Gentoo Authors
36 +# Distributed under the terms of the GNU General Public License v2
37 +
38 +EAPI=8
39 +PYTHON_COMPAT=( python3_{8..11} )
40 +
41 +inherit gnome.org gnome2-utils python-any-r1 meson udev virtualx xdg
42 +
43 +DESCRIPTION="Gnome Settings Daemon"
44 +HOMEPAGE="https://gitlab.gnome.org/GNOME/gnome-settings-daemon"
45 +
46 +LICENSE="GPL-2+ LGPL-2+"
47 +SLOT="0"
48 +IUSE="+colord +cups debug elogind input_devices_wacom modemmanager networkmanager smartcard systemd test wayland"
49 +RESTRICT="!test? ( test )"
50 +REQUIRED_USE="^^ ( elogind systemd )"
51 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~x86-solaris"
52 +
53 +COMMON_DEPEND="
54 + >=sci-geosciences/geocode-glib-3.10:2
55 + >=dev-libs/glib-2.58:2
56 + >=gnome-base/gnome-desktop-3.37.1:3=
57 + >=gnome-base/gsettings-desktop-schemas-42
58 + >=x11-libs/gtk+-3.15.3:3[X,wayland?]
59 + >=dev-libs/libgweather-4.2.0:4=
60 + colord? (
61 + >=x11-misc/colord-1.4.5:=
62 + >=media-libs/lcms-2.2:2
63 + )
64 + media-libs/libcanberra[gtk3]
65 + >=app-misc/geoclue-2.3.1:2.0
66 + >=x11-libs/libnotify-0.7.3
67 + >=media-sound/pulseaudio-12.99.3[glib]
68 + >=sys-auth/polkit-0.114
69 + >=sys-power/upower-0.99.12:=
70 + x11-libs/libX11
71 + >=x11-libs/libXfixes-6.0.0
72 + dev-libs/libgudev:=
73 + wayland? ( dev-libs/wayland )
74 + input_devices_wacom? (
75 + >=dev-libs/libwacom-0.7:=
76 + >=x11-libs/pango-1.20.0
77 + x11-libs/gdk-pixbuf:2
78 + )
79 + smartcard? ( >=dev-libs/nss-3.11.2 )
80 + cups? ( >=net-print/cups-1.4[dbus] )
81 + modemmanager? (
82 + >=app-crypt/gcr-3.90.0:4=
83 + >=net-misc/modemmanager-1.0:=
84 + )
85 + networkmanager? ( >=net-misc/networkmanager-1.0 )
86 + media-libs/alsa-lib
87 + x11-libs/libXi
88 + x11-libs/libXext
89 + media-libs/fontconfig
90 + systemd? (
91 + >=sys-apps/systemd-243
92 + )
93 +"
94 +DEPEND="${COMMON_DEPEND}
95 + x11-base/xorg-proto
96 +"
97 +# logind needed for power and session management, bug #464944
98 +RDEPEND="${COMMON_DEPEND}
99 + gnome-base/dconf
100 + elogind? ( sys-auth/elogind )
101 +"
102 +# rfkill requires linux/rfkill.h, thus linux-headers dep, not os-headers. If this package wants to work on other kernels, we need to make rfkill conditional instead
103 +BDEPEND="
104 + sys-kernel/linux-headers
105 + dev-util/glib-utils
106 + dev-util/gdbus-codegen
107 + ${PYTHON_DEPS}
108 + test? (
109 + $(python_gen_any_dep '
110 + dev-python/pygobject:3[${PYTHON_USEDEP}]
111 + dev-python/python-dbusmock[${PYTHON_USEDEP}]
112 + ')
113 + gnome-base/gnome-session
114 + )
115 + >=sys-devel/gettext-0.19.8
116 + virtual/pkgconfig
117 +"
118 +
119 +PATCHES=(
120 + "${FILESDIR}"/42.1-build-Make-wacom-optional-and-controllable-via-meson.patch
121 + "${FILESDIR}"/${PN}-3.38.1-build-Allow-NM-optional-on-Linux.patch
122 +)
123 +
124 +python_check_deps() {
125 + if use test; then
126 + python_has_version "dev-python/pygobject:3[${PYTHON_USEDEP}]" &&
127 + python_has_version "dev-python/python-dbusmock[${PYTHON_USEDEP}]"
128 + fi
129 +}
130 +
131 +pkg_setup() {
132 + python-any-r1_pkg_setup
133 +}
134 +
135 +src_configure() {
136 + local emesonargs=(
137 + #-Dnssdb_dir # TODO: Is the default /etc/pki/nssdb path correct for our nss?
138 + -Dudev_dir="$(get_udevdir)"
139 + $(meson_use systemd)
140 + -Dalsa=true
141 + -Dgudev=true
142 + -Dgcr3=false
143 + $(meson_use colord)
144 + $(meson_use cups)
145 + $(meson_use networkmanager network_manager)
146 + -Drfkill=true
147 + $(meson_use smartcard)
148 + $(meson_use input_devices_wacom wacom)
149 + $(meson_use wayland)
150 + $(meson_use modemmanager wwan)
151 + )
152 + meson_src_configure
153 +}
154 +
155 +src_install() {
156 + meson_src_install
157 + # Don't auto-suspend by default on AC power
158 + insinto /usr/share/glib-2.0/schemas
159 + doins "${FILESDIR}"/org.gnome.settings-daemon.plugins.power.gschema.override
160 +}
161 +
162 +src_test() {
163 + virtx meson_src_test
164 +}
165 +
166 +pkg_postinst() {
167 + udev_reload
168 + xdg_pkg_postinst
169 + gnome2_schemas_update
170 +}
171 +
172 +pkg_postrm() {
173 + udev_reload
174 + xdg_pkg_postrm
175 + gnome2_schemas_update
176 +}
177
178 diff --git a/profiles/package.mask b/profiles/package.mask
179 index 87b843112a17..698a797459b5 100644
180 --- a/profiles/package.mask
181 +++ b/profiles/package.mask
182 @@ -426,6 +426,7 @@ sys-devel/automake:1.11
183 >=dev-libs/libgweather-4.2.0
184 >=dev-util/devhelp-43
185 >=gnome-base/gnome-desktop-43
186 +>=gnome-base/gnome-settings-daemon-43
187 >=gnome-base/gnome-shell-43
188 >=gnome-base/nautilus-43
189 >=gnome-extra/evolution-data-server-3.46