Gentoo Archives: gentoo-commits

From: Gilles Dartiguelongue <eva@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/gnome:master commit in: gnome-base/gnome-session/
Date: Tue, 25 Dec 2012 23:24:13
Message-Id: 1356477794.b521b22ccc54dbdaff57d8f4d0f21ff5981f8441.eva@gentoo
1 commit: b521b22ccc54dbdaff57d8f4d0f21ff5981f8441
2 Author: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
3 AuthorDate: Tue Dec 25 23:22:43 2012 +0000
4 Commit: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
5 CommitDate: Tue Dec 25 23:23:14 2012 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=b521b22c
7
8 gnome-base/gnome-session: moved to gx86
9
10 * Sync live ebuild with gx86 changes.
11
12 ---
13 .../gnome-session/gnome-session-3.6.2.ebuild | 113 --------------------
14 gnome-base/gnome-session/gnome-session-9999.ebuild | 23 +++--
15 2 files changed, 16 insertions(+), 120 deletions(-)
16
17 diff --git a/gnome-base/gnome-session/gnome-session-3.6.2.ebuild b/gnome-base/gnome-session/gnome-session-3.6.2.ebuild
18 deleted file mode 100644
19 index 149656f..0000000
20 --- a/gnome-base/gnome-session/gnome-session-3.6.2.ebuild
21 +++ /dev/null
22 @@ -1,113 +0,0 @@
23 -# Copyright 1999-2012 Gentoo Foundation
24 -# Distributed under the terms of the GNU General Public License v2
25 -# $Header: $
26 -
27 -EAPI="4"
28 -GCONF_DEBUG="yes"
29 -
30 -inherit gnome2
31 -if [[ ${PV} = 9999 ]]; then
32 - inherit gnome2-live
33 -fi
34 -
35 -DESCRIPTION="Gnome session manager"
36 -HOMEPAGE="http://www.gnome.org/"
37 -
38 -LICENSE="GPL-2 LGPL-2 FDL-1.1"
39 -SLOT="0"
40 -if [[ ${PV} = 9999 ]]; then
41 - KEYWORDS=""
42 -else
43 - KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-solaris"
44 -fi
45 -IUSE="doc elibc_FreeBSD gconf ipv6 systemd"
46 -
47 -# x11-misc/xdg-user-dirs{,-gtk} are needed to create the various XDG_*_DIRs, and
48 -# create .config/user-dirs.dirs which is read by glib to get G_USER_DIRECTORY_*
49 -# xdg-user-dirs-update is run during login (see 10-user-dirs-update-gnome below).
50 -# gdk-pixbuf used in the inhibit dialog
51 -COMMON_DEPEND=">=dev-libs/glib-2.33.4:2
52 - x11-libs/gdk-pixbuf:2
53 - >=x11-libs/gtk+-2.90.7:3
54 - >=dev-libs/json-glib-0.10
55 - >=dev-libs/dbus-glib-0.76
56 - >=sys-power/upower-0.9.0
57 - elibc_FreeBSD? ( dev-libs/libexecinfo )
58 -
59 - virtual/opengl
60 - x11-libs/libSM
61 - x11-libs/libICE
62 - x11-libs/libXau
63 - x11-libs/libX11
64 - x11-libs/libXcomposite
65 - x11-libs/libXext
66 - x11-libs/libXrender
67 - x11-libs/libXtst
68 - x11-misc/xdg-user-dirs
69 - x11-misc/xdg-user-dirs-gtk
70 - x11-apps/xdpyinfo
71 -
72 - gconf? ( >=gnome-base/gconf-2:2 )"
73 -# Pure-runtime deps from the session files should *NOT* be added here
74 -# Otherwise, things like gdm pull in gnome-shell
75 -# gnome-themes-standard is needed for the failwhale dialog themeing
76 -# sys-apps/dbus[X] is needed for session management
77 -RDEPEND="${COMMON_DEPEND}
78 - gnome-base/gnome-settings-daemon
79 - >=gnome-base/gsettings-desktop-schemas-0.1.7
80 - >=x11-themes/gnome-themes-standard-2.91.92
81 - sys-apps/dbus[X]
82 - systemd? ( >=sys-apps/systemd-183 )
83 - !systemd? ( sys-auth/consolekit )"
84 -DEPEND="${COMMON_DEPEND}
85 - >=dev-lang/perl-5
86 - >=sys-devel/gettext-0.10.40
87 - >=dev-util/intltool-0.40.6
88 - virtual/pkgconfig
89 - !<gnome-base/gdm-2.20.4
90 - doc? (
91 - app-text/xmlto
92 - dev-libs/libxslt )"
93 -# gnome-common needed for eautoreconf
94 -# gnome-base/gdm does not provide gnome.desktop anymore
95 -
96 -src_configure() {
97 - DOCS="AUTHORS ChangeLog NEWS README"
98 - G2CONF="${G2CONF}
99 - --disable-deprecation-flags
100 - --disable-schemas-compile
101 - --docdir="${EPREFIX}/usr/share/doc/${PF}"
102 - $(use_enable doc docbook-docs)
103 - $(use_enable gconf)
104 - $(use_enable ipv6)
105 - $(use_enable systemd)"
106 - gnome2_src_configure
107 -}
108 -
109 -src_install() {
110 - gnome2_src_install
111 -
112 - dodir /etc/X11/Sessions
113 - exeinto /etc/X11/Sessions
114 - doexe "${FILESDIR}/Gnome"
115 -
116 - dodir /usr/share/gnome/applications/
117 - insinto /usr/share/gnome/applications/
118 - doins "${FILESDIR}/defaults.list"
119 -
120 - dodir /etc/X11/xinit/xinitrc.d/
121 - exeinto /etc/X11/xinit/xinitrc.d/
122 - newexe "${FILESDIR}/15-xdg-data-gnome-r1" 15-xdg-data-gnome
123 -
124 - # This should be done here as discussed in bug #270852
125 - newexe "${FILESDIR}/10-user-dirs-update-gnome-r1" 10-user-dirs-update-gnome
126 -}
127 -
128 -pkg_postinst() {
129 - gnome2_pkg_postinst
130 -
131 - if ! has_version gnome-base/gdm && ! has_version kde-base/kdm; then
132 - ewarn "If you use a custom .xinitrc for your X session,"
133 - ewarn "make sure that the commands in the xinitrc.d scripts are run."
134 - fi
135 -}
136
137 diff --git a/gnome-base/gnome-session/gnome-session-9999.ebuild b/gnome-base/gnome-session/gnome-session-9999.ebuild
138 index 149656f..71a4ef7 100644
139 --- a/gnome-base/gnome-session/gnome-session-9999.ebuild
140 +++ b/gnome-base/gnome-session/gnome-session-9999.ebuild
141 @@ -2,7 +2,7 @@
142 # Distributed under the terms of the GNU General Public License v2
143 # $Header: $
144
145 -EAPI="4"
146 +EAPI="5"
147 GCONF_DEBUG="yes"
148
149 inherit gnome2
150 @@ -26,7 +26,8 @@ IUSE="doc elibc_FreeBSD gconf ipv6 systemd"
151 # create .config/user-dirs.dirs which is read by glib to get G_USER_DIRECTORY_*
152 # xdg-user-dirs-update is run during login (see 10-user-dirs-update-gnome below).
153 # gdk-pixbuf used in the inhibit dialog
154 -COMMON_DEPEND=">=dev-libs/glib-2.33.4:2
155 +COMMON_DEPEND="
156 + >=dev-libs/glib-2.33.4:2
157 x11-libs/gdk-pixbuf:2
158 >=x11-libs/gtk+-2.90.7:3
159 >=dev-libs/json-glib-0.10
160 @@ -47,7 +48,8 @@ COMMON_DEPEND=">=dev-libs/glib-2.33.4:2
161 x11-misc/xdg-user-dirs-gtk
162 x11-apps/xdpyinfo
163
164 - gconf? ( >=gnome-base/gconf-2:2 )"
165 + gconf? ( >=gnome-base/gconf-2:2 )
166 +"
167 # Pure-runtime deps from the session files should *NOT* be added here
168 # Otherwise, things like gdm pull in gnome-shell
169 # gnome-themes-standard is needed for the failwhale dialog themeing
170 @@ -58,24 +60,31 @@ RDEPEND="${COMMON_DEPEND}
171 >=x11-themes/gnome-themes-standard-2.91.92
172 sys-apps/dbus[X]
173 systemd? ( >=sys-apps/systemd-183 )
174 - !systemd? ( sys-auth/consolekit )"
175 + !systemd? ( sys-auth/consolekit )
176 +"
177 DEPEND="${COMMON_DEPEND}
178 >=dev-lang/perl-5
179 >=sys-devel/gettext-0.10.40
180 >=dev-util/intltool-0.40.6
181 + x11-libs/pango[X]
182 virtual/pkgconfig
183 !<gnome-base/gdm-2.20.4
184 doc? (
185 app-text/xmlto
186 - dev-libs/libxslt )"
187 + dev-libs/libxslt )
188 +"
189 # gnome-common needed for eautoreconf
190 # gnome-base/gdm does not provide gnome.desktop anymore
191
192 +src_prepare() {
193 + # Silence errors due to weird checks for libX11
194 + sed -e 's/\(PANGO_PACKAGES="\)pangox/\1/' -i configure.ac configure || die
195 + gnome2_src_prepare
196 +}
197 +
198 src_configure() {
199 - DOCS="AUTHORS ChangeLog NEWS README"
200 G2CONF="${G2CONF}
201 --disable-deprecation-flags
202 - --disable-schemas-compile
203 --docdir="${EPREFIX}/usr/share/doc/${PF}"
204 $(use_enable doc docbook-docs)
205 $(use_enable gconf)