A feature-rich dictionary lookup program, supporting multiple dictionary
formats (StarDict/Babylon/Lingvo/Dictd) 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.
===> The following configuration options are available for goldendict-1.5.0_5:
EPWING=on: Japanese EPWING dictionary format support
FFMPEG=on: FFmpeg support (WMA, AIFF, AC3, APE...)
MULTIMEDIA=on: Multimedia support with QMediaPlayer
OPENCC=on: Chinese conversion support via OpenCC
===> Use 'make config' to modify these settings
chinese/opencc: Upgrade from 1.3.1 to 1.4.1.
Changes in this update:
- Enable the Jieba segmentation plugin via a new JIEBA option (default on).
- OpenCC now requires C++17: USES compiler:c++11-lib -> c++17-lang.
- Regenerate files/patch-CMakeLists.txt for the reorganized upstream tree.
- Add files/patch-cmake_GitVersion.cmake so the release tarball (which
ships without Git metadata) reports 1.4.1 instead of 1.4.0.
Obtained from upstream commit c23e743702f4.
PR: ports/296829
Approved by: maintainer
textproc/goldendict: undeprecate the port (divorce from WebKit)
Follow AUR package and switch to Igor's QtWebEngine fork while
we are waiting for upstream to merge his pull request #1542;
adjust the version tag accordingly. While here, do not pollute
compiler options with `-rdynamic' which is intended for linker.
Discussed with: Igor Kushnir
Mk/Uses: always use colon for build/run suffix
Most USES use a colon for build/run(/test) suffixes. Change kde.mk,
qt.mk and pyqt.mk to do the same, and update all ports using that.
Document in CHANGES.
PR: 266034
Exp-run by: antoine
Approved by: tcberner (mentor)
Differential Revision: https://reviews.freebsd.org/D36349
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
textproc/goldendict: the port had been updated and unbroken (+)
- Update to the latest GitHub commit (they're still not
tagging any new releases)
- Unbreak the build on recent -CURRENT by adding missing
#include <locale.h>
- Assume maintainership of the port for the time being
Reported by: pkg-fallout
INSTALLS_ICONS: retire the macro and rework the related dependencies
While here, make sure gtk-update-icon-cache is only on run dependency
where added as a dependency
Enforce gtk3 to depend on gtk-update-icon-cache (previously it was
inheriting the dependency)
- Update to the latest GitHub snapshot
- Adjust LICENSE and set LICENSE_FILE
- Make Qt multimedia player optional
- Add missing LIB_DEPENDS and USE_XORG
- Report Git hash in the About dialog
Update Qt/PySide2 to 5.15.2 / PyQt to 5.15.1 / SIP to 5.4.0
This commit combines several updates.
- Update Qt to 5.12.2
- Update PyQt to 5.15.1
- Since PySide 5.15.1 is broken with Qt 5.15.2, so PySide and Shiboken are also
updated to 5.15.2.
- Update sip to 5.4.0
SIP is a collection of tools to create Python bindings for C and C++ libraries
and used by PyQt and wxPython. There are some changes with sip5 [1]:
- python 3.5+ is required
- sip drops support of old deprecated methods as sipdistutils & cie.
- this version breaks also PyQt5 extension ABI. SIP files will be installed in
${PYTHON_SITELIBDIR}/PyQt${_PYQT_VERSION}/bindings
- some ports will use the new pyqtbuilder package with the pyproject.toml setup.
Instead if the project have a setup.py, you should use sip-build to build it.
- if a port needs sip, it should also needs pysip. BTW, py-qt5-core requires
pysip, so that should be enough for PyQt packages.
(Only the first 15 lines of the commit message are shown above )
textproc/goldendict: Fix build with llvm10
./sptr.hh:71:12: error: cannot initialize return object of type 'unsigned int'
with an lvalue of type 'unsigned int *const'
{ return count; }
^~~~~
Import upstream fix
PR: 251128
Approved by: bsam (maintainer timeout)
Add USES=xorg USES=gl, ports categories t
Add USES=xorg and USES=gl to ports in categories starting with 't'
While here, try to sprinkle other USES (mostly gnome and sdl) as needed.
Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.
PR: 238330
- Resurrect and update to the latest GitHub version (1.5.0-g20190709)
- Allow for more granular builds by introducing EPWING (Japanese
dictionary format support), FFMPEG, and OPENCC (Chinese conversion
support) options; enable them by default for feature-rich package
- Reword the COMMENT and the port description text while I'm here
Qt4 deprecation: Remove Qt4 and its consumes.
2019-03-15 accessibility/qt4-accessible: Qt4 has been EOL since december 2015
2019-03-15 astro/qlandkartegt: Qt4 has been EOL since december 2015
2019-03-15 astro/stellarium-qt4: Qt4 has been EOL since december 2015
2019-03-15 astro/xglobe: Qt4 has been EOL since december 2015
2019-03-15 audio/acoustid-fingerprinter: Qt4 has been EOL since december 2015
2019-03-15 audio/cueplayer: Qt4 has been EOL since december 2015
2019-03-15 audio/esperanza: Qt4 has been EOL since december 2015
2019-03-15 audio/lastfm-desktop: Qt4 has been EOL since december 2015
2019-03-15 audio/minitunes: Qt4 has been EOL since december 2015
2019-03-15 audio/mixxx20: Qt4 has been EOL since december 2015
2019-03-15 audio/mumble: Qt4 has been EOL since december 2015
2019-03-15 audio/murmur: Qt4 has been EOL since december 2015
2019-03-15 audio/puddletag: Qt4 has been EOL since december 2015
(Only the first 15 lines of the commit message are shown above )
Fix Qt5 symbol version scripts to put the catch-all clause first. When
a symbol matches multiple clauses the last one takes precedence. If the
catch-all is last it captures everything. In the case of Qt5 libraries
this caused all symbols to have a Qt_5 label while some should have
Qt_5_PRIVATE_API. This only affects lld because GNU ld always gives the
catch-all lowest priority.
Older versions of Qt5Webengine exported some memory allocation symbols from
the bundled Chromium. Version 5.9 stopped exporting these [1] but the
symbols were kept as weak wrappers for the standard allocation functions to
maintain binary compatibility. [2][3] The problem is that the call to the
standard function in these weak wrappers is only resolved to the standard
function if there's a call to this standard function in other parts of
Qt5Webengine, because only then is there a non-weak symbol that takes
precedence over the weak one. If there's no such non-weak symbol the call
(Only the first 15 lines of the commit message are shown above )
Bump PORTREVISION for ports depending on the canonical version of GCC
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t
GCC 8.2 under most circumstances.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, as a double check, everything INDEX-11 showed depending on lang/gcc7.
PR: 231590
Mark QT4 ports/functionality for removal on 2019-03-15
While here, chase some KDE4 ports and functionality, these are scheduled for
removal on 2018-12-31. Change the default option/flavor to QT5 where applicable
or use alternative toolkits like GTK.
Submitted by: tcberner
Reviewed by: adridg, jhale, rene, tcberner
Approved by: portmgr (implicit, flavor hook)
Differential Revision: https://reviews.freebsd.org/D17741
Bump PORTREVISION for ports depending on the canonical version of GCC
in the ports tree (via Mk/bsd.default-versions.mk and lang/gcc) which
has now moved from GCC 6 to GCC 7 by default.
This includes ports
- featuring USE_GCC=yes or USE_GCC=any,
- featuring USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and those
- with USES=compiler specifying one of openmp, nestedfct, c11, c++0x,
c++11-lib, c++11-lang, c++14-lang, c++17-lang, or gcc-c++11-lib.
PR: 222542
Replace bsd.qt.mk by Uses/qt.mk and Uses/qt-dist.mk
From now on, ports that depend on Qt4 will have to set
USES= qt:4
USE_QT= foo bar
ports depending on Qt5 will use
USES= qt:5
USE_QT= foo bar
PR: 229225
Exp-run by: antoine
Reviewed by: mat
Approved by: portmgr (antoine)
Differential Revision: -https://reviews.freebsd.org/D15540
Adjust USES to fix builds on gcc-based architectures.
While here, pet portlint.
Tested for no regression on amd64.
Approved by: portmgr (tier-2 blanket)
textproc/goldendict: Fix iconv wchar_t initialization error.
From the original e-mail:
Goldendict still uses internal libiconv and can't to load dictionaries
that require use of iconv with WCHAR_T producing "Can't initialize
iconv conversion: Invalid argument". The patch based on the example
6.17 of porter's handbook solves the problem.
Submitted by: Art Kamog <ia.kamog@yandex.ru> (via e-mail)
Update Qt5 to 5.7.1, and unify the Qt4 and Qt5 ports some more
* Update Qt5 to 5.7.1
* Move Qt4 binaries to lib/qt4/bin
* Move Qt5 libraries to lib/qt5/lib
By moving the libraries we should finally be able to get rid of the inplace
upgrade bug (see ports bugs 194088, 195105 and 198720): when Qt5's libraries
were lying in /usr/local/lib, which would often get added by pkgconfig to the
linker paths via dependencies, the already installed libraries were linked
against, instead of the ones that were being built. This forced us to make
sure, that -L${WRKSRC}/lib was always coming before -L/usr/local/lib in the
linker flags. With this change this should no longer be the case.
* Rename some ports to match the rest (foo-qtX -> qtX-foo)
* Depend on new port misc/qtchooser [see UPDATING & CHANGES]
There are several new Qt5 ports which all have been created by Marie Loise
Nolden
<nolden@kde.org>. Thanks again.
PR: 216797
Exp-Run by: antoine
Reviewed by: rakuco, mat, groot_kde.org
Approved by: rakuco (mentor)
Differential Revision: https://reviews.freebsd.org/D9213
converters/libiconv:
- Remove const qualifier from iconv(3) to match POSIX:
http://pubs.opengroup.org/onlinepubs/9699919799/functions/iconv.html
- Patch iconv.h to expose more GNU extensions when LIBICONV_PLUG is
defined because the base system iconv supports these extensions too.
Add/remove patches to/from ports to call iconv with non-const arguments.
This breaks some ports on FreeBSD 10 because base system iconv.h still has
the const qualifier. Fix this by letting USES=iconv add a build dependency
on converters/libiconv so ports can use its iconv.h (with LIBICONV_PLUG
defined) instead of the base system iconv.h.
This exposed some ports that link with libiconv when it is available instead
of using libc iconv. In these cases one of the following changes has been
(Only the first 15 lines of the commit message are shown above )
Update the default version of GCC in the Ports Collection from GCC 4.7.4
to GCC 4.8.3.
Part II, Bump PORTREVISIONs.
PR: 192025
Tested by: antoine (-exp runs)
Approved by: portmgr (implicit)
. support STAGE;
. remove desktop-file-utils from USES (no mime file types);
. convert USE_DOS2UNIX -> USES=dos2unix;
. get use INSTALLS_ICONS=yes;
. use REINPLACE_CMD macro instaed of ${SED}.
1. Fix build with clang and libc++ (3 cases, add "#include <unistd.h>" to
apropriate files):
-----
bgl_babylon.cc:97:19: error: use of undeclared identifier 'dup'
file = gzdopen( DUP( fileno( f ) ), "r" );
^
bgl_babylon.cc:36:13: note: expanded from macro 'DUP'
#define DUP dup
^
-----
processwrapper.cc:99:12: error: use of undeclared identifier 'getpid'
return getpid();
^
-----
qtsingleapplication/src/qtlocalpeer.cpp:96:56: error: no member named 'getuid'
in the global namespace
socketName += QLatin1Char('-') + QString::number(::getuid(), 16);
~~^
-----
2. Use new syntax for LIB_DEPENDS.
. move LICENCE up and pet portlint; [1]
. change WWW at pkg-descr; [1]
. remove LICENSE from pkg-descr;
. use two line style headers;
. remove ABI version (.0) from LIB_DEPENDS (hunspell-1.3 *is* the libarary
name);
. remove the indefinite article from COMMENT;
. USE_GNOME=pkgconfig -> USE_PKGCONFIG=build;
. make use of desktopfileutils at port and package;
. bump PORTREVISION.
PR: ports/173243 [1]
Submitted by: nemysis <nemysis@gmx.ch> [1]
Feature safe: yes
Add phonon to QT_COMPONENTS.
goldendict seems to use phonon, but it was not listed in the
dependency list explicitly, which failed the Qt 4.8.1 exp-run.
PORTREVISION bumped due to the dependency list change.
Approved by: miwi (Qt 4.8.1 exp-run)
- update to 1.3.2
- remove hungarian dictionnary (will be readded later as a separate port)
- rework description
- change WWW
- chase library bump
- add license
- Connect textproc/hunspell to the build
- Unconnect hungarian/hunspell
- Chase hunspell move
- Add an entry to MOVED and UPDATING
Approved by: bapt (mentor)
Seems that recently something was changed at the ports tree, so
add an explicit dependency upon x11/libXtst:
. USE_XORG+=xtst;
. bump PORTREVISION.
Spotted by: pointyhat via pavmail
. fix build (add apropriate QT_COMPONENTS);
. fix pkg-plist by adding "@dirrmtry share/applications"
(hm, that common directory doesn't seem belong to any *hier port).
The project aims to create a feature-rich dictionary lookup program.
It supports:
* Babylon .BGL files, complete with images and resources;
* StarDict .ifo/.dict./.idx/.syn dictionaries;
* Dictd .index/.dict(.dz) dictionary files;
* ABBYY Lingvo .dsl source files, together with abbreviations.
The files can be optionally compressed with dictzip. Dictionary
resources can be packed together into a .zip file;
* ABBYY Lingvo .lsa/.dat audio archives. Those can be indexed
separately, or be referred to from .dsl files.
LICENSE: GPL3 or later
WWW: http://goldendict.berlios.de/