From c6b2ab45ee1c699209bb006443c876545e201fe4 Mon Sep 17 00:00:00 2001 From: Andrew Clemons Date: Thu, 22 Apr 2021 22:06:11 +1200 Subject: development/eclipse-php: Updated for version 4.19. 15.0 now has a newer GTK3, so we can upgrade. Signed-off-by: Andrew Clemons --- development/eclipse-php/README | 6 +++--- development/eclipse-php/doinst.sh | 5 +---- development/eclipse-php/eclipse-php.SlackBuild | 4 ++-- development/eclipse-php/eclipse-php.info | 8 ++++---- 4 files changed, 10 insertions(+), 13 deletions(-) diff --git a/development/eclipse-php/README b/development/eclipse-php/README index 4e15e24c155cd..449e64db4aebd 100644 --- a/development/eclipse-php/README +++ b/development/eclipse-php/README @@ -12,11 +12,11 @@ This package includes: ********** UPGRADING: ********** -if you find an error during Eclipse initialization, check -these two files: +if you find an error during Eclipse initialisation, check +this two files: /opt/eclipse-php/configuration/config.ini /opt/eclipse-php/eclipse.ini -If you haven't done modifications in those files, overwrite +If you haven't made modifications to those files, overwrite them with config.ini.new and eclipse.ini.new. diff --git a/development/eclipse-php/doinst.sh b/development/eclipse-php/doinst.sh index 95382d88a1fc0..e6a482879a0ce 100644 --- a/development/eclipse-php/doinst.sh +++ b/development/eclipse-php/doinst.sh @@ -1,14 +1,11 @@ config() { NEW="$1" OLD="$(dirname $NEW)/$(basename $NEW .new)" - # If there's no config file by that name, mv it over: if [ ! -r $OLD ]; then mv $NEW $OLD - elif [ "$(cat $OLD|md5sum)" = "$(cat $NEW|md5sum)" ]; then - # toss the redundant copy + elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then rm $NEW fi - # Otherwise, we leave the .new copy for the admin to consider... } if [ -x /usr/bin/update-desktop-database ]; then diff --git a/development/eclipse-php/eclipse-php.SlackBuild b/development/eclipse-php/eclipse-php.SlackBuild index bfde2c534ab92..c053bef344946 100644 --- a/development/eclipse-php/eclipse-php.SlackBuild +++ b/development/eclipse-php/eclipse-php.SlackBuild @@ -28,8 +28,8 @@ # This script is just a binary repackaging. PRGNAM=eclipse-php -VERSION=${VERSION:-4.14} -SRCVERSION=${SRCVERSION:-2019-12-R} +VERSION=${VERSION:-4.19} +SRCVERSION=${SRCVERSION:-2021-03-R} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} diff --git a/development/eclipse-php/eclipse-php.info b/development/eclipse-php/eclipse-php.info index 9d09f14e10dc9..54d7ba35abd88 100644 --- a/development/eclipse-php/eclipse-php.info +++ b/development/eclipse-php/eclipse-php.info @@ -1,10 +1,10 @@ PRGNAM="eclipse-php" -VERSION="4.14" +VERSION="4.19" HOMEPAGE="http://www.eclipse.org" DOWNLOAD="UNSUPPORTED" MD5SUM="" -DOWNLOAD_x86_64="http://download.eclipse.org/technology/epp/downloads/release/2019-12/R/eclipse-php-2019-12-R-linux-gtk-x86_64.tar.gz" -MD5SUM_x86_64="273dad6dfff659928be652367772b2cd" -REQUIRES="jdk webkit2gtk" +DOWNLOAD_x86_64="http://download.eclipse.org/technology/epp/downloads/release/2021-03/R/eclipse-php-2021-03-R-linux-gtk-x86_64.tar.gz" +MD5SUM_x86_64="f629e9a589ff0e3b312a96d1e602e491" +REQUIRES="jdk11 webkit2gtk" MAINTAINER="Giuseppe Di Terlizzi" EMAIL="giuseppe.diterlizzi@gmail.com" -- cgit v1.2.3