Difference between revisions of "Slackware"

From VideoLAN Wiki
Jump to navigation Jump to search
(Update the information for VLC 3.)
Line 1: Line 1:
 
==Installing VLC on Slackware==
 
==Installing VLC on Slackware==
  
You can find up-to-date Slackware packages for VLC in [http://www.slackware.com/~alien/slackbuilds/vlc/ Alien's SlackBuilds] repository. These packages are built without adding software that has patent issues (like MP3, AAC and AMR encoders) but you can re-build the package to include these encoders - individuals should not be bothered with patent claims.  
+
You can find up-to-date Slackware packages for VLC in [http://www.slackware.com/~alien/slackbuilds/vlc/ Alien's SlackBuilds] repository. These packages are built without adding the ACC encoding libray which has patent issues. However you can easily re-build the package to include the  AAC encoder - individuals should not be bothered with patent claims.
 +
 
 +
==External dependencies for VLC==
 +
 
 +
VLC 3.x and newer use Qt5 for the graphical user interface (GUI). Older versions use Qt4 which has been included in Slackware for many years. The same is not true for Qt5. Slackware versions before 15.0 do not include Qt5.
 +
 
 +
This means that in order to run VLC (and to compile it if you want) on any release of Slackware before 15.0 you'll have to install Qt5 and its dependencies first. <br />
 +
Slackware 14.2 and -current (pre-15.0) are supported through pre-built dependency packages in Alien's repository. These are [http://www.slackware.com/~alien/slackbuilds/libxkbcommon/ libxkbcommon], [http://www.slackware.com/~alien/slackbuilds/qt5/ qt5] and [http://www.slackware.com/~alien/slackbuilds/qt-webkit/ qt-webkit].<br />
 +
Additionally, and only for Slackware 14.2, you need [http://www.slackware.com/~alien/slackbuilds/libinput/ libinput] and [http://www.slackware.com/~alien/slackbuilds/libwacom/ libwacom] packages. These were added to Slackware, only after the release of 14.2.
 +
 
 +
There is one optional dependency: if you want to play encrypted DVD's this requires the DeCSS library. A Slackware package can be found [http://slackware.nl/people/alien/restricted_slackbuilds/libdvdcss/ in Alien's 'restricted' repository].
  
 
==Building VLC from source==
 
==Building VLC from source==
Line 11: Line 21:
 
lftp -c "open http://www.slackware.com/~alien/slackbuilds/vlc/ ; mirror build"
 
lftp -c "open http://www.slackware.com/~alien/slackbuilds/vlc/ ; mirror build"
 
cd build
 
cd build
sh vlc.SlackBuild
+
USE_PATENTS=YES sh vlc.SlackBuild
 
</pre>
 
</pre>
  
(If you need MP3/AAC support and don't mind "tainting" the program with proprietary codecs, substitute this URL in the lftp command above:
+
The ''SlackBuild'' script will automatically download the missing source-code archives and build a new VLC package. After the compilation finishes, you will find a package in the ''/tmp'' directory which you can install using the <pre>installpkg</pre> command. If you already have a ''vlc'' package installed, then please use the <pre>upgradepkg</pre> command to upgrade that package with the new one.
http://slackware.org.uk/people/alien/restricted_slackbuilds/vlc/ )
 
 
 
The ''SlackBuild'' script will automatically download the missing source-code archives and builld a new VLC package. After the compilation finishes, you will find a package in the ''/tmp'' directory which you can install using the <pre>installpkg</pre> command.
 
  
 
* If you do not want the Mozilla plugin to be built you should start the SlackBuild script with an extra variable added in front:
 
* If you do not want the Mozilla plugin to be built you should start the SlackBuild script with an extra variable added in front:
Line 23: Line 30:
 
MOZPLUGIN=NO sh vlc.SlackBuild
 
MOZPLUGIN=NO sh vlc.SlackBuild
 
</pre>
 
</pre>
 
* If you do not have the alternative ''yasm'' assembler installed, you can not compile recent releases of the ''x264'' codec. If you start the SlackBuild script as follows:
 
<pre>
 
REQUIRE_YASM=NO sh vlc.SlackBuild
 
</pre>
 
then the script will fall-back to an older version of x264 which builds successfully with Slackware's old nasm assembler.
 
  
 
==Mirror sites==
 
==Mirror sites==
Line 35: Line 36:
  
 
* [http://slackware.org.uk/3rd-party/alien/slackbuilds/vlc/ slackware.org.uk] (thanks to Tadgy for the mirror!)
 
* [http://slackware.org.uk/3rd-party/alien/slackbuilds/vlc/ slackware.org.uk] (thanks to Tadgy for the mirror!)
* [http://slackware.org.uk/3rd-party/alien/restricted_slackbuilds/vlc/ slackware.org.uk] (version of the package with '''all''' codecs already built-in)
+
* [http://slackware.org.uk/3rd-party/alien/restricted_slackbuilds/vlc/ slackware.org.uk] (version of the package with '''all''' codecs as well as the DeCSS library already built-in)
 
 
  
--[[User:alienbob|Eric Hameleers]] Fri Aug 15 10:15:08 UTC 2008 (CEST)
+
--[[User:Alienbob|Alien Bob]] ([[User talk:Alienbob|talk]]) 22:01, 16 February 2018 (CET)
  
 
[[Category:Operating systems]]
 
[[Category:Operating systems]]

Revision as of 21:01, 16 February 2018

Installing VLC on Slackware

You can find up-to-date Slackware packages for VLC in Alien's SlackBuilds repository. These packages are built without adding the ACC encoding libray which has patent issues. However you can easily re-build the package to include the AAC encoder - individuals should not be bothered with patent claims.

External dependencies for VLC

VLC 3.x and newer use Qt5 for the graphical user interface (GUI). Older versions use Qt4 which has been included in Slackware for many years. The same is not true for Qt5. Slackware versions before 15.0 do not include Qt5.

This means that in order to run VLC (and to compile it if you want) on any release of Slackware before 15.0 you'll have to install Qt5 and its dependencies first.
Slackware 14.2 and -current (pre-15.0) are supported through pre-built dependency packages in Alien's repository. These are libxkbcommon, qt5 and qt-webkit.
Additionally, and only for Slackware 14.2, you need libinput and libwacom packages. These were added to Slackware, only after the release of 14.2.

There is one optional dependency: if you want to play encrypted DVD's this requires the DeCSS library. A Slackware package can be found in Alien's 'restricted' repository.

Building VLC from source

  • To rebuild the VLC package and include all non-free codecs, download the build directory and then run the SlackBuild script, like this:
mkdir -p ~/slackbuilds/vlc
cd ~/slackbuilds/vlc
lftp -c "open http://www.slackware.com/~alien/slackbuilds/vlc/ ; mirror build"
cd build
USE_PATENTS=YES sh vlc.SlackBuild

The SlackBuild script will automatically download the missing source-code archives and build a new VLC package. After the compilation finishes, you will find a package in the /tmp directory which you can install using the

installpkg

command. If you already have a vlc package installed, then please use the

upgradepkg

command to upgrade that package with the new one.

  • If you do not want the Mozilla plugin to be built you should start the SlackBuild script with an extra variable added in front:
MOZPLUGIN=NO sh vlc.SlackBuild

Mirror sites

You can find my VLC package on the following mirror sites:

--Alien Bob (talk) 22:01, 16 February 2018 (CET)