1 |
commit: 6ffbab1f4ebb02f5ccb8ff1434b5dca28d2ed8e7 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Oct 16 13:12:23 2018 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Oct 17 14:40:50 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ffbab1f |
7 |
|
8 |
x11-libs/libfm-extra: Drop 1.2.3, 1.2.4 |
9 |
|
10 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
11 |
Package-Manager: Portage-2.3.51, Repoman-2.3.11 |
12 |
|
13 |
x11-libs/libfm-extra/Manifest | 2 - |
14 |
x11-libs/libfm-extra/libfm-extra-1.2.3.ebuild | 91 --------------------------- |
15 |
x11-libs/libfm-extra/libfm-extra-1.2.4.ebuild | 91 --------------------------- |
16 |
3 files changed, 184 deletions(-) |
17 |
|
18 |
diff --git a/x11-libs/libfm-extra/Manifest b/x11-libs/libfm-extra/Manifest |
19 |
index dcd9a9df723..7be34662612 100644 |
20 |
--- a/x11-libs/libfm-extra/Manifest |
21 |
+++ b/x11-libs/libfm-extra/Manifest |
22 |
@@ -1,3 +1 @@ |
23 |
-DIST libfm-1.2.3.tar.xz 898256 BLAKE2B 96a384cf2ebba7a833a97825dd1c3ba499bec1099d321eb6e400b7e09116d28f7835228be7a98eb46630e9fed286ef12e58c1a5f06d7efc75ba4ecfafdd80eae SHA512 f4c214daffc47f05ba31c65203ab0542a03f5a246ea4bb62b6b365ac3fa120a1a51e37b00f8a43afe56875eb69f9be327ac724dafb6fc2de13aa77deea23f443 |
24 |
-DIST libfm-1.2.4.tar.gz 1259686 BLAKE2B 4c81e93c1d7f46d805167a3873ac3dfc6ff481df43258a0ea8d28614ba271496490ad02720cdf316fc563cfb273e38afb482a6aa44256f40f10cda3546565db3 SHA512 7196ae4af99ef41d77e1113dea62e35244b0be57c8cd7fcef2e0559daa5564ddfb163293225708c1697068e6a41d9842f96991145c34c41a7f510f38345d2f9c |
25 |
DIST libfm-1.2.5.tar.gz 1261152 BLAKE2B 30da6771ad4ab31be675a3af2ce7c9dd04e80be9f33b25300bf386f45f9fd652654e211c312d1e283a63cdbde4f5c8e3673a36fc0075e3b1981d9f5995683057 SHA512 0bc7910081cadc4c8c4648f3483fb5791e9480700400ded452dd5985e7fb0d8524f2c676f0171a5cd283422a13f240f40cfe5ccc8d10dce02dd784d62250b7cc |
26 |
|
27 |
diff --git a/x11-libs/libfm-extra/libfm-extra-1.2.3.ebuild b/x11-libs/libfm-extra/libfm-extra-1.2.3.ebuild |
28 |
deleted file mode 100644 |
29 |
index 56f056e2e91..00000000000 |
30 |
--- a/x11-libs/libfm-extra/libfm-extra-1.2.3.ebuild |
31 |
+++ /dev/null |
32 |
@@ -1,91 +0,0 @@ |
33 |
-# Copyright 1999-2018 Gentoo Foundation |
34 |
-# Distributed under the terms of the GNU General Public License v2 |
35 |
- |
36 |
-EAPI=5 |
37 |
-inherit autotools xdg-utils |
38 |
- |
39 |
-MY_PV=${PV/_/} |
40 |
-MY_PN="libfm" |
41 |
-MY_P="${MY_PN}-${MY_PV}" |
42 |
-DESCRIPTION="A library for file management" |
43 |
-HOMEPAGE="http://pcmanfm.sourceforge.net/" |
44 |
-SRC_URI="https://dev.gentoo.org/~hwoarang/distfiles/${MY_P}.tar.xz" |
45 |
- |
46 |
-KEYWORDS="~alpha amd64 arm ~arm64 ~mips ppc x86 ~amd64-linux ~x86-linux" |
47 |
-LICENSE="GPL-2" |
48 |
-SLOT="0/4.3.0" #copy ABI_VERSION because it seems upstream change it randomly |
49 |
-IUSE="" |
50 |
- |
51 |
-RDEPEND=">=dev-libs/glib-2.18:2" |
52 |
-DEPEND="${RDEPEND} |
53 |
- app-arch/xz-utils |
54 |
- >=dev-util/intltool-0.40 |
55 |
- virtual/pkgconfig |
56 |
- sys-devel/gettext |
57 |
- !!<=x11-libs/libfm-1.2.3" |
58 |
- |
59 |
-S="${WORKDIR}"/${MY_P} |
60 |
- |
61 |
-src_prepare() { |
62 |
- sed -ie '/^SUBDIR.*=/s#docs##' "${S}"/Makefile.am || die "sed failed" |
63 |
- sed -ie '/^[[:space:]]*docs/d' configure.ac || die "sed failed" |
64 |
- sed -i -e "s:-O0::" -e "/-DG_ENABLE_DEBUG/s: -g::" \ |
65 |
- configure.ac || die "sed failed" |
66 |
- |
67 |
- #disable unused translations. Bug #356029 |
68 |
- for trans in app-chooser ask-rename exec-file file-prop preferred-apps \ |
69 |
- progress;do |
70 |
- echo "data/ui/"${trans}.ui >> po/POTFILES.in |
71 |
- done |
72 |
- #Remove -Werror for automake-1.12. Bug #421101 |
73 |
- sed -i "s:-Werror::" configure.ac || die |
74 |
- |
75 |
- # subslot sanity check |
76 |
- local sub_slot=${SLOT#*/} |
77 |
- local libfm_major_abi=$(sed -rne '/ABI_VERSION/s:.*=::p' src/Makefile.am | tr ':' '.') |
78 |
- |
79 |
- if [[ ${sub_slot} != ${libfm_major_abi} ]]; then |
80 |
- eerror "Ebuild sub-slot (${sub_slot}) does not match ABI_VERSION(${libfm_major_abi})" |
81 |
- eerror "Please update SLOT variable as follows:" |
82 |
- eerror " SLOT=\"${SLOT%%/*}/${libfm_major_abi}\"" |
83 |
- eerror |
84 |
- die "sub-slot sanity check failed" |
85 |
- fi |
86 |
- |
87 |
- eautoreconf |
88 |
- rm -r autom4te.cache || die |
89 |
-} |
90 |
- |
91 |
-src_configure() { |
92 |
- econf --sysconfdir="${EPREFIX}/etc" --disable-dependency-tracking \ |
93 |
- --disable-static --with-extra-only |
94 |
-} |
95 |
- |
96 |
-src_install() { |
97 |
- default |
98 |
- find "${D}" -name '*.la' -exec rm -f '{}' + |
99 |
- # Sometimes a directory is created instead of a symlink. No idea why... |
100 |
- # It is wrong anyway. We expect a libfm-1.0 directory and then a libfm |
101 |
- # symlink to it. |
102 |
- if [[ -h ${D}/usr/include/${MY_PN} || -d ${D}/usr/include/${MY_PN} ]]; then |
103 |
- rm -r "${D}"/usr/include/${MY_PN} |
104 |
- fi |
105 |
-} |
106 |
- |
107 |
-pkg_preinst() { |
108 |
- # Resolve the symlink mess. Bug #439570 |
109 |
- [[ -d "${ROOT}"/usr/include/${MY_PN} ]] && \ |
110 |
- rm -rf "${ROOT}"/usr/include/${MY_PN} |
111 |
- if [[ -d "${D}"/usr/include/${MY_PN}-1.0 ]]; then |
112 |
- cd "${D}"/usr/include |
113 |
- ln -s --force ${MY_PN}-1.0 ${MY_PN} |
114 |
- fi |
115 |
-} |
116 |
- |
117 |
-pkg_postinst() { |
118 |
- xdg_mimeinfo_database_update |
119 |
-} |
120 |
- |
121 |
-pkg_postrm() { |
122 |
- xdg_mimeinfo_database_update |
123 |
-} |
124 |
|
125 |
diff --git a/x11-libs/libfm-extra/libfm-extra-1.2.4.ebuild b/x11-libs/libfm-extra/libfm-extra-1.2.4.ebuild |
126 |
deleted file mode 100644 |
127 |
index aa65e3f1c6c..00000000000 |
128 |
--- a/x11-libs/libfm-extra/libfm-extra-1.2.4.ebuild |
129 |
+++ /dev/null |
130 |
@@ -1,91 +0,0 @@ |
131 |
-# Copyright 1999-2018 Gentoo Foundation |
132 |
-# Distributed under the terms of the GNU General Public License v2 |
133 |
- |
134 |
-EAPI=5 |
135 |
-inherit autotools xdg-utils |
136 |
- |
137 |
-MY_PV=${PV/_/} |
138 |
-MY_PN="libfm" |
139 |
-MY_P="${MY_PN}-${MY_PV}" |
140 |
-DESCRIPTION="A library for file management" |
141 |
-HOMEPAGE="http://pcmanfm.sourceforge.net/" |
142 |
-SRC_URI="https://github.com/lxde/libfm/archive/1.2.4.tar.gz -> ${MY_P}.tar.gz" |
143 |
- |
144 |
-KEYWORDS="~alpha amd64 arm ~arm64 ~mips ppc x86 ~amd64-linux ~x86-linux" |
145 |
-LICENSE="GPL-2" |
146 |
-SLOT="0/4.4.0" #copy ABI_VERSION because it seems upstream change it randomly |
147 |
-IUSE="" |
148 |
- |
149 |
-RDEPEND=">=dev-libs/glib-2.18:2" |
150 |
-DEPEND="${RDEPEND} |
151 |
- app-arch/xz-utils |
152 |
- >=dev-util/intltool-0.40 |
153 |
- virtual/pkgconfig |
154 |
- sys-devel/gettext |
155 |
- !!<=x11-libs/libfm-1.2.3" |
156 |
- |
157 |
-S="${WORKDIR}"/${MY_P} |
158 |
- |
159 |
-src_prepare() { |
160 |
- sed -ie '/^SUBDIR.*=/s#docs##' "${S}"/Makefile.am || die "sed failed" |
161 |
- sed -ie '/^[[:space:]]*docs/d' configure.ac || die "sed failed" |
162 |
- sed -i -e "s:-O0::" -e "/-DG_ENABLE_DEBUG/s: -g::" \ |
163 |
- configure.ac || die "sed failed" |
164 |
- |
165 |
- #disable unused translations. Bug #356029 |
166 |
- for trans in app-chooser ask-rename exec-file file-prop preferred-apps \ |
167 |
- progress;do |
168 |
- echo "data/ui/"${trans}.ui >> po/POTFILES.in |
169 |
- done |
170 |
- #Remove -Werror for automake-1.12. Bug #421101 |
171 |
- sed -i "s:-Werror::" configure.ac || die |
172 |
- |
173 |
- # subslot sanity check |
174 |
- local sub_slot=${SLOT#*/} |
175 |
- local libfm_major_abi=$(sed -rne '/ABI_VERSION/s:.*=::p' src/Makefile.am | tr ':' '.') |
176 |
- |
177 |
- if [[ ${sub_slot} != ${libfm_major_abi} ]]; then |
178 |
- eerror "Ebuild sub-slot (${sub_slot}) does not match ABI_VERSION(${libfm_major_abi})" |
179 |
- eerror "Please update SLOT variable as follows:" |
180 |
- eerror " SLOT=\"${SLOT%%/*}/${libfm_major_abi}\"" |
181 |
- eerror |
182 |
- die "sub-slot sanity check failed" |
183 |
- fi |
184 |
- |
185 |
- eautoreconf |
186 |
- rm -r autom4te.cache || die |
187 |
-} |
188 |
- |
189 |
-src_configure() { |
190 |
- econf --sysconfdir="${EPREFIX}/etc" --disable-dependency-tracking \ |
191 |
- --disable-static --with-extra-only |
192 |
-} |
193 |
- |
194 |
-src_install() { |
195 |
- default |
196 |
- find "${D}" -name '*.la' -exec rm -f '{}' + |
197 |
- # Sometimes a directory is created instead of a symlink. No idea why... |
198 |
- # It is wrong anyway. We expect a libfm-1.0 directory and then a libfm |
199 |
- # symlink to it. |
200 |
- if [[ -h ${D}/usr/include/${MY_PN} || -d ${D}/usr/include/${MY_PN} ]]; then |
201 |
- rm -r "${D}"/usr/include/${MY_PN} |
202 |
- fi |
203 |
-} |
204 |
- |
205 |
-pkg_preinst() { |
206 |
- # Resolve the symlink mess. Bug #439570 |
207 |
- [[ -d "${ROOT}"/usr/include/${MY_PN} ]] && \ |
208 |
- rm -rf "${ROOT}"/usr/include/${MY_PN} |
209 |
- if [[ -d "${D}"/usr/include/${MY_PN}-1.0 ]]; then |
210 |
- cd "${D}"/usr/include |
211 |
- ln -s --force ${MY_PN}-1.0 ${MY_PN} |
212 |
- fi |
213 |
-} |
214 |
- |
215 |
-pkg_postinst() { |
216 |
- xdg_mimeinfo_database_update |
217 |
-} |
218 |
- |
219 |
-pkg_postrm() { |
220 |
- xdg_mimeinfo_database_update |
221 |
-} |