Gentoo Archives: gentoo-commits

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