Re: [gentoo-user] best rss reader?

2020-04-20 Thread Poncho
> summary of questions:
> -
> 1. what rss feed reader do you use?

Feedbro

https://addons.mozilla.org/en-US/firefox/addon/feedbroreader/
https://chrome.google.com/webstore/detail/feedbro/mefgmmbdailogpfhfblcnnjfmnpnmdfa

> 2. what are your theoretical principles that
>guided you to choose the rss feed that you
>use.

I like reading my feeds in the browser. So an add-on fits my use case
perfectly.



Re: [gentoo-user] HCL web-page

2020-04-20 Thread J. Roeleveld
On Monday, April 20, 2020 2:26:38 AM CEST Dale wrote:
> the...@sys-concept.com wrote:
> > On 04/19/2020 04:11 PM, Dale wrote:
> >> the...@sys-concept.com wrote:
> >>> There used to be webpage http://kmuto.jp/debian/hcl/
> >>> where use could paste output of: lspci -n
> >>> 
> >>> But is no longer active, did it change?
> >> 
> >> That site seems to be gone.  I did find some other info.  Maybe one of
> >> these links will help replace it.
> >> 
> >> https://www.linuxjournal.com/supportedhardware
> >> 
> >> https://linux-hardware.org/
> >> 
> >> https://wiki.debian.org/Hardware
> >> 
> >> https://www.linuxcompatible.org/compatibility/
> >> 
> >> Each site has its own way.  One lists links to distro sites, another
> >> probes your system to see if everything is supported, I didn't test
> >> that, and others seem to list hardware separated by type, network, video
> >> etc etc. 
> >> 
> >> I seem to recall using that site long ago.  If I recall correctly, it
> >> would find the correct kernel drivers etc for each piece of hardware. 
> >> Certainly made things easier when trying to do a install on a new
> >> system.  Sad to see it is gone.
> >> 
> >> Dale
> >> 
> >> :-)  :-) 
> > 
> > I think using: lspci -kn
> > will do the trick, it lists the kernel driver in use.
> 
> If I recall correctly, it has to be enabled already for it to show
> that.  If you have a limited boot media that doesn't support some piece
> of hardware, it won't help.  It works more to confirm the driver is
> loaded than anything. If doing a new install, or more important about to
> purchase new hardware, those types of sites can be of real help.  Also
> true if you run windoze and want to switch or dual boot.  I suspect that
> site that does the probing thing is for people using windoze but wanting
> to switch.
> 
> It works if you already have the right driver enabled tho.
> 
> Dale
> 
> :-)  :-) 

If you boot from one of the "enable everything" live distributions, you will 
find it.

I miss HCL as well.

--
Joost





Re: [gentoo-user] HCL web-page

2020-04-20 Thread Dale
J. Roeleveld wrote:
> On Monday, April 20, 2020 2:26:38 AM CEST Dale wrote:
>> the...@sys-concept.com wrote:
>>> On 04/19/2020 04:11 PM, Dale wrote:
 the...@sys-concept.com wrote:
> There used to be webpage http://kmuto.jp/debian/hcl/
> where use could paste output of: lspci -n
>
> But is no longer active, did it change?
 That site seems to be gone.  I did find some other info.  Maybe one of
 these links will help replace it.

 https://www.linuxjournal.com/supportedhardware

 https://linux-hardware.org/

 https://wiki.debian.org/Hardware

 https://www.linuxcompatible.org/compatibility/

 Each site has its own way.  One lists links to distro sites, another
 probes your system to see if everything is supported, I didn't test
 that, and others seem to list hardware separated by type, network, video
 etc etc. 

 I seem to recall using that site long ago.  If I recall correctly, it
 would find the correct kernel drivers etc for each piece of hardware. 
 Certainly made things easier when trying to do a install on a new
 system.  Sad to see it is gone.

 Dale

 :-)  :-) 
>>> I think using: lspci -kn
>>> will do the trick, it lists the kernel driver in use.
>> If I recall correctly, it has to be enabled already for it to show
>> that.  If you have a limited boot media that doesn't support some piece
>> of hardware, it won't help.  It works more to confirm the driver is
>> loaded than anything. If doing a new install, or more important about to
>> purchase new hardware, those types of sites can be of real help.  Also
>> true if you run windoze and want to switch or dual boot.  I suspect that
>> site that does the probing thing is for people using windoze but wanting
>> to switch.
>>
>> It works if you already have the right driver enabled tho.
>>
>> Dale
>>
>> :-)  :-) 
> If you boot from one of the "enable everything" live distributions, you will 
> find it.
>
> I miss HCL as well.
>
> --
> Joost

That's true but in the past, I've ran into times where a driver wasn't
included.  I ran into that once with a network card.  The driver for it
had to be installed similar to how a video driver is.  In that case, it
doesn't work.  Could be a somewhat rare occurrence but worth mentioning.

Dale

:-)  :-) 



[gentoo-user] Converting a Portage Flat File to a Directory Structure

2020-04-20 Thread Ashley Dixon
Hi gentoo-user,

Following the recent conversation started by Meino, I have decided to convert my
package.* files to directory structures.  For  all  but  one,  this  has  proven
tedious, but relatively painless.  My package.use file is another story: at over
three-hundred lines, the thought of manually  converting  this  to  a  directory
structure does not attract me.

Are there any tools in Portage to help with this, or must I resort to writing  a
shell script ?

For example, considering the following lines in my flat package.use:

media-video/openshot printsupport
sys-apps/util-linux tty-helpers

I want to take this file and create a directory structure:

media-video/openshot, containing "media-video/openshot printsupport"
sys-apps/util-linux, containing "sys-apps/util-linux tty-helpers"

How can this be done ?
Thanks.

-- 

Ashley Dixon
suugaku.co.uk

2A9A 4117
DA96 D18A
8A7B B0D2
A30E BF25
F290 A8AA



signature.asc
Description: PGP signature


Re: [gentoo-user] best rss reader?

2020-04-20 Thread Ich
I am using canto-daemon canto-curses and I am pretty happy with it.


Am 19.04.20 um 23:15 schrieb Caveman Al Toraboran:
> hi - could everyone share his rss reading setup?
>
> i have newsboat, but it got masked.  so i'm now
> starting to look around again.
>
> i'm open minded and welling to question
> fundamentals in the theory of the optimality of
> rss feed readers.
>
> so if you have some principles/theories about what
> makes an rss feed optimum, please share these too,
> as it might help me think in a better way in my
> quest to find the best rss feed reader.
>
> summary of questions:
> -
> 1. what rss feed reader do you use?
> 2. what are your theoretical principles that
>guided you to choose the rss feed that you
>use.
>
> rgrds,
> cm.
>
>



Re: [gentoo-user] Converting a Portage Flat File to a Directory Structure

2020-04-20 Thread Rich Freeman
On Mon, Apr 20, 2020 at 9:13 AM Ashley Dixon  wrote:
>
> Following the recent conversation started by Meino, I have decided to convert 
> my
> package.* files to directory structures.  For  all  but  one,  this  has  
> proven
> tedious, but relatively painless.  My package.use file is another story: at 
> over
> three-hundred lines, the thought of manually  converting  this  to  a  
> directory
> structure does not attract me.
>
> Are there any tools in Portage to help with this, or must I resort to writing 
>  a
> shell script ?
>
> For example, considering the following lines in my flat package.use:
>
> media-video/openshot printsupport
> sys-apps/util-linux tty-helpers
>
> I want to take this file and create a directory structure:
>
> media-video/openshot, containing "media-video/openshot printsupport"
> sys-apps/util-linux, containing "sys-apps/util-linux tty-helpers"
>

Well, you could do this.

Or you could do:
cd /etc/portage
mv package.use legacy
mkdir package.use
mv legacy package.use/

Then your new stuff could go in nice clean files, and your old stuff
is sitting in that legacy file.  You don't HAVE to have one package
per file.

My personal organization system for these directories is:

1.  Every directory contains a file named zzzauto which is where
autounmasked/etc entries end up going.  That is going to be like an
inbox and if it gets crufty I just delete it and let portage re-create
it.
2.  I create task/topic-based files within it, with groups of related
flags.  So if I want ~arch on package foo, and that requrires ~arch on
3 other packages, I create a file named foo and stick all 4 keyword
changes in it.  This way when I'm wondering WHY I unmasked some random
library I can see what lead me to that point.
3.  When portage autounmasks something I try to make a point to run
cat zzzauto > newfile ; rm zzzauto ; touch zzzauto - to move the
unmask entries into a new topical file or append them to an existing
one.  I want to keep the zzzauto file clean so that I don't end up
with a 300 line monstrosity like you have, and like I used to have.
I'm not perfect at this, but the zzzauto file can always be wiped at
any time as it was autogenerated in the first place, and any
carefully-tailored settings are in topical files.

You could stick one package per file named after the package like
you're proposing, but:
1.  It will take a lot of time.
2.  It will add no value other than satisfying the move to a
directory, which the legacy file above already adds.  In six months
you'll have no idea why you set some flag for some random package,
because you have a million files like this.

At least with the legacy all the undocumented cruft stays in one file,
and then you can put new stuff in new files and start documenting
things using whatever scheme you prefer.

Otherwise though I'm sure you could do what you're proposing in a few
lines of python.  I'm sure it is possible with a bit of bash/awk/etc
as well.

-- 
Rich



[gentoo-user] Problem understanding "eix"

2020-04-20 Thread Dr Rainer Woitok
Greetings,

after several days of manpage reading, head scratching,  and testing the
reactions of "eix" to various input  I'm giving up  and ask the combined
wisdom of the Gentoo list.

Here's the version of "eix" I'm using, my test script, and its output:

   $ eix --version
   0.33.9
   $ cat test-script
   #! /bin/sh
   export EIX_LIMIT=0 OVERLAYS_LIST=false PRINT_COUNT_ALWAYS=never
   export FMT="/\t\t{isstable}1{else}0{} 
{!isunstable}1{else}0{}\n"
   echo in:
   eix --format '' \
   --category-name --regex 'app-crypt/tpm2-tss$|acct-group/input'
   echo av:
   eix --format '' \
   --category-name --regex 'app-crypt/tpm2-tss$|acct-group/input'
   $ ./test-script
   in:
   acct-group/input 0   0 1
   app-crypt/tpm2-tss   2.3.3   0 1
   av:
   acct-group/input 0   1 1
   app-crypt/tpm2-tss   2.2.3-r21 0
   app-crypt/tpm2-tss   2.3.3   1 0
   $

And finally here are my questions:

1. Why do the  package properties  "isstable"  and  "!isunstable" differ
   from each other in four out of five output lines?

2. Why does the package property "isstable" return different values, de-
   pending on whether it is called  via the "" or
   "" property?

3. How can I reliably retrieve the correct information whether a package
   is "stable" or "testing"  for both properties,  ""
   and ""?

Any information appreciated.

Sincerely,
  Rainer




Re: [gentoo-user] best rss reader?

2020-04-20 Thread Felix Kuperjans
Hi,

I use liferea for many years now and I'm pretty happy. Doesn't sync to
multiple machines though but I read RSS news only on my main laptop.

I like how it's very straightforward and locally collects a configurable
history of each feed and allows to structure them hierarchically into
folders - however, many others offer similar features as well.

Best Regards
Felix

Am 19.04.20 um 23:15 schrieb Caveman Al Toraboran:
> hi - could everyone share his rss reading setup?
>
> i have newsboat, but it got masked.  so i'm now
> starting to look around again.
>
> i'm open minded and welling to question
> fundamentals in the theory of the optimality of
> rss feed readers.
>
> so if you have some principles/theories about what
> makes an rss feed optimum, please share these too,
> as it might help me think in a better way in my
> quest to find the best rss feed reader.
>
> summary of questions:
> -
> 1. what rss feed reader do you use?
> 2. what are your theoretical principles that
>guided you to choose the rss feed that you
>use.
>
> rgrds,
> cm.
>
>




[gentoo-user] Re: Problem understanding "eix"

2020-04-20 Thread Martin Vaeth
Dr Rainer Woitok  wrote:

> 1. Why do the  package properties  "isstable"  and  "!isunstable" differ
>from each other in four out of five output lines?

isstable means that a package is ARCH,
isunstable means that it is ~ARCH (for your ARCH).
For other arches there is isalienstable.
Your particular package

>app-crypt/tpm2-tss 2.3.3   0 1

fails to be ARCH for any value of ARCH, and it is
~ARCH only if ARCH=amd64. So the first 0 is not
surprising. The second value depends on your ARCH;
Since {isunstable} fails, I suppose that your ARCH is not amd64.
If you would use {isalienstable} the test would be positive.

> 2. Why does the package property "isstable" return different values, de-
>pending on whether it is called  via the "" or
>"" property?

installedversion returns the details of the version in /var/db.
Note that there need not even be an ebuild anymore for that version,
so this is really all information which one can rely on for that
version.

But /vat/db does not contain any information whether the version
is stable, unstable, or alienstable, so these tests do not make
any sense for installed versions.

eix does not print an error if you query that information anyway,
but the return value for any such test (isstable, isunstable,
isalienstable, etc) is always empty (false).

> 3. How can I reliably retrieve the correct information whether a package
>is "stable" or "testing"  for both properties,  ""
>and ""?

I suppose that this question is answered with the above ones.




Re: [gentoo-user] Converting a Portage Flat File to a Directory Structure

2020-04-20 Thread Dale
Ashley Dixon wrote:
> Hi gentoo-user,
>
> Following the recent conversation started by Meino, I have decided to convert 
> my
> package.* files to directory structures.  For  all  but  one,  this  has  
> proven
> tedious, but relatively painless.  My package.use file is another story: at 
> over
> three-hundred lines, the thought of manually  converting  this  to  a  
> directory
> structure does not attract me.
>
> Are there any tools in Portage to help with this, or must I resort to writing 
>  a
> shell script ?
>
> For example, considering the following lines in my flat package.use:
>
> media-video/openshot printsupport
> sys-apps/util-linux tty-helpers
>
> I want to take this file and create a directory structure:
>
> media-video/openshot, containing "media-video/openshot printsupport"
> sys-apps/util-linux, containing "sys-apps/util-linux tty-helpers"
>
> How can this be done ?
> Thanks.
>

Well, as some here know, I do things differently.  My knowledge on
scripting and those types of commands is basic, if that.  A while back I
had one file for everything but I wanted to split some off and have a
few files for certain groups of packages, using what is updated in
groups as a guide.  This is what I ended up with.  Output of tree.


root@fireball / # tree /etc/portage/package.accept_keywords/
/etc/portage/package.accept_keywords/
├── dev-qt
├── kde-apps
├── kde-frameworks
├── kde-misc
├── kde-plasma
└── package.keywords

0 directories, 6 files
root@fireball / #


The reason I did this, if a upgrade goes bad for say kde-apps, I can
move the kde-apps file out of that directory and emerge will downgrade
to the last stable version.  How I did that?  Well, I went to a console
and used cat and grep.  Example.  cat
/etc/portage/package.accept_keywords/package.keywords | grep kde-apps 
That would list all the matches on the konsole.  I then copied those to
a new file for kde-apps.  Since those tended to be grouped together, I
then removed those entries from the old file.  I rinse and repeat that
several times until I got the one file to be targeted with several
files.  One could likely use echo to put those in a file automatically
but I was chicken. :/

You may find a better way, certainly there has to be one, after all,
this is ME, but that may give you ideas.  There is likely a lot of ways
to do this.  You get someone who has a better grasp of those awk and sed
commands, the possibilities get huge real fast.  Me, I'm still learning
about grep.  I got cat pretty much figured out.  ;-) 

Hope that helps or leads to a better way.  Please share if you do find a
better way tho.  May help someone else in the future. 

Dale

:-)  :-) 


Re: [gentoo-user] best rss reader?

2020-04-20 Thread Emmanuel Vasilakis

On 4/20/20 12:15 AM, Caveman Al Toraboran wrote:



summary of questions:
-
 1. what rss feed reader do you use?


net-news/quiterss


 2. what are your theoretical principles that
guided you to choose the rss feed that you
use.


Configure-ability. I must be able to select fonts, colors, etc.

Plus, I used kde's one before, and quiterss was the closest one to that.

Thanks,
Emmanuel