LinuxQuestions.org
Visit Jeremy's Blog.
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 05-20-2020, 10:06 PM   #5041
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 6,961

Rep: Reputation: 4641Reputation: 4641Reputation: 4641Reputation: 4641Reputation: 4641Reputation: 4641Reputation: 4641Reputation: 4641Reputation: 4641Reputation: 4641Reputation: 4641

Quote:
Originally Posted by rworkman View Post
What's wrong with tempfile?
It was deprecated back in 2011 in favor of mktemp. No clue if there's additional issues with using it.

https://salsa.debian.org/debian/debi...adbb567be91a23
https://bugs.debian.org/cgi-bin/bugr...cgi?bug=627564
 
3 members found this post helpful.
Old 05-21-2020, 01:00 AM   #5042
nullptr
LQ Newbie
 
Registered: Nov 2019
Posts: 23

Rep: Reputation: Disabled
shaderc needs spirv/unified1/spirv.hpp but on slackware the file is at vulkan/spirv.hpp.

Last edited by nullptr; 05-21-2020 at 01:12 AM.
 
Old 05-21-2020, 02:09 AM   #5043
camerabambai
Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 143

Rep: Reputation: 19
An idea for Winbind users.
Personally I use winbind, for Single sign on(with Kerberos) and to take a unique uid unique for all users (winbind+samba+idmap by ldap server). Is nice because user has the same uid on all systems(Linux,Hp-ux,AIX,etc..).
The original script of rc.samba doesn't include winbindd. I have a dirty solution adding Winbindd after smbd and nmbd daemons in the rc.samba script, a better solution would be a script which start Winbindd if needed, or a separate rc.winbind script.

Last edited by camerabambai; 05-21-2020 at 02:10 AM.
 
2 members found this post helpful.
Old 05-21-2020, 02:28 AM   #5044
I.G.O.R
LQ Newbie
 
Registered: Dec 2017
Distribution: Slackware
Posts: 24

Rep: Reputation: Disabled
Quote:
Originally Posted by rworkman View Post
What's wrong with tempfile?
It's in "bin" package which some users may not install. Also, tempfile is kind of obsolete.
 
Old 05-21-2020, 07:09 AM   #5045
burdi01
Member
 
Registered: Dec 2010
Location: The Netherlands
Distribution: Slackware Current64, Xubuntu
Posts: 334

Rep: Reputation: 57
Quote:
Originally Posted by rworkman View Post
What's wrong with tempfile?
From the Current changelog:
Code:
Mon Apr 27 20:27:30 UTC 2020
a/mkinitrd-1.4.11-x86_64-15.txz:  Rebuilt.
  Use the standard mktemp utility from GNU coreutils, not the old tempfile.
So for the sake of consistency ...
 
3 members found this post helpful.
Old 05-21-2020, 08:17 AM   #5046
I.G.O.R
LQ Newbie
 
Registered: Dec 2017
Distribution: Slackware
Posts: 24

Rep: Reputation: Disabled
Quote:
Originally Posted by burdi01 View Post
From the Current changelog:
Code:
Mon Apr 27 20:27:30 UTC 2020
a/mkinitrd-1.4.11-x86_64-15.txz:  Rebuilt.
  Use the standard mktemp utility from GNU coreutils, not the old tempfile.
So for the sake of consistency ...
Absolutely. Ideally, It would be great to get rid of "bin" package. Besides "tempfile" I don't remeber that I ever needed it.

May be there are very few scripts still using some commands from it. I believe it's possible to modify them and remove "bin" completely.
 
1 members found this post helpful.
Old 05-21-2020, 12:18 PM   #5047
ehartman
Senior Member
 
Registered: Jul 2007
Location: Delft, The Netherlands
Distribution: Slackware
Posts: 1,631

Rep: Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845
Quote:
Originally Posted by I.G.O.R View Post
Absolutely. Ideally, It would be great to get rid of "bin" package. Besides "tempfile" I don't remeber that I ever needed it.
Never had to use fromdos (or todos) to get rid of MS-Dos/Windows line endings?

I don't, but then again I got my own "undos" tools (NOT free) to do this:
Quote:
undos,tounix,todos,tocpm,tomac,unmac,unparity ‐ Change ASCII file format for target operating system

Undos and tounix convert DOS or CP/M format source files to Unix format by deleting carriage returns preceding linefeeds and eliminating characters starting with CPMEOF (^Z).

Todos converts Unix format source files to DOS format by adding a carriage return (if not already present) before each linefeed, and eliminates characters starting with CPMEOF (^Z). Tocpm additionally appends CPMEOF (^Z) characters to the resulting file to make the file length a multiple of the 128 byte CP/M record length.

Any combination of undos, todos, or tocpm (without flags) may be applied to a proper ASCII file without destroying information. Lone carriage returns used to force overprinting are not translated to CR/LF pairs.
This is actaully a single executable file with hard links for the other commands and unlike the fromdos/todos pair can take multiple file arguments.
 
Old 05-21-2020, 12:58 PM   #5048
I.G.O.R
LQ Newbie
 
Registered: Dec 2017
Distribution: Slackware
Posts: 24

Rep: Reputation: Disabled
Quote:
Originally Posted by ehartman View Post
Never had to use fromdos (or todos) to get rid of MS-Dos/Windows line endings?

I don't, but then again I got my own "undos" tools (NOT free) to do this:

This is actaully a single executable file with hard links for the other commands and unlike the fromdos/todos pair can take multiple file arguments.
I used them only in Cygwin. Plain "sed" or "tr" can substitute these commands. Anyways, I agree that todos/fromdos may be needed, but as separate package. Currently, "bin" contains things from 5 different sources (todos, fbset, debianutils, xx, diskcopy). It's not just "bin", it's a "garbage-bin" I'm pretty sure that most of those things are not relevant anymore, like tempfile from debianutils.

Last edited by I.G.O.R; 05-21-2020 at 01:09 PM.
 
1 members found this post helpful.
Old 05-21-2020, 01:06 PM   #5049
Ser Olmy
Senior Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 2,705

Rep: Reputation: Disabled
Quote:
Originally Posted by camerabambai View Post
The original script of rc.samba doesn't include winbindd. I have a dirty solution adding Winbindd after smbd and nmbd daemons in the rc.samba script, a better solution would be a script which start Winbindd if needed, or a separate rc.winbind script.
It's actually worse than that, as Samba needs to be started/stopped in 3 different ways, depending on how Samba is configured:
  • If samba is a standalone server, smbd and nmbd should be started in that order; stopping samba can be accomplished by simply killing the processes
  • If samba is a domain member, smbd, nmbd, and winbindd should be started in that order; as in the above case, a simple kill is all that's needed to stop samba
  • If samba is an AD Domain Controller, the samba executable/process is the only component that should be started/killed; the individual daemons should never be manually invoked or stopped
The only reliable way to determine which role samba is configured as, is to parse the output of testparm. I use a modified rc.samba that takes all this into account.
 
Old 05-21-2020, 02:45 PM   #5050
alex14641
Member
 
Registered: Feb 2016
Distribution: Slackware64_14.1, Slackware64_14.2, Slackware64_current
Posts: 195

Rep: Reputation: Disabled
Ffmpeg 4.2.3
Source: https://ffmpeg.org/releases/ffmpeg-4.2.3.tar.bz2
Release notes:https://git.ffmpeg.org/gitweb/ffmpeg...4.2:/Changelog
 
3 members found this post helpful.
Old 05-21-2020, 04:12 PM   #5051
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 6,961

Rep: Reputation: 4641Reputation: 4641Reputation: 4641Reputation: 4641Reputation: 4641Reputation: 4641Reputation: 4641Reputation: 4641Reputation: 4641Reputation: 4641Reputation: 4641
Quote:
Originally Posted by Ser Olmy View Post
The only reliable way to determine which role samba is configured as, is to parse the output of testparm. I use a modified rc.samba that takes all this into account.
Do you have an example you'd be willing to share? It might be something that Pat will add to the distro.
 
Old 05-23-2020, 10:10 AM   #5052
lovemeslk
LQ Newbie
 
Registered: Feb 2020
Location: none of your business
Distribution: Slackware
Posts: 4

Rep: Reputation: Disabled
upgrade upower many changes have come about.
 
Old 05-23-2020, 12:49 PM   #5053
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 6,961

Rep: Reputation: 4641Reputation: 4641Reputation: 4641Reputation: 4641Reputation: 4641Reputation: 4641Reputation: 4641Reputation: 4641Reputation: 4641Reputation: 4641Reputation: 4641
Quote:
Originally Posted by lovemeslk View Post
upgrade upower many changes have come about.
The newer upower doesn't work with KDE4, so it is likely going to be upgraded when Plasma5 is added to Slackware.
 
Old 05-24-2020, 05:27 AM   #5055
I.G.O.R
LQ Newbie
 
Registered: Dec 2017
Distribution: Slackware
Posts: 24

Rep: Reputation: Disabled
There is no pure image viewer in Slackware "xap". It would be great to have a basic one, for example "feh"
 
  


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 02:10 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration