Closed PHaFTa closed 2 years ago
Hi,
You are correct, I have not yet ported to x86, it's on my todo list. At this point I think only arm is supported.
I've had little success with rigging up my old laptop as an x86 source... Will have to invest more time.
Still interested by this enhancement. Let me know if I can help ^^
Hehe check, I did manage to get my x86 instance up and running. The problem I'm facing now is building the package for x86, I'm spoiled by Visual Studio.... I have no clue how to create a deb-package from the git source. So if you have any experience regarding the subject, that'd be helpful.
I did install all dependencies, including cmake and checkinstall (which was not mentioned in the tut badaix wrote). But that is where the problem starts, I have been googling some tutorials, but I seems like I'm missing some info...
What I did:
But I want to create a .deb package to distribute (upload to github), so that the plugin can install a deb-package as opposed to needing to build it yourself.
The problem really is creating a package from source... Man am I spoiled by VS, pressing F5 does it all :P
Breakthrough!
Install dependencies (just for building; run sudo apt-get update
first!)
sudo apt-get install git checkinstall cmake libasound2-dev libvorbisidec-dev libvorbis-dev libflac-dev alsa-utils libavahi-client-dev avahi-daemon -y
Clone into /snapcast
git clone https://github.com/badaix/snapcast.git
Clone externals
cd externals/
git submodule update --init --recursive
Run make (as sudo?)
sudo make
Package the client and server (two commands)
sudo checkinstall make installclient
sudo checkinstall make installserver
Salvage the *.deb files:
Done. The new package has been installed and saved to
/home/volumio/snapkitchen/snapcast/snapcast_0.11.1-1_i386.deb
You can remove it from your system anytime using:
dpkg -r snapcast
I do see I make an error still... dpkg -r snapcast triggered me... I need to rename to snapclient/snapserver. Will update later today.
I did prep the deb-packages now, but they don't seem to work yet....
I've uploaded the deb-files in 'known_working_versions.
No luck in building the packages unfortunately, I can build from source.... which works, but creating the deb package did not succeed.
Hello @Saiyato ,
My way to build (I used a clean LXC container with debian buster i386):
Probably the parameters of the .deb packages should be tweaker for volumio..
I could use this and have some spare time to put toward testing. Is there a specific build method that fails and needs investigation?
The new plugins are x86/64 compatible: https://github.com/Saiyato/volumio-snapserver-plugin https://github.com/Saiyato/volumio-snapclient-plugin
Hi Saiyato,
thanks for this very cool plugin. I have discovered volumio and 45 minutes after, I had a lovely multi-room installation with 3 raspberry pi working :)
I am now trying volumio on a x86 host and it seems that the current release of the plugin does not work on the x86 2.201 version of volumio (2017-06-14) (factory defaults configuration). The plugin installation seems OK but the plugin activation returns the two following messages (red pop-up) on the top-right of the screen.