Gentoo Archives: gentoo-commits

From: Hanno Boeck <hanno@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: lxde-base/lxsession/
Date: Fri, 24 May 2019 18:26:13
Message-Id: 1558722353.d714311a34bbdc1fed8800ae770ae0ce1db9ffd5.hanno@gentoo
1 commit: d714311a34bbdc1fed8800ae770ae0ce1db9ffd5
2 Author: Hanno <hanno <AT> gentoo <DOT> org>
3 AuthorDate: Fri May 24 18:25:53 2019 +0000
4 Commit: Hanno Boeck <hanno <AT> gentoo <DOT> org>
5 CommitDate: Fri May 24 18:25:53 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d714311a
7
8 lxde-base/lxsession: Version bump.
9
10 Remove obsolete SED-lines and patch, EAPI=7.
11
12 Closes: https://bugs.gentoo.org/681964
13 Signed-off-by: Hanno Boeck <hanno <AT> gentoo.org>
14 Package-Manager: Portage-2.3.66, Repoman-2.3.12
15
16 lxde-base/lxsession/Manifest | 1 +
17 lxde-base/lxsession/lxsession-0.5.4.ebuild | 63 ++++++++++++++++++++++++++++++
18 2 files changed, 64 insertions(+)
19
20 diff --git a/lxde-base/lxsession/Manifest b/lxde-base/lxsession/Manifest
21 index dc683212cd2..f640f1aba27 100644
22 --- a/lxde-base/lxsession/Manifest
23 +++ b/lxde-base/lxsession/Manifest
24 @@ -1 +1,2 @@
25 DIST lxsession-0.5.2.tar.xz 354092 BLAKE2B 3acbf1be74ed461d331ea8ed10e5c403057671d5f7f32c72951ba89681ad4b0b1a104c2962805738e5b414549e84db3e12327172ffe1b7c6f13a09e09c44fd0f SHA512 2e08e5263bb4ef9d8051e84997347a12d2f1ba75cf4e70f9e3ba783a509246f0d6efd672ac1cc1d0fffc8707710ddb148298449b5365deb6785623d596bc3da1
26 +DIST lxsession-0.5.4.tar.xz 422756 BLAKE2B a04c67dbbb9da6405e165a05eb43d82f9d7ecc943147a8c5ab4fb5edf50b40b408db102ea1e96e142f61fcc2d1ead023685c33e1c26c09a4183882cfe9c5c930 SHA512 5b92d6e703ef692e3788554a3a34eca7bb4b7bb23d735af838c35bfaab142238eaeee3095176e5e4a7464468ab5478a596c670b0e2488f8599091f3e2fc8482b
27
28 diff --git a/lxde-base/lxsession/lxsession-0.5.4.ebuild b/lxde-base/lxsession/lxsession-0.5.4.ebuild
29 new file mode 100644
30 index 00000000000..e9fb636e8f2
31 --- /dev/null
32 +++ b/lxde-base/lxsession/lxsession-0.5.4.ebuild
33 @@ -0,0 +1,63 @@
34 +# Copyright 1999-2019 Gentoo Authors
35 +# Distributed under the terms of the GNU General Public License v2
36 +
37 +EAPI=7
38 +inherit vala autotools
39 +
40 +DESCRIPTION="LXDE session manager"
41 +HOMEPAGE="https://wiki.lxde.org/en/LXSession"
42 +SRC_URI="mirror://sourceforge/lxde/${P}.tar.xz"
43 +
44 +LICENSE="GPL-2"
45 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc ~x86 ~x86-linux"
46 +SLOT="0"
47 +
48 +# upower USE flag is enabled by default in the desktop profile
49 +IUSE="nls upower"
50 +
51 +COMMON_DEPEND="
52 + dev-libs/glib:2
53 + dev-libs/dbus-glib
54 + dev-libs/libgee:0
55 + dev-libs/libunique:1
56 + lxde-base/lxde-common
57 + sys-auth/polkit
58 + x11-libs/gtk+:2
59 + x11-libs/libX11
60 + sys-apps/dbus
61 +"
62 +RDEPEND="${COMMON_DEPEND}
63 + !lxde-base/lxsession-edit
64 + sys-apps/lsb-release
65 + upower? ( sys-power/upower )
66 +"
67 +DEPEND="${COMMON_DEPEND}
68 + $(vala_depend)
69 + dev-util/intltool
70 + sys-devel/gettext
71 + virtual/pkgconfig
72 + x11-base/xorg-proto
73 +"
74 +
75 +PATCHES=(
76 + # Fedora patches
77 + "${FILESDIR}"/${PN}-0.5.2-reload.patch
78 + "${FILESDIR}"/${PN}-0.5.2-notify-daemon-default.patch
79 + "${FILESDIR}"/${PN}-0.5.2-fix-invalid-memcpy.patch
80 +)
81 +
82 +src_prepare() {
83 + vala_src_prepare
84 +
85 + default
86 + eautoreconf
87 +}
88 +
89 +src_configure() {
90 + # dbus is used for restart/shutdown (CK, logind?), and suspend/hibernate (UPower)
91 + # gtk3 looks to not be ready, follow what other distributions are
92 + # doing
93 + econf \
94 + $(use_enable nls) \
95 + --disable-gtk3
96 +}