Description

The dub package for dwt

Package Information

Version1.0.4 (2017-Apr-24)
Homepage https://github.com/jasc2v8/dwtlib
Repository https://github.com/jasc2v8/dwtlib
LicenseEPL-1.0
Registered byJamesD
Dependencies none

Installation

To use this package, put the following dependency into your project's dependencies section:

dub.json
dub.sdl

Readme

Dub version Dub downloads

dwtlib - DUB package for the D Widget Toolkit

DWT is a library for creating cross-platform GUI applications. It's a port of the SWT Java library from Eclipse.

dwtlib is the dub package repository for DWT.

Status

WORKING Tested on:

- Windows 10 Home
- Ubuntu 16.04 LTS 32-bit
- DMD32 v2.073.0
- DUB v1.2.010

TODO:

- Test current versions of DMD/DUB (had some problems with DMD v2.074)
- Test 64-bit

Building

  1. Fetch the DUB package:

    $ DUB fetch dwtlib
    
    

    Change working directory to the dwt folder

    $ cd /home/<USER>/.dub/packages/dwtlib-1.0.1/dwtlib/dwt
    
    

    Follow the build instructions at DWT

    (Note the libs needed for Linux.)

    Build 32-bit dwt libraries (64-bit not tested, possible issues on Linux).

    $ rdmd build base swt
    
    

    Test with dub to build and run a hellow world gui app:

    $ cd ..\examples\hello
    $ dub
    
    

    Add a dependency to your app dub.json or dub.sdl, see the examples.

    dependency "dwtlib" version="1.0.1"
    
    
    

Available versions

1.0.4 1.0.3 1.0.2 1.0.1 1.0.0 0.2.0 0.1.3 0.1.1 0.1.0 ~master