From: Florian Philipp <f.philipp@addcom.de>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] convert rpm to ebuild
Date: Thu, 10 May 2007 22:50:42 +0200 [thread overview]
Message-ID: <200705102250.42650.f.philipp@addcom.de> (raw)
In-Reply-To: <200705102229.10501.bo.andresen@zlin.dk>
[-- Attachment #1: Type: text/plain, Size: 2039 bytes --]
Am Donnerstag 10 Mai 2007 22:29 schrieb Bo Ørsted Andresen:
> On Thursday 10 May 2007 22:16:59 Florian Philipp wrote:
> > > > I thought this question would be quiet common but I've been unable to
> > > > get an answer googling and looking through howtos. Actually there are
> > > > some links in an old thread on forums.gentoo.org but its target seems
> > > > to have moved.
> > >
> > > Well, you can always make an ebuild for it.
> > >
> > > http://devmanual.gentoo.org/ebuild-writing/functions/src_unpack/rpm-sou
> > >rces/index.html
> >
> > Argh, that's the broken link I was talking about, thanks!
> >
> > However, it seems as if there is no "easy" way to perform it and there
> > are still some questions for me:
> >
> > 1. This page provides no way to handle a binary-only rpm, just sources.
> > Yet, sources are no problem since they should be available as a tarball
> > or in portage itself while rpms of proprietary closed-source software are
> > quiet common. I could transfer them into a .deb-archive using "alien"
> > which leads me to problem number 2 ...
>
> There are plenty of ebuilds for binary only packages in the tree. The above
> link helps you to unpack the binary files to $WORKDIR. After that you can
> use the install functions [1] (or cp or whatever) in src_install() to
> install to the image ($D). And perhaps you need and env.d file or whatever
> else may be missing (for additions to *PATH variables).
>
> When all of that is done you can emerge it. And no, a .deb isn't any
> better.
>
> [1]
> http://devmanual.gentoo.org/function-reference/install-functions/index.html
Hmm, looks quiet complicated. Maybe there is a simpler solution:
Since I can install an rpm after emerging rpm itself, there is no need to
convert it. All I have to do is to make portage aware of this package. Of
course I would have to take care of dependencies myself and let rpm forget
about dependencies since it doesn't know about my emerged packages.
Could that work? How do I do it?
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2007-05-10 21:19 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-10 19:06 [gentoo-user] convert rpm to ebuild Florian Philipp
2007-05-10 19:41 ` darren kirby
2007-05-10 22:12 ` b.n.
2007-05-10 20:20 ` darren kirby
2007-05-10 20:36 ` Florian Philipp
2007-05-10 21:13 ` Neil Bothwick
2007-05-10 21:46 ` Jesús Guerrero
2007-05-10 22:26 ` Bo Ørsted Andresen
2007-05-10 22:33 ` darren kirby
2007-05-11 9:18 ` Florian Philipp
2007-05-10 20:29 ` Bo Ørsted Andresen
2007-05-11 3:45 ` Randy Barlow
2007-05-11 0:35 ` Aleksandar L. Dimitrov
2007-05-10 19:53 ` Bo Ørsted Andresen
2007-05-10 20:16 ` Florian Philipp
2007-05-10 20:29 ` Bo Ørsted Andresen
2007-05-10 20:50 ` Florian Philipp [this message]
2007-05-10 23:36 ` Hans-Werner Hilse
2007-05-10 21:05 ` Paul Varner
2007-05-11 5:51 ` Dirk Heinrichs
2007-05-11 9:43 ` Nistor Andrei
2007-05-11 10:04 ` Neil Bothwick
2007-05-11 10:25 ` Nistor Andrei
2007-05-11 10:34 ` Neil Bothwick
-- strict thread matches above, loose matches on Subject: below --
2007-05-11 18:29 Öhler, Alessandro
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200705102250.42650.f.philipp@addcom.de \
--to=f.philipp@addcom.de \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox