[gentoo-dev] unpacker.eclass: add decompress probe helper

2013-06-22 Thread Mike Frysinger
On Monday 17 June 2013 01:55:09 Mike Frysinger wrote: > i wish we could merge with the file detection in unpack_makeself somehow this patch should unify that aspect -mike --- unpacker.eclass 10 Apr 2013 14:47:49 - 1.13 +++ unpacker.eclass 22 Jun 2013 17:54:09 - @@ -22,7 +22,1

[gentoo-dev] unpacker.eclass and base.eclass integration

2012-02-04 Thread Mike Frysinger
follow up: have base.eclass leverage unpacker.eclass when it's available -mike --- base.eclass 14 Dec 2011 23:38:09 - 1.55 +++ base.eclass 5 Feb 2012 05:19:28 - @@ -59,7 +59,11 @@ base_src_unpack() { pushd "${WORKDIR}" > /dev/null - [[ -n "${A}" ]] && unpack ${A} +

Re: [gentoo-dev] unpacker.eclass

2012-02-02 Thread Mike Frysinger
here's v2 -mike # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.377 2012/01/03 08:45:36 jlec Exp $ # @ECLASS: unpacker.eclass # @MAINTAINER: # base-sys...@gentoo.org # @BLURB: h

Re: [gentoo-dev] unpacker.eclass

2012-02-02 Thread Mike Frysinger
On Thursday 02 February 2012 03:06:46 Michał Górny wrote: > #v+ > SRC_URI="foo-bar-baz.rar" > > inherit unpacker inherit goes before SRC_URI -mike signature.asc Description: This is a digitally signed message part.

Re: [gentoo-dev] unpacker.eclass

2012-02-02 Thread Michał Górny
On Wed, 1 Feb 2012 19:33:54 -0500 Mike Frysinger wrote: > On Wednesday 01 February 2012 18:12:02 Michał Górny wrote: > > On Wed, 1 Feb 2012 15:55:46 -0500 Mike Frysinger wrote: > > > On Wednesday 01 February 2012 15:51:52 Michał Górny wrote: > > > > On Wed, 1 Feb 2012 15:44:14 -0500 Mike Frysinge

Re: [gentoo-dev] unpacker.eclass

2012-02-01 Thread Mike Frysinger
On Wednesday 01 February 2012 18:12:02 Michał Górny wrote: > On Wed, 1 Feb 2012 15:55:46 -0500 Mike Frysinger wrote: > > On Wednesday 01 February 2012 15:51:52 Michał Górny wrote: > > > On Wed, 1 Feb 2012 15:44:14 -0500 Mike Frysinger wrote: > > > > > > # @USAGE: [archives that we will unpack] > >

Re: [gentoo-dev] unpacker.eclass

2012-02-01 Thread Michał Górny
On Wed, 1 Feb 2012 15:55:46 -0500 Mike Frysinger wrote: > On Wednesday 01 February 2012 15:51:52 Michał Górny wrote: > > 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 >

Re: [gentoo-dev] unpacker.eclass

2012-02-01 Thread Alexandre Rostovtsev
On Wed, 2012-02-01 at 15:05 -0500, Mike Frysinger wrote: > # @BLURB: helpers for extraneous file formats and consistent behavior across > EAPI's > # @DESCRIPTION: > # Some extraneous file formats are not part of PMS, or are only in certain > # EAPI's. Rather than worrying about that, support the

Re: [gentoo-dev] unpacker.eclass

2012-02-01 Thread Mike Frysinger
On Wednesday 01 February 2012 15:51:52 Michał Górny wrote: > 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 (def

Re: [gentoo-dev] unpacker.eclass

2012-02-01 Thread Michał Górny
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

Re: [gentoo-dev] unpacker.eclass

2012-02-01 Thread Mike Frysinger
On Wednesday 01 February 2012 15:30:16 Michał Górny wrote: > On Wed, 1 Feb 2012 15:05:40 -0500 Mike Frysinger wrote: > > # You have to specify the off_t size ... I have no idea how to > > extract that # information out of the binary executable myself. > > Basically you pass in # the size of the off

Re: [gentoo-dev] unpacker.eclass

2012-02-01 Thread Michał Górny
On Wed, 1 Feb 2012 15:05:40 -0500 Mike Frysinger wrote: > # You have to specify the off_t size ... I have no idea how to > extract that # information out of the binary executable myself. > Basically you pass in # the size of the off_t type (in bytes) on the > machine that built the pdv # archive.

[gentoo-dev] unpacker.eclass

2012-02-01 Thread Mike Frysinger
any feedback before merging this initial version ? https://bugs.gentoo.org/399019 -mike # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.377 2012/01/03 08:45:36 jlec Exp $