1 |
commit: 78f9480382911aee179e459d26c6e8dd3cc47683 |
2 |
Author: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Mar 11 17:15:40 2019 +0000 |
4 |
Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Mar 11 18:16:02 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=78f94803 |
7 |
|
8 |
gnome-base/gnome-session: bump to 3.30.1 |
9 |
|
10 |
Package-Manager: Portage-2.3.52, Repoman-2.3.12 |
11 |
Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org> |
12 |
|
13 |
gnome-base/gnome-session/Manifest | 1 + |
14 |
.../gnome-session/gnome-session-3.30.1.ebuild | 120 +++++++++++++++++++++ |
15 |
2 files changed, 121 insertions(+) |
16 |
|
17 |
diff --git a/gnome-base/gnome-session/Manifest b/gnome-base/gnome-session/Manifest |
18 |
index 6d0cda94e65..1fce49bb03b 100644 |
19 |
--- a/gnome-base/gnome-session/Manifest |
20 |
+++ b/gnome-base/gnome-session/Manifest |
21 |
@@ -2,3 +2,4 @@ DIST gnome-session-3.24.2-xorg-default-translations.patch.xz 3392 BLAKE2B afe0e0 |
22 |
DIST gnome-session-3.24.2.tar.xz 783288 BLAKE2B 24b06404b9206a53f394db86a90f9c22c2774432bcb33f136eedd333e813139ded8b9445b4e597f3270ec0b2ef167ce3c2dca2c5b75d5fba977ebcfc4c1bb8ea SHA512 52a609d60303e7d733567cc81698fe4a4042ac17d0260aadb334ab8ad2c355086f8f87c2bcac05f659c28f8f3290128f9ca8875806d199ee27ff84d972333e27 |
23 |
DIST gnome-session-3.26.1.tar.xz 782676 BLAKE2B 68ffae002910f827dca372402b8e014298b12fc892d6e6c477ff8ba0f793c98cd28f4a974c5665ac8bf7d61f485e4c662ba2f96cb3fd9bdec4a6218e86a797db SHA512 a4c2e82306ae044c56b857c8f7347dc5d5235231e702d2ac38c8c433e21efc75ca3911ee029af01754685f64000a0e6f5d17408192208b19d7dc367079ee7b0a |
24 |
DIST gnome-session-3.28.1.tar.xz 480196 BLAKE2B 37bd2138c0610f5cbaa77d558a02f025e2df3105d1b07a3e41f06078215c06c01d47fd6803cb72ee05ccc98765b46221fc618e2b7c3e091398c4420d5be8a015 SHA512 ceeacb3cb4729d4b0a646220097a49359d1eb85ec20cd5d5a44c273b661d41ee83caaf6598def06c4e89b5f785f9317b1171b5550bf8f5634bc882a21e5e685b |
25 |
+DIST gnome-session-3.30.1.tar.xz 485996 BLAKE2B 6882aa9f6004dc6da5070a484d92450bd1e8f61885492edf11260d9834fcae700f113a8ddeb1d905171432400ad9e94fba99ed6eaa49f08efd2d0ec2dffd9c5a SHA512 b6bc98da0245cdefa7e462b1f4e2c9198ee0da1f15a426d377331f79aec2f637bef27b093780c77f7ffbe7eb62c6829acdbd9f9e25cac5a4f6ed0da6ab96359a |
26 |
|
27 |
diff --git a/gnome-base/gnome-session/gnome-session-3.30.1.ebuild b/gnome-base/gnome-session/gnome-session-3.30.1.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..8674fec66da |
30 |
--- /dev/null |
31 |
+++ b/gnome-base/gnome-session/gnome-session-3.30.1.ebuild |
32 |
@@ -0,0 +1,120 @@ |
33 |
+# Copyright 1999-2019 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=6 |
37 |
+inherit 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 ~x86-fbsd ~amd64-linux ~x86-linux ~x86-solaris" |
45 |
+IUSE="consolekit doc systemd" |
46 |
+ |
47 |
+COMMON_DEPEND=" |
48 |
+ >=dev-libs/glib-2.46.0:2 |
49 |
+ >=x11-libs/gtk+-3.18.0:3 |
50 |
+ x11-libs/libICE |
51 |
+ x11-libs/libSM |
52 |
+ x11-libs/libX11 |
53 |
+ >=gnome-base/gnome-desktop-3.18:3= |
54 |
+ >=dev-libs/json-glib-0.10 |
55 |
+ media-libs/mesa[egl,gles2] |
56 |
+ media-libs/libepoxy |
57 |
+ x11-libs/libXcomposite |
58 |
+ |
59 |
+ systemd? ( >=sys-apps/systemd-183:0= ) |
60 |
+ consolekit? ( >=dev-libs/dbus-glib-0.76 ) |
61 |
+" |
62 |
+ |
63 |
+# Pure-runtime deps from the session files should *NOT* be added here |
64 |
+# Otherwise, things like gdm pull in gnome-shell. |
65 |
+# gnome-settings-daemon is assumed to be >=3.27.90, but this is about |
66 |
+# removed components, so no need to strictly require it (older just |
67 |
+# won't have those daemons loaded by gnome-session). |
68 |
+# x11-misc/xdg-user-dirs{,-gtk} are needed to create the various XDG_*_DIRs, and |
69 |
+# create .config/user-dirs.dirs which is read by glib to get G_USER_DIRECTORY_* |
70 |
+# xdg-user-dirs-update is run during login (see 10-user-dirs-update-gnome below). |
71 |
+# sys-apps/dbus[X] is needed for session management. |
72 |
+# Our 90-xcursor-theme-gnome reads a setting from gsettings-desktop-schemas. |
73 |
+RDEPEND="${COMMON_DEPEND} |
74 |
+ >=gnome-base/gnome-settings-daemon-3.23.2 |
75 |
+ >=gnome-base/gsettings-desktop-schemas-0.1.7 |
76 |
+ sys-apps/dbus[X] |
77 |
+ consolekit? ( sys-auth/consolekit ) |
78 |
+ |
79 |
+ x11-misc/xdg-user-dirs |
80 |
+ x11-misc/xdg-user-dirs-gtk |
81 |
+" |
82 |
+DEPEND="${COMMON_DEPEND} |
83 |
+ dev-libs/libxslt |
84 |
+ dev-util/gdbus-codegen |
85 |
+ >=sys-devel/gettext-0.19.8 |
86 |
+ x11-libs/xtrans |
87 |
+ virtual/pkgconfig |
88 |
+ doc? ( app-text/xmlto |
89 |
+ app-text/docbook-xml-dtd:4.1.2 ) |
90 |
+" |
91 |
+ |
92 |
+src_prepare() { |
93 |
+ xdg_src_prepare |
94 |
+ # Install USE=doc in $PF if enabled |
95 |
+ sed -i -e "s:meson\.project_name(), 'dbus':'${PF}', 'dbus':" doc/dbus/meson.build || die |
96 |
+} |
97 |
+ |
98 |
+src_configure() { |
99 |
+ local emesonargs=( |
100 |
+ -Ddeprecation_flags=false |
101 |
+ -Dsession_selector=true # gnome-custom-session |
102 |
+ $(meson_use systemd) |
103 |
+ $(meson_use systemd systemd_journal) |
104 |
+ $(meson_use consolekit) |
105 |
+ $(meson_use doc docbook) |
106 |
+ -Dman=true |
107 |
+ ) |
108 |
+ meson_src_configure |
109 |
+} |
110 |
+ |
111 |
+src_install() { |
112 |
+ meson_src_install |
113 |
+ |
114 |
+ dodir /etc/X11/Sessions |
115 |
+ exeinto /etc/X11/Sessions |
116 |
+ doexe "${FILESDIR}/Gnome" |
117 |
+ |
118 |
+ insinto /usr/share/applications |
119 |
+ newins "${FILESDIR}/defaults.list-r4" gnome-mimeapps.list |
120 |
+ |
121 |
+ dodir /etc/X11/xinit/xinitrc.d/ |
122 |
+ exeinto /etc/X11/xinit/xinitrc.d/ |
123 |
+ newexe "${FILESDIR}/15-xdg-data-gnome-r1" 15-xdg-data-gnome |
124 |
+ |
125 |
+ # This should be done here as discussed in bug #270852 |
126 |
+ newexe "${FILESDIR}/10-user-dirs-update-gnome-r1" 10-user-dirs-update-gnome |
127 |
+ |
128 |
+ # Set XCURSOR_THEME from current dconf setting instead of installing |
129 |
+ # default cursor symlink globally and affecting other DEs (bug #543488) |
130 |
+ # https://bugzilla.gnome.org/show_bug.cgi?id=711703 |
131 |
+ newexe "${FILESDIR}/90-xcursor-theme-gnome" 90-xcursor-theme-gnome |
132 |
+} |
133 |
+ |
134 |
+pkg_postinst() { |
135 |
+ xdg_pkg_postinst |
136 |
+ gnome2_schemas_update |
137 |
+ |
138 |
+ if ! has_version gnome-base/gdm && ! has_version x11-misc/sddm; then |
139 |
+ ewarn "If you use a custom .xinitrc for your X session," |
140 |
+ ewarn "make sure that the commands in the xinitrc.d scripts are run." |
141 |
+ fi |
142 |
+ |
143 |
+ if ! use systemd && ! use consolekit; then |
144 |
+ ewarn "You are building without systemd and/or consolekit support." |
145 |
+ ewarn "gnome-session won't be able to correctly track and manage your session." |
146 |
+ fi |
147 |
+} |
148 |
+ |
149 |
+pkg_postrm() { |
150 |
+ xdg_pkg_postinst |
151 |
+ gnome2_schemas_update |
152 |
+} |