1 |
commit: b358499e00c8b7032d6bced847091ba538ef6088 |
2 |
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Apr 15 15:29:39 2021 +0000 |
4 |
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Apr 15 15:29:39 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b358499e |
7 |
|
8 |
gnome-base/gnome-session: Drop old versions |
9 |
|
10 |
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org> |
11 |
|
12 |
.../gnome-session/gnome-session-3.38.0.ebuild | 121 --------------------- |
13 |
1 file changed, 121 deletions(-) |
14 |
|
15 |
diff --git a/gnome-base/gnome-session/gnome-session-3.38.0.ebuild b/gnome-base/gnome-session/gnome-session-3.38.0.ebuild |
16 |
deleted file mode 100644 |
17 |
index 8ca32d8859c..00000000000 |
18 |
--- a/gnome-base/gnome-session/gnome-session-3.38.0.ebuild |
19 |
+++ /dev/null |
20 |
@@ -1,121 +0,0 @@ |
21 |
-# Copyright 1999-2021 Gentoo Authors |
22 |
-# Distributed under the terms of the GNU General Public License v2 |
23 |
- |
24 |
-EAPI=7 |
25 |
-inherit desktop gnome.org gnome2-utils meson xdg |
26 |
- |
27 |
-DESCRIPTION="Gnome session manager" |
28 |
-HOMEPAGE="https://gitlab.gnome.org/GNOME/gnome-session" |
29 |
- |
30 |
-LICENSE="GPL-2+" |
31 |
-SLOT="0" |
32 |
-KEYWORDS="~alpha amd64 ~arm arm64 ~ia64 ~ppc ~ppc64 ~sparc x86 ~amd64-linux ~x86-linux ~x86-solaris" |
33 |
-IUSE="doc elogind systemd" |
34 |
-# There is a null backend available, thus ?? not ^^ |
35 |
-REQUIRED_USE="?? ( elogind systemd )" |
36 |
- |
37 |
-DEPEND=" |
38 |
- >=dev-libs/glib-2.46.0:2 |
39 |
- >=x11-libs/gtk+-3.22.0:3 |
40 |
- x11-libs/libICE |
41 |
- x11-libs/libSM |
42 |
- x11-libs/libX11 |
43 |
- >=gnome-base/gnome-desktop-3.34.2:3= |
44 |
- >=dev-libs/json-glib-0.10 |
45 |
- media-libs/mesa[egl,gles2,X(+)] |
46 |
- media-libs/libepoxy |
47 |
- x11-libs/libXcomposite |
48 |
- |
49 |
- systemd? ( >=sys-apps/systemd-242:0= ) |
50 |
- elogind? ( >=sys-auth/elogind-239.4 ) |
51 |
-" |
52 |
- |
53 |
-# Pure-runtime deps from the session files should *NOT* be added here. |
54 |
-# >=gnome-settings-daemon-3.35.91 for UsbProtection required component. |
55 |
-# x11-misc/xdg-user-dirs{,-gtk} are needed to create the various XDG_*_DIRs, and |
56 |
-# create .config/user-dirs.dirs which is read by glib to get G_USER_DIRECTORY_* |
57 |
-# xdg-user-dirs-update is run during login (see 10-user-dirs-update-gnome below). |
58 |
-# sys-apps/dbus[X] is needed for session management. |
59 |
-# Our 90-xcursor-theme-gnome reads a setting from gsettings-desktop-schemas. |
60 |
-RDEPEND="${DEPEND} |
61 |
- >=gnome-base/gnome-settings-daemon-3.35.91 |
62 |
- >=gnome-base/gsettings-desktop-schemas-0.1.7 |
63 |
- sys-apps/dbus[X] |
64 |
- |
65 |
- x11-misc/xdg-user-dirs |
66 |
- x11-misc/xdg-user-dirs-gtk |
67 |
-" |
68 |
-BDEPEND=" |
69 |
- dev-libs/libxslt |
70 |
- dev-util/gdbus-codegen |
71 |
- >=sys-devel/gettext-0.19.8 |
72 |
- x11-libs/xtrans |
73 |
- virtual/pkgconfig |
74 |
- doc? ( app-text/xmlto |
75 |
- app-text/docbook-xml-dtd:4.1.2 ) |
76 |
-" |
77 |
- |
78 |
-PATCHES=( |
79 |
- "${FILESDIR}"/${P}-meson-Support-elogind.patch |
80 |
-) |
81 |
- |
82 |
-src_prepare() { |
83 |
- xdg_src_prepare |
84 |
- # Install USE=doc in $PF if enabled |
85 |
- sed -i -e "s:meson\.project_name(), 'dbus':'${PF}', 'dbus':" doc/dbus/meson.build || die |
86 |
-} |
87 |
- |
88 |
-src_configure() { |
89 |
- local emesonargs=( |
90 |
- -Ddeprecation_flags=false |
91 |
- $(meson_use elogind) |
92 |
- -Dsession_selector=true # gnome-custom-session |
93 |
- $(meson_use systemd) |
94 |
- -Dsystemd_session=$(usex systemd default disable) |
95 |
- $(meson_use systemd systemd_journal) |
96 |
- $(meson_use doc docbook) |
97 |
- -Dconsolekit=false |
98 |
- -Dman=true |
99 |
- ) |
100 |
- meson_src_configure |
101 |
-} |
102 |
- |
103 |
-src_install() { |
104 |
- meson_src_install |
105 |
- |
106 |
- exeinto /etc/X11/Sessions |
107 |
- doexe "${FILESDIR}/Gnome" |
108 |
- |
109 |
- newmenu "${FILESDIR}/defaults.list-r5" gnome-mimeapps.list |
110 |
- |
111 |
- exeinto /etc/X11/xinit/xinitrc.d/ |
112 |
- newexe "${FILESDIR}/15-xdg-data-gnome-r1" 15-xdg-data-gnome |
113 |
- |
114 |
- # This should be done here as discussed in bug #270852 |
115 |
- newexe "${FILESDIR}/10-user-dirs-update-gnome-r1" 10-user-dirs-update-gnome |
116 |
- |
117 |
- # Set XCURSOR_THEME from current dconf setting instead of installing |
118 |
- # default cursor symlink globally and affecting other DEs (bug #543488) |
119 |
- # https://bugzilla.gnome.org/show_bug.cgi?id=711703 |
120 |
- newexe "${FILESDIR}/90-xcursor-theme-gnome" 90-xcursor-theme-gnome |
121 |
-} |
122 |
- |
123 |
-pkg_postinst() { |
124 |
- xdg_pkg_postinst |
125 |
- gnome2_schemas_update |
126 |
- |
127 |
- if ! has_version gnome-base/gdm && ! has_version x11-misc/sddm; then |
128 |
- ewarn "If you use a custom .xinitrc for your X session," |
129 |
- ewarn "make sure that the commands in the xinitrc.d scripts are run." |
130 |
- fi |
131 |
- |
132 |
- if ! use systemd && ! use elogind; then |
133 |
- ewarn "You are building without systemd or elogind support." |
134 |
- ewarn "gnome-session won't be able to correctly track and manage your session." |
135 |
- fi |
136 |
-} |
137 |
- |
138 |
-pkg_postrm() { |
139 |
- xdg_pkg_postinst |
140 |
- gnome2_schemas_update |
141 |
-} |