pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/games/lgogdownloader Updated lgogdownloader to 3.1.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7282ec5ea76c
branches:  trunk
changeset: 357147:7282ec5ea76c
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sun Jan 15 09:29:08 2017 +0000

description:
Updated lgogdownloader to 3.1.

LGOGDownloader 3.1
- Make libcurl usage thread-safe (Patch by: Philipp Kerling)
* libcurl internally uses signals by default, which will crash the application when using multiple threads.
* Setting CURLOPT_NOSIGNAL on all handles avoids the crashes and is recommended in the libcurl documentation.
- Made getTerminalWidth detect if it is running in a terminal before trying to get the width (Patch by: Steffan Byrne)
* Before this change, if you tried to pipe the standard out to a file or run this as a process, it would fail.
- Moved global curl init/cleanup and ssl thread setup out of the Downloader class
* Allows using libcurl calls before calling Downloader::init() which can be useful in future
- Some code restructuring
* Moved some code from Downloader::init() to constructor
* Added function API::isLoggedIn()
* Added function Downloader::isLoggedIn()
* Downloader::init() no longer calls Downloader::getGameList() it is now called from other functions when needed
- Fixed some login issues
- Limit download thread count to number of items in download queue
- Rewrote and removed lots of duplicate code from Downloader::checkStatus()
* --status now tries to get remote file hash for patches and language packs
* GOG doesn't provide xml data for extras so we still have to rely on local xml data for those
- Made --list show number of updates for games that have been updated
* Allows user to check for updated games more easily
- Replaced all printf and sprintf calls using new Util::formattedString() function
* Util::formattedString creates formatted std::string using std::snprintf
* Fixes possible buffer overflow in Downloader::printProgress() caused by sprintf call

diffstat:

 games/lgogdownloader/Makefile |   5 ++---
 games/lgogdownloader/distinfo |  10 +++++-----
 2 files changed, 7 insertions(+), 8 deletions(-)

diffs (28 lines):

diff -r 364b9b3a8cf0 -r 7282ec5ea76c games/lgogdownloader/Makefile
--- a/games/lgogdownloader/Makefile     Sun Jan 15 02:21:34 2017 +0000
+++ b/games/lgogdownloader/Makefile     Sun Jan 15 09:29:08 2017 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.25 2017/01/01 16:06:16 adam Exp $
+# $NetBSD: Makefile,v 1.26 2017/01/15 09:29:08 wiz Exp $
 
-DISTNAME=      lgogdownloader-3.0
-PKGREVISION=   1
+DISTNAME=      lgogdownloader-3.1
 CATEGORIES=    games
 MASTER_SITES=  http://sites.google.com/site/gogdownloader/
 
diff -r 364b9b3a8cf0 -r 7282ec5ea76c games/lgogdownloader/distinfo
--- a/games/lgogdownloader/distinfo     Sun Jan 15 02:21:34 2017 +0000
+++ b/games/lgogdownloader/distinfo     Sun Jan 15 09:29:08 2017 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.21 2016/11/20 09:41:20 wiz Exp $
+$NetBSD: distinfo,v 1.22 2017/01/15 09:29:08 wiz Exp $
 
-SHA1 (lgogdownloader-3.0.tar.gz) = b10a011b1eee2a66f4b041efb964f626c863b85c
-RMD160 (lgogdownloader-3.0.tar.gz) = 8a8fb9eaca1f13fd344a9348710b492ca44e8ecd
-SHA512 (lgogdownloader-3.0.tar.gz) = e99960c7bec55c37b230890911585eb68f133988a76bc00715fc715781b2e41c28879dc92563f3a6564a699dd5abe5c350f10b2d7e1d213e744ef0f768abe434
-Size (lgogdownloader-3.0.tar.gz) = 60859 bytes
+SHA1 (lgogdownloader-3.1.tar.gz) = 2847b4bbda28301b7a640be8b73e1cfe4d32c36d
+RMD160 (lgogdownloader-3.1.tar.gz) = fab195c6db9d662b3e44e7905b6763d8c52ede75
+SHA512 (lgogdownloader-3.1.tar.gz) = e15f6d359298bee0922439703ca256ad9f5f07052a12b241fe03031663dce44bd61427dbe9739115d529736b261a51068c5b2c7669fe4a4b4c0553c2ed77a793
+Size (lgogdownloader-3.1.tar.gz) = 60834 bytes



Home | Main Index | Thread Index | Old Index