Packaging 104 for Debian: shared libraries

Packaging 104 for Debian: shared libraries

Discuss everything related to running Spring on your chosen distribution of Linux.

Moderator: Moderators

Post Reply
apoleon
Posts: 8
Joined: 12 Dec 2013, 21:19

Packaging 104 for Debian: shared libraries

Post by apoleon »

HI,

I'm the maintainer of Spring for Debian. I have started to package 104 and everything went quite well so far. I noticed you introduced a couple of new build-dependencies which are located in rts/lib and are mostly statically compiled into the engine and I would like to replace at least most of them with shared system libraries. I have asked a similar question four years ago so I am aware of "the sync problem" and no, I do not want to mutilate your software.

I would appreciate it if you could comment on the following embedded libs and tell me why you didn't provide a compile option for using shared libraries instead.

asio
gflags

I have also received a bug report from the Debian maintainer of squish.

https://bugs.debian.org/838054

He claims that the embedded version of squish is an unmodified copy of squish and replacing it with the system library should be straightforward because it provides the same code and API. You told me once that squish is one of those "don't touch it is needed for syncing" libraries but his comments sound like this has changed or could be improved.

Thanks in advance for any replies
hokomoko
Spring Developer
Posts: 593
Joined: 02 Jun 2014, 00:46

Re: Packaging 104 for Debian: shared libraries

Post by hokomoko »

As everything pretty much supports GL_EXT_texture_compression_s3tc nowadays,
I think it's time to remove squish and rg-etc1 from the engine.
sprunk
Posts: 100
Joined: 29 Jun 2015, 07:36

Re: Packaging 104 for Debian: shared libraries

Post by sprunk »

Squish appears to have been pwnt.
apoleon
Posts: 8
Joined: 12 Dec 2013, 21:19

Re: Packaging 104 for Debian: shared libraries

Post by apoleon »

Thanks for your squish comments. What about gflags and asio. gflags appears to be unrelated to networking. According to https://packages.debian.org/sid/libgflags-dev it is a "commandline flags module for C++". Should it not be possible to replace the embedded lib with the system library without risking sync errors?

I am not so sure about asio because it is a network library but we provide a system library as well. https://packages.debian.org/sid/libasio-dev
hokomoko
Spring Developer
Posts: 593
Joined: 02 Jun 2014, 00:46

Re: Packaging 104 for Debian: shared libraries

Post by hokomoko »

gflags has custom changes so it can't use the main lib (it's unlikely that these changes be accepted upstream).
asio is possible, but I'm not going to work on that.
Post Reply

Return to “Linux”