diff options
author | Rodrigo Gimenez <estrod[at]zoho[dot]com> | 2017-04-03 19:20:39 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-04-06 21:02:58 +0700 |
commit | 94bc6073ef117decbe2592b99370bea9ba637a08 (patch) | |
tree | 0f01fd2a821a8f7de1937e7e0104d63ee838e96f /network/Signal-Desktop | |
parent | 219ce90f0cfc06c68c011026485a39efbbb8d893 (diff) |
network/Signal-Desktop: Updated for version 0.34.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/Signal-Desktop')
-rw-r--r-- | network/Signal-Desktop/Signal-Desktop.SlackBuild | 3 | ||||
-rw-r--r-- | network/Signal-Desktop/Signal-Desktop.info | 6 | ||||
-rw-r--r-- | network/Signal-Desktop/expirejs.patch | 17 |
3 files changed, 22 insertions, 4 deletions
diff --git a/network/Signal-Desktop/Signal-Desktop.SlackBuild b/network/Signal-Desktop/Signal-Desktop.SlackBuild index b37c036d36edc..20344c0c877d3 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 2c710b1115a2b..bb41c9d8f3c5d 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 0000000000000..0cbf1593e00c7 --- /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 |