Package Details: gtkd 3.7.1-1

Git Clone URL: (read-only)
Package Base: gtkd
Description: D bindings for GTK+ and related libraries.
Upstream URL:
Keywords: GTK
Licenses: LGPL
Submitter: None
Maintainer: Shrike (dsboger)
Last Packager: dsboger
Votes: 56
Popularity: 5.366875
First Submitted: 2008-12-04 18:08
Last Updated: 2017-11-03 14:19

Latest Comments

dsboger commented on 2017-09-20 01:52

tilix{,-git} and gtkd{,-git} must be rebuilt after latest ldc update (1.3.0 -> 1.4.0).

springer commented on 2017-04-24 20:06

I was able to build upstream v3.6.1 without any problems. Maybe this package can get updated accordingly?

TheAifam5 commented on 2017-01-10 15:36

@dsboger @polslinux yea, need to wait for patch with. "[...]/usr/share/pkgconfig': No such file or directory"

dsboger commented on 2017-01-09 18:58

@polslinux That seems to be a problem with the upstream provided Makefile. I already reported the issue (

dsboger commented on 2017-01-09 18:56

@TheAifam5 I also have those errors, as I commented before. I could not identify the cause yet. The workaround I found is to remove (pacman -Rdd gtkd) and then rebuild/reinstall gtkd.

polslinux commented on 2017-01-09 18:15

I have a problem with v3.5.0:

install -m 644 peasd-3.pc /home/polslinux/gtkd/pkg/gtkd//usr/share/pkgconfig
install: cannot create regular file '/home/polslinux/gtkd/pkg/gtkd//usr/share/pkgconfig': No such file or directory
make: *** [GNUmakefile:351: install-headers-peas] Error 1
==> ERROR: A failure occurred in package().

TheAifam5 commented on 2017-01-09 17:59

Many compilation errors while linking test programs.

dsboger commented on 2017-01-09 06:28

I'm thinking of removing the static libraries from this package to improve space and build times. Is anyone actually using these static libs?

dsboger commented on 2016-12-30 15:07

After the last update to version 3.4.0 I had to uninstall the installed gtkd for the new version to build correctly. Maybe you will also have the same problem.

I don't know how to fix it, as we are just using the provided Makefile. I'll dig into it when I have the time (in a week, probably).

marcio commented on 2016-11-05 15:16

@vltr Tks, using "-j1" worked for me.

vltr commented on 2016-09-07 17:32

For some [unknown/random/buggy/special/unlisted/non-checked/i-dont-have-time] reason, spawning multiple jobs seems to break gtkd build, exactly like @marcio mentioned. By using `-j1`, the build went just fine in here. I hope it helps someone, at least for now ;)

dsboger commented on 2016-07-23 13:58

@marcio I cannot reproduce the issue here. According to [1], the problem may be solved by removing the object files, i.e. calling makepkg from a clean directory with the PKGBUILD alone. Are you using some AUR helper? It may keep old builds somewhere.


marcio commented on 2016-07-15 21:09

I'm having a problem compiling gtkd here:

#Remove this line when phobos #1280 is merged.
ldc -shared -L-ldl -m64 srcvte/vtec/vte.pic.o srcvte/vtec/vtetypes.pic.o srcvte/vte/Pty.pic.o srcvte/vte/Terminal.pic.o srcvte/vte/Version.pic.o
ldc demos/gtkD/TestWindow/TestWindow.o demos/gtkD/TestWindow/TestTreeView1.o demos/gtkD/TestWindow/TestTreeView.o demos/gtkD/TestWindow/TestThemes.o demos/gtkD/TestWindow/TestText.o demos/gtkD/TestWindow/TestStock.o demos/gtkD/TestWindow/TestScales.o demos/gtkD/TestWindow/TestImage.o demos/gtkD/TestWindow/TestIdle.o demos/gtkD/TestWindow/TestEntries.o demos/gtkD/TestWindow/TestDrawingArea.o demos/gtkD/TestWindow/TestAspectFrame.o demos/gtkD/TestWindow/TTextView.o demos/gtkD/TestWindow/TEditableCells.o -ofTestWindow -L-L. -L-lgtkd-3 -L-ldl -m64 -L-rpath=./
./ file not recognized: File truncated
collect2: error: ld returned 1 exit status
Error: /usr/bin/gcc failed with status: 1
make: *** [GNUmakefile:205: TestWindow] Error 1
make: ** Esperando que outros processos terminem.
==> ERRO: Uma falha ocorreu em build().

Is This happening with anybody?
Does anyone knows how to solve that?

dsboger commented on 2016-05-21 13:05

@davidosomething Ok, seems like my assumption was wrong. I can't reproduce the problem here. I don't know what to do. I suppose we could seek help from upstream. Could you please report the issue at, pointing to your logs and to this discussion as well? Thanks!

davidosomething commented on 2016-05-21 05:34

I still get the same error from the latest snapshot (makepkg --log -sri)
Here's the pristine makepkg log from the build log file

dsboger commented on 2016-05-19 00:39

@davidosomething that definitely seems like a build on top of some old .o files. First line of the build process is a linking command, which implies that the .o files were already there.

You seem to be using some AUR helper (i.e. yaourt, pamac, etc.). Could you please try building the package manually, by downloading the snapshot and running makepkg directly? Thanks!

P.S.: this link might be of help:

davidosomething commented on 2016-05-06 20:20

@dsboger -- here's mine

same compiler as confusedfla

dsboger commented on 2016-04-18 12:11

@confusedfla @zfo I can't reproduce the error on my end. Could you paste the full output of the build somewhere like pastebin and post the link here?

confusedfla commented on 2016-04-18 11:48

dsboger: Just tried from scratch - still failing with the same error. I use

LDC - the LLVM D compiler (0.17.1):
based on DMD v2.068.2 and LLVM 3.7.1
Default target: x86_64-unknown-linux-gnu

dsboger commented on 2016-04-05 15:48

Looking at the error message, it seems the cause is the change from dmd to ldc as the compiler. Are you building gtkd on top of some previously cached build? If yes, could you try to build again from scratch? Thanks!

zfo commented on 2016-04-05 15:29

After the latest update it stopped to work, gtkd-git works.
I get:

/usr/lib/libgtkd-3.a(DateTime.o):function _D4glib8DateTime8DateTime4hashMFNbNeZk: error: undefined reference to '__dmd_begin_catch'
collect2: error: ld returned 1 exit status
Error: /usr/lib/ccache/bin/gcc failed with status: 1
GNUmakefile:202: recipe for target 'TestWindow' failed
make: *** [TestWindow] Error 1

Shrike commented on 2016-02-21 14:29

The package has been updated to version 3.2.2.

@davidosomething There might be something wrong with your system, I'm not getting that error on my desktop PC or laptop.

davidosomething commented on 2016-01-29 04:38

/bin/sh: arch: command not found
on first line of

Shrike commented on 2015-06-03 04:01

The package has been updated to version 3.1.3.

Shrike commented on 2015-04-19 12:45

I have updated the package to version 3.1.2. I'm also the new maintainer.

Happy coding ;)

rwelin commented on 2015-01-15 21:29

Thanks biloucat!

biloucat commented on 2015-01-13 20:49

version 2.4.2 is out
also gtk-pixbuf2 does not exist, may be gdk-pixbuf2 ?

jostmon commented on 2014-08-31 23:28

2.4.0 is available and builds find on my x64 laptop.

rwelin commented on 2014-05-17 17:34

Thanks for your comment City-busz! PKGBUILD updated.

City-busz commented on 2014-05-13 16:38

Please make the following changes:
- Remove gtkglext from depends
- Move dmd to makedepends
- Add 'prefix=/usr' to the make install line

aneaz commented on 2013-11-19 09:32

options=('staticlibs') would stop makepkg from removing libgtkd-2.a

gnunn commented on 2013-11-12 15:19

Can someone change the URL for the gtkd source code reference in this package to http from https, the https url does not work whereas the http URL is fine.

Anonymous comment on 2012-10-02 13:57

Latest version 2.0 was released (2012-09-09). Any chance of updating ? ...

Anonymous comment on 2012-09-24 22:04

error during makepkg

src/gdk/Color.d(231): Error: shift by 32 is outside the range 0..31

Anonymous comment on 2011-12-20 22:09

typedef is deprecated in dmd 2.057 so this package won't build under it. Use alias instead in the source files.

Executing the command in the source directory will fix this:

find . -name "*.d" -exec sed -i "s/typedef/alias/g" '{}' \;

loki commented on 2011-09-17 12:16

1.5.1 is out, md5sum = 75e6812d85a3c1a05bd2ec8fcbdc6c6d

loki commented on 2011-09-17 12:11

1.5.1 is out

Anonymous comment on 2011-04-05 13:21

version 1.4.1 available

ndowens commented on 2011-01-03 05:03

@thc_flow: It should be fine the way it is. The make prefix is needed to build in the correct directories.

ndowens commented on 2011-01-03 05:01

@thc_flow: It should be fine the way it is

Anonymous comment on 2011-01-02 15:24

Replace make with: "make DESTDIR=${pkgdir} install"

Anonymous comment on 2010-04-03 18:15

Sorry wont be maintaining these anymore :/

Anonymous comment on 2010-04-03 15:21

hi there 1.3.2 is out