Package Details: gtkd 3.3.1-1

Git Clone URL: https://aur.archlinux.org/gtkd.git (read-only)
Package Base: gtkd
Description: D bindings for GTK+ and related libraries.
Upstream URL: http://gtkd.org/
Keywords: GTK
Licenses: LGPL
Submitter: None
Maintainer: Shrike (dsboger)
Last Packager: Shrike
Votes: 15
Popularity: 1.055554
First Submitted: 2008-12-04 18:08
Last Updated: 2016-04-02 05:22

Latest Comments

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.

[1] http://stackoverflow.com/questions/5713894/file-not-recognized-file-truncated-gcc-error

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 -oflibvted-3.so -L-ldl -m64 -L-soname=libvted-3.so.0 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=./
./libgtkd-3.so: 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().
Abortando...

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 https://github.com/gtkd-developers/GtkD/issues, 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
https://gist.github.com/davidosomething/57a51f57dd1df7835bb3a9792fb9c99a

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: https://wiki.archlinux.org/index.php/Arch_User_Repository#Installing_packages

davidosomething commented on 2016-05-06 20:20

@dsboger -- here's mine http://hastebin.com/eruxufuniv.vbs

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

getting:
/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