Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-dev
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-dev@g.o
From: Michał Górny <mgorny@g.o>
Subject: Re: unpacker.eclass
Date: Wed, 1 Feb 2012 21:51:52 +0100
On Wed, 1 Feb 2012 15:44:14 -0500
Mike Frysinger <vapier@g.o> 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() {
> > > 
> > > 	local uri deps d
> > > 	
> > > 	[[ $# -eq 0 ]] && set -- ${SRC_URI}
> > > 	
> > > 	for uri in "$@" ; do
> > > 	
> > > 		case ${uri} in
> > > 		*.rar|*.RAR)
> > > 		
> > > 			d="app-arch/unrar" ;;
> > > 		
> > > 		*.7z)
> > > 		
> > > 			d="app-arch/p7zip" ;;
> > 
> > Where are those file formats handled? You don't seem to fallback to
> > 'unpack' anywhere too.
> 
> 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.

-- 
Best regards,
Michał Górny
Attachment:
signature.asc (PGP signature)
References:
unpacker.eclass
-- Mike Frysinger
Re: unpacker.eclass
-- Michał Górny
Re: unpacker.eclass
-- Mike Frysinger
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: unpacker.eclass
Next by thread:
Re: unpacker.eclass
Previous by date:
Re: unpacker.eclass
Next by date:
Re: unpacker.eclass


Updated Jun 29, 2012

Summary: Archive of the gentoo-dev mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.