From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Rsh8k-0004Ea-G4 for garchives@archives.gentoo.org; Wed, 01 Feb 2012 20:50:50 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 571A2E0824; Wed, 1 Feb 2012 20:50:41 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id B58D1E065E for ; Wed, 1 Feb 2012 20:50:11 +0000 (UTC) Received: from pomiocik.lan (77-254-67-124.adsl.inetia.pl [77.254.67.124]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: mgorny) by smtp.gentoo.org (Postfix) with ESMTPSA id 13C931B4013; Wed, 1 Feb 2012 20:50:08 +0000 (UTC) Date: Wed, 1 Feb 2012 21:51:52 +0100 From: =?UTF-8?B?TWljaGHFgiBHw7Nybnk=?= To: gentoo-dev@lists.gentoo.org Cc: vapier@gentoo.org Subject: Re: [gentoo-dev] unpacker.eclass Message-ID: <20120201215152.558e823c@pomiocik.lan> In-Reply-To: <201202011544.14657.vapier@gentoo.org> References: <201202011505.41142.vapier@gentoo.org> <20120201213016.3ffb6419@pomiocik.lan> <201202011544.14657.vapier@gentoo.org> Organization: Gentoo X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.9; x86_64-pc-linux-gnu) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA256; boundary="Sig_/.H+N1jz95jASKmiWu0nMYhe"; protocol="application/pgp-signature" X-Archives-Salt: 5b919a7c-19da-4da8-985d-746cc3d26258 X-Archives-Hash: 2edde5ea88cda16427b795c47cba8986 --Sig_/.H+N1jz95jASKmiWu0nMYhe Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Wed, 1 Feb 2012 15:44:14 -0500 Mike Frysinger wrote: > > > # @USAGE: [archives that we will unpack] > > > # @RETURN: Dependencies needed to unpack all the archives > > > # @DESCRIPTION: > > > # Walk all the specified files (defaults to $SRC_URI) and figure > > > out the # dependencies that are needed to unpack things. > > > # > > > # Note: USE flags are not yet handled. > > > unpacker_src_uri_depends() { > > >=20 > > > local uri deps d > > > =09 > > > [[ $# -eq 0 ]] && set -- ${SRC_URI} > > > =09 > > > for uri in "$@" ; do > > > =09 > > > case ${uri} in > > > *.rar|*.RAR) > > > =09 > > > d=3D"app-arch/unrar" ;; > > > =09 > > > *.7z) > > > =09 > > > d=3D"app-arch/p7zip" ;; > >=20 > > Where are those file formats handled? You don't seem to fallback to > > 'unpack' anywhere too. >=20 > eh ? this func doesn't do unpacking, just ${SRC_URI}<->${DEPEND} > matching. Sooo.. it's intended to generate an useless DEPEND or you have to reset src_unpack() to default to make the archives actually extractable. --=20 Best regards, Micha=C5=82 G=C3=B3rny --Sig_/.H+N1jz95jASKmiWu0nMYhe Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (GNU/Linux) iJwEAQEIAAYFAk8ppegACgkQfXuS5UK5QB1YhAP+OrbCvYA0vJKDU3n5DLsQHsHt fppB/kBqHNdwGUYQ9VxO+XMKWi7GpwVoym1lUUUdbGgO/SODQAGQphT42I+jsLnQ qWNoy2Yv09rvMoteKPfpjSQqMs8r6GtVUaOR+E2qSMpSeUx8ztRXIGVTP/Oycmak CnS4b/oSoWRQ7ZaAPC0= =WmMd -----END PGP SIGNATURE----- --Sig_/.H+N1jz95jASKmiWu0nMYhe--