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-session/
Date: Tue, 04 May 2021 20:22:29
Message-Id: 1620159738.0d7da482cb93f114e6dd8f3680635ce82e2cb72a.mattst88@gentoo
1 commit: 0d7da482cb93f114e6dd8f3680635ce82e2cb72a
2 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
3 AuthorDate: Tue May 4 20:22:18 2021 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Tue May 4 20:22:18 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d7da482
7
8 gnome-base/gnome-session: Drop old versions
9
10 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
11
12 gnome-base/gnome-session/Manifest | 2 -
13 gnome-base/gnome-session/gnome-session-40.0.ebuild | 121 ---------------------
14 gnome-base/gnome-session/gnome-session-40.1.ebuild | 121 ---------------------
15 3 files changed, 244 deletions(-)
16
17 diff --git a/gnome-base/gnome-session/Manifest b/gnome-base/gnome-session/Manifest
18 index 3cd79daaa84..66be54553d3 100644
19 --- a/gnome-base/gnome-session/Manifest
20 +++ b/gnome-base/gnome-session/Manifest
21 @@ -1,4 +1,2 @@
22 DIST gnome-session-3.38.0.tar.xz 481300 BLAKE2B 1adb6377f66ab64c39aa5e9ca73ebcb7fcfbfa33b5adcd4fe5900624a89a248a4255c507ec0e88baa57b20105a50d6b7e8eb6bea0be6de49295977e4aacbb662 SHA512 f49a7337b64722bc502ff3d952d8e249d2435be662c3bdfb7c7740338585c2e0b292869902be4c10faebde00998d7ead8deb82fe719a38575c6ebec2b94aa19b
23 -DIST gnome-session-40.0.tar.xz 481996 BLAKE2B b59e08c5b49321a44b1dd012051ec4bfdcecbbdc9c84b65c703131fb01634d69b303b26c29517afcb516eb60cbd2c4e9c3715a1a584c904463150ed428b4d600 SHA512 121fdf5dcc2b5a9e87b8119f6e217dea9db53fdaee1144f74dbdf2ef8856114e983cac32871214ecde08bbfc8212b3535ffd584c07a24cc648bc4db142b60de4
24 DIST gnome-session-40.1.1.tar.xz 482304 BLAKE2B 9a96f230dc793cc0b810bdaad6ce0103f923fbd2b22ee567316508c79bd6e7afe3961b593d094d0a4766a76f45ba6710f96e03a299f43d08a04aca776a172955 SHA512 91609915366839806729e066e5ca0d42daff0591732cda08c3da7d4951f7e27964d72988c4e61a64045443969b9fb0a9697c7ace82bdd8843310cb4d7e9dfd8c
25 -DIST gnome-session-40.1.tar.xz 482424 BLAKE2B 7ce5b5d50900a23880e92d3a0d24fbc80532b9894e03c613137526da6bd0f7f3c86a0d66484177279612782a97f3ead5f10709d9625cff6c04bdfb12fe6725a2 SHA512 2f39eea8e1cc41c543ac5c068dca1c8b7b0add244c6c223ed1205b186c785d353d3cc9d380fc4061893531413017755907050f660de17ea1f9289d6c3ed9df2f
26
27 diff --git a/gnome-base/gnome-session/gnome-session-40.0.ebuild b/gnome-base/gnome-session/gnome-session-40.0.ebuild
28 deleted file mode 100644
29 index 13e3613d59e..00000000000
30 --- a/gnome-base/gnome-session/gnome-session-40.0.ebuild
31 +++ /dev/null
32 @@ -1,121 +0,0 @@
33 -# Copyright 1999-2021 Gentoo Authors
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI=7
37 -inherit desktop gnome.org gnome2-utils meson xdg
38 -
39 -DESCRIPTION="Gnome session manager"
40 -HOMEPAGE="https://gitlab.gnome.org/GNOME/gnome-session"
41 -
42 -LICENSE="GPL-2+"
43 -SLOT="0"
44 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~x86-solaris"
45 -IUSE="doc elogind systemd"
46 -# There is a null backend available, thus ?? not ^^
47 -REQUIRED_USE="?? ( elogind systemd )"
48 -
49 -DEPEND="
50 - >=dev-libs/glib-2.46.0:2
51 - >=x11-libs/gtk+-3.22.0:3
52 - x11-libs/libICE
53 - x11-libs/libSM
54 - x11-libs/libX11
55 - >=gnome-base/gnome-desktop-3.34.2:3=
56 - >=dev-libs/json-glib-0.10
57 - media-libs/mesa[egl,gles2,X(+)]
58 - media-libs/libepoxy
59 - x11-libs/libXcomposite
60 -
61 - systemd? ( >=sys-apps/systemd-242:0= )
62 - elogind? ( >=sys-auth/elogind-239.4 )
63 -"
64 -
65 -# Pure-runtime deps from the session files should *NOT* be added here.
66 -# >=gnome-settings-daemon-3.35.91 for UsbProtection required component.
67 -# x11-misc/xdg-user-dirs{,-gtk} are needed to create the various XDG_*_DIRs, and
68 -# create .config/user-dirs.dirs which is read by glib to get G_USER_DIRECTORY_*
69 -# xdg-user-dirs-update is run during login (see 10-user-dirs-update-gnome below).
70 -# sys-apps/dbus[X] is needed for session management.
71 -# Our 90-xcursor-theme-gnome reads a setting from gsettings-desktop-schemas.
72 -RDEPEND="${DEPEND}
73 - >=gnome-base/gnome-settings-daemon-3.35.91
74 - >=gnome-base/gsettings-desktop-schemas-0.1.7
75 - sys-apps/dbus[X]
76 -
77 - x11-misc/xdg-user-dirs
78 - x11-misc/xdg-user-dirs-gtk
79 -"
80 -BDEPEND="
81 - dev-libs/libxslt
82 - dev-util/gdbus-codegen
83 - >=sys-devel/gettext-0.19.8
84 - x11-libs/xtrans
85 - virtual/pkgconfig
86 - doc? ( app-text/xmlto
87 - app-text/docbook-xml-dtd:4.1.2 )
88 -"
89 -
90 -PATCHES=(
91 - "${FILESDIR}"/${PN}-3.38.0-meson-Support-elogind.patch
92 -)
93 -
94 -src_prepare() {
95 - xdg_src_prepare
96 - # Install USE=doc in ${PF} if enabled
97 - sed -i -e "s:meson\.project_name(), 'dbus':'${PF}', 'dbus':" doc/dbus/meson.build || die
98 -}
99 -
100 -src_configure() {
101 - local emesonargs=(
102 - -Ddeprecation_flags=false
103 - $(meson_use elogind)
104 - -Dsession_selector=true # gnome-custom-session
105 - $(meson_use systemd)
106 - -Dsystemd_session=$(usex systemd default disable)
107 - $(meson_use systemd systemd_journal)
108 - $(meson_use doc docbook)
109 - -Dconsolekit=false
110 - -Dman=true
111 - )
112 - meson_src_configure
113 -}
114 -
115 -src_install() {
116 - meson_src_install
117 -
118 - exeinto /etc/X11/Sessions
119 - doexe "${FILESDIR}/Gnome"
120 -
121 - newmenu "${FILESDIR}/defaults.list-r5" gnome-mimeapps.list
122 -
123 - exeinto /etc/X11/xinit/xinitrc.d/
124 - newexe "${FILESDIR}/15-xdg-data-gnome-r1" 15-xdg-data-gnome
125 -
126 - # This should be done here as discussed in bug #270852
127 - newexe "${FILESDIR}/10-user-dirs-update-gnome-r1" 10-user-dirs-update-gnome
128 -
129 - # Set XCURSOR_THEME from current dconf setting instead of installing
130 - # default cursor symlink globally and affecting other DEs (bug #543488)
131 - # https://bugzilla.gnome.org/show_bug.cgi?id=711703
132 - newexe "${FILESDIR}/90-xcursor-theme-gnome" 90-xcursor-theme-gnome
133 -}
134 -
135 -pkg_postinst() {
136 - xdg_pkg_postinst
137 - gnome2_schemas_update
138 -
139 - if ! has_version gnome-base/gdm && ! has_version x11-misc/sddm; then
140 - ewarn "If you use a custom .xinitrc for your X session,"
141 - ewarn "make sure that the commands in the xinitrc.d scripts are run."
142 - fi
143 -
144 - if ! use systemd && ! use elogind; then
145 - ewarn "You are building without systemd or elogind support."
146 - ewarn "gnome-session won't be able to correctly track and manage your session."
147 - fi
148 -}
149 -
150 -pkg_postrm() {
151 - xdg_pkg_postinst
152 - gnome2_schemas_update
153 -}
154
155 diff --git a/gnome-base/gnome-session/gnome-session-40.1.ebuild b/gnome-base/gnome-session/gnome-session-40.1.ebuild
156 deleted file mode 100644
157 index 13e3613d59e..00000000000
158 --- a/gnome-base/gnome-session/gnome-session-40.1.ebuild
159 +++ /dev/null
160 @@ -1,121 +0,0 @@
161 -# Copyright 1999-2021 Gentoo Authors
162 -# Distributed under the terms of the GNU General Public License v2
163 -
164 -EAPI=7
165 -inherit desktop gnome.org gnome2-utils meson xdg
166 -
167 -DESCRIPTION="Gnome session manager"
168 -HOMEPAGE="https://gitlab.gnome.org/GNOME/gnome-session"
169 -
170 -LICENSE="GPL-2+"
171 -SLOT="0"
172 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~x86-solaris"
173 -IUSE="doc elogind systemd"
174 -# There is a null backend available, thus ?? not ^^
175 -REQUIRED_USE="?? ( elogind systemd )"
176 -
177 -DEPEND="
178 - >=dev-libs/glib-2.46.0:2
179 - >=x11-libs/gtk+-3.22.0:3
180 - x11-libs/libICE
181 - x11-libs/libSM
182 - x11-libs/libX11
183 - >=gnome-base/gnome-desktop-3.34.2:3=
184 - >=dev-libs/json-glib-0.10
185 - media-libs/mesa[egl,gles2,X(+)]
186 - media-libs/libepoxy
187 - x11-libs/libXcomposite
188 -
189 - systemd? ( >=sys-apps/systemd-242:0= )
190 - elogind? ( >=sys-auth/elogind-239.4 )
191 -"
192 -
193 -# Pure-runtime deps from the session files should *NOT* be added here.
194 -# >=gnome-settings-daemon-3.35.91 for UsbProtection required component.
195 -# x11-misc/xdg-user-dirs{,-gtk} are needed to create the various XDG_*_DIRs, and
196 -# create .config/user-dirs.dirs which is read by glib to get G_USER_DIRECTORY_*
197 -# xdg-user-dirs-update is run during login (see 10-user-dirs-update-gnome below).
198 -# sys-apps/dbus[X] is needed for session management.
199 -# Our 90-xcursor-theme-gnome reads a setting from gsettings-desktop-schemas.
200 -RDEPEND="${DEPEND}
201 - >=gnome-base/gnome-settings-daemon-3.35.91
202 - >=gnome-base/gsettings-desktop-schemas-0.1.7
203 - sys-apps/dbus[X]
204 -
205 - x11-misc/xdg-user-dirs
206 - x11-misc/xdg-user-dirs-gtk
207 -"
208 -BDEPEND="
209 - dev-libs/libxslt
210 - dev-util/gdbus-codegen
211 - >=sys-devel/gettext-0.19.8
212 - x11-libs/xtrans
213 - virtual/pkgconfig
214 - doc? ( app-text/xmlto
215 - app-text/docbook-xml-dtd:4.1.2 )
216 -"
217 -
218 -PATCHES=(
219 - "${FILESDIR}"/${PN}-3.38.0-meson-Support-elogind.patch
220 -)
221 -
222 -src_prepare() {
223 - xdg_src_prepare
224 - # Install USE=doc in ${PF} if enabled
225 - sed -i -e "s:meson\.project_name(), 'dbus':'${PF}', 'dbus':" doc/dbus/meson.build || die
226 -}
227 -
228 -src_configure() {
229 - local emesonargs=(
230 - -Ddeprecation_flags=false
231 - $(meson_use elogind)
232 - -Dsession_selector=true # gnome-custom-session
233 - $(meson_use systemd)
234 - -Dsystemd_session=$(usex systemd default disable)
235 - $(meson_use systemd systemd_journal)
236 - $(meson_use doc docbook)
237 - -Dconsolekit=false
238 - -Dman=true
239 - )
240 - meson_src_configure
241 -}
242 -
243 -src_install() {
244 - meson_src_install
245 -
246 - exeinto /etc/X11/Sessions
247 - doexe "${FILESDIR}/Gnome"
248 -
249 - newmenu "${FILESDIR}/defaults.list-r5" gnome-mimeapps.list
250 -
251 - exeinto /etc/X11/xinit/xinitrc.d/
252 - newexe "${FILESDIR}/15-xdg-data-gnome-r1" 15-xdg-data-gnome
253 -
254 - # This should be done here as discussed in bug #270852
255 - newexe "${FILESDIR}/10-user-dirs-update-gnome-r1" 10-user-dirs-update-gnome
256 -
257 - # Set XCURSOR_THEME from current dconf setting instead of installing
258 - # default cursor symlink globally and affecting other DEs (bug #543488)
259 - # https://bugzilla.gnome.org/show_bug.cgi?id=711703
260 - newexe "${FILESDIR}/90-xcursor-theme-gnome" 90-xcursor-theme-gnome
261 -}
262 -
263 -pkg_postinst() {
264 - xdg_pkg_postinst
265 - gnome2_schemas_update
266 -
267 - if ! has_version gnome-base/gdm && ! has_version x11-misc/sddm; then
268 - ewarn "If you use a custom .xinitrc for your X session,"
269 - ewarn "make sure that the commands in the xinitrc.d scripts are run."
270 - fi
271 -
272 - if ! use systemd && ! use elogind; then
273 - ewarn "You are building without systemd or elogind support."
274 - ewarn "gnome-session won't be able to correctly track and manage your session."
275 - fi
276 -}
277 -
278 -pkg_postrm() {
279 - xdg_pkg_postinst
280 - gnome2_schemas_update
281 -}