Re: [gentoo-user] emerge a binary package no longer in tree

2017-02-19 Thread Johannes Rosenberger
On 20.02.2017 07:50, Raffaele Belardi wrote:
> I'd like to try and update a package I masked long time ago due to
> performance problems. Upstream the problem does not seem completely
> addressed and solved so I'd like to be able to go back to the old
> version just in case. But the old version is no longer in the tree. If
> I quickpkg it will I be able to reinstall it anyway?
>
> thanks,
>
> raffaele
>
> # cat /etc/portage/package.mask
> # version 1.8.3 uses 20% CPU for no reason
> >net-misc/rdesktop-1.8.2
>
> # eix -I rdesktop
> [?] net-misc/rdesktop
>  Available versions:  1.8.3 (~)1.8.3-r1 (~)1.8.3-r2 {alsa ao debug
> ipv6 kerberos libressl libsamplerate oss pcsc-lite xrandr}
>
> # quickpkg net-misc/rdesktop
>  * Building package for net-misc/rdesktop-1.8.2 ...
>[ ok ]
>
>  * Packages now in '/usr/portage/packages':
>  * net-misc/rdesktop-1.8.2: 157

Yes, you will be.



Re: [gentoo-user] /etc/portage/profile vs. /etc/portage/make.profile

2017-02-19 Thread Johannes Rosenberger
On 20.02.2017 03:37, meino.cra...@gmx.de wrote:
> Hi,
>
> I am a little confused...
>
> In search for the reason my new root has no /etc/portage/profile
> but an /etc/portage/make.profile on this documemnt:
> https://dev.gentoo.org/~zmedico/portage/doc/man/portage.5.html
> I found this ywo lines
>
> /etc/portage/make.profile/ or /etc/make.profile/
> site-specific overrides go in /etc/portage/profile/
>
> (My profile is set correctly)
> Does this mean that make.profile is totally identical to
> make.profile, but if you want site-specific overrides you need
> to have profile instead of make.profile?
>
> Do I need to create /etc/portage/profile if it is not there?
>
> Nonetheless the listing below implies, that they are equivaltent.
> Or ?
>
> Cheers
> Meino
make.profile is a symlink to your profile, so you shouldn't edit
anything in there. It is managed by 'eselect profile' and i guess that
/etc/make.profile is the old location, like with make.conf which used to
be in /etc but is now in /etc/portage.
If you want to manually override anything in your profile that is not
covered by the other files in /etc/portage, e.g. unmask useflags, then
you use /etc/portage/profile. Everything there has higher precedence
than things in make.profile.



[gentoo-user] emerge a binary package no longer in tree

2017-02-19 Thread Raffaele Belardi
I'd like to try and update a package I masked long time ago due to performance problems. 
Upstream the problem does not seem completely addressed and solved so I'd like to be able 
to go back to the old version just in case. But the old version is no longer in the tree. 
If I quickpkg it will I be able to reinstall it anyway?


thanks,

raffaele

# cat /etc/portage/package.mask
# version 1.8.3 uses 20% CPU for no reason
>net-misc/rdesktop-1.8.2

# eix -I rdesktop
[?] net-misc/rdesktop
 Available versions:  1.8.3 (~)1.8.3-r1 (~)1.8.3-r2 {alsa ao debug ipv6 kerberos 
libressl libsamplerate oss pcsc-lite xrandr}


# quickpkg net-misc/rdesktop
 * Building package for net-misc/rdesktop-1.8.2 ... 
   [ ok ]


 * Packages now in '/usr/portage/packages':
 * net-misc/rdesktop-1.8.2: 157K





[gentoo-user] /etc/portage/profile vs. /etc/portage/make.profile

2017-02-19 Thread Meino . Cramer
Hi,

I am a little confused...

In search for the reason my new root has no /etc/portage/profile
but an /etc/portage/make.profile on this documemnt:
https://dev.gentoo.org/~zmedico/portage/doc/man/portage.5.html
I found this ywo lines

/etc/portage/make.profile/ or /etc/make.profile/
site-specific overrides go in /etc/portage/profile/

(My profile is set correctly)
Does this mean that make.profile is totally identical to
make.profile, but if you want site-specific overrides you need
to have profile instead of make.profile?

Do I need to create /etc/portage/profile if it is not there?

Nonetheless the listing below implies, that they are equivaltent.
Or ?

Cheers
Meino






Re: [gentoo-user] How to dump kde gracefully in favor of lxde

2017-02-19 Thread Miroslav Rovis
On 170219-19:41+, Neil Bothwick wrote:
> On Sun, 19 Feb 2017 14:21:58 +0100, Miroslav Rovis wrote:
> > ...[ you cut my argument here]...
> > ...[ you cut my argument here]...
> > ...[ you cut my argument here]...
> > > KDE3 had its own IPC protocol, DCOP, that was used as the basis for
> > > DBus. Once there was a standard IPC system, there was no need for KDE
> > > to maintain its own. GNOME and KDE are integrated suites of software,
> > > some form of IPC is necessary for them to function. To ditch DBus,
> > > they would have to reinvent the wheel.  
> > Yeah, right!
I wasn't being ironic.

> 
> What's that supposed to mean. This is documented fact, plus, if you had
> ever used DCOP, you would immediately spot the similarities in DBus.
>  
> > But I can't go into detailed discussions full time about dbus opaque or
> 
> DBus is a protocol specification, where is the opaqueness.
> 
> > not. (I really don't expect anybody can deny spender's claims in that
> > link on Linux security)...
> 
> Allowing programs to communicate with one another will always raise
> possibilities for exploitation, but that is not necessarily a reason to
> isolate all software from one another. After all, isn't having each
> program do one job well and communicate with others part of the "True
> Unix Way"?
> 
> 
> -- 
> Neil Bothwick
> 
> Teamwork is essential; it gives the enemy other people to shoot at.

I installed gnunet. Without dbus. Only had to modify one ebuild because
bluez had a dependency for dbus.

But won't be able to use gnunet-gtk because all gtk greater than 3.10
(or so) depend on dbus.

I hope so much the Gentoo devs keep the -dbus available.

Really busy, and obsessively interested in gnunet...

Regards!

-- 
Miroslav Rovis
Zagreb, Croatia
https://www.CroatiaFidelis.hr


signature.asc
Description: Digital signature


Re: [gentoo-user] How to dump kde gracefully in favor of lxde

2017-02-19 Thread Tom H
On Sun, Feb 19, 2017 at 8:21 AM, Miroslav Rovis
 wrote:
>
> Oh I meant SELinux, and pls. be the first to deny there were hooks
> planted in Linux by Linus via the LSM (the Linux Security Module, for
> the general audience), as per:
>
> Developer Raps Linux Security
> http://www.crmbuyer.com/story/39565.html

A 12-year-old article quoting a guy who develops a more or less
competing technology. Sure...

How many LSM CVEs have been issued in these 12 years and how many of
these could be remotely considered to have been purposefully committed
to the linux tree?

There are probably a 1,000, if not 10,000, other conspiracy theories
to which I'd be willing to subscribe before buying into this one.



Re: [gentoo-user] How to dump kde gracefully in favor of lxde

2017-02-19 Thread Mick
On Sunday 19 Feb 2017 20:02:04 Neil Bothwick wrote:
> On Sun, 19 Feb 2017 19:56:52 +, Mick wrote:
> > > On the other hand,
> > > I can't keep GNOME stuff off my KDE system
> > :
> > :-)
> > :
> > > % qlist -ICv gnome
> > > app-text/gnome-doc-utils-0.20.10-r1
> > > gnome-base/dconf-0.26.0-r1
> > > gnome-base/gconf-3.2.6-r4
> > > gnome-base/gnome-common-3.18.0-r1
> > > gnome-base/gnome-keyring-3.20.0
> > > gnome-base/gsettings-desktop-schemas-3.22.0
> > > gnome-base/gvfs-1.30.3
> > > gnome-base/libglade-2.6.4-r2
> > > gnome-base/librsvg-2.40.16
> > > gnome-extra/polkit-gnome-0.105-r1
> > > gnome-extra/yelp-xsl-3.20.1
> > > x11-libs/gnome-pty-helper-0.40.2
> > > x11-themes/gnome-themes-standard-3.22.2
> > > 
> > > I have no GNOME programs installed, although I do have some GTK
> > > apps.
> > 
> > Yes, NetworkManager no doubt ... plus whatever any Gtk apps could pull
> > in.
> 
> And what pulls in NetworkManager? KDE's power manager with USE=wireless!

Yes!  Madness.  What's wrong with good ol' wpa_supplicant and its GUI?

-- 
Regards,
Mick

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] How to dump kde gracefully in favor of lxde

2017-02-19 Thread Neil Bothwick
On Sun, 19 Feb 2017 19:56:52 +, Mick wrote:

> > On the other hand,
> > I can't keep GNOME stuff off my KDE system  
> 
> :-)
> 
> 
> > % qlist -ICv gnome
> > app-text/gnome-doc-utils-0.20.10-r1
> > gnome-base/dconf-0.26.0-r1
> > gnome-base/gconf-3.2.6-r4
> > gnome-base/gnome-common-3.18.0-r1
> > gnome-base/gnome-keyring-3.20.0
> > gnome-base/gsettings-desktop-schemas-3.22.0
> > gnome-base/gvfs-1.30.3
> > gnome-base/libglade-2.6.4-r2
> > gnome-base/librsvg-2.40.16
> > gnome-extra/polkit-gnome-0.105-r1
> > gnome-extra/yelp-xsl-3.20.1
> > x11-libs/gnome-pty-helper-0.40.2
> > x11-themes/gnome-themes-standard-3.22.2
> > 
> > I have no GNOME programs installed, although I do have some GTK
> > apps.  
> 
> Yes, NetworkManager no doubt ... plus whatever any Gtk apps could pull
> in.

And what pulls in NetworkManager? KDE's power manager with USE=wireless!


-- 
Neil Bothwick

Make it idiot proof and someone will make a better idiot.


pgpfgCJqnrXSN.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] How to dump kde gracefully in favor of lxde

2017-02-19 Thread Mick
On Sunday 19 Feb 2017 19:37:43 Neil Bothwick wrote:

> > question was how to get rid of KDE libraries/framework.  I replied
> > that Harry would have to get rid of every last KDE-based app(lication)
> > in the process.  There is no such animal as a "small KDE app".
> 
> That's right, because it is all part of the environment and will require
> kdelibs at the very least. But ditching KDE altogether should be fairly
> straightforward, although I have never tried to do it. On the other hand,
> I can't keep GNOME stuff off my KDE system

:-)


> % qlist -ICv gnome
> app-text/gnome-doc-utils-0.20.10-r1
> gnome-base/dconf-0.26.0-r1
> gnome-base/gconf-3.2.6-r4
> gnome-base/gnome-common-3.18.0-r1
> gnome-base/gnome-keyring-3.20.0
> gnome-base/gsettings-desktop-schemas-3.22.0
> gnome-base/gvfs-1.30.3
> gnome-base/libglade-2.6.4-r2
> gnome-base/librsvg-2.40.16
> gnome-extra/polkit-gnome-0.105-r1
> gnome-extra/yelp-xsl-3.20.1
> x11-libs/gnome-pty-helper-0.40.2
> x11-themes/gnome-themes-standard-3.22.2
> 
> I have no GNOME programs installed, although I do have some GTK apps.

Yes, NetworkManager no doubt ... plus whatever any Gtk apps could pull in.

-- 
Regards,
Mick

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] How to dump kde gracefully in favor of lxde

2017-02-19 Thread Neil Bothwick
On Sun, 19 Feb 2017 14:21:58 +0100, Miroslav Rovis wrote:

> > KDE3 had its own IPC protocol, DCOP, that was used as the basis for
> > DBus. Once there was a standard IPC system, there was no need for KDE
> > to maintain its own. GNOME and KDE are integrated suites of software,
> > some form of IPC is necessary for them to function. To ditch DBus,
> > they would have to reinvent the wheel.  
> Yeah, right!

What's that supposed to mean. This is documented fact, plus, if you had
ever used DCOP, you would immediately spot the similarities in DBus.
 
> But I can't go into detailed discussions full time about dbus opaque or

DBus is a protocol specification, where is the opaqueness.

> not. (I really don't expect anybody can deny spender's claims in that
> link on Linux security)...

Allowing programs to communicate with one another will always raise
possibilities for exploitation, but that is not necessarily a reason to
isolate all software from one another. After all, isn't having each
program do one job well and communicate with others part of the "True
Unix Way"?


-- 
Neil Bothwick

Teamwork is essential; it gives the enemy other people to shoot at.


pgpLfMSf5HF9F.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] How to dump kde gracefully in favor of lxde

2017-02-19 Thread Neil Bothwick
On Sun, 19 Feb 2017 13:28:44 -0500, Walter Dnes wrote:

> > >   *IMPORTANT* KDE is obscene about dependancies.  E.g. when a
> > > lightweight pdf-reader was phased out, I looked at various options
> > > including okular.  It's an "itty-bitty-little-applet"... that seems
> > > to pull in 90% of KDE as dependancies.  
> > 
> > If you had read the description of Okular in eix you would have
> > known that it is niether lightweight, nor standalone
> > 
> > "Universal document viewer based on KDE Frameworks"
> > 
> > Calling such an animal an itty-bitty-applet is doing it a grave
> > injustice, as is trying to use it as one.
> > 
> > The thing with KDE is that it is designed as an integrated environment
> > and intended to be used as such. So trying to install an individual
> > program is bound to bring in the backend support stuff.  
> 
>   That's the point I was trying to make.  It's all or nothing.  The
> question was how to get rid of KDE libraries/framework.  I replied
> that Harry would have to get rid of every last KDE-based app(lication)
> in the process.  There is no such animal as a "small KDE app".

That's right, because it is all part of the environment and will require
kdelibs at the very least. But ditching KDE altogether should be fairly
straightforward, although I have never tried to do it. On the other hand,
I can't keep GNOME stuff off my KDE system

% qlist -ICv gnome
app-text/gnome-doc-utils-0.20.10-r1
gnome-base/dconf-0.26.0-r1
gnome-base/gconf-3.2.6-r4
gnome-base/gnome-common-3.18.0-r1
gnome-base/gnome-keyring-3.20.0
gnome-base/gsettings-desktop-schemas-3.22.0
gnome-base/gvfs-1.30.3
gnome-base/libglade-2.6.4-r2
gnome-base/librsvg-2.40.16
gnome-extra/polkit-gnome-0.105-r1
gnome-extra/yelp-xsl-3.20.1
x11-libs/gnome-pty-helper-0.40.2
x11-themes/gnome-themes-standard-3.22.2

I have no GNOME programs installed, although I do have some GTK apps.


-- 
Neil Bothwick

MACINTOSH: Most Applications Crash; If Not, The Operating System Hangs


pgpabESmEBDnf.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] How to keep my system from (nearly) freezing?

2017-02-19 Thread Neil Bothwick
On Sun, 19 Feb 2017 14:36:17 +0100, Miroslav Rovis wrote:

> > # killa chromium  
> # killall 
> in this case likely (never installed any of Schmoog's browsers):
> # killall chromium

It's "killall chrome".


-- 
Neil Bothwick

A pessimist complains about the noise when opportunity knocks.


pgpZPiOXYM3GU.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] How to keep my system from (nearly) freezing?

2017-02-19 Thread Walter Dnes
On Sun, Feb 19, 2017 at 01:53:49PM +0100, Helmut Jarausch wrote

> sometime I have some memory hungry ebuilds in the background, when
> I start (e.g.) Chromium which needs very much memory if you have a
> lot of open tabs.
> 
> In that case my system nearly freezes. I cannot even kill chrome.
> What can I do in that case. (Remote login doesn't work either)

  You may not like this answer, but here goes...

  Shut down X before emerging memory-hungry ebuilds.  I don't mean
{CTRL}{ALT}{F1} switching to a text console; I mean log out of X
altogether.  Without the memory overhead of X and various programs
running, you'll be able to compile Chromium a lot faster.  Doing that,
I've built Pale Moon (a Firefox fork) from source on an ancient Atom
netbook with 2 gigs of ram in approximately 6 hours.  I had to select
maximum cpu speed and "makeopts=-j3", but it works.

  A few questions...
1) How much ram do you have?
2) How large is your swap partition?
3) Do you use ramdisks?
4) Do you use a lot of space for files in /dev/shm?
5) How much spare space do you have on your hard drive?

-- 
Walter Dnes 
I don't run "desktop environments"; I run useful applications



Re: [gentoo-user] How to dump kde gracefully in favor of lxde

2017-02-19 Thread Walter Dnes
On Sun, Feb 19, 2017 at 10:04:29AM +, Neil Bothwick wrote
> On Sat, 18 Feb 2017 22:05:01 -0500, Walter Dnes wrote:
> 
> >   *IMPORTANT* KDE is obscene about dependancies.  E.g. when a
> > lightweight pdf-reader was phased out, I looked at various options
> > including okular.  It's an "itty-bitty-little-applet"... that seems to
> > pull in 90% of KDE as dependancies.
> 
> If you had read the description of Okular in eix you would have
> known that it is niether lightweight, nor standalone
> 
> "Universal document viewer based on KDE Frameworks"
> 
> Calling such an animal an itty-bitty-applet is doing it a grave
> injustice, as is trying to use it as one.
> 
> The thing with KDE is that it is designed as an integrated environment
> and intended to be used as such. So trying to install an individual
> program is bound to bring in the backend support stuff.

  That's the point I was trying to make.  It's all or nothing.  The
question was how to get rid of KDE libraries/framework.  I replied
that Harry would have to get rid of every last KDE-based app(lication)
in the process.  There is no such animal as a "small KDE app".

  It reminds me of Internet Explorer back in the day.  People claimed
that they could "remove Internet Explorer" by deleting "ie.exe".  But
ie.exe was simply a collection of calls to various built-in Windows
libraries.  That's why "it was so small".  Meanwhile Firefox and Opera
had to launch real programs.

-- 
Walter Dnes 
I don't run "desktop environments"; I run useful applications



Re: [gentoo-user] Gentoo on a Surface Pro 3?

2017-02-19 Thread Daniel Quinn
On 30/01/17 08:24 PM, Daniel Frey wrote:
> I acquired (on the cheap) a used Surface Pro 3 with the keyboard cover
> off of a relative who wasn't using it (they said the screen was too
small.)
>
> I am considering putting Gentoo (or attempting to) and am wondering if
> anyone has had success.
>
> It looks like newer kernels have some builtin support for the hardware.
> Due to its form factor I will be setting up distcc to help with the
> build process, and using -bin packages for monstrosities like firefox
> and libreoffice.


I'm sorry that I didn't see this sooner, but I've been running on my SP3
now for about 2years.  I maintain a GitHub repo with kernel configs and
a installation manual, so if you'd like to give that a spin and submit
patches/ideas as they come, I'd be happy to merge them:

  https://github.com/danielquinn/Gentoo-Surface-Pro-3



[gentoo-user] Re: How to get Emacs key bindings in Firefox?

2017-02-19 Thread Grant Edwards
On 2017-02-19, Grant Edwards  wrote:

> I _used_ to have emacs key-bindings in Firefox, but for some reason
> that stopped working and now I have Windows key bindings.  It _may_
> have happened when I switched from XFCE to Openbox.
>
> After Googling a while, I've tried:
>
>  $ dconf write /org/gnome/desktop/interface/gtk-key-theme "'Emacs'" 
>  $ gconftool-2 --type=string --set /desktop/gnome/interface/gtk_key_theme 
> Emacs
>  $ gsettings set org.gnome.desktop.interface gtk-key-theme "Emacs"
>
> And setting gtk-key-theme-name = "Emacs" in the following files:
>
>  ~/.gtkrc-2.0
>  ~/.gtkrc-3.0
>  ~/.config/gtk-3.0/settings.ini
>  ~/.config/gtk-2.0/settings.ini
>
> Nothing works.  I still have Windows key-bindings in Firefox.

The answer is to put the following line in ~/.gtkrc-2.0

  gtk-key-theme-name = "Emacs"

_without_ the '[Settings]' section header in front of it (that's
apparently a gtk-3 thing).

For weeks I've thought Firefox was flaking out: odd menus popping up,
input focus shifting around randomly, field values vanishing and
various other sorts of weirdness.  Finally I realized that it had
switched to Windows key bindings instead of emacs.  [I've been using
emacs key bindings for so long, I'm not even conscious of it most of
the time.  Watching me try to use Windows programs is probably pretty
funny... until I throw a Donald.]

--
Grant








[gentoo-user] How to get Emacs key bindings in Firefox?

2017-02-19 Thread Grant Edwards
I _used_ to have emacs key-bindings in Firefox, but for some reason
that stopped working and now I have Windows key bindings.  It _may_
have happened when I switched from XFCE to Openbox.

After Googling a while, I've tried:

 $ dconf write /org/gnome/desktop/interface/gtk-key-theme "'Emacs'" 
 $ gconftool-2 --type=string --set /desktop/gnome/interface/gtk_key_theme Emacs
 $ gsettings set org.gnome.desktop.interface gtk-key-theme "Emacs"

And setting gtk-key-theme-name = "Emacs" in the following files:

 ~/.gtkrc-2.0
 ~/.gtkrc-3.0
 ~/.config/gtk-3.0/settings.ini
 ~/.config/gtk-2.0/settings.ini

Nothing works.  I still have Windows key-bindings in Firefox.

I'm running Firefox ESR 45.7.0, which appears to be using gtk-2:

  $ lsof | grep firefox | fgrep '.so' | grep -i gtk
  firefox6499  grante  mem   REG8,143352
562046 /usr/lib64/gtk-2.0/2.10.0/engines/libpixmap.so
  firefox6499  grante  mem   REG8,114344
414379 /usr/lib64/gtk-2.0/2.10.0/engines/libadwaita.so
  firefox6499  grante  mem   REG8,1  4460776
311636 /usr/lib64/libgtk-x11-2.0.so.0.2400.31
  firefox6499 6520 grante  mem   REG8,143352
562046 /usr/lib64/gtk-2.0/2.10.0/engines/libpixmap.so
  firefox6499 6520 grante  mem   REG8,114344
414379 /usr/lib64/gtk-2.0/2.10.0/engines/libadwaita.so
  firefox6499 6520 grante  mem   REG8,1  4460776
311636 /usr/lib64/libgtk-x11-2.0.so.0.2400.31
  firefox6499 6551 grante  mem   REG8,143352
562046 /usr/lib64/gtk-2.0/2.10.0/engines/libpixmap.so
  firefox6499 6551 grante  mem   REG8,114344
414379 /usr/lib64/gtk-2.0/2.10.0/engines/libadwaita.so
  firefox6499 6551 grante  mem   REG8,1  4460776
311636 /usr/lib64/libgtk-x11-2.0.so.0.2400.31

Does anybody know how to enable emacs key-bindings for gtk-2?

--
Grant





Re: [gentoo-user] Bluefish colours

2017-02-19 Thread Mick
On Sunday 19 Feb 2017 15:25:30 Peter Humphrey wrote:
> On Thursday 16 Feb 2017 15:42:08 I wrote:
> > Has anyone here any experience of Bluefish? I want to use it in website
> > development but I can't. Its menus use a background of very pale grey and
> > a text colour of white. Even with a magnifying glass I can't make out
> > most of what it's showing me.
> > 
> > How can I tell it to be like everyone else and use black as its default
> > working colour?
> 
> Today I installed www-client/chromium in place of www-client/google-chrome.
> It took 88 minutes! on this i7 box with 12 x 6600 bogomips and an NVMe
> drive.
> 
> Every page it tries to display is blank. I suppose this must be connected
> somehow.
> 
> Any bells ringing anywhere?

I don't have an answer for the bluefish button colours, but just an idea that 
different Gnome themes may be also applied on the Bluefish application since 
it uses Gtk.

Regarding your Chromium problem, have you configured your kernel/firmware/x11 
video drivers to use hardware acceleration?  Chromium uses hardware 
acceleration if available and the problem of blank pages may be relevant, but 
I am not sure.  Try this in the address bar to see what it reports:

chrome://gpu

-- 
Regards,
Mick

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] svn-server setup (need it for gnunet in Air-Gap install)

2017-02-19 Thread Miroslav Rovis
It may not be necessary to set up a subversion server, I now believe.
See below to what caused confusion here...

On 170219-12:56+0100, Miroslav Rovis wrote:
...
> https://gnunet.org/node/2634
...
> But I was wondering if anybody knows of a more Gentoo-specific
> tutorial/tip/thread/topic/other about setting up a Subversion server?

Here's what caused confusion:

Go to:
https://gnunet.org/git/youbroketheinternet-overlay.git/tree/net-misc/gnunet

of the currently available (you can see the equivalent listing there, as
in this local git clone'd repo of mine):

youbroketheinternet-overlay/net-misc/gnunet $ ls -ABgo
total 60
drwxr-xr-x 2 4096 2017-02-17 12:54 files
-rw-r--r-- 1 7436 2017-02-17 12:54 gnunet-0.10.1.ebuild
-rw-r--r-- 1 7440 2017-02-17 12:54 gnunet-0.10.1_pre01021.ebuild
-rw-r--r-- 1 4596 2017-02-17 12:54 gnunet-0.10.2_rc1.ebuild
-rw-r--r-- 1 7175 2017-02-17 12:54 gnunet-0.10.2_rc2.ebuild
-rw-r--r-- 1 7175 2017-02-17 12:54 gnunet-0.10.2_rc3.ebuild
-rw-r--r-- 1 7175 2017-02-17 12:54 gnunet-.ebuild
-rw-r--r-- 1  381 2017-02-17 12:54 Manifest
-rw-r--r-- 1 1467 2017-02-17 12:54 metadata.xml
youbroketheinternet-overlay/net-misc/gnunet $ 

And of those, only these ones are (and pls. notice it is EAPI=6, so
recent):
https://gnunet.org/git/youbroketheinternet-overlay.git/tree/net-misc/gnunet/gnunet-0.10.1.ebuild
/gnunet-0.10.1_pre01021.ebuild
SVN repo ebuilds.

But these:

gnunet-0.10.2_rc1.ebuild
gnunet-0.10.2_rc2.ebuild
gnunet-0.10.2_rc3.ebuild
gnunet-.ebuild

are all git repo ebuilds, so I'll try and see if adding the gnunet-
below, will allow me to use the gnunet git (which I cloned to my local
space):

# cat /etc/portage/package.unmask/package.unmask.file
>=net-misc/gnurl-
>=net-misc/gnunet-
#

And surely I will use the suggestion (given to gnunet developers, in the
gnunet-.ebuild):

# if you're a gnunet developer, you can put a symlink to your local git
# here:
EGIT_REPO_URI="/usr/local/src/${PN}

Be it failure or success, I'll report back how my attempts fared.

-- 
Miroslav Rovis
Zagreb, Croatia
https://www.CroatiaFidelis.hr


signature.asc
Description: Digital signature


Re: [gentoo-user] Bluefish colours

2017-02-19 Thread Peter Humphrey
On Thursday 16 Feb 2017 15:42:08 I wrote:

> Has anyone here any experience of Bluefish? I want to use it in website
> development but I can't. Its menus use a background of very pale grey and
> a text colour of white. Even with a magnifying glass I can't make out
> most of what it's showing me.
> 
> How can I tell it to be like everyone else and use black as its default
> working colour?

Today I installed www-client/chromium in place of www-client/google-chrome. 
It took 88 minutes! on this i7 box with 12 x 6600 bogomips and an NVMe 
drive.

Every page it tries to display is blank. I suppose this must be connected 
somehow.

Any bells ringing anywhere?

-- 
Regards
Peter




Re: [gentoo-user] Collision between app-arch/lrzip and net-dialup/lrzsz

2017-02-19 Thread Alan McKinnon
On 19/02/2017 16:53, meino.cra...@gmx.de wrote:
> Hi,
> 
> Both packages install the files:
> 
>  * Detected file collision(s):
>  * 
>  */usr/bin/lrz
>  */usr/share/man/man1/lrz.1.bz2
>  * 
> 
> I IxQuicked for that but didn't find anything useful.
> Is there a gentle way out of this collision or is
> this a typical Highlander situation?


that's a bug and it needs reporting.

Meanwhile you could rename the files for the package you intend to use
less, that will let the other package install. But it's a very temporary
workaround


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




[gentoo-user] Collision between app-arch/lrzip and net-dialup/lrzsz

2017-02-19 Thread Meino . Cramer
Hi,

Both packages install the files:

 * Detected file collision(s):
 * 
 *  /usr/bin/lrz
 *  /usr/share/man/man1/lrz.1.bz2
 * 

I IxQuicked for that but didn't find anything useful.
Is there a gentle way out of this collision or is
this a typical Highlander situation?

Cheers
Meino






Re: [gentoo-user] How to keep my system from (nearly) freezing?

2017-02-19 Thread Johannes Rosenberger
On 19.02.2017 14:41, meino.cra...@gmx.de wrote:
> Helmut Jarausch  [17-02-19 14:04]:
>> Hi,
>>
>> sometime I have some memory hungry ebuilds in the background, when I 
>> start (e.g.) Chromium which needs very much memory if you have a lot of 
>> open tabs.
>>
>> In that case my system nearly freezes. I cannot even kill chrome.
>> What can I do in that case. (Remote login doesn't work either)
>>
>> Can I have any additional program (like Chromium) die if there is not 
>> enough memory.
>>
>> Many thanks for a hint,
>> Helmut
>>
> Hi Helmut,
>
> I know that situation very well...additionally I have Blender
> open...
>
> But I think that the "freeze" of the system is not due to the memory
> amount but due to the heavy I/O while swapping.

I think so, too.

> May be a tool like ionice could help you to keep the possibility
> of killing certain processes. Ionice the emerge itself and additinally
> nice it also.
> The emerge may take longer, but a frozen system is even slower...
> ;)
>
> HTH!
> Cheers
> Meino

You can also use a compressed swap partition in RAM via zram
(Instructions: https://wiki.gentoo.org/wiki/Zram).
Then your system is still responsive enough to kill chromium when you
realize that your memory fills up.

It should also be possible to somehow dynamically set memory quotas but
I've not tried it yet. It might work via cgroups (which portage can use
natively).




Re: [gentoo-user] How to keep my system from (nearly) freezing?

2017-02-19 Thread Meino . Cramer
Helmut Jarausch  [17-02-19 14:04]:
> Hi,
> 
> sometime I have some memory hungry ebuilds in the background, when I 
> start (e.g.) Chromium which needs very much memory if you have a lot of 
> open tabs.
> 
> In that case my system nearly freezes. I cannot even kill chrome.
> What can I do in that case. (Remote login doesn't work either)
> 
> Can I have any additional program (like Chromium) die if there is not 
> enough memory.
> 
> Many thanks for a hint,
> Helmut
> 

Hi Helmut,

I know that situation very well...additionally I have Blender
open...

But I think that the "freeze" of the system is not due to the memory
amount but due to the heavy I/O while swapping.

May be a tool like ionice could help you to keep the possibility
of killing certain processes. Ionice the emerge itself and additinally
nice it also.
The emerge may take longer, but a frozen system is even slower...
;)

HTH!
Cheers
Meino






Re: [gentoo-user] How to keep my system from (nearly) freezing?

2017-02-19 Thread Miroslav Rovis
On 170219-14:11+0100, Miroslav Rovis wrote:
...
> Try Ctrl+Alt+Fx
> where x is one of F1 ... F6
> and then issue:
> # killa chromium
# killall 
in this case likely (never installed any of Schmoog's browsers):
# killall chromium

-- 
Miroslav Rovis
Zagreb, Croatia
https://www.CroatiaFidelis.hr


signature.asc
Description: Digital signature


Re: [gentoo-user] How to keep my system from (nearly) freezing?

2017-02-19 Thread Mick
On Sunday 19 Feb 2017 13:53:49 Helmut Jarausch wrote:
> Hi,
> 
> sometime I have some memory hungry ebuilds in the background, when I
> start (e.g.) Chromium which needs very much memory if you have a lot of
> open tabs.
> 
> In that case my system nearly freezes. I cannot even kill chrome.
> What can I do in that case. (Remote login doesn't work either)
> 
> Can I have any additional program (like Chromium) die if there is not
> enough memory.
> 
> Many thanks for a hint,
> Helmut

I assume you know setting --jobs= and --load-average= in emerge or in your 
MAKEOPTS directive in /etc/portage/make.conf.  You can also set 
PORTAGE_NICENESS in make.conf, which will be added to the nice value portage 
is running with.  But these will not affect disk I/O bottlenecks.  Consider 
running emerge with ionice[1] to control disk bottlenecks.

[1] /usr/src/linux/Documentation/block/ioprio.txt

-- 
Regards,
Mick

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] How to dump kde gracefully in favor of lxde

2017-02-19 Thread Miroslav Rovis
On 170219-12:31+, Neil Bothwick wrote:
> On Sun, 19 Feb 2017 11:17:34 +0100, Miroslav Rovis wrote:
Hi, Neil, a fellow hexagenarian like me!

> > But the worse thing in both KDE and Gnome is the dbus, the opaque
> > program that is easily misused against the user. And figuring out about
> > it, and getting rid of it, that was also hard.
> 
> How can it be opague when it is open source.
And so is NSA Linux open source, and is opaque just the same...

Oh I meant SELinux, and pls. be the first to deny there were hooks
planted in Linux by Linus via the LSM (the Linux Security Module, for
the general audience), as per:

Developer Raps Linux Security
(or whatever the exact title, I'm offline, doing just a quick write)
http://www.crmbuyer.com/story/39565.html

> 
> > Are there options for KDE/Gnome without dbus (or d-bus) now?
> 
> KDE3 had its own IPC protocol, DCOP, that was used as the basis for DBus.
> Once there was a standard IPC system, there was no need for KDE to
> maintain its own. GNOME and KDE are integrated suites of software, some
> form of IPC is necessary for them to function. To ditch DBus, they would
> have to reinvent the wheel.
Yeah, right!

But I can't go into detailed discussions full time about dbus opaque or
not. (I really don't expect anybody can deny spender's claims in that
link on Linux security)...

Because I really need to finally solve my (likely) last installation
issue with gnunet:
svn-server setup (need it for gnunet in Air-Gap install)
https://marc.info/?l=gentoo-user=148750543106051=2

Regards!
-- 
Miroslav Rovis
Zagreb, Croatia
https://www.CroatiaFidelis.hr


signature.asc
Description: Digital signature


Re: [gentoo-user] How to keep my system from (nearly) freezing?

2017-02-19 Thread Miroslav Rovis
On 170219-13:53+0100, Helmut Jarausch wrote:
> Hi,
> 
> sometime I have some memory hungry ebuilds in the background, when I  
Ebuilds are just text files, they don't run in the background...

> start (e.g.) Chromium which needs very much memory if you have a lot of  
> open tabs.
( Chromium is the most privacy-invading browser ever. It's a spyware, I
could never use it, but forget about that, it's not what this topic is
about... )
> In that case my system nearly freezes. I cannot even kill chrome.
> What can I do in that case. (Remote login doesn't work either)
Try Ctrl+Alt+Fx
where x is one of F1 ... F6
and then issue:
# killa chromium
> 
> Can I have any additional program (like Chromium) die if there is not  
> enough memory.
> 
> Many thanks for a hint,
> Helmut
>
This could be a hardware, not a software issue. Also, not sure, but
looks like, not a memory issue, but a CPU issue.

It's likely the CPU triggers the BIOS to shut down because CPU gets too
hot, but because it is not properly implemented, what happens is even
worse than doing nothing, and that is: the system freezes, but the CPU
keeps running... Bad!

How warm does you machine, try to touch it in the back, or under, if
it's a laptop, where ther CPU is?

It reminds me of what I had. My systems, that had only the original,
run-of-the-mill coolers on the CPUs (I bought a few of same model MBO,
so i can clone my systems)... The usual 80mm coolers.

As soon as I replaced them with 120mm coolers, no issues any more.

Regards!
-- 
Miroslav Rovis
Zagreb, Croatia
https://www.CroatiaFidelis.hr


signature.asc
Description: Digital signature


[gentoo-user] Re: entrance login fails

2017-02-19 Thread Mick
On Sunday 19 Feb 2017 12:03:33 Mick wrote:
> I am guessing there is something not being set in the /etc/pam.d/entrance
> file which was installed with entrance.  I am getting a wrong credentials
> error, when both my username and passwd are entered correctly.
> 
> This is the file installed by entrance:
> 
> $ cat /etc/pam.d/entrance
> #%PAM-1.0
> authrequisite   pam_nologin.so
> authrequiredpam_env.so readenv=1
> authrequiredpam_env.so readenv=1 envfile=/etc/default/locale
> @include common-auth
> authoptionalpam_gnome_keyring.so
> @include common-account
> session requiredpam_limits.so
> @include common-session
> session optionalpam_gnome_keyring.so auto_start
> @include common-password
> 
> 
> In contrast the sddm pam file looks like this:
> 
> $ cat /etc/pam.d/sddm
> #%PAM-1.0
> 
> auth  include system-login
> account   include system-login
> password  include system-login
> session   include system-login
> -auth optionalpam_kwallet.so kdehome=.kde4
> -auth optionalpam_kwallet5.so
> -session  optionalpam_kwallet.so
> -session  optionalpam_kwallet5.so auto_start
> 
> 
> The sddm pam file works fine, but I do not want to start hacking the
> entrance pam file without understainding what all these pam_foo.so
> directives do.  What do you suggest I need to change in it to make pam like
> my user/passwd?
> 
> PS.  I do not use Gnome on this box.

I had a look at /var/log/messages and then commented out entries in 
/etc/pam.d/entrance about gnome and @include, because they were causing 
errors.

Then added some of the syntax I borrowed from the sddm pam file, but I do not 
know if the final entrance pam file is correct/safe enough.  In any case it 
allows me to login:

#%PAM-1.0
#authrequisite   pam_nologin.so
#authrequiredpam_env.so readenv=1
authinclude system-login
authrequiredpam_env.so
account include system-login
#authrequiredpam_env.so readenv=1 envfile=/etc/default/locale
#@include common-auth
#authoptionalpam_gnome_keyring.so
#@include common-account
session include system-login
session requiredpam_unix.so
session requiredpam_limits.so
#@include common-session
#session optionalpam_gnome_keyring.so auto_start
#@include common-password
-auth   optionalpam_kwallet.so kdehome=.kde4
-auth   optionalpam_kwallet5.so
-sessionoptionalpam_kwallet.so
-sessionoptionalpam_kwallet5.so auto_start

Please let me know if something in the above is incorrect/dangerous ...

-- 
Regards,
Mick

signature.asc
Description: This is a digitally signed message part.


[gentoo-user] How to keep my system from (nearly) freezing?

2017-02-19 Thread Helmut Jarausch

Hi,

sometime I have some memory hungry ebuilds in the background, when I  
start (e.g.) Chromium which needs very much memory if you have a lot of  
open tabs.


In that case my system nearly freezes. I cannot even kill chrome.
What can I do in that case. (Remote login doesn't work either)

Can I have any additional program (like Chromium) die if there is not  
enough memory.


Many thanks for a hint,
Helmut



Re: [gentoo-user] package.provided syntax for overlay

2017-02-19 Thread Neil Bothwick
On Sun, 19 Feb 2017 11:17:11 +, Mick wrote:

> > Another option is to copy/symlink the specific package you want from
> > the bar overlay to your local overlay and do not include the bar
> > overlay in repos.conf.  
> 
> Sorry for being dense.  Do you mean first add the overlay with 'layman
> -a bar', then symlink the particular package to my local overlay?

Yes.

> How
> will I be updating this package in the future, if I do not have the
> 'bar' overlay settings in /etc/portage/repos.conf/layman.conf?

Layman will still update all its overlays when you run layman -S, but
portage will not see the contents. I've used this method often when I
want a single package from an overlay. You may have to link more than one
package to satisfy dependencies, but that is not usually the case in my
experience.


-- 
Neil Bothwick

Where do you think you're going today?


pgpNWlsu4j_Dd.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] How to dump kde gracefully in favor of lxde

2017-02-19 Thread Neil Bothwick
On Sun, 19 Feb 2017 11:17:34 +0100, Miroslav Rovis wrote:

> But the worse thing in both KDE and Gnome is the dbus, the opaque
> program that is easily misused against the user. And figuring out about
> it, and getting rid of it, that was also hard.

How can it be opague when it is open source.

> Are there options for KDE/Gnome without dbus (or d-bus) now?

KDE3 had its own IPC protocol, DCOP, that was used as the basis for DBus.
Once there was a standard IPC system, there was no need for KDE to
maintain its own. GNOME and KDE are integrated suites of software, some
form of IPC is necessary for them to function. To ditch DBus, they would
have to reinvent the wheel.


-- 
Neil Bothwick

COBOL: Completely Obsolete Business Oriented Language


pgpkh1L59I78r.pgp
Description: OpenPGP digital signature


[gentoo-user] shutdown -r now hangs in qemu-vm

2017-02-19 Thread Dan Johansson
Since updating app-emulation/libvirt and/or app-emulation/qemu (both
were updated at the same time) I have a problem executing "shutdown -r
now" in the vm ("shutdown -h now" works fine).

When I execute "shutdown -r now" in the vm the shutdown process runs
perfect until "Remounting root-filesystem readonly" and than it hangs
and I have to "Force Power Off" to reboot.

Any suggestion what could be wrong and what I can do to solve it?


-- 
Dan Johansson, 
***
This message is printed on 100% recycled electrons!
***


0x2FB894AD.asc
Description: application/pgp-keys


smime.p7s
Description: S/MIME Cryptographic Signature


[gentoo-user] entrance login fails

2017-02-19 Thread Mick
I am guessing there is something not being set in the /etc/pam.d/entrance file 
which was installed with entrance.  I am getting a wrong credentials error, 
when both my username and passwd are entered correctly.

This is the file installed by entrance:

$ cat /etc/pam.d/entrance
#%PAM-1.0
authrequisite   pam_nologin.so
authrequiredpam_env.so readenv=1
authrequiredpam_env.so readenv=1 envfile=/etc/default/locale
@include common-auth
authoptionalpam_gnome_keyring.so
@include common-account
session requiredpam_limits.so
@include common-session
session optionalpam_gnome_keyring.so auto_start
@include common-password


In contrast the sddm pam file looks like this:

$ cat /etc/pam.d/sddm
#%PAM-1.0

authinclude system-login
account include system-login
passwordinclude system-login
session include system-login
-auth   optionalpam_kwallet.so kdehome=.kde4
-auth   optionalpam_kwallet5.so
-sessionoptionalpam_kwallet.so
-sessionoptionalpam_kwallet5.so auto_start


The sddm pam file works fine, but I do not want to start hacking the entrance 
pam file without understainding what all these pam_foo.so directives do.  What 
do you suggest I need to change in it to make pam like my user/passwd?  

PS.  I do not use Gnome on this box.
-- 
Regards,
Mick

signature.asc
Description: This is a digitally signed message part.


[gentoo-user] svn-server setup (need it for gnunet in Air-Gap install)

2017-02-19 Thread Miroslav Rovis
The support question is at end. But I alsot thought it useful to relate
my experience with installing Gnunet.

I've successfully deployed installing from my Cgit-on-Apache served
cloned git's, whichever that I need, as you can read in:

Pale Moon Air-Gapped portage EAPI 6 Install
https://marc.info/?l=gentoo-user=148750248005478=2

And I've almost but completed installing Gnunet
( if you're as poorly informed as I was, see:
http://youbroketheinternet.org/#overlay
https://wiki.gentoo.org/wiki/Overlay:Youbroketheinternet
https://gnunet.org/node/2634 <-- not guarrantied to survive...
... Why? See:
https://secure-os.org/pipermail/desktops/2017-February/000171.html
where ng0, the author, writes in reply:
> There is also: GNUnet for Gentoo on gnunet.org (and I'm not sure if the
> tip needs to be updated as per: [[1]]
That page is outdated and will be removed once we update gnunet.org to
the new web framework.
)

But here's more of my experience so far with installing gnunet, with
this last hurdle to overcome left.

Gnunet has a few requirements, it should be here:
https://bugs.gentoo.org/show_bug.cgi?id=609740#c0
in the attachment:
https://bugs.gentoo.org/attachment.cgi?id=464236
or, by the current packages:
automake-1.14.1.tar.xz, gnurl-170218.tar, gnurl-git-170218.tar,
gnutls-3.5.9.tar.xz, Kjqmt7v-20100715.csr, libmicrohttpd-0.9.52.tar.gz,
Python-3.5.2.tar.xz, python-gentoo-patches-3.5.2-0.tar.xz,
root-anchors-20100715.xml, unbound-1.6.0.tar.gz

I have overcome the portage checksum fail issue for the dnssec-root, see:
youbroketheinternet's gnunet dependency net-dns/dnssec-root-20150403
checksum fail
https://bugs.gentoo.org/show_bug.cgi?id=609740
also:
dependency net-dns/dnssec-root-20150403 checksum fails
https://gnunet.org/bugs/view.php?id=4898
and:
gnunet dependency dnssec-root checksum fail for 7 yrs old IANA XML 
https://lists.gt.net/gentoo/user/323337

and also I git clone'd gnurl to have it available locally for my
Air-Gapped...

All the above is solved.

But gnunet is developed in Subversion, and I have to make a Subversion
server now, and somehow pull from gnunet repo into my local, to have
gnunet available for my Air-Gapped...

I have searched, I have found this useful link (with further
references), for setting up a Subversion server:

How to set up a Subversion (SVN) server on GNU/Linux - Ubuntu
https://stackoverflow.com/questions/60736/how-to-set-up-a-subversion-svn-server-on-gnu-linux-ubuntu

But I was wondering if anybody knows of a more Gentoo-specific
tutorial/tip/thread/topic/other about setting up a Subversion server?

Regards!
-- 
Miroslav Rovis
Zagreb, Croatia
https://www.CroatiaFidelis.hr


signature.asc
Description: Digital signature


Re: [gentoo-user] package.provided syntax for overlay

2017-02-19 Thread Mick
On Sunday 19 Feb 2017 10:50:31 Neil Bothwick wrote:
> On Sun, 19 Feb 2017 11:45:27 +0100, Johannes Rosenberger wrote:
> > > So I tried in /etc/portage/package.provided any combination of these:
> > > 
> > > x11-wm/enlightenment-:0.17/::bar
> > > 
> > > =x11-wm/enlightenment-:0.17
> > > 
> > > x11-wm/enlightenment-
> > > 
> > > None of which can stop portage dragging in 'x11-
> > > wm/enlightenment-:0.17/::bar'.  What is the correct syntax to
> > > block this version of enlightenment from emerging?
> > 
> > According to the portage manpage 'x11-wm/enlightenment-' should be
> > the correct syntax.
> > 
> > But I think, package.provided is the wrong file at all. The correct way
> > to accomplish what you want to is masking
> > 'x11-wm/enlightenment-:0.17/::bar'.
> 
> Agreed.
> 
> Another option is to copy/symlink the specific package you want from the
> bar overlay to your local overlay and do not include the bar overlay in
> repos.conf.

Sorry for being dense.  Do you mean first add the overlay with 'layman -a 
bar', then symlink the particular package to my local overlay?  How will I be 
updating this package in the future, if I do not have the 'bar' overlay 
settings in /etc/portage/repos.conf/layman.conf?

I'm trying to understand the benefit of doing it as you suggest above ...  :-/
-- 
Regards,
Mick

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] package.provided syntax for overlay

2017-02-19 Thread Mick
On Sunday 19 Feb 2017 11:45:27 Johannes Rosenberger wrote:
> On 19.02.2017 11:20, Mick wrote:
> > Hi All,
> > 
> > Given sddm is not working for my setup, as per bug #608690, I thought of
> > trying entrance from the bar overlay.  It wants to pull in enlightenment,
> > which I have already installed from the main tree and would like to keep
> > it as such:
> > 
> > # emerge -uaDv entrance
> > 
> > These are the packages that would be merged, in order:
> > 
> > Calculating dependencies... done!
> > [ebuild U ~] x11-wm/enlightenment-:0.17/::bar
> > [0.20.6:0.17/0.20.6::gentoo] USE="eeze%* nls pam ukit -doc -egl%
> > -pm-utils% - static-libs -systemd -wayland (-spell%*)"
> > ENLIGHTENMENT_MODULES="appmenu backlight battery bluez4 clock
> > conf-applications conf-bindings conf-dialogs conf-display
> > conf-interaction conf-intl conf-menus conf-paths conf-performance
> > conf-randr conf-shelves conf-theme conf-window-manipulation conf-window-
> > remembers connman contact%* cpufreq everything fileman fileman-opinfo
> > gadman ibar ibox lokker mixer msgbus music-control notification pager
> > pager16%* quickaccess shot start syscon systray tasks teamwork
> > temperature tiling winlist wizard xkbswitch -access% -packagkit%
> > -wl-desktop-shell* -wl-drm* -wl- fb% -wl-x11* (-conf%*) (-geolocation%*)
> > (-packagekit%*) (-pager-plain%*) (- policy-mobile%*) (-wl-text-input%*)
> > (-wl-weekeyboard%*) (-wl-wl%*) (- xwayland%*)" 0 KiB
> > [ebuild  N*] x11-plugins/entrance-::bar  USE="consolekit pam -grub
> > - systemd -vkbd" 0 KiB
> > 
> > 
> > So I tried in /etc/portage/package.provided any combination of these:
> > 
> > x11-wm/enlightenment-:0.17/::bar
> > 
> > =x11-wm/enlightenment-:0.17
> > 
> > x11-wm/enlightenment-
> > 
> > None of which can stop portage dragging in 'x11-
> > wm/enlightenment-:0.17/::bar'.  What is the correct syntax to
> > block
> > this version of enlightenment from emerging?
> 
> According to the portage manpage 'x11-wm/enlightenment-' should be
> the correct syntax.
> 
> But I think, package.provided is the wrong file at all. The correct way
> to accomplish what you want to is masking
> 'x11-wm/enlightenment-:0.17/::bar'. The problem with this
> package is that it is keyworded incorrectly as '~amd64 ~x86'  despite
> being a live ebuild.
> If you already have enlightenment:0.17 installed this should suffice,
> since entrance only depends on this and not the live ebuild.

Thank you Johannes, I removed package.provided and added '=x11-
wm/enlightenment-:0.17' in package.mask.  Now it wants to install:

x11-wm/enlightenment-0.21.3:0.17/0.21::bar

so I added that version in package.mask too and it now is emerging entrance.  
:-)
-- 
Regards,
Mick

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Pale Moon Air-Gapped portage EAPI 6 Install WAS: [Logging] SSL with PM

2017-02-19 Thread Miroslav Rovis
It still looks awkward directory names like below:

On 170111-06:50+0100, Miroslav Rovis wrote:
> On 161223-17:58+0100, Miroslav Rovis wrote:
> > On 161223-05:38+0100, Miroslav Rovis wrote:
...
> ...
> > 
> > The git object pack sources, guess where they are by looking up:
> > 
> > # du -hs /usr/portage/distfiles/git3-src\
> > EGIT_MIRROR_URI\=git\:/localhost/cgi-bin/cgit.cgi/cgi-bin_cgit.cgi_Pale-Moon.git/*/
> > 
...

And this is fresh, current:

( not a quote, but a paste from a terminal, the second line below )
# ls -ABgo \
> "/usr/portage/distfiles/git3-src 
> EGIT_MIRROR_URI=http:/localhost/cgi-bin/cgit.cgi/"
total 12
drwxr-xr-x 6 4096 2017-02-19 00:17 cgi-bin_cgit.cgi_gnurl.git
drwxr-xr-x 6 4096 2017-02-13 23:54 cgi-bin_cgit.cgi_Pale-Moon.git
drwxr-xr-x 6 4096 2017-02-18 22:53 gnurl.git
#

The gnurl.git, the last, is empty. It is empty because I wasn't online, and I
wasn't because I don't want to just be online and trust what happens
when I install packages while being open... And so it couldn't pull from
online git's.

But the other two:

cgi-bin_cgit.cgi_gnurl.git
cgi-bin_cgit.cgi_Pale-Moon.git

have done their work. From my Apache-served Cgit.

Gnurl I have installed in this awkward-directory-names way just very
early this morning (more about what I needed it for further below), and
Pale-Moon I have installed back when I made this pull request:

https://github.com/deuiore/palemoon-overlay/pull/34

This method works! (If I had time, I'd query with the cgit devs and
remove the cgi-bin_cgit.cgi string from my Apache served Cgit (it's
actually http:///cgi-bin/cgit.cgi/<...>) , but hey,
it works, so it's not urgent.)

In other words, some (not all, YMMV) of my pull request is anyway, via
Air-Gapped or via total-online install, applicable for anybody who wants
to _test_ Pale Moon in Gentoo!

Just thought to let you people know.

As far as Pale Moon, you get the bleeding edge this way.

And, yes, in comparison to its parent which it forked from, the big
business Firefox, Pale Moon is an Angel of Honesty! And I don't have
many issues with Pale Moon, at all! Esp. not surveillance issues like
with Firefox!

And about Gnurl and what I needed it for. I needed it for Gnunet.
Aaahhh.. What is that, some may ask (that's how this great idea is
little known in some circles)? See here:

https://wiki.gentoo.org/wiki/Overlay_Talk:Youbroketheinternet 
http://youbroketheinternet.org/#overlay
https://gnunet.org/node/2634 (
but the author is a renegade Gentoo developer, maybe that's why it is
not well known, see here for more:
https://secure-os.org/pipermail/desktops/2017-February/000171.html
)

But I need to make another thread about Subversion server that I need to
set up, because gnunet is svn-served...

Regards!
-- 
Miroslav Rovis
Zagreb, Croatia
https://www.CroatiaFidelis.hr


signature.asc
Description: Digital signature


Re: [gentoo-user] How to dump kde gracefully in favor of lxde

2017-02-19 Thread Miroslav Rovis
On 170219-08:45+, Mick wrote:
> On Saturday 18 Feb 2017 22:05:01 Walter Dnes wrote:
> > On Sat, Feb 18, 2017 at 04:57:52PM -0500, Harry Putnam wrote
> > 
> > > Any advice about slick ways of getting fully updated but dumping kde
> > > on the way.
> > 
> >   *IMPORTANT* KDE is obscene about dependancies.  E.g. when a
> > lightweight pdf-reader was phased out, I looked at various options
> > including okular.  It's an "itty-bitty-little-applet"... that seems to
> > pull in 90% of KDE as dependancies.  If you want to get rid of KDE, you
> > must be prepared to dump every last little KDE app/applet.  It's an
> > all-or-nothing situation.  Sorry.
> > 
> > 1) "eselect profile list" and switch to a basic non-KDE profile of your
> > choice.
> > 
> > 2) "emerge gentoolkit" if not already present.
> > 
> > 3) "cat /var/lib/portage/world" and see what KDE stuff you have.
> > 
> > 4) Unmerge (i.e. "emerge --unmerge) obvious KDE-related stuff that you
> > find in world.
> > 
> > 5) "emerge --depclean" (May not help if you've done "emerge --sync" and
> > not fully updated).
> > 
> >The next 3 steps are going to be repeated several times
> > 
> > 6) "emerge -pv --changed-use --deep --update @world"
> > 
> > 7) You'll probably see portage try to pull KDE back in.  For each lib
> > "fu-bar/foobar" that portage tries to pull in do "equery d fu-bar/foobar"
> > and manually unmerge whatever it finds.  (Note: gentoolkit provides the
> > equery tool).
> > 
> > 8) GOTO 6 (until portage stops trying to pull in KDE stuff).
> 
> As Walter indicates above, the problem is many every day desktop applications 
> have either KDE or Gnome dependencies.  Depending on your needs you may find 
> it inevitable that one or the other desktop environment with its mega-suite 
> of 
> packages will be pulled in.
> -- 
> Regards,
> Mick

True! KDE is not so bad, but it and Gnome, they invent, they imposition
dependencies. Some four years ago now, I wasn't able to easily switch
from KDE to what I use now: plain openbox. I even start it with simply
"startx"...

I wish Harry can do it, but I'm only cautiously optimistic...

I don't know if I would be able to do it now if I had KDE installed,
lots of things have changed in 4 yrs... Lots of things have changed, but
I don't think the impositioning of dependencies by KDE has...

But the worse thing in both KDE and Gnome is the dbus, the opaque program
that is easily misused against the user. And figuring out about it, and
getting rid of it, that was also hard.

Getting sans-dbus is now in Gentoo much much easier, almost readily
available (there's even a dbus useflag since not long time ago).

I was wondering if maybe I was wrong:

Are there options for KDE/Gnome without dbus (or d-bus) now?

-- 
Miroslav Rovis
Zagreb, Croatia
https://www.CroatiaFidelis.hr


signature.asc
Description: Digital signature


Re: [gentoo-user] package.provided syntax for overlay

2017-02-19 Thread Neil Bothwick
On Sun, 19 Feb 2017 11:45:27 +0100, Johannes Rosenberger wrote:

> > So I tried in /etc/portage/package.provided any combination of these:
> >
> > x11-wm/enlightenment-:0.17/::bar
> >
> > =x11-wm/enlightenment-:0.17
> >
> > x11-wm/enlightenment-
> >
> > None of which can stop portage dragging in 'x11-
> > wm/enlightenment-:0.17/::bar'.  What is the correct syntax to
> > block this version of enlightenment from emerging?
> >  
> According to the portage manpage 'x11-wm/enlightenment-' should be
> the correct syntax.
> 
> But I think, package.provided is the wrong file at all. The correct way
> to accomplish what you want to is masking
> 'x11-wm/enlightenment-:0.17/::bar'.

Agreed.

Another option is to copy/symlink the specific package you want from the
bar overlay to your local overlay and do not include the bar overlay in
repos.conf.


-- 
Neil Bothwick

Change is inevitable. Except from a vending machine.


pgpqRAjluxWjL.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] package.provided syntax for overlay

2017-02-19 Thread Johannes Rosenberger
On 19.02.2017 11:20, Mick wrote:
> Hi All,
>
> Given sddm is not working for my setup, as per bug #608690, I thought of 
> trying entrance from the bar overlay.  It wants to pull in enlightenment, 
> which I have already installed from the main tree and would like to keep it 
> as 
> such:
>
> # emerge -uaDv entrance
>
> These are the packages that would be merged, in order:
>
> Calculating dependencies... done!
> [ebuild U ~] x11-wm/enlightenment-:0.17/::bar 
> [0.20.6:0.17/0.20.6::gentoo] USE="eeze%* nls pam ukit -doc -egl% -pm-utils% -
> static-libs -systemd -wayland (-spell%*)" ENLIGHTENMENT_MODULES="appmenu 
> backlight battery bluez4 clock conf-applications conf-bindings conf-dialogs 
> conf-display conf-interaction conf-intl conf-menus conf-paths 
> conf-performance 
> conf-randr conf-shelves conf-theme conf-window-manipulation conf-window-
> remembers connman contact%* cpufreq everything fileman fileman-opinfo gadman 
> ibar ibox lokker mixer msgbus music-control notification pager pager16%* 
> quickaccess shot start syscon systray tasks teamwork temperature tiling 
> winlist wizard xkbswitch -access% -packagkit% -wl-desktop-shell* -wl-drm* -wl-
> fb% -wl-x11* (-conf%*) (-geolocation%*) (-packagekit%*) (-pager-plain%*) (-
> policy-mobile%*) (-wl-text-input%*) (-wl-weekeyboard%*) (-wl-wl%*) (-
> xwayland%*)" 0 KiB
> [ebuild  N*] x11-plugins/entrance-::bar  USE="consolekit pam -grub -
> systemd -vkbd" 0 KiB
>
>
> So I tried in /etc/portage/package.provided any combination of these:
>
> x11-wm/enlightenment-:0.17/::bar
>
> =x11-wm/enlightenment-:0.17
>
> x11-wm/enlightenment-
>
> None of which can stop portage dragging in 'x11-
> wm/enlightenment-:0.17/::bar'.  What is the correct syntax to block 
> this version of enlightenment from emerging?
>
According to the portage manpage 'x11-wm/enlightenment-' should be
the correct syntax.

But I think, package.provided is the wrong file at all. The correct way
to accomplish what you want to is masking
'x11-wm/enlightenment-:0.17/::bar'. The problem with this
package is that it is keyworded incorrectly as '~amd64 ~x86'  despite
being a live ebuild.
If you already have enlightenment:0.17 installed this should suffice,
since entrance only depends on this and not the live ebuild.



[gentoo-user] package.provided syntax for overlay

2017-02-19 Thread Mick
Hi All,

Given sddm is not working for my setup, as per bug #608690, I thought of 
trying entrance from the bar overlay.  It wants to pull in enlightenment, 
which I have already installed from the main tree and would like to keep it as 
such:

# emerge -uaDv entrance

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

Calculating dependencies... done!
[ebuild U ~] x11-wm/enlightenment-:0.17/::bar 
[0.20.6:0.17/0.20.6::gentoo] USE="eeze%* nls pam ukit -doc -egl% -pm-utils% -
static-libs -systemd -wayland (-spell%*)" ENLIGHTENMENT_MODULES="appmenu 
backlight battery bluez4 clock conf-applications conf-bindings conf-dialogs 
conf-display conf-interaction conf-intl conf-menus conf-paths conf-performance 
conf-randr conf-shelves conf-theme conf-window-manipulation conf-window-
remembers connman contact%* cpufreq everything fileman fileman-opinfo gadman 
ibar ibox lokker mixer msgbus music-control notification pager pager16%* 
quickaccess shot start syscon systray tasks teamwork temperature tiling 
winlist wizard xkbswitch -access% -packagkit% -wl-desktop-shell* -wl-drm* -wl-
fb% -wl-x11* (-conf%*) (-geolocation%*) (-packagekit%*) (-pager-plain%*) (-
policy-mobile%*) (-wl-text-input%*) (-wl-weekeyboard%*) (-wl-wl%*) (-
xwayland%*)" 0 KiB
[ebuild  N*] x11-plugins/entrance-::bar  USE="consolekit pam -grub -
systemd -vkbd" 0 KiB


So I tried in /etc/portage/package.provided any combination of these:

x11-wm/enlightenment-:0.17/::bar

=x11-wm/enlightenment-:0.17

x11-wm/enlightenment-

None of which can stop portage dragging in 'x11-
wm/enlightenment-:0.17/::bar'.  What is the correct syntax to block 
this version of enlightenment from emerging?

-- 
Regards,
Mick

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] How to dump kde gracefully in favor of lxde

2017-02-19 Thread Neil Bothwick
On Sat, 18 Feb 2017 22:05:01 -0500, Walter Dnes wrote:

>   *IMPORTANT* KDE is obscene about dependancies.  E.g. when a
> lightweight pdf-reader was phased out, I looked at various options
> including okular.  It's an "itty-bitty-little-applet"... that seems to
> pull in 90% of KDE as dependancies.

If you had read the description of Okular in eix you would have known that
it is niether lightweight, nor standalone

"Universal document viewer based on KDE Frameworks"

Calling such an animal an itty-bitty-applet is doing it a grave
injustice, as is trying to use it as one.

The thing with KDE is that it is designed as an integrated environment
and intended to be used as such. So trying to install an individual
program is bound to bring in the backend support stuff.

Switching to a non-KDE profile, unmerging everything KDE with

emerge -cav $(qfile -IC kde)

and then installing lxde-meta should do what you want.


-- 
Neil Bothwick

The quickest way to a man's heart is through his sternum.


pgplmf95OxqKH.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] ffmpeg and libav: a slot conflict

2017-02-19 Thread Mick
On Sunday 19 Feb 2017 09:01:55 Gevisz wrote:
> On Sat, 18 Feb 2017 23:15:33 + Neil Bothwick  wrote:
> > On Sat, 18 Feb 2017 17:01:52 +0200, Gevisz wrote:
> > > > I think the problem is that you don't allow chromium to be rebuilt,
> > > > because all your blocking packages depend on the installed slot
> > > > (indicated by the '=') and need to be rebuilt in case ffmpeg is
> > > > upgraded. So, if you don't exclude chromium ffmpeg should be upgraded
> > > > and the blocking packages rebuilt/upgraded.
> > > 
> > > Yes, you are right: with chromium everything started to compile without
> > > dependency conflicts. But chromium takes more than 8 hours on my
> > > computer to compile. :(
> > 
> > Well, the newer ffmpeg was required by vlc, so you could have tried
> > excluding that too. But chromium does take a while, although using ccache
> > makes a big difference here.
> > 
> > 8 hours isn't that much of a problem anyway, just start it before you go
> > to bed.
> 
> I started the compilation at about 17:00 local time.
> Then I went to bed and already went out of bed.
> And it still compiling, currently chromium, already for 17 hours. :(

Unless you have a lot of RAM (more than 8G) you will find that a chromium 
update starts swapping to disk.  This slows things down. ccache does help a 
little, but for minor updates, or re-emerging chromium only.  If you have not 
updated Chromium in a while you in for a long haul.
-- 
Regards,
Mick

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] How to dump kde gracefully in favor of lxde

2017-02-19 Thread Mick
On Saturday 18 Feb 2017 22:05:01 Walter Dnes wrote:
> On Sat, Feb 18, 2017 at 04:57:52PM -0500, Harry Putnam wrote
> 
> > Any advice about slick ways of getting fully updated but dumping kde
> > on the way.
> 
>   *IMPORTANT* KDE is obscene about dependancies.  E.g. when a
> lightweight pdf-reader was phased out, I looked at various options
> including okular.  It's an "itty-bitty-little-applet"... that seems to
> pull in 90% of KDE as dependancies.  If you want to get rid of KDE, you
> must be prepared to dump every last little KDE app/applet.  It's an
> all-or-nothing situation.  Sorry.
> 
> 1) "eselect profile list" and switch to a basic non-KDE profile of your
> choice.
> 
> 2) "emerge gentoolkit" if not already present.
> 
> 3) "cat /var/lib/portage/world" and see what KDE stuff you have.
> 
> 4) Unmerge (i.e. "emerge --unmerge) obvious KDE-related stuff that you
> find in world.
> 
> 5) "emerge --depclean" (May not help if you've done "emerge --sync" and
> not fully updated).
> 
>The next 3 steps are going to be repeated several times
> 
> 6) "emerge -pv --changed-use --deep --update @world"
> 
> 7) You'll probably see portage try to pull KDE back in.  For each lib
> "fu-bar/foobar" that portage tries to pull in do "equery d fu-bar/foobar"
> and manually unmerge whatever it finds.  (Note: gentoolkit provides the
> equery tool).
> 
> 8) GOTO 6 (until portage stops trying to pull in KDE stuff).

As Walter indicates above, the problem is many every day desktop applications 
have either KDE or Gnome dependencies.  Depending on your needs you may find 
it inevitable that one or the other desktop environment with its mega-suite of 
packages will be pulled in.
-- 
Regards,
Mick

signature.asc
Description: This is a digitally signed message part.