Gentoo Archives: gentoo-commits

From: Jeroen Roovers <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/xfe/files/, x11-misc/xfe/
Date: Wed, 16 Dec 2015 07:26:17
Message-Id: 1450250765.9a0652930b0d4a35a7069c67c403e24039c41a68.jer@gentoo
1 commit: 9a0652930b0d4a35a7069c67c403e24039c41a68
2 Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
3 AuthorDate: Wed Dec 16 07:25:45 2015 +0000
4 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
5 CommitDate: Wed Dec 16 07:26:05 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a065293
7
8 x11-misc/xfe: Version bump (bug #567808 by teidakankan).
9
10 Package-Manager: portage-2.2.26
11
12 x11-misc/xfe/Manifest | 1 +
13 x11-misc/xfe/files/xfe-1.41-sn.patch | 14 +++++++
14 x11-misc/xfe/xfe-1.41.ebuild | 75 ++++++++++++++++++++++++++++++++++++
15 3 files changed, 90 insertions(+)
16
17 diff --git a/x11-misc/xfe/Manifest b/x11-misc/xfe/Manifest
18 index 3c4e472..2c8f119 100644
19 --- a/x11-misc/xfe/Manifest
20 +++ b/x11-misc/xfe/Manifest
21 @@ -1,2 +1,3 @@
22 DIST xfe-1.40.1.tar.gz 2627754 SHA256 ec3d9495bb329c6199f6265dbfb514ffd3bdb8801e36ccc4e8fac6cea15bcc71 SHA512 d4d701dc84b342ca6f728073ff746d7308cc1cf1254956e41831cfa933649c7ac2ed32a55e6dc92047636e99f14d2609f5307aab5af07c700e597dd1cf4bf4cb WHIRLPOOL 00469cfe07604986b0a24fbcbb79c2174af6fc91ccaa7c08a47c31e6450ae637d3e1db002485d730f4ee241156c155754dcebd5a0d629941f101921c2825f533
23 DIST xfe-1.40.tar.gz 2574477 SHA256 2b476f15beff1a1ce85dd4ce6559bb7ceca78b866c63fb4986456862a36862a8 SHA512 22cf9fd60dcd4b594d7ff39ea78d10a8c71ee2433025acf32b7e69457a5e86852b54e448ebc1e3f63f39bf720767064c74c46eaf2b999c14ae76417d33272892 WHIRLPOOL 5c3ce54db8ac3c7e99f590100a493e3611ea2cad90b498d0b673d1366a85ed0280c8aa664f60f9de633192964a5cead4efee65e6eee69f65fdd0928061e07e0e
24 +DIST xfe-1.41.tar.gz 2752508 SHA256 d31ac9fdfa9223e54920ee8aabe20b43fa08ee4b6a5ee11a2d3c210506a3603f SHA512 eb9e1dfb02e5ae4bb9ccbf78bef8744ef61a72fb47795bb4598905c2f7ed01c65ed4443fd1b8981feb457b24daae1aa438170942eb97ec8b450c61b0742e4d2a WHIRLPOOL 9fc16836f8fb70d32b57902b504ccd438166d888da50049812f93b597e6dfa9920e357490d53f3718e4ae2b25d71977a528aeefa84d56d76d50ac7b5c85ce359
25
26 diff --git a/x11-misc/xfe/files/xfe-1.41-sn.patch b/x11-misc/xfe/files/xfe-1.41-sn.patch
27 new file mode 100644
28 index 0000000..e4700eb
29 --- /dev/null
30 +++ b/x11-misc/xfe/files/xfe-1.41-sn.patch
31 @@ -0,0 +1,14 @@
32 +--- a/src/Properties.cpp
33 ++++ b/src/Properties.cpp
34 +@@ -1169,7 +1169,11 @@
35 +
36 + FXbool confirm = false;
37 +
38 ++#ifdef STARTUP_NOTIFICATION
39 + if (executable && snbutton->getCheck() != sndisable_prev)
40 ++#else
41 ++ if (executable)
42 ++#endif
43 + {
44 + confirm = true;
45 + }
46
47 diff --git a/x11-misc/xfe/xfe-1.41.ebuild b/x11-misc/xfe/xfe-1.41.ebuild
48 new file mode 100644
49 index 0000000..aaee974
50 --- /dev/null
51 +++ b/x11-misc/xfe/xfe-1.41.ebuild
52 @@ -0,0 +1,75 @@
53 +# Copyright 1999-2015 Gentoo Foundation
54 +# Distributed under the terms of the GNU General Public License v2
55 +# $Id$
56 +
57 +EAPI=5
58 +
59 +PLOCALES="
60 + bs ca cs da de el es_AR es_CO es fr hu it ja nl no pl pt_BR pt_PT ru sv tr
61 + zh_CN zh_TW
62 +"
63 +inherit autotools eutils l10n
64 +
65 +DESCRIPTION="MS-Explorer-like minimalist file manager for X"
66 +HOMEPAGE="http://roland65.free.fr/xfe"
67 +SRC_URI="mirror://sourceforge/${PN}/${PN}/${PV}/${P}.tar.gz"
68 +
69 +LICENSE="GPL-2"
70 +SLOT="0"
71 +KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
72 +IUSE="debug nls startup-notification"
73 +
74 +RDEPEND="
75 + media-libs/libpng:0
76 + x11-libs/fox:1.6[truetype,png]
77 + x11-libs/libX11
78 + x11-libs/libXft
79 + startup-notification? ( x11-libs/startup-notification )
80 +"
81 +DEPEND="
82 + ${RDEPEND}
83 + virtual/pkgconfig
84 + nls? (
85 + dev-util/intltool
86 + sys-devel/gettext
87 + )
88 +"
89 +
90 +DOCS=( AUTHORS BUGS ChangeLog README TODO )
91 +
92 +src_prepare() {
93 + epatch "${FILESDIR}"/${PN}-1.41-sn.patch
94 +
95 + cat >po/POTFILES.skip <<-EOF
96 + src/icons.cpp
97 + xfe.desktop.in.in
98 + xfi.desktop.in.in
99 + xfp.desktop.in.in
100 + xfv.desktop.in.in
101 + xfw.desktop.in.in
102 + EOF
103 +
104 + # malformed LINGUAS file
105 + # recent intltool expects newline for every linguas
106 + sed -i \
107 + -e '/^#/!s:\s\s*:\n:g' \
108 + po/LINGUAS || die
109 +
110 + # remove not selected locales
111 + rm_locale() { sed -i -e "/${1}/d" po/LINGUAS || die ;}
112 + l10n_for_each_disabled_locale_do rm_locale
113 +
114 + sed -i \
115 + -e 's|AM_CONFIG_HEADER|AC_CONFIG_HEADERS|g' \
116 + configure.ac || die
117 +
118 + eautoreconf
119 +}
120 +
121 +src_configure() {
122 + econf \
123 + $(use_enable debug) \
124 + $(use_enable nls) \
125 + $(use_enable startup-notification sn) \
126 + --enable-minimalflags
127 +}