Thread overview
A multi-language library
Jan 22, 2019
Victor Porton
Jan 23, 2019
Francesco Mecca
Jan 23, 2019
Victor Porton
Jan 23, 2019
Stefan Koch
Jan 23, 2019
Victor Porton
January 22, 2019
There is the library librdf somewhere at GitHub.

There are also (in a separate GitHub repo) multi-language bindings to librdf.

I forked the repo with the bindings and added there Ada and D support.

Question: Can I upload these bindings as a DUB package? If yes, should my upload contain only dlang/ folder or the entire set of bindings?

Any other issues with this?
January 23, 2019
On Tuesday, 22 January 2019 at 20:29:13 UTC, Victor Porton wrote:
> There is the library librdf somewhere at GitHub.
>
> There are also (in a separate GitHub repo) multi-language bindings to librdf.
>
> I forked the repo with the bindings and added there Ada and D support.
>
> Question: Can I upload these bindings as a DUB package? If yes, should my upload contain only dlang/ folder or the entire set of bindings?
>
> Any other issues with this?

You can upload the bindings as a library to code.dlang.org

There are many examples that you can follow in order to provide the users with proper info / documentation.

These are notable example
http://code.dlang.org/packages/libsodiumd
http://code.dlang.org/packages/d2sqlite3
http://code.dlang.org/packages/derelict-sdl2
January 23, 2019
On Wednesday, 23 January 2019 at 10:32:14 UTC, Francesco Mecca wrote:
> You can upload the bindings as a library to code.dlang.org
>
> There are many examples that you can follow in order to provide the users with proper info / documentation.
>
> These are notable example
> http://code.dlang.org/packages/libsodiumd
> http://code.dlang.org/packages/d2sqlite3
> http://code.dlang.org/packages/derelict-sdl2

You have not replied my question: "If yes, should my upload contain only dlang/ folder or the entire set of bindings?"
January 23, 2019
On Wednesday, 23 January 2019 at 13:58:43 UTC, Victor Porton wrote:
> On Wednesday, 23 January 2019 at 10:32:14 UTC, Francesco Mecca wrote:
>> You can upload the bindings as a library to code.dlang.org
>>
>> There are many examples that you can follow in order to provide the users with proper info / documentation.
>>
>> These are notable example
>> http://code.dlang.org/packages/libsodiumd
>> http://code.dlang.org/packages/d2sqlite3
>> http://code.dlang.org/packages/derelict-sdl2
>
> You have not replied my question: "If yes, should my upload contain only dlang/ folder or the entire set of bindings?"

Depends, would having the other bindings complicated the build-process for dlang?
January 23, 2019
On Wednesday, 23 January 2019 at 14:52:47 UTC, Stefan Koch wrote:
> On Wednesday, 23 January 2019 at 13:58:43 UTC, Victor Porton wrote:
>> You have not replied my question: "If yes, should my upload contain only dlang/ folder or the entire set of bindings?"
>
> Depends, would having the other bindings complicated the build-process for dlang?

It is built using a GNU configure script. The configure script supports such things as choosing the D compiler and whether to build static, shared, or both (however the current version of the makefile for dlang/ folder always builds both static and shared).

Also the configure chooses the set of languages (D, Ada, etc.) which are to be built by Make.