Search Criteria
Package Details: goldendict-git 1:1.5.0rc2.r521.g99982a1c-2
Package Actions
Git Clone URL: | https://aur.archlinux.org/goldendict-git.git (read-only, click to copy) |
---|---|
Package Base: | goldendict-git |
Description: | Feature-rich dictionary lookup program supporting multiple dictionary formats |
Upstream URL: | https://github.com/goldendict/goldendict |
Licenses: | GPL3 |
Conflicts: | goldendict |
Provides: | goldendict |
Submitter: | Infy |
Maintainer: | MarsSeed |
Last Packager: | MarsSeed |
Votes: | 77 |
Popularity: | 1.75 |
First Submitted: | 2009-11-13 13:32 (UTC) |
Last Updated: | 2022-06-08 02:16 (UTC) |
Dependencies (23)
- bzip2 (bzip2-git, bzip2-rustify-git, bzip2-with-lbzip2-symlinks)
- ffmpeg (ffmpeg-v4l2-request-git, ffmpeg-nox-git, ffmpeg-svt-vp9-git, ffmpeg-intel-full-git, ffmpeg-yt-dlp-bin, ffmpeg-amd-full, ffmpeg-decklink, ffmpeg-shinobi, ffmpeg-git, ffmpeg-ndi, ffmpeg-full, ffmpeg-full-git, ffmpeg-libfdk_aac, ffmpeg-headless, ffmpeg-obs, ffmpeg-vulkan, ffmpeg-cuda, ffmpeg-mmal, ffmpeg-amd-full-git, ffmpeg-nocuda)
- gcc-libs (fastgcc, gcc-libs-git)
- glibc (glibc-git, glibc-force-mmap, lib32-glibc-force-mmap, glibc-minimal-git, glibc-linux4, glibc-widevine)
- hunspell (hunspell-git)
- libao (libao-sndio, libao-git)
- libeb
- libtiff (libtiff-git, libtiff-minimal-git, libtiff-lerc, libtiff-maya-git)
- libvorbis (libvorbis-git, libvorbis-aotuv, libvorbis-aotuv-lancer)
- libx11 (libx11-git)
- libxtst
- lzo
- opencc
- qt5-base (qt5-base-git, qt5-base-headless)
- qt5-multimedia (qt5-multimedia-git)
- qt5-svg (qt5-svg-git)
- qt5-tools (qt5-tools-git)
- qt5-webkit (qt5-webkit-git)
- qt5-x11extras (qt5-x11extras-git)
- xz (xz-git)
- Show 3 more dependencies...
Required by (3)
- goldendict-cc-cedict-content (requires goldendict) (optional)
- goldendict-enruen-content (requires goldendict) (optional)
- stardict-indic-update (requires goldendict)
Latest Comments
InnerPeace commented on 2022-06-23 12:25 (UTC) (edited on 2022-06-23 12:26 (UTC) by InnerPeace)
Hi @MarsSeed, Yes, this solved my problem of target not found 'libeb'. Finally, I have installed goldendict successfully!. Thanks for your suggestion.
MarsSeed commented on 2022-06-12 10:48 (UTC)
Hi @InnerPeace,
First you have to package and install libeb from AUR to be able to build this package. :)
But what I recommend instead:
After that, you can just use
and that will install all the dependencies of it, including libeb.
InnerPeace commented on 2022-06-12 05:41 (UTC) (edited on 2022-06-12 05:42 (UTC) by InnerPeace)
I just git clone it to my arch system. But, after I use command makepkg -si , it so me error : target not found 'libeb'. I have reupdate my arch with pacman -S Syu but still the same. Anyone can take me out. Thanks.
MarsSeed commented on 2022-06-08 12:31 (UTC)
This turned out to be quite educational for me.
With your help I've learnt that yes, GNU's libc (a.k.a. glibc) does indeed contain an
iconv()
encoding converter implementation (one which is both very robust and fast at the same time, and supports a dizzyingly large number of encoding formats).On the other hand, the GNU project also provides the libiconv library, for operating systems that don't have a built-in
iconv()
function.That said, libeb's autoconf setup was definitely at fault here, by accidentally linking to libiconv on Linux (erm, GNU/Linux) in spite of the fact that the code itself is using glibc's version on such systems. (Those configuration scripts are, frankly, quite a convoluted mess in libeb.)
Anyway, TLDR; libiconv is for non-GNU/Linux systems so by default it is not needed and should not be used on Linux.
(And now I'm wondering why on Earth did AUR/libiconv get adopted into the Arch [community] repo... Because it is redundant on Arch 'GNU/Linux'! Also, nothing in Arch repos use that library. But to each their own.. :] )
MarsSeed commented on 2022-06-08 07:05 (UTC)
Thanks for reporting the issue! Glad that it got solved now by the rebuild.
vedg commented on 2022-06-08 06:55 (UTC) (edited on 2022-06-08 06:57 (UTC) by vedg)
Thanks. Rebuilding libeb alone sufficed: now
ldd /usr/bin/goldendict |grep iconv
returns nothing and removing libiconv no longer affects GoldenDict.MarsSeed commented on 2022-06-08 02:24 (UTC) (edited on 2022-06-08 07:03 (UTC) by MarsSeed)
@vedg indeed, please try to rebuild both now (latest versions from AUR).
I've realized that the autoconf scripts of libeb were force-linking libiconv, libnsl and libresolv to the libeb.so.2 file, even though those links ended up unused:
This led to the situation that if libiconv was installed before building libeb, it got linked to it; whereas if libeb was built while libiconv was not installed, then the libeb.so binary did not have any links to libiconv.
vedg commented on 2022-06-07 17:51 (UTC) (edited on 2022-06-07 17:53 (UTC) by vedg)
The version was a customized (not related to libiconv) variant based on https://github.com/goldendict/goldendict/commit/b10cdf685c8c02d2be2f1ae4f1e03a4e02db48d8. I just built customized goldendict-git based on latest master with libiconv uninstalled. But the following warning appeared at the end of the build log:
Then goldendict failed to launch until I reinstalled libiconv:
Do I have to rebuild libeb to get rid of the transitive libiconv dependency?
Note that iconv.h included in GoldenDict's iconv.hh is provided by glibc:
MarsSeed commented on 2022-06-07 15:49 (UTC) (edited on 2022-06-07 15:49 (UTC) by MarsSeed)
@vedg which commit version do you have of goldendict-git?
MarsSeed commented on 2022-06-07 15:45 (UTC)
But for some reason, the project makefiles don't link to the libiconv C library during build; only on Windows, Mac, FreeBSD, and on ARM platforms, but otherwise not on Linux.
vedg commented on 2022-06-07 12:36 (UTC)
That's not true. https://github.com/goldendict/goldendict/blob/master/iconv.hh includes external header iconv.h.
$ ldd /usr/bin/goldendict |grep iconv libiconv.so.2 => /usr/lib/libiconv.so.2 (0x00007f5cf043e000)
MarsSeed commented on 2022-06-07 12:29 (UTC)
libiconv is not even needed by this application on Linux. It uses its own iconv.cc (C++ library) whereas libiconv is a C program.
vedg commented on 2022-05-28 16:24 (UTC)
libiconv is now in community: https://archlinux.org/packages/community/x86_64/libiconv/
kefaso commented on 2022-05-28 16:18 (UTC) (edited on 2022-05-29 09:59 (UTC) by kefaso)
Package libiconv no more available in AUR.
leanhtai01 commented on 2022-04-21 04:51 (UTC)
Can you make something like goldendict-bin? Build from source take long on my old computer.
MarsSeed commented on 2022-04-07 10:01 (UTC)
I've fixed the GitHub URL issue and also the incorrect version string.
leanhtai01 commented on 2022-03-19 12:38 (UTC) (edited on 2022-03-19 12:59 (UTC) by leanhtai01)
As @simonzack said, install failed due to recent GitHub updates. To fix this problem, just replace this line in PKGBUILD:
source=("$pkgname::git+git://github.com/goldendict/goldendict.git")
with:
source=("$pkgname::git+https://github.com/goldendict/goldendict.git")
slbtty commented on 2022-03-17 23:45 (UTC)
I just forked a new package using the webengine branch: https://aur.archlinux.org/packages/goldendict-webengine-git
slbtty commented on 2022-03-17 07:21 (UTC) (edited on 2022-03-17 23:04 (UTC) by slbtty)
Note:
The main repos of goldendict and qt-webkit are both halted/stalled. There will be no qt6-webkit in the foreseeable future, and the qt5-webkit in arch's repo is still from 2020.
There is an effort of porting GD to qtwebengine, and it seems to be the future of GD. The fork from xiaoyifang also does release tags. Based on user feedback, it works and pretty nice.
https://github.com/xiaoyifang/goldendict
https://forum.freemdict.com/t/topic/11495
Maybe someone should create a new AUR package -> goldendict-webengine or something.
simonzack commented on 2022-03-15 17:17 (UTC) (edited on 2022-03-15 17:17 (UTC) by simonzack)
I'm getting this error on install:
MikeWalrus commented on 2022-02-20 09:23 (UTC)
Should we just drop EPWING support like the official package?
MikeWalrus commented on 2022-02-20 09:15 (UTC)
@Rhinoceros A fix has been merged in the upstream now.
Rhinoceros commented on 2022-02-20 01:08 (UTC)
This also fails to build for me now too. I get a slightly different error.
menteith commented on 2022-02-18 17:37 (UTC) (edited on 2022-02-18 17:38 (UTC) by menteith)
I have the following compile error:
[code] In file included from /usr/include/libavcodec/avcodec.h:45, from ffmpegaudio.cc:19: /usr/include/libavcodec/packet.h:506:6: note: declared here 506 | void av_init_packet(AVPacket pkt); | ^~~~~~~~~~~~~~ make: ** [Makefile:4272: build/ffmpegaudio.o] Error 1 ==> ERROR: A failure occurred in build(). Aborting... -> error making: goldendict-git [/code]
It seems the error is triggered because of using latest ffmpeg v5 instead of previous one v4. How do I compile goldendict then?
commented on 2022-01-10 18:46 (UTC)
For those having problems with libeb, clone it and edit PKGBUILD replacing the source with this instead https://github.com/mistydemeo/eb/releases/download/v4.4.3/eb-4.4.3.tar.bz2
vedg commented on 2021-11-19 13:58 (UTC)
Optional XDG Base Directory Specification support was merged into GoldenDict master a week ago: https://github.com/goldendict/goldendict/pull/1411. Commit messages in this pull request describe how to switch to new file locations. Users interested in this feature are invited to test it and report issues at https://github.com/goldendict/goldendict/issues before the next GoldenDict release candidate, which might be tagged in less than a month.
keren_sky commented on 2021-09-12 23:46 (UTC)
Certainly, but that requires repeated modification of the PKGBUILD if the modified one is not kept on disk. Additional overhead.
argo commented on 2021-09-11 00:01 (UTC) (edited on 2021-09-14 21:01 (UTC) by argo)
libnsl 2.0 release somehow broke goldendict, i.e. it spews
out now with both existing and new builds alike.
EDIT 3: this is a fallout from the libnsl sobump and libeb needed a rebuild (which were not apparent for it does not explicitly depend on this particular libnsl implementation).
renyuneyun commented on 2021-08-01 16:31 (UTC)
I built it successfully easily today.
@keren_sky You can change that on your side easily. Just replace the relevant part in the
source=
line.@deko Does it function correctly with eb-library?
@abd You are missing the
libvorbis
package somehow. It is in the dependency list.@sispus Your error seems to be related to your Internet connection. It failed during git operation, which is not special to this package.
keren_sky commented on 2021-04-10 12:42 (UTC)
Hi. Please could the sources line be changed to read 'git+https://github.com/goldendict/goldendict.git'. My sucky ISP blocks incoming connections.5 64$$$$$$$$$$Th5anks
deko commented on 2020-10-10 23:09 (UTC)
Replace libeb with https://aur.archlinux.org/packages/eb-library/ please. This package provides the same library, but it is older and used by other packages.
abd commented on 2020-07-05 04:23 (UTC)
Tried but get stuck in vorbisfile
(... all succeeded)
==> Extracting sources... -> Creating working copy of goldendict-git git repo... Reset branch 'makepkg' ==> Starting prepare()... ==> Fixing flags ==> Starting pkgver()... ==> Removing existing $pkgdir/ directory... ==> Starting build()... Project MESSAGE: Install Prefix is: /usr Project ERROR: vorbisfile development package not found ==> ERROR: A failure occurred in build(). Aborting..
How solving it?
sispus commented on 2020-02-20 14:37 (UTC)
error while downloading:
-> Cloning goldendict-git git repo... Cloning into bare repository '/var/tmp/pamac-build-luna/goldendict-git/goldendict-git'... error: inflate: data stream error (incorrect data check) fatal: serious inflate inconsistency fatal: index-pack failed ==> ERROR: Failure while downloading goldendict-git git repo Aborting... Failed to build goldendict-git
shahab commented on 2019-06-01 11:41 (UTC) (edited on 2019-06-01 11:42 (UTC) by shahab)
I needed to add "qt5-multimedia" to the dependencies to be able to build.
vedg commented on 2019-04-29 07:44 (UTC) (edited on 2019-04-29 07:45 (UTC) by vedg)
I can see both qtwebkit and qtwebkit-bin packages in AUR: https://aur.archlinux.org/packages/?O=0&K=qtwebkit
young.acinonyx commented on 2019-03-07 08:18 (UTC)
I get this while trying to build the package with makepkg: https://pastebin.com/X9GV0yH2
wyzh97 commented on 2017-10-31 11:38 (UTC)
vedg commented on 2017-03-18 09:06 (UTC)
VirtualTam commented on 2015-08-17 22:21 (UTC)
VirtualTam commented on 2015-08-17 21:28 (UTC)
commented on 2015-08-17 09:54 (UTC)
stas commented on 2014-09-25 11:56 (UTC)
proft commented on 2014-09-25 11:29 (UTC)
proft commented on 2014-07-23 08:21 (UTC)
wisecrick commented on 2014-06-06 16:53 (UTC)
caseyjp1 commented on 2014-05-09 00:58 (UTC)
VirtualTam commented on 2014-02-20 20:16 (UTC)
proft commented on 2014-02-12 07:55 (UTC)
VirtualTam commented on 2013-07-22 18:48 (UTC)
commented on 2013-07-22 12:56 (UTC)
VirtualTam commented on 2013-07-22 09:58 (UTC)
commented on 2013-07-22 07:57 (UTC)
VirtualTam commented on 2013-07-21 20:59 (UTC)
ilpianista commented on 2013-07-06 18:40 (UTC)
VirtualTam commented on 2013-05-28 19:07 (UTC)
aksr commented on 2013-05-17 06:09 (UTC)
VirtualTam commented on 2013-05-16 19:39 (UTC)
student975 commented on 2013-05-16 19:12 (UTC)
quite commented on 2013-05-16 18:52 (UTC)
VirtualTam commented on 2013-05-10 13:30 (UTC)
xiaolongfdwq commented on 2013-05-10 12:36 (UTC)
Joermungand commented on 2013-03-03 06:25 (UTC)
VirtualTam commented on 2013-03-01 21:28 (UTC)
student975 commented on 2013-03-01 21:12 (UTC)
student975 commented on 2013-03-01 21:11 (UTC)
VirtualTam commented on 2013-03-01 20:57 (UTC)
student975 commented on 2013-03-01 19:45 (UTC)
VirtualTam commented on 2013-03-01 19:21 (UTC)
student975 commented on 2013-03-01 11:38 (UTC)
quite commented on 2013-02-10 16:01 (UTC)
VirtualTam commented on 2013-02-10 14:14 (UTC)
serghei commented on 2013-02-10 14:06 (UTC)
student975 commented on 2013-02-09 22:03 (UTC)
student975 commented on 2013-02-09 21:46 (UTC)
themagicbanana commented on 2013-02-09 21:42 (UTC)
VirtualTam commented on 2013-02-09 18:48 (UTC)
student975 commented on 2013-02-09 15:53 (UTC)
corruptz0r commented on 2012-06-05 23:17 (UTC)
hermes14 commented on 2012-02-09 16:08 (UTC)
commented on 2012-02-09 13:06 (UTC)
hermes14 commented on 2012-01-30 11:40 (UTC)
commented on 2012-01-14 00:27 (UTC)
Infy commented on 2011-12-14 16:41 (UTC)
student975 commented on 2011-12-10 11:10 (UTC)
student975 commented on 2011-12-10 03:58 (UTC)
leafonsword commented on 2011-09-21 14:56 (UTC)
Infy commented on 2010-12-06 15:16 (UTC)
Infy commented on 2010-05-24 10:29 (UTC)
commented on 2010-05-23 21:51 (UTC)
Infy commented on 2010-05-15 16:23 (UTC)
nacre commented on 2010-05-15 16:07 (UTC)
Infy commented on 2010-05-15 11:28 (UTC)
MaJia321 commented on 2010-04-01 04:42 (UTC)
Infy commented on 2010-03-31 13:06 (UTC)
commented on 2010-03-30 11:13 (UTC)