LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Slapt-get / Dependency Management & Banshee (https://www.linuxquestions.org/questions/slackware-14/slapt-get-dependency-management-and-banshee-4175535697/)

Ztcoracat 03-03-2015 08:51 PM

Slapt-get / Dependency Management & Banshee
 
Hi:

I'd like to install Banshee and I'm going by these instructions.
http://banshee.fm/download/

Code:

Slackware64-current: Install a package manager (slapt-get has been tested)
Enter the repository into the configuration file of the package manager. For slapt-get, this is: SOURCE=http://schmatzler.de/my_slackbuilds/banshee/:OFFICIAL

Install all listed packages: Cython ORBit2 avahi banshee banshee-community-extensions boo cracklib dbus-sharp dbus-sharp-glib gdata-sharp gio-sharp gkeyfile-sharp gnome-disk-utility gstreamer1 gst-plugins-base1 gst-plugins-good1 gst-plugins-bad1 gst-plugins-ugly1 gst-libav1 gtk-sharp gtk-sharp-beans gudev-sharp lame libgdiplus libgpod-sharp libimobiledevice libmodplug libplist1 libpwquality libunique libwebp mono mono-addins mono-zeroconf newtonsoft-json soundtouch taglib-sharp taoframework usbmuxd webkitgtk
The banshee package provides the stable 2.6.x series with gstreamer 1.x backports.

I've never used slapt-get but as you can see it's installed.

Code:

bash-4.2# ls
Ready to Slack.png          Snoopy.jpg  slapt-get-0.10.2r-x86_64-1.tgz
Slackpapers_3D_(323).jpg  pysolfc
bash-4.2# installpkg slapt-get-0.10.2r-x86_64-1.tgz
Verifying package slapt-get-0.10.2r-x86_64-1.tgz.
Installing package slapt-get-0.10.2r-x86_64-1.tgz:
PACKAGE DESCRIPTION:
# slapt-get (an apt-like front-end to Slackware's pkgtools)
#
# slapt-get is an apt like system for Slackware package management.
#  * See /usr/doc/slapt-get-*/ for complete documentation.
#  * You will also want to customize /etc/slapt-get/slapt-getrc,
#    using a local mirror.  www.slackware.com may be very busy.
#  * Support:
#    http://software.jaos.org/cgi-bin/mailman/listinfo/slapt-get-user
#  * Please translate
#    http://software.jaos.org/git/slapt-get/plain/po/slapt-get.pot
#    then send to slapt-get-devel@software.jaos.org
Executing install script for slapt-get-0.10.2r-x86_64-1.tgz.
Package slapt-get-0.10.2r-x86_64-1.tgz installed.

-:-I read this thread BTW and it wasn't much help because I'm new at this-:-
http://www.linuxquestions.org/questi...urrent-936386/

Do I need to go and get each dependency from the SlackBuilds repo and install each one in a certain order?


Looking at this entry in the //etc/slapt-get/slapt-getrc
Quote:

# Source for slapt-get.
SOURCE=http://software.jaos.org/slackpacks/14.1-x86_64/:OFFICIAL
If I add this SOURCE=http://schmatzler.de/my_slackbuilds/banshee/:OFFICIAL will I need to uncomment the other SOURCE that's already in the file listed?

schmatzler 03-03-2015 11:50 PM

Quote:

Originally Posted by Ztcoracat (Post 5326554)
Do I need to go and get each dependency from the SlackBuilds repo and install each one in a certain order?

No. You don't have to download all the packages manually, that's what slapt-get is for. Also, the order of installing them doesn't matter.

Quote:

If I add this SOURCE=http://schmatzler.de/my_slackbuilds/banshee/:OFFICIAL will I need to uncomment the other SOURCE that's already in the file listed?
No. Just follow the instructions given on banshee.fm - I wrote them to be the most easy solution for installing Banshee.

solarfields 03-04-2015 03:01 AM

Quote:

Slackware64-current: Install a package manager (slapt-get has been tested).
This makes it sound as if Slackware does not have one... come on!

schmatzler, why don't you submit your banshee and related slackbuilds to SBo?

schmatzler 03-04-2015 03:16 AM

Quote:

Originally Posted by solarfields (Post 5326634)
This makes it sound as if Slackware does not have one... come on!

Yes, but slackpkg can't handle multiple sources by default.

Quote:

schmatzler, why don't you submit your banshee and related slackbuilds to SBo?
It's too much work. Also, I like to build my own versions of gstreamer - depending on how you build them, banshee doesn't support all file formats and that's just too much of a hassle to track on SBo.

Last time I checked, SBo already had some of the packages, too - but older versions. SBo is good for small and middle-sized projects, but when it gets bigger, maintaining the stuff also gets harder.

And I also have libplist in there, which is included in Slackware, but my package is called libplist1 and is installed into /opt, so we get a new version for Apple users. That likely won't get accepted on SBo.

solarfields 03-04-2015 03:23 AM

Well, it's your decision...

But I do think that both you and SBo can benefit from each other.

schmatzler 03-04-2015 03:29 AM

Quote:

Originally Posted by solarfields (Post 5326642)
But I do think that both you and SBo can benefit from each other.

No, I'm pretty sure SBo would make things way more complicated for me.

It's Open Source, if anybody feels up to the task of maintaining the stuff on there, just do it! :-)

Ztcoracat 03-04-2015 02:50 PM

Quote:

Originally Posted by schmatzler (Post 5326577)
No. You don't have to download all the packages manually, that's what slapt-get is for. Also, the order of installing them doesn't matter.



No. Just follow the instructions given on banshee.fm - I wrote them to be the most easy solution for installing Banshee.

Thanks for confirming that I don't have to install all those dependencies manually.

I don't have much experience building like you do so.....

Is this how I use slapt-get with all of those dependencies?
Code:

slapt-get install 'names of all the dependencies at once'?
Nevermind, I found the cmd here on this page-
http://schmatzler.de/my_slackbuilds/...e/_README.html

Ztcoracat 03-04-2015 03:01 PM

I added the repository to the /etc/slapt-get/slapt-getrc config file.

Code:

# Source for slapt-get.
SOURCE=http://software.jaos.org/slackpacks/14.1-x86_64/:OFFICIAL
SOURCE=http://schmatzler.de/my_slackbuilds/banshee/:OFFICIAL
# Packages on a CD/DVD.
# SOURCE=file:///mnt/cdrom/:OFFICIAL

I'll run the slapt-get cmd this evening and let you know if it works.
Can't right now-

Ztcoracat 03-04-2015 06:42 PM

1 Attachment(s)
Ok schmatzler Banshee is installed.
Thank You.

For some reason I'm having trouble with Banshee seeing my audio CD's-
The screenshot shows the audio CD on my desktop.

Does Banshee rip the songs from a CD's and keep them in a library?

Ztcoracat 03-04-2015 08:21 PM

Upon inserting a audio CD Banshee doesn't automatically detect it.
Not sure why but it sure is annoying:-

It's not a permission issue as I check on my groups and the user has prividgles to the cdrom drive.
Code:

users lp floppy audio video cdrom plugdev power netdev scanner
When I choose to "Import Media" I'm getting this error which doesn't make sense because the audio CD is in the CDROM drive.
Quote:

could not mount Audio Disc
Drive /dev/sr0 does not contain audio files
What do I have to do to get Banshee to see and add the songs on my audio CD's?

Ztcoracat 03-04-2015 08:45 PM

I rebooted after installing Banshee.
Thought that would of completed the process by which the automatically detecting a CD and the initialization; etc...
Evidently not-

Restarted my Slack box again popped in the audio cd and Banshee saw it this time.
Music is now ripped and held in the library.

schmatzler 03-05-2015 12:30 AM

Quote:

Originally Posted by Ztcoracat (Post 5327089)
Restarted my Slack box again popped in the audio cd and Banshee saw it this time.
Music is now ripped and held in the library.

I don't know exactly why that happened - but I'm guessing Banshee uses gvfs for various mounting tasks and that has to be run and populate $HOME/.gvfs, hence the reboot needed. I'm glad it's working out for you now :)

Quote:

Does Banshee rip the songs from a CD's and keep them in a library?
Yes, it can rip CD's automatically in FLAC, MP3, OGG or WAV. The format and bitrate settings can be configured in the sources window.

Edit: You are right, the Audio CD detection is a bit whacky. A reliable way to get a CD to show up is:

1. Put it in the drive
2. Wait for the popup in KDE to show up and open the CD in Dolphin
3. Close Dolphin, start Banshee, there it is!

I will investigate that further.

Edit #2: Enabling and disabling the support for Audio CD's in the settings also works reliably for me. Seems like it doesn't poll the CD drive all the time.

Ztcoracat 03-05-2015 03:05 PM

I agree the audio detection was a tad wacky. I'd be interested in finding out the culprit for that.

Maybe Banshee didn't want to play nice with XFCE?

During my Slack Installation I didn't install anything KDE.

✳Thank you for your time and help schmatzler -:)✳

BeaStiE35 03-13-2015 03:46 PM

Quote:

Originally Posted by Ztcoracat (Post 5326554)
bash-4.2# installpkg slapt-get-0.10.2r-x86_64-1.tgz

Code:

Cannot install slapt-get-0.10.2r-x86_64-1.tgz:  file not found
howdy folks...that's what I get if try to install slapt-get

some feedback would be appreciated!

Didier Spaier 03-13-2015 03:53 PM

Quote:

Originally Posted by BeaStiE35 (Post 5331715)
Code:

Cannot install slapt-get-0.10.2r-x86_64-1.tgz:  file not found
howdy folks...that's what I get if try to install slapt-get

some feedback would be appreciated!

First download the package from here in some directory then run the command installpkg from the same directory.

Advice: better learn the basic Slackware commands for packages management before trying something more sophisticated. To know more: "man installpkg"


All times are GMT -5. The time now is 11:17 PM.