Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: xfce-base/xfce4-session/
Date: Sat, 04 Aug 2018 10:40:20
Message-Id: 1533379207.42f503db21fc3653e2d985640b9c7e2482a7533d.mgorny@gentoo
1 commit: 42f503db21fc3653e2d985640b9c7e2482a7533d
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sat Aug 4 10:39:01 2018 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat Aug 4 10:40:07 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=42f503db
7
8 xfce-base/xfce4-session: Bump to 4.13.1
9
10 xfce-base/xfce4-session/Manifest | 1 +
11 .../xfce4-session/xfce4-session-4.13.1.ebuild | 75 ++++++++++++++++++++++
12 2 files changed, 76 insertions(+)
13
14 diff --git a/xfce-base/xfce4-session/Manifest b/xfce-base/xfce4-session/Manifest
15 index 653b0ec7918..7f8dfeb1265 100644
16 --- a/xfce-base/xfce4-session/Manifest
17 +++ b/xfce-base/xfce4-session/Manifest
18 @@ -1,2 +1,3 @@
19 DIST xfce4-session-4.12.1.tar.bz2 1289284 BLAKE2B 00af274ac1160a413c9e2c8b308dfc84248f0078e8c294528614bb642988468f9dadaae906b4a8e2179d2beef0a48ebf5e2eedcb2ed3ad7ea73a8f7a9b90e224 SHA512 d7f37dbff59acb316965ab2224674ac3b5b7cfd7262acd4426b582001cee313945acb8883be21553dd6d7a046934bbbe116f451e6d5fd35b6fa5444da94605df
20 DIST xfce4-session-4.13.0.tar.bz2 1314715 BLAKE2B 7ab5bf645feaf9862e9cc4f36f26cfd614e7c66aa32cdb41ded8b0067e3aa23a6897beb6c362685f84c5b2a0f3d91462ab3dc7fed5a15875eff49107719c6c1c SHA512 61f9a547b03eb109a1a0fc83feaac743ea2119360f2f7208e589feb3e8f1db016ffe85cf1c8e20633ec399f263dcbccd35c431bde6f6f1482658688096da5cb0
21 +DIST xfce4-session-4.13.1.tar.bz2 1322823 BLAKE2B e50cc2628a068bed39d2aa6344eab7676e6464c84e3cf11d79518f78db54ea01316bd098a541b6f0897f3decbed2eb37e55009d4bf89d460e136d7a44d31c26a SHA512 5845e3591919e23ca176199e81075a097ef9d65cbcf23b34d84afc649a307bfa8c6492e3a01855cacff9328da809725213ec1fa9d76024c0a0c25cce3c51da1b
22
23 diff --git a/xfce-base/xfce4-session/xfce4-session-4.13.1.ebuild b/xfce-base/xfce4-session/xfce4-session-4.13.1.ebuild
24 new file mode 100644
25 index 00000000000..7819b1d8883
26 --- /dev/null
27 +++ b/xfce-base/xfce4-session/xfce4-session-4.13.1.ebuild
28 @@ -0,0 +1,75 @@
29 +# Copyright 1999-2018 Gentoo Foundation
30 +# Distributed under the terms of the GNU General Public License v2
31 +
32 +EAPI=6
33 +
34 +inherit gnome2-utils
35 +
36 +DESCRIPTION="A session manager for the Xfce desktop environment"
37 +HOMEPAGE="https://docs.xfce.org/xfce/xfce4-session/start"
38 +SRC_URI="https://archive.xfce.org/src/xfce/${PN}/${PV%.*}/${P}.tar.bz2"
39 +
40 +LICENSE="GPL-2"
41 +SLOT="0"
42 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x86-solaris"
43 +IUSE="nls policykit systemd +xscreensaver"
44 +
45 +COMMON_DEPEND="x11-apps/iceauth
46 + >=x11-libs/gtk+-3.20:3=
47 + x11-libs/libSM:=
48 + x11-libs/libwnck:3=
49 + x11-libs/libX11:=
50 + >=xfce-base/libxfce4util-4.12:=
51 + >=xfce-base/libxfce4ui-4.12.1:=[gtk3(+)]
52 + >=xfce-base/xfconf-4.12:=
53 + policykit? ( >=sys-auth/polkit-0.102:= )"
54 +RDEPEND="${COMMON_DEPEND}
55 + x11-apps/xrdb
56 + nls? ( x11-misc/xdg-user-dirs )
57 + xscreensaver? ( || (
58 + >=x11-misc/xscreensaver-5.26
59 + >=x11-misc/xlockmore-5.43
60 + x11-misc/slock
61 + x11-misc/alock[pam]
62 + ) )"
63 +DEPEND="${COMMON_DEPEND}
64 + dev-util/intltool
65 + sys-devel/gettext
66 + virtual/pkgconfig"
67 +
68 +REQUIRED_USE="systemd? ( policykit )"
69 +
70 +PATCHES=(
71 + "${FILESDIR}"/${PN}-4.10.1-alock_support_to_xflock4.patch
72 +# TODO: this patch needs updating for the new version, and finding
73 +# upstream bug.
74 +# "${FILESDIR}"/${PN}-4.12.1-light-locker_support_to_xflock4.patch
75 +)
76 +
77 +src_configure() {
78 + local myconf=(
79 + $(use_enable policykit polkit)
80 + --with-xsession-prefix="${EPREFIX}"/usr
81 + )
82 +
83 + econf "${myconf[@]}"
84 +}
85 +
86 +src_install() {
87 + default
88 + find "${ED}" -name '*.la' -delete || die
89 +
90 + local sessiondir=/etc/X11/Sessions
91 + echo startxfce4 > "${T}"/Xfce4 || die
92 + exeinto ${sessiondir}
93 + doexe "${T}"/Xfce4
94 + dosym Xfce4 ${sessiondir}/Xfce
95 +}
96 +
97 +pkg_postinst() {
98 + gnome2_icon_cache_update
99 +}
100 +
101 +pkg_postrm() {
102 + gnome2_icon_cache_update
103 +}