View previous topic :: View next topic |
Author |
Message |
Hauser l33t
Joined: 27 Dec 2003 Posts: 650 Location: 4-dimensional hyperplane
|
Posted: Fri Apr 16, 2004 7:25 pm Post subject: |
|
|
If you check the Portage Manual, you'll see prelink is not one of the 'features', so I doubt if it works by adding it to make.conf. _________________ AMD Athlon XP 2600+; 512M RAM;
nVidia FX5700LE; Hitachi 120Gb
2.6.9-nitro4, reiser4, linux26-headers+nptl
Do I like to compile everything?
Positive definite! |
|
Back to top |
|
|
krdp n00b
Joined: 27 Feb 2004 Posts: 41 Location: Newfoundland, Canada
|
Posted: Fri Apr 16, 2004 7:39 pm Post subject: |
|
|
I hate it when everything just works |
|
Back to top |
|
|
allucid Veteran
Joined: 02 Nov 2002 Posts: 1314 Location: atlanta
|
Posted: Fri Apr 16, 2004 9:17 pm Post subject: |
|
|
the prelink features flag does not exist. i can confirm, i tried it and it didn't prelink anything. |
|
Back to top |
|
|
MooktaKiNG Guru
Joined: 11 Nov 2002 Posts: 326 Location: London, UK
|
Posted: Fri Apr 16, 2004 9:22 pm Post subject: |
|
|
Hauser wrote: | If you check the Portage Manual, you'll see prelink is not one of the 'features', so I doubt if it works by adding it to make.conf. |
This is supposed to be a new feature.
I don't exactly know if it works. But a very reliable source from gentoo told me. can't remember who, and can't remember when, nor where (forum, mailing list etc etc).
But it won't hurt to just leave it there.
It hasn't been added to the docs yet.
Anyway, i usually do a full prelink once in a while anyway. _________________ http://www.mooktakim.com
Athlon XP 2001, Giga-Byte GA-7VRXP MB, 640Mb DDR RAM 333MHz, MSI Geforce 4800SE 128Mb DDR, 40x12x48 Liteon CDRW drive, Flower Cooler, ADSL Router |
|
Back to top |
|
|
X-Ryl669 Tux's lil' helper
Joined: 16 Feb 2004 Posts: 135
|
Posted: Mon May 03, 2004 4:12 pm Post subject: What about adding prelink to the cron job ? |
|
|
What about just modifying your cron job to prelink all soft ?
(Each week or so...)
Just an idea (works for me) _________________ Think it twice, think it thrice, you never think enough... |
|
Back to top |
|
|
robmoss Retired Dev
Joined: 27 May 2003 Posts: 2634 Location: Jesus College, Oxford
|
Posted: Tue May 04, 2004 2:08 am Post subject: |
|
|
You need to break something, just ask me
How's this for a project, then: take each package listed in the output of "emerge -e system" and create a CVS ebuild for each. Then, put "emerge -e system" in a script in /etc/cron.daily, and watch your system eat itself alive! Hurrah!
Note: one day I will do this. Just not today. Probably, actually, when I get my Athlon 64, then my Athlon XP will still have a reason to be switched on at all... _________________ Reality is for those who can't face Science Fiction.
emerge -U will kill your Gentoo
ecatmur, Lord of Portage Bash Scripts |
|
Back to top |
|
|
Tyir Apprentice
Joined: 08 Mar 2004 Posts: 172 Location: Montreal
|
Posted: Tue May 04, 2004 4:56 am Post subject: |
|
|
I was thinking about learnign hwo to maintain packages, and I read the creating an Ebuild How-to, but I found it didn't give very specific example, and I was still a bit confused
I wish the guide could be a bit more....step-by-stepy
Or am I just being lazy and need to just try it out?
Is it a good idea to make my own .ebuild for some random software I use, and then compare it with the Portage Ebuild? |
|
Back to top |
|
|
M.A. Apprentice
Joined: 21 Mar 2003 Posts: 168 Location: /home/España/Valencia
|
Posted: Tue May 04, 2004 4:39 pm Post subject: |
|
|
How about collaborate with the open source community writing docs, software, etc? |
|
Back to top |
|
|
meital Tux's lil' helper
Joined: 17 Feb 2004 Posts: 93
|
Posted: Tue May 04, 2004 8:32 pm Post subject: |
|
|
install fvwm. it will keep you busy for a while |
|
Back to top |
|
|
Stormy Eyes Veteran
Joined: 09 Apr 2003 Posts: 1064 Location: Watching God spit-shine my boots.
|
Posted: Tue May 04, 2004 8:45 pm Post subject: |
|
|
Pick up stray kittycats and hug them. |
|
Back to top |
|
|
placeholder Advocate
Joined: 07 Feb 2004 Posts: 2500
|
Posted: Tue May 04, 2004 9:35 pm Post subject: |
|
|
You could always kick back, listen to some Ruki Vverh, Rammstein, Tatu, and such and then watch some Hyper Police. That's what I do with my working system. lol |
|
Back to top |
|
|
codergeek42 Bodhisattva
Joined: 05 Apr 2004 Posts: 5142 Location: Anaheim, CA (USA)
|
Posted: Wed May 05, 2004 4:24 am Post subject: |
|
|
revertex wrote: | Hauser wrote: | MooktaKiNG wrote: |
also use ccache and prelink on your make.conf.
portage will prelink each app after an emerge automaticly now |
Are you sure this'll work? |
Dunno if it works, but i put this at the end of my /etc/make.conf (at least it seems don't hurt)
can someone confirm it? | Not sure, but I think that just adds it to the /etc/prelink.conf file so that mnext time you do it will prelink the newly-installed binaries as well. _________________ ~~ Peter: Programmer, Mathematician, STEM & Free Software Advocate, Enlightened Agent, Transhumanist, Fedora contributor
Who am I? :: EFF & FSF |
|
Back to top |
|
|
Tyir Apprentice
Joined: 08 Mar 2004 Posts: 172 Location: Montreal
|
Posted: Wed May 05, 2004 4:36 am Post subject: |
|
|
yea, i gave up on fvwm, for now at least...
I dunno, fluxbox is simple, but it does all that I want a WM to do, really... |
|
Back to top |
|
|
codergeek42 Bodhisattva
Joined: 05 Apr 2004 Posts: 5142 Location: Anaheim, CA (USA)
|
Posted: Wed May 05, 2004 5:07 am Post subject: |
|
|
The only bad thing about fluxbox is the fact that there are no icons on the desk, no eye-candy. Is why I switched to GNOME (don't flame me). Nice everything w/ perfect Aqua-like theme and Gentoo icons and what-not. kick-butt. _________________ ~~ Peter: Programmer, Mathematician, STEM & Free Software Advocate, Enlightened Agent, Transhumanist, Fedora contributor
Who am I? :: EFF & FSF |
|
Back to top |
|
|
MooktaKiNG Guru
Joined: 11 Nov 2002 Posts: 326 Location: London, UK
|
Posted: Wed May 05, 2004 9:17 am Post subject: |
|
|
codergeek42 wrote: | The only bad thing about fluxbox is the fact that there are no icons on the desk, no eye-candy. Is why I switched to GNOME (don't flame me). Nice everything w/ perfect Aqua-like theme and Gentoo icons and what-not. kick-butt. |
Yeh. thats the whole point
Fluxbox is a window manager. Gnome is a desktop environment.
Fluxbox only deals with windows and stuff like that.
But gnome is a full blown destop environment where, there's a window manager, desktop manager, webbrowser, file browser, and other nifty things all integrated into one environment
Same goes for KDE and other DE's
However, that doesn't you mean you can't use Gnome parts inside fluxbox.
For example, if you like the toolbar in gnome. you can start it in fluxbox by running "gnome-panel". You can run the desktop as well.
But if you goto fluxbox's homepage, i think there's a much better program that can give you nice desktop icons.
Hey, you can even use fluxbox inside gnome _________________ http://www.mooktakim.com
Athlon XP 2001, Giga-Byte GA-7VRXP MB, 640Mb DDR RAM 333MHz, MSI Geforce 4800SE 128Mb DDR, 40x12x48 Liteon CDRW drive, Flower Cooler, ADSL Router |
|
Back to top |
|
|
codergeek42 Bodhisattva
Joined: 05 Apr 2004 Posts: 5142 Location: Anaheim, CA (USA)
|
Posted: Wed May 05, 2004 9:35 pm Post subject: |
|
|
MooktaKiNG wrote: | codergeek42 wrote: | The only bad thing about fluxbox is the fact that there are no icons on the desk, no eye-candy. Is why I switched to GNOME (don't flame me). Nice everything w/ perfect Aqua-like theme and Gentoo icons and what-not. kick-butt. |
Yeh. thats the whole point
Fluxbox is a window manager. Gnome is a desktop environment.
Fluxbox only deals with windows and stuff like that.
But gnome is a full blown destop environment where, there's a window manager, desktop manager, webbrowser, file browser, and other nifty things all integrated into one environment
Same goes for KDE and other DE's
However, that doesn't you mean you can't use Gnome parts inside fluxbox.
For example, if you like the toolbar in gnome. you can start it in fluxbox by running "gnome-panel". You can run the desktop as well.
But if you goto fluxbox's homepage, i think there's a much better program that can give you nice desktop icons.
Hey, you can even use fluxbox inside gnome | Nice.
/me has some tinkering to do. ... _________________ ~~ Peter: Programmer, Mathematician, STEM & Free Software Advocate, Enlightened Agent, Transhumanist, Fedora contributor
Who am I? :: EFF & FSF |
|
Back to top |
|
|
Frodg l33t
Joined: 11 Feb 2004 Posts: 761
|
Posted: Wed May 05, 2004 10:34 pm Post subject: |
|
|
Use idesk with Fluxbox...
You get the perfect wm and you get icons ......works perfectly _________________ Aerosolo ergo sum - I spray therefore I am
Gentoo - Registered Linux User # 361400 |
|
Back to top |
|
|
revertex l33t
Joined: 23 Apr 2003 Posts: 806
|
Posted: Wed May 05, 2004 10:34 pm Post subject: |
|
|
codergeek42 wrote: | The only bad thing about fluxbox is the fact that there are no icons on the desk, no eye-candy. Is why I switched to GNOME (don't flame me). Nice everything w/ perfect Aqua-like theme and Gentoo icons and what-not. kick-butt. |
Idesk put nice icons in your desktop and you can set icon transparency, dunno if gnome can do that. |
|
Back to top |
|
|
Duty Apprentice
Joined: 15 Nov 2003 Posts: 253
|
Posted: Wed May 05, 2004 10:36 pm Post subject: |
|
|
Code: |
duty@meirin pym $ cd /usr/lib/portage/pym/
duty@meirin pym $ grep prelink *
portage.py:prelink_capable=0
portage.py: def perform_checksum(filename, calc_prelink=prelink_capable):
portage.py: if calc_prelink and prelink_capable:
portage.py: # Create non-prelinked temporary file to md5sum.
portage.py: mylock = lockfile("/tmp/portage-prelink.tmp", wa ntnewlockfile=1)
portage.py: prelink_tmpfile="/tmp/portage-prelink.tmp"
portage.py: shutil.copy2(filename,prelink_tmpfile)
portage.py: spawn("/usr/sbin/prelink --undo "+prelink_tmpfil e+" &>/dev/null", settings, free=1)
portage.py: retval = fchksum.fmd5t(prelink_tmpfile)
portage.py: os.unlink(prelink_tmpfile)
portage.py: def perform_checksum(filename, calc_prelink=prelink_capable):
portage.py: mylock = lockfile("/tmp/portage-prelink.tmp", wantnewloc kfile=1)
portage.py: prelink_tmpfile="/tmp/portage-prelink.tmp"
portage.py: if calc_prelink and prelink_capable:
portage.py: # Create non-prelinked temporary file to md5sum.
portage.py: # Non-prelinks are just returned.
portage.py: shutil.copy2(filename,prelink_tmpfile)
portage.py: spawn("/usr/sbin/prelink --undo "+prelink_tmpfil e+" &>/dev/null", settings, free=1)
portage.py: myfilename=prelink_tmpfile
portage.py: if calc_prelink and prelink_capable:
portage.py: os.unlink(prelink_tmpfile)
portage.py: # Update prelink.conf if we are prelink-enabled
portage.py: if prelink_capable:
portage.py: newprelink=open(root+"etc/prelink.conf","w")
portage.py: newprelink.write("# prelink.conf autogenerated by env-up date; make all changes to\n")
portage.py: newprelink.write("# contents of /etc/env.d directory\n")
portage.py: newprelink.write("-l "+x+"\n");
portage.py: newprelink.write("-h "+x+"\n")
portage.py: newprelink.close()
portage.py:def perform_md5(x, calc_prelink=0):
portage.py: return perform_checksum(x, calc_prelink)[0]
portage.py: mymd5=perform_md5(obj, calc_prel ink=1)
portage.py:if spawn("/usr/sbin/prelink --version > /dev/null 2>&1",settings,free =1) == 0:
portage.py: prelink_capable=1
Binary file portage.pyc matches
Binary file portage.pyo matches
duty@meirin pym $
|
Anyone who knows python want to figure out if that means anything? |
|
Back to top |
|
|
codergeek42 Bodhisattva
Joined: 05 Apr 2004 Posts: 5142 Location: Anaheim, CA (USA)
|
Posted: Wed May 05, 2004 10:42 pm Post subject: |
|
|
Frodg wrote: | Use idesk with Fluxbox...
You get the perfect wm and you get icons ......works perfectly | hmm...nice.... _________________ ~~ Peter: Programmer, Mathematician, STEM & Free Software Advocate, Enlightened Agent, Transhumanist, Fedora contributor
Who am I? :: EFF & FSF |
|
Back to top |
|
|
LeTene Guru
Joined: 02 Mar 2004 Posts: 348 Location: Ah'll glass ye!
|
Posted: Wed May 05, 2004 10:51 pm Post subject: |
|
|
Try installing BIND and getting a working nameserver for your LAN, then write a clear, comprehensive HOWTO a-la Gentoo Handbook explaining how you did it . _________________ Docs, Tips & Tricks at the Gentoo Wiki page. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|