From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6799 invoked by uid 1002); 22 Jun 2003 00:12:41 -0000 Mailing-List: contact gentoo-dev-help@gentoo.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Received: (qmail 31068 invoked from network); 22 Jun 2003 00:12:41 -0000 Date: Sun, 22 Jun 2003 09:12:38 +0900 To: gentoo-dev@gentoo.org Message-ID: <20030622001238.GB17932%chutz@gg3.net> References: <1056205815.8266.20.camel@mcvaio.liquidx.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="2fHTh5uZTiUOsy+g" Content-Disposition: inline In-Reply-To: <1056205815.8266.20.camel@mcvaio.liquidx.net> User-Agent: Mutt/1.5.4i-ja.1 From: Georgi Georgiev Mail-Followup-To: gentoo-dev@gentoo.org X-Delivery-Agent: TMDA/0.80 (Determine) X-Primary-Address: chutz@gg3.net Reply-To: Georgi Georgiev Subject: Re: [gentoo-dev] new rpm.eclass X-Archives-Salt: 281a0325-01e4-4e0d-be5a-ca5c7f8ddc85 X-Archives-Hash: 031122b3007b1d4372f5667431b0227f --2fHTh5uZTiUOsy+g Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 21/06/2003 at 15:30:19(+0100), Alastair Tse used 1.4K just to say: > Hi All, >=20 > There are a number of packages that require us extracting directly from > RPMs or Source RPMs. As a result, a number of ebuilds depend on > rpm2targz (a slackware creation) for extraction and have their own > src_unpack routine. >=20 > To automate the process a little better, I've written an rpm.eclass > which is a slot in replacement for src_unpack(). It automatically > extracts rpm packages and for source rpms, it also extracts inner > tarballs. Internally, it still uses rpm2targz but is a little smarter > about cleaning up after itself and handles multiple sources properly. >=20 > This is now in portage. For an example of how it can used, look at > app-misc/jot or x11-themes/redhat-artwork. The rpm.eclass uses the rpm2targz script itself which is a waste of time and resources. Please take a look at bugs 23249 and maybe 23179 for another approach which was already adopted by a few packages (ccc, cxx, libcpms, libcxml, ladebug and compaq-sources) even before the bug was submitted. --=20 /^^^^^^^^^^^^^^^^^^^^^^^^^^^\/^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\ / Georgi Georgiev (-< / I cannot and will not cut my \ \ chutz@chubaka.net /\ .o)\ conscience to fit this year's / / +81(90)6266-1163 V_/_ |(/)/ fashions. -- Lillian Hellman \ \___________________________/\__________________________________/ --2fHTh5uZTiUOsy+g Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE+9PR2fXO2NUT1EmYRAl0gAJ9gCJDy4MYSh7MYa+Y+IdRfJbdEqgCffQIZ 23J83yutZvBW703emDalsbk= =2v8v -----END PGP SIGNATURE----- --2fHTh5uZTiUOsy+g--