philippe44 / AirConnect

Use AirPlay to stream to UPnP/Sonos & Chromecast devices
Other
3.46k stars 217 forks source link

Build for the ppc32 architecture of the DS213+ #249

Closed nlights closed 4 years ago

nlights commented 4 years ago

Hello! Is a compatible ppc version for the ppc32 architecture from the ds213+ possible? See @eizedev's response https://github.com/eizedev/AirConnect-Synology/issues/1 for details. Thank you very much!

philippe44 commented 4 years ago

I've added a static build, you can give it a try

eizedev commented 4 years ago

@nlights

the quickest way to test the static build(s), is to download the two binaries to your NAS and try to run these binaries. If it's easier for you, i can build a spk package.

If you want to start these binaries with the default settings, you can use the default command line arguments as mentioned in the how it works section and start the binary using the airconnect user.

Static build(s):

aircast-bsd-x64-static airupnp-x86-64-static

nlights commented 4 years ago

@eizedev I'm not very familiar with linux, a spk package would be a big help for me. if it is not to much asked from you - thank you anyway!

eizedev commented 4 years ago

@philippe44 I am not very familiar with static builds, but can i use the bsd static build of aircast in combination with the x86-64 static build of airupnp? The synology package combines both binaries (aircast and airupnp) at the moment.

@nlights No problem, i will create an spk package for you and upload it to the releases page, as soon as it is ready. I'll let you know.

philippe44 commented 4 years ago

the -static builds are simply a build that has no external "loadable" library dependency. There is no incompatibility issues between static and classical builds across airxxxx applications.

eizedev commented 4 years ago

thanks @philippe44 I have created a spk package for testing (@nlights) as mentioned in the other issue and used the two binaries: aircast-bsd-x64-static & airupnp-x86-64-static

philippe44 commented 4 years ago

you also have airupnp-ppc-static now

eizedev commented 4 years ago

@philippe44 cool, thanks! Stupid question, but i cannot find airupnp-ppc-static in the bin folder? (I can only find the comment to the executable in the ppc Makefile: #EXECUTABLE_STATIC = ../bin/airupnp-ppc-static)

Edit: I thought to myself that @nlights gets this error that the x86_64 and bsd static binaries are not compatible to his ppc(32) synology device, but I wanted to give it a try. (Response: https://github.com/eizedev/AirConnect-Synology/issues/1#issuecomment-625130054)

Is it possible that you can create a static binary for his arch for both airupnp and aircast?

Thanks for effort :)

philippe44 commented 4 years ago

ahah ... I forgot to push the modification :-)

Re doing a static for all, yes I can but it's adding a lot to my build time hence I'm doing them one by one (and it's a much bigger bin as well)

eizedev commented 4 years ago

@philippe44 Thanks for your effort and the binary! :-) I did not mean to say that we need a static binary for all architectures. But in the case of @nlights I would also need the aircast static binary. Would it be possible to create the static binary for aircast as well? So airupnp-ppc-static & aircast-ppc-static. For the Synology package I generally package both binaries. Many, many thanks Or do I not need that at all, since I can generally run the bsd static binary (aircast-bsd-x64-static) on his ppc architecture? If the static binaries can possibly run on any platform, i could make a noarch spk package that could be possibly installed on any architecture. Sorry for the stupid question.

philippe44 commented 4 years ago

Added the aircast-ppc-static. Static are still CPU/OS specific

eizedev commented 4 years ago

The ppc-static binaries are now part of the current and upcoming releases: https://github.com/eizedev/AirConnect-Synology/releases/tag/0.2.25.0-20200511