1 |
yngwin 15/03/06 12:44:59 |
2 |
|
3 |
Modified: metadata.xml ChangeLog |
4 |
Added: libfm-1.2.3-r1.ebuild |
5 |
Log: |
6 |
Split off libfm-extra to prevent circular dep with menu-cache. Add lxqt herd as co-maintainer. |
7 |
|
8 |
(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 0x4FDF9CFD2FAC514E!) |
9 |
|
10 |
Revision Changes Path |
11 |
1.10 x11-libs/libfm/metadata.xml |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/libfm/metadata.xml?rev=1.10&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/libfm/metadata.xml?rev=1.10&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/libfm/metadata.xml?r1=1.9&r2=1.10 |
16 |
|
17 |
Index: metadata.xml |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/x11-libs/libfm/metadata.xml,v |
20 |
retrieving revision 1.9 |
21 |
retrieving revision 1.10 |
22 |
diff -u -r1.9 -r1.10 |
23 |
--- metadata.xml 7 Feb 2014 22:43:19 -0000 1.9 |
24 |
+++ metadata.xml 6 Mar 2015 12:44:59 -0000 1.10 |
25 |
@@ -6,6 +6,7 @@ |
26 |
<email>hwoarang@g.o</email> |
27 |
<name>Markos Chandras</name> |
28 |
</maintainer> |
29 |
+ <herd>lxqt</herd> |
30 |
<use> |
31 |
<flag name='vala'>Support custom actions in menus</flag> |
32 |
<flag name='udisks'>Use libfm's udisks-based volume monitor implementation instead of using the one from gvfs</flag> |
33 |
|
34 |
|
35 |
|
36 |
1.104 x11-libs/libfm/ChangeLog |
37 |
|
38 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/libfm/ChangeLog?rev=1.104&view=markup |
39 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/libfm/ChangeLog?rev=1.104&content-type=text/plain |
40 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/libfm/ChangeLog?r1=1.103&r2=1.104 |
41 |
|
42 |
Index: ChangeLog |
43 |
=================================================================== |
44 |
RCS file: /var/cvsroot/gentoo-x86/x11-libs/libfm/ChangeLog,v |
45 |
retrieving revision 1.103 |
46 |
retrieving revision 1.104 |
47 |
diff -u -r1.103 -r1.104 |
48 |
--- ChangeLog 3 Mar 2015 11:39:33 -0000 1.103 |
49 |
+++ ChangeLog 6 Mar 2015 12:44:59 -0000 1.104 |
50 |
@@ -1,6 +1,13 @@ |
51 |
# ChangeLog for x11-libs/libfm |
52 |
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 |
53 |
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/libfm/ChangeLog,v 1.103 2015/03/03 11:39:33 dlan Exp $ |
54 |
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/libfm/ChangeLog,v 1.104 2015/03/06 12:44:59 yngwin Exp $ |
55 |
+ |
56 |
+*libfm-1.2.3-r1 (06 Mar 2015) |
57 |
+ |
58 |
+ 06 Mar 2015; Ben de Groot <yngwin@g.o> +libfm-1.2.3-r1.ebuild, |
59 |
+ metadata.xml: |
60 |
+ Split off libfm-extra to prevent circular dep with menu-cache. Add lxqt herd |
61 |
+ as co-maintainer. |
62 |
|
63 |
03 Mar 2015; Yixun Lan <dlan@g.o> libfm-1.2.3.ebuild: |
64 |
add arm64 support, tested on A53 board |
65 |
|
66 |
|
67 |
|
68 |
1.1 x11-libs/libfm/libfm-1.2.3-r1.ebuild |
69 |
|
70 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/libfm/libfm-1.2.3-r1.ebuild?rev=1.1&view=markup |
71 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/libfm/libfm-1.2.3-r1.ebuild?rev=1.1&content-type=text/plain |
72 |
|
73 |
Index: libfm-1.2.3-r1.ebuild |
74 |
=================================================================== |
75 |
# Copyright 1999-2015 Gentoo Foundation |
76 |
# Distributed under the terms of the GNU General Public License v2 |
77 |
# $Header: /var/cvsroot/gentoo-x86/x11-libs/libfm/libfm-1.2.3-r1.ebuild,v 1.1 2015/03/06 12:44:59 yngwin Exp $ |
78 |
|
79 |
EAPI=5 |
80 |
|
81 |
inherit autotools fdo-mime multilib vala |
82 |
|
83 |
MY_PV=${PV/_/} |
84 |
MY_P="${PN}-${MY_PV}" |
85 |
DESCRIPTION="A library for file management" |
86 |
HOMEPAGE="http://pcmanfm.sourceforge.net/" |
87 |
SRC_URI="http://dev.gentoo.org/~hwoarang/distfiles/${MY_P}.tar.xz" |
88 |
|
89 |
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~mips ~ppc ~x86 ~amd64-linux ~x86-linux" |
90 |
LICENSE="GPL-2" |
91 |
SLOT="0/4.3.0" #copy ABI_VERSION because it seems upstream change it randomly |
92 |
IUSE="+automount debug doc examples exif gtk udisks vala" |
93 |
|
94 |
COMMON_DEPEND=">=dev-libs/glib-2.18:2 |
95 |
gtk? ( >=x11-libs/gtk+-2.16:2 ) |
96 |
>=lxde-base/menu-cache-0.3.2:= |
97 |
~x11-libs/libfm-extra-${PV}" |
98 |
RDEPEND="${COMMON_DEPEND} |
99 |
!lxde-base/lxshortcut |
100 |
x11-misc/shared-mime-info |
101 |
automount? ( |
102 |
udisks? ( gnome-base/gvfs[udev,udisks] ) |
103 |
!udisks? ( gnome-base/gvfs[udev] ) |
104 |
) |
105 |
exif? ( media-libs/libexif )" |
106 |
DEPEND="${COMMON_DEPEND} |
107 |
vala? ( $(vala_depend) ) |
108 |
doc? ( |
109 |
dev-util/gtk-doc |
110 |
) |
111 |
app-arch/xz-utils |
112 |
>=dev-util/intltool-0.40 |
113 |
virtual/pkgconfig |
114 |
sys-devel/gettext" |
115 |
|
116 |
S="${WORKDIR}"/${MY_P} |
117 |
|
118 |
REQUIRED_USE="udisks? ( automount ) doc? ( gtk )" |
119 |
|
120 |
src_prepare() { |
121 |
if ! use doc; then |
122 |
sed -ie '/^SUBDIR.*=/s#docs##' "${S}"/Makefile.am || die "sed failed" |
123 |
sed -ie '/^[[:space:]]*docs/d' configure.ac || die "sed failed" |
124 |
fi |
125 |
sed -i -e "s:-O0::" -e "/-DG_ENABLE_DEBUG/s: -g::" \ |
126 |
configure.ac || die "sed failed" |
127 |
|
128 |
#disable unused translations. Bug #356029 |
129 |
for trans in app-chooser ask-rename exec-file file-prop preferred-apps \ |
130 |
progress;do |
131 |
echo "data/ui/"${trans}.ui >> po/POTFILES.in |
132 |
done |
133 |
#Remove -Werror for automake-1.12. Bug #421101 |
134 |
sed -i "s:-Werror::" configure.ac || die |
135 |
|
136 |
# subslot sanity check |
137 |
local sub_slot=${SLOT#*/} |
138 |
local libfm_major_abi=$(sed -rne '/ABI_VERSION/s:.*=::p' src/Makefile.am | tr ':' '.') |
139 |
|
140 |
if [[ ${sub_slot} != ${libfm_major_abi} ]]; then |
141 |
eerror "Ebuild sub-slot (${sub_slot}) does not match ABI_VERSION(${libfm_major_abi})" |
142 |
eerror "Please update SLOT variable as follows:" |
143 |
eerror " SLOT=\"${SLOT%%/*}/${libfm_major_abi}\"" |
144 |
eerror |
145 |
die "sub-slot sanity check failed" |
146 |
fi |
147 |
|
148 |
eautoreconf |
149 |
rm -r autom4te.cache || die |
150 |
use vala && export VALAC="$(type -p valac-$(vala_best_api_version))" |
151 |
} |
152 |
|
153 |
src_configure() { |
154 |
econf \ |
155 |
--sysconfdir="${EPREFIX}/etc" \ |
156 |
--disable-dependency-tracking \ |
157 |
--disable-static \ |
158 |
$(use_enable examples demo) \ |
159 |
$(use_enable exif) \ |
160 |
$(use_enable debug) \ |
161 |
$(use_enable udisks) \ |
162 |
$(use_enable vala actions) \ |
163 |
$(use_with gtk) \ |
164 |
$(use_enable doc gtk-doc) \ |
165 |
--with-html-dir=/usr/share/doc/${PF}/html |
166 |
} |
167 |
|
168 |
src_install() { |
169 |
default |
170 |
find "${D}" -name '*.la' -exec rm -f '{}' + |
171 |
# Sometimes a directory is created instead of a symlink. No idea why... |
172 |
# It is wrong anyway. We expect a libfm-1.0 directory and then a libfm |
173 |
# symlink to it. |
174 |
if [[ -h ${D}/usr/include/${PN} || -d ${D}/usr/include/${PN} ]]; then |
175 |
rm -r "${D}"/usr/include/${PN} |
176 |
fi |
177 |
# Remove files installed by split-off libfm-extra package |
178 |
rm "${D}"/usr/include/libfm-1.0/fm-{extra,version,xml-file}.h |
179 |
rm "${D}"/usr/$(get_libdir)/libfm-extra* |
180 |
rm "${D}"/usr/$(get_libdir)/pkgconfig/libfm-extra.pc |
181 |
} |
182 |
|
183 |
pkg_preinst() { |
184 |
# Resolve the symlink mess. Bug #439570 |
185 |
[[ -d "${ROOT}"/usr/include/${PN} ]] && \ |
186 |
rm -rf "${ROOT}"/usr/include/${PN} |
187 |
if [[ -d "${D}"/usr/include/${PN}-1.0 ]]; then |
188 |
cd "${D}"/usr/include |
189 |
ln -s --force ${PN}-1.0 ${PN} |
190 |
fi |
191 |
} |
192 |
|
193 |
pkg_postinst() { |
194 |
fdo-mime_mime_database_update |
195 |
} |
196 |
|
197 |
pkg_postrm() { |
198 |
fdo-mime_mime_database_update |
199 |
} |