1 |
commit: 8e08e8ebff22c240d4e10262f1da89dc5e54c1f5 |
2 |
Author: Sobhan Mohammadpour <sobhan <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Feb 14 19:35:03 2018 +0000 |
4 |
Commit: Sobhan Mohammadpour <sobhan <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Feb 14 19:35:03 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/gnome.git/commit/?id=8e08e8eb |
7 |
|
8 |
gnome-base/gnome-session: version bump |
9 |
|
10 |
Package-Manager: Portage-2.3.24, Repoman-2.3.6 |
11 |
Manifest-Sign-Key: 0x7DF238CF0AA182E1 |
12 |
|
13 |
.../gnome-session/gnome-session-3.26.1.ebuild | 123 +++++++++++++++++++++ |
14 |
1 file changed, 123 insertions(+) |
15 |
|
16 |
diff --git a/gnome-base/gnome-session/gnome-session-3.26.1.ebuild b/gnome-base/gnome-session/gnome-session-3.26.1.ebuild |
17 |
new file mode 100644 |
18 |
index 00000000..0b3dac4a |
19 |
--- /dev/null |
20 |
+++ b/gnome-base/gnome-session/gnome-session-3.26.1.ebuild |
21 |
@@ -0,0 +1,123 @@ |
22 |
+# Copyright 1999-2018 Gentoo Foundation |
23 |
+# Distributed under the terms of the GNU General Public License v2 |
24 |
+ |
25 |
+EAPI=6 |
26 |
+GNOME2_EAUTORECONF="yes" |
27 |
+inherit gnome2 |
28 |
+ |
29 |
+DESCRIPTION="Gnome session manager" |
30 |
+HOMEPAGE="https://git.gnome.org/browse/gnome-session" |
31 |
+ |
32 |
+LICENSE="GPL-2 LGPL-2 FDL-1.1" |
33 |
+SLOT="0" |
34 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x86-solaris" |
35 |
+IUSE="doc elibc_FreeBSD ipv6 systemd" |
36 |
+ |
37 |
+# x11-misc/xdg-user-dirs{,-gtk} are needed to create the various XDG_*_DIRs, and |
38 |
+# create .config/user-dirs.dirs which is read by glib to get G_USER_DIRECTORY_* |
39 |
+# xdg-user-dirs-update is run during login (see 10-user-dirs-update-gnome below). |
40 |
+# gdk-pixbuf used in the inhibit dialog |
41 |
+COMMON_DEPEND=" |
42 |
+ >=dev-libs/glib-2.46.0:2[dbus] |
43 |
+ x11-libs/gdk-pixbuf:2 |
44 |
+ >=x11-libs/gtk+-3.18.0:3 |
45 |
+ >=dev-libs/json-glib-0.10 |
46 |
+ >=gnome-base/gnome-desktop-3.18:3= |
47 |
+ elibc_FreeBSD? ( || ( dev-libs/libexecinfo >=sys-freebsd/freebsd-lib-10.0 ) ) |
48 |
+ |
49 |
+ media-libs/mesa[egl,gles2] |
50 |
+ |
51 |
+ media-libs/libepoxy |
52 |
+ x11-libs/libSM |
53 |
+ x11-libs/libICE |
54 |
+ x11-libs/libXau |
55 |
+ x11-libs/libX11 |
56 |
+ x11-libs/libXcomposite |
57 |
+ x11-libs/libXext |
58 |
+ x11-libs/libXrender |
59 |
+ x11-libs/libXtst |
60 |
+ x11-misc/xdg-user-dirs |
61 |
+ x11-misc/xdg-user-dirs-gtk |
62 |
+ x11-apps/xdpyinfo |
63 |
+ |
64 |
+ systemd? ( >=sys-apps/systemd-183:0= ) |
65 |
+" |
66 |
+# Pure-runtime deps from the session files should *NOT* be added here |
67 |
+# Otherwise, things like gdm pull in gnome-shell |
68 |
+# gnome-themes-standard is needed for the failwhale dialog themeing |
69 |
+# sys-apps/dbus[X] is needed for session management |
70 |
+RDEPEND="${COMMON_DEPEND} |
71 |
+ >=gnome-base/gnome-settings-daemon-3.23.2 |
72 |
+ >=gnome-base/gsettings-desktop-schemas-0.1.7 |
73 |
+ x11-themes/adwaita-icon-theme |
74 |
+ sys-apps/dbus[X] |
75 |
+ !systemd? ( |
76 |
+ sys-auth/consolekit |
77 |
+ >=dev-libs/dbus-glib-0.76 |
78 |
+ ) |
79 |
+" |
80 |
+DEPEND="${COMMON_DEPEND} |
81 |
+ dev-libs/libxslt |
82 |
+ >=dev-util/intltool-0.40.6 |
83 |
+ >=sys-devel/gettext-0.10.40 |
84 |
+ virtual/pkgconfig |
85 |
+ !<gnome-base/gdm-2.20.4 |
86 |
+ doc? ( |
87 |
+ app-text/xmlto |
88 |
+ dev-libs/libxslt ) |
89 |
+ gnome-base/gnome-common |
90 |
+" |
91 |
+# gnome-common needed for eautoreconf |
92 |
+# gnome-base/gdm does not provide gnome.desktop anymore |
93 |
+ |
94 |
+src_configure() { |
95 |
+ # 1. Avoid automagic on old upower releases |
96 |
+ # 2. xsltproc is always checked due to man configure |
97 |
+ # switch, even if USE=-doc |
98 |
+ # 3. Disable old gconf support as other distributions did long time |
99 |
+ # ago |
100 |
+ gnome2_src_configure \ |
101 |
+ --disable-deprecation-flags \ |
102 |
+ --disable-gconf \ |
103 |
+ --enable-session-selector \ |
104 |
+ $(use_enable doc docbook-docs) \ |
105 |
+ $(use_enable ipv6) \ |
106 |
+ $(use_enable systemd) \ |
107 |
+ $(use_enable !systemd consolekit) \ |
108 |
+ UPOWER_CFLAGS="" \ |
109 |
+ UPOWER_LIBS="" |
110 |
+ # gnome-session-selector pre-generated man page is missing |
111 |
+ #$(usex !doc XSLTPROC=$(type -P true)) |
112 |
+} |
113 |
+ |
114 |
+src_install() { |
115 |
+ gnome2_src_install |
116 |
+ |
117 |
+ dodir /etc/X11/Sessions |
118 |
+ exeinto /etc/X11/Sessions |
119 |
+ doexe "${FILESDIR}/Gnome" |
120 |
+ |
121 |
+ insinto /usr/share/applications |
122 |
+ newins "${FILESDIR}/defaults.list-r3" gnome-mimeapps.list |
123 |
+ |
124 |
+ dodir /etc/X11/xinit/xinitrc.d/ |
125 |
+ exeinto /etc/X11/xinit/xinitrc.d/ |
126 |
+ newexe "${FILESDIR}/15-xdg-data-gnome-r1" 15-xdg-data-gnome |
127 |
+ |
128 |
+ # This should be done here as discussed in bug #270852 |
129 |
+ newexe "${FILESDIR}/10-user-dirs-update-gnome-r1" 10-user-dirs-update-gnome |
130 |
+ |
131 |
+ # Set XCURSOR_THEME from current dconf setting instead of installing |
132 |
+ # default cursor symlink globally and affecting other DEs (bug #543488) |
133 |
+ # https://bugzilla.gnome.org/show_bug.cgi?id=711703 |
134 |
+ newexe "${FILESDIR}/90-xcursor-theme-gnome" 90-xcursor-theme-gnome |
135 |
+} |
136 |
+ |
137 |
+pkg_postinst() { |
138 |
+ gnome2_pkg_postinst |
139 |
+ |
140 |
+ if ! has_version gnome-base/gdm && ! has_version x11-misc/sddm; then |
141 |
+ ewarn "If you use a custom .xinitrc for your X session," |
142 |
+ ewarn "make sure that the commands in the xinitrc.d scripts are run." |
143 |
+ fi |
144 |
+} |