View previous topic :: View next topic |
Author |
Message |
hornett Tux's lil' helper
Joined: 12 Aug 2004 Posts: 84
|
Posted: Tue Aug 21, 2007 11:19 pm Post subject: How to use a single package from an overlay? |
|
|
Hello forum,
I'd like to install gtk-engines only from gnome-experimental so that I can use the new clearlooks theme from 2.11.6 instead of 2.10.
Is it possible to use just this single package from g-e without letting it update the rest of my system using this overlay?
All I could think of was to remove everything related from the world file, but then I wouldn't get any updates for those items at all would I?
Any help much appreciated- at this point I'm considering just downloading the tarball, building it and make installing it over the top of the 2.10 version in portage :-S
Ta |
|
Back to top |
|
|
kernelOfTruth Watchman
Joined: 20 Dec 2005 Posts: 6111 Location: Vienna, Austria; Germany; hello world :)
|
Posted: Tue Aug 21, 2007 11:28 pm Post subject: |
|
|
1) checkout the overlay to a directory
2) copy over that program from that overlay to your local overlay (only that program e.g. sys-devel/foo --> into /usr/local/portage/sys-devel/foo)
3) mask is not needed since only that program is used
disadvantage: you need to copy over newer versions
cheers
other way:
1) checkout the overlay to a directory
2) create a symbolic link in /usr/local/portage, e.g. sys-devel/foo --> into /usr/local/portage/sys-devel/foo, where foo is the symlinked directory from the directory)
3) that way that program will updated once you update that "overlay" from 1)
advantage: program will be update
disadvantage: you still need to update the overlay exclusively _________________ https://github.com/kernelOfTruth/ZFS-for-SystemRescueCD/tree/ZFS-for-SysRescCD-4.9.0
https://github.com/kernelOfTruth/pulseaudio-equalizer-ladspa
Hardcore Gentoo Linux user since 2004 |
|
Back to top |
|
|
hornett Tux's lil' helper
Joined: 12 Aug 2004 Posts: 84
|
Posted: Tue Aug 21, 2007 11:53 pm Post subject: |
|
|
Thanks! I really like the second option...however, when you emerge --sync, it overwrites the symlink and I have to recreate it.
Is there a clever way to avoid that? Or should I just make a script to do it- something like this perhaps:
Code: | #!/bin/bash
emerge --sync
layman -S
rm /usr/portage/x11-themes/gtk-engines/ -rf
ln -s /usr/local/layman/gnome-experimental/x11-themes/gtk-engines/ /usr/portage/x11-themes/gtk-engines
|
Thanks again
EDIT: Symlink it to my local overlay instead! D'oh! |
|
Back to top |
|
|
|