Packaging and Distributing Dlang Applications with GtkD Dependency?

Andre Pany andre at s-e-a-p.de
Thu Sep 26 16:30:39 UTC 2019


On Wednesday, 25 September 2019 at 17:03:51 UTC, Ron Tarrant 
wrote:
> On Wednesday, 25 September 2019 at 13:52:48 UTC, bioinfornatics 
> wrote:
>
>> I think I misunderstood your need but are lo looking for dub 
>> tool with its repository https://code.dlang.org/
>
> I don't think so, but I could be wrong. I tried reading up on 
> dub, but got lost in the docs, so I really don't understand 
> what all it can do.

Dub is a tool for developers, I understand your requirements that 
you want target end customers of your applications. Therefore dub 
is the wrong tool for this job.

To be more precise, gtkd is a wrapper for GTK. Gtkd is not 
interesting in this context, but the dependency on gtk. On 
windows you have the possibility to either publish your 
application with GTK dlls or to run gtk setup routine as part of 
your application setup routine or just say in your readme that 
the customer needs to run GTK setup on there own.

On posix (linus, macos) of course you can also say in your readme 
that the customer should run apt-get ... to install gtk (here I 
do not have much knowledge on packaging).

Kind regards
Andre


More information about the Digitalmars-d-learn mailing list