diff options
Diffstat (limited to 'development/smartsvn')
-rw-r--r-- | development/smartsvn/README | 6 | ||||
-rw-r--r-- | development/smartsvn/slack-desc | 8 | ||||
-rw-r--r-- | development/smartsvn/smartsvn | 40 | ||||
-rw-r--r-- | development/smartsvn/smartsvn.SlackBuild | 42 | ||||
-rw-r--r-- | development/smartsvn/smartsvn.desktop | 4 | ||||
-rw-r--r-- | development/smartsvn/smartsvn.info | 16 |
6 files changed, 82 insertions, 34 deletions
diff --git a/development/smartsvn/README b/development/smartsvn/README index 202a22e744..b0de21975b 100644 --- a/development/smartsvn/README +++ b/development/smartsvn/README @@ -1,5 +1,5 @@ SmartSVN is a commercial desktop svn client. -SmartSVN starts with free evaluation mode for the Professional -edition for 30 days and, if not registered, will continue in the free -Foundation edition. +SmartSVN starts with free evaluation mode for 30 days, +but you can request a non-commercial license at: +https://www.syntevo.com/register-non-commercial/ diff --git a/development/smartsvn/slack-desc b/development/smartsvn/slack-desc index 873ac2cc51..3790e8ab49 100644 --- a/development/smartsvn/slack-desc +++ b/development/smartsvn/slack-desc @@ -8,10 +8,10 @@ |-----handy-ruler------------------------------------------------------| smartsvn: smartsvn (Desktop SVN Client) smartsvn: -smartsvn: SmartSvn is a commercial desktop svn client that provides -smartsvn: trial edition for a limited time (31 days) -smartsvn: -smartsvn: Homepage: http://www.smartsvn.com/ +smartsvn: SmartSvn is a commercial desktop svn client. +smartsvn: SmartSVN starts with free evaluation mode for 30 days, +smartsvn: but you can request a non-commercial license at: +smartsvn: https://www.syntevo.com/register-non-commercial/ smartsvn: smartsvn: smartsvn: diff --git a/development/smartsvn/smartsvn b/development/smartsvn/smartsvn new file mode 100644 index 0000000000..a41046a23a --- /dev/null +++ b/development/smartsvn/smartsvn @@ -0,0 +1,40 @@ +#!/bin/bash + +# Slackware launcher script for smartsvn + +# Copyright 2025 Antonio Leal, Porto Salvo, Oeiras, Portugal +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +PRGNAM=smartsvn +VERSION=14.5.0 +MAINVERSION=$(echo $VERSION | awk -F '.' '{ print $1"."$2 }') +PROP="${HOME}/.config/${PRGNAM}/${MAINVERSION}/smartsvn.properties" + +if ! [ -f $PROP ]; then + mkdir -p `dirname $PROP` + touch $PROP +fi + +aux=`cat $PROP | grep "smartsvn.updateCheck.automatic"` +if [ "$aux" = "" ]; then + echo "smartsvn.updateCheck.automatic=false" >> $PROP +fi + +/opt/$PRGNAM/bin/$PRGNAM.sh "$@" diff --git a/development/smartsvn/smartsvn.SlackBuild b/development/smartsvn/smartsvn.SlackBuild index 54b0b426a3..13ffc8764f 100644 --- a/development/smartsvn/smartsvn.SlackBuild +++ b/development/smartsvn/smartsvn.SlackBuild @@ -1,6 +1,8 @@ #!/bin/bash # Slackware Package Build Script for SmartSvn + +# Copyright 2025 Antonio Leal, Porto Salvo, Oeiras, Portugal # Copyright 2014 Miguel De Anda # All rights reserved. # @@ -23,17 +25,21 @@ cd $(dirname $0) ; CWD=$(pwd) -PRGNAM="smartsvn" -VERSION=${VERSION:-9.0.5} +PRGNAM=smartsvn +VERSION=${VERSION:-14.5.0} SRCVER=$(echo $VERSION | tr . _) BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} -ARCH=noarch -# 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 "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 @@ -58,27 +64,29 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -R license.html smartsvn.url licenses/ \ - $PKG/usr/doc/$PRGNAM-$VERSION -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild -mkdir -p $PKG/usr/share/$PRGNAM -cp -R lib bin dictionaries $PKG/usr/share/$PRGNAM +mkdir -p $PKG/opt/$PRGNAM +cp -avxu bin dictionaries jre lib opt $PKG/opt/$PRGNAM + +mkdir -p $PKG/usr/bin +install -D -m 0755 $CWD/smartsvn $PKG/usr/bin/$PRGNAM mkdir -p $PKG/usr/share/pixmaps cp bin/$PRGNAM-128.png $PKG/usr/share/pixmaps/$PRGNAM.png - mkdir -p $PKG/usr/share/applications cp $CWD/$PRGNAM.desktop $PKG/usr/share/applications/$PRGNAM.desktop +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -avxu changelog.txt known-issues.txt license.html readme-linux.txt smartsvn.url licenses/ \ + $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cat $CWD/doinst.sh > $PKG/install/doinst.sh -mkdir -p $PKG/usr/bin -cd $PKG/usr/bin -ln -s ../share/$PRGNAM/bin/$PRGNAM.sh $PRGNAM - cd $PKG /sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/development/smartsvn/smartsvn.desktop b/development/smartsvn/smartsvn.desktop index 04fb9eba92..884c4ea8e8 100644 --- a/development/smartsvn/smartsvn.desktop +++ b/development/smartsvn/smartsvn.desktop @@ -7,6 +7,6 @@ Type=Application Categories=Development;RevisionControl Terminal=false StartupNotify=true -Exec="/usr/share/smartsvn/bin/smartsvn.sh" %f -MimeType=x-directory/normal +Exec=smartsvn %f +MimeType=x-scheme-handler/smartsvn Icon=smartsvn diff --git a/development/smartsvn/smartsvn.info b/development/smartsvn/smartsvn.info index 9ab9eff7fb..9ec7088a21 100644 --- a/development/smartsvn/smartsvn.info +++ b/development/smartsvn/smartsvn.info @@ -1,10 +1,10 @@ PRGNAM="smartsvn" -VERSION="9.0.5" +VERSION="14.5.0" HOMEPAGE="https://www.smartsvn.com/" -DOWNLOAD="https://www.smartsvn.com/downloads/smartsvn/archive/smartsvn-linux-9_0_5.tar.gz" -MD5SUM="639222a333cb032be86d09b689102965" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="zulu-openjdk8" -MAINTAINER="Miguel De Anda" -EMAIL="miguel@thedeanda.com" +DOWNLOAD="UNSUPPORTED" +MD5SUM="" +DOWNLOAD_x86_64="https://downloads.smartsvn.com/downloads/smartsvn/smartsvn-linux-14_5_0.tar.gz" +MD5SUM_x86_64="7b947893f2318875def793b76ffbb3d5" +REQUIRES="" +MAINTAINER="Antonio Leal" +EMAIL="antonioleal@yahoo.com" |