From 7d757cddd395961dd372b60cd40db7661bcebca2 Mon Sep 17 00:00:00 2001 From: Peter Michael Green Date: Sun, 21 Jul 2019 16:53:07 +0100 Subject: [PATCH] Import lgogdownloader_3.5-2+rpi1.debian.tar.xz [dgit import tarball lgogdownloader 3.5-2+rpi1 lgogdownloader_3.5-2+rpi1.debian.tar.xz] --- changelog | 197 +++++++++++++++++++++++++++++++++++ control | 43 ++++++++ copyright | 36 +++++++ gbp.conf | 4 + patches/add-libatomic.patch | 17 +++ patches/manpage-whatis.patch | 14 +++ patches/reproducible.patch | 57 ++++++++++ patches/series | 3 + rules | 20 ++++ source/format | 2 + watch | 4 + 11 files changed, 397 insertions(+) create mode 100644 changelog create mode 100644 control create mode 100644 copyright create mode 100644 gbp.conf create mode 100644 patches/add-libatomic.patch create mode 100644 patches/manpage-whatis.patch create mode 100644 patches/reproducible.patch create mode 100644 patches/series create mode 100755 rules create mode 100644 source/format create mode 100644 watch diff --git a/changelog b/changelog new file mode 100644 index 0000000..3ad7651 --- /dev/null +++ b/changelog @@ -0,0 +1,197 @@ +lgogdownloader (3.5-2+rpi1) bullseye-staging; urgency=medium + + * Remove armhf from qtwebengine dependency. + + -- Peter Michael Green Sun, 21 Jul 2019 15:53:07 +0000 + +lgogdownloader (3.5-2) unstable; urgency=medium + + * Only build with Qt on architectures with Qt5WebEngineWidgets. + * Link with libatomic; this should fix the build on architectures such + as mipsel which need explicit -latomic. + + -- Stephen Kitt Tue, 16 Jul 2019 13:56:08 +0200 + +lgogdownloader (3.5-1) unstable; urgency=medium + + * New upstream release, with a graphical login interface. + * Switch to debhelper compatibility level 12. + * Standards-Version 4.4.0, no change required. + * Only link libraries which are directly required. + + -- Stephen Kitt Mon, 15 Jul 2019 21:24:05 +0200 + +lgogdownloader (3.4-2) unstable; urgency=medium + + * Ensure the build is reproducible: avoid storing git information, and + the build architecture. + * Refresh manpage-whatis.patch. + + -- Stephen Kitt Tue, 18 Dec 2018 09:20:55 +0100 + +lgogdownloader (3.4-1) unstable; urgency=medium + + * New upstream release. + * Standards-Version 4.2.1, no change required. + + -- Stephen Kitt Tue, 18 Sep 2018 13:18:32 +0200 + +lgogdownloader (3.3-2) unstable; urgency=medium + + * Migrate to Salsa. + * Standards-Version 4.1.4, no further change required. + * Switch to debhelper compatibility level 11. + + -- Stephen Kitt Sun, 06 May 2018 14:22:19 +0200 + +lgogdownloader (3.3-1) unstable; urgency=medium + + * New upstream release. + * Clean up whitespace in debian/rules. + * Update debian/copyright. + * Standards-Version 4.1.1, no further change required. + * Enable building without fakeroot. + + -- Stephen Kitt Tue, 07 Nov 2017 23:05:20 +0100 + +lgogdownloader (3.2-1) unstable; urgency=medium + + * New upstream release. + * Update watch file. + + -- Stephen Kitt Mon, 19 Jun 2017 08:56:54 +0200 + +lgogdownloader (3.1-2) unstable; urgency=medium + + [ Simon McVittie ] + * Team upload + * Backport patch from 3.2 fixing the ability to list games if a game + has {'updates': null} (Closes: #857691) + + -- Stephen Kitt Wed, 05 Apr 2017 19:27:13 +0200 + +lgogdownloader (3.1-1) unstable; urgency=medium + + * New upstream release. + + -- Stephen Kitt Mon, 16 Jan 2017 19:35:28 +0100 + +lgogdownloader (3.0-1) unstable; urgency=medium + + * New upstream release. + * Now that libjsoncpp-dev is fixed, drop the explicit dependency on + libjsoncpp1. + * Switch to debhelper compatibility level 10. + * Clarify the description regarding DFSG-free games on GOG.com. + + -- Stephen Kitt Thu, 24 Nov 2016 22:06:40 +0100 + +lgogdownloader (2.28-1) unstable; urgency=medium + + * New upstream release, merging jsoncpp-1.7.1.patch. + * Standards-Version 3.9.8, no change required. + + -- Stephen Kitt Mon, 09 May 2016 23:35:51 +0200 + +lgogdownloader (2.27-2) unstable; urgency=medium + + * Apply upstream patch to build with libjsoncpp 1.7.1 and later. Closes: + #820064, #820315. + + -- Stephen Kitt Fri, 08 Apr 2016 13:46:48 +0200 + +lgogdownloader (2.27-1) unstable; urgency=medium + + * New upstream release, with a new cmake-based build obsoleting all the + existing patches apart from manpage-whatis.patch. + + -- Stephen Kitt Fri, 18 Mar 2016 12:56:19 +0100 + +lgogdownloader (2.26-2) unstable; urgency=medium + + * Switch to https: VCS URIs (see #810378). + * Apply upstream's fix for crashes after login (thanks to Phil Morrell + for pointing it out!). + * Standards-Version 3.9.7, no change required. + * Enable full hardening. + + -- Stephen Kitt Wed, 24 Feb 2016 20:23:37 +0100 + +lgogdownloader (2.26-1) unstable; urgency=medium + + * New upstream release. + * Drop unattended-login.patch, merged upstream. + + -- Stephen Kitt Wed, 14 Oct 2015 18:25:27 +0200 + +lgogdownloader (2.25-2) unstable; urgency=medium + + * Handle unattended login attempts. Closes: #798740. + + -- Stephen Kitt Sun, 13 Sep 2015 19:41:13 +0200 + +lgogdownloader (2.25-1) unstable; urgency=medium + + * New upstream release. + + -- Stephen Kitt Mon, 07 Sep 2015 22:40:29 +0200 + +lgogdownloader (2.24-1) unstable; urgency=medium + + * New upstream release. + * Refresh manpage-whatis.patch. + + -- Stephen Kitt Tue, 14 Jul 2015 14:02:39 +0200 + +lgogdownloader (2.23-1) unstable; urgency=medium + + * New upstream release. + * Refresh patch. + + -- Stephen Kitt Wed, 20 May 2015 07:18:47 +0200 + +lgogdownloader (2.21-2) unstable; urgency=medium + + * Upload to unstable. + + -- Stephen Kitt Sun, 10 May 2015 21:45:26 +0200 + +lgogdownloader (2.21-1) experimental; urgency=medium + * New upstream release. + + -- Stephen Kitt Fri, 10 Apr 2015 21:24:56 +0200 + +lgogdownloader (2.20-1) experimental; urgency=medium + + * New upstream release, uploaded to experimental for the Jessie freeze. + + -- Stephen Kitt Thu, 11 Dec 2014 00:16:28 +0100 + +lgogdownloader (2.19-1) unstable; urgency=medium + + * New upstream release. + * Standards-Version 3.9.6, no change required. + + -- Stephen Kitt Tue, 21 Oct 2014 20:31:24 +0200 + +lgogdownloader (2.18-1) unstable; urgency=medium + + * New upstream release. + * Refresh patches, and drop help-without-home.patch (merged upstream). + * Add pointers to the git repository on Alioth. + * Make sure CPPFLAGS are taken into account. + + -- Stephen Kitt Tue, 23 Sep 2014 17:18:17 +0200 + +lgogdownloader (2.17-2) unstable; urgency=medium + + * Avoid touching $HOME if --help or --version are specified on the + command-line. Closes: #761217. + + -- Stephen Kitt Thu, 11 Sep 2014 23:17:00 +0200 + +lgogdownloader (2.17-1) unstable; urgency=low + + * Initial release. Closes: #761130. + + -- Stephen Kitt Wed, 10 Sep 2014 23:26:18 +0200 diff --git a/control b/control new file mode 100644 index 0000000..d85260f --- /dev/null +++ b/control @@ -0,0 +1,43 @@ +Source: lgogdownloader +Maintainer: Debian Games Team +Uploaders: Stephen Kitt +Section: web +Priority: optional +Build-Depends: cmake, + debhelper-compat (= 12), + help2man, + libboost-date-time-dev, + libboost-filesystem-dev, + libboost-iostreams-dev, + libboost-program-options-dev, + libboost-regex-dev, + libboost-system-dev, + libhtmlcxx-dev, + libjsoncpp-dev (>= 1.7.1), + liboauth-dev, + librhash-dev, + libssl-dev, + libtinyxml2-dev, + pkg-config, + qtwebengine5-dev [amd64 arm64 i386 mipsel], + zlib1g-dev +Standards-Version: 4.4.0 +Rules-Requires-Root: no +Vcs-Browser: https://salsa.debian.org/games-team/lgogdownloader +Vcs-Git: https://salsa.debian.org/games-team/lgogdownloader.git +Homepage: https://sites.google.com/site/gogdownloader/ + +Package: lgogdownloader +Architecture: any +Multi-Arch: foreign +Depends: ${misc:Depends}, + ${shlibs:Depends} +Description: downloader for GOG.com files + lgogdownloader is a client for the GOG.com download API, allowing + simple downloads and updates of games and other files from GOG.com. + . + This package is only useful if you own games on GOG.com. There are a + few free-as-in-beer games available for Linux, but the DFSG-free + games available on GOG.com are not provided for Linux and are + available in Debian anyway (lure-of-the-temptress, + beneath-a-steel-sky, flight-of-the-amazon-queen). diff --git a/copyright b/copyright new file mode 100644 index 0000000..aacbbf4 --- /dev/null +++ b/copyright @@ -0,0 +1,36 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: lgogdownloader +Source: https://sites.google.com/site/gogdownloader/ + +Files: * +Copyright: none declared +License: WTFPL-2 + +Files: debian/* +Copyright: 2014-2018 Stephen Kitt +License: WTFPL-2 + +License: WTFPL-2 + This program is free software. It comes without any warranty, to the + extent permitted by applicable law. You can redistribute it and/or + modify it under the terms of the Do What The Fuck You Want To Public + License, Version 2, as published by Sam Hocevar. See + http://www.wtfpl.net/ for more details. + . + The full text of the license is provided in the COPYING file and + reproduced here: + . + DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE + Version 2, December 2004 + . + Copyright (C) 2004 Sam Hocevar + . + Everyone is permitted to copy and distribute verbatim or modified + copies of this license document, and changing it is allowed as long + as the name is changed. + . + DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + . + 0. You just DO WHAT THE FUCK YOU WANT TO. + . diff --git a/gbp.conf b/gbp.conf new file mode 100644 index 0000000..7e38616 --- /dev/null +++ b/gbp.conf @@ -0,0 +1,4 @@ +# Configuration file for git-buildpackage and friends + +[DEFAULT] +pristine-tar = True diff --git a/patches/add-libatomic.patch b/patches/add-libatomic.patch new file mode 100644 index 0000000..73926b7 --- /dev/null +++ b/patches/add-libatomic.patch @@ -0,0 +1,17 @@ +Description: Link with libatomic explicitly +Author: Stephen Kitt + +Some architectures (mipsel...) don't include libatomic by default, and +the build fails there. Since we're linking with --as-needed, we can +safely add -latomic everywhere. + +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -100,6 +100,7 @@ + PRIVATE ${Rhash_LIBRARIES} + PRIVATE ${CMAKE_THREAD_LIBS_INIT} + PRIVATE ${ZLIB_LIBRARIES} ++ PRIVATE -latomic + ) + + if(LINK_LIBCRYPTO EQUAL 1) diff --git a/patches/manpage-whatis.patch b/patches/manpage-whatis.patch new file mode 100644 index 0000000..b6e1fdf --- /dev/null +++ b/patches/manpage-whatis.patch @@ -0,0 +1,14 @@ +Description: Provide meaningful whatis entry +Author: Stephen Kitt + +--- a/man/CMakeLists.txt ++++ b/man/CMakeLists.txt +@@ -11,7 +11,7 @@ + set(MAN_FILE "${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}.1.gz") + add_custom_command( + OUTPUT ${MAN_FILE} +- COMMAND ${HELP2MAN} -N -i ${H2M_FILE} -o ${MAN_PAGE} "\"${PROJECT_BINARY_DIR}/${PROJECT_NAME}${CMAKE_EXECUTABLE_SUFFIX}\"" ++ COMMAND ${HELP2MAN} -N -i ${H2M_FILE} -n "downloader for GOG.com games and other files" -o ${MAN_PAGE} "\"${PROJECT_BINARY_DIR}/${PROJECT_NAME}${CMAKE_EXECUTABLE_SUFFIX}\"" + COMMAND ${GZIP} -f -9 ${MAN_PAGE} + MAIN_DEPENDENCY ${H2M_FILE} + COMMENT "Building man page" diff --git a/patches/reproducible.patch b/patches/reproducible.patch new file mode 100644 index 0000000..6adac3b --- /dev/null +++ b/patches/reproducible.patch @@ -0,0 +1,57 @@ +Description: Avoid storing non-reproducible information +Author: Stephen Kitt + +This drops git information as well as the build architecture (from the +user agent). The former varies depending on the availability of git +tools, the latter varies depending on the build host. + +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -69,46 +69,9 @@ + endif(USE_QT_GUI) + + +-set(GIT_CHECKOUT FALSE) +-if(EXISTS ${PROJECT_SOURCE_DIR}/.git) +- if(NOT EXISTS ${PROJECT_SOURCE_DIR}/.git/shallow) +- find_package(Git) +- if(GIT_FOUND) +- set(GIT_CHECKOUT TRUE) +- else(GIT_FOUND) +- message(WARNING "Git executable not found") +- endif(GIT_FOUND) +- else(NOT EXISTS ${PROJECT_SOURCE_DIR}/.git/shallow) +- message(STATUS "Shallow Git clone detected, not attempting to retrieve version info") +- endif(NOT EXISTS ${PROJECT_SOURCE_DIR}/.git/shallow) +-endif(EXISTS ${PROJECT_SOURCE_DIR}/.git) +- +-if(GIT_CHECKOUT) +- execute_process(COMMAND ${GIT_EXECUTABLE} diff --shortstat +- WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} +- OUTPUT_VARIABLE GIT_SHORTSTAT +- OUTPUT_STRIP_TRAILING_WHITESPACE +- ) +- execute_process(COMMAND ${GIT_EXECUTABLE} rev-parse --short HEAD +- WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} +- OUTPUT_VARIABLE GIT_REV_PARSE +- OUTPUT_STRIP_TRAILING_WHITESPACE +- ) +- if(GIT_SHORTSTAT) +- set(GIT_DIRTY ON) +- endif(GIT_SHORTSTAT) +- +- if(GIT_DIRTY) +- set(PROJECT_VERSION_MINOR ${PROJECT_VERSION_MINOR}M) +- endif(GIT_DIRTY) +- +- set(PROJECT_VERSION_PATCH ${GIT_REV_PARSE}) +- set(PROJECT_VERSION ${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}.${PROJECT_VERSION_PATCH}) +-endif(GIT_CHECKOUT) +- + set(VERSION_NUMBER ${PROJECT_VERSION}) + set(VERSION_STRING "LGOGDownloader ${VERSION_NUMBER}") +-set(DEFAULT_USER_AGENT "LGOGDownloader/${VERSION_NUMBER} (${CMAKE_SYSTEM_NAME} ${CMAKE_SYSTEM_PROCESSOR})") ++set(DEFAULT_USER_AGENT "LGOGDownloader/${VERSION_NUMBER}") + + add_definitions(-D_FILE_OFFSET_BITS=64 -DVERSION_NUMBER="${VERSION_NUMBER}" -DVERSION_STRING="${VERSION_STRING}" -DDEFAULT_USER_AGENT="${DEFAULT_USER_AGENT}") + diff --git a/patches/series b/patches/series new file mode 100644 index 0000000..9bf401c --- /dev/null +++ b/patches/series @@ -0,0 +1,3 @@ +manpage-whatis.patch +reproducible.patch +add-libatomic.patch diff --git a/rules b/rules new file mode 100755 index 0000000..65f67f4 --- /dev/null +++ b/rules @@ -0,0 +1,20 @@ +#!/usr/bin/make -f +#DH_VERBOSE = 1 + +export DEB_BUILD_MAINT_OPTIONS = hardening=+all +export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed + +include /usr/share/dpkg/architecture.mk + +%: + dh $@ + +QT5WEWCFG = /usr/lib/$(DEB_HOST_MULTIARCH)/cmake/Qt5WebEngineWidgets/Qt5WebEngineWidgetsConfig.cmake + +override_dh_auto_configure: +# Only build with Qt on architectures with Qt5WebEngineWidgets +ifeq ($(QT5WEWCFG), $(wildcard $(QT5WEWCFG))) + dh_auto_configure -- -DUSE_QT_GUI=ON +else + dh_auto_configure +endif diff --git a/source/format b/source/format new file mode 100644 index 0000000..c3d9f24 --- /dev/null +++ b/source/format @@ -0,0 +1,2 @@ +3.0 (quilt) + diff --git a/watch b/watch new file mode 100644 index 0000000..fa8d70e --- /dev/null +++ b/watch @@ -0,0 +1,4 @@ +version=4 +opts="filenamemangle=s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%lgogdownloader-$1.tar.gz%" \ + https://github.com/Sude-/lgogdownloader/tags \ + (?:.*?/)?v?(\d[\d.]*)\.tar\.gz debian uupdate -- 2.30.2