1 |
commit: dabb8cbb9678165379cf93dda79720a54a98c754 |
2 |
Author: Ole Reifschneider <tranquility <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Oct 2 09:58:31 2015 +0000 |
4 |
Commit: Ole Reifschneider <tranquility <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Oct 2 09:58:31 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/gnome.git/commit/?id=dabb8cbb |
7 |
|
8 |
gnome-base/gnome-session: Bump version to 3.18.0 |
9 |
|
10 |
Package-Manager: portage-2.2.22 |
11 |
Manifest-Sign-Key: 7E8B4D42 |
12 |
|
13 |
.../gnome-session/gnome-session-3.18.0.ebuild | 122 +++++++++++++++++++++ |
14 |
1 file changed, 122 insertions(+) |
15 |
|
16 |
diff --git a/gnome-base/gnome-session/gnome-session-3.18.0.ebuild b/gnome-base/gnome-session/gnome-session-3.18.0.ebuild |
17 |
new file mode 100644 |
18 |
index 0000000..4de1d8a |
19 |
--- /dev/null |
20 |
+++ b/gnome-base/gnome-session/gnome-session-3.18.0.ebuild |
21 |
@@ -0,0 +1,122 @@ |
22 |
+# Copyright 1999-2015 Gentoo Foundation |
23 |
+# Distributed under the terms of the GNU General Public License v2 |
24 |
+# $Id$ |
25 |
+ |
26 |
+EAPI="5" |
27 |
+GCONF_DEBUG="yes" |
28 |
+ |
29 |
+inherit gnome2 |
30 |
+ |
31 |
+DESCRIPTION="Gnome session manager" |
32 |
+HOMEPAGE="https://git.gnome.org/browse/gnome-session" |
33 |
+ |
34 |
+LICENSE="GPL-2 LGPL-2 FDL-1.1" |
35 |
+SLOT="0" |
36 |
+KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-solaris" |
37 |
+IUSE="doc elibc_FreeBSD gconf ipv6 systemd" |
38 |
+ |
39 |
+# x11-misc/xdg-user-dirs{,-gtk} are needed to create the various XDG_*_DIRs, and |
40 |
+# create .config/user-dirs.dirs which is read by glib to get G_USER_DIRECTORY_* |
41 |
+# xdg-user-dirs-update is run during login (see 10-user-dirs-update-gnome below). |
42 |
+# gdk-pixbuf used in the inhibit dialog |
43 |
+COMMON_DEPEND=" |
44 |
+ >=dev-libs/glib-2.40.0:2 |
45 |
+ x11-libs/gdk-pixbuf:2 |
46 |
+ >=x11-libs/gtk+-2.90.7:3 |
47 |
+ >=dev-libs/json-glib-0.10 |
48 |
+ >=gnome-base/gnome-desktop-3.9.91:3= |
49 |
+ elibc_FreeBSD? ( dev-libs/libexecinfo ) |
50 |
+ |
51 |
+ virtual/opengl |
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 |
+ gconf? ( >=gnome-base/gconf-2:2 ) |
65 |
+ systemd? ( >=sys-apps/systemd-183:0= ) |
66 |
+" |
67 |
+# Pure-runtime deps from the session files should *NOT* be added here |
68 |
+# Otherwise, things like gdm pull in gnome-shell |
69 |
+# gnome-themes-standard is needed for the failwhale dialog themeing |
70 |
+# sys-apps/dbus[X] is needed for session management |
71 |
+RDEPEND="${COMMON_DEPEND} |
72 |
+ gnome-base/gnome-settings-daemon |
73 |
+ >=gnome-base/gsettings-desktop-schemas-0.1.7 |
74 |
+ >=x11-themes/gnome-themes-standard-2.91.92 |
75 |
+ sys-apps/dbus[X] |
76 |
+ !systemd? ( |
77 |
+ sys-auth/consolekit |
78 |
+ >=dev-libs/dbus-glib-0.76 |
79 |
+ ) |
80 |
+" |
81 |
+DEPEND="${COMMON_DEPEND} |
82 |
+ >=dev-lang/perl-5 |
83 |
+ >=sys-devel/gettext-0.10.40 |
84 |
+ dev-libs/libxslt |
85 |
+ >=dev-util/intltool-0.40.6 |
86 |
+ virtual/pkgconfig |
87 |
+ !<gnome-base/gdm-2.20.4 |
88 |
+ doc? ( |
89 |
+ app-text/xmlto |
90 |
+ dev-libs/libxslt ) |
91 |
+" |
92 |
+# gnome-common needed for eautoreconf |
93 |
+# gnome-base/gdm does not provide gnome.desktop anymore |
94 |
+ |
95 |
+src_configure() { |
96 |
+ # 1. Avoid automagic on old upower releases |
97 |
+ # 2. xsltproc is always checked due to man configure |
98 |
+ # switch, even if USE=-doc |
99 |
+ gnome2_src_configure \ |
100 |
+ --disable-deprecation-flags \ |
101 |
+ --enable-session-selector \ |
102 |
+ $(use_enable doc docbook-docs) \ |
103 |
+ $(use_enable gconf) \ |
104 |
+ $(use_enable ipv6) \ |
105 |
+ $(use_enable systemd) \ |
106 |
+ $(use_enable !systemd consolekit) \ |
107 |
+ UPOWER_CFLAGS="" \ |
108 |
+ UPOWER_LIBS="" |
109 |
+ # gnome-session-selector pre-generated man page is missing |
110 |
+ #$(usex !doc XSLTPROC=$(type -P true)) |
111 |
+} |
112 |
+ |
113 |
+src_install() { |
114 |
+ gnome2_src_install |
115 |
+ |
116 |
+ dodir /etc/X11/Sessions |
117 |
+ exeinto /etc/X11/Sessions |
118 |
+ doexe "${FILESDIR}/Gnome" |
119 |
+ |
120 |
+ insinto /usr/share/applications |
121 |
+ newins "${FILESDIR}/defaults.list-r3" gnome-mimeapps.list |
122 |
+ |
123 |
+ dodir /etc/X11/xinit/xinitrc.d/ |
124 |
+ exeinto /etc/X11/xinit/xinitrc.d/ |
125 |
+ newexe "${FILESDIR}/15-xdg-data-gnome-r1" 15-xdg-data-gnome |
126 |
+ |
127 |
+ # This should be done here as discussed in bug #270852 |
128 |
+ newexe "${FILESDIR}/10-user-dirs-update-gnome-r1" 10-user-dirs-update-gnome |
129 |
+ |
130 |
+ # Set XCURSOR_THEME from current dconf setting instead of installing |
131 |
+ # default cursor symlink globally and affecting other DEs (bug #543488) |
132 |
+ # https://bugzilla.gnome.org/show_bug.cgi?id=711703 |
133 |
+ newexe "${FILESDIR}/90-xcursor-theme-gnome" 90-xcursor-theme-gnome |
134 |
+} |
135 |
+ |
136 |
+pkg_postinst() { |
137 |
+ gnome2_pkg_postinst |
138 |
+ |
139 |
+ if ! has_version gnome-base/gdm && ! has_version kde-base/kdm; 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 |
+} |