LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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, 05:52 PM   #1006
kjhambrick
Senior Member
 
Registered: Jul 2005
Location: Round Rock, TX
Distribution: Slackware64 14.2 + Multilib
Posts: 1,483

Rep: Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918

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, 09:25 PM   #1007
ttk
Member
 
Registered: May 2012
Location: Sebastopol, CA
Distribution: Slackware64
Posts: 887
Blog Entries: 27

Rep: Reputation: 1252Reputation: 1252Reputation: 1252Reputation: 1252Reputation: 1252Reputation: 1252Reputation: 1252Reputation: 1252Reputation: 1252
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, 01:32 AM   #1008
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 9,208

Rep: Reputation: 4033Reputation: 4033Reputation: 4033Reputation: 4033Reputation: 4033Reputation: 4033Reputation: 4033Reputation: 4033Reputation: 4033Reputation: 4033Reputation: 4033
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 01:42 AM.
 
1 members found this post helpful.
Old 05-13-2016, 12:17 PM   #1009
MarcT
Member
 
Registered: Jan 2009
Location: UK
Distribution: Slackware 14.2
Posts: 117

Rep: Reputation: 49
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, 07:02 AM   #1010
mats_b_tegner
Member
 
Registered: Nov 2009
Location: Gothenburg, Sweden
Distribution: Slackware
Posts: 626

Rep: Reputation: 386Reputation: 386Reputation: 386Reputation: 386
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 04:48 AM.
 
Old 05-15-2016, 08:49 PM   #1011
cwizardone
Senior Member
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib."
Posts: 4,977
Blog Entries: 1

Rep: Reputation: 2424Reputation: 2424Reputation: 2424Reputation: 2424Reputation: 2424Reputation: 2424Reputation: 2424Reputation: 2424Reputation: 2424Reputation: 2424Reputation: 2424
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 08:52 PM.
 
Old 05-15-2016, 09:34 PM   #1012
kjhambrick
Senior Member
 
Registered: Jul 2005
Location: Round Rock, TX
Distribution: Slackware64 14.2 + Multilib
Posts: 1,483

Rep: Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918
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, 10:55 PM   #1013
cwizardone
Senior Member
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib."
Posts: 4,977
Blog Entries: 1

Rep: Reputation: 2424Reputation: 2424Reputation: 2424Reputation: 2424Reputation: 2424Reputation: 2424Reputation: 2424Reputation: 2424Reputation: 2424Reputation: 2424Reputation: 2424
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, 10:37 AM   #1014
cwizardone
Senior Member
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib."
Posts: 4,977
Blog Entries: 1

Rep: Reputation: 2424Reputation: 2424Reputation: 2424Reputation: 2424Reputation: 2424Reputation: 2424Reputation: 2424Reputation: 2424Reputation: 2424Reputation: 2424Reputation: 2424
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 10:49 AM.
 
Old 05-16-2016, 10:52 AM   #1015
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 5,061

Rep: Reputation: Disabled
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, 10:59 AM   #1016
cwizardone
Senior Member
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib."
Posts: 4,977
Blog Entries: 1

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

Rep: Reputation: 120Reputation: 120
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, 05:57 PM   #1018
Nille_kungen
Member
 
Registered: Jul 2005
Posts: 508

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

Rep: Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744
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, 05:24 AM   #1020
Nille_kungen
Member
 
Registered: Jul 2005
Posts: 508

Rep: Reputation: 178Reputation: 178
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


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

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

All times are GMT -5. The time now is 12:34 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration