View previous topic :: View next topic |
Author |
Message |
MurphyG n00b
Joined: 19 Oct 2010 Posts: 26
|
Posted: Sun Nov 13, 2022 10:37 am Post subject: xscreensaver complaining about its age |
|
|
Annoyed by the XScreenSaver nag message "Update available! This version is very old."? Paste the patch below into Code: | /etc/portage/patches/x11-misc/xscreensaver/remove-update-message-6.01.patch | re-emerge and be happy.
Code: | --- xscreensaver-6.01/driver/dialog.c.orig 2022-11-13 11:20:48.097001236 +0100
+++ xscreensaver-6.01/driver/dialog.c 2022-11-13 11:26:04.350979562 +0100
@@ -1285,7 +1285,7 @@
lines[i].align = CENTER;
i++;
- if (time ((time_t *) 0) - XSCREENSAVER_RELEASED > 60*60*24*30*17)
+ /*if (time ((time_t *) 0) - XSCREENSAVER_RELEASED > 60*60*24*30*17)
{
lines[i].text = _("Update available!\nThis version is very old.\n");
lines[i].font = ws->error_font;
@@ -1295,7 +1295,7 @@
lines[i].align = CENTER;
i++;
}
- else if (strstr (ws->version, "a") ||
+ else*/ if (strstr (ws->version, "a") ||
strstr (ws->version, "b"))
{
lines[i].text = _("PRE-RELEASE VERSION"); |
|
|
Back to top |
|
|
Banana Moderator
Joined: 21 May 2004 Posts: 1787 Location: Germany
|
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 22819
|
|
Back to top |
|
|
Banana Moderator
Joined: 21 May 2004 Posts: 1787 Location: Germany
|
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 22819
|
Posted: Tue Nov 15, 2022 8:25 pm Post subject: |
|
|
According to the cited code, this is purely a time based check. The author apparently assumed there was no way the package would go 17 months with no updates, so the package just assumes that once it is 17 months old, it must be out of date. |
|
Back to top |
|
|
Banana Moderator
Joined: 21 May 2004 Posts: 1787 Location: Germany
|
|
Back to top |
|
|
AJM Apprentice
Joined: 25 Sep 2002 Posts: 195 Location: Aberdeen, Scotland
|
Posted: Wed Nov 16, 2022 11:44 pm Post subject: |
|
|
Banana wrote: | since I do only use the screensaver to lock the system, is there an alternative? Just asking out if curiosity and not out of I really need one. |
x11-misc/slock (from suckless) has worked faultlessly for me for a few years now... |
|
Back to top |
|
|
psycho Guru
Joined: 22 Jun 2007 Posts: 544 Location: New Zealand
|
Posted: Thu Nov 17, 2022 1:29 am Post subject: |
|
|
AJM wrote: | Banana wrote: | since I do only use the screensaver to lock the system, is there an alternative? Just asking out if curiosity and not out of I really need one. |
x11-misc/slock (from suckless) has worked faultlessly for me for a few years now... |
+1 for slock. None of the pointless bells and whistles, just does the job well. |
|
Back to top |
|
|
Banana Moderator
Joined: 21 May 2004 Posts: 1787 Location: Germany
|
|
Back to top |
|
|
MurphyG n00b
Joined: 19 Oct 2010 Posts: 26
|
Posted: Tue Nov 29, 2022 7:14 pm Post subject: |
|
|
Not exactly. But it's interesting to read about Jamie's (IMHO a bit egocentric) POV. So, here's my own egocentric POV:
- This patch is purely for my own convenience, and those who are as annoyed as me by a red flashing pointless alert every time they log in. As a user I just don't care about the warning, as long as the provided application does it's job properly.
- It's not that the version provided by portage is totally outdated. xscreensaver appears to be rock-solid in the core, getting the necessary maintanence to adapt to the changing lib landscape. Feel free to update me about major issues I as a non-maintainer am ignorantly not aware of.
- That discussion is 7 years old, with the last contribution made 6 years ago. It might be time to reconsider the implicit or explicit requirements that might have been appropriate back then, or in the ages before.
- Maintaining a solely time-based obsolescence warning for a settled application in maintenance mode seems a bit short-sighted to me. Face it, there's software that will be out here for the next decades, as long as it's useful and can be maintained.
- I don't care if Jamie is striving to fight the implications of his own law and still plans to add reading email to xscreensaver (or does it already?) to fend off obsolescence ;-)
- Package maintainers also have other considerations and requirements to take into account than the somehow arbitrary wishes of the original creator to always jump at their latest release. Note that this discussion is not directly related to licensing (AFAI can tell).
But why am I holding on to xscreensaver?
- Because I always did use it.
- Because I'm too lazy to switch.
- Because it does it's job.
- Because I'm accustomed, if not addicted, to exactly one of the screensavers.
- Because I can watch that screensaver and lock my screen with it.
Disclaimer: This post was written for my amusement, to some extend to satisfy a sarcastic streak, and a tiny bit because reading jwz's demands stirred some protest in me. Totally not to annoy any Gentoo maintainers. |
|
Back to top |
|
|
|