Gentoo Archives: gentoo-commits

From: Gilles Dartiguelongue <eva@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/gnome:master commit in: app-arch/file-roller/
Date: Sun, 01 Dec 2013 17:20:06
Message-Id: 1385915243.ddf5ec34d48d90d87fedef0a030eb9dab7628040.eva@gentoo
1 commit: ddf5ec34d48d90d87fedef0a030eb9dab7628040
2 Author: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
3 AuthorDate: Sun Oct 13 09:57:04 2013 +0000
4 Commit: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
5 CommitDate: Sun Dec 1 16:27:23 2013 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=ddf5ec34
7
8 app-arch/file-roller: 3.8.4-r1 → 3.10.2.1
9
10 ---
11 app-arch/file-roller/file-roller-3.10.2.1.ebuild | 99 +++++++++++++++++++++
12 app-arch/file-roller/file-roller-9999.ebuild | 106 +++++++++++++----------
13 2 files changed, 158 insertions(+), 47 deletions(-)
14
15 diff --git a/app-arch/file-roller/file-roller-3.10.2.1.ebuild b/app-arch/file-roller/file-roller-3.10.2.1.ebuild
16 new file mode 100644
17 index 0000000..394c9f5
18 --- /dev/null
19 +++ b/app-arch/file-roller/file-roller-3.10.2.1.ebuild
20 @@ -0,0 +1,99 @@
21 +# Copyright 1999-2013 Gentoo Foundation
22 +# Distributed under the terms of the GNU General Public License v2
23 +# $Header: $
24 +
25 +EAPI="5"
26 +GCONF_DEBUG="no"
27 +GNOME2_LA_PUNT="yes"
28 +
29 +inherit eutils gnome2 readme.gentoo
30 +
31 +DESCRIPTION="Archive manager for GNOME"
32 +HOMEPAGE="http://fileroller.sourceforge.net/"
33 +
34 +LICENSE="GPL-2+ CC-BY-SA-3.0"
35 +SLOT="0"
36 +IUSE="nautilus packagekit"
37 +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux"
38 +
39 +# gdk-pixbuf used extensively in the source
40 +# cairo used in eggtreemultidnd.c
41 +# pango used in fr-window
42 +RDEPEND="
43 + >=app-arch/libarchive-3:=
44 + >=dev-libs/glib-2.36:2
45 + >=dev-libs/json-glib-0.14
46 + >=x11-libs/gtk+-3.9.3:3
47 + >=x11-libs/libnotify-0.4.3:=
48 + sys-apps/file
49 + x11-libs/cairo
50 + x11-libs/gdk-pixbuf:2
51 + x11-libs/libICE
52 + x11-libs/libSM
53 + x11-libs/pango
54 + nautilus? ( >=gnome-base/nautilus-3 )
55 + packagekit? ( app-admin/packagekit-base )
56 +"
57 +DEPEND="${RDEPEND}
58 + dev-util/desktop-file-utils
59 + >=dev-util/intltool-0.40.0
60 + sys-devel/gettext
61 + virtual/pkgconfig
62 +"
63 +# eautoreconf needs:
64 +# gnome-base/gnome-common
65 +
66 +DISABLE_AUTOFORMATTING="yes"
67 +DOC_CONTENTS="
68 +${PN} is a frontend for several archiving utilities. If you want a
69 +particular achive format support, see ${HOMEPAGE}
70 +and install the relevant package. For example:
71 +7-zip - app-arch/p7zip
72 +ace - app-arch/unace
73 +arj - app-arch/arj
74 +cpio - app-arch/cpio
75 +deb - app-arch/dpkg
76 +iso - app-cdr/cdrtools
77 +jar,zip - app-arch/zip and app-arch/unzip
78 +lha - app-arch/lha
79 +lzop - app-arch/lzop
80 +rar - app-arch/unrar or app-arch/unar
81 +rpm - app-arch/rpm
82 +unstuff - app-arch/stuffit
83 +zoo - app-arch/zoo"
84 +
85 +src_prepare() {
86 + # Use absolute path to GNU tar since star doesn't have the same
87 + # options. On Gentoo, star is /usr/bin/tar, GNU tar is /bin/tar
88 + epatch "${FILESDIR}"/${PN}-2.10.3-use_bin_tar.patch
89 +
90 + # File providing Gentoo package names for various archivers
91 + cp -f "${FILESDIR}/3.6.0-packages.match" data/packages.match || die
92 +
93 + gnome2_src_prepare
94 +}
95 +
96 +src_configure() {
97 + DOCS="AUTHORS ChangeLog HACKING MAINTAINERS NEWS README* TODO"
98 + # --disable-debug because enabling it adds -O0 to CFLAGS
99 + gnome2_src_configure \
100 + --disable-run-in-place \
101 + --disable-static \
102 + --disable-debug \
103 + --enable-magic \
104 + --enable-libarchive \
105 + --with-smclient=xsmp \
106 + $(use_enable nautilus nautilus-actions) \
107 + $(use_enable packagekit) \
108 + ITSTOOL=$(type -P true)
109 +}
110 +
111 +src_install() {
112 + gnome2_src_install
113 + readme.gentoo_create_doc
114 +}
115 +
116 +pkg_postinst() {
117 + gnome2_pkg_postinst
118 + readme.gentoo_print_elog
119 +}
120
121 diff --git a/app-arch/file-roller/file-roller-9999.ebuild b/app-arch/file-roller/file-roller-9999.ebuild
122 index 5e5ecb5..2c56cae 100644
123 --- a/app-arch/file-roller/file-roller-9999.ebuild
124 +++ b/app-arch/file-roller/file-roller-9999.ebuild
125 @@ -1,4 +1,4 @@
126 -# Copyright 1999-2012 Gentoo Foundation
127 +# Copyright 1999-2013 Gentoo Foundation
128 # Distributed under the terms of the GNU General Public License v2
129 # $Header: $
130
131 @@ -6,7 +6,7 @@ EAPI="5"
132 GCONF_DEBUG="no"
133 GNOME2_LA_PUNT="yes"
134
135 -inherit eutils gnome2
136 +inherit eutils gnome2 readme.gentoo
137 if [[ ${PV} = 9999 ]]; then
138 inherit gnome2-live
139 fi
140 @@ -14,36 +14,39 @@ fi
141 DESCRIPTION="Archive manager for GNOME"
142 HOMEPAGE="http://fileroller.sourceforge.net/"
143
144 -LICENSE="GPL-2+ CCPL-Attribution-ShareAlike-3.0"
145 +LICENSE="GPL-2+ CC-BY-SA-3.0"
146 SLOT="0"
147 IUSE="nautilus packagekit"
148 if [[ ${PV} = 9999 ]]; then
149 KEYWORDS=""
150 else
151 - KEYWORDS="~amd64 ~arm ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux"
152 + KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux"
153 fi
154
155 # gdk-pixbuf used extensively in the source
156 # cairo used in eggtreemultidnd.c
157 # pango used in fr-window
158 -RDEPEND=">=dev-libs/glib-2.29.14:2
159 +RDEPEND="
160 + >=app-arch/libarchive-3:=
161 + >=dev-libs/glib-2.36:2
162 + >=dev-libs/json-glib-0.14
163 + >=x11-libs/gtk+-3.9.3:3
164 + >=x11-libs/libnotify-0.4.3:=
165 sys-apps/file
166 x11-libs/cairo
167 x11-libs/gdk-pixbuf:2
168 - x11-libs/pango
169 - x11-libs/libSM
170 x11-libs/libICE
171 - >=x11-libs/gtk+-3.4:3
172 - >=app-arch/libarchive-3:=
173 - >=x11-libs/libnotify-0.4.3:=
174 - >=dev-libs/json-glib-0.14
175 + x11-libs/libSM
176 + x11-libs/pango
177 nautilus? ( >=gnome-base/nautilus-3 )
178 packagekit? ( app-admin/packagekit-base )
179 "
180 DEPEND="${RDEPEND}
181 + dev-util/desktop-file-utils
182 >=dev-util/intltool-0.40.0
183 sys-devel/gettext
184 - virtual/pkgconfig"
185 + virtual/pkgconfig
186 +"
187 # eautoreconf needs:
188 # gnome-base/gnome-common
189
190 @@ -52,50 +55,59 @@ if [[ ${PV} = 9999 ]]; then
191 app-text/yelp-tools"
192 fi
193
194 -src_prepare() {
195 - # --disable-debug because enabling it adds -O0 to CFLAGS
196 - G2CONF="${G2CONF}
197 - --disable-dependency-tracking
198 - --disable-run-in-place
199 - --disable-static
200 - --disable-debug
201 - --enable-magic
202 - --enable-libarchive
203 - --with-smclient=xsmp
204 - $(use_enable nautilus nautilus-actions)
205 - $(use_enable packagekit)"
206 - [[ ${PV} != 9999 ]] && G2CONF="${G2CONF} ITSTOOL=$(type -P true)"
207 - DOCS="AUTHORS ChangeLog HACKING MAINTAINERS NEWS README TODO"
208 -
209 - gnome2_src_prepare
210 +DISABLE_AUTOFORMATTING="yes"
211 +DOC_CONTENTS="
212 +${PN} is a frontend for several archiving utilities. If you want a
213 +particular achive format support, see ${HOMEPAGE}
214 +and install the relevant package. For example:
215 +7-zip - app-arch/p7zip
216 +ace - app-arch/unace
217 +arj - app-arch/arj
218 +cpio - app-arch/cpio
219 +deb - app-arch/dpkg
220 +iso - app-cdr/cdrtools
221 +jar,zip - app-arch/zip and app-arch/unzip
222 +lha - app-arch/lha
223 +lzop - app-arch/lzop
224 +rar - app-arch/unrar or app-arch/unar
225 +rpm - app-arch/rpm
226 +unstuff - app-arch/stuffit
227 +zoo - app-arch/zoo"
228
229 +src_prepare() {
230 # Use absolute path to GNU tar since star doesn't have the same
231 # options. On Gentoo, star is /usr/bin/tar, GNU tar is /bin/tar
232 epatch "${FILESDIR}"/${PN}-2.10.3-use_bin_tar.patch
233
234 # File providing Gentoo package names for various archivers
235 cp -f "${FILESDIR}/3.6.0-packages.match" data/packages.match || die
236 +
237 + gnome2_src_prepare
238 +}
239 +
240 +src_configure() {
241 + local myconf=""
242 + [[ ${PV} != 9999 ]] && myconf="${myconf} ITSTOOL=$(type -P true)"
243 + DOCS="AUTHORS ChangeLog HACKING MAINTAINERS NEWS README* TODO"
244 + # --disable-debug because enabling it adds -O0 to CFLAGS
245 + gnome2_src_configure \
246 + --disable-run-in-place \
247 + --disable-static \
248 + --disable-debug \
249 + --enable-magic \
250 + --enable-libarchive \
251 + --with-smclient=xsmp \
252 + $(use_enable nautilus nautilus-actions) \
253 + $(use_enable packagekit) \
254 + ${myconf}
255 +}
256 +
257 +src_install() {
258 + gnome2_src_install
259 + readme.gentoo_create_doc
260 }
261
262 pkg_postinst() {
263 gnome2_pkg_postinst
264 -
265 - elog "${PN} is a frontend for several archiving utilities. If you want a"
266 - elog "particular achive format support, see ${HOMEPAGE}"
267 - elog "and install the relevant package."
268 - elog
269 - elog "for example:"
270 - elog " 7-zip - app-arch/p7zip"
271 - elog " ace - app-arch/unace"
272 - elog " arj - app-arch/arj"
273 - elog " cpio - app-arch/cpio"
274 - elog " deb - app-arch/dpkg"
275 - elog " iso - app-cdr/cdrtools"
276 - elog " jar,zip - app-arch/zip and app-arch/unzip"
277 - elog " lha - app-arch/lha"
278 - elog " lzop - app-arch/lzop"
279 - elog " rar - app-arch/unrar or app-arch/unar"
280 - elog " rpm - app-arch/rpm"
281 - elog " unstuff - app-arch/stuffit"
282 - elog " zoo - app-arch/zoo"
283 + readme.gentoo_print_elog
284 }