www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - A multi-language library

reply Victor Porton <porton narod.ru> writes:
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?
Jan 22 2019
parent reply Francesco Mecca <me francescomecca.eu> writes:
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
Jan 23 2019
parent reply Victor Porton <porton narod.ru> writes:
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?"
Jan 23 2019
parent reply Stefan Koch <uplink.coder googlemail.com> writes:
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?
Jan 23 2019
parent Victor Porton <porton narod.ru> writes:
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.
Jan 23 2019