LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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


Closed Thread
  Search this Thread
Old 05-11-2016, 04:52 PM   #1006
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

55020 --

Yes, I personally prefer doing my own separate downloads because I like to install everything manually.

In addition, I can easily build and test various versions of a package simply by downloading the source into some 'convenient place'/ then I symlink the source into a copy of the SBo.org slackbuild directory.

Example ... I was playing around with ffmpeg this morning. This is the some 'convenient place'/ directory:

Code:
# ls -la
total 52840
drwxr-xr-x  3 konrad users     4096 May 11 10:25 ./
drwxr-xr-x 65 konrad users     4096 May 11 08:05 ../
drwxr-xr-x  2 root   root      4096 May 11 10:18 ffmpeg/
-rw-r--r--  1 root   root  10177400 May 11 08:24 ffmpeg-2.8.6-x86_64_custom-2_SBo.tgz
-rw-r--r--  1 root   root   7205300 Jan 31 19:06 ffmpeg-2.8.6.tar.xz
-rw-r--r--  1 root   root  10178640 May 11 08:32 ffmpeg-2.8.7-x86_64_custom-2_SBo.tgz
-rw-r--r--  1 root   root   7205628 May 11 08:25 ffmpeg-2.8.7.tar.xz
-rw-r--r--  1 root   root  11852923 May 11 10:24 ffmpeg-3.0.2-x86_64_custom-2_SBo.tgz
-rw-r--r--  1 root   root   7461808 May 11 08:25 ffmpeg-3.0.2.tar.xz
Note the ffmpeg/ directory inside the 'convenient place'/ directory ... This is a copy of the original SBo.org ffmpeg directory

And these are the files in the copy the ffmpeg/ directory that I copied in the 'convenient place'/ Directory:

Code:
# ls -lad ffmpeg/*
-rw-r--r-- 1 root root 2185 May 11 08:02 ffmpeg/README
lrwxrwxrwx 1 root root   22 May 11 08:18 ffmpeg/ffmpeg-2.8.6.tar.xz -> ../ffmpeg-2.8.6.tar.xz
lrwxrwxrwx 1 root root   22 May 11 08:26 ffmpeg/ffmpeg-2.8.7.tar.xz -> ../ffmpeg-2.8.7.tar.xz
lrwxrwxrwx 1 root root   22 May 11 10:18 ffmpeg/ffmpeg-3.0.2.tar.xz -> ../ffmpeg-3.0.2.tar.xz
-rw-r--r-- 1 root root 8177 May 11 08:02 ffmpeg/ffmpeg.SlackBuild
-rw-r--r-- 1 root root  281 May 11 08:02 ffmpeg/ffmpeg.info
-rw-r--r-- 1 root root  918 May 11 08:02 ffmpeg/slack-desc
Note the symlinks for the source code.

Making a different version is simple. Here's what I did to try out ffmpeg 3.0.2:

Code:
1. cd  'someplace convenient'/
2. download ffmpeg-3.0.2.tar.xz  ./
3. cd ffmpeg 
4. ln -s ../ffmpeg-3.0.2.tar.xz ffmpeg-3.0.2.tar.xz
5. VERSION=3.0.2 sh ffmpeg.SlackBuild
6. cd ..
7. mv /tmp/fmpeg-3.0.2-x86_64_custom-2_SBo.tgz
Once the package is built, I can update or install it as needed and I've got all the parts in one 'convenient' place.

If something breaks when I bump a version, it's simple enough to remove the borken package and re-install a working package.

Anyhow ... my $0.02 ...

-- kjh
 
Old 05-11-2016, 08:25 PM   #1007
ttk
Senior Member
 
Registered: May 2012
Location: Sebastopol, CA
Distribution: Slackware64
Posts: 1,038
Blog Entries: 27

Rep: Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484
For what it's worth, Slackware ships with perl, which includes the JSON::PP json-parsing module in-core, so you can parse JSON with just a stock Slackware install, like so:

Code:
ttk@wip:~> curl -s https://api.github.com/users/octocat | perl -MJSON::PP -e '$js = join("",<STDIN>); $hr = decode_json($js); print "$hr->{html_url}\n"'
https://github.com/octocat
 
3 members found this post helpful.
Old 05-12-2016, 12:32 AM   #1008
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,235

Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320
ttk: that's more or less exactly what I want to do. I'm more of a Python person though, so this is what I ended up doing for my Wine SlackBuild:

https://github.com/duganchen/my_slac...ine.SlackBuild

The relevant part (the part that downloads and extracts the wine-staging tarball) is:

Code:
read -r -d '' PARSER <<EOF
import json
import sys

releases = json.load(sys.stdin)
print releases[0]["name"]
EOF

LATEST=$(curl -H "Accept: application/vnd.github.v3.raw+json" https://api.github.com/repos/wine-compholio/wine-staging/tags | python -c $PARSER)
VERSION=${LATEST:1}

wget --content-disposition https://github.com/wine-compholio/wine-staging/archive/${LATEST}.tar.gz
tar xvf wine-staging-${VERSION}.tar.gz
A bit less concise than the Perl version.

Last edited by dugan; 05-12-2016 at 12:42 AM.
 
1 members found this post helpful.
Old 05-13-2016, 11:17 AM   #1009
MarcT
Member
 
Registered: Jan 2009
Location: UK
Distribution: Slackware 14.2
Posts: 125

Rep: Reputation: 51
Could I request OpenSSL is built with:

1) FIPS canister:
- I look after an application which uses FIPS certified cryptography. It would be great if the OpenSSL shared libraries in Slackware could have the FIPS canister included.
- FIPS is not used unless explicitly enabled (either by calling FIPS_mode_set(1), or by environment variable OPENSSL_FIPS=1) , so it does not affect operation of non-FIPS applications.

2) "enable-ec_nistp_64_gcc_128" compile time option for amd64:
- Can result in significant performance improvement (roughly 3x on my test ageing Phenom 9850 workstation) for the NIST P curves.
- You can benchmark by running "openssl speed ecdsa", some example performance figures in the link below:
https://lists.ubuntu.com/archives/fo...er/118085.html
- More info below taken from the OpenSSL CHANGES file:

Quote:
*) Add optional 64-bit optimized implementations of elliptic curves NIST-P224,
NIST-P256, NIST-P521, with constant-time single point multiplication on
typical inputs. Compiler support for the nonstandard type __uint128_t is
required to use this (present in gcc 4.4 and later, for 64-bit builds).
Code made available under Apache License version 2.0.

Specify "enable-ec_nistp_64_gcc_128" on the Configure (or config) command
line to include this in your build of OpenSSL, and run "make depend" (or
"make update"). This enables the following EC_METHODs:

EC_GFp_nistp224_method()
EC_GFp_nistp256_method()
EC_GFp_nistp521_method()

EC_GROUP_new_by_curve_name() will automatically use these (while
EC_GROUP_new_curve_GFp() currently prefers the more flexible
implementations).
[Emilia Käsper, Adam Langley, Bodo Moeller (Google)]
 
1 members found this post helpful.
Old 05-15-2016, 06:02 AM   #1010
mats_b_tegner
Member
 
Registered: Nov 2009
Location: Gothenburg, Sweden
Distribution: Slackware
Posts: 946

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
file, lftp, lvm2 and python-setuptools

How about upgrading the following:
file 5.27
ftp://ftp.astron.com/pub/file/file-5.27.tar.gz

lvm2 2.02.154
ftp://sources.redhat.com/pub/lvm2/LVM2.2.02.154.tgz
ftp://sources.redhat.com/pub/lvm2/WHATS_NEW
Upgraded 2016-05-17
lftp 4.7.1
http://lftp.yar.ru/ftp/lftp-4.7.1.tar.xz
https://lftp.yar.ru/news.html
Upgraded 2016-05-17
python-setuptools 21.0.0
https://pypi.python.org/pypi/setuptools
Upgraded 2016-05-17

Last edited by mats_b_tegner; 05-17-2016 at 03:48 AM.
 
Old 05-15-2016, 07:49 PM   #1011
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,107

Rep: Reputation: 7282Reputation: 7282Reputation: 7282Reputation: 7282Reputation: 7282Reputation: 7282Reputation: 7282Reputation: 7282Reputation: 7282Reputation: 7282Reputation: 7282
The 4.6 kernel was released about two hours ago. Will this be a LTS kernel?

http://lkml.iu.edu/hypermail/linux/k...5.1/05030.html

Last edited by cwizardone; 05-15-2016 at 07:52 PM.
 
Old 05-15-2016, 08:34 PM   #1012
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 cwizardone View Post
The 4.6 kernel was released about two hours ago. Will this be a LTS kernel?

http://lkml.iu.edu/hypermail/linux/k...5.1/05030.html
Good Q, but I'll bet that Pat won't risk 14.2 on a fresh 'mainline' kernel which could either go longterm or EOL:

https://www.kernel.org/category/faq.html

Maybe there is something here: http://phb-crystal-ball.org/

-- kjh
 
Old 05-15-2016, 09:55 PM   #1013
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,107

Rep: Reputation: 7282Reputation: 7282Reputation: 7282Reputation: 7282Reputation: 7282Reputation: 7282Reputation: 7282Reputation: 7282Reputation: 7282Reputation: 7282Reputation: 7282
Quote:
Originally Posted by kjhambrick View Post
Good Q, but I'll bet that Pat won't risk 14.2 on a fresh 'mainline' kernel which could either go longterm or EOL...
Yes, you are probably right.
 
Old 05-16-2016, 09:37 AM   #1014
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,107

Rep: Reputation: 7282Reputation: 7282Reputation: 7282Reputation: 7282Reputation: 7282Reputation: 7282Reputation: 7282Reputation: 7282Reputation: 7282Reputation: 7282Reputation: 7282
Just a couple of innocent questions.
Apparently the 4.6 kernel has support for USB 3.1 SSP. So, I'm guessing this means USB 3.1 has not been supported is more recent versions of the kernel? Isn't this something owners of new computer hardware would expect to be supported?



http://news.softpedia.com/news/linux...t-504088.shtml

Last edited by cwizardone; 05-16-2016 at 09:49 AM.
 
Old 05-16-2016, 09:52 AM   #1015
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,100

Rep: Reputation: 4177Reputation: 4177Reputation: 4177Reputation: 4177Reputation: 4177Reputation: 4177Reputation: 4177Reputation: 4177Reputation: 4177Reputation: 4177Reputation: 4177
Quote:
Originally Posted by cwizardone View Post
Just a couple of innocent questions.
Apparently the 4.6 kernel has support for USB 3.1 SSP.
looks like, I won't bet it's totally complete
https://git.kernel.org/cgit/linux/ke...SuperSpeedPlus

Quote:
So, I'm guessing this means USB 3.1 has not been supported is more recent versions of the kernel?
no, partial support was already there, seems it's the SSP feature (that also was partially there) that got more love with 4.6.

Quote:
Isn't this something owners of new computer hardware would expect to be supported?
I suppose they won't have any issues building, like I personally do, one 4.6.x kernel from the config files in testing.
 
Old 05-16-2016, 09:59 AM   #1016
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,107

Rep: Reputation: 7282Reputation: 7282Reputation: 7282Reputation: 7282Reputation: 7282Reputation: 7282Reputation: 7282Reputation: 7282Reputation: 7282Reputation: 7282Reputation: 7282
@ ponce,
Many thanks for the information!
 
Old 05-16-2016, 10:18 AM   #1017
BrZ
Member
 
Registered: Apr 2009
Distribution: Slackware
Posts: 543

Rep: Reputation: 121Reputation: 121
I hope they backport this commit to 4.4.x:
Quote:
Mikko Rapeli (1):
uapi glibc compat: fix compile errors when glibc net/if.h
included before linux/if.h
More information...
 
Old 05-16-2016, 04:57 PM   #1018
Nille_kungen
Member
 
Registered: Jul 2005
Distribution: Slackware64-current
Posts: 587

Rep: Reputation: 201Reputation: 201Reputation: 201
There's updated amd firmware so it might be a good idea to update firmware once again.
 
Old 05-16-2016, 09:03 PM   #1019
ivandi
Member
 
Registered: Jul 2009
Location: Québec, Canada
Distribution: CRUX, Debian
Posts: 528

Rep: Reputation: 866Reputation: 866Reputation: 866Reputation: 866Reputation: 866Reputation: 866Reputation: 866
On a fresh install the imagemagick package leaves all the .new files in /etc/ImageMagick-6.

The doinst.sh script uses absolute path instead of relative one:
Code:
# Process all .new config files:
for file in /etc/ImageMagick*/*.new ; do
  config $file
done
slackpkg reinstall fixes it.

Cheers
 
2 members found this post helpful.
Old 05-17-2016, 04:24 AM   #1020
Nille_kungen
Member
 
Registered: Jul 2005
Distribution: Slackware64-current
Posts: 587

Rep: Reputation: 201Reputation: 201Reputation: 201
Quote:
Originally Posted by alex14641 View Post
Also, libmtp 1.1.11 has been released: https://sourceforge.net/projects/libmtp/
Is there any reason not to upgrade libmtp?
It adds support for more android devices.
https://sourceforge.net/projects/lib...libmtp/1.1.11/
 
  


Closed Thread



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] how to show the current time at the top in the current shell Always ? rohitchauhan Linux - General 5 04-09-2014 03:05 PM
Slackware ARM (current) epic mistake: the current Android kernels are kicked out! Darth Vader Slackware 16 08-25-2013 04:36 PM
[SOLVED] setup fails on most current Slackware-current March 26, 2012 AlleyTrotter Slackware 15 04-09-2012 06:05 AM
Observation of Feb -current vs March -current Hangaber Slackware 14 03-12-2010 08:26 AM
cvs diff the most current and second last current version powah Linux - Software 1 03-30-2006 01:02 PM

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

All times are GMT -5. The time now is 03:51 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