Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 99529 - Support for a pre-compile pkg_config
Summary: Support for a pre-compile pkg_config
Status: RESOLVED WONTFIX
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Ebuild Support (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-19 07:44 UTC by Kristian Benoit
Modified: 2006-04-23 09:44 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
New feature (preconfig) to optionally run src_preconfig in packages providing such a function. (portage-2.0.51.19-preconfig-2.patch,4.04 KB, patch)
2005-07-19 07:50 UTC, Kristian Benoit
Details | Diff
An example of it's use with busybox. (portage-2.0.51.19-preconfig-2.patch,4.04 KB, patch)
2005-07-19 07:52 UTC, Kristian Benoit
Details | Diff
Busybox patch to use preconfig (busybox-1.00-r4-preconfig.patch,956 bytes, patch)
2005-07-26 08:11 UTC, Kristian Benoit
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kristian Benoit 2005-07-19 07:44:39 UTC
The actual solution is to to get the source, unpack, configure and copy the
configuration file to a prespecified place in the filetree by hand so the ebuild
could find it and use it.

Reproducible: Always
Steps to Reproduce:
1. emerge busybox


Actual Results:  
It use a default config or the one found in /etc/busybox/${CHOST}/busybox*.config.

Expected Results:  
Be able to request emerge to pop an optional interactive configuration tool
before compilation when ebuild provide such a functionality.
Comment 1 Kristian Benoit 2005-07-19 07:50:19 UTC
Created attachment 63783 [details, diff]
New feature (preconfig) to optionally run src_preconfig in packages providing such a function.

It would be nice to enhance emerge so that packages that need preconfig be
preconfigured before any compilation is done. So the user get the interactive
stuff a the right when emerge start and not bother him at random stages.
Comment 2 Kristian Benoit 2005-07-19 07:52:30 UTC
Created attachment 63784 [details, diff]
An example of it's use with busybox.

This show how it can be used in with busybox which require such a
configuration.
Comment 3 SpanKY gentoo-dev 2005-07-19 10:49:50 UTC
busybox comes with defaults, it isnt a problem to use those defaults
Comment 4 Kristian Benoit 2005-07-26 08:10:56 UTC
Comment on attachment 63784 [details, diff]
An example of it's use with busybox.

wrong patch
Comment 5 Kristian Benoit 2005-07-26 08:11:42 UTC
Created attachment 64354 [details, diff]
Busybox patch to use preconfig
Comment 6 Jason Stubbs (RETIRED) gentoo-dev 2005-10-23 04:20:39 UTC
Not sure about this one. There's so few packages that could use it. USE flags  
are (theoretically) designed specifically to prevent the need for it.  
Comment 7 Brian Harring (RETIRED) gentoo-dev 2006-04-16 16:38:30 UTC
additionally, requires inspecting the graph to ensure necessary deps for unpacking phase are there (can't configure it if you can't unpack it).

Comment 8 Simon Stelling (RETIRED) gentoo-dev 2006-04-23 09:44:52 UTC
This was discussed and decided on on the portage-dev ml:

http://thread.gmane.org/gmane.linux.gentoo.portage.devel/2054/focus=2054