From 94bc6073ef117decbe2592b99370bea9ba637a08 Mon Sep 17 00:00:00 2001 From: Rodrigo Gimenez Date: Mon, 3 Apr 2017 19:20:39 +0700 Subject: network/Signal-Desktop: Updated for version 0.34.0. Signed-off-by: Willy Sudiarto Raharjo --- network/Signal-Desktop/Signal-Desktop.SlackBuild | 3 ++- network/Signal-Desktop/Signal-Desktop.info | 6 +++--- network/Signal-Desktop/expirejs.patch | 17 +++++++++++++++++ 3 files changed, 22 insertions(+), 4 deletions(-) create mode 100644 network/Signal-Desktop/expirejs.patch (limited to 'network') diff --git a/network/Signal-Desktop/Signal-Desktop.SlackBuild b/network/Signal-Desktop/Signal-Desktop.SlackBuild index b37c036d36ed..20344c0c877d 100644 --- a/network/Signal-Desktop/Signal-Desktop.SlackBuild +++ b/network/Signal-Desktop/Signal-Desktop.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=Signal-Desktop -VERSION=${VERSION:-0.33.0} +VERSION=${VERSION:-0.34.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -50,6 +50,7 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $TMP/$PRGNAM-$VERSION chown -R root:root . +patch -Np1 < $CWD/expirejs.patch npm install node_modules/grunt-cli/bin/grunt diff --git a/network/Signal-Desktop/Signal-Desktop.info b/network/Signal-Desktop/Signal-Desktop.info index 2c710b1115a2..bb41c9d8f3c5 100644 --- a/network/Signal-Desktop/Signal-Desktop.info +++ b/network/Signal-Desktop/Signal-Desktop.info @@ -1,8 +1,8 @@ PRGNAM="Signal-Desktop" -VERSION="0.33.0" +VERSION="0.34.0" HOMEPAGE="https://github.com/WhisperSystems/Signal-Desktop" -DOWNLOAD="https://github.com/WhisperSystems/Signal-Desktop/archive/v0.33.0/Signal-Desktop-0.33.0.tar.gz" -MD5SUM="316958270fe9c6f9ca19d4f627bb0d10" +DOWNLOAD="https://github.com/WhisperSystems/Signal-Desktop/archive/v0.34.0/Signal-Desktop-0.34.0.tar.gz" +MD5SUM="3efa518ae298f79d7d0048ba14156499" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="nodejs nwjs rubygem-sass" diff --git a/network/Signal-Desktop/expirejs.patch b/network/Signal-Desktop/expirejs.patch new file mode 100644 index 000000000000..0cbf1593e00c --- /dev/null +++ b/network/Signal-Desktop/expirejs.patch @@ -0,0 +1,17 @@ +diff -bur Signal-Desktop-0.34.0/Gruntfile.js Signal-Desktop-0.34.0-fix/Gruntfile.js +--- Signal-Desktop-0.34.0/Gruntfile.js 2017-03-30 19:12:25.000000000 -0300 ++++ Signal-Desktop-0.34.0-fix/Gruntfile.js 2017-04-01 08:58:49.662938344 -0300 +@@ -127,9 +127,10 @@ + /textsecure-service-staging.whispersystems.org/g, + 'textsecure-service-ca.whispersystems.org'); + } else if (srcpath.match('expire.js')) { +- var gitinfo = grunt.config.get('gitinfo'); +- var commited = gitinfo.local.branch.current.lastCommitTime; +- var time = Date.parse(commited) + 1000 * 60 * 60 * 24 * 90; ++ //var gitinfo = grunt.config.get('gitinfo'); ++ //var commited = gitinfo.local.branch.current.lastCommitTime; ++ //var time = Date.parse(commited) + 1000 * 60 * 60 * 24 * 90; ++ var time = NaN; + return content.replace( + /var BUILD_EXPIRATION = 0/, + "var BUILD_EXPIRATION = " + time -- cgit v1.2.3