www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - D, DStep, and Deimos

reply Russel Winder via Digitalmars-d <digitalmars-d puremagic.com> writes:
Having now got some bits of libdvbv5 usable from D with aid of DStep =E2=80=
=93
which let's be honest did 90.357% (roughly) of the work =E2=80=93 thoughts =
turn
to maintenance and distribution. So a few questions/comments:

1. Is Deimos "alive and well" as a place to host the current state of a
D adaptor library, or is it best to just have a repository somewhere:
Git/GitHub, Git/BitBucket, Mercurial/BitBucket, Bazaar/Launchpad.

2. There needs to be an idiomatic process for updating DStep generated
but manually amended libraries using DStep.

3. I take it as given this needs to be in the Dub repository, is this
fair?

4. DStep is great.

--=20
Russel.
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D
Dr Russel Winder      t: +44 20 7585 2200   voip: sip:russel.winder ekiga.n=
et
41 Buckmaster Road    m: +44 7770 465 077   xmpp: russel winder.org.uk
London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder
Jun 13 2017
next sibling parent rikki cattermole <rikki cattermole.co.nz> writes:
On 13/06/2017 12:22 PM, Russel Winder via Digitalmars-d wrote:
 Having now got some bits of libdvbv5 usable from D with aid of DStep –
 which let's be honest did 90.357% (roughly) of the work – thoughts turn
 to maintenance and distribution. So a few questions/comments:
 
 1. Is Deimos "alive and well" as a place to host the current state of a
 D adaptor library, or is it best to just have a repository somewhere:
 Git/GitHub, Git/BitBucket, Mercurial/BitBucket, Bazaar/Launchpad.
 
 2. There needs to be an idiomatic process for updating DStep generated
 but manually amended libraries using DStep.
 
 3. I take it as given this needs to be in the Dub repository, is this
 fair?
You're limited to Github and Bitbucket, so that'll answer 1 as well.
Jun 13 2017
prev sibling parent Jacob Carlborg <doob me.com> writes:
On 2017-06-13 13:22, Russel Winder via Digitalmars-d wrote:
 Having now got some bits of libdvbv5 usable from D with aid of DStep –
 which let's be honest did 90.357% (roughly) of the work – thoughts turn
 to maintenance and distribution. So a few questions/comments:
 
 1. Is Deimos "alive and well" as a place to host the current state of a
 D adaptor library,
No, I would avoid Deimos.
 or is it best to just have a repository somewhere:
 Git/GitHub, Git/BitBucket, Mercurial/BitBucket, Bazaar/Launchpad.
Yes, GitHub to make it accessible to Dub.
 2. There needs to be an idiomatic process for updating DStep generated
 but manually amended libraries using DStep.
DStep has a flag to ignore translating the specified symbols. If you specify that flag for the symbols you need to translate manually. would that be an ok workflow?
 3. I take it as given this needs to be in the Dub repository, is this
 fair?
Yes. If think there's specific category in Dub for bindings to C libraries [1].
 4. DStep is great.
Thanks :) [1] http://code.dlang.org/?sort=updated&category=library.binding -- /Jacob Carlborg
Jun 13 2017