Package Details: goldendict-git 1.5.0.RC2.197.g8dd4d9f0-1

Git Clone URL: (read-only)
Package Base: goldendict-git
Description: Feature-rich dictionary lookup program.
Upstream URL:
Licenses: GPL3
Conflicts: goldendict, goldendict-git-opt, goldendict-svn
Provides: goldendict
Replaces: goldendict, goldendict-git-opt, goldendict-svn
Submitter: Infy
Maintainer: VirtualTam
Last Packager: VirtualTam
Votes: 60
Popularity: 0.517291
First Submitted: 2009-11-13 13:32
Last Updated: 2017-10-31 17:58

Latest Comments

wyzh97 commented on 2017-10-31 11:38

the goldendict had added "Favorites" feature, could you update it? please..

vedg commented on 2017-03-18 09:06

lzo2 is missing from official repositories and from AUR. Please replace this dependency with lzo ( Removing the digit '2' from PKGBUILD allowed me to install goldendict-git.

VirtualTam commented on 2015-08-17 22:21

Qt5 package available:

Build and usage feedback is welcome!

VirtualTam commented on 2015-08-17 21:28

@Light2Yellow Thanks for the packaging suggestion, I'll try to look at it the upcoming weekend ;-)

Light2Yellow commented on 2015-08-17 09:54

Would you be so kind to start packaging 'goldendict-qt5'? There is a font issue I've encountered with:
Another reason is just a general appearance.
I can't do this because I didn't figure out how to gently pull a remote branch (files from master needed to be deleted first, but in such case cloning makes no sense and just wastes time).

oracleyue commented on 2014-09-25 15:57

I met the same problem as "stas2" did. I rebuilt it, it works, but worked at 100% CPU.

oracleyue commented on 2014-09-25 15:22

This version is always working at 100% CPU.

stas commented on 2014-09-25 11:56

Had the missing error too. Probably because of updated ffmpeg package, which now ships Rebuilding goldendict solved the problem.

proft commented on 2014-09-25 11:29

Today goldendict told this:

goldendict: error while loading shared libraries: cannot open shared object file: No such file or directory

proft commented on 2014-07-23 08:21

Last version dont build :(. Error:

QFSFileEngine::currentPath: getcwd() failed
QFSFileEngine::currentPath: getcwd() failed
QFSFileEngine::currentPath: getcwd() failed
moc: mouseover.hh: No such file
Makefile:821: recipe for target 'build/moc_mouseover.cpp' failed
make: *** [build/moc_mouseover.cpp] Error 1
==> ERROR: A failure occurred in build().

wisecrick commented on 2014-06-06 16:53

libeb is also required

caseyjp1 commented on 2014-05-09 00:58

erroring out with this:
usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.0/include/stdint.h:15:1: error: missing terminating " character
postal_fmt "<U0025><U0066><U0025><U004E><U0025><U0061><U0025><U004E>/
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.0/include/stdint.h:1:1: error: ‘by_space’ does not name a type
by_space 1
^ error: ‘uint32_t’ does not name a type
uint32_t const keyMask = 0x01FFFFFF;
^ In constructor ‘Config::HotKey::HotKey(const QKeySequence&)’: error: ‘keyMask’ was not declared in this scope
modifiers( seq[ 0 ] & ~keyMask ),
^ In function ‘void Config::save(const Config::Class&)’: error: ‘renameAtomically’ was not declared in this scope
renameAtomically( configFile.fileName(), getConfigFileName() );
Makefile:1611: recipe for target 'build/config.o' failed
make: *** [build/config.o] Error 1
==> ERROR: A failure occurred in build().
==> ERROR: Makepkg was unable to build goldendict-git.

VirtualTam commented on 2014-02-20 20:16

@proft: the issue has been fixed upstream, see

proft commented on 2014-02-12 07:55

Error occurred at last compilation: fatal error: tiff/tiff.h: No such file or directory
#include "tiff/tiff.h"
compilation terminated.
Makefile:2614: recipe for target 'build/tiff.o' failed
make: *** [build/tiff.o] Error 1
==> ERROR: A failure occurred in build().

VirtualTam commented on 2013-07-22 18:48

PKGBUILD updated to reflect the changes/fixes made upstream:
- locale fix no longer needed;
- no need to clean pkg/usr/share/app-install;
- updated dependencies.

Anonymous comment on 2013-07-22 12:56

@VirtualTam, I don't have a solution for the install-related errors. They seem to be harmless. But it would be nice to eliminate them once and for all. So if you figure this out please share! :)

VirtualTam commented on 2013-07-22 09:58

@Tvangeste: thanks, I'll update the PKGBUILD to reflect these changes!
Do you have any clue regarding 'goldendict.png' and 'goldendict.desktop' being stripped when running 'make install'? As it seems to be 'qmake-qt4'-related, I started this thread[1] to gather some info...


Anonymous comment on 2013-07-22 07:57

A comment from one of upstream GoldenDict maintaners :)

1. There is no need to manually deal with *.qm/*.qs files anymore. It has been fixed upstream.

2. The dependencies are a bit outdated. phonon is not used by GoldenDict anymore, ffmpeg is needed instead. Here's my list of dependencies:
depends=('hunspell' 'libvorbis' 'libxtst' 'libzip' 'qtwebkit' 'libao' 'ffmpeg' 'lzo' 'bzip2')

Alternatively, one can build GoldenDict without ffmpeg support (the internal audio player will be disabled, naturally). To do so provide the following prameter to qmake: qmake "DISABLE_INTERNAL_PLAYER=1"

3. No need to delete app-install anymore, it has been fixed upstream too.

VirtualTam commented on 2013-07-21 20:59

Update 1.5.0.RC.96.g2a12036-1
- Patching the Qt project file is no longer necessary to install in /usr.
- There is a minor, non-blocking error when running "make install": GNU strip is called on "goldendict.desktop" and "goldendict.png", as can be seen in the makefile generated by qmake-qt4 (see the install_icons and install_desktops targets). Has anyone a clue on how to tackle this issue?

ilpianista commented on 2013-07-06 18:40

two suggestions:
* "|| return 1" are needed since years
* please put ${srcdir}/${pkgdir} between double apixes. BTW, you don't even need to call `cd ${srcdir}/${_gitname}`, `cd ${_gitname}` is enough because makepkg exec `cd ${srcdir}` in every function (build/package/prepare...)

VirtualTam commented on 2013-05-28 19:07

Update: GoldenDict now installs under /usr ;-)

aksr commented on 2013-05-17 06:09

+1 for /usr ;)

VirtualTam commented on 2013-05-16 19:39

Installing in /usr instead of /usr/local is not such a big deal, nor an absolute necessity; [community]'s PKGBUILD patches[1] the Qt project file to achieve this purpose. If requested (it seems so ;-) ), I can update goldendict-git's PKGBUILD as soon as I get back to my 'arch-dev' computer, say next week!


student975 commented on 2013-05-16 19:12

I'm next supporting quite's opinion related to moving from /usr/local to /usr.

quite commented on 2013-05-16 18:52

@VirtualTam: I think the idea is that packaged software should go in /usr, and /usr/local be left for manually compiled things. Of all 133 AUR packages on my system, only goldendict-git install in /usr/local, so it can't really be said to be "usual". You are both providing, replacing and conflicting with "goldendict" from the main repositories, so why not install it in the same place? But do as you please ;)

VirtualTam commented on 2013-05-10 13:30

@xiaolongfdwq: thanks, PKGBUILD updated!

xiaolongfdwq commented on 2013-05-10 12:36

Project ERROR: Package ao not found
==> ERROR: A failure occurred in build().
==> ERROR: Makepkg was unable to build goldendict-git.

After installed extra/libao, problem solved. Maybe extra/libao should be one of the dependencies.

Joermungand commented on 2013-03-03 06:25

Another change is required in the PKGBUILD for the package to compile: at line 43, lrelease should be replaced with lrelease-qt4.

VirtualTam commented on 2013-03-01 21:28

Good point!
According to the logs of the qt4 package, the symlinks have been updated in the very latest revision (4.8.4-12) to *-qt4 [1], as you mentioned it :)
I'll update the PKGBUILD as soon as this revision is available and I can build goldendict using it...
Thanks for your feedback!


student975 commented on 2013-03-01 21:12

Also you can look at Arch announcement related to qt and '-qt4' suffix.

student975 commented on 2013-03-01 21:11


Probably your mirror didn't updated yet. There is new qt4 package already.

VirtualTam commented on 2013-03-01 20:57

@student975: on my systems, qt4 provides qmake4 as a symlink, as follows
$ whereis qmake4
qmake4: /usr/bin/qmake4
$ ls /usr/bin/qmake4
/usr/bin/qmake4 -> /usr/lib/qt4/bin/qmake

...and there are no qmake-qt4‽
Do you have a different configuration on your system(s)?

student975 commented on 2013-03-01 19:45

qmake4 is qmake-qt4 (as well as all utils) now.

VirtualTam commented on 2013-03-01 19:21

@student975: done!
- Replaced 'qt' by 'qt4' in the dependency array, and 'qmake' by 'qmake4'.
- Now the "blinking" when clicking the systray icon happens in MATÉ too, I'm considering filing a bug report (if it hasn't already been done)

@quite: '/usr/local/' is an usual location for installing self-compiled or third-party programs, say, like the ones coming from AUR ;)

student975 commented on 2013-03-01 11:38

qt is qt4 now. Please, update the package.

quite commented on 2013-02-10 16:01

Perhaps it should install in /usr, not /usr/local

VirtualTam commented on 2013-02-10 14:14

@sergey_klay: Thanks, I added qtwebkit to the dependency array!

sergey_klay commented on 2013-02-10 14:06

Hi all!

Please add to dependencies qtwebkit!

student975 commented on 2013-02-09 22:03

themagicbanana, yes, you have exactly reproduced.

student975 commented on 2013-02-09 21:46

VirtualTam, thanks for suppositions. I have tried to start with new config dir with the same effect (but icon context menu does work as expected). KDE is in use.

OK, I will play with this or that and probably file new issue.

themagicbanana commented on 2013-02-09 21:42

VirtualTam requested me to test goldendict on KDE4, so here's what I got :
The window opens up correctly when the program is first started. Then, if I reduce it to systray, I can open it again by right-clicking and selecting 'Show main window', but a left-click on the systray icon won't show it. It behaves as a very fast double-click actually, as I can get a glimpse of the window when I left-click on the icon.

VirtualTam commented on 2013-02-09 18:48

As this package hadn't been updated for a while, there may be some differences between the latest version and your previous one. Did you try removing any old configuration file to see if the issue persists? If so, I recommend you open a new ticket on the project's bugtracker:

PS: the only change I made to the PKGBUILD concerns the locales
PPS: GoldenDict runs fine with MATÉ and Gnome 3

student975 commented on 2013-02-09 15:53

After an update forced today main goldendict window opens once only on systray icon (KDE) clicking. After closing the window all next clicks on the icon do nothing. Am I the only such unhappy? :)

aksr commented on 2012-12-07 19:49 note: candidates are:
In file included from
config.hh:350:3: note: Config::Program::Program(bool, Config::Program::Type, const QString&, const QString&, const QString&, QString)
config.hh:350:3: note: candidate expects 6 arguments, 5 provided
config.hh:347:3: note: Config::Program::Program()
config.hh:347:3: note: candidate expects 0 arguments, 5 provided
config.hh:333:8: note: Config::Program::Program(const Config::Program&)
config.hh:333:8: note: candidate expects 1 argument, 5 provided
make: *** [build/config.o] Error 1
==> ERROR: A failure occurred in build().
==> ERROR: Makepkg was unable to build goldendict-git.
==> Restart building goldendict-git ? [y/N]
==> ---------------------------------------

corruptz0r commented on 2012-06-05 23:17

Is there any way to build this without the 'phonon' dep?

I found this patch, but it no longer works on the GIT repo:

hermes14 commented on 2012-02-09 16:08

Repo updated and xdxf error gone, but now it exits with this one: In function ‘std::string decompressZlib(char*, unsigned int)’: error: ‘memset’ was not declared in this scope In function ‘std::string decompressBzip2(char*, unsigned int)’: error: ‘memset’ was not declared in this scope

Anonymous comment on 2012-02-09 13:06

@hermes14, @Infy,

The xdxf error mentioned below is now corrected in the goldendict git. Can you please update the repo?

hermes14 commented on 2012-01-30 11:40

Build fails with this error: error: cannot convert ‘uint32_t* {aka unsigned int*}’ to ‘size_t* {aka long unsigned int*}’ for argument ‘2’ to ‘void Xdxf::{anonymous}::checkArticlePosition(Xdxf::{anonymous}::GzippedFile&, size_t*, size_t*)’

Any hint?

Anonymous comment on 2012-01-14 00:27

Build error,"qwebview no such file",solved by pacman -S qtwebkit before yaourt -S goldendict-git,is any one have the same issue?

Infy commented on 2011-12-14 16:41

Thanks, student975. PKGBUILD updated.

student975 commented on 2011-12-10 11:10

I have tried just to replace _gitroot string with


- all works fine for me.

student975 commented on 2011-12-10 03:58

The project was moved to github: Is it possible to update the package? I have met a bug which is fixed in github but the fix isn't pushed to gitorious.

leafonsword commented on 2011-09-21 14:56


Infy commented on 2010-12-06 15:16

Phonon workaround was removed.

Infy commented on 2010-05-24 10:29

kovtunos, I can't reproduce it.
It seems that you are using an older version of PKGBUILD.
Try to download and compile the version on the link above.
Maybe this will help.

Write about the result.

Anonymous comment on 2010-05-23 21:51

Initialized empty Git repository in /var/abs/local/yaourtbuild/goldendict-git/src/goldendict-build/.git/
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
|--- goldendict.pro1 2010-01-18 20:58:47.000000000 +0300
|+++ 2010-01-18 21:03:10.492722785 +0300
File to patch:

Infy commented on 2010-05-15 16:23

Thanks, nacre.
Fixed at 20100515-2.

nacre commented on 2010-05-15 16:07

Project ERROR: Repository moved to Gitorious. Sorry for the trouble, we promise it's the last transition! The new url is git://

Infy commented on 2010-05-15 11:28

Using system CFLAGS and CXXFLAGS.

MaJia321 commented on 2010-04-01 04:42

provides=('goldendict' 'stardict') in PKGBUILD worked for me to use Stardict-Dictionary.

Infy commented on 2010-03-31 13:06

Thanks, pew.

Anonymous comment on 2010-03-30 11:13

i get an error when building the package:

patching file
Hunk #1 FAILED at 15.
1 out of 1 hunk FAILED -- saving rejects to file