LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Requests for -current (14.2-->15.0) (https://www.linuxquestions.org/questions/slackware-14/requests-for-current-14-2-15-0-a-4175620463/)

bassmadrigal 04-06-2021 11:24 PM

Quote:

Originally Posted by andrew.46 (Post 6238030)
With the 15.0 beta coming out next week or so it would be nice if the final choice of kernel held the long waited for fix for the Amazon Kindle device:

https://github.com/torvalds/linux/co...4364542fa3f3a7

I have been patching my working kernel for some time now to get around an odd 'unmounting' issue with my Kindle Oasis and with the eventual backport of this fix the need will be gone...

The original bug here...

According to this comment, upstream has fixed this. Looking over the commit history for 5.10, it should be in 5.10.26, which means the fix has been in -current since 26 MAR. (It's been in the 5.11.x series since 5.11.9, so that's been fixed on -current since 25 MAR.)

Code:

Alan Stern (1):
      usb-storage: Add quirk to defeat Kindle's automatic unload

SOURCE: 5.10.26 Release notes

No more need to patch your kernels!

andrew.46 04-07-2021 12:17 AM

Quote:

Originally Posted by bassmadrigal (Post 6238041)
According to this comment, upstream has fixed this.

Your link is broken but I think you are referring to the Calibre fix which did not do anything useful with my Kindle Oasis unfortunately. From the time of the original bug report I have simply been compiling a 'safe' kernel for everyday use that has the problem patch reversed.

Quote:

Looking over the commit history for 5.10, it should be in 5.10.26, which means the fix has been in -current since 26 MAR. (It's been in the 5.11.x series since 5.11.9, so that's been fixed on -current since 25 MAR.)
Thanks for that, I have been using 5.10.18 on -current so the incorporation of the fix went completely unnoticed by me :).

Quote:

No more need to patch your kernels!
Perhaps no need any more so now I will just do it for fun!

bassmadrigal 04-07-2021 12:39 AM

Quote:

Originally Posted by andrew.46 (Post 6238045)
Your link is broken but I think you are referring to the Calibre fix which did not do anything useful with my Kindle Oasis unfortunately. From the time of the original bug report I have simply been compiling a 'safe' kernel for everyday use that has the problem patch reversed.

Oops! I fixed the link. It was the bottom comment of the kernel bug report you linked to. It said the fix has been done in 5.12 and will be backported to all active kernels back to 4.14 (so, 4.14, 4.19, 5.4, 5.10, and 5.11).

I just searched the commit history for 5.10 and 5.11 for the title of the patch you linked to, and it shows it should be in 5.10.26 and 5.11.9.

teoberi 04-07-2021 12:40 AM

Anyway: 5.12 kernel as the first option or if not in /testing.:)

chris.willing 04-07-2021 02:48 AM

Could we add an AV1 codec for ffmpeg?

Easiest options are:
  • grab aom from SBo and add --enable-libaom in ffmpeg build options
  • grab dav1d from SBo and add --enable-libdav1d in ffmpeg build options
Other options are:
  • create new SlackBuild for rav1e and add --enable-rav1e in ffmpeg build options
  • create new SlackBuild for STV-AV1 and add --enable-stvav1 in ffmpeg build options

According to https://www.andrews-corner.org/sintel.html, rav1e is the one to go for. However I've been using the SBo's aom to build av1 support into the ffmpeg4 SlackBuild (14.2), which the mpv video player uses as a back end, and it seems to play back an AV1 encoded test video just fine.

I've locally rebuilt -current's ffmpeg with SBo's aom & --enable-libaom option and the resulting ffplay handles the AV1 test file too. Without the --enable-libaom option, ffplay plays the test video's audio OK but the video comes out as noise (not random but not really psychedelic either). As for mpv (which uses ffmpeg as backend) current's existing ffmpeg, without --enable-libaom, the test file can no longer be played at all, with mpv complaining:
Code:

(+) Video --vid=1 (*) (av1 1280x720 24.000fps)
 (+) Audio --aid=1 (*) (aac 2ch 48000Hz)
Failed to initialize a decoder for codec 'av1'.
Video: no video

Exiting... (Errors when loading file)

BTW, the ffmpeg AV1 related build options are from https://ffmpeg.org/general.html (search for AV1) which also gives instructions to find & build each codec.

chris

andrew.46 04-07-2021 04:17 AM

dav1d (decoding) would be the easy add-in for current as this should enable AV1 playback for FFplay at the very least; mpv would pick this up as well. Building rav1e (encoding) is not the cleanest undertaking in the world although I see our Ubuntu colleagues have been running rav1e with FFmpeg for almost 1.5 years now :)

Code:

andrew@ilium/mnt/ssd2/Sintel$ mpv -autofit=800 sintel_trailer_av1.mp4
 (+) Video --vid=1 (*) (av1 1280x720 24.000fps)
 (+) Audio --aid=1 (*) (aac 2ch 48000Hz)
AO: [pulse] 48000Hz stereo 2ch float
VO: [gpu] 1280x720 yuv420p
AV: 00:00:38 / 00:00:52 (74%) A-V:  0.002 DS: 2.500/0


igadoter 04-07-2021 09:56 AM

Remmina for vm's tabbed management - via RDP - like in VMware Workstation - all your vm's in one place.

biker_rat 04-07-2021 03:09 PM

Mesa 21.0.2

th_r 04-08-2021 07:28 AM

hi.

Need recompile poppler 21.04.0 with two patch:

Fix Scribus 1.5.6.1 compile with poppler 21.04.0 -> https://cgit.freedesktop.org/poppler...d269df2a0234cf
TextOutputDev: Fix crash in malformed file -> https://cgit.freedesktop.org/poppler...9024218d7be3ba

Thanks

saxa 04-08-2021 07:48 AM

vala-0.52.1
https://download.gnome.org/sources/v...-0.52.1.tar.xz

saxa 04-08-2021 09:56 AM

glib-2.68.1
https://download.gnome.org/sources/g...-2.68.1.tar.xz

USUARIONUEVO 04-08-2021 03:26 PM

GCC-10.3 is out

The changelog have interesting fixes

https://gcc.gnu.org/gcc-10/changes.html


sources --> http://mirror.linux-ia64.org/gnu/gcc...-10.3.0.tar.xz

upnort 04-08-2021 04:59 PM

Pat,

By design networking is not initialized when booting directly into runlevel 1. When rebooting directly from that level rc.inet1 is launched through rc.6. This produces helpful rc.inet1 debug messages, but includes stderr spew from the 'ip route' command because there is no network route in that state.

Code:

Error: ipv4: FIB table does not exist
Dump terminated

The stderr spew is cosmetic, but perhaps the nominally confusing spew could be avoided. Possibly in rc.K with 'rc.inet1 2>/dev/null'.

Thanks. :)

upnort 04-08-2021 05:03 PM

Pat,

Proposed usability patch for rc.K:

Code:

--- rc.K        2020-01-13 12:56:53.000000000 -0600
+++ rc.K.new        2021-04-08 16:47:10.190723682 -0500
@@ -14,6 +14,10 @@
 # Set the path.
 PATH=/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin
 
+# Tell the viewers what's going to happen.
+echo
+echo "Preparing for single user mode (run level 1)."
+
 # Load a custom screen font if the user has an rc.font script.
 if [ -x /etc/rc.d/rc.font ]; then
  /etc/rc.d/rc.font

Thanks. :)

ialexand 04-08-2021 05:59 PM

Quote:

Originally Posted by pisti (Post 6236924)
apparently xv is now located here :



i would be very sad to see it gone ! i use many other image processing tools - but for simple displaying xv was for decades always very handy, fast, light...

Well, there is display in ImageMagick which is more convenient to use.

ialexand 04-08-2021 06:05 PM

Why not to add webkit2gtk to -current? It's needed by so many important applications.

Didier Spaier 04-08-2021 06:15 PM

[wrong thread]

upnort 04-08-2021 10:07 PM

Pat,

Proposed rc.K patch with respect to a weird bug. Possibly this is an n=1 bug, but the patch resolves the issue for me and does not affect the rc.K script or usability. Basically just move the rc.font and rc.keymap execution to the end of rc.K.

Thanks. :)

Code:

--- /tmp/rc.K
+++ /tmp/rc.K.new
@@ -13,16 +13,6 @@
 
 # Set the path.
 PATH=/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin
-
-# Load a custom screen font if the user has an rc.font script.
-if [ -x /etc/rc.d/rc.font ]; then
-  /etc/rc.d/rc.font
-fi
-
-# Load any needed keyboard mappings:
-if [ -x /etc/rc.d/rc.keymap ]; then
-  /etc/rc.d/rc.keymap
-fi
 
 # If there are SystemV init scripts for this runlevel, run them.
 if [ -x /etc/rc.d/rc.sysvinit ]; then
@@ -81,7 +71,7 @@
 /bin/umount -v -a -l -f -r -t nfs,nfs4,smbfs,cifs | tr -d ' ' | grep successfully | sed "s/:successfullyunmounted/ has been successfully unmounted./g"
 
 # Shut down PCMCIA devices:
-if [ -x /etc/rc.d/rc.pcmcia ] ; then
+if [ -x /etc/rc.d/rc.pcmcia ]; then
  /etc/rc.d/rc.pcmcia stop
  # The cards might need a little extra time here to deactivate:
  sleep 5
@@ -120,6 +110,16 @@
 done
 echo
 
+# Load a custom screen font if the user has an rc.font script.
+if [ -x /etc/rc.d/rc.font ]; then
+  /etc/rc.d/rc.font
+fi
+
+# Load any needed keyboard mappings:
+if [ -x /etc/rc.d/rc.keymap ]; then
+  /etc/rc.d/rc.keymap
+fi
+
 # Now go to the single user level
 echo "Going to single user mode..."
 /sbin/telinit -t 1 1


Lockywolf 04-08-2021 11:34 PM

Code:

/var/log/packages/kservice-5.80.0-x86_64-1:etc/profile.d/kde.sh
still has a reference to kde4

Code:

PATH="$PATH:/usr/lib64/kf5:/usr/lib64/kde4/libexec"
That's wrong, right?

Lockywolf 04-08-2021 11:35 PM

gnupg 2.3.0

pghvlaans 04-09-2021 12:50 AM

2 Attachment(s)
Quote:

Originally Posted by Lockywolf (Post 6238836)
Code:

/var/log/packages/kservice-5.80.0-x86_64-1:etc/profile.d/kde.sh
still has a reference to kde4

Code:

PATH="$PATH:/usr/lib64/kf5:/usr/lib64/kde4/libexec"
That's wrong, right?

It's the same in /etc/profile.d/kde.csh. I've been using a couple of patches that check for the existence of the KDE4 directory to keep the path neat and tidy.

gouttegd 04-09-2021 03:20 AM

Quote:

Originally Posted by Lockywolf (Post 6238839)
gnupg 2.3.0

I personally would be all in favor for that (I am already using GnuPG 2.3.0 here), but please note that this is a development branch (as GnuPG 2.1 was in its time). As the stable 2.2 branch is expected to be maintained at least until december 2024, maybe Slackware-15 should be shipped with it instead?

biker_rat 04-09-2021 07:03 AM

Ffmpeg 4.4

MDKDIO 04-09-2021 08:18 AM

Pidgin 2.14.3
http://downloads.sourceforge.net/pid...2.14.3.tar.bz2

MDKDIO 04-09-2021 08:20 AM

Thunderbird 78.9.1
https://www.thunderbird.net/en-US/th.../releasenotes/

upnort 04-09-2021 10:45 AM

Pat,

Proposed usability patch for rc.inet1.conf:

Code:

--- rc.inet1.conf        2021-04-09 10:39:43.320849604 -0500
+++ rc.inet1.conf.new        2021-04-09 10:44:00.881610200 -0500
@@ -14,6 +14,11 @@
 #
 # Important note for IPv6 stateless auto configuration (SLAAC) users:
 # From Slackware 15.0 onwards, you need to set USE_SLAAC[0]="yes" below.
+#
+# The previous method of using the NETMASK[0] field no longer exists.
+# Instead use CIDR notation in the IP address. For example,
+# IPADDRS[0]="192.168.1.10/24". When used the pkgtools netconfig tool
+# will automatically add the CIDR notation.
 
 # =============================================================================

Thanks. :)

saxa 04-09-2021 01:44 PM

gdk-pixbuf-2.42.6
https://download.gnome.org/sources/g...-2.42.6.tar.xz

franzen 04-09-2021 03:26 PM

To be more clear what the bzip/zlib change to perl.SlackBuild helps:
Code:

# readelf -d /usr/lib64/perl5/auto/Compress/Raw/Bzip2/Bzip2.so | grep bz2
 0x0000000000000001 (NEEDED)            Shared library: [libbz2.so.1]
# readelf -d /usr/lib64/perl5/auto/Compress/Raw/Zlib/Zlib.so | grep libz
 0x0000000000000001 (NEEDED)            Shared library: [libz.so.1]

Currently these are built in statically.

USUARIONUEVO 04-09-2021 04:56 PM

Hi ,after addition of c-ares i suggest rebuild --> nghttp2
This can catch c-ares , autdetected no need extra flags or option build.

Thanks!

franzen 04-10-2021 01:22 AM

To bring mozjs78 in line with the other mozilla builds, please consider for mozjs78.SlackBuild:
Code:

--with-system-nspr
--linker=lld
--enable-release

For firefox --enable-release is set by BUILD_OFFICIAL="1".

system-nspr:
Code:

readelf -d /usr/lib/libmozjs-78.so.0.0.0 | grep 4.so
 0x0000000000000001 (NEEDED)            Shared library: [libplds4.so]
 0x0000000000000001 (NEEDED)            Shared library: [libplc4.so]
 0x0000000000000001 (NEEDED)            Shared library: [libnspr4.so]


franzen 04-10-2021 01:56 AM

Building firefox/thunderbird against more system-libs brought some instability in former times. This seems to have improved as some problematic options were removed entirely, what's left is used by arch/gentoo/..., so these are probably to consider:
Code:

--with-system-ffi
--with-system-pixman
--with-system-icu
--with-system-jpeg
--with-system-webp
--with-system-libevent
--with-system-libvpx


Markus Wiesner 04-10-2021 09:41 AM

installpkg writes COMPRESSED PACKAGE SIZE and UNCOMPRESSED PACKAGE SIZE with a comma if an appropriate locale (like LANG=de_DE.utf8) is set during installation:

Code:

PACKAGE NAME:    elogind-246.10-x86_64-1
COMPRESSED PACKAGE SIZE:    1,1M
UNCOMPRESSED PACKAGE SIZE:    4,4M

I think it would be better to normalize this with LC_ALL=C when setting COMPRESSED and UNCOMPRESSED. Currently i have a mixture of formattings with comma and dot in /var/lib/pkgtools/packages because LANG was sometimes de_DE and sometimes en_US. :(

By the way: mariadb still always overwrites /etc/security/user_map.conf on update, see here. The default file only contains comments, so there is no need to force an update of this file.

madridsecreto 04-10-2021 10:09 AM

Can we remove the second compilation of emacs-no-x11 from the Emacs package's slackbuild? We can always pass the option '-nw' to regular Emacs' binary to get the same result. That's what I use myself for editing emails with Mutt and git commit messages. It works fine and would allow us to take advantage of pdumper again, which should make the program boot a little faster. (That option is currently removed in the SlackBuild.)

Lockywolf 04-10-2021 10:13 AM

Quote:

Originally Posted by madridsecreto (Post 6239529)
Can we remove the second compilation of emacs-no-x11 from the Emacs package's slackbuild? We can always pass the option '-nw' to regular Emacs' binary to get the same result. That's what I use myself for editing emails with Mutt and git commit messages. It works fine and would allow us to take advantage of pdumper again, which should make the program boot a little faster. (That option is currently removed in the SlackBuild.)

Nope, an emacs binary linked against X11 libraries wouldn't start on a non-X11 machine, and it's still a large use-case for Slackware.

What is pdumper?

madridsecreto 04-10-2021 11:18 AM

Quote:

Originally Posted by Lockywolf (Post 6239534)
Nope, an emacs binary linked against X11 libraries wouldn't start on a non-X11 machine, and it's still a large use-case for Slackware.

Have you tried what I suggested? Besides, I use Emacs outside of X every day, and it works by invoking the regular Emacs binary, not emacs-no-x11. As far as I know, the latter is only used in X when you need no X, which is exactly the same use-case that 'emacs -nw' covers.

I may be wrong, of course, but I think Emacs detects when it's running on X and when it's not. The compilation options are just there to make Emacs X-capable, not to force X on it. But, again, I'm willing to be proved wrong. Test it and come back to me with the results. It's not like it's that big of an issue. I just wanted to remove bloat. If it can't be removed, so be it.

Quote:

Originally Posted by Lockywolf (Post 6239534)
What is pdumper?

https://www.linuxquestions.org/quest...ml#post6160798

Markus Wiesner 04-10-2021 11:50 AM

Quote:

Originally Posted by madridsecreto (Post 6239549)
Have you tried what I suggested? Besides, I use Emacs outside of X every day, and it works by invoking the regular Emacs binary, not emacs-no-x11. As far as I know, the latter is only used in X when you need no X, which is exactly the same use-case that 'emacs -nw' covers.

Simply compare the output of:

Code:

ldd /usr/bin/emacs-27.2-no-x11
ldd /usr/bin/emacs-27.2-with-x11

It's too long to post here. emacs-27.2-with-x11 needs a lot more libraries than emacs-27.2-no-x11 and if any of those is not installed (because you have a headless server which does not need them) it is not possible to execute that binary and the command line switch can not change that. You will always get an error like

Code:

emacs-27.2-with-x11: error while loading shared libraries: libgtk-3.so.0: cannot open shared object file: No such file or directory

Nobby6 04-10-2021 08:09 PM

request to add gajim
 
Please add gajim into -current as a lightweight and snappy xmpp client alternative

https://gajim.org

Lockywolf 04-10-2021 11:27 PM

Quote:

Originally Posted by Nobby6 (Post 6239707)
Please add gajim into -current as a lightweight and snappy xmpp client alternative

https://gajim.org

I have no opinion on Gajim itself, except that it is _neither_ lightweight, _nor_ snappy. It is a very heavy and slow piece of python. Its support for xmpp is better than that of Pidgin 2, and I haven't tried Pidgin 3.

gmgf 04-11-2021 03:02 AM

KDE_Gear_21.04 (release-service) will be available (Thursday, April 22, 2021: 21.04 Release)

https://community.kde.org/Schedules/..._21.04_Tagging

kate-21.04.0, need a new, 'root patch', the old not work.

the new patch is available here in this suse 'kate-21.03.80-1.3.src.rpm'

https://ftp.lysator.liu.se/pub/opens...80-1.3.src.rpm,

the patch is named '0001-Defuse-root-block.patch' and it work with 'kate-21.03.90'

atelszewski 04-11-2021 04:34 AM

Hi,

how about making /etc/cups and below be root:lp in {cups,cups-filters}.SlackBuild?

When cups is starting, it's changing the user:group from root:root to root:lp (now for everything though), but package upgrades revert it to root:root.

And that upsets my git status for /etc. ;->

--
Best regards,
Andrzej Telszewski

ialexand 04-11-2021 05:29 AM

I wonder about wxWidgets. Will it ever happen to be in Slackware?

mats_b_tegner 04-11-2021 06:58 AM

GCC 10.3.0
https://gcc.gnu.org/gcc-10/

Roman Dyaba 04-11-2021 09:19 AM

KDE Frameworks 5.81.0

Saturday, 10 April 2021

KDE today announces the release of KDE Frameworks 5.81.0.

KDE Frameworks are 83 addon libraries to Qt which provide a wide variety of commonly needed functionality in mature, peer reviewed and well tested libraries with friendly licensing terms. For an introduction see the KDE Frameworks release announcement.

This release is part of a series of planned monthly releases making improvements available to developers in a quick and predictable manner.

"Extra CMake Modules

ECMGenerateExportHeader: do sanity check for version argument values
Fix warning about wayland-scanner code arg"

https://kde.org/announcements/frameworks/5/5.81.0/

upnort 04-11-2021 12:31 PM

Pat,

Perhaps some mention in the upgrade hints about /etc/mtab would be helpful. In a fresh install /etc/mtab will be a sym link to /proc/mounts. In a 14.2 system updated to 15.0 /etc/mtab will be a file. Thankfully the 15.0 rc.S does not overwrite the user's preference. A note in the docs might help forewarn users about the differences.

franzen 04-12-2021 01:12 AM

As there seems to be no douninst.sh script in /var/lib/pkgtools/douninst.sh/ yet from a system package,
would the following be correct? Or isn't that feature meant this way?
/var/lib/pkgtools/douninst.sh/texlive
Code:

#!/bin/sh

# Remove remainder which was created by doinst.sh

rm -rf usr/share/texmf-{config,dist,local,var}


teoberi 04-12-2021 04:38 AM

Postfix 3.5.10

Nobby6 04-12-2021 06:43 AM

Quote:

Originally Posted by Lockywolf (Post 6239751)
I have no opinion on Gajim itself, except that it is _neither_ lightweight, _nor_ snappy. It is a very heavy and slow piece of python. Its support for xmpp is better than that of Pidgin 2, and I haven't tried Pidgin 3.

Interesting, I find it snappy and this is only an i3, so no "super computer", it's only using 1.3% of memory and no cpu, but YMMV

and yes, python is not the most resource friendly, its funny when you can say perl is fast compared to it.

Nobby6 04-12-2021 07:10 AM

Quote:

Originally Posted by teoberi (Post 6240153)
Postfix 3.5.10

strange, no mention of that on either lists, it is on website but the link to the announcement page doesnt exist
unless he has only just related this within past few minutes, I'll wait an hour before trying.

Not Found

The requested URL /announcements/postfix-3.5.10.html was not found on this server.

Apache/2.2.15 (Scientific Linux) Server at www.postfix.org Port 80

saxa 04-12-2021 07:47 AM

vala-0.52.2
https://download.gnome.org/sources/v...-0.52.2.tar.xz

MDKDIO 04-12-2021 09:07 AM

Quote:

Originally Posted by Nobby6 (Post 6240186)
strange, no mention of that on either lists, it is on website but the link to the announcement page doesnt exist
unless he has only just related this within past few minutes, I'll wait an hour before trying.

Not Found

The requested URL /announcements/postfix-3.5.10.html was not found on this server.

Apache/2.2.15 (Scientific Linux) Server at www.postfix.org Port 80

I agree with you, odd that the link is not working.

But link to announcement is working on the mirror sites (for download)
http://cdn.postfix.johnriley.me/mirr....RELEASE_NOTES


All times are GMT -5. The time now is 03:52 AM.