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-desktop/
Date: Thu, 28 Apr 2022 15:31:43
Message-Id: 1651159865.9cf687644261a6f6b3676e0843ea0e66c9da643f.mattst88@gentoo
1 commit: 9cf687644261a6f6b3676e0843ea0e66c9da643f
2 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
3 AuthorDate: Thu Apr 28 15:09:06 2022 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Thu Apr 28 15:31:05 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9cf68764
7
8 gnome-base/gnome-desktop: Version bump to 42.1
9
10 * Drop dependence on gtk[X] and xorg-proto. Upstream usage seems to have
11 been dropped in 2019 (e.g. commit b8e99fc3 ("gnomebg: remove gdkx/x
12 dependency"))
13
14 Closes: https://bugs.gentoo.org/834796
15 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
16
17 gnome-base/gnome-desktop/Manifest | 1 +
18 .../gnome-desktop/gnome-desktop-42.1-r300.ebuild | 80 ++++++++++++++++++++++
19 .../gnome-desktop/gnome-desktop-42.1-r400.ebuild | 73 ++++++++++++++++++++
20 3 files changed, 154 insertions(+)
21
22 diff --git a/gnome-base/gnome-desktop/Manifest b/gnome-base/gnome-desktop/Manifest
23 index aed70403c3ab..046139dad77e 100644
24 --- a/gnome-base/gnome-desktop/Manifest
25 +++ b/gnome-base/gnome-desktop/Manifest
26 @@ -1,2 +1,3 @@
27 DIST gnome-desktop-41.3.tar.xz 732804 BLAKE2B 40a88ba4454455f85a46676d4b2f37159617f7eae9d0f5e1a27c3f0ed1e44953ae9475e81558b7cce1b6fd8cd8804cd3f452d060d843d4f58a7af8748b4c35fa SHA512 b02d9fe3bfad56993f9ed7225b38b4b0b685c7ad1480a9d9db5f9a6a8e13c16918d87e6a51160ee3101ab8ce24f4c0632ae351e7bb11cc473523e216ee9cf6bf
28 DIST gnome-desktop-42.0.tar.xz 743484 BLAKE2B 7c7d5e74fe01e082c8ec1994bb7666f191e0eed4212c8ef6257ebb4c3e3a5fb95c8a0c47f1c8f0864a36faa239251569e67eafa734cba4a181b6774233352357 SHA512 b9d37765d3cc43bb709e1e9b97deb6ef16d2a8e6ef7cc3c577ba465d4856bbfe8774fb7fc6eaae4d88064081aeeea0c0c77fe2b4ef79b4d9af1232c918526b44
29 +DIST gnome-desktop-42.1.tar.xz 743032 BLAKE2B 1eda3138e50b0ded50ede12179311ab8888ab0837c650f3e6bad600a4327cdba02b3fbf7cf7ff845669075cbb56b69ca600b8b63b4f05dce93b0a71e76cedbd7 SHA512 a084f705aedf2d159da91dc54f38261760a50e51041321e6a69ee0dff499e11f0a440f5a9582a31977b0270c87e3ba7de0f5c9cc182c0631858afa1d9508ecf4
30
31 diff --git a/gnome-base/gnome-desktop/gnome-desktop-42.1-r300.ebuild b/gnome-base/gnome-desktop/gnome-desktop-42.1-r300.ebuild
32 new file mode 100644
33 index 000000000000..1c3c7ed2fd59
34 --- /dev/null
35 +++ b/gnome-base/gnome-desktop/gnome-desktop-42.1-r300.ebuild
36 @@ -0,0 +1,80 @@
37 +# Copyright 1999-2022 Gentoo Authors
38 +# Distributed under the terms of the GNU General Public License v2
39 +
40 +EAPI=8
41 +inherit gnome.org meson xdg
42 +
43 +DESCRIPTION="Library with common API for various GNOME modules"
44 +HOMEPAGE="https://gitlab.gnome.org/GNOME/gnome-desktop/"
45 +
46 +LICENSE="GPL-2+ LGPL-2+ FDL-1.1+"
47 +SLOT="3/19" # subslot = libgnome-desktop-3 soname version
48 +IUSE="debug +introspection seccomp systemd udev"
49 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~x86-solaris"
50 +
51 +COMMON_DEPEND="
52 + >=x11-libs/gdk-pixbuf-2.36.5:2[introspection?]
53 + >=x11-libs/gtk+-3.3.6:3[introspection?]
54 + >=dev-libs/glib-2.53.0:2
55 + >=gnome-base/gsettings-desktop-schemas-3.27.0[introspection?]
56 + x11-misc/xkeyboard-config
57 + x11-libs/libxkbcommon
58 + app-text/iso-codes
59 + systemd? ( sys-apps/systemd:= )
60 + udev? ( virtual/libudev:= )
61 + seccomp? ( sys-libs/libseccomp )
62 +
63 + x11-libs/cairo:=
64 + introspection? ( >=dev-libs/gobject-introspection-1.54:= )
65 +"
66 +DEPEND="${COMMON_DEPEND}
67 + media-libs/fontconfig
68 +"
69 +RDEPEND="${COMMON_DEPEND}
70 + seccomp? ( sys-apps/bubblewrap )
71 +"
72 +BDEPEND="
73 + app-text/docbook-xml-dtd:4.1.2
74 + dev-util/gdbus-codegen
75 + dev-util/itstool
76 + >=sys-devel/gettext-0.19.8
77 + virtual/pkgconfig
78 +"
79 +
80 +PATCHES=(
81 + "${FILESDIR}"/42.0-meson-Add-optionality-for-introspection.patch
82 +)
83 +
84 +src_prepare() {
85 + default
86 + xdg_environment_reset
87 +
88 + # Don't build manual test programs that will never get run
89 + sed -i -e "/'test-.*'/d" libgnome-desktop/meson.build || die
90 +}
91 +
92 +src_configure() {
93 + local emesonargs=(
94 + -Dgnome_distributor=Gentoo
95 + -Ddate_in_gnome_version=true
96 + -Ddesktop_docs=false
97 + $(meson_use debug debug_tools)
98 + $(meson_use introspection)
99 + $(meson_feature udev)
100 + $(meson_feature systemd)
101 + -Dgtk_doc=false
102 + -Dinstalled_tests=false
103 + -Dbuild_gtk4=false
104 + -Dlegacy_library=true
105 + )
106 + meson_src_configure
107 +}
108 +
109 +src_install() {
110 + meson_src_install
111 +
112 + rm -r \
113 + ${ED}/usr/share/gnome/gnome-version.xml \
114 + ${ED}/usr/share/locale \
115 + || die
116 +}
117
118 diff --git a/gnome-base/gnome-desktop/gnome-desktop-42.1-r400.ebuild b/gnome-base/gnome-desktop/gnome-desktop-42.1-r400.ebuild
119 new file mode 100644
120 index 000000000000..4123d7bb7860
121 --- /dev/null
122 +++ b/gnome-base/gnome-desktop/gnome-desktop-42.1-r400.ebuild
123 @@ -0,0 +1,73 @@
124 +# Copyright 1999-2022 Gentoo Authors
125 +# Distributed under the terms of the GNU General Public License v2
126 +
127 +EAPI=8
128 +inherit gnome.org meson xdg
129 +
130 +DESCRIPTION="Library with common API for various GNOME modules"
131 +HOMEPAGE="https://gitlab.gnome.org/GNOME/gnome-desktop/"
132 +
133 +LICENSE="GPL-2+ LGPL-2+ FDL-1.1+"
134 +SLOT="4/1" # subslot = libgnome-desktop-4 soname version
135 +IUSE="debug gtk-doc +introspection seccomp systemd udev"
136 +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux ~x86-solaris"
137 +
138 +COMMON_DEPEND="
139 + >=x11-libs/gdk-pixbuf-2.36.5:2[introspection?]
140 + >=gui-libs/gtk-4.4.0:4[introspection?]
141 + >=dev-libs/glib-2.53.0:2
142 + >=gnome-base/gsettings-desktop-schemas-3.27.0[introspection?]
143 + x11-misc/xkeyboard-config
144 + x11-libs/libxkbcommon
145 + app-text/iso-codes
146 + systemd? ( sys-apps/systemd:= )
147 + udev? ( virtual/libudev:= )
148 + seccomp? ( sys-libs/libseccomp )
149 +
150 + x11-libs/cairo:=
151 + introspection? ( >=dev-libs/gobject-introspection-1.54:= )
152 +"
153 +DEPEND="${COMMON_DEPEND}
154 + media-libs/fontconfig
155 +"
156 +RDEPEND="${COMMON_DEPEND}
157 + seccomp? ( sys-apps/bubblewrap )
158 + !<gnome-base/gnome-desktop-${PV}:3
159 +"
160 +BDEPEND="
161 + app-text/docbook-xml-dtd:4.1.2
162 + dev-util/gdbus-codegen
163 + gtk-doc? ( >=dev-util/gtk-doc-1.14 )
164 + dev-util/itstool
165 + >=sys-devel/gettext-0.19.8
166 + virtual/pkgconfig
167 +"
168 +
169 +PATCHES=(
170 + "${FILESDIR}"/42.0-meson-Add-optionality-for-introspection.patch
171 +)
172 +
173 +src_prepare() {
174 + default
175 + xdg_environment_reset
176 +
177 + # Don't build manual test programs that will never get run
178 + sed -i -e "/'test-.*'/d" libgnome-desktop/meson.build || die
179 +}
180 +
181 +src_configure() {
182 + local emesonargs=(
183 + -Dgnome_distributor=Gentoo
184 + -Ddate_in_gnome_version=true
185 + -Ddesktop_docs=true
186 + $(meson_use debug debug_tools)
187 + $(meson_use introspection)
188 + $(meson_feature udev)
189 + $(meson_feature systemd)
190 + $(meson_use gtk-doc gtk_doc)
191 + -Dinstalled_tests=false
192 + -Dbuild_gtk4=true
193 + -Dlegacy_library=false
194 + )
195 + meson_src_configure
196 +}