Package Details: lgogdownloader 2.27-4

Git Clone URL: https://aur.archlinux.org/lgogdownloader.git (read-only)
Package Base: lgogdownloader
Description: An open source downloader for GOG.com games, uses the GOG.com API
Upstream URL: https://sites.google.com/site/gogdownloader/
Keywords: api downloader games gaming gog gog.com
Licenses: WTFPL
Submitter: tea
Maintainer: tea
Last Packager: tea
Votes: 25
Popularity: 1.541906
First Submitted: 2012-08-01 22:40
Last Updated: 2016-03-26 17:51

Latest Comments

chungy commented on 2016-03-26 05:14

You may want to include that commit as a patch in this package, at least until v2.28 is out.

tea commented on 2016-03-25 21:16

Upstream worked quick - commit 519cb78 fixes this. Use lgogdownloader-git for now.

tea commented on 2016-03-25 21:09

I was able to build and run with jsoncpp 1.6.5 but not 1.7.1, which is the latest in the repos.

Pending an upstream update I've updated the PKGBUILD to require 1.6.5 or lower.

tea commented on 2016-03-25 20:27

jsoncpp updated recently, I'm gonna guess it broke compatibility.

hollunder commented on 2016-03-25 20:02

Fails to work:
terminate called after throwing an instance of 'Json::RuntimeError'
what(): ConstIterator to Iterator should never be allowed.
lgogdownloader.sh: line 1: 2035 Aborted (core dumped) lgogdownloader --save-serials --platform l+w --download

(returns 134)

Also fails to build:
[ 50%] Building CXX object CMakeFiles/lgogdownloader.dir/src/util.cpp.o
/home/murks/cower/lgogdownloader/src/lgogdownloader-2.27/src/util.cpp: In function ‘void Util::getDownloaderUrlsFromJSON(const Json::Value&, std::vector<std::__cxx11::basic_string<char> >&)’:
/home/murks/cower/lgogdownloader/src/lgogdownloader-2.27/src/util.cpp:391:48: error: conversion from ‘Json::Value::const_iterator {aka Json::ValueConstIterator}’ to non-scalar type ‘Json::ValueIterator’ requested
for(Json::ValueIterator it = root.begin() ; it != root.end() ; ++it)
^
CMakeFiles/lgogdownloader.dir/build.make:158: recipe for target 'CMakeFiles/lgogdownloader.dir/src/util.cpp.o' failed
make[2]: *** [CMakeFiles/lgogdownloader.dir/src/util.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/lgogdownloader.dir/all' failed
make[1]: *** [CMakeFiles/lgogdownloader.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2

Must be some recent change.

bwrsandman commented on 2016-01-03 21:55

You may want to bump up the pkgrel to force recompilation against boost 1.59.0.
Otherwise, the following error happens and there is no indication of needing to rebuild lgogdownloader:

lgogdownloader: error while loading shared libraries: libboost_system.so.1.59.0: cannot open shared object file: No such file or directory

neven commented on 2015-07-25 00:43

boost should probably be in makedepends, boost-libs in depends.

carstene1ns commented on 2015-02-20 04:25

In addition to the previous comment: You can also use the commit as patch directly (just add '.patch' to it's url).
Example, untested:

source=(...
jsonpp-include.patch::https://github.com/Sude-/lgogdownloader/commit/f039db5c6572c4fb70d228d511c4d76c1deb517c.patch)

prepare() {
cd $srcdir/$pkgname-$pkgver
patch -Np1 ../jsonpp-include.patch
}

eduardbaer commented on 2015-02-19 21:16

This PKGBUILD works, it basically applies this commit:
https://github.com/Sude-/lgogdownloader/commit/f039db5c6572c4fb70d228d511c4d76c1deb517c



# Maintainer: Joe Davison <joe@warhaggis.com>

pkgname=lgogdownloader
pkgver=2.20
pkgrel=2
pkgdesc="An open source downloader for GOG.com games, uses the GOG.com API"
url="https://sites.google.com/site/gogdownloader/"
arch=(i686 x86_64)
license=(WTFPL)
depends=('boost' 'jsoncpp' 'liboauth' 'rhash' 'tinyxml' 'htmlcxx' 'curl')
makedepends=('help2man')
source=(http://sites.google.com/site/gogdownloader/$pkgname-$pkgver.tar.gz)
sha256sums=('3219d5fc2582b1e3b52226eb37867ed6d5f38106f3037107a75a59545f7c95ce')

build() {
cd $srcdir/$pkgname-$pkgver

sed -i 's+^\(INC .*$\)+\1 -I/usr/include/jsoncpp+' Makefile
sed -i 's+jsoncpp/\(json/json.h\)+\1+' */*.h
sed -i 's+jsoncpp/\(json/json.h\)+\1+' */*.cpp

# Set to debug for more output
make release

}

package() {
cd $srcdir/$pkgname-$pkgver

make PREFIX=$pkgdir/usr install

# install -D -m 755 $srcdir/$pkgname-$pkgver/man/$pkgname.1.gz \
# $pkgdir/usr/share/man/man1/$pkgname.1.gz
}

MindLikeWater commented on 2015-02-10 10:21

I have the same compiling problem as InspMustache. Any fix in sight?

All comments