diff --git a/development/scite/README b/development/scite/README index 0f630cf3e73..999914c233c 100644 --- a/development/scite/README +++ b/development/scite/README @@ -4,10 +4,16 @@ for building and running programs. It is best used for jobs with simple configurations. There are example configuration files provided with the tarball. -If you'd like to use it (at your own risk), -see the different options at http://www.scintilla.org/SciTEDoc.html, -rename SciTEUser.properties.new to .SciTEUser.properties, -and place it in your user's homedir. +If you'd like to use it (at your own risk), see the different options at +http://www.scintilla.org/SciTEDoc.html, rename SciTEUser.properties.new +to .SciTEUser.properties, and place it in your user's homedir. -Please look into /usr/doc/scite-3.7.4 after installation to find -the example configuration files and additional documentation. +Please look into /usr/doc/scite-3.7.4 after installation to find the +example configuration files and additional documentation. + +Set the TRANSLATION variable to a valid language code to install the +locale..properties in place of the upstream one. + +See +https://github.com/moltenform/scite-files/blob/main/files/translations_list.md +for a list of valid locales. diff --git a/development/scite/StringList.cxx.patch b/development/scite/StringList.cxx.patch deleted file mode 100644 index 86fa3d2a60a..00000000000 --- a/development/scite/StringList.cxx.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- StringList.cxx 2023-07-26 07:50:38.000000000 +0200 -+++ StringList.cxx.patched 2023-09-13 10:25:52.002946469 +0200 -@@ -8,6 +8,7 @@ - #include - #include - #include -+#include - - #include - #include diff --git a/development/scite/scite.SlackBuild b/development/scite/scite.SlackBuild index e9f844d85d7..3c0f30db5d9 100644 --- a/development/scite/scite.SlackBuild +++ b/development/scite/scite.SlackBuild @@ -4,6 +4,7 @@ # Ryan P.C. McQuen | Everett, WA | ryanpcmcquen@member.fsf.org # 2017 | Dhaby Xiloj | slack.dhabyx@gmail.com +# 2024 | rc_05 | contact@rc-05.com # Written by Iskar Enev # Some modifications by Jens Weber @@ -29,7 +30,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=scite -VERSION=${VERSION:-5.3.7} +VERSION=${VERSION:-5.5.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -42,9 +43,6 @@ if [ -z "$ARCH" ]; then esac fi -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 @@ -54,7 +52,7 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} HELPBROWSER=mozilla - +TRANSLATION=${TRANSLATION:-} if [ "$ARCH" = "i586" ]; then LIBDIRSUFFIX="" @@ -76,9 +74,6 @@ tar xvf $CWD/${PRGNAM}$(echo $VERSION | tr -d .).tgz chown -R root:root lexilla/ scite/ scintilla/ chmod -R u+w,go+r-w,a-s lexilla/ scite/ scintilla/ -# Patch to fix missing cstddef header file. -patch scite/src/StringList.cxx $CWD/StringList.cxx.patch - cd $TMP/lexilla make -C src @@ -101,6 +96,10 @@ mkdir -p $PKG/usr/share/scite mkdir -p $PKG/usr/man/man1 cat doc/scite.1 | gzip -9c > $PKG/usr/man/man1/scite.1.gz +if [ ! -z "${TRANSLATION}" ]; then + cp $CWD/locale.$TRANSLATION.properties $PKG/usr/share/scite/locale.properties +fi + mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/html cp -a README License.txt $PKG/usr/doc/$PRGNAM-$VERSION cat src/SciTEGlobal.properties >> $PKG/usr/doc/$PRGNAM-$VERSION/SciTEGlobal.properties.new diff --git a/development/scite/scite.info b/development/scite/scite.info index c91a649a32d..d967960febd 100644 --- a/development/scite/scite.info +++ b/development/scite/scite.info @@ -1,10 +1,10 @@ PRGNAM="scite" -VERSION="5.3.7" +VERSION="5.5.3" HOMEPAGE="https://scintilla.org/SciTE.html" -DOWNLOAD="https://scintilla.org/scite537.tgz" -MD5SUM="4a4bc59da93deb4b75e5b0e15f2661c5" +DOWNLOAD="https://scintilla.org/scite553.tgz" +MD5SUM="e8986fc68ae2259509b9d95ef54a6658" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="rc-05" -EMAIL="rc_o5@protonmail.com" +MAINTAINER="rc_05" +EMAIL="contact@rc-05.com"