Personal Goldendict fork
TypeScript C C++ CSS Objective-C Prolog Shell
Pull request Compare This branch is 556 commits behind goldendict:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
MSBuild
flags
generators
icons
locale
maclibs
mouseover_win32
nsis
qtsingleapplication
redist
winlibs
.gitignore
.gitmodules
CREDITS.txt
GoldenDict.exe.manifest
LICENSE.txt
README.md
aard.cc
aard.hh
about.cc
about.hh
about.ui
article-style-print.css
article-style-st-babylon.css
article-style-st-lingoes-blue.css
article-style-st-lingoes.css
article-style-st-lingvo.css
article-style-st-modern.css
article-style.css
article_maker.cc
article_maker.hh
article_netmgr.cc
article_netmgr.hh
articleinspector.cc
articleinspector.hh
articleview.cc
articleview.hh
articleview.ui
articlewebview.cc
articlewebview.hh
atomic_rename.cc
atomic_rename.hh
audiolink.cc
audiolink.hh
belarusiantranslit.cc
belarusiantranslit.hh
bgl.cc
bgl.hh
bgl_babylon.cc
bgl_babylon.hh
broken_xrecord.cc
broken_xrecord.hh
btreeidx.cc
btreeidx.hh
chunkedstorage.cc
chunkedstorage.hh
config.cc
config.hh
configure
country.cc
country.hh
decompress.cc
decompress.hh
delegate.cc
delegate.hh
dictdfiles.cc
dictdfiles.hh
dictgroupwidget.ui
dictinfo.cc
dictinfo.hh
dictinfo.ui
dictionary.cc
dictionary.hh
dictionarybar.cc
dictionarybar.hh
dictspanewidget.hh
dictzip.c
dictzip.h
dprintf.hh
dsl.cc
dsl.hh
dsl_details.cc
dsl_details.hh
editdictionaries.cc
editdictionaries.hh
editdictionaries.ui
ex.hh
externalviewer.cc
externalviewer.hh
extlineedit.cc
extlineedit.hh
ffmpegaudio.cc
ffmpegaudio.hh
file.cc
file.hh
filetype.cc
filetype.hh
fixx11h.h
flags.qrc
folding.cc
folding.hh
forvo.cc
forvo.hh
fsencoding.cc
fsencoding.hh
gdappstyle.cc
gdappstyle.hh
german.cc
german.hh
goldendict.pro
goldendict.rc
goldendict.sln
goldendict.vcxproj
goldendict.vcxproj.filters
greektranslit.cc
greektranslit.hh
groupcombobox.cc
groupcombobox.hh
groups.cc
groups.hh
groups.ui
groups_widgets.cc
groups_widgets.hh
groupselectorwidget.ui
guids.c
history.cc
history.hh
historypanewidget.cc
historypanewidget.hh
hotkeyedit.cc
hotkeyedit.hh
hotkeywrapper.cc
hotkeywrapper.hh
htmlescape.cc
htmlescape.hh
hunspell.cc
hunspell.hh
iconv.cc
iconv.hh
inc_case_folding.hh
inc_diacritic_folding.hh
indexedzip.cc
indexedzip.hh
initializing.cc
initializing.hh
initializing.ui
instances.cc
instances.hh
keyboardstate.cc
keyboardstate.hh
langcoder.cc
langcoder.hh
language.cc
language.hh
lionsupport.h
lionsupport.mm
loaddictionaries.cc
loaddictionaries.hh
lsa.cc
lsa.hh
machotkeywrapper.mm
macmouseover.hh
macmouseover.mm
main.cc
mainstatusbar.cc
mainstatusbar.hh
maintabwidget.cc
maintabwidget.hh
mainwindow.cc
mainwindow.hh
mainwindow.ui
mdictparser.cc
mdictparser.hh
mdx.cc
mdx.hh
mediawiki.cc
mediawiki.hh
mouseover.cc
mouseover.hh
mruqmenu.cc
mruqmenu.hh
mutex.cc
mutex.hh
myInfo.plist
options.ui
orderandprops.cc
orderandprops.hh
orderandprops.ui
parsecmdline.cc
parsecmdline.hh
preferences.cc
preferences.hh
preferences.ui
processwrapper.cc
processwrapper.hh
programs.cc
programs.hh
qt-style-macos.css
qt-style-st-babylon.css
qt-style-st-lingoes-blue.css
qt-style-st-lingvo.css
qt-style-st-modern.css
qt-style.css
resources.qrc
romaji.cc
romaji.hh
russiantranslit.cc
russiantranslit.hh
sapi.hh
scanpopup.cc
scanpopup.hh
scanpopup.ui
sdict.cc
sdict.hh
searchpanewidget.hh
sounddir.cc
sounddir.hh
sources.cc
sources.hh
sources.ui
speechclient.hh
speechclient_mac.mm
speechclient_win.cc
speechhlp.cc
speechhlp.hh
sphelper.hh
sptr.hh
stardict.cc
stardict.hh
stylescombobox.cc
stylescombobox.hh
termination.cc
termination.hh
texttospeechsource.cc
texttospeechsource.hh
texttospeechsource.ui
translatebox.cc
translatebox.hh
transliteration.cc
transliteration.hh
ufile.cc
ufile.hh
uiauto.hh
utf8.cc
utf8.hh
voiceengines.cc
voiceengines.hh
webmultimediadownload.cc
webmultimediadownload.hh
website.cc
website.hh
wordbyauto.cc
wordbyauto.hh
wordfinder.cc
wordfinder.hh
wordlist.cc
wordlist.hh
wstring.cc
wstring.hh
wstring_qt.cc
wstring_qt.hh
x64.cc
x64.hh
xdxf.cc
xdxf.hh
xdxf2html.cc
xdxf2html.hh
zim.cc
zim.hh
zipfile.cc
zipfile.hh
zipsounds.cc
zipsounds.hh

README.md

Introduction

GoldenDict is a feature-rich dictionary lookup program, supporting multiple dictionary formats (StarDict/Babylon/Lingvo/Dictd/AARD/MDict/SDict) and online dictionaries, featuring perfect article rendering with the complete markup, illustrations and other content retained, and allowing you to type in words without any accents or correct case.

Requirements

This code has been run and tested on Windows XP/Vista/7, Ubuntu Linux, Mac OS X.

External Deps

  • Make, GCC, Git
  • Qt framework. Minumal required version is 4.5. But Qt 4.7 or 4.8 is recommended.
  • Qt Creator IDE is recommended for development
  • Various libraries on Linux (png, zlib, etc)
  • On Mac and Windows all the libraries are already included in the repository

Installing External Deps on Ubuntu Linux

sudo apt-get install git pkg-config build-essential qt4-qmake \
     libvorbis-dev zlib1g-dev libhunspell-dev x11proto-record-dev \
     libqt4-dev libqtwebkit-dev libxtst-dev liblzo2-dev libbz2-dev \
     libao-dev libavutil-dev libavformat-dev

How to build

First, clone this repository, e.g.:

git clone git://github.com/goldendict/goldendict.git

And then invoke qmake-qt4 and make:

cd goldendict && qmake-qt4 && make

In case when qmake-qt4 does not exist, try using qmake but make sure it is indeed from the Qt 4 installation. Alternatively, you might want to load goldendict.pro file from within Qt Creator, especially on Windows.

Building without internal audio player

If you have problem building with FFmpeg/libao (for example, Ubuntu older than 12.04), you can pass "DISABLE_INTERNAL_PLAYER=1" to qmake in order to disable internal audio player completely:

qmake "DISABLE_INTERNAL_PLAYER=1"

Then, invoke make clean before make because the setting change:

make clean && make

Installation

Installation is an optional step since the built binary can be used as-is without installation. But you can properly install via:

make install

NB: Don't do that on Windows!

License

This project is licensed under the GNU GPLv3+ license, a copy of which can be found in the LICENSE.txt file.

Support

Users looking for support should file an issue in the official GoldenDict issue tracker, or even better: submit a pull request if you have a fix available. General questions should be asked on the official GoldenDict forum.