Re: [gentoo-user] patching an ebuild file

2024-05-17 Thread Matt Connell
On Fri, 2024-05-17 at 20:17 +0200, Alarig Le Lay wrote:
> > Is there a way to patch an ebuild in a similar way we can patch
> > sources?
> > 
> > thanks,
> > 
> > raffaele
> 
> You can make an overlay and mask the pacakges from ::gentoo

+1 for an overlay, because others may want to use those ebuilds as well
for similar work.



Re: [gentoo-user] Re: Graphics configuration for a Ryzen 7 7700X chip and water cooling.

2024-05-15 Thread Matt Connell
On Wed, 2024-05-15 at 16:25 +, Grant Edwards wrote:
> You'll need kernel 5.18 and Mesa 22 plus recent firmware.
> 
> That article was almost 2 years old, so I'd be surprised if all those
> are not stable in Gentoo by now.

Mesa 22 is not.  Only version 24 is stable

:)



Re: [gentoo-user] Handbook and question about manual network setup

2024-04-19 Thread Matt Connell
On Fri, 2024-04-19 at 17:34 +0100, Michael wrote:
> Configure static IP addresses for all your LAN devices on your home
> router.  Then set your devices to use DHCP to obtain an address from
> the router when they come up.  With a large number of devices which
> often change (e.g. guests in a hotel) this is inadvisable, but with a
> home LAN with a handful of devices  this is not too much of a chore.

This is what I do, for the sake of the argument. I never touch client
configuration on anything; the router is the boss. Much easier that way
in my experience.



Re: [gentoo-user] Handbook and question about manual network setup

2024-04-19 Thread Matt Connell
On Fri, 2024-04-19 at 09:05 -0500, Dale wrote:
> Basically, I want to be able to start/stop/restart enp3s0 as a
> service and have it in a runlevel. 

You should just need to create a symlink at /etc/init.d/net.enp3s0 that
points to /etc/init.d/net.lo and then you can do the usual rc-service
stuff with it.



[gentoo-user] Profile upgrade tip, from a slow learner

2024-03-28 Thread Matt Connell
Remember to disable distcc in your make.conf FEATURES, or you're going
to waste a bunch of time troubleshooting strange build failures like I
did.

That's all, carry on folks.



Re: [gentoo-user] How to synchronise between 2 locations

2024-03-27 Thread Matt Connell
On Wed, 2024-03-27 at 20:54 +0100, Frank Steinmetzger wrote:
> Am Wed, Mar 27, 2024 at 03:42:07PM -0400 schrieb Matt Connell:
> > On Wed, 2024-03-27 at 19:58 +0100, J. Roeleveld wrote:
> > > Hi all,
> > > 
> > > I am looking for a way to synchronise a filesystem between 2
> > > servers. Changes can occur on both sides which means I need to
> > > have it synchronise in both directions.
> > > 
> > > Does anyone have any thoughts on this?
> > > 
> > > Also, both servers are connected using a slow VPN link, which is
> > > why I can't simply access files on the remote server.
> > 
> > I've been using syncthing for years and am extremely pleased with
> > it. It works so well that I sometimes forget that its there, truly
> > in the It Just Works category of software.
> 
> Syncthing is also a good idea. The major difference: syncthing is a 
> permanently running daemon, so changes are synced very fast (the
> interval is configurable, IIRC). OTOH, Unison is run individually by
> you. That’s why I prefer the latter: in case I broke some file on my
> machine, I can get it back from another machine without having to
> break out the backup disk (which may not even have what I need
> because my backup interval is too big).

Good point.  I mainly use syncthing as a "stuff I need on multiple
machines" bucket, rather than a big directory of active working files.
Think more along the lines of "I saved this PDF on my PC but I'll need
it on my phone tomorrow so it goes into the Special Folder" kind of use
case.  As such it might not be the right fit for "synchronise a file
system" use case.



Re: [gentoo-user] How to synchronise between 2 locations

2024-03-27 Thread Matt Connell
On Wed, 2024-03-27 at 19:58 +0100, J. Roeleveld wrote:
> Hi all,
> 
> I am looking for a way to synchronise a filesystem between 2 servers.
> Changes can occur on both sides which means I need to have it
> synchronise in both directions.
> 
> Does anyone have any thoughts on this?
> 
> Also, both servers are connected using a slow VPN link, which is why
> I can't simply access files on the remote server.

I've been using syncthing for years and am extremely pleased with it. 
It works so well that I sometimes forget that its there, truly in the
It Just Works category of software.



Re: [gentoo-user] Portage reports preserved libs, but won't rebuild

2023-11-23 Thread Matt Connell
Sorry for the double post; I got a mail-undeliverable from Google so I
thought it didn't go through and retried it.  Turns out it got to the
mailing list (both times) but not to gmail recipients because Google
doesn't like my SPF record (record says hard-fail on no match and
someone somewhere is using ipv6).



[gentoo-user] Portage reports preserved libs, but won't rebuild

2023-11-23 Thread Matt Connell
First time I've seen this happen!

Any time I emerge anything, I get portage telling me I have the
following preserved libs:

---

!!! existing preserved libs: 
>>> package: app-arch/bzip2-1.0.8-r4 
 *  - /usr/lib/libbz2.so.1   
 *  - /usr/lib/libbz2.so.1.0.8   
 *  used by /usr/lib/libfreetype.so.6 (preserved)
 *  used by /usr/lib/libfreetype.so.6.20.1 (preserved)   
>>> package: dev-libs/glib-2.76.4
 *  - /usr/lib/libglib-2.0.so.0  
 *  - /usr/lib/libglib-2.0.so.0.7600.4
 *  used by /usr/lib/libharfbuzz.so.0 (preserved)
 *  used by /usr/lib/libharfbuzz.so.0.60801.0 (preserved)
>>> package: dev-libs/libpcre2-10.42-r1
 *  - /usr/lib/libpcre2-8.so.0
 *  - /usr/lib/libpcre2-8.so.0.11.2 
 *  used by /usr/lib/libglib-2.0.so.0 (preserved)
 *  used by /usr/lib/libglib-2.0.so.0.7600.4 (preserved)
>>> package: media-gfx/graphite2-1.3.14_p20210810-r3
 *  - /usr/lib/libgraphite2.so.3 
 *  - /usr/lib/libgraphite2.so.3.2.1
 *  used by /usr/lib/libharfbuzz.so.0 (preserved)
 *  used by /usr/lib/libharfbuzz.so.0.60801.0 (preserved)
>>> package: media-libs/freetype-2.13.2
 *  - /usr/lib/libfreetype.so.6   
 *  - /usr/lib/libfreetype.so.6.20.1
 *  used by /usr/lib/libharfbuzz.so.0 (preserved)
 *  used by /usr/lib/libharfbuzz.so.0.60801.0 (preserved)
>>> package: media-libs/harfbuzz-8.2.0
 *  - /usr/lib/libharfbuzz.so.0
 *  - /usr/lib/libharfbuzz.so.0.60801.0 
 *  used by /usr/lib/libfreetype.so.6 (preserved)
 *  used by /usr/lib/libfreetype.so.6.20.1 (preserved)
>>> package: media-libs/libpng-1.6.40-r1
 *  - /usr/lib/libpng16.so.16  
 *  - /usr/lib/libpng16.so.16.40.0  
 *  used by /usr/lib/libfreetype.so.6 (preserved)
 *  used by /usr/lib/libfreetype.so.6.20.1 (preserved)
>>> package: sys-libs/zlib-1.3-r1
 *  - /usr/lib/libz.so.1   
 *  - /usr/lib/libz.so.1.2.13   
 *  used by /usr/lib/libfreetype.so.6 (preserved)
 *  used by /usr/lib/libfreetype.so.6.20.1 (preserved)
 *  used by /usr/lib/libpng16.so.16 (preserved)
 *  used by /usr/lib/libpng16.so.16.40.0 (preserved)

---

But when I run emerge @preserved-rebuild as one should, all I get is:
"Nothing to merge; quitting."

Anyone else experienced this?  How do I figure out what I need to do?

Thanks in advance.



[gentoo-user] Portage reports preserved libs, but won't rebuild

2023-11-23 Thread Matt Connell
First time I've seen this happen!

Any time I emerge anything, I get portage telling me I have the
following preserved libs:

---

!!! existing preserved libs:  
>>> package: app-arch/bzip2-1.0.8-r4  
 *  - /usr/lib/libbz2.so.1
 *  - /usr/lib/libbz2.so.1.0.8
 *  used by /usr/lib/libfreetype.so.6 (preserved) 
 *  used by /usr/lib/libfreetype.so.6.20.1 (preserved)
>>> package: dev-libs/glib-2.76.4 
 *  - /usr/lib/libglib-2.0.so.0   
 *  - /usr/lib/libglib-2.0.so.0.7600.4
 *  used by /usr/lib/libharfbuzz.so.0 (preserved) 
 *  used by /usr/lib/libharfbuzz.so.0.60801.0 (preserved)
>>> package: dev-libs/libpcre2-10.42-r1
 *  - /usr/lib/libpcre2-8.so.0
 *  - /usr/lib/libpcre2-8.so.0.11.2  
 *  used by /usr/lib/libglib-2.0.so.0 (preserved) 
 *  used by /usr/lib/libglib-2.0.so.0.7600.4 (preserved)
>>> package: media-gfx/graphite2-1.3.14_p20210810-r3
 *  - /usr/lib/libgraphite2.so.3  
 *  - /usr/lib/libgraphite2.so.3.2.1 
 *  used by /usr/lib/libharfbuzz.so.0 (preserved) 
 *  used by /usr/lib/libharfbuzz.so.0.60801.0 (preserved)
>>> package: media-libs/freetype-2.13.2
 *  - /usr/lib/libfreetype.so.6
 *  - /usr/lib/libfreetype.so.6.20.1 
 *  used by /usr/lib/libharfbuzz.so.0 (preserved) 
 *  used by /usr/lib/libharfbuzz.so.0.60801.0 (preserved)
>>> package: media-libs/harfbuzz-8.2.0
 *  - /usr/lib/libharfbuzz.so.0 
 *  - /usr/lib/libharfbuzz.so.0.60801.0  
 *  used by /usr/lib/libfreetype.so.6 (preserved) 
 *  used by /usr/lib/libfreetype.so.6.20.1 (preserved)
>>> package: media-libs/libpng-1.6.40-r1
 *  - /usr/lib/libpng16.so.16   
 *  - /usr/lib/libpng16.so.16.40.0   
 *  used by /usr/lib/libfreetype.so.6 (preserved) 
 *  used by /usr/lib/libfreetype.so.6.20.1 (preserved)
>>> package: sys-libs/zlib-1.3-r1
 *  - /usr/lib/libz.so.1
 *  - /usr/lib/libz.so.1.2.13
 *  used by /usr/lib/libfreetype.so.6 (preserved) 
 *  used by /usr/lib/libfreetype.so.6.20.1 (preserved)
 *  used by /usr/lib/libpng16.so.16 (preserved)
 *  used by /usr/lib/libpng16.so.16.40.0 (preserved) 

---

But when I run emerge @preserved-rebuild as one should, all I get is:
"Nothing to merge; quitting."

Anyone else experienced this?  How do I figure out what I need to do?

Thanks in advance.



Re: [gentoo-user] hardened vs -bin packages

2023-11-15 Thread Matt Connell
On Wed, 2023-11-15 at 09:00 +0100, ralfconn wrote:
> I suppose I'd better use the non-bin version of at least the thunderbird 
> and firefox ones, to take advantage of the hardened toolchain features 
> for these internet-connected applications. I'm not so sure of  
> libreoffice (which I use seldom and only for local documents) and rust.

If you're going to compile Firefox for hardening reasons, you should do
the same with rust, since the former depends on the latter to build.

Regarding libreoffice, I think it depends on where you're sourcing the
documents from.  If you never have to open a document from an unknown
or untrusted source, then it might not matter.



Re: [gentoo-user] Re: What to do about openssl

2023-10-04 Thread Matt Connell
On Wed, 2023-10-04 at 12:57 -0400, John Covici wrote:
> All those are masked, I am using the ~amd64.

> All of the v3 packages are masked in my repository, just updated a
> couple of days ago.

Something on your local machine is masking these, they are definitely
unmasked for me and many others.  Check /etc/portage/package.mask to
start with, but in general I would grep -r openssl /etc/portage/ to see
what all you've got set (or unset)...



Re: [gentoo-user] What is a dependency of ruby

2023-09-21 Thread Matt Connell
On Thu, 2023-09-21 at 16:03 +0100, Neil Bothwick wrote:
> > What commands show me what installed packages have ruby as a dependency?
> 
> emerge -cav ruby

emerge --depclean --pretend ruby

No need to ask when you don't actually mean to depclean it... nor could
you if something depended on it.



Re: [gentoo-user] Re: sqlite downgraded by update breaks things

2023-09-06 Thread Matt Connell
On Wed, 2023-09-06 at 19:05 +0200, Alan McKinnon wrote:
> OSes are like biology: apparently logical but actually messy

And both developed organically!



Re: [gentoo-user] Jekyll on Gentoo using containers

2023-08-29 Thread Matt Connell
On Tue, 2023-08-29 at 15:31 +0100, Peter Humphrey wrote:
> 
> $ cat /var/log/docker.log | cut -d \  -f 2-   [to omit date & time]
> level=info msg="Starting up"
> level=error msg="failed to mount overlay: no such device" 
> storage-driver=overlay2
> level=error msg="exec: \"fuse-overlayfs\": executable file not found in 
> $PATH" storage-driver=fuse-overlayfs
> level=error msg="Failed to built-in GetDriver graph btrfs /var/lib/docker"
> level=info msg="Loading containers: start."
> level=warning msg="Could not load necessary modules for IPSEC rules: protocol 
> not supported"
> level=info msg="Default bridge (docker0) is assigned with an IP address 
> 172.17.0.0/16. Daemon option --bip can be used to set a preferred IP address"
> level=info msg="Loading containers: done."
> level=warning msg="WARNING: No blkio throttle.read_bps_device support"
> level=warning msg="WARNING: No blkio throttle.write_bps_device support"
> level=warning msg="WARNING: No blkio throttle.read_iops_device support"
> level=warning msg="WARNING: No blkio throttle.write_iops_device support"
> level=info msg="Docker daemon" 
> commit=4ffc61430bbe6d3d405bdf357b766bf303ff3cc5 graphdriver=vfs version=24.0.5
> level=info msg="Daemon has completed initialization"
> level=info msg="API listen on /var/run/docker.sock"
> 

Let's start at the top.

When you built docker, did you get any feedback from Portage about
missing or incorrectly set kernel configuration options?  Docker has a
strict list of things that it expects to be set (and not set) in your
kernel configuration, and portage should let you know what it isn't
happy about (at least it did in the past for me before correcting my
configs) when you emerge it.

Additionally, what USE flags do you have set for app-containers/docker?



Re: [gentoo-user] problem emerging dev-php/xdebug

2023-08-28 Thread Matt Connell
On Mon, 2023-08-28 at 15:04 +0200, Arve Barsnes wrote:
> dev-lang/php:7.4 is also masked, so I assume this is due to be 
> removed soon.

7.X is EOL upstream as of 9 months ago, hence the mask.

It was acknowledged in the mask commit that we would lose access to
some other packages because of this deprecation, but that's again an
upstream issue rather than a Gentoo one.  Gentoo is favoring security
by masking 7.4, but you can always override it as you see fit for your
system(s).



Re: [gentoo-user] VPN newbie questions

2023-08-21 Thread Matt Connell
On Sat, 2023-08-19 at 22:34 -0400, Walter Dnes wrote:
>   Many commercial VPNs claim to support linux.  Do they do this at the
> OS level as an executable, or at the browser level as an extension?

The real answer, that I suspect you're looking for, is no.  There's no
custom software required in almost any case.

Most commercial VPNs are based on OpenVPN.  They might publish their
own client, but it is just a dolled-up (non-free) wrapper around
OpenVPN.  All of the real work is done in a configuration file.

If you sign up for an account, they will provide you with a set of
credentials, and a configuration file that will connect you to one or
more of their endpoints.  You can drop that configuration file right
into /etc/openvpn/ and go.

The provider I use (omitted to avoid any pretense of shilling) provides
a dozen or so different "exit" points in the US.  I keep configuration
files for a handful of them so I can switch at will (via a simple shell
script) in case one stops working or I need to switch locations for
whatever reason.



Re: [gentoo-user] Re: Email clients

2023-07-31 Thread Matt Connell
On Mon, 2023-07-31 at 14:46 -0400, Kusoneko wrote:
> Why would you want a mail client to also be a web browser when you already 
> have a web browser to do that job? I will never understand the mindset of 
> trying to include web browsers into everything. Web browsers are massive 
> pieces of software, including one in everything massively increases the 
> compile time and resource usage of the software it's added into.

This is why webkit-gtk exists as it does: so it can fulfill this role
as part of multiple packages.  I'm not defending it, I'm just saying it
isn't completely nonsensical to have "browser as a library/module".

> > 
> > Composing HTML also e-mails requires a web-engine. Sure, you can do
> > that using emacs, markdown mode, a web browser for previewing, and so
> > on. It's a lot of work.
> 
> I don't get the point of composing HTML emails. Let's be honest here, unless 
> you're writing emails as part of a company with complicated messes of html 
> signatures or marketing emails, the only difference between composing a plain 
> text email and a html email for most people is unnoticeable.

Or your company forcibly converts emails to HTML so that it can apply a
signature, and you have no say in the matter.  Like mine.  So I write
HTML mails from the get-go so I can have a (better) chance to ensure
they are formatted correctly.




Re: [gentoo-user] Email clients

2023-07-31 Thread Matt Connell
On Mon, 2023-07-31 at 20:16 +0300, Alexe Stefan wrote:
> > Normally I would be in the chorus of "why do I need a whole entire
> > web
> > engine for an email client" but I'm also in the group of people who
> > knows full well what the answer is.
> 
> What is the answer?
> Mutt doesn't need a web engine.

For the reason that you just demonstrated for the class: HTML emails.

Now, your simple mail shows just fine in a plain text only mail client,
but in my world, and I'd wager most people's world, handling HTML
messages (which includes CSS for legibility) is a necessity to some
varying degree.

Don't get me wrong, I'm "team plaintext" all day every day but I'm not
going to make my life more difficult on principles.  There are hills
worth dying on but this isn't mine.



Re: [gentoo-user] Email clients

2023-07-31 Thread Matt Connell
On Mon, 2023-07-31 at 17:14 +0100, Peter Humphrey wrote:
> I see it's a gnome program and has 17 new dependencies (to this box).

Unfortunately one of them is webkit-gtk, which, if you don't have it
already, is a compilation lift.

Normally I would be in the chorus of "why do I need a whole entire web
engine for an email client" but I'm also in the group of people who
knows full well what the answer is.



Re: [gentoo-user] Email clients

2023-07-30 Thread Matt Connell
On Sat, 2023-07-29 at 01:29 +0100, Peter Humphrey wrote:
> I've been a loyal user of KMail for many years. (Loyal? Masochistic
> might be a better word.) It suits me exactly - or it would if it were
> reliable. It isn't, though, which drives me to consider alternatives.

To present an alternative that I haven't seen mentioned in the thread:
Evolution.  

- Fully featured (calendar, contacts, tasks, memos)
- Oauth2 support
- Exchange Web Services support
- sane defaults
- sqlite database storage (as opposed to Akonadi's mysql)
- active community  mailing list.




Re: [gentoo-user] Kudos on prompt release of gentoo-sources w/ Zenbleed mitigation

2023-07-25 Thread Matt Connell
On Tue, 2023-07-25 at 15:19 +, Grant Edwards wrote:
> Thanks and well done to the Gentoo Kernel Project for promptly pushing
> out 5.15.122, 6.1.41, et alia. Those latest kernels add mitigation for
> the "Zenbleed" vulnerability found in AMD Ryzen and Epyc processors.

Not that I doubt you but is there a link for the specific for the fix?

I'm interested in what the mitigation was and also for "Gentoo being
awesome" propaganda purposes.



Re: [gentoo-user] Re: Highlight certain packages being upgraded

2023-07-10 Thread Matt Connell
On Mon, 2023-07-10 at 04:25 +0300, Nikos Chantziaras wrote:
> > that excessively long qt package
> Off-topic, but just in case you mean qtwebengine, I was able to get
> rid of it by putting "-webengine" in my USE flags.

I got rid of it by switching to a flatpak version of the singular
desktop application that required it on my system.

Normally I'll always choose a native package but qtwebengine builds for
a program that I run a couple of times a week skews the reward/effort
ratio.




Re: [gentoo-user] kernel driver for: Intel Corporation I211 Gigabit Network Connection

2023-06-30 Thread Matt Connell
On Fri, 2023-06-30 at 14:44 -0600, the...@sys-concept.com wrote:
> > Is the  switch a reliable 1Gb switch? I've owned a couple of cheap
> > switches that said they were 1Gb but didn't always work.
> 
> I'm using TRENDnet 24-Port Gigabit Switch

Is the cable known good?  I've had both poor quality manufactured
cables and also shoddily made DIY[1] cables fail to link at gigabit
speeds.

Consider the OSI layers: start with layer 1 and work up from there.  Or
down, depending on your orientation.  I don't judge.

1: I still make my own cables but I am much more reliable at it these
days.  Experience and mistakes are great teachers.



Re: [gentoo-user] ip_change_notifier - empty IP address

2023-06-28 Thread Matt Connell
Not quoting anything because I'm just making a general reply, to the
general problem that you're generally trying to solve.  Generally.

You really should be using DNS for what you're trying to do, one way or
the other.  Reverse DNS, when set up properly, will always return the
appropriate IP address for you.  If this isn't achievable (I might
scoff at a few dollars a year for a domain but others might not), then
you should still be using DNS as a protocol, for both speed and
reliability reasons.  OpenDNS provides this a free service.

dig +short myip.opendns.com @resolver1.opendns.com

If you still don't want to use DNS for whatever reason, there are
services that are designed for infrastructural reliability for this,
namely:

icanhazip.com [1]

Since 2021 icanhazip is hosted by Cloudflare, and regardless of how you
feel about CF as a company, the service is designed for speed and
reliabilty for this exact purpose.

1: https://major.io/p/a-new-future-for-icanhazip/



Re: [gentoo-user] Klayout and ruby target problem.

2023-06-25 Thread Matt Connell
On Sun, 2023-06-25 at 11:19 -0500, Dale wrote:
> By default, it has no ruby target it seems, although it used to.  The
> on/off status changes.  Setting to match the old way made it worse,
> as
> mentioned above.  I can't figure out how to make this work. 
> 
> Any ideas?  Thoughts? 
> 
> Dale
> 
> :-)  :-) 
> 

Not the same problem I had, but I ran into some "portage wants to do
strange things" issues after the Ruby upgrade.  A --depclean fixed this
up for me by removing ruby30 which was no longer required anywhere.

Might give that a go and see if it shakes things out right.



Re: [gentoo-user] google SMTP with postfix - Password not accepted

2023-06-20 Thread Matt Connell
On Tue, 2023-06-20 at 12:09 -0600, the...@sys-concept.com wrote:
> Any better solution for me, to get a remote system new IP address.
> 
> Telus has a tendency of changing the static IP without any warning, it 
> happened to me in the middle of ssh connection with the remote system.

Dynamic DNS is what you want.  Example: I have a subdomain set up
(whatever-i-feel-like.mydomain.tech) and some software to update it. 
Of course, this is dependent on a combination of 1) software and 2)
service that is supported by the software.  In my case, I use OpnSense
and their dynamic client updating my DNS on Namecheap using an API key.

Perhaps someone has a more simple/elegant solution, but mine required
no change of software or service and it is extremely reliable.



Re: [gentoo-user] QMPlay2 single instance, want multiple.

2023-06-18 Thread Matt Connell
On Sat, 2023-06-17 at 00:02 -0500, Dale wrote:
> Thanks Matt for pointing me in this direction.  As it is, this might
> be a better player for me than QMPlay2 is.  This works as good as
> QMPlay2 and it closes at the end.  I miss gnome-player tho.  Silly
> old thing
> gave me a lot of years of good use.  :/

Glad I could help, at least as far as naming the package and telling
you to Read The Friendly Manual.

If it gives you any salve, mpv is based on mplayer/mplayer2 just
like... well almost everything else, including gnome-player / Totem



Re: [gentoo-user] QMPlay2 single instance, want multiple.

2023-06-16 Thread Matt Connell
On Fri, 2023-06-16 at 22:16 -0500, Dale wrote:
>  It doesn't seem to have a preferences thing that I can find. 
> You know where they hide that thing?

mpv is wholly configuration file based, fortunately or unfortunately. 
Not the easiest bar to reach, but the man page is extremely well
detailed.



Re: [gentoo-user] QMPlay2 single instance, want multiple.

2023-06-16 Thread Matt Connell
On Wed, 2023-06-14 at 09:02 -0500, Dale wrote:
> 
> Gnome-player is about dead.  It got removed from the tree ages ago
> but
> until a recent upgrade, it still worked.  I been using QMPlay2 on
> videos
> that doesn't have the right codec thingy for Gnome-player.  So, I'm
> kinda used to QMPlay2, except it doesn't close at the end of the
> video. 
> Anyway, I went into settings and made sure to uncheck the box for
> only
> allowing a single instance.  That should allow multiple instances of
> QMPlay2 but it doesn't.  If I click on a video file and QMPlay2 is
> open
> anywhere else, it starts playing where ever it was open, not even
> where
> I am at the moment.  It's bad enough I lose my place in another video
> but I have to go look through a dozen or so desktops to find out
> where
> it is playing. 
> 

100% _not_ what you asked, and you're probably tired of *this*
question, but have you tried media-video/mpv?  mpv will play anything
imaginable, it closes when the video ends, handles multiple instances
without any touching, etc.



Re: [gentoo-user] Re: replacement for ddclient?

2023-06-09 Thread Matt Connell
On Fri, 2023-06-09 at 22:38 +0700, Robin Atwood wrote:
> > They have a nicely documented API, and the server does support
> > HTTPS,
> > so it may be time to write my own DDNS client daemon.
> 
> Doesn't your router have a Dynamic DNS function? I stopped using
> ddclient years ago because my D-Link router does the updates. It is
> in
> a much better position to know when it is necessary!

Same.  OpnSense handles my updates for me.  It supports a good number
of DNS providers right out of the box.



Re: [gentoo-user] Re: Bespoke terminal font

2023-06-06 Thread Matt Connell
On Tue, 2023-06-06 at 16:02 +0200, Dr Rainer Woitok wrote:
> This URL mentions three requirements:
> 
>   - bdf2psf
>   - otf2bdf
>   - psftools
> 
> from which only the first  (app-text/bdf2psf)  seems to be  available in
> the Gentoo mirror :-(

dev-util/otf2bdf is available in the 4nykey repository.

media-gfx/psftools is in the gentoo repository as far as I can see.



Re: [gentoo-user] Bespoke terminal font

2023-06-05 Thread Matt Connell
On Mon, 2023-06-05 at 10:31 -0700, Mark Knecht wrote:
> Bummer. Looks like he might have changed it.

Unfortunately I'm no further help in that case.  Visually I live and
die by the slashed zero, using Terminus, which itself is a replacement
for the very old-fashioned ProFont.



Re: [gentoo-user] Bespoke terminal font

2023-06-05 Thread Matt Connell
On Mon, 2023-06-05 at 08:54 -0700, Mark Knecht wrote:
> There's a terminal font called 'hack' that doesn't have anything
> inside the zero.

Is this the right one?

https://github.com/source-foundry/Hack



Re: [gentoo-user] Steam.

2023-06-01 Thread Matt Connell
On Thu, 2023-06-01 at 15:18 -0400, Alan Grimes wrote:
> I haven't been able to run steam on my machine for about 2 weeks now. No 
> idea what the cause is, reported to Valve's Github page. Current symptom 
> is that window opens but driving thread stalls out or ??? and UI 
> freezes, needs to be closed from console. First symptoms appeared after 
> a game crash and were not cured by a cold boot.

I'm assuming you're using the package from the steam-meta repository. 
Do you get the same result using the flatpak?  In other words, is the
problem account-specific or package specific?

Alternatively, try moving (renaming) ~/.local/share/Steam and then
starting the client.  That should let it start "fresh".



Re: [gentoo-user] emerge --sync fails with a python error

2023-05-15 Thread Matt Connell
On Mon, 2023-05-15 at 16:24 +0200, Dan Johansson wrote:
> RuntimeError: OpenPGP signature not found on Manifest

It sounds like your sync is hitting a mirror that is currently broken.

Are you using a defined mirror list or letting it auto-select?



Re: [gentoo-user] Load average revisited

2023-05-02 Thread Matt Connell
On Tue, 2023-05-02 at 19:06 +0200, Dr Rainer Woitok wrote:
> What about
> 
>    # emerge -1u qtwebengine && emerge -u @world
> 
> This will first update any dependencies of "qtwebengine" and only update
> "qtwebengine" itself when all its dependencies are dealt with, before it
> will deal with the rest.

What if qtwebengine's (many) dependencies also need to be updated
first?  I think trying to outsmart the dependency graphing in portage
is inviting frustration.



Re: [gentoo-user] Load average revisited

2023-05-02 Thread Matt Connell
On Tue, 2023-05-02 at 15:04 +0100, Peter Humphrey wrote:
> One example I remember is Firefox having a bizarre colour scheme (the 
> window frame, not the page display) and missing the three upper-right 
> buttons. 
> That wasn't corrected by recompiling Firefox, so I assume the problem was 
> lower down.

This feels strongly to me like something in your compositor, rather
than Firefox itself.



Re: [gentoo-user] file system for new machine

2023-04-27 Thread Matt Connell
On Thu, 2023-04-27 at 15:54 +0200, tastytea wrote:
> btrfs and zfs have some useful features for normal use cases. the
> transparent compression can save a lot of space and even increase speed
> in some cases, the checksumming guarantees that you will never get a
> corrupt file and snapshots make backups and rollbacks easier.

Does the transparent compression incur an overhead cost in processing,
memory use, or disk writes?  I feel like it certainly has to at least
use more memory.  Sorry if that's an RTFM question.

> however, they do need a bit more maintenance (described in their
> respective wiki articles).

This is the part that is ultimately up to OP to decide.  Personally I
just want to read and write data without thinking about it or
maintaining anything.  I maintain enough other stuff as it is :)

> > [2] I'm aware that zfs and others can do snapshots for recovery and
> > "roll back" but there is no replacement for versioned hard copy
> > backups
> 
> you can send snapshots to other drives or computers, either as full or
> incremental backups. i'd say it's pretty much the same. 

Okay, that's pretty clever, I have to admit.  Incremental snapshots
that can be off-sited, handled by the filesystem itself?  I'll keep
this in mind the next time I re-do a server machine.



Re: [gentoo-user] file system for new machine

2023-04-27 Thread Matt Connell
On Thu, 2023-04-27 at 08:23 -0400, Philip Webb wrote:
> Ext4 seems to be used by well-known binary distros.

There's a reason for this.  It can fulfill all but the most niche or
intensive roles, is robustly supported, well-tested both in development
and through wide use in the field, and generally "just works".

It is a great general purpose file system, for general purpose
computing.  Standard LAMP stack, desktop, laptop, HTPC, etc. are all
satisfied by ext4

Since it is so broadly used and supported, you are guaranteed to find
documentation for whatever feature or issue you discover.

> What would others recommend ?

For general purpose computing/serving, in a non-scaling, non-
performance-critical, non-experimental scenario, ext4 

Unless[1] you are specifically:

* learning/exploring/experimenting
* storing billions of tiny files
* storing 1TB+ individual files
* not using any kind of backups[2]


--

[1] I'm certain that there are other use cases for which ext4 is not an
optimal choice, but I don't have first-hand experience with them.

[2] I'm aware that zfs and others can do snapshots for recovery and
"roll back" but there is no replacement for versioned hard copy backups



Re: [gentoo-user] xfce4 automount usb doesn't work

2023-04-11 Thread Matt Connell
On Tue, 2023-04-11 at 11:28 -0600, the...@sys-concept.com wrote:
> Does user need to be in group:  plugdev for it to work.

I'm fairly confident that you do, yes.

"Udisks uses polkit to handle permissions.  Make sure each user is in
the plugdev group"

https://wiki.gentoo.org/wiki/Udisks#Configuration



Re: [gentoo-user] xfce4 automount usb doesn't work

2023-04-11 Thread Matt Connell
On Tue, 2023-04-11 at 09:43 -0600, the...@sys-concept.com wrote:
> When USB is inserted, the icon appears on a desktop but it is not aouto 
> mounted.
> 
> In settings: Removable Drive and Media -->
> - Mount removable drive when hot-plugged (is checked)
> 
> Does it have something to do with dbus?
> 

My first guess is permissions.  Can you mount the drive in Thunar by
clicking on it in the side panel?



Re: [gentoo-user] config file '/etc/mtab' needs updating

2023-04-11 Thread Matt Connell
On Tue, 2023-04-11 at 09:34 -0400, Rich Freeman wrote:
> cfg-update is a bit crufty, but its main advantage is support for
> 3-way merges, which are usually automated.  So if you change one line
> in the middle of a config file you won't have to manually go through
> diffs to re-apply the change every time it is updated.  If the section
> immediately around the line you edited didn't change, then it will
> just accept the upstream changes while maintaining your customization.

Neat.  Thanks for the explanation.  I might make use of cfg-update from
time to time after all.

I usually try not to edit any files that are 'managed' by packages, but
sometimes it is unavoidable (eg. no thing.conf.d directory support), so
I wind up having to either accept the change and then re-edit it, or
zap the change and allow the file to get stale as the package is
updated, leading back to the first scenario regardless.



Re: [gentoo-user] config file '/etc/mtab' needs updating

2023-04-11 Thread Matt Connell
On Mon, 2023-04-10 at 23:44 -0600, the...@sys-concept.com wrote:
> After update I get:
> * IMPORTANT: config file '/etc/mtab' needs updating.
> 
> What is this, don't remember seeing it before.
> 
> cfg-update -u
> doesn't give me an option to view it.
> 
> 

dispatch-conf will show you what is being changed and give you the
option to use/zap the change.

I never even knew cfg-update existed (I've always used dispatch-conf).



Re: [gentoo-user] X not starting after kernel upgrade

2023-04-10 Thread Matt Connell
On Mon, 2023-04-10 at 15:53 -0600, the...@sys-concept.com wrote:
> Is: make oldconfig  same as: make olddefconfig ?

No.  olddefconfig accepts the default answer for each new configuration
item, non-interactively.  oldconfig is interactive.

I can't really give you guidance with your original problem though.



Re: [gentoo-user] emerge -U or emerge -N

2023-04-10 Thread Matt Connell
On Mon, 2023-04-10 at 10:44 -0600, the...@sys-concept.com wrote:
> Is it better to us emerge -U or emerge -N
> 
> I've always done -N but it didn't go very smoothly it seems to me -U might be 
> better option but it takes longer.
> Right now I'm doing -U and it is compiling 549-packages.
> 

Since I learned the difference, I've always only done -U (--changed-
use) unless I need to change the value of some new flags.  The lynchpin
is this:

"Unlike --newuse, the --changed-use  option  does not  trigger
reinstallation when flags that the user has not en‐abled are added or
removed."

As far as "better"?  Use the option that fits your need or desire.  If
you don't care to rebuild a package when a new use flag is added, you
need not use --newuse.



Re: [gentoo-user] mailing list problem?

2023-04-06 Thread Matt Connell
On Thu, 2023-04-06 at 18:44 -0400, Jack wrote:
> I've recently gotten a few of my usual "Bouncing messages" messages  
> from the mailing list, but when I go to the archives to see if I can 
> identify the problematic messages, I don't see anything since the  
> middle of March. 

https://infra-status.gentoo.org/notice/20230404-archives



Re: [gentoo-user] Logic?

2023-04-06 Thread Matt Connell
On Thu, 2023-04-06 at 17:22 -0400, Alan Grimes wrote:
> 1. My system was basically working last time I updated it several
> months 
> ago.
> 
> 2. Now both of my main web browsers are severely if not utterly
> foobar.

https://en.wikipedia.org/wiki/Rolling_release



Re: [gentoo-user] Mouse and hibernate

2023-04-06 Thread Matt Connell
On Thu, 2023-04-06 at 20:04 +0800, William Kenworthy wrote:
> I need the keyboard to bring it out of suspend.

Forgive a naive question that I only ask because it hasn't come up yet:
is the power buttonan option to wake the machine?

Everyone has their own preferred workflow and I've always just disabled
USB wake entirely to avoid accidental waking, and then just tap the
power button instead.



Re: [gentoo-user] glibc can't find /lib/libdl.so.2

2023-03-18 Thread Matt Connell
On Sat, 2023-03-18 at 18:36 +, Michael wrote:
> The kernel has IA32_EMULATION compiled in:
> 
>  # grep IA32_EMULATION /usr/src/linux/.config
> CONFIG_IA32_EMULATION=y

Small nit-pick: Is it enabled in the kernel that is actually running?  

zgrep CONFIG_IA32_EMULATION /proc/config.gz

> and /lib/libdl.so.2 appears to be present and correct

Is the file (or the filesystem, or the disk) possibly corrupted?  The
"cannot real file data: Input/output error" is troubling.  I would try
fsck'ing the file system from a live USB if possible.




Re: [gentoo-user] Tailing compressed build logs

2023-03-09 Thread Matt Connell
On Thu, 2023-03-09 at 15:49 +, Peter Humphrey wrote:
> Fetching a Debian compiled version and running deb2targz on it ends up with a 
> .so file, which where to put?

app-arch/deb2targz exists.  Would probably satisfy the need.



Re: [gentoo-user] What do you think about pam-gnupg?

2023-03-03 Thread Matt Connell
On Thu, 2023-03-02 at 23:53 -0500, efeizbudak wrote:
> > Doesn't this sort of defeat the purpose of using pass? I mean if
> > it's
> > always decryptable then is it really useful to have it encrypted in
> > the first place (assuming you have full disk encryption set up)?

Yes and no.

Yes in the sense that a rouge piece of software or a bad human actor
could execute `pass $path` and acquire the given secrets, so long as
the gpg-agent is holding the provided password.

No in the sense of that the file itself (remember pass stores
individual files for each secret) is still encrypted at rest. That is
to say, unless someone or some software is specifically looking for
gpg-encrypted files and knows how to use gpg or pass, they cannot
access the data.

The original point I was trying to make (in the previous message) is
that usability and security are always going to compromise one another,
and it is up to each of us to decide where the right balance lies.
Since I don't consider local malware a legitimate threat, my concerns
are limited to bad human actors.  Working from home, and locking my
computers when leaving them, gpg-agent being unlocked for eight hours
after the start of the work day is sufficient security.

People who use gnome-keyring (myself included!) probably don't think
twice about the fact that the keyring gets unlocked *once* and stays
unlocked until the user's session ends.  Heck some of my sessions can
last *months* on some machines.  Sure, most of us have rigged it up to
use a pam library, but the the situations parallel.  The access agent
is still "unlocked" for long periods of time, while the data on disk
remains encrypted at rest.



Re: [gentoo-user] What do you think about pam-gnupg?

2023-03-02 Thread Matt Connell
On Wed, 2023-03-01 at 15:38 -0700, Grant Taylor wrote:
> Can you re-architect this as a (pseudo) daemon so that you unlock it 
> once (or at least a LOT less often) and it stores the necessary 
> information in memory for subsequent re-use?

You just described gpg-agent, the core of what Efe (OP) is meddling
with :)

> Could you re-configure things so that (a copy of) the requisite password 
> is accessible via a different set of GPG credentials specific to the 
> process that you're running?  Then you could probably have just that set 
> of GPG credentials unprotected so that the script could use them as it 
> is today.
> 
> If neither of these options were possible I'd look into something like a 
> TPM and / or Yubikey wherein I could offload some of the GPG to it so 
> that the decryption key is physically tied to the source computer /and/ 
> *where* *it* *can't* *be* *copied*.

Since pass, the utility that OP is using in their script, is built
around GPG, of course there have been some spinoffs, using other
encryption methods.  Personally setting the gpg-agent timeout higher
and having good physical security works for my use case, but everyone
has a different situation.  If I worked in an office still, I think I
would have a physical GPG-based key solution, though I will admit I'm
not read up on which ones are the tops right now.

Efe, it may be useful to review the pass mailing list archives[1] for
some other ideas.  I don't think you're trying to solve a snowflake
problem here, but pam tie-ins doesn't feel quite right for a solution
either.

1: https://lists.zx2c4.com/pipermail/password-store/



Re: [gentoo-user] What do you think about pam-gnupg?

2023-03-01 Thread Matt Connell
On Wed, 2023-03-01 at 09:10 -0500, efeizbudak wrote:
> I let mutt-wizard set a cron job which takes my password out of pass,
> logs into the email server and fetches my mail every 5 minutes. With
> this I have to unlock my key as frequently as the amount in
> gpg-agent.conf's default-cache-ttl setting.

I don't have any thoughts on the pam module, but I make use of some
scripts that rely on pass as well.  For my use case I just raised the
TTL setting of gpg-agent to match an eight hour work day or eight hour
evening period and ran with it.  Feels fairly natural to "log in" to
the agent once a day at the first use.

Disclaimer: I work from home and lock my computers when I'm away from
them.




Re: [gentoo-user] systemd-journald: user-1000.journal ... Not a XENIX named type file

2023-02-25 Thread Matt Connell
On Sun, 2023-02-26 at 10:31 +0800, johnstrass wrote:
> Monotonic clock jumped backwards relative last journal entry

Is your system clock accurate?  Is it in sync the the hardware clock,
if the machine has one?




Re: [gentoo-user] Major problems with libpcre / UTF8

2022-12-16 Thread Matt Connell
On Fri, 2022-12-16 at 11:53 -0500, Walter Dnes wrote:
>   Apologies to those who've already seen this or had their replies
> bounce.  The mail host I use was down yesterday (the big storm?) so I
> haven't seen any responses to this post. 

All the replies are archived here:
https://archives.gentoo.org/gentoo-user/message/aec318b21018da25ba4328de7856



Re: [gentoo-user] Major problems with libpcre / UTF8

2022-12-15 Thread Matt Connell
On Thu, 2022-12-15 at 15:52 -0500, Walter Dnes wrote:
>   Can someone give me their output from "emerge -pv1 dev-libs/libpcre"

I don't have advice for your specific issue, but, as requested:

[ebuild   R] dev-libs/libpcre-8.45-r1:3::gentoo  USE="bzip2 cxx jit
-libedit -pcre16 -pcre32 readline (split-usr) -static-libs (unicode)
zlib" ABI_X86="-32 (64) (-x32)" 0 KiB

equery depends libpcre shows:

app-admin/syslog-ng-3.38.1 (>=dev-libs/libpcre-6.1)
dev-libs/rasqal-0.9.33 (pcre ? dev-libs/libpcre)
media-libs/libpulse-16.1-r1 (elibc_mingw ? dev-libs/libpcre:3)
media-sound/pulseaudio-daemon-16.1-r3 (elibc_mingw ? dev-
libs/libpcre:3)
net-analyzer/nmap-7.93 (dev-libs/libpcre)
sys-apps/grep-3.7 (pcre ? >=dev-libs/libpcre-7.8-r1)
  (pcre ? >=dev-libs/libpcre-7.8-r1[static-libs(+)])
xfce-base/thunar-4.16.11 (pcre ? >=dev-libs/libpcre-6)




Re: [gentoo-user] Ruby, Ragel, and Colm

2022-12-08 Thread Matt Connell
On Thu, 2022-12-08 at 18:49 +0100, Matthias Hanft wrote:
> I just wanted to "emerge ruby" on a new Gentoo server which failed
> at dev-util/ragel-7.0.4 with
> 
>   make[3]: *** No rule to make target '/usr/lib64/libfsm.la', needed by 
> 'ragel'.  Stop.

I also had (I mean I still have the server, but I had it when it was
ruby-free, too.) a server, not new but previously Ruby-free, so I tried
to emerge it.  No errors.

Do you have any packages (or the global) keyword ~amd64?  Portage,
fresh off of a sync, emerged ragel at 7.0.4 and col at 0.14.7 which are
both lower than the versions you mentioned.





Re: [gentoo-user] Playing .wav files?

2022-12-01 Thread Matt Connell
On Thu, 2022-12-01 at 12:45 -0500, Matt Connell wrote:
> On Thu, 2022-12-01 at 17:28 +, Peter Humphrey wrote:
> > What do you use to play .wav files?
> 
> The same thing I use to play every other media: mpv

To clarify: media-video/mpv



Re: [gentoo-user] Playing .wav files?

2022-12-01 Thread Matt Connell
On Thu, 2022-12-01 at 17:28 +, Peter Humphrey wrote:
> What do you use to play .wav files?

The same thing I use to play every other media: mpv



Re: [gentoo-user] where is 'mke2fs' ?

2022-11-17 Thread Matt Connell
On Thu, 2022-11-17 at 21:41 +0100, Arve Barsnes wrote:
> Might it be hidden behind USE="tools"?

This is correct.

$ equery uses e2fsprogs
...
+ + tools   : Build extfs tools (mke2fs, e2fsck, tune2fs, etc.) 

Philip, make sure you have the 'tools' USE flag enabled for e2fsprogs
and it should be available in /sbin/



Re: [gentoo-user] Re: repair of a seg-faulting bin-utils

2022-10-26 Thread Matt Connell
On Wed, 2022-10-26 at 14:37 -0400, Rich Freeman wrote:
> Another possible issue is bad -march settings.  That usually is an
> issue if you change your CPU and boot off of an existing hard drive.
> If you're going to upgrade your CPU you should rebuild all of @system
> (at least) with -march set to something very minimal.  Don't assume
> that a newer CPU does everything an existing one does - they sometimes
> do drop instructions.  You can set -mcpu to whatever you want, as a
> bad -mcpu will only cause minor performance issues.

Further reading on this:

https://wiki.gentoo.org/wiki/Safe_CFLAGS

I've always used this as a reference for helping ensure make.conf is
not only going to be well optimized, but produce reliable binaries.



Re: [gentoo-user] Re: gio/pcmanfm sftp:// "operation not supported"

2022-10-26 Thread Matt Connell
On Wed, 2022-10-26 at 16:22 +, Grant Edwards wrote:
> Apparently, that error is cause by lack of a DBUS session. I just
> happened to stumble across a posting somewhere by somebody who had the
> same problem. How they figured out that was the problem remains a
> mystery.

It is likely that nobody else noticed this because dbus has moved into
that "it is assumed to be there" tier of daemons these days.  Like most
GNOME components, the GNOME developers are assuming all of GNOME is
available all of the time.



Re: [gentoo-user] Update to /etc/sudoers disables wheel users!!!

2022-10-25 Thread Matt Connell
On Tue, 2022-10-25 at 21:15 -0600, Grant Taylor wrote:
> I *STRONGLY* /OBJECT/ to the notion that users should not edit 
> configuration files.

Calm down.  Nobody said you can't.  I do.  Just know what you're doing
and pay attention to what portage does with package-managed
configuration files.

dispatch-conf even gives you the opportunity to edit it before
applying.



Re: [gentoo-user] Update to /etc/sudoers disables wheel users!!!

2022-10-25 Thread Matt Connell
On Tue, 2022-10-25 at 22:34 -0400, Walter Dnes wrote:
>  Is this a bug?

Nope, this is the way it is supposed to work.

Ramon is correct, user changes should go into sudoers.d which has been
the case for... some years now, I think?  I don't recall.

I still make changes in sudoers directly, and just make sure dispatch-
conf doesn't squish them.  I like to live dangerously I guess.



Re: [gentoo-user] gio/pcmanfm sftp:// "operation not supported"

2022-10-25 Thread Matt Connell
On Tue, 2022-10-25 at 21:31 +, Grant Edwards wrote:
> Google led me to several pages where the problem was not having gvfs
> installed. I do have gvfs installed, but I suspect it's broken. I get
> the impression that
> 
>     $ gio list sftp:///
> 
> is supposed to work, but that too says "Operation not supported".

I don't use pcmanfm, but I do have gvfs installed.  Trying to "gio list
sftp://host; returns "The specified location is not mounted", so at
least my behavior is different.  

(Disclaimer, I may not know what I am doing with gio/gvfs; it is pulled
in by thunar and evince on my system.)

I have gvfs built with the following use flags enabled: cdda, elogind,
gnome-keyring, policykit, udev, udisks

Not sure if any of this is helpful to you or not, but maybe it will
provide a clue.



Re: [gentoo-user] Change History of linux commands

2022-10-07 Thread Matt Connell
On Fri, 2022-10-07 at 11:04 -0600, Grant Taylor wrote:
> I think that being ashamed about not knowing something tends to promote 
> what I consider to be a negative stigmata that people should know 
> everything and that they should hide what they don't know.

Was more just laughing at myself for having used equery so frequently
for ~10 years and not knowing about the option.

And if I was hiding it, I wouldn't have publicly replied that I learned
it :)



Re: [gentoo-user] Change History of linux commands

2022-10-07 Thread Matt Connell
On Fri, 2022-10-07 at 17:47 +0200, tastytea wrote:
> equery meta

Ashamed to admit I learned of equery meta today.  I'd previously been
relying on eix to find, say, the website associated with a package.



Re: [gentoo-user] problem with emerge depclean after world update

2022-09-30 Thread Matt Connell
On Fri, 2022-09-30 at 20:36 +0100, Wol wrote:
> I've noticed that --depclean hardly seems to be cleaning anything out 
> now. Despite regular emerge updates. I do an emerge update world every 
> week, followed immediately by a depclean, but it's probably cleaned 
> maybe one or two packages in the last month? Despite updating loads? Is 
> that normal?

Unless the dependencies of a package change (or you changed the
resulting set of dependencies via USE changes), they aren't usually a
whole lot of deps to clean.  That's my experience anyway.  When I'm
flailing around a lot in package.use I'll have dozens but otherwise its
usually just one or two here and there.




Re: [gentoo-user] Limiting amount of memory a program can use.

2022-08-30 Thread Matt Connell
On Mon, 2022-08-29 at 16:11 -0500, Dale wrote:
> Does deluge have a GUI option?  Of course, if I put it
> on another machine, I may go headless for it.  That's one reason I'm
> asking.  Options.

Yes, deluge has a GUI by default.  I just build it with USE="-gtk -
libnotify -sound webinterface" and then access it by
http://:port from a desktop PC instead.

If you want more details about my setup I'm happy to provide.

Also, for the record, all of my torrent data is on a *USB external hard
disk* which is about the slowest possible workable solution, but it
still performs adequately for my needs.



Re: [gentoo-user] Limiting amount of memory a program can use.

2022-08-29 Thread Matt Connell
How many torrents are you seeding, for a point of comparison?

I use deluge (headless) on my home server, seeding anywhere from 500-
1000 individual torrents, representing ~5TB of total data, and the
process is cruising along at just over 1GB of memory used.

Maybe qbittorrent just doesn't scale well?  I feel like I'm on the
exceedingly-high end of the spectrum with usage of a torrent program,
but I don't know what everyone else is doing.



Re: [gentoo-user] Backup program that compresses data but only changes new files.

2022-08-15 Thread Matt Connell
On Sun, 2022-08-14 at 21:42 -0400, Julien Roy wrote:
> Hello,
> 
> On 8/14/22 18:44, Dale wrote:
> > Thoughts?  Ideas?
> 
> You might be interested in borgbackup [1]
> It takes delta backups and has de-duplication and compression to save 
> some space. It supports encryption too.
> It's packaged in ::gentoo and you run it on whatever machine you want to 
> backup and give it its destination, it can be local or on a remote machine.

Seconding borg.  Once I switched to this, I never have to touch the
backup process.  I wrote a little handful of shell scripts as wrappers
around borg backup/restore/list and they've been running seamlessly for
years, both locally and off-site.




Re: [gentoo-user] pulseaudio - pipewire

2022-08-03 Thread Matt Connell
On Wed, 2022-08-03 at 18:17 +0200, hitachi303 wrote:
> I care about having sound but don't care to much about how it is 
> working. Any suggestions which path will lead me to the goal of having 
> the least trouble in future?

If you're using pulse now and things are working, then stick with
pulse.

If nothing on your system is dependent on pipewire, you've nothing to
gain (right now) from changing.

That's my approach, I'm in a similar position of wanting the least
friction.



Re: [gentoo-user] GNU Jami

2022-07-21 Thread Matt Connell
On Thu, 2022-07-21 at 15:15 +0200, w...@op.pl wrote:
> Does anybody know a reasonable way to install GNU Jami on Gentoo?

I've had success with installing rpm/dpk and installing a package
intended for another system.  You might need to do some minor repairs
with directories, but it is an option.

Many published ebuilds actually already reference .deb files from
github et al and manipulate the results to adapt them for Gentoo.

> do I have to make my own or just git clone the repo and do it all by
> hand?

The nice thing about Gentoo is that you typically have a build
environment for most things already at hand.  I've had success with
this as well.




Re: [gentoo-user] google-chrome-103.0.5060 - choose password for new keyring

2022-07-08 Thread Matt Connell
On Fri, 2022-07-08 at 11:26 -0600, the...@sys-concept.com wrote:
> - if I enter password for the keyring, how to change it in the future.

The aforementioned seahorse will allow you to manage this.  I'm certain
there's a CLI way to access it.

> - do I need to keep that password, will I be ask to use the password

You'll be asked for this password whenever some application tries to
read protected secrets from the keyring, eg. Chrome, in this case.

I believe pam can be configured to allow gnome-keyring to authenticate
against your X(FCE) session login, but I've never bothered to set this
up.

> - which application application are using this keyring?

Lots of things can hook into the keyring optionally.  I mentioned a
few.  Chrome, Chromium, Brave, dBeaver, nheko, Evolution.



Re: [gentoo-user] google-chrome-103.0.5060 - choose password for new keyring

2022-07-08 Thread Matt Connell
On Fri, 2022-07-08 at 09:34 -0400, Matt Connell wrote:
> > Should not this instruction say emerge --pretend  --depclean rather
> > than --unmerge ?
> 
> Since its pretended, the result is the same, ultimately.

I take this back.  You're correct.  depclean should show you what
packages depend on $package which is what is desired.



Re: [gentoo-user] google-chrome-103.0.5060 - choose password for new keyring

2022-07-08 Thread Matt Connell
> > > By upgrading one of my system, I've just noticed this behaviour is 
> > > enforced (I think) by new package that was pulled by emerge:
> > > [ebuild  N    ] gnome-base/gnome-keyring-42.1  USE="pam ssh-agent 
> > > (-selinux) -systemd -test"

> > > I don't use gnome, I use XFCE but I guess one of the package pull this as 
> > > a dependency.

Anecdote time from a fellow XFCE user.  I previously fought against
having gnome-keyring and eventually gave up, since more and more things
wanted to use it.  Now, I find it quite useful.  Lots of GTK
applications (and XFCE is GTK based) want to use gnome-keyring, and
between evolution, dbeaver, nheko, and others, it has become a benefit
(to me) rather than an annoyance.

If you decide to give it a try, app-crypt/seahorse is a useful
companion application for managing the keyring's contents.

> 
> Should not this instruction say emerge --pretend  --depclean rather
> than --unmerge ?

Since its pretended, the result is the same, ultimately.




Re: [gentoo-user] bundler-2.1.4 failing to emerge

2022-07-06 Thread Matt Connell
On Wed, 2022-07-06 at 11:50 -0600, the...@sys-concept.com wrote:
> I'm updating my system, but it is stopping on dev-ruby/bundler-2.1.4
> 
> According rebuild, below it shouldn't be related to new "python"
> 
> [ebuild   R   ] dev-ruby/bundler-2.1.4  USE="doc -test" RUBY_TARGETS="ruby27 
> -ruby26*"

I had this as well.  I had to manually use "eselect ruby" to choose
ruby27 in order to proceed.




Re: [gentoo-user] Seamonkey automatic email download after switch to Oauth2

2022-06-03 Thread Matt Connell (Gmail)
On Fri, 2022-06-03 at 12:57 +0100, Peter Humphrey wrote:
> Would a practical alternative be to have all gmail messages forwarded to 
> another account?

I did this for years before I decided to finally close that google
account.

Ironically I can't close this one (yet) because the gentoo mailing list
won't allow me to subscribe with an email address with a .tech TLD :(



Re: [gentoo-user] Remove rust completely

2022-05-11 Thread Matt Connell
On Wed, 2022-05-11 at 22:24 -0400, Mansour Al Akeel wrote:
> a choice would be to just go with firefox-bin if not rust-bin.

I went with rust-bin because lots of GTK programs (evince, gimp,
deluge) as well as some other miscellaneous utilities rely on librsvg
which requires rust.

So, since I need rust anyway, I just use the bin version to save
effort, but still build firefox from source in order to disable anti-
features like EME.



Re: [gentoo-user] dev-lang/perl upgrade failure

2022-05-11 Thread Matt Connell (Gmail)
>   emerge -av --depclean
>   perl-cleaner --all

Nothing to depclean and perl-cleaner reports nothing to rebuild

> https://forums.gentoo.org/viewtopic-p-8680082.html

None of the ideas here helped me either.

Neither did changing the LANG nor MAKEOPTS.

... however, I was able to figure out what was causing the failures, if
not why.

I had "icecream" in my FEATURES, even though I never bothered setting
up the service or anything to use it.  I removed this from FEATURES and
the build completed successfully.

Lesson learned.



[gentoo-user] dev-lang/perl upgrade failure

2022-05-10 Thread Matt Connell
I can't figure out why a perl update isn't building.  This is only
happening on one single machine out of the half dozen Gentoo systems I
have running.  I've never had issues building perl itself either. 
Modules sure, but never the main perl package.

My search-fu is failing me as well, apparently, so I turn to y'all. 
Can someone point me in the right direction?

Attached are the output of:

- emerge -pqv '=dev-lang/perl-5.34.0-r9::gentoo' as emerge-pretend.txt
- emerge --info '=dev-lang/perl-5.34.0-r9::gentoo' as emerge-info.txt

And the build log as build.log
 * Package:dev-lang/perl-5.34.0-r9
 * Repository: gentoo
 * Maintainer: p...@gentoo.org
 * USE:abi_x86_64 amd64 elibc_glibc gdbm kernel_linux userland_GNU
 * FEATURES:   network-sandbox preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
>>> Unpacking perl-5.34.0.tar.xz to /var/tmp/portage/dev-lang/perl-5.34.0-r9/work
>>> Unpacking perl-5.34.0-patches-1.tar.xz to /var/tmp/portage/dev-lang/perl-5.34.0-r9/work
>>> Unpacking perl-cross-1.3.6.tar.gz to /var/tmp/portage/dev-lang/perl-5.34.0-r9/work
>>> Source unpacked in /var/tmp/portage/dev-lang/perl-5.34.0-r9/work
>>> Preparing source in /var/tmp/portage/dev-lang/perl-5.34.0-r9/work/perl-5.34.0 ...
 * Adding 0101-Fix-build-with-gdb120.patch to patch bundle
 * Injecting patch-level info into 0006-List-packaged-patches-in-patchlevel.h.patch.desc ( *List-packaged-patches* )
 * Applying 0001-Fix-hpux-hints.patch ...
 [ ok ]
 * Applying 0002-aix-gcc-detection-and-shared-library-soname-support.patch ...
 [ ok ]
 * Applying 0003-cpan-ExtUtils-MakeMaker-drop-PORTAGE_TMPDIR-from-LD_.patch ...
 [ ok ]
 * Applying 0004-Remove-rpath-and-append-LDFLAGS-to-lddlflags.patch ...
 [ ok ]
 * Applying 0005-Add-headers-for-opensolaris.patch ...
 [ ok ]
 * Applying 0006-List-packaged-patches-in-patchlevel.h.patch ...
 [ ok ]
 * Applying 0007-Cleanup-PATH-and-shrpenv.patch ...
 [ ok ]
 * Applying 0008-Tweak-enc2xs-to-follow-symlinks-and-ignore-missing-I.patch ...
 [ ok ]
 * Applying 0009-darwin-Use-CC-to-link.patch ...
 [ ok ]
 * Applying 0010-Provide-a-sensible-INSTALLDIRS-default-for-modules-i.patch ...
 [ ok ]
 * Applying 0011-Fix-interix-hints.patch ...
 [ ok ]
 * Applying 0012-Set-libperl-soname.patch ...
 [ ok ]
 * Applying 0013-Add-etc-perl-to-INC.patch ...
 [ ok ]
 * Applying 0014-cpan-ExtUtils-MakeMaker-remove-targets-that-generate.patch ...
 [ ok ]
 * Applying 0015-Don-t-force-fstack-protector-on-everyone.patch ...
 [ ok ]
 * Applying 0016-Do-not-set-custom-CFLAGS-in-cpan-Digest-SHA.patch ...
 [ ok ]
 * Applying 0017-Configure-Don-t-include-sources-in-usr-local-for-com.patch ...
 [ ok ]
 * Applying 0018-cpan-IO-Socket-IP-Disable-network-tests.patch ...
 [ ok ]
 * Applying 0019-Fix-EUMM-podlocal-tests.patch ...
 [ ok ]
 * Applying 0020-Skip-auto-linking-nsl-and-cl.patch ...
 [ ok ]
 * Applying 0021-Disable-porting-tests-which-create-fun-false-failure.patch ...
 [ ok ]
 * Applying 0022-Disable-PathTools-tests-which-fails-under-sandboxing.patch ...
 [ ok ]
 * Applying 0023-Fix-CPAN-FirstTime-defaults-with-nonexisting-site-di.patch ...
 [ ok ]
 * Applying 0024-Pass-LD-settings-through-to-subdirectories.patch ...
 [ ok ]
 * Applying 0025-Memoize-Storable-respect-nstore-option-not-respected.patch ...
 [ ok ]
 * Applying 0026-Better-errors-for-man-pages-from-standard-input.patch ...
 [ ok ]
 * Applying 0027-Respect-umask-during-installation.patch ...
 [ ok ]
 * Applying 0028-Document-that-CCFLAGS-should-include-Config-ccflags.patch ...
 [ ok ]
 * Applying 0029-Fix-parallel-building.patch ...
 [ ok ]
 * Applying 0030-Add-support-for-Dgentoolibdirs.patch ...
 [ ok ]
 * Applying 0101-Fix-build-with-gdb120.patch ...
 [ ok ]
 * Generating patchlevel-gentoo.h
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-lang/perl-5.34.0-r9/work/perl-5.34.0 ...
 * Scanning for old @INC dirs matching '.*/5[.][0-9]+\([.][0-9]+\|\)$' in: /usr/lib64/perl5 /usr/local/lib64/perl5 /usr/lib64/perl5/vendor_perl
 * Normalizing/Sorting candidate list: 5.34 5.34
 *  to remove '5.34'
First let's make sure your kit is complete.  Checking...
Locating common programs...
Checking compatibility between /bin/echo and builtin echo (if any)...
Symbolic links are supported.
Checking how to test for symbolic links...
You can test for symbolic links with 'test -h'.
Checking for cross-compile
No targethost for running compiler tests against defined, running locally
Good, your tr supports [:lower:] and [:upper:] to convert case.
Using [:upper:] and [:lower:] to convert case.
UNCACHED_ERR_FD provides an invalid file descriptor, using stderr
aix   	 bsdos   	   dos_djgpp freemint   	 interix  linux-android   	ncr_tower os400   	sco_2_3_3 svr5   	  uwin   
aix_3catamount dragonfly gnu   		 irix_4   linux   		netbsdposix-bc  sco_2_3_4 ti1500   	  vos   
aix_4convexos  dynix   	 gnukfreebsd irix_5   lynxos   		newsos4   qnx   	solaris_2  

Re: [gentoo-user] Would a Thinkpad X200 be too much trouble too run gentoo on?

2022-04-21 Thread Matt Connell (Gmail)
On Thu, 2022-04-21 at 09:41 -0400, Michael Orlitzky wrote:
> FWIW I dodge the librsvg (and therefore rust) dependency by using a
> binpkg for my desktop icons.

Clever.  Unfortunately for me I still need gimp and evince and a few
others that depend on it, otherwise I'd be tempted to try to replicate
that.



Re: [gentoo-user] Would a Thinkpad X200 be too much trouble too run gentoo on?

2022-04-21 Thread Matt Connell (Gmail)
On Thu, 2022-04-21 at 09:09 -0400, Michael Orlitzky wrote:
> dev-lang/rust

There is rust-bin, though.  I use rust-bin on even brand new machines
and even though I try to use source builds whenever because I just
can't be bothered with the compilation problems and time.

> net-libs/webkit-gtk

OP isn't using evolution so they may be able to dodge this one.





Re: [gentoo-user] gentoo for a virtual server in the cloud?

2022-03-20 Thread Matt Connell
On Fri, 2022-03-18 at 14:57 -0600, Grant Taylor wrote:
> I've got a Gentoo image running in Linode without any problem.
> 
> I'm fairly certain that they offer Gentoo as an option when creating
> the VPS.  It's been too long and I've messed with too many things
> since then.

They do.  I have happily run a Gentoo Linode VM for years now.




Re: [gentoo-user] portage - ERROR: setup

2022-03-08 Thread Matt Connell
On Tue, 2022-03-08 at 16:12 -0700, the...@sys-concept.com wrote:
> In /usr/src/linux is pointing correctly:
> 
>    linux -> linux-5.10.61-gentoo

5.10.61 isn't offered by gentoo-sources anymore.  I think you probably
depcleaned it at some point since then, so there are no more sources
there.

Suggest updating your symlink to the version you have installed.




Re: [gentoo-user] Dlang questions, problem emerging gtkd and how to emerge gdc_11_ 2 ?

2022-03-02 Thread Matt Connell (Gmail)
On Wed, 2022-03-02 at 10:57 -0500, Chris Phillips wrote:
> Although I wonder why dmd-2_096 wasn't in the list ?

gtkd probably doesn't support that version of dmd just yet.  Just a
guess, without examining the ebuild.




Re: [gentoo-user] Dlang questions, problem emerging gtkd and how to emerge gdc_11_ 2 ?

2022-03-02 Thread Matt Connell (Gmail)
On Wed, 2022-03-02 at 09:46 -0500, Matt Connell (Gmail) wrote:
> You have to manually specify, via a USE flag, which version of dmd that
> you want.
> 
> eg. "net-misc/onedrive dmd-2_095" in /etc/portage/package.use/dmd

Sorry, for this, I copied my *own* use flag file with the package for
which I specify a dmd version, instead of yours.

The point is still the same though, packages that require dmd have to
be specified which version of the compiler to use.




Re: [gentoo-user] Dlang questions, problem emerging gtkd and how to emerge gdc_11_ 2 ?

2022-03-02 Thread Matt Connell (Gmail)
On Wed, 2022-03-02 at 09:27 -0500, Chris Phillips wrote:
>   The following REQUIRED_USE flag constraints are unsatisfied:
>     any-of ( dmd-2_076 dmd-2_077 dmd-2_074 dmd-2_075 dmd-2_078 dmd-2_079
> dmd-2_089 dmd-2_088 dmd-2_083 dmd-2_082 dmd-2_081 dmd-2_080 dmd-2_087
> dmd-2_086 dmd-2_085 dmd-2_084 dmd-2_090 dmd-2_091 dmd-2_092 dmd-2_093
> dmd-2_094 dmd-2_095 gdc-11_2_0 ldc2-1_25 )

You have to manually specify, via a USE flag, which version of dmd that
you want.

eg. "net-misc/onedrive dmd-2_095" in /etc/portage/package.use/dmd

It is a bit bothersome to have to manually update this when dmd
updates, but that's just the way it is packaged, I suppose.




Re: [gentoo-user] problem installing confluent-kafka from guru

2022-02-23 Thread Matt Connell (Gmail)
On Wed, 2022-02-23 at 11:28 +0300, Anatoly Oreshkin wrote:
> Unfortunately specifying dev-python/confluent-kafka::guru hasn't
> helped.

Unfortunately I don't have any better ideas.  I've had more problems
with the pkg.installed state than any other single thing in Salt.

If you states don't need to be extended to other platforms, you could
just resort to cmd.run again.  Seems you're already doing that with
emaint anyway.




Re: [gentoo-user] problem installing confluent-kafka from guru

2022-02-22 Thread Matt Connell (Gmail)
On Tue, 2022-02-22 at 10:02 +0300, Anatoly Oreshkin wrote:
> The following package(s) were not found, and no possible matches were
> found in the package db: dev-python/confluent-kafka.

I've never used a gentoo system with salt stack, but I had a thought. 
Salt can be picky with package names sometimes.

Try specifying the package name this way, with the repository
explicitly specified:

dev-python/confluent-kafka::guru





Re: [gentoo-user] Rootless X without elogind

2022-02-16 Thread Matt Connell (Gmail)
On Wed, 2022-02-16 at 20:05 +0100, Björn Fischer wrote:
> But I did not want to bloat my system with
> elogind (not to mention systemd)

For the sake of the argument, elogind is a standalone package.  systemd
provides 'logind'.  I run all my systems without systemd with lightdm
as a display manager happily.

> I created a small PAM module "pam_tty.so", which simply chowns the
> corresponding /dev/ttyN on a successful login on a virtual console.
> All other privileges can be granted by Unix groups.

A novel solution.  Without reviewing the code, I like the idea.




Re: [gentoo-user] Contribution: Python C Code builder, Simple Build

2022-01-20 Thread Matt Connell
On Thu, 2022-01-20 at 17:12 +0100, Attila Boczkó wrote:
> I would like to send a little python program that runs GCC to compile
> the C code. The C Code can put multiple sub directories in the main
> SRC directory. The python code uses os.walk method to find all C Code
> files and pass it to GCC.

So, you've reinvented makefiles?




Re: [gentoo-user] eudev/udev changeover: a warning to Linode customers

2021-12-01 Thread Matt Connell (Gmail)
On Wed, 2021-12-01 at 14:28 -0500, Rich Freeman wrote:
> indeed being able to change this stuff is part of the appeal of
> Gentoo.  Besides, Gentoo users probably would want to be aware of it
> anyway...

Amen.  I knew what I was signing up for.  Just hoping to save someone
else an unexpected trip through the recovery console.  Learning things
the hard way so that others won't have to!




[gentoo-user] eudev/udev changeover: a warning to Linode customers

2021-12-01 Thread Matt Connell (Gmail)
If you have a Gentoo machine running on Linode, take care to note that
the eudev => udev changeover requires some manual intervention before
the next reboot.

You will need to DISABLE the network autoconfiguration option for the
VM, and edit /etc/conf.d/net to specify the new, 'predictable' network
interface name.  This is because Linode's network autoconfigurator is
hard-coded to generate a configuration using the traditional style of
network interface names, eg. eth0 

Alternatively, you can make whatever changes are required to have the
system enumerate the network interfaces with the old style names.

If you do neither of those things, you will need to use the rescue
console in order to log into the machine and fix your network
configuration, as the system will not be able to bring up the network
on its next boot.  Ask me how I learned this.




Re: [gentoo-user] world update problem again

2021-11-30 Thread Matt Connell (Gmail)
On Tue, 2021-11-30 at 09:18 -0500, Rich Freeman wrote:
> A little background for the curious, and I'll just try to stick to the
> factual narrative and what the main opinions are:

Thank you for a good, objective breakdown.

Gentoo is in an awkward position here: as was discussed in the bug, it
isn't simply a matter of setting libpng[-apng] by default, letting
Mozilla bundle their own libpng, and moving on with life.  Other
programs on Gentoo systems, built against libpng over the years with
apng support, will suddenly *not* have it, and this situation could
cause problems and data loss for users.

I'm not a (Gentoo) dev, and I don't have strong feelings either way,
but it is an unenviable position to be in.  Regardless, I have trust
that things will be resolved reasonably in the end.




Re: [gentoo-user] world update problem again

2021-11-30 Thread Matt Connell (Gmail)
On Tue, 2021-11-30 at 14:27 +0100, Arve Barsnes wrote:
> > Hi.  So, on my latest attempt at a world update today, I am getting a
> > crazy problem with libpng, with some packages insisting on the use
> > flag -apng (portage made me put it in), but other packages insisting
> > on the use flag apng.
> > 
> > Thanks in advance for any suggestions.
> 
> That is a direct conflict between chromium and firefox/thunderbird.
> You can avoid it by removing the system-png flag from chromium.

This has been a hotly debated topic recently.  For more backstory, see
this bug: https://bugs.gentoo.org/824018




Re: [gentoo-user] Switching from eudev to udev, disaster.

2021-11-29 Thread Matt Connell
On Mon, 2021-11-29 at 22:47 -0600, Dale wrote:
> Now if I can figure out how to reset the list of /dev/sd* names that
> are lurking about and inconsistent, that would be like striking
> gold.  Every time I hook up my external drive, it gets a different
> sd* name.  It does the same on the SD cards from my trail cameras too
> but I can auto mount those. 

I'd suggest using the UUIDs for the disks (acquired via the blkid
command) and adding them to your /etc/fstab ... That's always been my
solution to commonly-connected-but-never-permanently external disks.

It won't ensure the same sd* name, but it will ensure that they get
mounted consistently where you expect them to be.




Re: [gentoo-user] Any decent alternative to Thunderbird?

2021-11-14 Thread Matt Connell
On Sun, 2021-11-14 at 22:23 +, Wol wrote:
> Any decent alternative to Thunderbird?

I switched to Evolution and never looked back.  It does everything I
needed from T-Bird without relying on plugins/addons.




Re: [gentoo-user] sudo-1.9.8_p2 produces Segmentation Fault on any use

2021-11-09 Thread Matt Connell (Gmail)
On Tue, 2021-11-09 at 22:36 +0200, Anton wrote:
> Is it just me, or has anybody else seen a similar problem?

Working fine here, with the following USE set:

USE="-gcrypt -ldap nls offensive pam -sasl secure-path (-selinux)
sendmail -skey ssl -sssd" ABI_X86="(64)"

I wonder if your issue isn't related to updated PAM libraries.  The
post emerge messages for PAM suggest either rebooting or restarting
certain services after upgrades.




  1   2   >