LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-02-2020, 08:12 AM   #4396
cwizardone
LQ Guru
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib."
Posts: 5,781
Blog Entries: 1

Rep: Reputation: 3113Reputation: 3113Reputation: 3113Reputation: 3113Reputation: 3113Reputation: 3113Reputation: 3113Reputation: 3113Reputation: 3113Reputation: 3113Reputation: 3113

Quote:
Originally Posted by Markus Wiesner View Post
Since you just mentioned xsane My previous post may have gotten lost between all the others: Applying this little patch to xsane.SlackBuild will add xsane (which is already compiled with GIMP support) as plugin to GIMP. With this you get a new menu entry (FileCreateX-Sane: Device dialog…) to scan directly from GIMP and don't have to create a temporary file in xsane first..................
Excellent idea!

As I think about it, and I could be wrong (it wouldn't be the first time ), but didn't that use to be the default?
It is only recently I noticed it was no longer possible to scan directly from within The GIMP.

Last edited by cwizardone; 02-02-2020 at 08:13 AM.
 
Old 02-02-2020, 08:44 AM   #4397
Markus Wiesner
Member
 
Registered: Mar 2016
Distribution: Slackware
Posts: 64

Rep: Reputation: 105Reputation: 105
Quote:
Originally Posted by cwizardone View Post
As I think about it, and I could be wrong (it wouldn't be the first time ), but didn't that use to be the default?
It is only recently I noticed it was no longer possible to scan directly from within The GIMP.
I only know it working in Windows-GIMP “out of the box”. But as both Gentoo and Arch "manually" add the symlink in their package build scripts, that's probably the “right” way and not a missing option in Slackwares ./configure or make install of xsane or GIMP.
 
1 members found this post helpful.
Old 02-03-2020, 06:48 AM   #4398
franzen
Member
 
Registered: Nov 2012
Distribution: slackware
Posts: 312

Rep: Reputation: 183Reputation: 183
announcements/postfix-3.4.9
postfix-3.4.9.tar.gz
 
Old 02-03-2020, 01:46 PM   #4399
upnort
Senior Member
 
Registered: Oct 2014
Distribution: Slackware, Proxmox, Debian, CentOS
Posts: 1,640

Rep: Reputation: 972Reputation: 972Reputation: 972Reputation: 972Reputation: 972Reputation: 972Reputation: 972Reputation: 972
/etc/rc.d/rc.nfsd does not check for /etc/exports.d

The /etc/rc.d/rc.nfsd script exits without checking /etc/exports.d and provides no helpful messages why the script terminated.

This affects 14.2 too.

From exportfs.c:

Code:
if (f_export && ! f_ignore) {
  if (! (export_read(_PATH_EXPORTS) +
      export_d_read(_PATH_EXPORTS_D))) {
    if (f_verbose)
      xlog(L_WARNING, "No file systems exported!");
  }
}
Looks like the exportfs command will check both locations before warning. Possible patch:

Code:
--- rc.nfsd	2020-02-03 13:23:14.669756589 -0600
+++ rc.nfsd.new	2020-02-03 13:44:18.729846694 -0600
@@ -8,12 +8,32 @@
 # Written for Slackware Linux by Patrick J. Volkerding <volkerdi@slackware.com>.
 
 nfsd_start() {
-  # Sanity checks.  Exit if there's no /etc/exports, or if there aren't any
-  # shares defined in it.
-  if [ ! -r /etc/exports ]; then # no config file, exit:
+  # Sanity checks. Look for valid exports files. Valid exports can exist
+  # in /etc/exports, /etc/exports.d/*.exports, or both.
+  if [ ! -a /etc/exports ]; then
+    # /etc/exports does not exist.
+    EXPORTS_VALID="false"
+  else
+    # /etc/exports exists.
+    if [ -r /etc/exports ] && [ "$(grep -v '^#' /etc/exports | grep '^/')" = "" ] ; then
+      # The file is readable but contains no valid exports.
+      EXPORTS_VALID="false"
+    fi
+  fi
+  # If /etc/exports is not valid then check /etc/exports.d.
+  if [ "$EXPORTS_VALID" = "false" ] && [ ! -d /etc/exports.d ]; then
+    # /etc/exports is not valid and /etc/exports.d does not exist.
+    EXPORTS_D_VALID="false"
+  else
+    # /etc/exports is not valid and /etc/exports.d exists.
+    if [ "$EXPORTS_VALID" = "false" ] && [ "$(grep -v '^#' /etc/exports.d/*.exports | grep '^/')" = "" ] ; then
+      # /etc/exports.d contains no valid exports.
+      EXPORTS_D_VALID="false"
+    fi
+  fi
+  if [ "$EXPORTS_VALID" = "false" ] || [ "$EXPORTS_D_VALID" = "false" ]; then
+    echo "No valid exports found in /etc/exports or /etc/exports.d/*.exports. Exiting."
     exit
-  elif ! grep -v '^#' /etc/exports | grep '/' 1> /dev/null 2> /dev/null ; then
-    exit # no uncommented shares in /etc/exports
   fi
 
   # If we do not detect nfsd support built into the kernel (or previously
@@ -69,6 +89,7 @@
 }
 
 nfsd_stop() {
+  echo "Stopping NFS server daemons."
   killall rpc.mountd 2> /dev/null
   killall nfsd 2> /dev/null
   sleep 1
@@ -94,5 +115,5 @@
   nfsd_restart
   ;;
 *)
-  echo "usage $0 start|stop|restart"
+  echo "Usage: $0 start|stop|restart"
 esac
 
1 members found this post helpful.
Old 02-05-2020, 11:33 AM   #4400
upnort
Senior Member
 
Registered: Oct 2014
Distribution: Slackware, Proxmox, Debian, CentOS
Posts: 1,640

Rep: Reputation: 972Reputation: 972Reputation: 972Reputation: 972Reputation: 972Reputation: 972Reputation: 972Reputation: 972
Double TigerVNC menu items

The TigerVNC 1.10 package in /extra installs two *.desktop files:

/usr/share/applications/tigervnc.desktop
/usr/share/applications/vncviewer.desktop

The result is two TigerVNC Viewer items in the Internet menu.

The sources come with a vnciewer.desktop file. The tigervnc.desktop file created in the SlackBuild no longer is necessary. Proposed patch:

Code:
--- tigervnc.SlackBuild	2020-02-05 11:30:29.949404267 -0600
+++ tigervnc.SlackBuild.new	2020-02-05 11:30:43.932209520 -0600
@@ -309,24 +309,6 @@
   install -m644 media/icons/tigervnc_${PSIZE}.png \
     $PKG/usr/share/icons/hicolor/${PSIZE}x${PSIZE}/apps/tigervnc.png 
 done
-cat <<EOT > $PKG/usr/share/applications/tigervnc.desktop
-[Desktop Entry]
-Encoding=UTF-8
-Name=TigerVNC Viewer
-GenericName=VNCViewer (RFB Client)
-Comment=Connect to remote desktop
-SwallowExec=
-Exec=vncviewer
-MimeType=
-Icon=tigervnc
-Path=
-TerminalOptions=
-Terminal=false
-Type=Application
-Categories=Network;
-StartupWMClass=VNC Viewer: Connection Details
-EOT
-
 # Add this to the doinst.sh:
 ! [ -d $PKG/install ] && mkdir -p $PKG/install
 cat <<EOT >> $PKG/install/doinst.sh
 
3 members found this post helpful.
Old 02-06-2020, 10:54 AM   #4401
Xsane
Member
 
Registered: Jan 2014
Posts: 183

Rep: Reputation: 131Reputation: 131
Quote:
Originally Posted by alex14641 View Post
Glibc 2.31
Release notes and download links: https://lists.gnu.org/archive/html/i.../msg00001.html
Quote:
Originally Posted by volkerdi View Post
Incompatible time handling means we'll need to be cautious with this one as well. A full make world will be needed to see how extensive the fallout is.
It's going to break hwclock(8). I have a band-aide patch in my tree, but util-linux has to be backward compatible and is going to need more work (wrappers, etc.). Glibc is only part way through their y2038 fix. It's growing pains for me right now at this stuck in the middle point. What I used to do with one system call in hwclock, now takes 3. We're really waiting on the kernel to come up with an alternate API for setting its 'timezone', that is, its internal offset for ntp, exFat, etc., because POSIX has deprecated get/settimeofday, which is where the 'timezone', clock warp, and persistent_clock_is_local, where previously handled.
 
1 members found this post helpful.
Old 02-06-2020, 11:06 AM   #4402
redneonglow
Member
 
Registered: Feb 2020
Location: PA
Distribution: Gentoo, Slackware
Posts: 50

Rep: Reputation: 23
My requests for current are:

* KDE Plasma 5
* Lua
* PostgreSQL
* VLC

Happy that the following have been added, though I'm not a -current user (I use Slackware 14.2 on a VPS and Gentoo at home):

* Python 3
* zstd

Last edited by redneonglow; 02-06-2020 at 09:47 PM. Reason: header fix
 
1 members found this post helpful.
Old 02-06-2020, 11:15 AM   #4403
drgibbon
Member
 
Registered: Nov 2014
Distribution: Slackware64 -current
Posts: 722

Rep: Reputation: 469Reputation: 469Reputation: 469Reputation: 469Reputation: 469
Quote:
Originally Posted by redneonglow View Post
* KDE Plasma 5
Blasphemy!

 
3 members found this post helpful.
Old 02-06-2020, 05:16 PM   #4404
sombragris
Member
 
Registered: Jul 2004
Location: Asuncion, Paraguay, South America
Distribution: Slackware
Posts: 540

Rep: Reputation: 258Reputation: 258Reputation: 258
I request poppler to be updated.

Reason: I use Plasma 5, from AlienBob's "ktown" distribution. Eric has a copy of poppler which is the same version as stock -current, but compiled with qt5 support. That is, Eric's poppler version is in sync with -current regular poppler version.

Now, while using Okular, I was bitten by this bug:

https://gitlab.freedesktop.org/poppl...ler/issues/766

In summary, when opening certain PDF files validly signed, okular crashes.

The bug was patched in subsequent version releases and thus I request poppler to be updated to a newer version. Thanks!

Last edited by sombragris; 02-06-2020 at 06:09 PM.
 
2 members found this post helpful.
Old 02-07-2020, 11:07 AM   #4405
burdi01
Member
 
Registered: Dec 2010
Location: The Netherlands
Distribution: Slackware Current64, Xubuntu LTS
Posts: 346

Rep: Reputation: 63
Please add simple-scan:
Quote:
# simple-scan (simple scanning utility)
#
# simple-scan is a simple scanning utility without the overwhelming
# options of xsane.
#
# Homepage: https://gitlab.gnome.org/GNOME/simple-scan
#
Requires libgusb: https://github.com/hughsie/libgusb
 
1 members found this post helpful.
Old 02-07-2020, 03:18 PM   #4406
volkerdi
Slackware Maintainer
 
Registered: Dec 2002
Location: Minnesota
Distribution: Slackware! :-)
Posts: 1,910

Rep: Reputation: 6175Reputation: 6175Reputation: 6175Reputation: 6175Reputation: 6175Reputation: 6175Reputation: 6175Reputation: 6175Reputation: 6175Reputation: 6175Reputation: 6175
Quote:
Originally Posted by sombragris View Post
I request poppler to be updated.
Yes, once KDE4 is gone we'll be updating that one. Newer versions drop qt4 support so it has to wait until then.
 
7 members found this post helpful.
Old 02-07-2020, 05:15 PM   #4407
sombragris
Member
 
Registered: Jul 2004
Location: Asuncion, Paraguay, South America
Distribution: Slackware
Posts: 540

Rep: Reputation: 258Reputation: 258Reputation: 258
Quote:
Originally Posted by volkerdi View Post
Yes, once KDE4 is gone we'll be updating that one. Newer versions drop qt4 support so it has to wait until then.
Thanks Pat!
 
1 members found this post helpful.
Old 02-07-2020, 05:33 PM   #4408
slackstu
LQ Newbie
 
Registered: Aug 2019
Posts: 4

Rep: Reputation: Disabled
Sorry, this is asking for a lot:

Could the next stable version use the 5.6 or subsequent LTS kernel? Lots of stuff in that would be of use to me.

Also is there any chance of ZoL finding its way into a Slackware release? I need some ZFS features and ZFS appears to be more stable than the alternatives.

Thanks!
 
Old 02-07-2020, 11:24 PM   #4409
upnort
Senior Member
 
Registered: Oct 2014
Distribution: Slackware, Proxmox, Debian, CentOS
Posts: 1,640

Rep: Reputation: 972Reputation: 972Reputation: 972Reputation: 972Reputation: 972Reputation: 972Reputation: 972Reputation: 972
As many users are waiting for 15.0 to support nvme ssds, perhaps add the nvme-cli package?
 
3 members found this post helpful.
Old 02-07-2020, 11:58 PM   #4410
TurboBlaze
Member
 
Registered: Jan 2018
Location: Russian Federation, Lipetsk region, Dankov
Distribution: Porteus
Posts: 149

Rep: Reputation: Disabled
Quote:
Originally Posted by burdi01 View Post
Please add simple-scan:
Requires libgusb: https://github.com/hughsie/libgusb
Yep, +1
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Requests for -current (20151216) rworkman Slackware 3441 12-28-2017 03:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration