Commit Graph

42 Commits

Author SHA1 Message Date
Sude
0067da53d2 Version 3.13 2024-05-18 21:40:45 +03:00
Sude
d6064bcbeb CMake: Bump minimum required version to 3.18.0 2024-05-15 13:57:26 +03:00
Sude
1c0ab298e4 Remove htmlcxx dependency and use libtidy with tinyxml2 to parse html 2024-05-09 14:37:53 +03:00
James Le Cuirot
3f223684cb
Add support for Qt6 (as well as Qt5)
No actual code changes were necessary.

I have partly followed
https://doc.qt.io/qt-6/cmake-qt5-and-qt6-compatibility.html, but the
versionless targets only work from Qt 5.15 onwards. The suggested
workaround chooses 5 over 6 and does not appear to work properly when
one of the required components is missing. Using the versionless
approach with an additional variable for the targets seems to work best.

If necessary, Qt 5 can be forced over 6 by passing
`-DCMAKE_DISABLE_FIND_PACKAGE_Qt6=ON`.

I have tested this by tweaking the code to force the GUI to appear.
2024-03-14 22:38:04 +00:00
Sude
8e07ba18e8 Version 3.12 2023-10-23 14:32:00 +03:00
Sude
5e29862d40 Bump CMake minimum requirement to 3.5.0 2023-07-22 16:09:46 +03:00
Sude
0f3ce5df1a Bump minimum libcurl version to 7.55.0
Forgot to change the requirement in 78c8f43
CURLINFO_CONTENT_LENGTH_DOWNLOAD_T requires libcurl >= 7.55.0
2023-04-12 12:43:37 +03:00
Sude
b1d54e70f7 Version 3.11 2023-03-24 16:11:38 +02:00
Sude
12281317aa Version 3.10 2023-03-16 11:44:36 +02:00
Sude
e88ae2e58a Remove make dependency on grep and readelf
These were not actually needed since f69747bb88
I just forgot to remove them at the time
2023-03-16 11:35:54 +02:00
Sude
6560688d8a Version 3.9 2022-02-19 12:12:11 +02:00
Sude
f69747bb88 Remove support for OpenSSL <= 1.0.2
Removes openssl thread locking callbacks required by OpenSSL <= 1.0.2
Other SSL libraries and newer OpenSSL should be handled by libcurl in a way that is thread-safe
2021-09-09 14:18:17 +03:00
Sude
9d24bd1990 Version 3.8 2021-08-25 15:21:57 +03:00
Sude
43bca1f878 Version 3.7 2020-04-08 09:48:46 +03:00
Sude
0e0a7ebc82 Version 3.6 2020-03-15 16:13:04 +02:00
Sude
8829f44e37 Remove dependency on liboauth
liboauth is no longer needed.
Removed references to oauth token and secret from code.
I forgot to remove these in 42c71884a2
2019-11-14 18:57:37 +02:00
Sude
42c71884a2 Remove old GOG downloader API
Removed all remaining code related to old API.
Removed dead or commented out code that I noticed while checking the code for references to old API.
2019-11-14 18:25:12 +02:00
Sude
04b63d4c76 CMake: Disable search for boost-cmake
Fixes building with Boost >= 1.70.0
https://cmake.org/cmake/help/latest/module/FindBoost.html#boost-cmake
2019-10-26 18:57:52 +03:00
Michał Janiszewski
460e28bff1 Add -latomic when required
Some platforms ship with atomic builtins packaged in their own library
which needs to be linked in order to make use of them.

This patch, based on
https://github.com/WebPlatformForEmbedded/meta-wpe/issues/210 adds a
configure-time check to verify if the library is needed and adds it when
necessary.
2019-07-12 22:16:42 +02:00
Sude
d85d9316e4 Version 3.5 2019-04-22 18:21:49 +03:00
Sude
1e8ebbfd94 Add GUI login
Use QtWebEngine for getting cookies and authorization code if login form contains recaptcha and downloader is compiled with -DUSE_QT_GUI=ON
2019-03-01 10:05:16 +02:00
Sude
f5afc8957d Version 3.4 2018-09-15 15:22:19 +03:00
Sude
9dc5d4124c Add OS and arch to default user agent 2018-07-01 22:51:32 +03:00
Sude
463a9c386e Galaxy: Add hack for installing Linux games
Try to use Linux installers as replacement for Galaxy repository.
Linux installers use MojoSetup which means that the installers are Zip files that have bash script and installer binary prepended.
We can get zip file entries from zip central directory and then split the game installer to chunks based on those file entries.
Therefore we can download individual files from the installer.
2018-05-29 08:56:29 +03:00
Sude
8cb0b99008 Version 3.3 2017-11-03 16:23:17 +02:00
Sude
1f7d559bfa Version 3.2 2017-03-07 07:32:13 +02:00
Sude
f2e8dde934 Some initial Galaxy code
Add some code for initial Galaxy support.
Rewrite and move code around in preparation for GOG Galaxy API support.
2017-02-17 11:14:28 +02:00
Sude
1d1855049c Version 3.1 2017-01-13 18:19:34 +02:00
Sude
d11f376030 Version 3.0 2016-11-19 11:30:49 +02:00
Sude
21699adc45 CMake: Work around FindThreads bug for CMake < 3.4.0
https://cmake.org/Bug/view.php?id=14905
2016-05-29 12:56:49 +03:00
Sude
442fad04db Add support for parallel downloads
New option "--threads" can be used to set how many parallel downloads to run. The default is 4 threads.

Changes to behavior:
- Serials and changelogs are saved and covers downloaded for all games that match the "--game" filter before any other files are downloaded.
- Automatic XML creation is run after all files are downloaded. Previously xml data was automatically created right after download finished.
- The "--limit-rate" option sets rate limit for thread not global rate limit.
2016-05-20 20:33:07 +03:00
Ferdinand Thiessen
c83f6294ab Ported code to use tinyxml2 instead of tinyxml 2016-05-13 14:37:02 +02:00
Sude
f0f670845e Version 2.28 2016-05-05 07:04:20 +03:00
Sude
2bdd485e5e CMake: set minimum required version of curl to 7.32.0 2016-05-03 17:12:23 +03:00
Sude
33fb004cdd Move GOG website related members of Downloader class to new Website class
Downloader::HTTP_Login --> Website::Login
Downloader::getGames --> Website::getGames
Downloader::getFreeGames --> Website::getFreeGames
Downloader::getGameDetailsJSON --> Website::getGameDetailsJSON
Getting wishlist details is split from Downloader::showWishlist to Website::getWishlistItems function
2016-04-18 20:33:19 +03:00
Sude
3e61a94d1e Version 2.27 2016-03-12 20:36:35 +02:00
Sude
9cf9a8f378 CMake: add check for Clang
Fixes compiling with Clang
2016-02-16 19:56:05 +02:00
Sude
84aeaa6bf1 CMake: lower the required version to 3.0.0 2016-02-16 19:02:22 +02:00
Sude
37577f9a98 Revert "Lower required CMake version"
This reverts commit e00bb4d931.
2016-02-15 02:32:12 +02:00
Sude
e00bb4d931 Lower required CMake version 2016-02-15 00:15:50 +02:00
Sude
14d9d3d89f Add -DDEBUG=1 to cmake cxx flags for debug build 2016-01-17 19:34:30 +02:00
Sandy Carter
a5cc950192 CMake: Convert Makefile build to CMake
Find libraries using cmake/Find*.cmake scripts
Replace Version String with CMake implementation based on CMake Version and
git ref-parse.
Compile manpages in man/CMakeLists.txt to build:
    cmake .
    make manpage
Set debug and release versions with
    cmake -DCMAKE_BUILD_TYPE=Debug
and
    cmake -DCMAKE_BUILD_TYPE=Release
Build and install process can be:
    cmake -DCMAKE_BUILD_TYPE=Release .
    make
    make install
More build options can be found with
    cmake .
    make help
Codeblocks project can be generated using
    cmake -G "CodeBlocks - Unix Makefiles" .
2016-01-03 16:50:29 -05:00