Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 7359 - kde 3.1 changes needed to /etc/make.globals
Summary: kde 3.1 changes needed to /etc/make.globals
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Dan Armak (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-09-01 21:15 UTC by Brian Rozmierski
Modified: 2011-10-30 22:18 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Brian Rozmierski 2002-09-01 21:15:20 UTC
The KDE 3.1 beta ebuild will install kde into /usr/kde/3.1/... Seeing as many 
of us are using the beta now, it would be a good idea to update the 
/etc/make.globals file and add /usr/kde/3.1/share/config to the CONFIG_PROTECT 
line. 
 
It doesn't hurt anything to add it now, and it will prevent someone forgetting 
it when KDE 3.1 actually does release.
Comment 1 Hannes Mehnert (RETIRED) gentoo-dev 2002-09-02 06:22:20 UTC
fixed, thanks for submission 
Comment 2 Daniel Robbins (RETIRED) gentoo-dev 2002-09-02 14:41:27 UTC
Hannes, this is not the proper fix for this issue. CONFIG_PROTECT should be
added to the /etc/env.d/??kde file so it will be modularly added to your
environment.
Comment 3 Daniel Robbins (RETIRED) gentoo-dev 2002-09-02 14:41:50 UTC
Reassigning to danarmak
Comment 4 Brian Rozmierski 2002-09-02 22:00:17 UTC
If this is the case why is this not the current operation of the /etc/env.d    
files? In fact, none of my current env.d files have CONFIG_PROTECT env vars.   
   
If we intend to use env.d in this manner, perhaps we should push an update to   
the ebuild that contains the env.d file for kde (kde-env?) and remove all the  
other kde-related settings in /etc/make.globals. 
   
We could put it in one of the other kde ebuilds (kde-libs has an env.d file), 
but doing so without bumping the version would fix nothing, and bumping the 
version would be a painfully long rebuild just for an env variable. 
Comment 5 Dan Armak (RETIRED) gentoo-dev 2002-09-04 10:07:44 UTC
Well, it's our policy as of now. I've spoken to Seemant and he agrees. It 
really makes more sense too. 
I'll make new kdelibs revisions - no way around that, sorry - and give everyoe 
some time to be sure they've upgraded, then I'll remove the old settings from 
make.globals. Meanwhie ther will be duplicate sttings but that's not a problem. 
I'll keep this bug as a reminder to do the latter part eventually. 
 
I'll make & test the new revisions now, and commit them shortly. (Note that the 
3.1_beta1 ebuilds don't have revisions because I'm lazy) 
Comment 6 Dan Armak (RETIRED) gentoo-dev 2002-09-04 10:30:50 UTC
Oh and the next portage will be needed - 2.0.36 when it comes out - because 
CONFIG_PROTECT and ditto_MASKED needed to be added to specials{} in env_update.  
So upgrade before testing. 
Comment 7 Dan Armak (RETIRED) gentoo-dev 2002-09-04 10:46:08 UTC
Oh, and I'll add /usr/share/config to CONFIG_PROTECT via the kde-env package. 
Comment 8 Dan Armak (RETIRED) gentoo-dev 2002-09-04 14:01:14 UTC
I'll commit this once portage 2.0.36 is released with the necessary fixes. 
Comment 9 Brian Rozmierski 2002-09-04 14:09:54 UTC
Dan, I don't understand why these env vars have to be tied to the kdelibs 
package instead of kde-env or even kde-base. (Either of which can be upgraded 
w/o a 12 hour compile). 
 
I do understand the need to move this out of /etc/make.globals. Perhaps the 
best of both would would be to commit the change into 
[kdelibs/kde-env/kde-base] (w/o bumping the current revision) and then remove 
the entries in make.globals when there is a need to bump the ebuild revision. 
 
I just hate the thought of a 12 hour compile session across several machines 
just to get an environment variable. 
Comment 10 Dan Armak (RETIRED) gentoo-dev 2002-09-04 15:18:33 UTC
Because to make them fully dynamic, we want each KDE to add its own locatio to 
CONFIG_PROTECT. Thus kde-env is ruled out because it's only one even when 
multiple KDEs are installed. kde-env is in charge of the kde apps in /usr, 
therefore it adds /usr/share/config to CONFIG_PROTECT. 
 
kdelibs not kdebase because you can have a kde installation without kdebase, 
but not without kdelibs. Besides kdebase takes me longer to compile than 
kdelibs anyway (??). 
Comment 11 Dan Armak (RETIRED) gentoo-dev 2002-09-06 07:01:36 UTC
Committing new revisions of kdelibs and kde-env, with an RDEPEND on >=sys-apps/portage-2.0.36. Because of this it may not be approved for all archs right away, since some might be using older portage versions (?).