Jebbs / DSFML

DSFML is a D binding of SFML

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Linux Packages

Jebbs opened this issue · comments

DSFML should have packages in the default package managers on major linux distros.

See Jebbs/DSFML-C#14 for more details.

So after the merge would DSFML be distributed as a linux package or with DUB?

You bring up a good point.

A goal of mine for the next release is to have DSFML to be usable in DUB out of the box, so you shouldn't have to download or build anything if that is what you use (except for it's SFML dependency). DUB isn't meant to be used in this way, but I'm experimenting with using special DUB packages that have prebuilt DSFMLC libs depending on your system, so the DSFML dub.json will set up to fetch the correct ones.

I suppose it is trickier for the linux packages since I can't really distribute D static libraries, so maybe linux packages sholdn't exist? I still have more work to do, but the binding portion can be built with the build script (right now the build script actually embeds the C++ code into the D static libraries). Maybe if D ever becomes ABI stable/compatible across versions and compilers I will rethink the linux packages.