public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download: 
* Re: [gentoo-dev] SRC_URI component naming collision
  @ 2006-02-28 15:28 99%     ` Paul de Vrieze
  0 siblings, 0 replies; 1+ results
From: Paul de Vrieze @ 2006-02-28 15:28 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 1108 bytes --]

On Tuesday 28 February 2006 15:16, Marius Mauch wrote:
> Check your mail archives for the old discussions about distfile name
> mangling (short version: a lot of stuff relies on distfile-name ==
> basename(src_uri), also if at all this would only be a long term
> solution due to compat issues involved).

For this reason a package might just specify a DIST_PREFIX. This would 
indicate a subdirectory in DISTDIR where the package is stored. When the 
package is merged, the files are copied from this directory instead of 
the DISTDIR directory. As the copy is already made, this behaviour should 
not be problematic. This does however solve 99% of the file name 
problems. The DIST_PREFIX value could be anything, with empty being the 
feature disabled, allowing for the much-wanted sharing of files between 
packages.

Even better is that this will even work with portage versions that do not 
support this feature. They will just store everything in DIST_PREFIX as 
it is now.

Paul

-- 
Paul de Vrieze
Gentoo Developer
Mail: pauldv@gentoo.org
Homepage: http://www.devrieze.net

[-- Attachment #2: Type: application/pgp-signature, Size: 200 bytes --]

^ permalink raw reply	[relevance 99%]

Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2006-02-24 14:19     [gentoo-dev] SRC_URI component naming collision Ciaran McCreesh
2006-02-27 10:05     ` Paul de Vrieze
2006-02-28 14:16       ` Marius Mauch
2006-02-28 15:28 99%     ` Paul de Vrieze

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox