Re: [gentoo-user] how to fix error with lpass ebuild

2022-08-29 Thread Stefano Crocco
On lunedì 29 agosto 2022 12:10:31 CEST John Covici wrote:
> Hi.  I am a lastpass user and saved an ebuild of lpass  which seems to
> be no longer in the tree.
> 
> I get the following error during my world update:
> 
>  *   cmake-utils.eclass could not be found by inherit()
>  *
>  * Call stack:
>  *   ebuild.sh, line 611:  Called source
> '/usr/local/portage/app-admin/lastpass-cli/lastpass-cli-1.3.3.ebuild' *  
> lastpass-cli-1.3.3.ebuild, line   7:  Called inherit 'cmake-utils'
> 'bash-completion-r1' *   ebuild.sh, line 259:  Called die
>  * The specific snippet of code:
>  *[[ -z ${location} ]] && die "${1}.eclass could not be 
found by
> inherit()" *
>  * If you need support, post the output of `emerge --info
> '=app-admin/lastpass-cli-1.3.3::local_ebuilds'`, * the complete build log
> and the output of `emerge -pqv
> '=app-admin/lastpass-cli-1.3.3::local_ebuilds'`. * Working directory:
> '/usr/lib/python3.10/site-packages'
>  * S:
> '/var/tmp/portage/app-admin/lastpass-cli-1.3.3/work/lastpass-cli-1.3.3'
> 
> I see the eclass is not there -- how to fix?
> 
> Thanks in advance for any suggestions.

Looking at the git commit for the cmake-utils.eclass removal [1], it seems it 
should be replaced by cmake.eclass. I don't know if it's just a matter of 
replacing the inherit line in ebuild or if there are other changes to make, 
however.

I hope this helps

Stefano

[1] https://gitweb.gentoo.org/repo/gentoo.git/commit/eclass?
id=3e744f5adb5c46eb013d3f1228f607b094ac212a





[gentoo-user] media-libs/lcms-2.13 causes weird printer output

2022-01-31 Thread Stefano Crocco
Hello to everyone,
since upgrading media-libs/lcms from version 2.12 to 2.13, any text document I 
print has a dark gray background instead of a white one. The printer is a HP 
OfficeJetPro 8715 which uses hplip and works correctly with lcms-2.12. I tried 
with PDF files and with LibreOffice text documents and the result is the same.

Has anyone had similar issues? I was going to file a bug report, but before 
doing so I'd like to know whether it can be an issue with my system. Searching 
google I didn't find anything.

Thanks in advance

Stefano





Re: [gentoo-user] Problems with LyX and xetex-2021

2021-07-12 Thread Stefano Crocco
On domenica 11 luglio 2021 15:01:07 CEST Nils Freydank wrote:
> Hi Stefano,
> 
> I couldn't reproduce your error with xelatex at all. I took your example/MWE
> and just executed "xelatex test.tex" and it generated me a single page PDF.
> 
> A quick and dirty idea: Move ~/.texlive (e.g. to ~/.texlive-bak) and let
> texlive regenerate files there.
> 
> In my worldfile I have app-text/texlive, dev-tex/biber and dev-tex/latexmk,
> everything else are just deps.
> 
> Interestingly it works even with USE="-xetex" for texlive which in turn has
> only the following USE flags enabled:
> "X extra graphics luatex metapost music png pstricks science truetype"
> 
> Hope that helps you,
> Nils

Thanks for the answer. I tried removing the .texlive directory, but nothing 
changed. However, on my laptop it worked correctly even with texlive-2021, 
which is strange because its configuration is very similar to that of my 
desktop PC (where it doesn't work). The list of texlive-related packages is 
the same in both machines, so I can't really understand what's going on.

However, in the meanwhile, I found a workaround for the issue with LyX: 
enabling the "Use non-TeX fonts (via XeTeX/LuaTeX)" document setting makes it 
work even on the desktop PC (when I wrote the original mail, I had masked 
texlive-2021 on my laptop to have a system where LyX worked correctly; after 
discovering this workaround, I felt safe in upgrading it; I didn't think about 
testing this problem there).

I had reported this issue on the LyX bug tracker and they answered me this 
issue would be fixed in a future release.

Stefano





[gentoo-user] Problems with LyX and xetex-2021

2021-05-16 Thread Stefano Crocco
Hello to everyone,
since upgrading my ~arch system to TeXLive-2021 I'm having problems using 
XeLaTeX to compile LyX documents. Has someone else experienced this issue? I'd 
like to file a bug report about it, but before doing so I'd like to be sure 
that there isn't something wrong with my system.

Below you'll find the details of my problem.

Thanks in advance

Stefano

DETAILS

When I use LyX to create a PDF using XeLaTeX from the attached test.lyx file 
(using the default LaTeX (XeTeX) -> PDF (XeTeX) converter), I get an error 
dialog with the following text:

The external program
xelatex 
finished with an error. It is recommended you fix the cause of the external 
program's error (check the logs). 

As far as I can see, the log (attached as log_from_lyx) don't mention any 
error, except for the generic (at least to my eyes) line
"Error 256 (driver return code) generating output;"
near the end.

Trying to obtain a better error message, I exported the LyX file as a XeLaTeX 
file using the File/Export LaTeX (xetex) menu entry and run xelatex on it. Of 
course, it failed, but this time the log (in the log_from_xelatex attachment) 
contains a more meaningful message:
"xdvipdfmx:fatal: Cannot proceed without .vf or "physical" font for PDF 
output..."

Unfortunately, I'm not expert enough in the inner works of (xe)latex to 
understand this message. I tried searching google for it but didn't find 
anything useful. However, looking at the tex file generated by LyX (the 
test.tex attachment), I noticed the line 

\usepackage[T1]{fontenc}

which seemed strange to me, as I thought that the fontenc package shouldn't be 
used with XeLaTeX. Indeed, after commenting this line, xelatex successfully 
created the correct PDF.

This problem has almost certainly been caused by switching texlive and the 
related packages from 2020 to 2021, since on another computer where I masked 
the 2021 version of app-text/texlive-core, app-text/texlive and all packages 
in category dev-texlive, everything works correctly.

test.lyx
Description: application/lyx
%% LyX 2.3.6.1 created this file.  For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[twoside,italian]{article}
\usepackage[T1]{fontenc}
\usepackage[a4paper]{geometry}
\geometry{verbose,tmargin=2cm,bmargin=2cm,lmargin=2cm,rmargin=2cm}
\usepackage{setspace}
\setstretch{1.3}
\usepackage{babel}
\begin{document}
TEST
\end{document}
This is XeTeX, Version 3.141592653-2.6-0.93 (TeX Live 2021 Gentoo Linux) 
(preloaded format=xelatex 2021.5.8)  16 MAY 2021 19:29
entering extended mode
 restricted \write18 enabled.
 %&-line parsing enabled.
**test.tex
(./test.tex
LaTeX2e <2020-10-01> patch level 4
L3 programming layer <2021-02-18>
(/usr/share/texmf-dist/tex/latex/base/article.cls
Document Class: article 2020/04/10 v1.4m Standard LaTeX document class
(/usr/share/texmf-dist/tex/latex/base/size10.clo
File: size10.clo 2020/04/10 v1.4m Standard LaTeX file (size option)
)
\c@part=\count175
\c@section=\count176
\c@subsection=\count177
\c@subsubsection=\count178
\c@paragraph=\count179
\c@subparagraph=\count180
\c@figure=\count181
\c@table=\count182
\abovecaptionskip=\skip47
\belowcaptionskip=\skip48
\bibindent=\dimen138
) (/usr/share/texmf-dist/tex/latex/base/fontenc.sty
Package: fontenc 2020/08/10 v2.0s Standard LaTeX package
LaTeX Font Info:Trying to load font information for T1+lmr on input line 11
2.
(/usr/share/texmf-dist/tex/latex/lm/t1lmr.fd
File: t1lmr.fd 2009/10/30 v1.6 Font defs for Latin Modern
)) (/usr/share/texmf-dist/tex/latex/geometry/geometry.sty
Package: geometry 2020/01/02 v5.9 Page Geometry
(/usr/share/texmf-dist/tex/latex/graphics/keyval.sty
Package: keyval 2014/10/28 v1.15 key=value parser (DPC)
\KV@toks@=\toks15
) (/usr/share/texmf-dist/tex/generic/iftex/ifvtex.sty
Package: ifvtex 2019/10/25 v1.7 ifvtex legacy package. Use iftex instead.
(/usr/share/texmf-dist/tex/generic/iftex/iftex.sty
Package: iftex 2020/03/06 v1.0d TeX engine tests
))
\Gm@cnth=\count183
\Gm@cntv=\count184
\c@Gm@tempcnt=\count185
\Gm@bindingoffset=\dimen139
\Gm@wd@mp=\dimen140
\Gm@odd@mp=\dimen141
\Gm@even@mp=\dimen142
\Gm@layoutwidth=\dimen143
\Gm@layoutheight=\dimen144
\Gm@layouthoffset=\dimen145
\Gm@layoutvoffset=\dimen146
\Gm@dimlist=\toks16
) (/usr/share/texmf-dist/tex/latex/setspace/setspace.sty
Package: setspace 2011/12/19 v6.7a set line spacing
) (/usr/share/texmf-dist/tex/generic/babel/babel.sty
Package: babel 2021/03/03 3.55 The Babel package
(/usr/share/texmf-dist/tex/generic/babel/babel.def
File: babel.def 2021/03/03 3.55 Babel common definitions
\babel@savecnt=\count186
\U@D=\dimen147
\l@babelnohyphens=\language10
(/usr/share/texmf-dist/tex/generic/babel/xebabel.def (/usr/share/texmf-dist/tex
/generic/babel/txtbabel.def))
\bbl@readstream=\read2
)
\bbl@dirlevel=\count187
(/usr/share/texmf-dist/tex/generic/babel-italian/italian.ldf
Language: italian 2020/05/21 v.1.4.04 Italian support for the babel system

Re: [gentoo-user] reflexive dependencies?

2021-02-04 Thread Stefano Crocco
On giovedì 4 febbraio 2021 20:49:37 CET n952162 wrote:
> Is this ok?  It's stopped my update in its tracks:
> 
> $ equery d dev-ruby/*bundler*
>   * These packages depend on dev-ruby/bundler:
> ...
> dev-ruby/*rdoc*-6.1.2 (test ? dev-ruby/bundler[ruby_targets_ruby25(-)])
>  (test ? dev-ruby/bundler[ruby_targets_ruby26(-)])
> 
> $ equery d dev-ruby/rdoc
>   * These packages depend on dev-ruby/rdoc:
> ...
> dev-ruby/*bundler*-2.1.4 (doc ? dev-ruby/rdoc[ruby_targets_ruby25(-)])
> (doc ? dev-ruby/rdoc[ruby_targets_ruby26(-)])
> (doc ? dev-ruby/rdoc[ruby_targets_ruby27(-)])
> 
> 
> bundler is dependent on rdoc and rdoc is dependent on bundler:
> 
> /var/tmp/portage/dev-ruby/bundler-2.1.4/temp/environment: line 663:
> rdoc: command not found
> 
> Emerging rdoc fails because it tries to emerge bundler...

Do you have the doc USE flag enabled for bundler? If I understand correctly, 
bundler only depends on rdoc if that flag is enabled. I think that if you 
remove the flag, it should work correctly.

Stefano






Re: [gentoo-user] Qtcurve, anyone?

2020-05-31 Thread Stefano Crocco
On domenica 31 maggio 2020 18:16:22 CEST Jack wrote:
> On 5/31/20 12:06 PM, Peter Humphrey wrote:
> > On Sunday, 31 May 2020 16:36:13 BST Peter Humphrey wrote:
> >> Still refining my plasma desktop, and recovering from bits of it having
> >> been deleted upstream, I'm trying to install x11-themes/qtcurve, but I
> >> get this:
> >> 
> >> In file included from
> >> /var/tmp/portage/x11-themes/qtcurve-1.9.0-r1/work/qtcurve-1.9.0/qt5/
> >> style/qtcurve_p.h:28,
> >> 
> >>   from
> >> 
> >> /var/tmp/portage/x11-themes/qtcurve-1.9.0-r1/work/qtcurve-1.9.0/qt5/
> >> style/prepolish.cpp:25:
> >> /var/tmp/portage/x11-themes/qtcurve-1.9.0-r1/work/qtcurve-1.9.0/qt5/style
> >> /qt curve.h: At gl obal scope:
> >> /var/tmp/portage/x11-themes/qtcurve-1.9.0-r1/work/qtcurve-1.9.0/qt5/style
> >> /qt curve.h:103:22: error: field ‘path’ has incomplete type
> >> ‘QPainterPath’ 103 |>> 
> >>  QPainterPath path;
> >>  
> >>|  ^~~~
> >> 
> >> Installing plasma-meta didn't help: I got the same error. BGO has nothing
> >> against qtcurve. Can anyone offer an insight? Perhaps it's time to report
> >> a
> >> bug.
> > 
> > I'm confused. Now I get the same error in app-emulation/virtualbox-5.2.40.
> > It seems I'm lacking a core component of Qt.
> 
> Or something was added or removed from some Qt component, and something
> else didn't account for the change.  (I don't know one way or the other
> in this case.)  Perhaps try to find (by following includes?) where the
> definition of QPainterPath is, and check old/new versions of whatever
> package provides it.

I think it's simply a missing include directive. The attached patch made 
qtcurve compile for me.

Stefano
diff -ru qtcurve-1.9.0/qt5/style/qtcurve.h qtcurve-1.9.0-new/qt5/style/qtcurve.h
--- qtcurve-1.9.0/qt5/style/qtcurve.h	2018-09-11 13:49:05.0 +0200
+++ qtcurve-1.9.0-new/qt5/style/qtcurve.h	2020-05-31 18:25:50.341075461 +0200
@@ -34,6 +34,7 @@
 #include 
 #include 
 #include 
+#include 
 #ifdef QTC_QT5_ENABLE_KDE
 #include 
 #include 


Re: [gentoo-user] Re: emerge --sync: problem refreshing keys

2019-08-05 Thread Stefano Crocco
On domenica 21 luglio 2019 13:22:55 CEST Stefano Crocco wrote:
> On domenica 21 luglio 2019 12:44:14 CEST Mick wrote:
> > On Sunday, 21 July 2019 11:17:30 BST Stefano Crocco wrote:
> > > On venerdì 19 luglio 2019 21:02:40 CEST Stefano Crocco wrote:
> > > > On venerdì 19 luglio 2019 18:21:46 CEST Ian Zimmerman wrote:
> > > > > On 2019-07-18 19:42, Stefano Crocco wrote:
> > > > > > Hello to everyone,
> > > > > > since yesterday emerge --sync fails because it can't refresh keys.
> > > > > > The
> > > > > > messages I get are:
> > > > > > 
> > > > > > Syncing repository 'gentoo' into '/usr/portage'...
> > > > > > 
> > > > > >  * Using keys from /usr/share/openpgp-keys/gentoo-release.asc
> > > > > >  * Refreshing keys via WKD ... [ !! ]
> > > > > >  * Refreshing keys from keyserver hkps://keys.gentoo.org
> > > > > >  ...OpenPGP
> > > > > >  keyring
> > > > > > 
> > > > > > refresh failed:
> > > > > > gpg: refreshing 4 keys from hkps://keys.gentoo.org
> > > > > > gpg: keyserver refresh failed: No keyserver available
> > > > > > 
> > > > > > OpenPGP keyring refresh failed:
> > > > > > gpg: refreshing 4 keys from hkps://keys.gentoo.org
> > > > > > gpg: keyserver refresh failed: No keyserver available
> > > > > 
> > > > > Perhaps something to do with this?
> > > > > 
> > > > > https://www.bleepingcomputer.com/news/security/public-certificate-po
> > > > > is
> > > > > on
> > > > > in
> > > > > g->
> > > > 
> > > > can-break-some-openpgp-implementations/
> > > > 
> > > > > Aside:
> > > > > I have already switched my personal gpg configuration to use the new
> > > > > isolated keyserver.
> > > > 
> > > > Thanks for the answer. I'd heard of this attack and read this [1]
> > > > article
> > > > on gentoo.org. From what I understand, it said that in theory there
> > > > shouldn't be problems when syncing because "The gemato tool used to
> > > > verify the Gentoo ebuild repository uses WKD by default. During normal
> > > > operation it should not be affected by this vulnerability". Reading
> > > > the
> > > > article again, I now see it also says that "In the worst case; Gentoo
> > > > repository syncs will be slow or hang" which, as you suggest, could
> > > > very
> > > > well be what's happened on my system. Unfortunately, the article
> > > > doesn't
> > > > say what to do if this happens.
> > > > 
> > > > Tomorrow I'll try investigating more.
> > > > 
> > > > Stefano
> > > > 
> > > > [1] https://www.gentoo.org/news/2019/07/03/sks-key-poisoning.html
> > > 
> > > It seems I found out how to fix the issue. I tried comparing my
> > > /usr/share/portage/config/repos.conf with the one which comes with a
> > > current stage3 and found out mine had the line
> > > 
> > > sync-openpgp-keyserver = hkps://keys.gentoo.org
> > > 
> > > which was missing in the file from stage3. Removing it (both here and in
> > > /etc/portage/repos.conf/gentoo.conf) allowed me to sync correctly. I
> > > hope
> > > this is the correct fix. I don't remember ever writing this line, so I
> > > suppose it came with the original stage3 I built my system from or was
> > > changed by another update (an update of what, however? According to
> > > `equery
> > > b`, this file doesn't belong to any package).
> > > 
> > > I hope thing will keep working.
> > > 
> > > Stefano
> > 
> > I grepped two older installations I had immediate access to and there is
> > no
> > directive containing "openpgp" anywhere within /etc/portage/.
> > 
> > In a new-ish installation there were a number of entries in /etc/portage/
> > 
> > repos.conf/gentoo.conf, but no keyserver URI:
> >  $ grep openpgp -r /etc/portage/repos.conf/gentoo.conf
> > 
> > sync-openpgp-key-path = /usr/share/openpgp-keys/gentoo-release.asc
> > sync-openpgp-key-refresh-retry-count = 40
> > sync-openpgp-key-refresh-retry-overall-timeout = 1200
> > sync-openpgp-key-refresh-retry-delay-exp-base = 2

Re: [gentoo-user] Re: emerge --sync: problem refreshing keys

2019-07-21 Thread Stefano Crocco
On domenica 21 luglio 2019 12:44:14 CEST Mick wrote:
> On Sunday, 21 July 2019 11:17:30 BST Stefano Crocco wrote:
> > On venerdì 19 luglio 2019 21:02:40 CEST Stefano Crocco wrote:
> > > On venerdì 19 luglio 2019 18:21:46 CEST Ian Zimmerman wrote:
> > > > On 2019-07-18 19:42, Stefano Crocco wrote:
> > > > > Hello to everyone,
> > > > > since yesterday emerge --sync fails because it can't refresh keys.
> > > > > The
> > > > > messages I get are:
> > > > > 
> > > > > Syncing repository 'gentoo' into '/usr/portage'...
> > > > > 
> > > > >  * Using keys from /usr/share/openpgp-keys/gentoo-release.asc
> > > > >  * Refreshing keys via WKD ... [ !! ]
> > > > >  * Refreshing keys from keyserver hkps://keys.gentoo.org ...OpenPGP
> > > > >  keyring
> > > > > 
> > > > > refresh failed:
> > > > > gpg: refreshing 4 keys from hkps://keys.gentoo.org
> > > > > gpg: keyserver refresh failed: No keyserver available
> > > > > 
> > > > > OpenPGP keyring refresh failed:
> > > > > gpg: refreshing 4 keys from hkps://keys.gentoo.org
> > > > > gpg: keyserver refresh failed: No keyserver available
> > > > 
> > > > Perhaps something to do with this?
> > > > 
> > > > https://www.bleepingcomputer.com/news/security/public-certificate-pois
> > > > on
> > > > in
> > > > g->
> > > 
> > > can-break-some-openpgp-implementations/
> > > 
> > > > Aside:
> > > > I have already switched my personal gpg configuration to use the new
> > > > isolated keyserver.
> > > 
> > > Thanks for the answer. I'd heard of this attack and read this [1]
> > > article
> > > on gentoo.org. From what I understand, it said that in theory there
> > > shouldn't be problems when syncing because "The gemato tool used to
> > > verify the Gentoo ebuild repository uses WKD by default. During normal
> > > operation it should not be affected by this vulnerability". Reading the
> > > article again, I now see it also says that "In the worst case; Gentoo
> > > repository syncs will be slow or hang" which, as you suggest, could very
> > > well be what's happened on my system. Unfortunately, the article doesn't
> > > say what to do if this happens.
> > > 
> > > Tomorrow I'll try investigating more.
> > > 
> > > Stefano
> > > 
> > > [1] https://www.gentoo.org/news/2019/07/03/sks-key-poisoning.html
> > 
> > It seems I found out how to fix the issue. I tried comparing my
> > /usr/share/portage/config/repos.conf with the one which comes with a
> > current stage3 and found out mine had the line
> > 
> > sync-openpgp-keyserver = hkps://keys.gentoo.org
> > 
> > which was missing in the file from stage3. Removing it (both here and in
> > /etc/portage/repos.conf/gentoo.conf) allowed me to sync correctly. I hope
> > this is the correct fix. I don't remember ever writing this line, so I
> > suppose it came with the original stage3 I built my system from or was
> > changed by another update (an update of what, however? According to
> > `equery
> > b`, this file doesn't belong to any package).
> > 
> > I hope thing will keep working.
> > 
> > Stefano
> 
> I grepped two older installations I had immediate access to and there is no
> directive containing "openpgp" anywhere within /etc/portage/.
> 
> In a new-ish installation there were a number of entries in /etc/portage/
> repos.conf/gentoo.conf, but no keyserver URI:
> 
>  $ grep openpgp -r /etc/portage/repos.conf/gentoo.conf
> sync-openpgp-key-path = /usr/share/openpgp-keys/gentoo-release.asc
> sync-openpgp-key-refresh-retry-count = 40
> sync-openpgp-key-refresh-retry-overall-timeout = 1200
> sync-openpgp-key-refresh-retry-delay-exp-base = 2
> sync-openpgp-key-refresh-retry-delay-max = 60
> sync-openpgp-key-refresh-retry-delay-mult = 4
> 
> Perhaps you had added a keyserver as a fall back when you were configuring
> your system to use WKD?  I haven't implemented WKD because there was no news
> item advising us to do so.

Maybe. I really know nothing about these issues, so I'm sure I wouldn't have 
added that line by myself. Maybe I read about them somewhere and I forgot 
about it.

Stefano






Re: [gentoo-user] Re: emerge --sync: problem refreshing keys

2019-07-21 Thread Stefano Crocco
On venerdì 19 luglio 2019 21:02:40 CEST Stefano Crocco wrote:
> On venerdì 19 luglio 2019 18:21:46 CEST Ian Zimmerman wrote:
> > On 2019-07-18 19:42, Stefano Crocco wrote:
> > > Hello to everyone,
> > > since yesterday emerge --sync fails because it can't refresh keys. The
> > > messages I get are:
> > > 
> > > Syncing repository 'gentoo' into '/usr/portage'...
> > > 
> > >  * Using keys from /usr/share/openpgp-keys/gentoo-release.asc
> > >  * Refreshing keys via WKD ... [ !! ]
> > >  * Refreshing keys from keyserver hkps://keys.gentoo.org ...OpenPGP
> > >  keyring
> > > 
> > > refresh failed:
> > > gpg: refreshing 4 keys from hkps://keys.gentoo.org
> > > gpg: keyserver refresh failed: No keyserver available
> > > 
> > > OpenPGP keyring refresh failed:
> > > gpg: refreshing 4 keys from hkps://keys.gentoo.org
> > > gpg: keyserver refresh failed: No keyserver available
> > 
> > Perhaps something to do with this?
> > 
> > https://www.bleepingcomputer.com/news/security/public-certificate-poisonin
> > g->
> can-break-some-openpgp-implementations/
> 
> > Aside:
> > I have already switched my personal gpg configuration to use the new
> > isolated keyserver.
> 
> Thanks for the answer. I'd heard of this attack and read this [1] article on
> gentoo.org. From what I understand, it said that in theory there shouldn't
> be problems when syncing because "The gemato tool used to verify the Gentoo
> ebuild repository uses WKD by default. During normal operation it should
> not be affected by this vulnerability". Reading the article again, I now
> see it also says that "In the worst case; Gentoo repository syncs will be
> slow or hang" which, as you suggest, could very well be what's happened on
> my system. Unfortunately, the article doesn't say what to do if this
> happens.
> 
> Tomorrow I'll try investigating more.
> 
> Stefano
> 
> [1] https://www.gentoo.org/news/2019/07/03/sks-key-poisoning.html

It seems I found out how to fix the issue. I tried comparing my
/usr/share/portage/config/repos.conf with the one which comes with a current 
stage3 and found out mine had the line

sync-openpgp-keyserver = hkps://keys.gentoo.org

which was missing in the file from stage3. Removing it (both here and in
/etc/portage/repos.conf/gentoo.conf) allowed me to sync correctly. I hope this 
is the correct fix. I don't remember ever writing this line, so I suppose it 
came with the original stage3 I built my system from or was changed by another 
update (an update of what, however? According to `equery b`, this file doesn't 
belong to any package).

I hope thing will keep working.

Stefano








Re: [gentoo-user] Re: emerge --sync: problem refreshing keys

2019-07-19 Thread Stefano Crocco
On venerdì 19 luglio 2019 18:21:46 CEST Ian Zimmerman wrote:
> On 2019-07-18 19:42, Stefano Crocco wrote:
> > Hello to everyone,
> > since yesterday emerge --sync fails because it can't refresh keys. The
> > messages I get are:
> > 
> > Syncing repository 'gentoo' into '/usr/portage'...
> > 
> >  * Using keys from /usr/share/openpgp-keys/gentoo-release.asc
> >  * Refreshing keys via WKD ... [ !! ]
> >  * Refreshing keys from keyserver hkps://keys.gentoo.org ...OpenPGP
> >  keyring
> > 
> > refresh failed:
> > gpg: refreshing 4 keys from hkps://keys.gentoo.org
> > gpg: keyserver refresh failed: No keyserver available
> > 
> > OpenPGP keyring refresh failed:
> > gpg: refreshing 4 keys from hkps://keys.gentoo.org
> > gpg: keyserver refresh failed: No keyserver available
> 
> Perhaps something to do with this?
> 
> https://www.bleepingcomputer.com/news/security/public-certificate-poisoning-> 
can-break-some-openpgp-implementations/
> 
> Aside:
> I have already switched my personal gpg configuration to use the new
> isolated keyserver.

Thanks for the answer. I'd heard of this attack and read this [1] article on 
gentoo.org. From what I understand, it said that in theory there shouldn't be 
problems when syncing because "The gemato tool used to verify the Gentoo 
ebuild repository uses WKD by default. During normal operation it should not 
be affected by this vulnerability". Reading the article again, I now see it 
also says that "In the worst case; Gentoo repository syncs will be slow or 
hang" which, as you suggest, could very well be what's happened on my system. 
Unfortunately, the article doesn't say what to do if this happens. 

Tomorrow I'll try investigating more.

Stefano

[1] https://www.gentoo.org/news/2019/07/03/sks-key-poisoning.html






[gentoo-user] emerge --sync: problem refreshing keys

2019-07-18 Thread Stefano Crocco
Hello to everyone,
since yesterday emerge --sync fails because it can't refresh keys. The 
messages I get are:

Syncing repository 'gentoo' into '/usr/portage'...
 * Using keys from /usr/share/openpgp-keys/gentoo-release.asc
 * Refreshing keys via WKD ... [ !! ]
 * Refreshing keys from keyserver hkps://keys.gentoo.org ...OpenPGP keyring 
refresh failed:
gpg: refreshing 4 keys from hkps://keys.gentoo.org
gpg: keyserver refresh failed: No keyserver available

OpenPGP keyring refresh failed:
gpg: refreshing 4 keys from hkps://keys.gentoo.org
gpg: keyserver refresh failed: No keyserver available

After that, it goes on for a while with the same message.

As I have seen no messages regarding this either here or on the forums, I 
guess there's something wrong on my system, but I can't imagine what's wrong. 
Two days ago I could sync without problems. Looking at the emerge log, I that 
that most of the packages I installed were from kde-frameworks and kde-apps, 
so I don't think they can have caused this issue.

Do you have any idea about how to solve this issue? Searching Google, I found 
several mentions of similar issues, but they were old (about one year ago) and 
the proposed solution was to install app-portage/gemato-14.0. Of course, all 
older versions of gemato aren't in portage anymore, so that can't be the 
issue.

Does anyone have any suggestions on how to fix this issue?

Thanks in advance

Stefano





Re: [gentoo-user] Strange behavior of "tab" key with Libreoffice Calc and Plasma

2019-07-02 Thread Stefano Crocco
On lunedì 24 giugno 2019 21:04:02 CEST Stefano Crocco wrote:

> Bug submitted. For anyone interested, here's the link:
> https://bugs.gentoo.org/688618
> 
> Stefano

As stated in the comments about the bug report, this bug is fixed in the 
current development version of LibreOffice, which is (without keywords) in the 
portage tree as libreoffice-6.2.5.2.

Stefano







Re: [gentoo-user] Strange behavior of "tab" key with Libreoffice Calc and Plasma

2019-06-24 Thread Stefano Crocco
On lunedì 24 giugno 2019 13:44:04 CEST you wrote:
> On domenica 23 giugno 2019 21:40:53 CEST Neil Bothwick wrote:
> > On Sun, 23 Jun 2019 20:59:34 +0200, Stefano Crocco wrote:
> > > a few months ago I started noticing a very annoying behavior when
> > > pressing the "tab" key in Libreoffice Calc. Previously, pressing this
> > > key would move the cursor by one cell to the right, so that I could
> > > immediately start writing into the cell. Now, while the cursor is moved
> > > to the correct cell (I can see the black border around it), I can't
> > > write in it immediately anymore. To move the cursor to the next cell
> > > and be able to immediately write in it, I need to press the tab key
> > > twice. It seems that somehow pressing the tab key once gives focus to
> > > the menu bar: pressing tab once, then pressing "F" brings down the file
> > > menu; pressing tab, then pressing "E" displays the edit menu and so on.
> > > 
> > > Has anyone experienced this behavior?
> > 
> > I see it too and it's annoying as hell. Even more annoying will be that
> > when it is solved I will have got into the habit of pressing tab twice
> > for each move :(
> 
> I'm (relatively) happy to know I'm not the only one experiencing this issue.
> Currently I'm playing around with USE flags to see whether there's a
> combination of them which fixes the problem. I think it's somehow caused by
> the kde flag: I tried USE="gtk2 kde -gtk", USE="kde -gtk -gtk2" and
> USE="gtk   -kde -gtk2" and the only configuration where this issue didn't
> appear was the one without kde. I've yet to try USE="-gtk2 kde gtk", but I
> don't think it'll work.
> 
> I'm getting really annoyed by this, so I think later today I'll file a bug
> report.
> 
> Stefano

Bug submitted. For anyone interested, here's the link:
https://bugs.gentoo.org/688618

Stefano






Re: [gentoo-user] Strange behavior of "tab" key with Libreoffice Calc and Plasma

2019-06-24 Thread Stefano Crocco
On domenica 23 giugno 2019 22:31:33 CEST Philip Webb wrote:
> 190623 Stefano Crocco wrote:
> > a few months ago I started noticing a very annoying behavior
> > when pressing the "tab" key in Libreoffice Calc.
> > Previously, pressing this key would move the cursor by one cell to the
> > right, so that I could immediately start writing into the cell.
> 
> That's what it does for me now, using LO 6.2.4.2 on KDE.
> 
> > Now, while the cursor is moved to the correct cell
> > -- I can see the black border around it -- ,
> > I can't write in it immediately anymore.
> > To move the cursor to the next cell and be able to immediately write in
> > it,
> > I need to press the tab key twice.
> > It seems that somehow pressing the tab key once gives focus to the menu
> > bar: pressing tab once, then pressing "F" brings down the file menu;
> > pressing tab, then pressing "E" displays the edit menu and so on.
> 
> Here, pressing Tab-Tab simply moves  2  cells to the right.

Thanks for the answer. Do you have the kde use flag enabled? This morning I've 
tried several combinations of flags and only disabling the kde one this issue 
disappeared.

Stefano





Re: [gentoo-user] Strange behavior of "tab" key with Libreoffice Calc and Plasma

2019-06-24 Thread Stefano Crocco
On domenica 23 giugno 2019 21:40:53 CEST Neil Bothwick wrote:
> On Sun, 23 Jun 2019 20:59:34 +0200, Stefano Crocco wrote:
> > a few months ago I started noticing a very annoying behavior when
> > pressing the "tab" key in Libreoffice Calc. Previously, pressing this
> > key would move the cursor by one cell to the right, so that I could
> > immediately start writing into the cell. Now, while the cursor is moved
> > to the correct cell (I can see the black border around it), I can't
> > write in it immediately anymore. To move the cursor to the next cell
> > and be able to immediately write in it, I need to press the tab key
> > twice. It seems that somehow pressing the tab key once gives focus to
> > the menu bar: pressing tab once, then pressing "F" brings down the file
> > menu; pressing tab, then pressing "E" displays the edit menu and so on.
> > 
> > Has anyone experienced this behavior?
> 
> I see it too and it's annoying as hell. Even more annoying will be that
> when it is solved I will have got into the habit of pressing tab twice
> for each move :(

I'm (relatively) happy to know I'm not the only one experiencing this issue. 
Currently I'm playing around with USE flags to see whether there's a 
combination of them which fixes the problem. I think it's somehow caused by the 
kde flag: I tried USE="gtk2 kde -gtk", USE="kde -gtk -gtk2" and USE="gtk   -kde 
-gtk2" and the only configuration where this issue didn't appear was the one 
without kde. I've yet to try USE="-gtk2 kde gtk", but I don't think it'll 
work.

I'm getting really annoyed by this, so I think later today I'll file a bug 
report.

Stefano 





[gentoo-user] Strange behavior of "tab" key with Libreoffice Calc and Plasma

2019-06-23 Thread Stefano Crocco
Hello to everyone,
a few months ago I started noticing a very annoying behavior when pressing the 
"tab" key in Libreoffice Calc. Previously, pressing this key would move the 
cursor by one cell to the right, so that I could immediately start writing 
into the cell. Now, while the cursor is moved to the correct cell (I can see 
the black border around it), I can't write in it immediately anymore. To move 
the cursor to the next cell and be able to immediately write in it, I need to 
press the tab key twice. It seems that somehow pressing the tab key once gives 
focus to the menu bar: pressing tab once, then pressing "F" brings down the 
file menu; pressing tab, then pressing "E" displays the edit menu and so on.

I tried creating a new user, but this behavior doesn't change. Starting a new 
X session using fvwm instead of Plasma makes the tab key start working 
correctly again (but using fwvm --replace to replace the window manager from 
inside a Plasma session does not). I tried looking at the various keyboard 
shortcuts in both SystemSettings and Libreoffice Calc hoping to find some 
hints, 
but I didn't find anything suspicious. 

Has anyone experienced this behavior? I tried looking for a bug report on 
bugs.gentoo.org but I found none. I also tried google but again without 
results.

Thanks in advance

Stefano





Re: [gentoo-user] help installing Gentoo on Asus Transformer T101HA

2017-12-29 Thread Stefano Crocco
On venerdì 29 dicembre 2017 03:40:46 CET Daniel Frey wrote:
> On 12/28/17 12:36, Stefano Crocco wrote:
> > Hello to everyone,
> > I'm trying to install Gentoo on an Asus Transformer T101HA and there are
> > some issues I'd need help with.
> > 
> > First of all, I must say that many things worked fairly easily. I
> > performed
> > the installation from a SysrescueCD USB stick where almost everything,
> > including WiFi and touchscreen, worked out of the box (aside from having
> > to
> > find out how to rotate the screen, both in X and in framebuffer).
> > 
> > After installing everything (of course, compiling all packages on my
> > desktop machine), there are still some things which don't work. One is
> > the touch screen but, given that it worked using the SysrescueCD stick,
> > I'm not worried too much about it (besides, I'm not planning to use it
> > much).
> > 
> > The most troublesome issues, right now, are the sound card and the SD card
> > reader. Both of them simply don't seem to exist: they didn't work with the
> > SysrescueCD stick, I can't find any mention of either of them in the
> > output of dmesg, lspci and lsusb and Google gave pratically no answer.
> > I'm starting to think neither of them is supported with Linux but I
> > haven't been able to find any definitive information about this. I tried
> > activating all kernel options I could find which seemed vaguely related
> > to them, but to no effect.
> > 
> > Unfortunately, I haven't been able even to find out the exact models of
> > the
> > cards. All I know is that (according to Windows 10) the sound card is an
> > Intel SSt Audio Device (WDM), while the codec is a Realtek I2S Audio
> > Codec. I have no information at all on the SD card reader. The
> > motherboard, according to lshw, is a T101HA by AUSTeK.
> > 
> > I attach my last version of the kernel config (using gentoo-sources-4.14.9
> > which, I just found out, now seems to be masked).
> > 
> > I'd be glad for any hint about these issues. I spent all of this afternoon
> > trying to solve them and I can't really think what else I could try.
> > 
> > Thanks in advance
> > 
> > Stefano
> 
> Hmm, after googling it seems some of those Transformer models are not
> linux friendly. There are reports of no driver for the SD card reader
> and models earlier than yours needed firmware to use the sound card.
> 
> You might be able to use hints from:
> 
> https://wiki.debian.org/InstallingDebianOn/Asus/T100TA
> 
> to get the sound working, even though the model is older than yours.
> 
> Dan

Thanks for the answer.
Unfortunately, the hints on the page you linked didn't work. The firmware on 
that page is already included in linux-firmware (unless I'm missing something, 
of course). I tried compiling it in the kernel, but with no result. I believe 
the problem is something other than missing firmware, because I see no messages 
about failures to load firmware in dmes. 

I just noticed there are some audio-related messages in dmesg which I hadn't 
noticed before:

[drm] HDaudio controller not detected, using LPE audio instead
cht-bsw-rt5645: ASoC: CODEC DAI snd-soc-dummy-dai not registered
cht-bsw-rt5645: snd_soc_register_card failed -517

I don't know whether they're significant or they're spurious messages caused by 
my including every possible sound card drivers in the kernel.

I fear you're right about this Transformer not being linux friendly: I just 
found out that it doesn't recognize the power button, either. 

I think right now I need a break from this machine: I've alread spent about 
three days working on it and I have other things to do. I'll try to rebuild a 
kernel from scratch in a few days; in the meanwhile I'll use it as it is.

Thanks again

Stefano





[gentoo-user] help installing Gentoo on Asus Transformer T101HA

2017-12-28 Thread Stefano Crocco
Hello to everyone,
I'm trying to install Gentoo on an Asus Transformer T101HA and there are some 
issues I'd need help with.

First of all, I must say that many things worked fairly easily. I performed 
the installation from a SysrescueCD USB stick where almost everything, 
including WiFi and touchscreen, worked out of the box (aside from having to 
find out how to rotate the screen, both in X and in framebuffer). 

After installing everything (of course, compiling all packages on my desktop 
machine), there are still some things which don't work. One is the touch 
screen but, given that it worked using the SysrescueCD stick, I'm not worried 
too much about it (besides, I'm not planning to use it much).

The most troublesome issues, right now, are the sound card and the SD card 
reader. Both of them simply don't seem to exist: they didn't work with the 
SysrescueCD stick, I can't find any mention of either of them in the output of 
dmesg, lspci and lsusb and Google gave pratically no answer. I'm starting to 
think neither of them is supported with Linux but I haven't been able to find 
any definitive information about this. I tried activating all kernel options I 
could find which seemed vaguely related to them, but to no effect.

Unfortunately, I haven't been able even to find out the exact models of the 
cards. All I know is that (according to Windows 10) the sound card is an Intel 
SSt Audio Device (WDM), while the codec is a Realtek I2S Audio Codec. I have 
no information at all on the SD card reader. The motherboard, according to 
lshw, is a T101HA by AUSTeK.

I attach my last version of the kernel config (using gentoo-sources-4.14.9 
which, I just found out, now seems to be masked).

I'd be glad for any hint about these issues. I spent all of this afternoon 
trying to solve them and I can't really think what else I could try.

Thanks in advance

Stefano#
# Automatically generated file; DO NOT EDIT.
# Linux/x86 4.14.9-gentoo Kernel Configuration
#

#
# Gentoo Linux
#
CONFIG_GENTOO_LINUX=y
CONFIG_GENTOO_LINUX_UDEV=y
CONFIG_GENTOO_LINUX_PORTAGE=y

#
# Support for init systems, system and service managers
#
CONFIG_GENTOO_LINUX_INIT_SCRIPT=y
# CONFIG_GENTOO_LINUX_INIT_SYSTEMD is not set
CONFIG_64BIT=y
CONFIG_X86_64=y
CONFIG_X86=y
CONFIG_INSTRUCTION_DECODER=y
CONFIG_OUTPUT_FORMAT="elf64-x86-64"
CONFIG_ARCH_DEFCONFIG="arch/x86/configs/x86_64_defconfig"
CONFIG_LOCKDEP_SUPPORT=y
CONFIG_STACKTRACE_SUPPORT=y
CONFIG_MMU=y
CONFIG_ARCH_MMAP_RND_BITS_MIN=28
CONFIG_ARCH_MMAP_RND_BITS_MAX=32
CONFIG_ARCH_MMAP_RND_COMPAT_BITS_MIN=8
CONFIG_ARCH_MMAP_RND_COMPAT_BITS_MAX=16
CONFIG_NEED_DMA_MAP_STATE=y
CONFIG_NEED_SG_DMA_LENGTH=y
CONFIG_GENERIC_ISA_DMA=y
CONFIG_GENERIC_BUG=y
CONFIG_GENERIC_BUG_RELATIVE_POINTERS=y
CONFIG_GENERIC_HWEIGHT=y
CONFIG_ARCH_MAY_HAVE_PC_FDC=y
CONFIG_RWSEM_XCHGADD_ALGORITHM=y
CONFIG_GENERIC_CALIBRATE_DELAY=y
CONFIG_ARCH_HAS_CPU_RELAX=y
CONFIG_ARCH_HAS_CACHE_LINE_SIZE=y
CONFIG_HAVE_SETUP_PER_CPU_AREA=y
CONFIG_NEED_PER_CPU_EMBED_FIRST_CHUNK=y
CONFIG_NEED_PER_CPU_PAGE_FIRST_CHUNK=y
CONFIG_ARCH_HIBERNATION_POSSIBLE=y
CONFIG_ARCH_SUSPEND_POSSIBLE=y
CONFIG_ARCH_WANT_HUGE_PMD_SHARE=y
CONFIG_ARCH_WANT_GENERAL_HUGETLB=y
CONFIG_ZONE_DMA32=y
CONFIG_AUDIT_ARCH=y
CONFIG_ARCH_SUPPORTS_OPTIMIZED_INLINING=y
CONFIG_ARCH_SUPPORTS_DEBUG_PAGEALLOC=y
CONFIG_X86_64_SMP=y
CONFIG_ARCH_SUPPORTS_UPROBES=y
CONFIG_FIX_EARLYCON_MEM=y
CONFIG_PGTABLE_LEVELS=4
CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
CONFIG_IRQ_WORK=y
CONFIG_BUILDTIME_EXTABLE_SORT=y
CONFIG_THREAD_INFO_IN_TASK=y

#
# General setup
#
CONFIG_INIT_ENV_ARG_LIMIT=32
CONFIG_CROSS_COMPILE=""
# CONFIG_COMPILE_TEST is not set
CONFIG_LOCALVERSION=""
# CONFIG_LOCALVERSION_AUTO is not set
CONFIG_HAVE_KERNEL_GZIP=y
CONFIG_HAVE_KERNEL_BZIP2=y
CONFIG_HAVE_KERNEL_LZMA=y
CONFIG_HAVE_KERNEL_XZ=y
CONFIG_HAVE_KERNEL_LZO=y
CONFIG_HAVE_KERNEL_LZ4=y
CONFIG_KERNEL_GZIP=y
# CONFIG_KERNEL_BZIP2 is not set
# CONFIG_KERNEL_LZMA is not set
# CONFIG_KERNEL_XZ is not set
# CONFIG_KERNEL_LZO is not set
# CONFIG_KERNEL_LZ4 is not set
CONFIG_DEFAULT_HOSTNAME="(none)"
CONFIG_SWAP=y
CONFIG_SYSVIPC=y
CONFIG_SYSVIPC_SYSCTL=y
CONFIG_POSIX_MQUEUE=y
CONFIG_POSIX_MQUEUE_SYSCTL=y
CONFIG_CROSS_MEMORY_ATTACH=y
CONFIG_FHANDLE=y
CONFIG_USELIB=y
CONFIG_AUDIT=y
CONFIG_HAVE_ARCH_AUDITSYSCALL=y
CONFIG_AUDITSYSCALL=y
CONFIG_AUDIT_WATCH=y
CONFIG_AUDIT_TREE=y

#
# IRQ subsystem
#
CONFIG_GENERIC_IRQ_PROBE=y
CONFIG_GENERIC_IRQ_SHOW=y
CONFIG_GENERIC_IRQ_EFFECTIVE_AFF_MASK=y
CONFIG_GENERIC_PENDING_IRQ=y
CONFIG_GENERIC_IRQ_MIGRATION=y
CONFIG_IRQ_DOMAIN=y
CONFIG_IRQ_DOMAIN_HIERARCHY=y
CONFIG_GENERIC_MSI_IRQ=y
CONFIG_GENERIC_MSI_IRQ_DOMAIN=y
# CONFIG_IRQ_DOMAIN_DEBUG is not set
CONFIG_IRQ_FORCED_THREADING=y
CONFIG_SPARSE_IRQ=y
# CONFIG_GENERIC_IRQ_DEBUGFS is not set
CONFIG_CLOCKSOURCE_WATCHDOG=y
CONFIG_ARCH_CLOCKSOURCE_DATA=y
CONFIG_CLOCKSOURCE_VALIDATE_LAST_CYCLE=y
CONFIG_GENERIC_TIME_VSYSCALL=y
CONFIG_GENERIC_CLOCKEVENTS=y
CONFIG_GENERIC_CLOCKEVENTS_BROADCAST=y
CONFIG_GENERIC_CLOCKEVENTS_MIN_ADJUST=y

Re: [gentoo-user] x11-apps/xinit-1.3.4-r2 is broken

2017-10-19 Thread Stefano Crocco
On giovedì 19 ottobre 2017 11:15:40 CEST Peter Humphrey wrote:
> Hello list,
> 
> In case anyone else trips over this, as I did today in my routine update,
> see https://bugs.gentoo.org/634706. I followed comment 2.
> 
> The symptom is that sddm cannot start KDE, so you have to log in and startx.

Thanks for the warning. I just updated and your mail saved me the time I would 
have spent finding out what had broken. I too followed the workaround suggested 
in comment 2 and I can confirm it works.

Stefano



Re: [gentoo-user] gentoo on SSD

2017-09-27 Thread Stefano Crocco
On Wednesday, 27 September 2017 17:04:53 CEST Stefan G. Weichinger wrote:
> aside from that you might want to specify a different IO scheduler for
> the SSD, I do that via udev rules like:
> 
> # 60-sched.rules
> # set deadline scheduler for non-rotating disks
> ACTION=="add|change", KERNEL=="sd[a-z]", ATTR{queue/rotational}=="0",
> ATTR{queue/scheduler}="deadline"
> 
> # set cfq scheduler for rotating disks
> ACTION=="add|change", KERNEL=="sd[a-z]", ATTR{queue/rotational}=="1",
> ATTR{queue/scheduler}="cfq"
> 
> -
> 
> and I have a systemd-timer for running fstrim now and then

Thanks for the hint.

Stefano



Re: [gentoo-user] gentoo on SSD

2017-09-23 Thread Stefano Crocco
On Saturday, 23 September 2017 21:27:45 CEST Canek Peláez Valdés wrote:
> On Sat, Sep 23, 2017 at 2:04 PM, Stefano Crocco <po...@stefanocrocco.it>
> 
> wrote:
> > Hello to everyone,
> > I just bought a 250 GB SSD and I'm planning to install Gentoo on it. I've
> 
> read
> 
> > the Gentoo Wiki page on this and searched Google for hints on this, but
> 
> since
> 
> > I found out that much information was either contradictory or outdated,
> 
> I'm
> 
> > asking anyone with first-hand experience on this for advice.
> > 
> > My system is as follows:
> > 
> > - 250GB SSD
> > - 1TB HDD
> > - 16GB RAM
> > 
> > I'm planning to partition the SSD this way:
> > 
> > - 100 GB -> / (on my current system, / is about 70GB)
> > - 100 GB -> /home
> > - 16 GB -> swap (mainly for hibernation)
> > - 200 MB -> /boot
> > 
> > /var/tmp/portage should go into a tmpfs (12GB).
> > 
> > I've read that someone suggested putting also /tmp on a tmpfs. Right now,
> 
> on
> 
> > my system /tmp is less than 100 MB, so I believe this should cause no
> > problems, but is it necessary?
> > 
> > Large files, such as Steam games and maybe distfiles should instead go on
> 
> the
> 
> > 1TB HDD.
> > 
> > I have some doubts about the swap partition. With 16 GB of RAM I shouldn't
> > usually need swap except for hibernating (that's the reason I'm putting
> 
> it on
> 
> > the SSD); however, I fear that compiling some large packages could fill
> 
> all
> 
> > that space. Would it be bad to have the swap partition on the SSD used
> 
> this
> 
> > way every now and then? Should I create another swap partition on the HDD
> 
> and
> 
> > give it higher priority?
> > 
> > What do you think? Do you have any advice on how to best set up such a
> 
> system?
> 
> I use a similar setup. Several top-level directories in my $HOME are bind
> mounts to a large mechanical drive. My swap (16GB) is on that drive also.
> I've found that 100MB is enough for the EFI /boot partition (but I clean
> old kernels immediately after updating).
> 
> For the /tmp I use tmpfs (I use the size=100% option), and then in
> /etc/portage/make.conf I have:
> 
> PORTAGE_TMPDIR="/tmp"
> 
> This way I fully use /tmp when compiling large packages, and don't wear
> down my SSD.
> 
> Regards.
> --
> Dr. Canek Peláez Valdés
> Profesor de Carrera Asociado C
> Departamento de Matemáticas
> Facultad de Ciencias
> Universidad Nacional Autónoma de México

Thanks for the information

Stefano



[gentoo-user] gentoo on SSD

2017-09-23 Thread Stefano Crocco
Hello to everyone,
I just bought a 250 GB SSD and I'm planning to install Gentoo on it. I've read 
the Gentoo Wiki page on this and searched Google for hints on this, but since 
I found out that much information was either contradictory or outdated, I'm 
asking anyone with first-hand experience on this for advice.

My system is as follows:

- 250GB SSD
- 1TB HDD
- 16GB RAM

I'm planning to partition the SSD this way:

- 100 GB -> / (on my current system, / is about 70GB)
- 100 GB -> /home
- 16 GB -> swap (mainly for hibernation)
- 200 MB -> /boot

/var/tmp/portage should go into a tmpfs (12GB).

I've read that someone suggested putting also /tmp on a tmpfs. Right now, on 
my system /tmp is less than 100 MB, so I believe this should cause no 
problems, but is it necessary?

Large files, such as Steam games and maybe distfiles should instead go on the 
1TB HDD.

I have some doubts about the swap partition. With 16 GB of RAM I shouldn't 
usually need swap except for hibernating (that's the reason I'm putting it on 
the SSD); however, I fear that compiling some large packages could fill all 
that space. Would it be bad to have the swap partition on the SSD used this 
way every now and then? Should I create another swap partition on the HDD and 
give it higher priority?

What do you think? Do you have any advice on how to best set up such a system?

Thanks in advance

Stefano



Re: [gentoo-user] Thunderbird build failure

2017-09-23 Thread Stefano Crocco
On Saturday, 23 September 2017 17:53:25 CEST Christoph Böhmwalder wrote:
> Hey all,
> 
> I've been trying to get Thunderbird to build for a few days now.
> Since I'm pretty much out of ideas at this point, I figured I'd ask on here
> if someone has an idea on what my problem is.
> 
> I've attached the output of `emerge --info
> '=mail-client/thunderbird-52.3.0::gentoo'`, `emerge -pqv
> '=mail-client/thunderbird-52.3.0::gentoo'`, and the complete build log.
> 
> From the error message I can see that it likely has something to do with
> either libpng or zlib. I have both of those installed:
> 
> $ emerge --info libpng
> --- >8 ---
> media-libs/libpng-1.6.29::gentoo was built with the following:
> USE="apng (-neon) -static-libs" ABI_X86="32 (64) (-x32)" CPU_FLAGS_X86="sse"
> 
> $ emerge --info zlib
> --- >8 ---
> sys-libs/zlib-1.2.11::gentoo was built with the following:
> USE="minizip -static-libs" ABI_X86="32 (64) (-x32)"
> 
> 
> I noticed that I have zlib-1.2.11 installed, though Thunderbird (or libpng?)
> is apparently trying to reference a symbol from zlib 1.2.9. I tried
> downgrading to zlib 1.2.9, but...
> 
> # emerge --ask \=sys-libs/zlib-1.2.9
> 
> These are the packages that would be merged, in order:
> 
> Calculating dependencies... done!
> 
> emerge: there are no ebuilds to satisfy "=sys-libs/zlib-1.2.9".
> 
> 
> I'd really appreciate any hints on what I'm doing wrong here. Thanks!
> 
> 
> --
> 
> Regards,
> Christoph

I believe you should re-emerge libpng because it seems to have been built 
against an old (and incompatible) version of zlib (1.2.9).

I hope this helps

Stefano



Re: [gentoo-user] advice on a new laptop

2017-02-15 Thread Stefano Crocco
On Saturday, 4 February 2017 12:20:06 CET Stefano Crocco wrote:
> On Thursday, 2 February 2017 09:28:05 CET Stefano Crocco wrote:
> > Hello to everyone,
> > I need to buy a new laptop and I'd like some advice. Currently, I'm
> > thinking of buying an ASUS UX310UA-GL547T. Has anyone tried running
> > Gentoo on it? If so, how did it go? A Google search only lead me to a
> > page hinting it should work with linux, but didn't give any detail.
> > 
> > Alternatively, which other model would you suggest with similar
> > specifications? The ASUS UX310UA-GL547T has the following characteristics:
> > 
> > Screen: 13.3" - 1920x1080 Pixel - Full HD, LED, No Glare
> > CPU: Intel® CoreTM i3-7100U (2.4 GHZ)
> > RAM: 4 GB DDR4
> > Max RAM: 16 GB
> > Video Card: Intel® HD Graphics 620
> > Video OUT: HDMI
> > Hard Disk: 500 GB SATA 5400 rpm
> > Wireless: WiFi 802.11n (a/c)
> > Intel® Wireless Display (WiDi)
> > Bluetooth: Bluetooth 4.1
> > USB slots: 2x USB 2.0 - 1x USB 3.0 - 1x USB 3.1
> > Card Reader: SD/MMC
> > Size and weight: 32.3x22.3x1.84~1.90 cm / 1.45 Kg
> > 
> > The price should be less than 800€/$.
> > 
> > Thanks in advance
> > 
> > Stefano
> 
> Thanks to everyone who answered. I've ordered the laptop and it should
> arrive next week. I'll let you know how it goes.
> 
> Stefano

All right. The laptop has arrived last Thursday (with memory expanded to 8GB) 
and, after a bit of work during the week-end I succeeded in installing a fully 
working ~amd64 Gentoo on it, with everything I need working perfectly (as far 
as I can tell). Unless some something unexpected come out in the future, I'm 
quite happy with this laptop.

In case anybody is interested, here are some details on what works and what 
doesn't or I haven't tested. I'll also include a copy of my .config if someone 
finds it useful (it may contain unneeded stuff, but it works).

What works:
* video card: works flawlessly with Plasma 5 and the default effects enabled. 
I had some trouble in finding out which firmware and use flags enabled. In the 
end, I enabled the i965 and intel VIDEO_CARDS and everything seems to work (I 
didn't try anything graphics intensive, however)
* wireless: this is the first wireless card which worked without problems from 
the installation medium: I created a wpa_supplicant.conf file with the network 
settings, run /etc/init.d/wpa_supplicant restart and the connection was there. 
After that, I only needed to find out the correct driver and firmware and 
insert them in the kernel
* touchpad: this gave me some problems because I couldn't find out the correct 
options to insert in the kernel. However, after a lot of attempts, checking 
everything related to 12C which seemed even remotely connected with a 
touchpad, it started working. Most likely, currently my kernel contains some 
unneeded options, but I don't have the time to find out which they are
* sound card: this too required a bit of work because I didn't know which 
codec I should use. At last, trying everyone, I found out the correct one was 
SND_HDA_CODEC_HDMI
* suspend and hibernate: both work correctly (regarding hibernate, I have set 
up a swap partition of 16GB: I don't know whether it's too much, but as I have 
space to spare, I don't care)

What doesn't work so well:
* bluetooth: the adapter is recognized. However, following the instructions in 
the Gentoo wiki [1] I couldn't connect with my smartphone: everything went 
well up to the "connect" command, then I got a "can't connect" error. I tried 
doing the same from Bluedevil (the KDE bluetooth manager), with the same 
result: however, I could send files between laptop and smartphone. I don't 
know whether this behavior is expected with such a device, since I almost 
never use bluetooth.

What I haven't tested:
* card reader
* wireless display. 

One of the issues which worried me more was setting up correctly an UEFI 
system. I don't have much experience with such systems so, among the various 
options I found online, I chose Refind as it seemed the easiest one. I 
proceeded this way:
* from the UEFI screen, I disabled Secure Boot and UEFI boot (I wasn't sure 
the Gentoo installation stick would boot from UEFI)
* I booted from the Gentoo installation stick and setup everything according 
to the installation handbook, except for the Grub2 part. According to the 
Refind instructions [2], I enabled the EFI stub in the kernel
* I copied the kernel to the usual /boot partition (with ext2 filesystem; 
ext3, ext4 or other filesystems supported by Refind would have worked as well)
* from Windows, I installed Refind [3], following to the letter the 
instructions given in [4]. Here, the author warns about issues with Windows 
10, but, luckily, I didn't have any
* I installed the kernel in the boot partition as

Re: [gentoo-user] advice on a new laptop

2017-02-04 Thread Stefano Crocco
On Saturday, 4 February 2017 09:10:22 CET Daniel Frey wrote:
> On 02/02/2017 12:28 AM, Stefano Crocco wrote:
> > Hello to everyone,
> > I need to buy a new laptop and I'd like some advice. Currently, I'm
> > thinking of buying an ASUS UX310UA-GL547T. Has anyone tried running
> > Gentoo on it? If so, how did it go? A Google search only lead me to a
> > page hinting it should work with linux, but didn't give any detail.
> > 
> > Alternatively, which other model would you suggest with similar
> > specifications? The ASUS UX310UA-GL547T has the following characteristics:
> > 
> > Screen: 13.3" - 1920x1080 Pixel - Full HD, LED, No Glare
> > CPU: Intel® CoreTM i3-7100U (2.4 GHZ)
> > RAM: 4 GB DDR4
> > Max RAM: 16 GB
> > Video Card: Intel® HD Graphics 620
> > Video OUT: HDMI
> > Hard Disk: 500 GB SATA 5400 rpm
> > Wireless: WiFi 802.11n (a/c)
> > Intel® Wireless Display (WiDi)
> > Bluetooth: Bluetooth 4.1
> > USB slots: 2x USB 2.0 - 1x USB 3.0 - 1x USB 3.1
> > Card Reader: SD/MMC
> > Size and weight: 32.3x22.3x1.84~1.90 cm / 1.45 Kg
> > 
> > The price should be less than 800€/$.
> > 
> > Thanks in advance
> > 
> > Stefano
> 
> If they have it in store you can ask if you can boot linux on a USB-key.
> I asked my local store and they let me try it on the display model. Your
> mileage may vary though.
> 
> Dan

A good suggestion which didn't occur to me. Unfortunately, they didn't have 
any in store so I couldn't have asked them in any case.

Stefano



Re: [gentoo-user] advice on a new laptop

2017-02-04 Thread Stefano Crocco
On Thursday, 2 February 2017 09:28:05 CET Stefano Crocco wrote:
> Hello to everyone,
> I need to buy a new laptop and I'd like some advice. Currently, I'm thinking
> of buying an ASUS UX310UA-GL547T. Has anyone tried running Gentoo on it? If
> so, how did it go? A Google search only lead me to a page hinting it should
> work with linux, but didn't give any detail.
> 
> Alternatively, which other model would you suggest with similar
> specifications? The ASUS UX310UA-GL547T has the following characteristics:
> 
> Screen: 13.3" - 1920x1080 Pixel - Full HD, LED, No Glare
> CPU: Intel® CoreTM i3-7100U (2.4 GHZ)
> RAM: 4 GB DDR4
> Max RAM: 16 GB
> Video Card: Intel® HD Graphics 620
> Video OUT: HDMI
> Hard Disk: 500 GB SATA 5400 rpm
> Wireless: WiFi 802.11n (a/c)
> Intel® Wireless Display (WiDi)
> Bluetooth: Bluetooth 4.1
> USB slots: 2x USB 2.0 - 1x USB 3.0 - 1x USB 3.1
> Card Reader: SD/MMC
> Size and weight: 32.3x22.3x1.84~1.90 cm / 1.45 Kg
> 
> The price should be less than 800€/$.
> 
> Thanks in advance
> 
> Stefano


Thanks to everyone who answered. I've ordered the laptop and it should arrive 
next week. I'll let you know how it goes.

Stefano



[gentoo-user] advice on a new laptop

2017-02-02 Thread Stefano Crocco
Hello to everyone,
I need to buy a new laptop and I'd like some advice. Currently, I'm thinking 
of buying an ASUS UX310UA-GL547T. Has anyone tried running Gentoo on it? If 
so, how did it go? A Google search only lead me to a page hinting it should 
work with linux, but didn't give any detail.

Alternatively, which other model would you suggest with similar 
specifications? The ASUS UX310UA-GL547T has the following characteristics:

Screen: 13.3" - 1920x1080 Pixel - Full HD, LED, No Glare
CPU: Intel® CoreTM i3-7100U (2.4 GHZ)
RAM: 4 GB DDR4
Max RAM: 16 GB
Video Card: Intel® HD Graphics 620
Video OUT: HDMI
Hard Disk: 500 GB SATA 5400 rpm
Wireless: WiFi 802.11n (a/c)
Intel® Wireless Display (WiDi)
Bluetooth: Bluetooth 4.1
USB slots: 2x USB 2.0 - 1x USB 3.0 - 1x USB 3.1
Card Reader: SD/MMC
Size and weight: 32.3x22.3x1.84~1.90 cm / 1.45 Kg

The price should be less than 800€/$.

Thanks in advance

Stefano




Re: [gentoo-user] KWallet doesn't recognise my password

2016-12-13 Thread Stefano Crocco
On Monday 12 December 2016 13:18:46 Peter Humphrey wrote:
> Hello list,
> 
> Until this morning I've had no real problems with KMail and co. for quite a
> while, but something's upset the wallet system so that my password is no
> longer recognised when I start KMail-2. This is what I've tried:
> 
> 1.Re-created a blank /home partition and restored from yesterday's 
backup.
>   (Yesterday's setup was working nicely.)
>   No difference, so:
> 
> 2.Deleted ~/kde4/share/apps/kwallet (while not running live) and 
rebooted.
>   No difference there either.
> 
> Is there something I can restore from backup to enable me to use the wallet
> again - perhaps something in /etc/ssl or /var/tmp? Maybe I need to remerge
> the wallet packages, or maybe I'll have to create an entirely new user for
> myself. I hoped I'd seen the last of that kind of masochism.
> 
> In case it's relevant, the appearance of this problem coincided with a new
> kernel, 4.9.0, which I compiled as usual and rebooted. I just got a blank
> screen. I had to revert to 4.8.14 and rebuild the associated modules before
> I could boot, and then fsck ran to check all the file systems.

Have you by any chance upgraded libgcrypt to 1.7.4? There's a bug report about 
kwallet:5 and libgcrypt 1.7.4 [1]. I had exactly the same issue yesterday and 
solved it by downgrading libgcrypt to 1.7.3.

I hope this helps

Stefano

[1] https://bugs.gentoo.org/show_bug.cgi?id=602502



Re: [gentoo-user] KDE 5

2016-07-13 Thread Stefano Crocco
On Tuesday 12 July 2016 22:56:38 Mick wrote:
> For  example Konqueror on my laptop does not integrate with Dolphin
> anymore,

This is because konqueror still uses KDE 4, while dolphin has been ported to 
KDE Frameworks 5. The problem is that konqueror has been without a full time 
mantainer for a long time, since the original author shifted his attention to 
other parts of KDE. Since last year I took up the role of konqueror mantainer, 
but unfortunately I had much less free time to work on it than I hoped for 
back then.

Currently, the situation regarding konqueror is the following:

* the application itself has been ported from KDE4/Qt4 to KDE Frameworks/Qt5 
by its original author (David Faure). This means that it compiles and mostly 
works, including the integration with dolphin. There are several bugs, 
however.
* I've ported most of the plugins (only the user agent plugin doesn't work 
completely)
* I'm in the process of porting the sidebar, which is the last part of 
konqueror still using KDE 4. However, different from the rest of the 
application, porting this is going to be a lot of work. This is because the 
sidebar (or rather, parts of it) still uses a compatibility library used to 
port applications from KDE 3 to KDE 4. This library, of course, doesn't exist 
in KDE Frameworks, which means that a large part of the sidebar code needs to 
be almost rewritten.

I've thought of writing an ebuild for the developer version of konqueror, (a 
 one, of course), since the application is currently mostly working (I use 
it as my primary browser, even if I have to switch to other browser every now 
and then for sites which won't work with it). The reason I haven't done so is 
that konqueror requires libkonq and that the 4 and 5 versions of libkonq can't 
be installed together. Since many applications from kde 4 still use it, this 
would create an issue.

Stefano



Re: [gentoo-user] Re: laptop/tablet convertibles linux compatibility

2015-11-02 Thread Stefano Crocco
Excerpts from Hans's message of 2015-11-01 14:26:10 +0100:
> On 01/11/15 19:53, Stefano Crocco wrote:
> > Hello to everyone.
> >
> > I'd like to buy a laptop/tablet convertible and to install Gentoo on it.
> > Searching Google I couldn't find up to date information about the linux
> > compatibility of this kind of device (most of the pages I found are at 
> > least a
> > couple of years old and at any rate, they give quite contradictory
> > information). Does anyone know what the situation is like today in this 
> > regard?
> >
> > In particular, I'm looking to buy some of the less expensive convertibles, 
> > at
> > most around 300€ (350$), as my needs for it are modest (basically, as I'm a
> > teacher, I'd like to use it as a tablet in the classroom to record absent
> > students, marks and so on instead of the very old tablet the school 
> > provided and
> > to use it as a laptop to read e-books and write while traveling to school by
> > bus). Looking on amazon, I found some models which could satisfy my needs:
> >
> > * Asus T100TAF-BING-DK024B [1]
> > * Asus T100TAL-BING-DK034B [2]
> > * Acer Aspire Switch W5-012-149A [3]
> > * HP Pavilion x2 10-n002nl [4]
> >
> > Does anyone know whether they work with Gentoo? Are there any models which 
> > work
> > well and that I overlooked?
> >
> > Thanks in advance
> >
> > Stefano
> >
> > [1] 
> > http://www.amazon.it/Asus-T100TAF-BING-DK024B-Transformer-Convertibile-Touchscreen/dp/B00SU7V1A8/ref=sr_1_1/280-8290032-6323628?s=pc=UTF8=1446368786=1-1
> > [2] http://www.amazon.it/gp/product/B00P0YRGW6/ref=ask_ql_qh_dp_hza
> > [3] 
> > http://www.amazon.it/Acer-Aspire-Switch-W5-012-149A-Convertibile/dp/B00PMCS2WO/ref=sr_1_3/280-8290032-6323628?s=pc=UTF8=1446368786=1-3
> > [4] 
> > http://www.amazon.it/HP-Pavilion-10-n002nl-Touchscreen-DDR3L-1600/dp/B011760S7K/ref=sr_1_5/276-5315837-3449853?s=pc=UTF8=1446369891=1-5
> >
> >
> I purchased during the last 10 years 2 Toshiba, 1 Gateway and 1 HP. They 
> all work with Gentoo. I tested them before purchase with OpenSuse and 
> Sabayon Live CD installed on a USB stick. Important points to test are 
> Wireless and Extended Function Keys. Do not buy from a dealer who does 
> not allow extensive testing before you pay or provide credit card details.
> 
> The alternative is to buy from a Linux specialist with Gentoo installed.

Thanks for the advice

Stefano



[gentoo-user] laptop/tablet convertibles linux compatibility

2015-11-01 Thread Stefano Crocco
Hello to everyone.

I'd like to buy a laptop/tablet convertible and to install Gentoo on it. 
Searching Google I couldn't find up to date information about the linux
compatibility of this kind of device (most of the pages I found are at least a
couple of years old and at any rate, they give quite contradictory
information). Does anyone know what the situation is like today in this regard?

In particular, I'm looking to buy some of the less expensive convertibles, at
most around 300€ (350$), as my needs for it are modest (basically, as I'm a
teacher, I'd like to use it as a tablet in the classroom to record absent
students, marks and so on instead of the very old tablet the school provided and
to use it as a laptop to read e-books and write while traveling to school by
bus). Looking on amazon, I found some models which could satisfy my needs:

* Asus T100TAF-BING-DK024B [1]
* Asus T100TAL-BING-DK034B [2]
* Acer Aspire Switch W5-012-149A [3]
* HP Pavilion x2 10-n002nl [4]

Does anyone know whether they work with Gentoo? Are there any models which work
well and that I overlooked?

Thanks in advance

Stefano

[1] 
http://www.amazon.it/Asus-T100TAF-BING-DK024B-Transformer-Convertibile-Touchscreen/dp/B00SU7V1A8/ref=sr_1_1/280-8290032-6323628?s=pc=UTF8=1446368786=1-1
[2] http://www.amazon.it/gp/product/B00P0YRGW6/ref=ask_ql_qh_dp_hza
[3] 
http://www.amazon.it/Acer-Aspire-Switch-W5-012-149A-Convertibile/dp/B00PMCS2WO/ref=sr_1_3/280-8290032-6323628?s=pc=UTF8=1446368786=1-3
[4] 
http://www.amazon.it/HP-Pavilion-10-n002nl-Touchscreen-DDR3L-1600/dp/B011760S7K/ref=sr_1_5/276-5315837-3449853?s=pc=UTF8=1446369891=1-5



[gentoo-user] logging out from kde plasma 5

2014-10-22 Thread Stefano Crocco
Hello to everyone.

I've being trying plasma 5 from the kde overlay for the last two weeks. Among
other issues I've found, the worst one is the fact that I can no longer close
cleanly the plasma session. Using the log out, halt or reboot commands from the
application launcher gives me a screen with a 30 seconds timeout, a list of the
three options, logout, reboot and halt and two buttons, one to cancel and one to
exit immediately. However, whether I press the button or I wait for the timeout
to end, nothing happens. The only ways to close the session are either to issue
a reboot or halt command from a shell or kill the X server with the
Ctrl+Alt+Backspace combination.

I've tried an Ubuntu plasma 5 live CD and with it quitting the session works
correctly, so it means there's something wrong either with the gentoo kde 
overlay
(unlikely) or with my system (much more likely). 

Is there anybody who has any idea about this issue?

Thanks in advance

Stefano





Re: [gentoo-user] Re: has anyone tried KDE5?

2014-10-12 Thread Stefano Crocco
Excerpts from Michael Palimaka's message of 2014-10-04 19:37:04 +0200:
 On 10/04/2014 11:26 PM, behrouz khosravi wrote:
  Hello everyone.
  I was wondering if anyone has tried KDE5?
  Do you know when it's going to be placed in the main tree?
  
  thanks
 
 Hi,
 
 The KDE release structure has evolved[1], decoupling the release cycle
 of the Platform, Workspace, and Applications. This means that there is
 no longer a single Software Compilation in the same way there was with
 KDE 4.
 
 We (Gentoo KDE team) have not yet made a decision as to when the Plasma
 5 Workspace will be pushed to the main tree. I've been using it on a
 daily basis for about six months, and consider the next release (5.1.0)
 to be a good candidate for the main tree.
 
 The underlying Platform (KDE Frameworks 5) upon which Plasma 5 is built
 is expected in the main tree in about a week, after the 5.3.0 release.
 
 Best regards,
 Michael
 
 [1]: https://dot.kde.org/2013/09/04/kde-release-structure-evolves

I'd love to try KDE 5. So far I've been able to install Frameworks from the KDE
overlay. I then tried to install the workspace, but it seems that it can't
coexist with kde 4 (I get blockers from several kde 4 packages when trying to
install). Is this correct, or am I doing something wrong? I use paludis as
package manager, so maybe it behaves differently from portage and this is the
reason for the blockers.

I remember that when KDE 4 was released I used to run the live version,
rebuilding everything every day. It was a very pleasant experience being able to
witness how the programs improved, day after day. But I could do that because I
could have both KDE 4 and KDE 3 installed at the same time: those days when a
program I needed broke horribly in the KDE 4 live version, I could go on working
using the KDE 3 version. Currently, if indeed KDE 4 and KDE 5 workspace can't be
installed at the same time, I'll have to wait before trying the latter.

Stefano



Re: [gentoo-user] Re: has anyone tried KDE5?

2014-10-12 Thread Stefano Crocco
Excerpts from Michael Palimaka's message of 2014-10-12 17:20:20 +0200:
  
  I'd love to try KDE 5. So far I've been able to install Frameworks from the 
  KDE
  overlay. I then tried to install the workspace, but it seems that it can't
  coexist with kde 4 (I get blockers from several kde 4 packages when trying 
  to
  install). Is this correct, or am I doing something wrong? I use paludis as
  package manager, so maybe it behaves differently from portage and this is 
  the
  reason for the blockers.
 
 Unfortunately Plasma 5 and KDE 4 Workspaces cannot coexist. This is an
 upstream decision.

That's a pity. It seems I'll have to wait.

Thanks for the information.

Stefano



Re: [gentoo-user] kde-4.11.2 update-mime-database or is this a new portage comfort?

2013-10-11 Thread Stefano Crocco
Excerpts from Helmut Jarausch's message of 2013-10-11 13:23:14 +0200:
 Hi,
 
 I might be wrong but I can't remember this has happened earlier.
 
 When emerging the new kde-base/kde-meta-4.11.2 (about 250 packages  
 here) portage runs
 update-mime-database /usr/share/mime many many times.
 
 Is this a new nuisance?
 
 Thanks for a comment,
 Helmut

I think it has always done so. However, it seems there's a bug [1] in
shared-mime-info-1.2 which makes update-mime-database very much slower than it 
used to be.
Perhaps that's why you noticed it only now.

Stefano

[1] https://bugs.gentoo.org/show_bug.cgi?id=487504



Re: Re: [gentoo-user] bash-completion change?

2013-07-25 Thread Stefano Crocco
On Thursday 25 July 2013 Douglas J Hunley wrote
 On Wed, Jul 24, 2013 at 10:05 AM, Stefano Crocco 
stefano.cro...@alice.itwrote:
  There are a few bugs regarding this issue, for example: 472938, 476992 and
  477214. If I understand things correctly, all installed modules are
  enabled,
  but they're loaded on-demand (I guess this means the first time they're
  used, but I'm not sure). The way suggested in one of these bugs to have a
  working autocompletion is to source
  /usr/share/bash-completion/bash_completion
  from you .bashrc file.
  
  Stefano
 
 I agree w/ the user in 477214. This is completely broken. And the lack of
 notice to the user post-emerge on how to set things up 'the new way' is
 infuriating. Guess I'll add this to my 'check back in 6 months to see if
 they've got it sorted' list
 
 Thanks Stefano
 
 --
 Douglas J Hunley (doug.hun...@gmail.com)
 Twitter: @hunleyd   Web:
 douglasjhunley.com
 G+: http://goo.gl/sajR3

I agree with you about the lack of a post-emerge message! I spent at least one 
hour the other day trying to understand why suddenly bash completion wasn't 
working anymore. I think all of this is still a work in progress, however, 
since the eselect package still installs the man page for the bashcomp module 
(bashcomp.eselect)!

Stefano



Re: [gentoo-user] bash-completion change?

2013-07-24 Thread Stefano Crocco
On Wednesday 24 July 2013 Douglas J Hunley wrote
 As of bash-completion-2.1-r1 it appears the eselect module is gone and the
 use of /etc/bash-completion.d is dead. Does this mean that all completions
 are enabled globally by default now? It used to be that you could turn each
 individual one on/off either globally or per user. Anyone know what the new
 'one true way' is here?
 
 --
 Douglas J Hunley (doug.hun...@gmail.com)
 Twitter: @hunleyd   Web:
 douglasjhunley.com
 G+: http://goo.gl/sajR3

There are a few bugs regarding this issue, for example: 472938, 476992 and 
477214. If I understand things correctly, all installed modules are enabled, 
but they're loaded on-demand (I guess this means the first time they're 
used, but I'm not sure). The way suggested in one of these bugs to have a 
working autocompletion is to source /usr/share/bash-completion/bash_completion 
from you .bashrc file.

Stefano




Re: [gentoo-user] grub vs grub 2

2012-02-14 Thread Stefano Crocco
Il giorno Tue, 14 Feb 2012 17:36:28 + (UTC)
james wirel...@tampabay.rr.com ha scritto:

 Googling around, I get the impression
 that 'grub' is now grub 2. Is that
 correct?
 
 In portage I see grub-static
 (GRUB Legacy boot loader)
 with version numbers that coincide with
 grub (grub2 ?).
 
 If grub2 has replaced grub-1 what (gentoo) 
 version number did grub2 first take take?
 
 What was the last (gentoo) version number for
 grub 1 that was actually grub1 , or have I 
 confused these details?
 
 I cannot seem to find these details in the release
 notes or as part of the sourcecode. Any suggestions
 on that would be keen.
 
 James
 
 

If I understand correctly your question, versions 0.9x are grub 1, while
versions 1.9x are grub 2. You can also distinguish them according to their
slots: grub 1 ebuilds have slot 0, while grub 2 ebuilds have slot 2.

Stefano



Re: [gentoo-user] [OT] Opera browser set home page

2011-09-07 Thread Stefano Crocco
On Wednesday 07 September 2011 07:16:11 Harry Putnam wrote:
 Pretty lame and pretty OT, but here it is:
 
 I've installed Opera... in the last 40 min or so, I've attempted to
 determine how to set a home page.  Googled etc.
 
 Directions found on google appear NOT to apply to linux version.
 
 Navigate to and click the preferences link at top of opera page.
 
 NOT... there is no such link.
 
 So, how is it done... well maybe a preferences file found in ~/.opera/
 
 vim operaprefs.ini  ... and then insert:
 Home URL=www.google.com/ig
(save and restart) .. once again NOT.
 
 Even watched a video... which shows a nice person clicking on
 preferences Icon... but well ... there isn't one.  Check all available
 toolbars by clicking `customize' on existing top mast but not finding
 a menu like that.
 
 Is opera really so poorly designed as to make such a simple operation
 so time consuming, or am I missing something really basic (as usual).
 
 How is such a simple operation done?

Are you asking how to set the page which opens the first time you launch 
Opera? With the version I have installed (11.50.1074), you have to click on 
the Opera button, just below the title bar and at the left of the first open 
tab. A menu will popup. There you'll find a 'Settings' menu and a 
'Preferences' submenu inside it. Clicking on Preferences displays a dialog 
where, in the General tab, you can choose the starting page. There you can 
also tell Opera to always load a saved session or the last used one.

Please, be aware the names of menus and dialogs I mentioned above may be 
slightly different from those: I have installed Opera in Italian, so I don't 
kown what are the English versions of the names.

I hope this helps

Stefano



Re: [gentoo-user] Portage GUI interfaces...

2010-02-25 Thread Stefano Crocco
On Thursday 25 February 2010, BRM wrote:
 |I am interested in finding a GUI interface for working with portage,
 |preferably for KDE4. Namely b/c I am getting a little tired of having
 |konsole windows open and not being able to keep track of where I am in
 |the emerge update process - something a GUI _ought_ to be able to
 |resolve.
 |
 |In googling, I noticed Kuroo, but it's no longer maintained (nearly 2
 |years out of date now, so it would have to have been KDE3) so it's been
 |understandably removed from mainline portage - though I also noticed
 |information on a Kuroo overlay.
 |
 |And I also came across Porthole; however, all versions are marked
 |Unstable/Testing (~) at the moment.
 |
 |Can anyone give some advice on these or others?
 |
 |
 |Ben

You can try the plasma-emergelog plasmoid
(http://www.kde-look.org/content/show.php/plasma-emergelog?content=103928). 
There are ebuilds for the 0.0.1, 0.02 and development version in the kde 
overlay. This isn't a GUI interface for portage: it simply displays the last 
entries of the emerge log file (it also works with paludis and pkgcore) and is 
updated as the log file changes.

Stefano



Re: [gentoo-user] kde4 panelbar recovery

2010-02-22 Thread Stefano Crocco
On Monday 22 February 2010, James wrote:
 |Hello,
 |
 |I accidentally removed my panelbar (jargon?) across the bottom my my
 |kde 4.3.3 screen.
 |
 |
 |Googling has produced a wealth (of  not what I need to know)
 |minutia.
 |
 |
 |So, how do I recover the kde panel bar across the bottom my
 |my screen.
 |
 |
 |The closest answer I found was remove the ~user/.kde4 dir
 |and log back in, but that seems harsh..?
 |
 |
 |ideas?
 |
 |
 |
 |James

Right click on the desktop and choose add panel. This should give you an 
empty panel. To fill it with widgets, click on the plasma symbol at right end 
of the panel, choose add widgets and insert the widgets you want.

I hope this helps

Stefano