diff options
Diffstat (limited to 'development/gitnuro')
-rw-r--r-- | development/gitnuro/README | 7 | ||||
-rw-r--r-- | development/gitnuro/doinst.sh | 4 | ||||
-rw-r--r-- | development/gitnuro/gitnuro.SlackBuild | 83 | ||||
-rw-r--r-- | development/gitnuro/gitnuro.desktop | 8 | ||||
-rw-r--r-- | development/gitnuro/gitnuro.info | 10 | ||||
-rw-r--r-- | development/gitnuro/gitnuro.png | bin | 0 -> 10617 bytes | |||
-rw-r--r-- | development/gitnuro/slack-desc | 19 |
7 files changed, 131 insertions, 0 deletions
diff --git a/development/gitnuro/README b/development/gitnuro/README new file mode 100644 index 0000000000..033775b95f --- /dev/null +++ b/development/gitnuro/README @@ -0,0 +1,7 @@ +Gitnuro (A graphical Git client) + +A FOSS Git client based on (Jetbrains) Compose and JGit. + +The main goal of Gitnuro is to provide a multiplatform +open source Git client without any kind of constraint to +how you can use it nor relying on web technologies. diff --git a/development/gitnuro/doinst.sh b/development/gitnuro/doinst.sh new file mode 100644 index 0000000000..4e8ba7071d --- /dev/null +++ b/development/gitnuro/doinst.sh @@ -0,0 +1,4 @@ +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 +fi + diff --git a/development/gitnuro/gitnuro.SlackBuild b/development/gitnuro/gitnuro.SlackBuild new file mode 100644 index 0000000000..babd634ee7 --- /dev/null +++ b/development/gitnuro/gitnuro.SlackBuild @@ -0,0 +1,83 @@ +#!/bin/bash + +# Slackware build script for gitnuro + +# 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. + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=gitnuro +VERSION=${VERSION:-1.5.0} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +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 +fi + +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +set -e +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP + +mkdir -p $PKG/opt/$PRGNAM $PKG/usr/bin $PKG/usr/share/applications $PKG/usr/share/pixmaps +install -D -m0644 $CWD/Gitnuro-linux-x86_64-$VERSION.jar $PKG/opt/$PRGNAM/Gitnuro-linux-x86_64-$VERSION.jar +cat << EOF > $PKG/usr/bin/gitnuro +#!/bin/bash + +JVM=/usr/lib64/zulu-openjdk21/bin/java +if [ -f "\$JVM" ]; then + \$JVM -jar /opt/$PRGNAM/Gitnuro-linux-x86_64-$VERSION.jar +else + echo "Could not find zulu-openjdk21's java command. Please install it from SlackBuilds.org (or fix this script to use other jvm)." +fi +EOF +chmod +x $PKG/usr/bin/gitnuro + +cp $CWD/gitnuro.png $PKG/usr/share/pixmaps/ +cp $CWD/gitnuro.desktop $PKG/usr/share/applications/ + +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 +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 + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/development/gitnuro/gitnuro.desktop b/development/gitnuro/gitnuro.desktop new file mode 100644 index 0000000000..71b5c517fb --- /dev/null +++ b/development/gitnuro/gitnuro.desktop @@ -0,0 +1,8 @@ +[Desktop Entry] +Name=Gitnuro +Comment=A Graphical Git Client +Terminal=false +Exec=gitnuro +Type=Application +Categories=Development;IDE; +Icon=gitnuro diff --git a/development/gitnuro/gitnuro.info b/development/gitnuro/gitnuro.info new file mode 100644 index 0000000000..54d029ab6c --- /dev/null +++ b/development/gitnuro/gitnuro.info @@ -0,0 +1,10 @@ +PRGNAM="gitnuro" +VERSION="1.5.0" +HOMEPAGE="https://gitnuro.com/" +DOWNLOAD="UNSUPPORTED" +MD5SUM="" +DOWNLOAD_x86_64="https://github.com/JetpackDuba/Gitnuro/releases/download/v1.5.0/Gitnuro-linux-x86_64-1.5.0.jar" +MD5SUM_x86_64="1d1e15c02a1e11249880bc1904e933aa" +REQUIRES="zulu-openjdk21" +MAINTAINER="Antonio Leal" +EMAIL="antonioleal@yahoo.com" diff --git a/development/gitnuro/gitnuro.png b/development/gitnuro/gitnuro.png Binary files differnew file mode 100644 index 0000000000..db10f3a09d --- /dev/null +++ b/development/gitnuro/gitnuro.png diff --git a/development/gitnuro/slack-desc b/development/gitnuro/slack-desc new file mode 100644 index 0000000000..a71dd50bb6 --- /dev/null +++ b/development/gitnuro/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +gitnuro: gitnuro (a graphical git client) +gitnuro: +gitnuro: A FOSS Git client based on (Jetbrains) Compose and JGit. +gitnuro: +gitnuro: The main goal of Gitnuro is to provide a multiplatform open source +gitnuro: Git client without any kind of constraint to how you can use it nor +gitnuro: relying on web technologies. +gitnuro: +gitnuro: +gitnuro: +gitnuro: |