| View previous topic :: View next topic |
| Author |
Message |
jos1 n00b

Joined: 10 Oct 2011 Posts: 5
|
Posted: Fri Apr 20, 2012 6:33 am Post subject: Questions about ebuild/patches and how to work with Layman? |
|
|
Hi,
I have a few questions about layman, ebuilds, etc.
I am hit by the LXDM-Binary-consuming-100%-CPU bug (URL end of this post).
This is a pretty serious issue (LXDM very slow), but it is still fixed only in an ebuild and not in the testing branch (e.g. in my case ~amd64). The solution for this fix is not automatically pushed to testing users.
Question 1: Why not fix in testing branch (1 line of code) so that all testing branch users get it automatically?
2: What is needed to get this fix included in the test branch? Which conditions are not met?
3: How do I install the live ebuild lxdm-9999 ??
| Code: | emerge layman
echo "source /var/lib/layman/make.conf" >> /etc/make.conf
layman -a lxdm-9999
|
4: Or is this 9999 not needed?
5: Do I first need to uninstall the testing branch version of lxdm before the overlay or is this handled automatically?
6: When in the testing branch this bug is fixed, how do I get the rid off this overlay and tell emerge now to follow the normal testing branch again?
LXDM 100% CPU Usage:
http://forums.gentoo.org/viewtopic-t-920080-highlight-lxde.html
Last edited by jos1 on Fri Apr 20, 2012 7:43 am; edited 1 time in total |
|
| Back to top |
|
 |
Veldrin Veteran


Joined: 27 Jul 2004 Posts: 1931 Location: Zurich, Switzerland
|
Posted: Fri Apr 20, 2012 6:57 am Post subject: |
|
|
Q1: Because there was no release made, and the ebuild is still in testing. if you know, what fixes it, just open a bug and provide a patch. though all of it has been done
Q3:
| Code: | emerge layman
echo "source /var/lib/layman/make.conf" >> /etc/make.conf
layman -Lk
layman -a lxde
echo "lxde-base/lxdm **" >> /etc/portage/package.keywords
echo "lxde-base/lxdm" >> /etc/portage/package.unmask
emerge -a1 =lxdm-9999 |
maybe you need some more packages from the live branche... therefore the local overlay solution might be better suitd.
Q4:You could patch the ebuild yourself, and place it in you local overlay (instructions)
Q5:It would be a be package manager, if it could not handle such a simple case
Q6: | Code: | | layman -d lxdm && emerge -aDu world |
and please change the title, it is confusing.
V. _________________ read the portage output!
If my answer is too short, just ask for an explanation. |
|
| Back to top |
|
 |
jos1 n00b

Joined: 10 Oct 2011 Posts: 5
|
Posted: Fri Apr 20, 2012 11:13 am Post subject: |
|
|
Thanks for your excellent explanation.
What is the function of:
| Code: | echo "lxde-base/lxdm **" >> /etc/portage/package.keywords
echo "lxde-base/lxdm" >> /etc/portage/package.unmask |
???? |
|
| Back to top |
|
 |
dol-sen Developer


Joined: 30 Jun 2002 Posts: 2368 Location: Richmond, BC, Canada
|
Posted: Fri Apr 20, 2012 2:23 pm Post subject: |
|
|
| Code: | | echo "lxde-base/lxdm **" >> /etc/portage/package.keywords |
This means the lxdm-9999 ebuild did not have any keywords, so this line tells the package manager to accept it anyway.
| Code: | | echo "lxde-base/lxdm" >> /etc/portage/package.unmask |
This one tells it to unmask it. There must have been an entry in package.mask, so this one unmasks it again for you. _________________ Brian
Porthole, the Portage GUI frontend irc@freenode: #gentoo-guis, #porthole, Blog
layman, gentoolkit, CoreBuilder, esearch... |
|
| 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
|
|