Re: [gentoo-user] Akregator.

2016-03-20 Thread Neil Bothwick
On Sun, 20 Mar 2016 18:16:36 -0400, Alan Grimes wrote:

> > This is quite common when running KDE4 apps under KDE5. It means you
> > need to emerge the KDE4 dependency of the package, in this case
> > kde-base/baloo, with the minimal USE flag.

> my package.use -fu is minimal. =\

I thought you'd been using Gentoo for ten years?

> What is the exact line I need to add to the pile of hacks, and
> workarounds in that file?

kde-base/baloo minimal


-- 
Neil Bothwick

Fragile. Do not turn umop ap1sdn!


pgpgnP8EghIvS.pgp
Description: OpenPGP digital signature


[gentoo-user] Re: Confessional: how I generally use emerge.

2016-03-20 Thread Jonathan Callen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

On 03/18/2016 02:43 PM, »Q« wrote:
> On Thu, 17 Mar 2016 20:37:04 -0400 Alec Ten Harmsel
>  wrote:
> 
>>> emerge --update --newuse --deep --with-bdeps=y system
>>> --keep-going
>> 
>> Add "--oneshot", same reasoning as above.
> 
> When the target is a set (in this case @system), does portage ever
> add all of it to @world?
> 
> 
> 

The correct answer for this is "it depends".  Each set can be
configured to be included or not in the world_sets file, based usually
on the type of set.

The file /usr/share/portage/config/sets/portage.conf declares many
sets, setting "world-candidate = True" for some of them.  Others (like
@world, @selected, and @system) are not candidates for @world.  Note
that the "@world" set itself is declared to be exactly the three sets
"@profile @selected @system" -- @system is the usual system set,
@selected is the contents of the "world" and "world_sets" files, and
@profile is certain packages that used to be defined as required in
profiles without being listed in @system (I don't believe this
functionality is used in the tree any more).

- -- 
Jonathan Callen
-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iQIcBAEBCgAGBQJW7yKvAAoJEEIQbvYRB3mgONYQAJbXimtAn8pGuU96707g6+Cm
yfWlZ1QoLM6GNcw20V42sSfioZiHPlAgE+tj2fn+W3e51xwQrBoY2i4JO/3waiy4
j9m6XxC7wjV1ZFzCvS6SavuAYTegkRNRPonC0pKwb2y5zQV64t9tFyhm+bGt4ixn
k3rUjC82YsVEE/Jf4TNdKYvcZL9Qh9h2xSpvWAE1zn9yvtlrjAiAcNC+ZSbSYnHB
FBYN/C7jniv03zTqnzgsfygF+23FB57AScJWFAFg1g2l7c34PhBcdHLi206fLQsX
YhNsHd7mgkSBNhRBH9SaLxI6YG3ldCivKbmzSXdZ2SozRVL+8uqff9RH6JsdOtZE
lTnjxHZ/UV1ZNeUB+4A4tkQlthXewDzdyts+ChTzxlNnVA/YD+zk3JxdCg7Y0t6x
skFmg5Yqhlbq0CLiidllQeHQIEyCHShjMag+Fw7SP0OEJj9mm4IkjAkymuJbnkv7
iqm3Yvsx401+JIByhgUqUIrSlxc0TN0porlC7JP+oXr30vLcDZlrqqsAXq7i1gvG
jM5tL50aP7OCx+bXbVWF31vJYDCts5DQZ5z/pJaCHapgevGbHTXNBeTSQyQuttzr
6fBArEdCW8bHpJzMxRqGHaTICKAAUtJXttt+qyWO0bmRrOsnoPjMliu5vhRbGOjI
3q6JRiM4NkYkgTscKvRo
=u0eN
-END PGP SIGNATURE-



Re: [gentoo-user] Akregator.

2016-03-20 Thread Alan Grimes
Neil Bothwick wrote:
> On Sun, 20 Mar 2016 11:31:18 -0400, Alan Grimes wrote:
>
>> [blocks B  ] kde-base/baloo:4[-minimal(-)]
>> ("kde-base/baloo:4[-minimal(-)]" is blocking
>> kde-frameworks/baloo-5.19.0)
> This is quite common when running KDE4 apps under KDE5. It means you need
> to emerge the KDE4 dependency of the package, in this case
> kde-base/baloo, with the minimal USE flag.
>
> As portage output goes, this one is quite clear.
>


my package.use -fu is minimal. =\

What is the exact line I need to add to the pile of hacks, and
workarounds in that file?


-- 
IQ is a measure of how stupid you feel.

Powers are not rights.




Re: [gentoo-user] Gentoo sources

2016-03-20 Thread Peter Humphrey
On Sunday 20 March 2016 13:03:36 bitlord wrote:
> On Sun, 20 Mar 2016 10:52:12 +
> Peter Humphrey  wrote:
> > Does anyone know what's happened to
> > sys-kernel/gentoo-sources-4.1.15-r1? It was the latest stable version
> > until today, when it just disappeared. I can't see anything in the
> > change log, and Google doesn't help.
> 
> It is removed ("cleanup") with this commit
> https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac2e2c329145fe83037f8
> 081018e502a953ab50d
> 
> Looks like it was a mistake
> 
> https://bugs.gentoo.org/show_bug.cgi?id=577822

Ah. Thanks. I didn't think to look at bgo. Let's see how long it takes to 
reappear.

-- 
Rgds
Peter

linuxcounter.net user 5290, 1994/04/23




Re: [gentoo-user] Akregator.

2016-03-20 Thread Neil Bothwick
On Sun, 20 Mar 2016 11:31:18 -0400, Alan Grimes wrote:

> [blocks B  ] kde-base/baloo:4[-minimal(-)]
> ("kde-base/baloo:4[-minimal(-)]" is blocking
> kde-frameworks/baloo-5.19.0)

This is quite common when running KDE4 apps under KDE5. It means you need
to emerge the KDE4 dependency of the package, in this case
kde-base/baloo, with the minimal USE flag.

As portage output goes, this one is quite clear.


-- 
Neil Bothwick

It may be that your sole purpose in life is simply to serve as a warning
to others.


pgpOyD7TLNTJI.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] Re: The war continues.

2016-03-20 Thread wabenbau
Neil Bothwick  wrote:

> On Sat, 19 Mar 2016 04:08:15 +0100, waben...@gmail.com wrote:
> 
> > What I also don't want is too much crap that I don't need, e.g. a
> > networkmanger. Although I set USE="-networkmanager" portage wants
> > to install it when I type "emerge -pv plasma-meta".   
> 
> It uses the geolocation code in the networkmanager library this is a
> hard dependency until someone decided to create a patch.. I too don't
> need NM (I use systemd-networkd) but I have to have NM installed, but
> not running.

THX for the info. I've added -geolocation to my useflags. This pretended
networkmanager from being built.

--
Regards
wabe



Re: [gentoo-user] Re: The war continues.

2016-03-20 Thread wabenbau
Nikos Chantziaras  wrote:

> On 18/03/16 23:57, Alan McKinnon wrote:
> > KDE 5 is absolutely nothing like KDE3. So by all means try it, but
> > evaluate it on it's own terms. It's not a better KDE3, it's a whole
> > different DE  
> 
> And full of bugs :-P
> 
> Holy crap is it full of bugs. Like, seriously.

I've only installed plasma-desktop, systemsettings5 and dolphin. 
After some hours of playing around, I decided to stay with XFCE,
but to use dolphin as filemanager.

XFCE is much faster and more stable then plasma. With plasma the 
mousepointer is buggy. It changed the cursor theme sometimes to a 
tiny black pointer when moved over certain areas of the desktop.
There were also bugs when I changed the plasma theme. When I've 
chosen breeze-dark, the colors became light and when I've chosen 
breeze, the colors became dark. After some fiddling I've got what 
I wanted, but after a few minutes the panel and the window 
decorations are disappeared and I had to restart the session.

Maybe in some months I will try it again. But for the moment I 
think it's better to use my old environment. The breeze-dark
theme however is something that I really like and so I decided to
use it (slightly modified) for my gtk2 and gtk3 apps and of course 
also for dolphin.

--
Regards
wabe



[gentoo-user] Akregator.

2016-03-20 Thread Alan Grimes
It seems that akregator fell off the upgrade bus a while ago and now it
seems I've missed my chance to update it! =0

Akregator is a high priority package for me, it is one of the first
things I run whenever I start x'doze.

tortoise kde-apps # emerge --search akregator
 
[ Results for search key : akregator ]
Searching...

*  kde-apps/akregator
  Latest version available: 4.14.10
  Latest version installed: 4.13.1
  Size of files: 14,244 KiB
  Homepage:  https://www.kde.org/applications/internet/akregator
  Description:   KDE news feed aggregator
  License:   GPL-2

[ Applications found : 1 ]

tortoise kde-apps # emerge --update akregator

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N ] kde-base/baloo-4.14.3:4/4.14::gentoo  USE="(-aqua)
-debug -minimal" 0 KiB
[ebuild U  ] kde-apps/kdepim-common-libs-4.14.10:4/4.14::gentoo
[4.13.1:4/4.13::gentoo] USE="(-aqua) -debug -google%" 0 KiB
[ebuild U  ] kde-apps/akregator-4.14.10:4/4.14::gentoo
[4.13.1:4/4.13::gentoo] USE="handbook kontact (-aqua) -debug" 0 KiB
[blocks B  ] kde-base/baloo:4[-minimal(-)]
("kde-base/baloo:4[-minimal(-)]" is blocking kde-frameworks/baloo-5.19.0)

Total: 3 packages (2 upgrades, 1 new), Size of downloads: 0 KiB
Conflict: 1 block (1 unsatisfied)

 * Error: The above package list contains packages which cannot be
 * installed at the same time on the same system.

  (kde-frameworks/baloo-5.19.0:5/5.19::gentoo, installed) pulled in by
>=kde-frameworks/baloo-5.17.0:5 required by
(kde-plasma/plasma-workspace-5.5.5-r2:5/5::gentoo, installed)
>=kde-frameworks/baloo-5.17.0:5 required by
(kde-apps/baloo-widgets-15.12.2:5/5::gentoo, installed)
>=kde-frameworks/baloo-5.17.0:5 required by
(kde-apps/dolphin-15.12.2:5/5::gentoo, installed)
>=kde-frameworks/baloo-5.19.0:5 required by
(kde-plasma/plasma-desktop-5.5.5-r1:5/5::gentoo, installed)
>=kde-frameworks/baloo-5.17.0:5 required by
(kde-apps/gwenview-15.12.1:5/5::gentoo, installed)

  (kde-base/baloo-4.14.3:4/4.14::gentoo, ebuild scheduled for merge)
pulled in by
>=kde-base/baloo-4.14.3:4[aqua=] (>=kde-base/baloo-4.14.3:4[-aqua])
required by (kde-apps/kdepim-common-libs-4.14.10:4/4.14::gentoo, ebuild
scheduled for merge)


For more information about Blocked Packages, please refer to the following
section of the Gentoo Linux x86 Handbook (architecture is irrelevant):

https://wiki.gentoo.org/wiki/Handbook:X86/Working/Portage#Blocked_packages

tortoise kde-apps #



-- 
IQ is a measure of how stupid you feel.

Powers are not rights.




Re: [gentoo-user] Giving Gentoo Another Go

2016-03-20 Thread Alan McKinnon
On 18/03/2016 05:03, Hunter Jozwiak wrote:
> Hello,
> 
>  
> 
> After talking to a few diehard Gentoo fans at my local LUG, I decided I
> would like to give Gentoo another shot. Are there any good books that
> can supplement the Gentoo handbook as well as books that go more in
> depth than the Gentoo chapter on Portage? One of the main issues I faced
> with Gentoo when I first tried it is that I did not understand the power
> of package.use, and I put everything in to make.conf. However, I feel
> that given enough supplemental information, I can hopefully make Gentoo
> attempt 6 a more permanent thing, and, eventually, migrate my servers
> over to it. Any input is greatly appreciated.

I don't know of any books on running Gentoo. I strongly suspect any such
book wouldn't be much use though - Gentoo is a meta-distribution so you
can build anything you want. What you want and what's ain a book might
be very different things. Or, another way, let's look for a book called
"Dummies Guide to Using Bricks" - not really gonna work is it :-)

Understanding Gentoo involves using it and talking to the many good
awesome folks right here. Before long, you will start to understand more
and more. We'll help you out on the weak bits (like the bat-shit crazy
output portage tends to spew all over your screen sometimes) and
it's strengths.

Things like package.use I don't think are really your problem, it's just
an example of one thing amongst many you don't quite understand yet, but
I'll answer anyway.

USE flags enable and disable features of software at compile-time. Take
for example a music player. Maybe it can store the metadata about your
music in flat files, in sqlite, in mysql or postgres. Now you must make
a choice where to put the flag. Maybe your music collection is HUGE and
postgres is the best fit.

If you add it to make.conf it becomes global and every piece of software
that supports postgres will now be rebuilt to give postgres support.
Maybe you don't need or want that.

A flag like that is best put into package.use where it applies only to
the package you list there. So postgres gets installed, the music player
gets support and your MTA does not.

Sometimes it's a grey area where to put a flag and you have to weigh
your choices carefully. But much more often it's kinda obvious, and more
familiarity makes it easier.

Stick around, many folks find learning Gentoo is well worth the effort.

-- 
Alan McKinnon
alan.mckin...@gmail.com




Re: [gentoo-user] How to find which version of $package supports $USE ?

2016-03-20 Thread Daniel Frey
On 03/18/2016 09:07 AM, Stroller wrote:
> Hello,
> 
> I noticed today that openssh has a USE flag that I was unaware of:
> 
>$ emerge -UDp world
>
>These are the packages that would be merged, in order:
>
>Calculating dependencies... done!
>[ebuild U  ] sys-boot/grub-2.02_beta2-r9 [2.02_beta2-r3] USE="fonts%* 
> themes%*" GRUB_PLATFORMS="-uboot%" 
>[ebuild U  ] net-misc/openssh-7.2_p2 [7.1_p2] USE="-hpn*" 
>[ebuild U  ] sys-fs/udev-225 [216]
>
> * IMPORTANT: 3 news items need reading for repository 'gentoo'.
> * Use eselect news read to view new items.
>
>$ euses hpn
>net-misc/openssh:hpn - Enable high performance ssh
>$ 
> 
> High performance, bro!?! That sounds cool, I'll have some of that!
> 
> There are some indications that this USE flag may significantly speed up scp 
> transfers: http://www.psc.edu/index.php/hpn-ssh
> 
> 

I don't know of a utility, but I have:

$ emerge -pv openssh

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R] net-misc/openssh-7.1_p2::gentoo  USE="X hpn pam pie ssl
-X509 -bindist -debug -kerberos -ldap -ldns -libedit (-libressl) -sctp
(-selinux) -skey -ssh1 -static" 0 KiB

Total: 1 package (1 reinstall), Size of downloads: 0 KiB


I have it built here using 7.1_p2, maybe there was a regression in the
new version?

Dan




Re: [gentoo-user] Gentoo sources

2016-03-20 Thread bitlord
On Sun, 20 Mar 2016 10:52:12 +
Peter Humphrey  wrote:

> Hello list,
> 
> Does anyone know what's happened to
> sys-kernel/gentoo-sources-4.1.15-r1? It was the latest stable version
> until today, when it just disappeared. I can't see anything in the
> change log, and Google doesn't help.
> 


It is removed ("cleanup") with this commit
https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac2e2c329145fe83037f8081018e502a953ab50d
 

Looks like it was a mistake

https://bugs.gentoo.org/show_bug.cgi?id=577822




[gentoo-user] Gentoo sources

2016-03-20 Thread Peter Humphrey
Hello list,

Does anyone know what's happened to sys-kernel/gentoo-sources-4.1.15-r1? It 
was the latest stable version until today, when it just disappeared. I can't 
see anything in the change log, and Google doesn't help.

-- 
Rgds
Peter

linuxcounter.net reg 5290, 1994/04/23




Re: [gentoo-user] local shared directory

2016-03-20 Thread Neil Bothwick
On Thu, 17 Mar 2016 18:38:56 -0400, Rich Freeman wrote:

> > umask is just not viable either, as a) it's global and affects all
> > files a user creates and b) by definition umask is modifiable by the
> > user (it's a feature to help users out so they don't need to chmod
> > every file every time) and c) you can't stop them doing it (by
> > design).  
> 
> Actually, this is completely viable.  Just set the default umasks to
> 007, and create a new group for each user as their default group (and
> don't have all their home directories be owned by some users group).
> This is how this sort of situation was handled long before POSIX ACLs
> became common, and I know that some distros behave this way by default
> for this reason (this was the case in the distro I used right before I
> switched to Gentoo).
> 
> If users chmod a file then tell them not to.  If you must, set up some
> cron job to clean up after them.
> 
> But, you can of course do this with ACLs as well.  I haven't tried
> setting those up personally.

I've done this with ACLs in the past, which is why I suggested it, but
it's a pain to set up if you haven't used them before. Alan's suggestion
of using inotify is probably simplest. Install incrond and put something
like this in a file in /etc/incron.d

/shared/dir IN_CREATE,IN_MODIFY chmod g+w $#


-- 
Neil Bothwick

Windows Error #56: Operator fell asleep while waiting.


pgpc91VGcl8kn.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] How to find which version of $package supports $USE ?

2016-03-20 Thread Rich Freeman
On Fri, Mar 18, 2016 at 12:18 PM, Daniel Frey  wrote:
>
> I have it built here using 7.1_p2, maybe there was a regression in the
> new version?
>

You might want to upgrade:
https://bugs.gentoo.org/show_bug.cgi?id=576954

hpn is a large external patch so it isn't surprising that it breaks on
new versions sometimes.  I imagine they'll fix it at some point, but
this was a security update.  There is some debate about Gentoo having
it enabled by default, since it is not part of upstream.  However, the
hpn patch is probably fairly popular.

It is almost a fork, and I have no idea why it hasn't just been merged
into openssh proper.

-- 
Rich



Re: [gentoo-user] Giving Gentoo Another Go

2016-03-20 Thread Neil Bothwick
On Fri, 18 Mar 2016 10:09:14 +, Peter Humphrey wrote:

> > You will develop your way of doing things over time, and that way
> > could change as your needs do. Using your example of package.use,
> > moving USE flags from package.use to make.conf is an easy enough task
> > if you need to change. I tend to put them n package.use to start with
> > then migrate to make.conf if I find I am using the same flag on
> > several packages.  
> 
> A simple way to start off is to see whether the USE flag is listed in 
> /usr/portage/profiles/use.desc or use.local.desc. If the former, it's
> likely to affect many packages in a typical system so put it in
> make.conf; if the latter, it's likely to affect only a few of your
> packages so put it in package.use. You can always move it later if you
> want to, as Neil says.


app-portage/euses is an easy way of looking up USE flags, give it the
name of a flag and it shows you the description. If it shows one or more
package names, the USE flag is defined in local.desc.


-- 
Neil Bothwick

Top Oxymorons Number 33: American history


pgpqbqILgdNN8.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] Fastest way to get an upstream kernel bug fixed?

2016-03-20 Thread Alexander Kapshuk
On Sun, Mar 20, 2016 at 5:21 AM, walt  wrote:
> I've done the easy part already:  I git-bisected the guilty commit.
>
> I don't remember how to file a credible kernel bug report upstream so I
> hope to coax a gentoo dev into filing one for me :)
>
>
>

This doc, linux/REPORTING-BUGS, has the info on the subject matter.