From: Ciaran McCreesh <ciaranm@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] new glep draft: Portage as a secondary package manager
Date: Sat, 7 May 2005 02:39:20 +0100 [thread overview]
Message-ID: <20050507023920.0d9d27a3@snowdrop> (raw)
In-Reply-To: <20050507010518.GO13705@exodus.wit.org>
[-- Attachment #1: Type: text/plain, Size: 3201 bytes --]
On Fri, 6 May 2005 20:05:18 -0500 Brian Harring <ferringb@gentoo.org>
wrote:
| On Fri, May 06, 2005 at 02:28:49PM +0100, Ciaran McCreesh wrote:
| > The problem isn't the packages. The problem is the ebuilds.
| Agreed, although seemed to take a bit of dancing to get done to the
| fact that yes, changing the prefix has a good chance of working.
|
| From there, we're back to the old two step econf/eclasses _do_ address
| a sizable portion of ebuilds in the tree ;)
More to the point, they *don't* address a sizable portion of the ebuilds
in the tree.
| Not much for a keyword route personally, since (imo) it's a slight
| perversion of the focus of keywords. If the keywording route was
| taken, would need to either duplicate existing keywords (have
| x86/~x86, and x86-weirdo-prefix ~x86-weirdo-prefix), or require two
| specific keywords being set (x86 and weirdo-prefix from the example
| above).
|
| I'd suspect your metadata addition (which needs a better name then
| ICANINSTALLTO) is the best route.
That was what I was proposing. Not KEYWORDS, a new variable. Which needs
a better name than ICANINSTALLTO.
| > | So, fink demonstration of --prefix hackery?
| >
| > If you want a better example, try either SGI or Sun's GNU tools
| > ports. But they don't use ebuilds either.
| Well, main point was that the underlying packages _can_ swing this
| type of hackery for the most part, what is needed is a tweak to our
| ebuild conventions to allow for it.
'tweak' is too mild a term... As far as I can tell I'm the only person
who's bothered to actually even try to look at this from an ebuild
perspective -- not pretty... For every package in the tree that has a
sed -e 's,/usr/local,/usr,g' there's another that would need a sed
turning /usr into whatever prefix ends up as, and it's not at all
obvious what they are. It gets even worse when you consider all the
stuff with #!/usr/bin/blah hardcoded that will need changed to use our
interpreter prefix -- these are very tricky to spot if you have a
braindead vendor-supplied interpreter in /usr/bin too.
Sure, it can be done, but not all at once, hence me screaming whitelist.
| Meanwhile, iirc from the last irc conversation on this, either you or
| dsd brought up the point of needing to be able to query if (using vim
| as an example) vim-core was $home, rather then usr|$PREFIX. Care to
| elaborate a bit? Mainly wondering if to encompass your requests, it
| might require extra metadata from the depend standpoint.
Ok, say we use ICANINSTALLTO (name!). Then if we have "prefix" as the
destination, there's no problem, because we know that all our deps are
installed in ${PREFIX} as well. However, if we're installing to "home",
we need to know where our deps are -- for "home" installs I'm presuming
we don't force a full dep tree in "home" (unlike for "prefix"). This
*could* still be done with ${PREFIX} I guess? Or to avoid confusing
things, ${DEPS_PREFIX}? Not really sure...
--
Ciaran McCreesh : Gentoo Developer (Vim, Shell tools, Fluxbox, Cron)
Mail : ciaranm at gentoo.org
Web : http://dev.gentoo.org/~ciaranm
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2005-05-07 1:35 UTC|newest]
Thread overview: 53+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-02 12:22 [gentoo-dev] new glep draft: Portage as a secondary package manager Michael Haubenwallner
2005-05-02 14:13 ` Ciaran McCreesh
2005-05-03 0:02 ` Brian Harring
2005-05-03 12:53 ` Michael Haubenwallner
2005-05-03 14:12 ` Ciaran McCreesh
2005-05-05 8:48 ` Brian Harring
2005-05-05 8:55 ` Brian Harring
2005-05-05 14:01 ` Ciaran McCreesh
2005-05-06 5:09 ` Brian Harring
2005-05-06 13:12 ` Brian Jackson
2005-05-07 1:07 ` Brian Harring
2005-05-06 13:28 ` Ciaran McCreesh
2005-05-07 1:05 ` Brian Harring
2005-05-07 1:39 ` Ciaran McCreesh [this message]
2005-05-07 7:08 ` Brian Harring
2005-05-07 14:49 ` Ciaran McCreesh
2005-05-07 15:31 ` Kito
2005-05-07 15:51 ` Ciaran McCreesh
2005-05-08 7:58 ` [gentoo-dev] new glep draft: Portage as a secondary package manager OT Brian Harring
2005-05-08 15:22 ` Ciaran McCreesh
2005-05-07 15:47 ` [gentoo-dev] new glep draft: Portage as a secondary package manager Jason Stubbs
2005-05-07 20:02 ` Ciaran McCreesh
2005-05-08 8:33 ` Brian Harring
2005-05-09 0:46 ` [gentoo-dev] new glep draft: Portage as a secondary package manager, [gentoo-dev] Marius Mauch
2005-05-09 10:54 ` [gentoo-dev] new glep draft: Portage as a secondary package manager Brian Harring
2005-05-19 8:18 ` Michael Haubenwallner
2005-05-19 8:30 ` Ciaran McCreesh
2005-05-19 11:05 ` Michael Haubenwallner
2005-05-19 11:19 ` Ciaran McCreesh
2005-05-19 12:46 ` Michael Haubenwallner
2005-05-19 19:42 ` Ciaran McCreesh
2005-05-19 13:01 ` Jason Stubbs
2005-05-20 12:30 ` Michael Haubenwallner
2005-05-21 1:22 ` Jason Stubbs
2005-05-23 7:11 ` Michael Haubenwallner
2005-05-07 9:58 ` Marius Mauch
2005-05-12 7:56 ` Michael Haubenwallner
2005-05-12 23:44 ` Marius Mauch
2005-05-03 12:54 ` Michael Haubenwallner
2005-05-02 19:15 ` Brian Jackson
2005-05-03 0:58 ` Alec Warner
2005-05-03 2:11 ` Brian Jackson
2005-05-03 2:48 ` Brian Harring
2005-05-03 3:16 ` Brian Jackson
2005-05-03 6:05 ` Marius Mauch
2005-05-03 12:54 ` Michael Haubenwallner
2005-05-03 12:54 ` Michael Haubenwallner
2005-05-03 13:22 ` Jason Stubbs
2005-05-07 11:18 ` Michael Haubenwallner
2005-05-24 9:53 ` Michael Haubenwallner
2005-05-24 10:07 ` Ciaran McCreesh
2005-05-24 10:43 ` Brian Harring
2005-05-24 12:21 ` Michael Haubenwallner
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=20050507023920.0d9d27a3@snowdrop \
--to=ciaranm@gentoo.org \
--cc=gentoo-dev@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