LinuxQuestions.org
Review your favorite Linux distribution.
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 10-04-2018, 08:52 PM   #1
GreenFireFly
Member
 
Registered: Jul 2013
Posts: 211

Rep: Reputation: Disabled
Trying to remove pulse audio on slackware 14.2.


Hello Everyone,

I'm trying to remove pulse audio from slackware 14.2 64bit but i can't seem to compile xine-lib. I get this error when i try and recompile it.

tar: /root/nopulse/xine-lib/../MPlayer/ffmpeg-.tar.xz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now

Also i need to compile kde-runtime and kmix but when i go to the directory it's not setup like all the other packages from slackware.

Where is the slackbuild scripts and the necessary files to recompile them?
 
Old 10-04-2018, 08:59 PM   #2
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: MID-SOUTH USA
Distribution: Slackware 14.2 / Slackware 14.2 current / Manjaro / Parrot
Posts: 7,386

Rep: Reputation: 1491Reputation: 1491Reputation: 1491Reputation: 1491Reputation: 1491Reputation: 1491Reputation: 1491Reputation: 1491Reputation: 1491Reputation: 1491
Quote:
Originally Posted by GreenFireFly View Post
Hello Everyone,

I'm trying to remove pulse audio from slackware 14.2 64bit but i can't seem to compile xine-lib. I get this error when i try and recompile it.

tar: /root/nopulse/xine-lib/../MPlayer/ffmpeg-.tar.xz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now

Also i need to compile kde-runtime and kmix but when i go to the directory it's not setup like all the other packages from slackware.

Where is the slackbuild scripts and the necessary files to recompile them?
then the file is not there, at least not by the name you're calling it by. open a terminal and check for it, so if something is there you can also get the proper name for it then adjust your script.

slack doc
https://docs.slackware.com/howtos:mu...io_non-default

slack

https://mirror.slackbuilds.org/slackware/

Index of /slackware/slackware64-14.2/source/kde

Last edited by BW-userx; 10-04-2018 at 09:06 PM.
 
Old 10-05-2018, 04:16 AM   #3
Lysander666
Member
 
Registered: Apr 2017
Location: London
Distribution: Slackware 14.2 + Xfce
Posts: 915
Blog Entries: 2

Rep: Reputation: 795Reputation: 795Reputation: 795Reputation: 795Reputation: 795Reputation: 795Reputation: 795
Can someone confirm that this is actually a good idea? As far as I was aware, removing a core package from Slackware is not a good idea. As has been discussed in the other thread, audio can be re-routed direct to ALSA without bothering Pulse.
 
Old 10-05-2018, 04:57 AM   #4
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-14.2.1 on Lenovo Thinkpad W520
Posts: 8,631

Rep: Reputation: Disabled
I don't think this is a good idea, and the questions asked by the OP make me think that he or she won't succeed without much time and effort, as if he/she had the needed know-how to do that he/she would have found the answers.

@GreenFireFly: looking at the ChangeLog for Slackware-current should help you realize how difficult this can be. If you really want to get rid of pulseaudio your best bet is to just use Slackware-current without it, if that's something that you can accept and do.
 
1 members found this post helpful.
Old 10-05-2018, 05:05 AM   #5
lougavulin
Member
 
Registered: Jul 2018
Distribution: Slackware,x86_64,current
Posts: 257

Rep: Reputation: 91
Quote:
Originally Posted by Didier Spaier View Post
@GreenFireFly: looking at the ChangeLog for Slackware-current should help you realize how difficult this can be. If you really want to get rid of pulseaudio your best bet is to just use Slackware-current without it, if that's something that you can accept and do.
Yes, and to add some information, just have a look into extra/pure-alsa-system/ current's directory, you will see all packages requiring to be rebuild.
 
Old 10-05-2018, 05:44 AM   #6
GreenFireFly
Member
 
Registered: Jul 2013
Posts: 211

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by lougavulin View Post
Yes, and to add some information, just have a look into extra/pure-alsa-system/ current's directory, you will see all packages requiring to be rebuild.
I had already done that. My problem is this.

xine-lib.SlackBuild is looking for another Mplayer/ffmpeg package which is not in the xine-lib source directory. These are the files there.

xine-lib.SlackBuild
xine-lib-1.2.6.tar.xz
slack-desc

My question is where do i get the missing mplayer/ffmpeg package.

# Version on the tarball
VERSION=1.2.6
# Version used in the source directory to cd into
DIRVER=1.2.6
# Version used for the Slackware package
PKGVER=1.2.6

# Version used for statically linked ffmpeg
FFMPEG_VERSION=${FFMPEG_VERSION:-$(echo ../MPlayer/ffmpeg-*.tar.xz | rev | cut -f 3- -d . | cut -f 1 -d- | rev)}

BUILD=${BUILD:-8}

Also the question about kde-runtime and kmix is because unlike all the other source packages that are in a directory.

mpg123 directory

mpg123.SlackBuild
mpg123-1.23.4.tar.xz
slack-desc

the kde-runtime and kmix don't have that structure.
 
Old 10-05-2018, 07:01 AM   #7
Qury
Member
 
Registered: Feb 2004
Location: Dublin
Distribution: Slackware
Posts: 144

Rep: Reputation: 132Reputation: 132
ffmpeg is not part of Slackware64-14.2, it has only been added in current.
So your best bet is to get it from slackbuilds.org or from AlienBob's repository.
 
Old 10-05-2018, 01:46 PM   #8
philanc
Member
 
Registered: Jan 2011
Posts: 181

Rep: Reputation: 148Reputation: 148
Quote:
Originally Posted by GreenFireFly View Post
xine-lib.SlackBuild is looking for another Mplayer/ffmpeg package which is not in the xine-lib source directory.
I think that xine-lib uses the same ffmpeg as the one used to build MPlayer.

The slackbuild probably assume that you have a MPlayer source directory at the same level as your xine-lib source dir (so that in xine-lib source dir "../MPlayer/*" can find what it needs in the MPlayer source).

In the Slackware 14.2 MPlayer source directory (...slackware-14.2/source/xap/MPlayer) you will find ffmpeg-2.8.6.tar.xz, and maybe other pieces that are needed to build xine-lib.

This is just a guess. I didn't test it. HTH!
 
Old 10-06-2018, 08:35 PM   #9
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 5,528

Rep: Reputation: 3277Reputation: 3277Reputation: 3277Reputation: 3277Reputation: 3277Reputation: 3277Reputation: 3277Reputation: 3277Reputation: 3277Reputation: 3277Reputation: 3277
Quote:
Originally Posted by GreenFireFly View Post
xine-lib.SlackBuild is looking for another Mplayer/ffmpeg package
It's not looking for the package, but rather the ffmpeg source that is used to generate the mplayer package.

Quote:
Originally Posted by GreenFireFly View Post
Also the question about kde-runtime and kmix is because unlike all the other source packages that are in a directory.
You need the whole kde source directory. Then you would run the kde.SlackBuild with the package_grouprogram you want to build after it.

Code:
kde.SlackBuild kde-base:kde-runtime
kde.SlackBuild kdemultimedia:kmix
These commands are documented at the top of kde.SlackBuild.

But with the issues you're posting here... if you are struggling with these, you may run into a lot of other issues with running pulseaudio free on your system.

Quote:
Originally Posted by Qury View Post
ffmpeg is not part of Slackware64-14.2, it has only been added in current.
So your best bet is to get it from slackbuilds.org or from AlienBob's repository.
It isn't a standalone package in 14.2, but it was used statically in mplayer and xine.

Quote:
Originally Posted by philanc View Post
I think that xine-lib uses the same ffmpeg as the one used to build MPlayer.

The slackbuild probably assume that you have a MPlayer source directory at the same level as your xine-lib source dir (so that in xine-lib source dir "../MPlayer/*" can find what it needs in the MPlayer source).

In the Slackware 14.2 MPlayer source directory (...slackware-14.2/source/xap/MPlayer) you will find ffmpeg-2.8.6.tar.xz, and maybe other pieces that are needed to build xine-lib.

This is just a guess. I didn't test it. HTH!
This is exactly correct. xine-lib expects the mplayer directory to be available in the source tree and uses the ffmpeg source from that directory. Normally it would have the xap directory, and within that, it has the xine-lib and mplayer directories. xine-lib will look in the mplayer directory for the ffmpeg source.
 
Old 10-07-2018, 10:30 AM   #10
GreenFireFly
Member
 
Registered: Jul 2013
Posts: 211

Original Poster
Rep: Reputation: Disabled
Hello Bassmadrigal,

My problem with compiling xine-lib was that i put the MPlayer/ffmpeg-2.8.6 in the xine-lib directory.

xine-lib/MPlayer/ffmpeg-2.8.6

when it needs it to be in a directory above.

MPlayer/ffmpeg-2.8.6
xine-lib/SlackBuild

"You need the whole kde source directory. Then you would run the kde.SlackBuild with the package_grouprogram you want to build after it."

Ok thanks for the info.

Thanks to all others for their input.
 
Old 10-07-2018, 03:27 PM   #11
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys for decades while testing others to keep up
Posts: 2,017

Rep: Reputation: 1915Reputation: 1915Reputation: 1915Reputation: 1915Reputation: 1915Reputation: 1915Reputation: 1915Reputation: 1915Reputation: 1915Reputation: 1915Reputation: 1915
FWIW using the example of how Current removes Pulseaudio after an excruciating amount of fumbling I have 14.2 Multilib working pulse free... or almost. Xine and MPlayer work just fine, in fact everything seems to run but some videos on YouTube complain about HTML5 problems, all of which used to play just fine. I"m hoping I can solve that last remaining issue and join the realm of Happy Campers.

Also FWIW Current is working superbly well and hints that Slack v15 is going to be as solid a hit as 13.37 was. It's very fast even on the original huge.s kernel, (ikr? unusual that new stuff isn't even more bloated and slow) and at this point though I have no explanation as to why, XFCE is beautifully refined and fills many gaps it used to have. What is confusing me is they are both ostensibly the same versions. Whatever, v15 Slack promises to be wonderful. The Pure-Also option is great and easy (kudos on making the README an executable script... brilliant touch. )I'm patiently excited.
 
  


Reply


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] Uninstalled pulse-audio, how to remove PulseAudio volume control menu entry? linux_walt Ubuntu 1 03-15-2015 07:07 AM
Pulse Audio purple52 Linux - Newbie 1 05-15-2014 10:16 PM
What is Pulse AUdio Sunfist Linux - Newbie 23 08-12-2013 06:58 PM
[SOLVED] Remove pulse device from ALSA Haueck Linux - Hardware 4 07-30-2012 09:31 PM
LXer: How to Remove Pulse Audio Ubuntu 8.10 (Intrepid Ibex) LXer Syndicated Linux News 0 04-06-2009 02:50 AM

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

All times are GMT -5. The time now is 05:56 PM.

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