diff options
author | wiz <wiz@pkgsrc.org> | 2016-05-08 09:13:13 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2016-05-08 09:13:13 +0000 |
commit | 311854b47248e568a333acc0961b02fb61b901cd (patch) | |
tree | 52d69867b24706b82619b3030ee03fd4c1208aa7 /games | |
parent | 2b53329d6b1f2b62b965a588b9213485f48a171f (diff) | |
download | pkgsrc-311854b47248e568a333acc0961b02fb61b901cd.tar.gz |
Updated lgogdownloader to 2.28.
LGOGDownloader 2.28
- Fixed compiling with JsonCpp 1.7.1
- Moved 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 was split from Downloader::showWishlist to Website::getWishlistItems function
- Moved login checks from the login function to their own functions
- Added function to check if user is logged in to GOG website
* Website::IsLoggedIn
- Changed gameFile format and gamedetails cache format
* gameFile now contains gamename and file type info
* Game details cache format has been changed to match gameFile changes
* Cache has a new "gamedetails-cache-version" field that can be used to detect cache format changes
- Fixed downloading language packs with file id
- Started using CURLOPT_XFERINFOFUNCTION instead of deprecated CURLOPT_PROGRESSFUNCTION
* libcurl >= 7.32.0 is required
Diffstat (limited to 'games')
-rw-r--r-- | games/lgogdownloader/Makefile | 4 | ||||
-rw-r--r-- | games/lgogdownloader/distinfo | 11 | ||||
-rw-r--r-- | games/lgogdownloader/patches/patch-src_util.cpp | 18 |
3 files changed, 7 insertions, 26 deletions
diff --git a/games/lgogdownloader/Makefile b/games/lgogdownloader/Makefile index e7325b3f120..bcb86bb2d7c 100644 --- a/games/lgogdownloader/Makefile +++ b/games/lgogdownloader/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.21 2016/03/13 08:49:31 wiz Exp $ +# $NetBSD: Makefile,v 1.22 2016/05/08 09:13:13 wiz Exp $ -DISTNAME= lgogdownloader-2.27 +DISTNAME= lgogdownloader-2.28 CATEGORIES= games MASTER_SITES= http://sites.google.com/site/gogdownloader/ diff --git a/games/lgogdownloader/distinfo b/games/lgogdownloader/distinfo index 8bc61028547..da74bb3e5f2 100644 --- a/games/lgogdownloader/distinfo +++ b/games/lgogdownloader/distinfo @@ -1,8 +1,7 @@ -$NetBSD: distinfo,v 1.18 2016/05/05 22:06:39 joerg Exp $ +$NetBSD: distinfo,v 1.19 2016/05/08 09:13:13 wiz Exp $ -SHA1 (lgogdownloader-2.27.tar.gz) = 8e6841637d9a6ea8b0ed3c346ae96fa48655db41 -RMD160 (lgogdownloader-2.27.tar.gz) = 89cc6e373528326712abbd54fa1f7d468875c3f5 -SHA512 (lgogdownloader-2.27.tar.gz) = 3dd2845b801c883d42bb12bfeb4c28ab6852524a0397ea313b7e4b0195e575a255177b85281bfd923765ac49cfc313dc5bd62a1188e1c465172f79ec281ea0a7 -Size (lgogdownloader-2.27.tar.gz) = 50433 bytes +SHA1 (lgogdownloader-2.28.tar.gz) = 7ff982d3575b7dd7e7479884df0d8331a640adca +RMD160 (lgogdownloader-2.28.tar.gz) = c65561e21fc0a99723796fe549f11734fdeac749 +SHA512 (lgogdownloader-2.28.tar.gz) = dccaa3517675fc0c4218151aac89576404185b2531496443cb7b7d6f6367ead53fb113f88dedc2656afad889f04614986159af1b1009ac7a90e4fa564884f8a4 +Size (lgogdownloader-2.28.tar.gz) = 51147 bytes SHA1 (patch-cmake_FindJsoncpp.cmake) = 0ab831e8d26625a748cf9c4ab270cd7a39a4472e -SHA1 (patch-src_util.cpp) = 223045f669002ba1d21bf1951527b043da7e5b77 diff --git a/games/lgogdownloader/patches/patch-src_util.cpp b/games/lgogdownloader/patches/patch-src_util.cpp deleted file mode 100644 index c8facc26b3d..00000000000 --- a/games/lgogdownloader/patches/patch-src_util.cpp +++ /dev/null @@ -1,18 +0,0 @@ -$NetBSD: patch-src_util.cpp,v 1.1 2016/05/05 22:06:39 joerg Exp $ - ---- src/util.cpp.orig 2016-05-04 12:02:30.617950547 +0000 -+++ src/util.cpp -@@ -388,11 +388,11 @@ int Util::getTerminalWidth() - void Util::getDownloaderUrlsFromJSON(const Json::Value &root, std::vector<std::string> &urls) - { - if(root.size() > 0) { -- for(Json::ValueIterator it = root.begin() ; it != root.end() ; ++it) -+ for(Json::ValueConstIterator it = root.begin() ; it != root.end() ; ++it) - { - if (it.key() == "downloaderUrl") - { -- Json::Value& url = *it; -+ const Json::Value& url = *it; - urls.push_back(url.asString()); - } - else |