diff -Nru runescape-0.4/CHANGELOG runescape-0.5/CHANGELOG --- runescape-0.4/CHANGELOG 2018-08-12 07:15:24.000000000 +0000 +++ runescape-0.5/CHANGELOG 2019-02-12 21:49:11.000000000 +0000 @@ -1,3 +1,16 @@ +version: 0.5 + * Replaced by official game name and icon + * Updated copyright years + * Improvements to the executable script: + - Replaced the link to download the .jar file directly + - Speed limit flag removed in wget option + - Zenity script command removed + - Removed the p7zip-full package for extracting the .dmg file + - Added warn flag to fix java related errors + * Fixed command to run the game + * Dropping java runtime information + * Update in release version + version: 0.4 * Created the game manpage * Changed script execution functions diff -Nru runescape-0.4/debian/changelog runescape-0.5/debian/changelog --- runescape-0.4/debian/changelog 2018-09-07 20:27:16.000000000 +0000 +++ runescape-0.5/debian/changelog 2019-02-12 22:03:52.000000000 +0000 @@ -1,3 +1,16 @@ +runescape (0.5-1) unstable; urgency=medium + + * New upstream release (Closes: #922083, #922084, #922087) + * Switch to compat level 12 + * debian/control: + + Declare compliance with Debian Policy 4.3.0 + - Removed 'p7zip-full' and 'zenity' in Depends + + Added 'wget' in Depends + * Updated name and copyright years in d/upstream/metadata + * Updated d/watch file + + -- Carlos Donizete Froes Tue, 12 Feb 2019 20:03:52 -0200 + runescape (0.4-1) unstable; urgency=medium * New upstream release diff -Nru runescape-0.4/debian/compat runescape-0.5/debian/compat --- runescape-0.4/debian/compat 2018-09-07 20:27:16.000000000 +0000 +++ runescape-0.5/debian/compat 2019-02-12 22:03:52.000000000 +0000 @@ -1 +1 @@ -11 +12 diff -Nru runescape-0.4/debian/control runescape-0.5/debian/control --- runescape-0.4/debian/control 2018-09-07 20:27:16.000000000 +0000 +++ runescape-0.5/debian/control 2019-02-12 22:03:52.000000000 +0000 @@ -3,15 +3,15 @@ Priority: optional Maintainer: Debian Games Team Uploaders: Carlos Donizete Froes -Build-Depends: debhelper (>=11) -Standards-Version: 4.2.1 +Build-Depends: debhelper (>=12) +Standards-Version: 4.3.0 Homepage: https://oldschool.runescape.com Vcs-Git: https://salsa.debian.org/games-team/runescape.git Vcs-Browser: https://salsa.debian.org/games-team/runescape Package: runescape Architecture: all -Depends: default-jre, p7zip-full, zenity, ${misc:Depends} +Depends: default-jre, wget, ${misc:Depends} Description: Multiplayer online game set in a fantasy world Explore in an open and mysterious world with ravaged landscapes and sinister powers. diff -Nru runescape-0.4/debian/copyright runescape-0.5/debian/copyright --- runescape-0.4/debian/copyright 2018-09-07 20:27:16.000000000 +0000 +++ runescape-0.5/debian/copyright 2019-02-12 22:03:52.000000000 +0000 @@ -7,12 +7,12 @@ of Debian users. Files: * -Copyright: 1999-2018 Jagex Games Ltd. - 2016-2018 Carlos Donizete Froes +Copyright: 1999-2019 Jagex Games Ltd. + 2016-2019 Carlos Donizete Froes License: BSD-2-Clause Files: debian/* -Copyright: 2016-2018 Carlos Donizete Froes +Copyright: 2016-2019 Carlos Donizete Froes License: BSD-2-Clause License: BSD-2-Clause diff -Nru runescape-0.4/debian/upstream/metadata runescape-0.5/debian/upstream/metadata --- runescape-0.4/debian/upstream/metadata 2018-09-07 20:27:16.000000000 +0000 +++ runescape-0.5/debian/upstream/metadata 2019-02-12 22:03:52.000000000 +0000 @@ -1,9 +1,9 @@ -Name: Runescape +Name: Old School RuneScape Homepage: https://oldschool.runescape.com Repository: https://gitlab.com/coringao/runescape.git Repository-Browse: https://gitlab.com/coringao/runescape Bug-Submit: https://gitlab.com/coringao/runescape/issues Title: 'Runescape - Multiplayer online game set in a fantasy world' Author: - - Copyright (c) 1999-2018 Jagex Games Ltd. - - Copyright (c) 2016-2018 Carlos Donizete Froes [a.k.a coringao] + - Copyright (c) 1999-2019 Jagex Games Ltd. + - Copyright (c) 2016-2019 Carlos Donizete Froes [a.k.a coringao] diff -Nru runescape-0.4/debian/watch runescape-0.5/debian/watch --- runescape-0.4/debian/watch 2018-09-07 20:27:16.000000000 +0000 +++ runescape-0.5/debian/watch 2019-02-12 22:03:52.000000000 +0000 @@ -1,4 +1,4 @@ version=4 opts=pgpsigurlmangle=s/$/.asc/ \ https://gitlab.com/coringao/runescape/tags \ - .*/runescape-(\d\S+)\.(?:tar\.(?:gz)) + .*/runescape-(\d\S+)\.(?:tar\.(?:gz|bz2)) diff -Nru runescape-0.4/LICENSE runescape-0.5/LICENSE --- runescape-0.4/LICENSE 2018-08-12 07:15:24.000000000 +0000 +++ runescape-0.5/LICENSE 2019-02-12 21:49:11.000000000 +0000 @@ -1,4 +1,4 @@ -Copyright (c) 2016-2018, Carlos Donizete Froes +Copyright (c) 2016-2019, Carlos Donizete Froes All rights reserved. Redistribution and use in source and binary forms, with or without diff -Nru runescape-0.4/Makefile runescape-0.5/Makefile --- runescape-0.4/Makefile 2018-08-12 07:15:24.000000000 +0000 +++ runescape-0.5/Makefile 2019-02-12 21:49:11.000000000 +0000 @@ -1,5 +1,5 @@ PACKAGE = Old School Runescape -VERSION = 0.4 +VERSION = 0.5 EXE = runescape SRCDIR = src diff -Nru runescape-0.4/README.md runescape-0.5/README.md --- runescape-0.4/README.md 2018-08-12 07:15:24.000000000 +0000 +++ runescape-0.5/README.md 2019-02-12 21:49:11.000000000 +0000 @@ -16,14 +16,13 @@ **Dependencies** ---------------- -To use the script, you will need to have the following dependencies installed: - -- **7zip**, **OpenJDK**, **Zenity** +To use the script, you will need to have the following +dependencies installed: **OpenJDK** and **Wget** **Installation dependency: Debian/Ubuntu** ------------------------------------------ - # apt install default-jre make p7zip-full zenity + # apt install default-jre make wget When all these dependencies have installed, simply run the script. @@ -48,5 +47,5 @@ > under this license. Source code and contact info at > https://gitlab.com/coringao/runescape -* Copyright (c) 1999-2018 Jagex Games Ltd. -* Copyright (c) 2016-2018 Carlos Donizete Froes [a.k.a coringao] +* Copyright (c) 1999-2019 Jagex Games Ltd. +* Copyright (c) 2016-2019 Carlos Donizete Froes [a.k.a coringao] diff -Nru runescape-0.4/src/runescape.6 runescape-0.5/src/runescape.6 --- runescape-0.4/src/runescape.6 2018-08-12 07:15:24.000000000 +0000 +++ runescape-0.5/src/runescape.6 2019-02-12 21:49:11.000000000 +0000 @@ -1,6 +1,6 @@ .\" BSD 2-Clause License .\" -.\" Copyright (c) 2016-2018, Carlos Donizete Froes +.\" Copyright (c) 2016-2019, Carlos Donizete Froes .\" All rights reserved. .\" .\" Redistribution and use in source and binary forms, with or without @@ -24,7 +24,7 @@ .\" WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR .\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF .\" ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -.TH runescape "6" "August 2018" "RUNESCAPE" +.TH runescape "6" "February 2019" "RUNESCAPE" .SH NAME runescape \- is a massively multiplayer online role-playing game. Start your adventure, complete quests and win enormous treasures in a 3D world of magic diff -Nru runescape-0.4/src/runescape.desktop runescape-0.5/src/runescape.desktop --- runescape-0.4/src/runescape.desktop 2018-08-12 07:15:24.000000000 +0000 +++ runescape-0.5/src/runescape.desktop 2019-02-12 21:49:11.000000000 +0000 @@ -1,5 +1,5 @@ [Desktop Entry] -Name=Runescape +Name=Old School RuneScape Comment=Multiplayer online game set in a fantasy world Exec=runescape Keywords=game;adventure;MMORPG;multiplayer;online; Binary files /tmp/tmpl8aeS4/U2F4Axvq4R/runescape-0.4/src/runescape.png and /tmp/tmpl8aeS4/A75yOKEpYP/runescape-0.5/src/runescape.png differ diff -Nru runescape-0.4/src/runescape.sh runescape-0.5/src/runescape.sh --- runescape-0.4/src/runescape.sh 2018-08-12 07:15:24.000000000 +0000 +++ runescape-0.5/src/runescape.sh 2019-02-12 21:49:11.000000000 +0000 @@ -1,16 +1,16 @@ #!/bin/bash # -# Copyright (c) 2016-2018, Carlos Donizete Froes +# Copyright (c) 2016-2019, Carlos Donizete Froes # Use of this script is governed by a BSD 2-clause license # that can be found in the LICENSE file. # Source code and contact info at https://gitlab.com/coringao/runescape # # Script Name: runescape.sh -# Update Date: August/2018 -# Edited version: '0.4' +# Update Date: February/2019 +# Edited version: '0.5' # -# Download Mac Client - Old School Runescape -LINK="https://runescape.com/downloads/oldschool.dmg" +# Download Client - Old School Runescape +LINK="https://oldschool.runescape.com/downloads/jagexappletviewer.jar" # Hidden directory Runescape GAME="$HOME/.local/share/runescape" @@ -23,24 +23,18 @@ mkdir -p $GAME cd $TEMP -# Progress bar: Downloading the file in the temporary directory - LANG=C wget $LINK --progress=bar:force:noscroll --limit-rate 200k 2>&1 \ - | stdbuf -i0 -o0 -e0 tr '>' '\n' \ - | stdbuf -i0 -o0 -e0 sed -rn 's/^.*\<([0-9]+)%\[.*$/\1/p' \ - | zenity --progress --auto-close --auto-kill 2>/dev/null - -# Uncompressing the file in the temporary directory - 7z e oldschool.dmg > /dev/null +# Downloading the file in the temporary directory + LANG=C wget $LINK 2>/dev/null mv jagexappletviewer.jar $GAME fi # Running the game - java --add-opens java.base/java.lang=ALL-UNNAMED -Xmx512m -Xms512m \ - -Djava.class.path="$GAME/jagexappletviewer.jar" \ + java --add-opens java.base/java.lang=ALL-UNNAMED -Xmx512m -Xms512m \ + -Djava.class.path="$GAME/jagexappletviewer.jar" \ -Dcom.jagex.config=http://oldschool.runescape.com/jav_config.ws \ - jagexappletviewer "$GAME" 2>/dev/null + jagexappletviewer "$GAME" > /dev/null 2>&1 # Removing temporary directory - rm -rf $TEMP + rm -rf $TEMP exit 0