LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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-04-2023, 06:48 PM   #1666
USUARIONUEVO
Senior Member
 
Registered: Apr 2015
Posts: 2,348

Rep: Reputation: 948Reputation: 948Reputation: 948Reputation: 948Reputation: 948Reputation: 948Reputation: 948Reputation: 948

Quote:
Originally Posted by glennmcc View Post
I do not need samba, BUT mplayer in the slackware repositories requires that samba be installed on the system.

Might it be possible to offer a build of mplayer (perhaps in extra), which does not require samba ?
why no build yours with

Quote:
--disable-smb \
??

you know ffmpeg its a dependency for mplayer and ffmpeg its build with samba ??

You know what are you doing ?

Last edited by USUARIONUEVO; 02-04-2023 at 06:49 PM.
 
2 members found this post helpful.
Old 02-04-2023, 08:39 PM   #1667
glennmcc
Member
 
Registered: Jan 2021
Location: North Jackson, Ohio (USA)
Distribution: slackware64-15.0, slackware64-current, slackware-14.0
Posts: 584

Rep: Reputation: 338Reputation: 338Reputation: 338Reputation: 338
Yes, I use my own builds of mplayer & ffmpeg

After removing samba from my systems, ./configure autodetects that samba is not present
thereby configuring and building mplayer & ffmpeg from source without samba being required.

IMO, it might be useful for those not adept in building from source to have...

extra/MPlayer-without-samba
extra/ffmpeg-without-samba

(along with any other programs that might be in the slackware repository which require samba)
 
Old 02-04-2023, 08:53 PM   #1668
LuckyCyborg
Senior Member
 
Registered: Mar 2010
Posts: 3,606

Rep: Reputation: 3473Reputation: 3473Reputation: 3473Reputation: 3473Reputation: 3473Reputation: 3473Reputation: 3473Reputation: 3473Reputation: 3473Reputation: 3473Reputation: 3473
Quote:
Originally Posted by glennmcc View Post
Yes, I use my own builds of mplayer & ffmpeg

After removing samba from my systems, ./configure autodetects that samba is not present
thereby configuring and building mplayer & ffmpeg from source without samba being required.

IMO, it might be useful for those not adept in building from source to have...

extra/MPlayer-without-samba
extra/ffmpeg-without-samba

(along with any other programs that might be in the slackware repository which require samba)
I see no reason to not install Samba and it's not that simple to have a Samba free system. No offense intended, but here I smell another pure-ALSA fiasco...

Anyway, you shouldn't convince me, but the Boss.

So, you estimate that there are many Samba hatters around, or it's just your personal hate toward Samba?

Honestly, for me this kind of attitude is a novelty.

Last edited by LuckyCyborg; 02-04-2023 at 09:53 PM.
 
2 members found this post helpful.
Old 02-04-2023, 11:00 PM   #1669
glennmcc
Member
 
Registered: Jan 2021
Location: North Jackson, Ohio (USA)
Distribution: slackware64-15.0, slackware64-current, slackware-14.0
Posts: 584

Rep: Reputation: 338Reputation: 338Reputation: 338Reputation: 338
I don't hate samba.

It's just I see no need to have it taking up space on my HDD when I do not need it. ;-)
 
1 members found this post helpful.
Old 02-04-2023, 11:57 PM   #1670
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 4,474
Blog Entries: 7

Rep: Reputation: 2573Reputation: 2573Reputation: 2573Reputation: 2573Reputation: 2573Reputation: 2573Reputation: 2573Reputation: 2573Reputation: 2573Reputation: 2573Reputation: 2573
Quote:
Originally Posted by glennmcc View Post
I don't hate samba.

It's just I see no need to have it taking up space on my HDD when I do not need it. ;-)
Maybe you just don't know what it does, or how to use it? Samba is a powerful tool which brings a ton of flexibility, particularly if you have any non-Linux machines on your LAN. As an example, my wife has a work-issued Windows laptop, one kid has a school-issued Chromebook, the other has a school-issued Mac. They can all print, access files and stream media via the Slackware machine which I use for work... and that's because of Samba. I also have a so-called "smart" TV which connects to the Samba share and can play media. It's quite a handy thing, even for a home network.

You can also use it to create AD domains, which I'm still experimenting with... but Samba gives the ability to do that without having to fork out megabucks for Windows Server and Client Access Licenses.

It's required by ffmpeg and mplayer because they can both stream media off Windows-based file servers. Why you'd remove that kind of functionality is not clear to me... unless you're 100% sure that you're never going to encounter a Windows share you want to stream media off (for example: at a friend's house).
Quote:
Originally Posted by glennmcc View Post
IMO, it might be useful for those not adept in building from source to have...
I'd suggest that people who are not adept at building from source are exactly the kind of people who should be running a full installation of Slackware, and using it to learn how to build from source... and then they can use their new skillz to remove all the functionality they like.

Last edited by rkelsen; 02-04-2023 at 11:59 PM.
 
5 members found this post helpful.
Old 02-05-2023, 03:15 AM   #1671
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,077

Rep: Reputation: Disabled
In Slackware, all packages are guaranteed to work if and only if all packages are installed. That's nothing new and unlikely to change anytime soon.
 
4 members found this post helpful.
Old 02-05-2023, 04:21 AM   #1672
elcore
Senior Member
 
Registered: Sep 2014
Distribution: Slackware
Posts: 1,754

Rep: Reputation: Disabled
Quote:
Originally Posted by Didier Spaier View Post
In Slackware, all packages are guaranteed to work if and only if all packages are installed.
Adding an external library has the exact same effect on system stability as removing a shipped library, and there's no way around that.
This is why such guarantees are very hard to make:

1. Adding nvidia has unforeseen consequences, as some packages link to libglx.so from mesa and some link to libglx.so from nvidia.
That is, if you compile something with nvidia installed and package it, then nvidia will be a requirement for the package. Therefore, unsupported.

2. If library removal makes the system unsupported, then so does library addition.
If one already adds an external lib, and makes the system unsupported with it;
Library removal would not make the base system any less supported than it already is.
 
2 members found this post helpful.
Old 02-05-2023, 05:41 AM   #1673
Petri Kaukasoina
Senior Member
 
Registered: Mar 2007
Posts: 1,938

Rep: Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568
Quote:
Originally Posted by elcore View Post
1. Adding nvidia has unforeseen consequences, as some packages link to libglx.so from mesa and some link to libglx.so from nvidia.
That is, if you compile something with nvidia installed and package it, then nvidia will be a requirement for the package. Therefore, unsupported.
libglx.so? It's something the x server uses. Maybe you mean libGLX.so. In 15.0 programs already link to libGL.so, libGLX.so, etc of package libglvnd.

ChangeLog.txt:
Code:
Sat May 11 00:24:01 UTC 2019
x/libglvnd-1.1.1-x86_64-1.txz:  Added.
  This is the GL Vendor-Neutral Dispatch library, which allows multiple
  drivers from different vendors to coexist on the same machine. When
  libglvnd is present, the NVIDIA driver will not overwrite any system
  files. Note that this is known to work when installing the NVIDIA driver
  using the .run installer. Other methods may require adjustment.
  This library is now a dependency of Mesa.
  Thanks to Heinz Wiesinger.
 
1 members found this post helpful.
Old 02-05-2023, 05:49 AM   #1674
elcore
Senior Member
 
Registered: Sep 2014
Distribution: Slackware
Posts: 1,754

Rep: Reputation: Disabled
Quote:
When libglvnd is present, the NVIDIA driver will not overwrite any system files.
There's no way to know this is true for certain, or that it'll stay true in the future.
It's a workaround for a mess which was not caused by Slackware. Same mess, one could easily produce by adding a bunch of libs.
 
Old 02-05-2023, 06:17 AM   #1675
henca
Senior Member
 
Registered: Aug 2007
Location: Linköping, Sweden
Distribution: Slackware
Posts: 1,013

Rep: Reputation: 678Reputation: 678Reputation: 678Reputation: 678Reputation: 678Reputation: 678
Quote:
Originally Posted by glennmcc View Post
It's just I see no need to have it taking up space on my HDD when I do not need it. ;-)
The samba package takes less than 100 MB of disk space when installed. For a spinning drive, that would equal a value of about 1.5$ ( https://www.backblaze.com/blog/hard-...-per-gigabyte/ ), for an SSD about 3 times as much.

Yes, it would be possible so spend time on selecting which packages to install and recompile packages to get rid of dependencies, but what is your time worth? If you want a Slackware installation without Samba you probably also want to skip other, bigger, not used packages. In my experience such an installation will require a lot of time figuring out why things does not work in lack of dependencies.

regards Henrik
 
1 members found this post helpful.
Old 02-05-2023, 07:11 AM   #1676
Petri Kaukasoina
Senior Member
 
Registered: Mar 2007
Posts: 1,938

Rep: Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568
Quote:
Originally Posted by henca View Post
The samba package takes less than 100 MB of disk space when installed. For a spinning drive, that would equal a value of about 1.5$
$0.0015
 
2 members found this post helpful.
Old 02-05-2023, 08:44 AM   #1677
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,167

Rep: Reputation: 7340Reputation: 7340Reputation: 7340Reputation: 7340Reputation: 7340Reputation: 7340Reputation: 7340Reputation: 7340Reputation: 7340Reputation: 7340Reputation: 7340
Quote:
Originally Posted by elcore View Post
Adding an external library has the exact same effect on system stability as removing a shipped library, and there's no way around that.
This is why such guarantees are very hard to make:

1. Adding nvidia has unforeseen consequences, as some packages link to libglx.so from mesa and some link to libglx.so from nvidia.
That is, if you compile something with nvidia installed and package it, then nvidia will be a requirement for the package. Therefore, unsupported.......
When uninstalling the Nvidia driver you are given the option to return things to as they were before you installed the driver. After that point I guess it is up to the user to recompile any affected packages.
 
Old 02-05-2023, 09:58 AM   #1678
glennmcc
Member
 
Registered: Jan 2021
Location: North Jackson, Ohio (USA)
Distribution: slackware64-15.0, slackware64-current, slackware-14.0
Posts: 584

Rep: Reputation: 338Reputation: 338Reputation: 338Reputation: 338
Sorry.... I had no idea that such a simple request would result in such a complicated controversy. ;-)
 
Old 02-05-2023, 11:16 AM   #1679
LuckyCyborg
Senior Member
 
Registered: Mar 2010
Posts: 3,606

Rep: Reputation: 3473Reputation: 3473Reputation: 3473Reputation: 3473Reputation: 3473Reputation: 3473Reputation: 3473Reputation: 3473Reputation: 3473Reputation: 3473Reputation: 3473
Quote:
Originally Posted by glennmcc View Post
Sorry.... I had no idea that such a simple request would result in such a complicated controversy. ;-)
It's not "a simple request" as you think.

Because IF our BDFL accepts to ship an alternative Samba-free set of packages, there are a lot of packages which should have an alternative building. Plasma5's KIO slaves, Konqueror, Dolphin and Krusader, XFCE's Thunar and friends, heck! even the Midnight Commander. And for what? Because you do not need Samba?

BUT, there are also the guys who dislike PulseAudio, elogind and Xorg. What shoud our BDFL do? To ship in /extra also packages for them? And what he should do for those people who dislike elogind and Samba, but loves PulseAudio?

How many alternative trees should ship our BDFL on /extra according with you?

Last edited by LuckyCyborg; 02-05-2023 at 11:18 AM.
 
4 members found this post helpful.
Old 02-05-2023, 11:21 AM   #1680
garpu
Senior Member
 
Registered: Oct 2009
Distribution: Slackware
Posts: 1,611

Rep: Reputation: 931Reputation: 931Reputation: 931Reputation: 931Reputation: 931Reputation: 931Reputation: 931Reputation: 931
Quote:
Originally Posted by LuckyCyborg View Post
BUT, there are also the guys who dislike PulseAudio, elogind and Xorg. What shoud our BDFL do? To ship in /extra also packages for them? And what he should do for those people who dislike elogind and Samba, but loves PulseAudio?
Then that's an exercise left to the user, as Pat puts it. I do digital audio. Pulse is a liability, so I built things I need without it before pipewire, and am strictly pipewire-only these days. Before the preempt=dynamic kernel was shipped, I built mine for RT. Hell, I remember back in the early 2000's, I had to rebuild libasound, because one of the languages I used needed something that the stock build didn't provide. If your use is an edge case, you get used to building the things you need, which is a strength of Slackware. (Try doing all of that on ubuntu without serious breakage.)
 
4 members found this post helpful.
  


Reply



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
Apache 2.4 requests to non-SSL site with "Upgrade-Insecure-Requests: 1" and no trailing / get redirected to default site owendelong Linux - Server 2 06-22-2021 02:08 PM
[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 10:24 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