From 5f17c70876ee75d9401d595738a78a84f6f42cbc Mon Sep 17 00:00:00 2001 From: Gilles Dartiguelongue Date: Sat, 2 May 2009 21:15:32 +0200 Subject: app-arch/file-roller: moved to portage. --- app-arch/file-roller/Manifest | 4 -- app-arch/file-roller/file-roller-2.26.1.ebuild | 80 --------------------- .../files/file-roller-2.10.3-use_bin_tar.patch | 12 ---- app-arch/file-roller/files/rpm2cpio-file-roller | 82 ---------------------- 4 files changed, 178 deletions(-) delete mode 100644 app-arch/file-roller/Manifest delete mode 100644 app-arch/file-roller/file-roller-2.26.1.ebuild delete mode 100644 app-arch/file-roller/files/file-roller-2.10.3-use_bin_tar.patch delete mode 100755 app-arch/file-roller/files/rpm2cpio-file-roller (limited to 'app-arch') diff --git a/app-arch/file-roller/Manifest b/app-arch/file-roller/Manifest deleted file mode 100644 index 9f5a095d..00000000 --- a/app-arch/file-roller/Manifest +++ /dev/null @@ -1,4 +0,0 @@ -AUX file-roller-2.10.3-use_bin_tar.patch 504 RMD160 0af7af1c83953554e58c3a2f82ae3edb2e6b7e55 SHA1 a40077b5ace4be970dae46b44aa5b8ce19a75780 SHA256 c22e742893800c4302df40af66b1eabeab700fea7326eada849f919bdd76c052 -AUX rpm2cpio-file-roller 2556 RMD160 c123c4f046a5844d75a90f4a1edb308b17d99bd9 SHA1 81558e086339f4bdb373ebd4bc33215ec31debae SHA256 75dc7413d516d1f315534662c5a098c7973866b4d125547cd2696190818b8b6a -DIST file-roller-2.26.1.tar.bz2 1563081 RMD160 c930052e98957a7f4cc29897c0d6a880fa9a46b9 SHA1 a95c3add34612ad8f5423989bc421ffb682665f0 SHA256 4bfc1cd9405c91850034e07b1c0c69c4e1067e4bda5c8135f70085e578cf6918 -EBUILD file-roller-2.26.1.ebuild 2303 RMD160 55209719023de2ea7ec9b364c37d96e3e120e221 SHA1 5484aa050bad08422d38bb3eb8561ac2e5e03d55 SHA256 22b2753850db8f97d0287e5e8af7351cb4edd56e6ff03b5050677807557ad426 diff --git a/app-arch/file-roller/file-roller-2.26.1.ebuild b/app-arch/file-roller/file-roller-2.26.1.ebuild deleted file mode 100644 index ca708989..00000000 --- a/app-arch/file-roller/file-roller-2.26.1.ebuild +++ /dev/null @@ -1,80 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-arch/file-roller/file-roller-2.24.3.ebuild,v 1.1 2009/01/19 03:01:10 leio Exp $ - -GCONF_DEBUG="no" - -inherit eutils gnome2 autotools - -DESCRIPTION="archive manager for GNOME" -HOMEPAGE="http://fileroller.sourceforge.net/" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" -IUSE="nautilus" - -RDEPEND=">=dev-libs/glib-2.16.0 - >=x11-libs/gtk+-2.13 - >=gnome-base/gconf-2.6 - nautilus? ( >=gnome-base/nautilus-2.22.2 )" -DEPEND="${RDEPEND} - gnome-base/gnome-common - sys-devel/gettext - >=dev-util/intltool-0.35 - >=dev-util/pkgconfig-0.19 - >=app-text/gnome-doc-utils-0.3.2" - -DOCS="AUTHORS ChangeLog HACKING MAINTAINERS NEWS README TODO" - -pkg_setup() { - G2CONF="${G2CONF} - --disable-scrollkeeper - --disable-run-in-place - --disable-static" - - if ! use nautilus ; then - G2CONF="${G2CONF} --disable-nautilus-actions" - fi -} - -src_unpack() { - gnome2_src_unpack - - # Use absolute path to GNU tar since star doesn't have the same - # options. On Gentoo, star is /usr/bin/tar, GNU tar is /bin/tar - epatch "${FILESDIR}"/${PN}-2.10.3-use_bin_tar.patch - - # use a local rpm2cpio script to avoid the dep - sed -e "s/rpm2cpio/rpm2cpio-file-roller/g" \ - -i src/fr-command-rpm.c || die "sed failed" - - # Fix intltoolize broken file, see upstream #577133 and #579464 - sed "s:'\^\$\$lang\$\$':\^\$\$lang\$\$:g" -i po/Makefile.in.in || die "sed failed" -} - -src_install() { - gnome2_src_install - dobin "${FILESDIR}/rpm2cpio-file-roller" || die "dobin failed" -} - -pkg_postinst() { - elog "${PN} is a frontend for several archiving utilities. If you want a" - elog "particular achive format support, see ${HOMEPAGE}" - elog "and install the relevant package." - elog - elog "for example:" - elog " 7-zip - app-arch/p7zip" - elog " ace - app-arch/unace" - elog " arj - app-arch/arj" - elog " lzma - app-arch/lzma" - elog " lzop - app-arch/lzop" - elog " cpio - app-arch/cpio" - elog " iso - app-arch/cdrtools" - elog " jar,zip - app-arch/zip and app-arch/unzip" - elog " lha - app-arch/lha" - elog " rar - app-arch/unrar" - elog " rpm - app-arch/rpm" - elog " unstuff - app-arch/stuffit" - elog " zoo - app-arch/zoo" -} diff --git a/app-arch/file-roller/files/file-roller-2.10.3-use_bin_tar.patch b/app-arch/file-roller/files/file-roller-2.10.3-use_bin_tar.patch deleted file mode 100644 index edaa16c1..00000000 --- a/app-arch/file-roller/files/file-roller-2.10.3-use_bin_tar.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -uNr file-roller-2.10.3/src/fr-command-tar.c file-roller-2.10.3.patched/src/fr-command-tar.c ---- file-roller-2.10.3/src/fr-command-tar.c 2005-04-22 18:39:22.000000000 +0200 -+++ file-roller-2.10.3.patched/src/fr-command-tar.c 2005-06-06 14:29:45.000000000 +0200 -@@ -225,7 +225,7 @@ - if (command != NULL) - fr_process_begin_command (comm->process, command); - else -- fr_process_begin_command (comm->process, "tar"); -+ fr_process_begin_command (comm->process, "/bin/tar"); - g_free (command); - } - diff --git a/app-arch/file-roller/files/rpm2cpio-file-roller b/app-arch/file-roller/files/rpm2cpio-file-roller deleted file mode 100755 index 5206faee..00000000 --- a/app-arch/file-roller/files/rpm2cpio-file-roller +++ /dev/null @@ -1,82 +0,0 @@ -#!/usr/bin/perl - -# Copyright (C) 1997,1998,1999, Roger Espel Llima -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and any associated documentation files (the "Software"), to -# deal in the Software without restriction, including without limitation the -# rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# SOFTWARE'S COPYRIGHT HOLDER(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -# THE SOFTWARE - -# (whew, that's done!) - -# why does the world need another rpm2cpio? because the existing one -# won't build unless you have half a ton of things that aren't really -# required for it, since it uses the same library used to extract RPM's. -# in particular, it won't build on the HPsUX box i'm on. - - -# add a path if desired -$gzip = "gzip"; - -sub printhelp { - print "rpm2cpio, perl version by orabidoo \n"; - print "use: rpm2cpio [file.rpm]\n"; - print "dumps the contents to stdout as a GNU cpio archive\n"; - exit 0; -} - -if ($#ARGV == -1) { - printhelp if -t STDIN; - $f = "STDIN"; -} elsif ($#ARGV == 0) { - open(F, "< $ARGV[0]") or die "Can't read file $ARGV[0]\n"; - $f = 'F'; -} else { - printhelp; -} - -printhelp if -t STDOUT; - -# gobble the file up -undef $/; -$|=1; -$rpm = <$f>; -close ($f); - -($magic, $major, $minor, $crap) = unpack("NCC C90", $rpm); - -die "Not an RPM\n" if $magic != 0xedabeedb; -die "Not a version 3 RPM\n" if $major != 3; - -$rpm = substr($rpm, 96); - -while ($rpm ne '') { - $rpm =~ s/^\c@*//s; - ($magic, $crap, $sections, $bytes) = unpack("N4", $rpm); - $smagic = unpack("n", $rpm); - last if $smagic eq 0x1f8b; - die "Error: header not recognized\n" if $magic != 0x8eade801; - $rpm = substr($rpm, 16*(1+$sections) + $bytes); -} - -die "bogus RPM\n" if $rpm eq ''; - -open(ZCAT, "|gzip -cd") || die "can't pipe to gzip\n"; -print STDERR "CPIO archive found!\n"; - -print ZCAT $rpm; -close ZCAT; - -- cgit v1.2.3-65-gdbad