Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 131235

Summary: Add new USE flag to wxGTK
Product: Gentoo Linux Reporter: Igor Korot <ikorot01>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: VERIFIED WONTFIX    
Severity: enhancement    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Igor Korot 2006-04-25 09:23:41 UTC
wxGTK is an evelopment library. I suggest to add the USE-flag to compile it with the source code in the user directory and leave the source on. This way people will be able o debug their applications that was written with the wxGTK, and they will work under their own account and not the 'root'
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-04-25 09:32:53 UTC
man emerge
<snip>
ROOT = [path]
Use ROOT to specify the target root filesystem to be used for merging packages or ebuilds. Defaults to /.

FEATURES
noclean
Do not delete the the source and temporary files after the merge process.
</snip>

Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-04-25 09:33:59 UTC
and:

DISTDIR = [path]
Defines the location of your local source file repository.
Defaults to ${PORTDIR}/distfiles.
Comment 3 Igor Korot 2006-04-25 09:42:55 UTC
Jacub,
Can I specify the DISTIR to the "emerge"?

Something like "emerge wxGTK DISTDIR=/myhomeir --noclean". 
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-04-25 09:53:52 UTC
(In reply to comment #3)
> Something like "emerge wxGTK DISTDIR=/myhomeir --noclean". 

Please, read the man pages (man make.conf, man emerge). What you want is probably something like

DISTDIR="/home/user/distfiles" PORTAGE_TMPDIR="/home/user/tmp" FEATURES="noclean" emerge wxGTK (tarball goes to DISTDIR, PORTAGE_TMPDIR will contain the sources and temporary files).

Not a business for use flags for sure...