Jump to page: 1 2 3
Thread overview
Packaging and Distributing Dlang Applications with GtkD Dependency?
Sep 25, 2019
Ron Tarrant
Sep 25, 2019
a11e99z
Sep 25, 2019
Ron Tarrant
Sep 25, 2019
a11e99z
Sep 25, 2019
Ron Tarrant
Sep 25, 2019
bioinfornatics
Sep 25, 2019
Ron Tarrant
Sep 26, 2019
bioinfornatics
Sep 26, 2019
bioinfornatics
Sep 26, 2019
Ron Tarrant
Sep 28, 2019
snow jhon
Sep 29, 2019
snow jhon
Sep 26, 2019
Andre Pany
Sep 26, 2019
Ron Tarrant
Sep 29, 2019
aberba
Sep 27, 2019
Jacob Carlborg
Sep 28, 2019
Ron Tarrant
Sep 28, 2019
Hossain Adnan
Sep 28, 2019
drug
Sep 28, 2019
bachmeier
Sep 28, 2019
Ron Tarrant
Sep 28, 2019
Jordi Sayol
Sep 28, 2019
Ron Tarrant
September 25, 2019
Hi y'all,

I've been Googling how to do this, but coming up with nothing definitive. Are there any articles for how to do this for:

Windows?
Linux?
other UNIX-alike OSs?

September 25, 2019
On Wednesday, 25 September 2019 at 11:46:04 UTC, Ron Tarrant wrote:
> Hi y'all,
>
> I've been Googling how to do this, but coming up with nothing definitive. Are there any articles for how to do this for:
>
> Windows?
> Linux?
> other UNIX-alike OSs?

UPX?
https://en.wikipedia.org/wiki/UPX
https://linux.die.net/man/1/upx
September 25, 2019
On Wednesday, 25 September 2019 at 11:50:58 UTC, a11e99z wrote:
> On Wednesday, 25 September 2019 at 11:46:04 UTC, Ron Tarrant wrote:
>> Hi y'all,
>>
>> I've been Googling how to do this, but coming up with nothing definitive. Are there any articles for how to do this for:
>>
>> Windows?
>> Linux?
>> other UNIX-alike OSs?
>
> UPX?
> https://en.wikipedia.org/wiki/UPX
> https://linux.die.net/man/1/upx

Thanks for the reply, alle99z. Sorry for my badly-phrased question, I think I need to clarify...

What I'm looking for is a system for bundling dlang apps and their dependencies for distribution to end users. Hopefully, this bundler will:

- install the app in an appropriate place (like C:\Program Files\<dlang-app>,
- install libraries/dependencies (such as GtkD) also in an appropriate place,
- make any modifications to the system PATH that may be necessary for the app to run, and
- handle any other roadblocks that will keep the user from using the app.

Whether this is an actual pre-existing application bundler or just a list of instructions I can follow so I can end up with a distributable one-click-does-it-all (on Windows, at least) package.

Similarly, on Linux or other UNIX-alikes, a breakdown of how to use apt or something similar to do the same so the user can (for instance) just do:

apt-get <app> <appropriate switches>

to install.
September 25, 2019
On Wednesday, 25 September 2019 at 12:04:16 UTC, Ron Tarrant wrote:
> On Wednesday, 25 September 2019 at 11:50:58 UTC, a11e99z wrote:
>> On Wednesday, 25 September 2019 at 11:46:04 UTC, Ron Tarrant wrote:
>>> Hi y'all,
>>>
> What I'm looking for is a system for bundling dlang apps and their dependencies for distribution to end users. Hopefully, this bundler will:
>
> - install the app in an appropriate place (like C:\Program Files\<dlang-app>,
> - install libraries/dependencies (such as GtkD) also in an appropriate place,
> - make any modifications to the system PATH that may be necessary for the app to run, and
> - handle any other roadblocks that will keep the user from using the app.
>
> Similarly, on Linux or other UNIX-alikes, a breakdown of how to use apt or something similar to do the same so the user can (for instance) just do:
> apt-get <app> <appropriate switches>
> to install.

so u need installers/installation program
https://en.wikipedia.org/wiki/List_of_installation_software

well, a long-long time ago I used InstallShield & Wix Toolset for Windows only.
I know no one that works with Linux package systems.
September 25, 2019
On Wednesday, 25 September 2019 at 12:32:58 UTC, a11e99z wrote:

> so u need installers/installation program
> https://en.wikipedia.org/wiki/List_of_installation_software
>
> well, a long-long time ago I used InstallShield & Wix Toolset for Windows only.

I'll check those out. Thanks.
September 25, 2019
On Wednesday, 25 September 2019 at 11:46:04 UTC, Ron Tarrant wrote:
> Hi y'all,
>
> I've been Googling how to do this, but coming up with nothing definitive. Are there any articles for how to do this for:
>
> Windows?
> Linux?
> other UNIX-alike OSs?

I think I misunderstood your need but are lo looking for dub tool with its repository https://code.dlang.org/
September 25, 2019
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.

September 26, 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 more or less like pip from python, npm from javascript and so on ...
The code source is here: https://github.com/dlang/dub

you can open an issue there or open a thread about how to write package file for dub doc: https://dub.pm/package-format-json)

have a nice day
September 26, 2019
On Thursday, 26 September 2019 at 10:07:34 UTC, bioinfornatics wrote:
> 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 more or less like pip from python, npm from javascript and so on ...
> The code source is here: https://github.com/dlang/dub
>
> you can open an issue there or open a thread about how to write package file for dub doc: https://dub.pm/package-format-json)
>
> have a nice day

I prefer to use meson a builder tool (same category tool as Make, CMake ...)
doc: https://mesonbuild.com/Dlang-module.html

Is better as it ease the packaging for fedora, debian, ubuntu and so on ...
September 26, 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
« First   ‹ Prev
1 2 3