Giter VIP home page Giter VIP logo

gtkd's Introduction

GtkD

GtkD is the Digital Mars D programming language OO wrapper for Gtk+ 3.22. GtkD is release on the LGPL license with additional exceptions.

Please view COPYING for GtkD's license.

Requirements

  • Linux, Windows, or Mac
  • Gtk libs
  • dmd, gdc or ldc installation

optional:

  • OpenGL libs (mesa is fine on Linux)
  • GtkGLext 3

Who are you?

If you want to write some wicked cool D and Gtk+ apps, grab the gtkD release archive at http://gtkd.org/download.html.

If you want to tweak the automatic wrapper or help with it, use git... https://github.com/gtkd-developers/GtkD

Installation

The installation depends on the setup of your development environment. This means that to release your project you must include the GtkD lib on your deliverable or statically link to GtkD โ€“ please pay attention to the license.

Compile the lib and the test programs

Linux / Posix

Using the GNU make to compile GtkD on these Operating systems, calling make with no options will build GtkD, GtkD-Sourceview and one of the demos. Optionally these options are available:

Option Meaning
all build everything.
libs build all the static libraries.
shared build all the shared libraries.
[shared-]gtkd build gtkd.
[shared-]gtkdsv build gtkd-sourceview.
[shared-]gstreamer build gstreamer.
[shared-]vte build vte.
[shared-]peas build peas.

install and uninstall options are also available for the options mentioned above.

Or you can use one of the build options also available for Windows.

OSX

The build options are the same as for Linux.

If on OSX GtkD is unable to find the GTK libraries. Some environment variables can be set to override the search path. GTK_BASEPATH and HOMEBREW_ROOT. GTK_BASEPATH takes precedence over HOMEBREW_ROOT.

Windows

To build on Windows you can use the build script in combination with rdmd.

rdmd Build.d

By default this builds gtkd, gtkdgl and gtkdsv to compile only one of these or gstreamerd you can pass the following options to the build file:

Option Meaning
gtkd build GtkD.
gtkdgl build GtkDGL.
sv build gtkd-sourceview
gstreamer build gstreamer.
all build everything.

For all the above packages there a two option avalable to specify aditional compiler and linker flags:

  • --dcflags="your compiler flags"
  • --ldflags="your linker flags"

To specify if it should build for 64 or 32 bits, pass either the -m32 or -m64 flag to rdmd.

rdmd -m64 Build.d

Wrapped Versions

GtkD wraps Gtk+ 3.22 the versions of the associated libraries are:

Library Version
Gtk+ 3.24
Gdk 3.24
Glib 2.72
GObject 2.72
Gio 2.72
Pango 1.50
Atk 2.38
Gdk-pixbuf 2.42
Cairo 1.12.2
LibRsvg 2.54
GtksourceView 4.8
GStreamer 1.20
Vte3 0.68

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.