Commit graph

4616 commits

Author SHA1 Message Date
Tvangeste 9ad4fcdb2c Properly handle the version.txt in Visual Studio's build 2013-08-16 23:36:38 +02:00
Tvangeste a1b257e20c Removed the duplicated qmake dependency in README 2013-08-16 19:17:08 +02:00
Tvangeste 30d0a09952 Corrected includes for MSVC QT4 2013-08-16 17:23:35 +02:00
Tvangeste ba94dd1314 Created a VS2012 project and solution for GoldenDict
It uses excellent Visual Studio extensions for Qt,
written by Adam Badura (@adambadura). Many thanks!

The project file is fully functional in Release-Qt4 configuration,
for both x32 and x64 architectures.

I decided not to use the official Qt Plugin, since it
generates HUGE and broken project files which is painful
to maintain.

Here we have a pure visual studio solution with proper
Visual Studio extensions to support Qt-based development.

These extensions cover RCC, Lrelease, MOC and UIC,
automagically invoking them when needed, with basically
no need for manual steps to maintain.

Also, GoldenDict can be built from the command line as well,
no Visual Studio is required:

For Win32:
MSBuild /m goldendict.sln /v:m /nologo /p:Configuration=Release-Qt4 /p:Platform=win32

For x64:
MSBuild /m goldendict.sln /v:m /nologo /p:Configuration=Release-Qt4 /p:Platform=x64
2013-08-16 15:47:12 +02:00
Tvangeste 323ddaa34e Added submodule with MSVC++ 2012 prebuilt libraries
A submodule used instead of direct way of putting files into a repository
so that the official repo won't grow too much in size and since MSVC++
dependencies are not typically needed (on Linux/Mac and Windows with MinGW).

For those who don't need MSVC++ libs, they should just ignore the submodule.

Those who'd like to play with MSVC++ build should invoke:

git submodule init
git submodule update
2013-08-11 23:40:36 +02:00
Tvangeste a9d2ba7c84 remove the msvc directory in order to create a git module instead 2013-08-11 23:36:15 +02:00
Tvangeste b254127b3a Handle MSVC++ x64 2013-08-11 18:05:10 +02:00
Julian Depetris Chauvin bb8f14ed9d Update Argentinian Spanish translation. Fix typo. 2013-08-10 17:51:17 -03:00
Tvangeste b81f008a18 Tweaked compilation flags for MSVC++ 2013-08-10 21:44:33 +02:00
Tvangeste 3a6215287c Eliminate more warnings when using MSVC++ 2013-08-10 21:06:26 +02:00
Tvangeste ea24b9e858 Disable stupid MS-specific compiler CRT-related warnings 2013-08-10 20:43:37 +02:00
Tvangeste 56830bf714 Merge pull request #377 from timonwong/libao_osx
Use patched libao in order to support OSX without copying plugins (#295)
2013-08-10 11:04:06 -07:00
Julian Depetris Chauvin 9536733a26 Update Argentinian Spanish translation 2013-08-10 13:36:22 -03:00
Tvangeste d878802948 Fixed a compilation problem on windows 2013-08-09 12:24:33 +02:00
Tvangeste dd695f93dc Re-enable the internal ffmpeg based media player for Visual C++ 2012 2013-08-08 23:07:27 +02:00
Tvangeste ff362dca6c README for MSVC++ libraries 2013-08-07 20:43:08 +02:00
Tvangeste f03cd6f41d Adjust the goldendict.pro file to handle MSVC++ 2013-08-07 20:32:26 +02:00
Tvangeste 148fd1f275 Fix compilation failures with Visual C++ 2012 (issue #375) 2013-08-07 20:29:36 +02:00
Timon Wong 520759dab0 Use patched libao in order to support OSX without copying plugins (#295) 2013-08-04 21:42:34 +08:00
Timon Wong ee0fc80001 Merge branch 'master' into qt4x5
Conflicts:
	articleview.cc
	btreeidx.cc
	goldendict.pro
	mediawiki.cc
2013-08-02 17:00:16 +08:00
Abs62 66c309557d DSL: Add "http://" to link in [url] tag if it scheme not found 2013-07-27 22:35:10 +04:00
Tvangeste f2ebba10fe Adjust fonts for some styles: Modern, Lingoes, Lingoes-Blue 2013-07-26 18:00:48 +02:00
Timon Wong 89d44c2fe5 Update simplified chinese translation 2013-07-25 09:41:27 +08:00
Timon Wong dd6b54a534 MDict: Fixed truncation for ASCII characters(0x20~0x30) in image urls. 2013-07-25 09:22:33 +08:00
Tvangeste 46bbe67a6d Merge pull request #373 from virtualtam/master
Updated French translation - fixed typos
2013-07-22 13:10:37 -07:00
VirtualTam 54eb82de8d Updated French translation - fixed typos 2013-07-22 21:09:13 +02:00
Tvangeste 2a12036438 Linux: Better detection of installation prefix
1. qmake PREFIX=/usr

or

2. PREFIX=/usr qmake

or

3. export PREFIX=/usr; qmake

All should work.

Previously, the most typical #1 was not working.
2013-07-21 12:29:28 +02:00
Tvangeste 7820ef8b5a Use $PREFIX/share/goldendict for locale files per Linux conventions
There is no need to use $PREFIX/share/*apps*/goldendict.
2013-07-21 11:55:20 +02:00
Tvangeste bbce340353 Fix localization files' installation on Linux/MacOS 2013-07-21 10:46:22 +02:00
Abs62 60fcfd2cb0 Fix compilation under MacOS 2013-07-20 13:50:21 +04:00
Tvangeste 039caf07f1 Fixed #183: Provide a higher resolution main GoldenDict icon
Finally! :)
2013-07-19 19:07:32 +02:00
Tvangeste 47c4646642 Fixed #359: Crash on Xubuntu 13.04 x64 due to XGrabKey 2013-07-19 15:22:40 +02:00
Tvangeste ba1f38b974 Automatically add installed opendict dictionaries (/usr/share/opendict) 2013-07-18 20:24:36 +02:00
Tvangeste af0fceb7f1 Preconfigure goldendict-wordnet path (patch by Dmitry E. Oboukhov) 2013-07-18 20:24:36 +02:00
Tvangeste e4512948fc Do not install anything in $PREFIX/share/app-install (patch by Dmitry E. Oboukhov)
This is a private area of app-install application (Software Center),
and it is impolite to install files into places we don't own.

Not to mention it causes installation conflicts in Debian/Ubuntu.

See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=689205
2013-07-18 20:24:36 +02:00
Tvangeste bf495a4eb7 Remove 'Applications' category from desktop file (patch by Dmitry E. Oboukhov) 2013-07-18 20:24:36 +02:00
Tvangeste 234943de18 State the minimal required Qt version: 4.5 2013-07-18 16:09:13 +02:00
Tvangeste 99526b98d3 Fix compilation errors on Qt 4.5 2013-07-18 15:02:39 +02:00
Tvangeste 0db2ae6e57 Another Qt 4.6 build fix 2013-07-17 23:43:35 +02:00
Tvangeste 4980ffcbc0 Fixed a build failure with Qt 4.6 and older 2013-07-17 23:08:33 +02:00
Abs62 7d8ce1233e Fix compilation with Qt 4.7 (issue #371) 2013-07-17 18:25:09 +04:00
Tvangeste a3f856a4d7 Fixed #370: Build error when DISABLE_INTERNAL_PLAYER=1 2013-07-17 08:31:46 +02:00
Abs62 1dd5bd2eb2 A little refactor of find of language writing direction 2013-07-16 18:23:42 +04:00
Abs62 4539323177 Handle RTL sentences on "Not found" page 2013-07-16 17:59:56 +04:00
Tvangeste 699209c056 Merge pull request #369 from quendimax/master
Update belarusian translation
2013-07-14 14:07:30 -07:00
Maksim Tomkowicz 71ada9f77d Update belarusian translation 2013-07-14 21:24:11 +03:00
Abs62 471e26dfde Some more support for RTL languages in articles 2013-07-14 19:37:38 +04:00
Abs62 0e5a26cb02 Additional detection for text direction in plain text articles 2013-07-13 15:24:58 +04:00
Tvangeste e79efbd454 Linux: Use better and bigger (256x256) icon for GoldenDict.desktop file
The end result on Ubunutu looks MUCH, MUCH better compared to the
ugly 24x24 icon we had previously.
2013-07-11 22:30:47 +02:00
Tvangeste af82c1d0b6 README: Add missing dependencies
Git and libqtwebkit-dev are listed now explicitly.
2013-07-11 22:15:47 +02:00