LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 05-17-2018, 06:44 PM   #1246
USUARIONUEVO
Senior Member
 
Registered: Apr 2015
Posts: 2,335

Rep: Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930

QScintilla-2.10.4
https://sourceforge.net/projects/pyq...-2.10.4.tar.gz
 
Old 05-17-2018, 06:47 PM   #1247
USUARIONUEVO
Senior Member
 
Registered: Apr 2015
Posts: 2,335

Rep: Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930
there`s new wireless-regdb

wireless-regdb-2018.05.09
https://mirrors.edge.kernel.org/pub/...8.05.09.tar.xz
 
Old 05-17-2018, 07:22 PM   #1248
shastah
Member
 
Registered: Dec 2017
Posts: 52

Rep: Reputation: Disabled
Quote:
Originally Posted by volkerdi View Post
There's not much point to that (yet), since xz won't do multithreaded decompression anyway. Better to keep the packages as small as possible.
It does multithreaded compression, which speeds up (sometimes significantly) building packages - I was talking about makepkg, not installpkg/updatepkg.

The argument for size is fair. I ran a quick, very non-scientific, experiment (on a desktop i7-2600 CPU, so nothing fancy), using dataset consisting of all *.txz found in slackware64-current/ and measured:

Code:
# time needed to decompress all of them (with xz -d -c $txz > $tar)
real    3m35.757s
user    2m59.463s
sys     0m11.564s

# time needed to compress all *.tar using xz -T 8 -c $tar > $txz (if not specified, default compression level is -6)
real    35m9.892s
user    77m41.284s
sys     0m51.763s

# time needed to compress all *.tar using xz -9 -T 8 -c $tar > $txz
real    56m9.063s
user    69m7.453s
sys     1m29.274s

# time needed to decompress all *.txz which were compressed with default compression level:
real    4m6.563s
user    3m11.040s
sys     0m10.759s

# time needed to decompress all *.txz which were compressed with -9:
real    3m52.308s
user    3m0.414s
sys     0m12.272s

# space used by *.txz:
2761140	slackware64-current-original      (as shipped in slackware)
2754864	slackware64-current-optimize-size (-9 -T 8)
2941344	slackware64-current-optimize-time (-T 8)
I think the difference in resulting size isn't that big (2.7GB vs 2.9GB) in light of the compression time win, but I do understand that most users download and decompress packages rather than creating (compressing) them. There are still folks who package 3rd-party software, and I think it would be useful for them to be able to choose compression options without too much hassle.

Having options in makepkg to choose -threads is ok, but it requires editing SlackBuilds to make use of it. It would be great to have the default tunable via env variable, which still can be overriden by command line option later on:
Code:
@@ -105,7 +105,9 @@
 
 # Set maximum number of threads to use. By default, this will be the number
 # of CPU threads:
-THREADS="$(nproc)"
+if [ -z "$THREADS" ]; then
+  THREADS="$(nproc)"
+fi
 
 # Parse options
 unset ACLS XATTRS
And then something similar to replace hardcoded "-9" with a user-defined level.
 
1 members found this post helpful.
Old 05-17-2018, 07:44 PM   #1249
akschu
Member
 
Registered: Dec 2007
Posts: 96

Rep: Reputation: 39
Quote:
Originally Posted by volkerdi View Post
I think a lot of Slackware users would be unhappy to have avahi imposed upon them (though I have considered it).

But doesn't netatalk-3 also have a hard dep on PAM?
No, and if you have pam installed anyway and really want it omitted netatalk 3.1.11 allows you to pass "--without-pam" to ./configure.

As for avahi, I'm not sure that it's imposed any more than anything else, you don't have to install it if you don't want it. Seems like slackware is re-evaluating what packages to include (like dropping sendmail/imapd for postfix/dovecot), and lots of stuff is starting to use it (like samba) so it might be worth it.

Also, while we are talking about imposed, and ditching the old, and in with the new, I'd love to see postgres. With native partitioning support, fantastic procedural language, no licensing problems, and a configuration that's just as simple, I'd say it's an even more welcome change than postfix. Maybe put it in extra....

schu
 
1 members found this post helpful.
Old 05-17-2018, 07:56 PM   #1250
akschu
Member
 
Registered: Dec 2007
Posts: 96

Rep: Reputation: 39
Postgres is dead simple to build, and has no ugly dependencies:

https://slackbuilds.org/slackbuilds/...sql.SlackBuild

BSD/MIT like license

And views, triggers, sequences, better ACID, better SQL, it's just a much nicer database now....
 
1 members found this post helpful.
Old 05-17-2018, 08:05 PM   #1251
55020
Senior Member
 
Registered: Sep 2009
Location: Yorks. W.R. 167397
Distribution: Slackware
Posts: 1,307
Blog Entries: 4

Rep: Reputation: Disabled
Quote:
Originally Posted by akschu View Post
Postgres is dead simple to build, and has no ugly dependencies:
But upgrading your databases is nontrivial. So maybe it's better to have postgresql upgrades decoupled from Slackware upgrades.
 
3 members found this post helpful.
Old 05-17-2018, 08:10 PM   #1252
Darth Vader
Senior Member
 
Registered: May 2008
Location: Romania
Distribution: DARKSTAR Linux 2008.1
Posts: 2,727

Rep: Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247
Quote:
Originally Posted by 55020 View Post
But upgrading your databases is nontrivial. So maybe it's better to have postgresql upgrades decoupled from Slackware upgrades.
You talk about migration from MySQL to PostgreSQL? There is no need for, and the PostgreSQL server would work well along with MySQL.

In other hand, if you talk about the difficult to upgrade PostgreSQL databases, from when we care about offering to users some "stupid" paths of upgrading?

IF someone starts to use PostgreSQL, he should learn to use it properly, plain and simple.

So, this argument is moot, in my humble opinion.

And yes, I would love to see PostgreSQL into Slackware. It is a very nice database server.

Last edited by Darth Vader; 05-17-2018 at 08:32 PM.
 
Old 05-17-2018, 08:13 PM   #1253
55020
Senior Member
 
Registered: Sep 2009
Location: Yorks. W.R. 167397
Distribution: Slackware
Posts: 1,307
Blog Entries: 4

Rep: Reputation: Disabled
Quote:
Originally Posted by Darth Vader View Post
You talk about migration from MySQL to PostgreSQL?
No.

If you knew anything about postgresql, you would know about pg_upgrade.

Last edited by 55020; 05-17-2018 at 08:16 PM. Reason: Everybody likes a splash of colour :p
 
Old 05-17-2018, 08:15 PM   #1254
Darth Vader
Senior Member
 
Registered: May 2008
Location: Romania
Distribution: DARKSTAR Linux 2008.1
Posts: 2,727

Rep: Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247
I given you my opinion also about migrating the PostgreSQL databases.

Last edited by Darth Vader; 05-17-2018 at 08:55 PM.
 
Old 05-17-2018, 08:20 PM   #1255
Darth Vader
Senior Member
 
Registered: May 2008
Location: Romania
Distribution: DARKSTAR Linux 2008.1
Posts: 2,727

Rep: Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247
Quote:
Originally Posted by 55020 View Post
If you knew anything about postgresql, you would know about pg_upgrade.
Like I said, I do not consider an argument like "the difficult to upgrade the PostgreSQL databases" as good enough to limit the Slackware users choices by default.

IF an user will consider that these upgrades are too much for him, he can just use MariaDB instead, plain and simple.

Last edited by Darth Vader; 05-17-2018 at 08:27 PM.
 
Old 05-17-2018, 09:13 PM   #1256
kjhambrick
Senior Member
 
Registered: Jul 2005
Location: Round Rock, TX
Distribution: Slackware64 15.0 + Multilib
Posts: 2,159

Rep: Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512
Quote:
Originally Posted by 55020 View Post
But upgrading your databases is nontrivial. So maybe it's better to have postgresql upgrades decoupled from Slackware upgrades.
Yes, this.

Having postgresql available as a very well-written SBo postgresql.SlackBuild has worked for me since Slackware 13.37 ( IIRC ).

See Postgresql Versioning Policy.

Postgresql is still actively supporting version 9.6 which is scheduled for EoL in September 2021 ( but the developers do make a 'best effort' to fix critical bugs after EoL ).

Because of the potential pain of changing our postgresql Major Version, I've created a clone of the new SBo Version 10 postgresql.SlackBuild as postgresql-9.SlackBuild

We've decided to keep running pg 9.6 until we come up with a Migration and Testing Plan for the DataBases and for a few of our Programs linked to /usr/lib{,64}/postgresql/9.?/lib/

Unless maybe Pat and the Team would stick with a postgresql Major Version for the life of a Slackware Release ...

But then again, postgresql 10 is scheduled for EoL in October 2022 which will be before the useful EoL of Slackware 15.0.

Catch 22 there ?

Anyhow ... my $0.02 ...

-- kjh
 
Old 05-17-2018, 09:25 PM   #1257
Darth Vader
Senior Member
 
Registered: May 2008
Location: Romania
Distribution: DARKSTAR Linux 2008.1
Posts: 2,727

Rep: Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247
Quote:
Originally Posted by kjhambrick View Post
Unless maybe Pat and the Team would stick with a postgresql Major Version for the life of a Slackware Release ...
Still I fail to notice where's the tragedy from the Slackware POV, considering that the PostgreSQL developers offer at least several years of support for a Major Release...

Also, it is not supposed you guys to use stable releases in production and Slackware to stick on the software's Major Releases for lifetime of a release?

Last I checked, our BDFL still does not pushed in the Slackware 14.2 "patches" the Plasma5, for example.

So, excuse me, but I cannot treat this story in other way than "yet another scary story ventilated in this forum"

Last edited by Darth Vader; 05-17-2018 at 10:06 PM.
 
1 members found this post helpful.
Old 05-18-2018, 12:34 AM   #1258
gmgf
Senior Member
 
Registered: Jun 2012
Location: Bergerac, France
Distribution: Slackware
Posts: 2,211

Rep: Reputation: 998Reputation: 998Reputation: 998Reputation: 998Reputation: 998Reputation: 998Reputation: 998Reputation: 998
meson-0.46.1

https://github.com/mesonbuild/meson/...-0.46.1.tar.gz

Last edited by gmgf; 05-18-2018 at 12:39 AM.
 
Old 05-18-2018, 02:02 AM   #1259
navigium
Member
 
Registered: Aug 2014
Location: Switzerland
Distribution: Slackware, FreeBSD
Posts: 119

Rep: Reputation: 58
I discovered GNU Parallel these days and IMHO it would be a great addition to a distro like Slackware which probably has quite a few console users. It's like "xargs" but executes the commands in parallel, using all those cores modern CPUs have.

https://www.gnu.org/software/parallel/
 
1 members found this post helpful.
Old 05-18-2018, 02:12 AM   #1260
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,097

Rep: Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174
Quote:
Originally Posted by navigium View Post
I discovered GNU Parallel these days and IMHO it would be a great addition to a distro like Slackware which probably has quite a few console users. It's like "xargs" but executes the commands in parallel, using all those cores modern CPUs have.

https://www.gnu.org/software/parallel/
it's already included in current since some weeks
Code:
Wed Apr 25 04:38:51 UTC 2018
[...]
d/parallel-20180422-noarch-1.txz:  Added.
 
1 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
[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 11:07 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