Gentoo Archives: gentoo-commits

From: Matt Turner <mattst88@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: gnome-base/gnome-control-center/
Date: Sat, 09 Jan 2021 17:48:41
Message-Id: 1610214500.0788039778f9d0c9779953c72b966f5e52b50f93.mattst88@gentoo
1 commit: 0788039778f9d0c9779953c72b966f5e52b50f93
2 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jan 9 16:41:13 2021 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Sat Jan 9 17:48:20 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07880397
7
8 gnome-base/gnome-control-center: Version bump to 3.38.3
9
10 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
11
12 gnome-base/gnome-control-center/Manifest | 2 +
13 .../gnome-control-center-3.38.3.ebuild | 176 +++++++++++++++++++++
14 2 files changed, 178 insertions(+)
15
16 diff --git a/gnome-base/gnome-control-center/Manifest b/gnome-base/gnome-control-center/Manifest
17 index bcaa5cab164..485d59f5f05 100644
18 --- a/gnome-base/gnome-control-center/Manifest
19 +++ b/gnome-base/gnome-control-center/Manifest
20 @@ -1,2 +1,4 @@
21 DIST gnome-control-center-3.36.4-patchset.tar.xz 12320 BLAKE2B a387d793186c898a14d54060214fbd075389afe402b1ad937a00295eed339a529863752324ba26f691ad468f214acda60be5bc23167d95fdf842f26a24442e55 SHA512 6f11425f13590e7850114613efa82e8762bd62687839c9374d2618ab81a08f1abb871d2a8f452811e46fa53af7007167f7b9ca68e0822daee22e9de33e0be94b
22 DIST gnome-control-center-3.36.4.tar.xz 6304992 BLAKE2B 7c52faf2a9a0f642f24f59e2035ae57e7816d69c8ee639cde76db7d69f8063c9eff2e068b95710d13316c267b5cf6c6647cb1359ac592968b1c5021730081130 SHA512 e6c398256215a139042e5bb0db7c83fc0e39f99ab893760e37ba303ec4c932a37da352b92487ed1bdc61f2e8f61352c752b48ab549269e3f84e21a71cdf32abf
23 +DIST gnome-control-center-3.38.3-patchset.tar.xz 7308 BLAKE2B 72acdb825d48c7077d15f7273765db2ccbef89a839466a4482d9f6ae9eae3a2144556a048f2a6e146ea4e3435c13f0a72bf499c44d34bcbed505d6186d8bf008 SHA512 2498abd83e0100efa4c83886ce3e7f7d4468e41aab12c5338987832cb305c215abe75b4fff65217511bbe174b6b1b601af988c5588523e0346855aba7842092b
24 +DIST gnome-control-center-3.38.3.tar.xz 6434672 BLAKE2B e95a9a1c487e1a3d6a0e64c61fd9502d1983827ff0a26ed03a0e48339917ae49855016ac3699c3940764185041659d865db51fd95e19bbb588c62277218c609d SHA512 25b8ff6e44be5e679666ae44e12deedf5dbef9317089381cd2075efc2321abca91ac1ad268242fb16a0b7f411ad98d9ab50073f745060d6525e0648585333e3e
25
26 diff --git a/gnome-base/gnome-control-center/gnome-control-center-3.38.3.ebuild b/gnome-base/gnome-control-center/gnome-control-center-3.38.3.ebuild
27 new file mode 100644
28 index 00000000000..ea7b34ab2c8
29 --- /dev/null
30 +++ b/gnome-base/gnome-control-center/gnome-control-center-3.38.3.ebuild
31 @@ -0,0 +1,176 @@
32 +# Copyright 1999-2021 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=7
36 +PYTHON_COMPAT=( python3_{6..9} )
37 +
38 +inherit gnome.org gnome2-utils meson python-any-r1 xdg
39 +
40 +DESCRIPTION="GNOME's main interface to configure various aspects of the desktop"
41 +HOMEPAGE="https://git.gnome.org/browse/gnome-control-center/"
42 +SRC_URI+=" https://dev.gentoo.org/~mattst88/distfiles/${P}-patchset.tar.xz"
43 +
44 +LICENSE="GPL-2+"
45 +SLOT="2"
46 +IUSE="+bluetooth +cups debug elogind flickr +gnome-online-accounts +ibus input_devices_wacom kerberos networkmanager systemd test v4l wayland"
47 +RESTRICT="!test? ( test )"
48 +REQUIRED_USE="
49 + flickr? ( gnome-online-accounts )
50 + ^^ ( elogind systemd )
51 +" # Theoretically "?? ( elogind systemd )" is fine too, lacking some functionality at runtime, but needs testing if handled gracefully enough
52 +KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~x86"
53 +
54 +# kerberos unfortunately means mit-krb5; build fails with heimdal
55 +# display panel requires colord and gnome-settings-daemon[colord]
56 +# wacom panel requires gsd-enums.h from gsd at build time, probably also runtime support
57 +# printer panel requires cups and smbclient (the latter is not patched yet to be separately optional)
58 +# First block is toplevel meson.build deps in order of occurrence (plus deeper deps if in same conditional). Second block is dependency() from subdir meson.builds, sorted by directory name occurrence order
59 +DEPEND="
60 + >=gui-libs/libhandy-1:1=
61 + gnome-online-accounts? ( >=net-libs/gnome-online-accounts-3.25.3:= )
62 + >=media-sound/pulseaudio-2.0[glib]
63 + >=sys-apps/accountsservice-0.6.39
64 + >=x11-misc/colord-0.1.34:0=
65 + >=x11-libs/gdk-pixbuf-2.23.0:2
66 + >=dev-libs/glib-2.56.0:2
67 + >=gnome-base/gnome-desktop-3.27.90:3=
68 + >=gnome-base/gnome-settings-daemon-3.27.90[colord,input_devices_wacom?]
69 + >=gnome-base/gsettings-desktop-schemas-3.37.0
70 + dev-libs/libxml2:2
71 + >=sys-auth/polkit-0.114
72 + >=sys-power/upower-0.99.8:=
73 + >=dev-libs/libgudev-232
74 + x11-libs/libX11
75 + >=x11-libs/libXi-1.2
76 + media-libs/libepoxy
77 + flickr? ( >=media-libs/grilo-0.3.0:0.3= )
78 + >=x11-libs/gtk+-3.22.0:3[X,wayland=]
79 + cups? (
80 + >=net-print/cups-1.7[dbus]
81 + >=net-fs/samba-4.0.0[client]
82 + )
83 + v4l? (
84 + >=media-video/cheese-3.28.0 )
85 + ibus? ( >=app-i18n/ibus-1.5.2 )
86 + networkmanager? (
87 + >=net-libs/libnma-1.8.0
88 + >=net-misc/networkmanager-1.20.0:=[modemmanager]
89 + >=net-misc/modemmanager-0.7.990 )
90 + bluetooth? ( >=net-wireless/gnome-bluetooth-3.18.2:= )
91 + input_devices_wacom? ( >=dev-libs/libwacom-0.27 )
92 + kerberos? ( app-crypt/mit-krb5 )
93 +
94 + x11-libs/cairo[glib]
95 + >=x11-libs/colord-gtk-0.1.24
96 + net-libs/libsoup:2.4
97 + media-libs/fontconfig
98 + gnome-base/libgtop:2=
99 + >=sys-fs/udisks-2.1.8:2
100 + app-crypt/libsecret
101 + media-libs/gsound
102 + >=dev-libs/libpwquality-1.2.2
103 +"
104 +# systemd/elogind USE flagged because package manager will potentially try to satisfy a
105 +# "|| ( systemd ( elogind openrc-settingsd)" via systemd if openrc-settingsd isn't already installed.
106 +# libgnomekbd needed only for gkbd-keyboard-display tool
107 +# gnome-color-manager needed for gcm-calibrate and gcm-viewer calls from color panel
108 +# <gnome-color-manager-3.1.2 has file collisions with g-c-c-3.1.x
109 +#
110 +# mouse panel needs a concrete set of X11 drivers at runtime, bug #580474
111 +# Also we need newer driver versions to allow wacom and libinput drivers to
112 +# not collide
113 +#
114 +# system-config-printer provides org.fedoraproject.Config.Printing service and interface
115 +# cups-pk-helper provides org.opensuse.cupspkhelper.mechanism.all-edit policykit helper policy
116 +RDEPEND="${DEPEND}
117 + systemd? ( >=sys-apps/systemd-31 )
118 + elogind? ( app-admin/openrc-settingsd
119 + sys-auth/elogind )
120 + x11-themes/adwaita-icon-theme
121 + >=gnome-extra/gnome-color-manager-3.1.2
122 + cups? (
123 + app-admin/system-config-printer
124 + net-print/cups-pk-helper )
125 + >=gnome-base/libgnomekbd-3
126 + wayland? ( dev-libs/libinput )
127 + !wayland? (
128 + >=x11-drivers/xf86-input-libinput-0.19.0
129 + input_devices_wacom? ( >=x11-drivers/xf86-input-wacom-0.33.0 ) )
130 + flickr? ( media-plugins/grilo-plugins:0.3[flickr,gnome-online-accounts] )
131 +"
132 +# PDEPEND to avoid circular dependency; gnome-session-check-accelerated called by info panel
133 +# gnome-session-2.91.6-r1 also needed so that 10-user-dirs-update is run at login
134 +PDEPEND=">=gnome-base/gnome-session-2.91.6-r1
135 + networkmanager? ( gnome-extra/nm-applet )" # networking panel can call into nm-connection-editor
136 +
137 +BDEPEND="
138 + dev-libs/libxslt
139 + app-text/docbook-xsl-stylesheets
140 + app-text/docbook-xml-dtd:4.2
141 + x11-base/xorg-proto
142 + dev-libs/libxml2:2
143 + dev-util/gdbus-codegen
144 + dev-util/glib-utils
145 + >=sys-devel/gettext-0.19.8
146 + virtual/pkgconfig
147 + test? ( $(python_gen_any_dep '
148 + dev-python/dbusmock[${PYTHON_USEDEP}]
149 + ') )
150 +"
151 +
152 +PATCHES=(
153 + # Patches from gnome-3-38 branch on top of 3.38.3
154 + # Makes some panels and dependencies optional
155 + # https://bugzilla.gnome.org/686840, 697478, 700145
156 + # Fix some absolute paths to be appropriate for Gentoo
157 + "${WORKDIR}"/patches/
158 +)
159 +
160 +python_check_deps() {
161 + use test && \
162 + has_version "dev-python/dbusmock[${PYTHON_USEDEP}]"
163 +}
164 +
165 +pkg_setup() {
166 + use test && python-any-r1_pkg_setup
167 +}
168 +
169 +src_prepare() {
170 + xdg_src_prepare
171 + # Mark python tests with shebang executable, so that meson will launch them directly, instead
172 + # of via its own python-single-r1 version, which might not match what we get from python_check_deps
173 + chmod a+x tests/network/test-network-panel.py tests/datetime/test-datetime.py || die
174 +}
175 +
176 +src_configure() {
177 + local emesonargs=(
178 + $(meson_use bluetooth)
179 + $(meson_use v4l cheese)
180 + -Dcups=$(usex cups enabled disabled)
181 + -Ddocumentation=true # manpage
182 + -Dgoa=$(usex gnome-online-accounts enabled disabled)
183 + -Dgrilo=$(usex flickr enabled disabled)
184 + $(meson_use ibus)
185 + -Dkerberos=$(usex kerberos enabled disabled)
186 + -Dmalcontent=false # unpackaged
187 + $(meson_use networkmanager network_manager)
188 + -Dprivileged_group=wheel
189 + -Dsnap=false
190 + $(meson_use test tests)
191 + $(meson_use debug tracing)
192 + $(meson_use input_devices_wacom wacom)
193 + #$(meson_use wayland) # doesn't do anything in 3.34 and 3.36 due to unified gudev handling code
194 + # bashcompletions installed to $datadir/bash-completion/completions by v3.28.2, which is the same as $(get_bashcompdir)
195 + )
196 + meson_src_configure
197 +}
198 +
199 +pkg_postinst() {
200 + xdg_pkg_postinst
201 + gnome2_schemas_update
202 +}
203 +
204 +pkg_postrm() {
205 + xdg_pkg_postrm
206 + gnome2_schemas_update
207 +}