Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

development/scite: Updated for version 5.5.3. #9055

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 12 additions & 6 deletions development/scite/README
Original file line number Diff line number Diff line change
Expand Up @@ -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.<language>.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.
10 changes: 0 additions & 10 deletions development/scite/StringList.cxx.patch

This file was deleted.

15 changes: 7 additions & 8 deletions development/scite/scite.SlackBuild
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

# Ryan P.C. McQuen | Everett, WA | [email protected]
# 2017 | Dhaby Xiloj | [email protected]
# 2024 | rc_05 | [email protected]

# Written by Iskar Enev <iskar.enev[@]gmail.com>
# Some modifications by Jens Weber <[email protected]>
Expand All @@ -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}
Expand All @@ -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
Expand All @@ -54,7 +52,7 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
HELPBROWSER=mozilla

TRANSLATION=${TRANSLATION:-}

if [ "$ARCH" = "i586" ]; then
LIBDIRSUFFIX=""
Expand All @@ -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

Expand All @@ -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
Expand Down
10 changes: 5 additions & 5 deletions development/scite/scite.info
Original file line number Diff line number Diff line change
@@ -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"