Giter Site home page Giter Site logo

Comments (11)

Saiyato avatar Saiyato commented on August 16, 2024

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.

from volumio-snapcast-plugin.

Saiyato avatar Saiyato commented on August 16, 2024

I've had little success with rigging up my old laptop as an x86 source... Will have to invest more time.

from volumio-snapcast-plugin.

PHaFTa avatar PHaFTa commented on August 16, 2024

Still interested by this enhancement. Let me know if I can help ^^

from volumio-snapcast-plugin.

Saiyato avatar Saiyato commented on August 16, 2024

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:

  1. Install dependencies
  2. Clone the git: git clone https://github.com/badaix/snapcast.git
  3. Create a build directory in the snapcast-dir (not sure why, 'cause I doesn't seem to be used at all)
  4. Update the externals: git submodule update --init --recursive
  5. sudo make
  6. sudo make installclient/installserver

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

from volumio-snapcast-plugin.

Saiyato avatar Saiyato commented on August 16, 2024

Breakthrough!

  1. 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

  2. Clone into /snapcast
    git clone https://github.com/badaix/snapcast.git

  3. Clone externals

cd externals/
git submodule update --init --recursive
  1. Run make (as sudo?)
    sudo make

  2. 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

from volumio-snapcast-plugin.

Saiyato avatar Saiyato commented on August 16, 2024

I do see I make an error still... dpkg -r snapcast triggered me... I need to rename to snapclient/snapserver. Will update later today.

from volumio-snapcast-plugin.

Saiyato avatar Saiyato commented on August 16, 2024

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.

from volumio-snapcast-plugin.

Saiyato avatar Saiyato commented on August 16, 2024

No luck in building the packages unfortunately, I can build from source.... which works, but creating the deb package did not succeed.

from volumio-snapcast-plugin.

aventrax avatar aventrax commented on August 16, 2024

Hello @Saiyato ,

My way to build (I used a clean LXC container with debian buster i386):

  1. apt-get install build-essential dh-make
  2. git clone https://github.com/badaix/snapcast
  3. cd snapcast/externals
  4. git submodule update --init --recursive
  5. cd ../server
  6. apt-get build-dep .
  7. dpkg-buildpackage -b -uc
  8. cd ../client
  9. apt-get build-dep .
  10. dpkg-buildpackage -b -uc
  11. cd .. --> enjoy your .deb

Probably the parameters of the .deb packages should be tweaker for volumio..

from volumio-snapcast-plugin.

faultfactory avatar faultfactory commented on August 16, 2024

I could use this and have some spare time to put toward testing. Is there a specific build method that fails and needs investigation?

from volumio-snapcast-plugin.

Saiyato avatar Saiyato commented on August 16, 2024

The new plugins are x86/64 compatible:
https://github.com/Saiyato/volumio-snapserver-plugin
https://github.com/Saiyato/volumio-snapclient-plugin

from volumio-snapcast-plugin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.