diff options
-rw-r--r-- | system/gslapt/README | 2 | ||||
-rw-r--r-- | system/gslapt/changelog | 6 | ||||
-rw-r--r-- | system/gslapt/doinst.sh | 3 | ||||
-rw-r--r-- | system/gslapt/gslapt-kde.desktop | 98 | ||||
-rw-r--r-- | system/gslapt/gslapt.SlackBuild | 106 | ||||
-rw-r--r-- | system/gslapt/gslapt.desktop | 98 | ||||
-rw-r--r-- | system/gslapt/gslapt.info | 10 | ||||
-rw-r--r-- | system/gslapt/slack-desc | 19 |
8 files changed, 342 insertions, 0 deletions
diff --git a/system/gslapt/README b/system/gslapt/README new file mode 100644 index 000000000000..181fb8d8962a --- /dev/null +++ b/system/gslapt/README @@ -0,0 +1,2 @@ +Gslapt is a GUI frontend based on GTK for slapt-get to manage +packages in slackware. diff --git a/system/gslapt/changelog b/system/gslapt/changelog new file mode 100644 index 000000000000..43ea877595e0 --- /dev/null +++ b/system/gslapt/changelog @@ -0,0 +1,6 @@ +Changelog for gslapt SlackBuild Script +-------------------------------------------------------------------- + +24/05/2023: + +Submitted to slackbuilds.org diff --git a/system/gslapt/doinst.sh b/system/gslapt/doinst.sh new file mode 100644 index 000000000000..e03e341290f3 --- /dev/null +++ b/system/gslapt/doinst.sh @@ -0,0 +1,3 @@ +if [ -x usr/bin/update-desktop-database ]; then +usr/bin/update-desktop-database &>/dev/null +fi diff --git a/system/gslapt/gslapt-kde.desktop b/system/gslapt/gslapt-kde.desktop new file mode 100644 index 000000000000..b2b488602b20 --- /dev/null +++ b/system/gslapt/gslapt-kde.desktop @@ -0,0 +1,98 @@ +[Desktop Entry] +Exec=/usr/bin/pkexec /usr/sbin/gslapt +Name[bg]=Мениджър на пакети Gslapt +Name[ca]=Gestor de paquets Gslapt +Name[cs]=Správce balíčků Gslapt +Name[de]=Gslapt-Paketverwaltung +Name[el]=Διαχειριστής Πακέτων Gslapt +Name[es]=Administrador de Paquetes Gslapt +Name[es_AR]=Administrador de Paquetes Gslapt +Name[fr]=Gestionnaire de paquets Gslapt +Name[gl_ES]=Gslapt Package Manager +Name[he]=מנהל חבילות Gslapt +Name[hi_IN]=GSlapt पैकेज प्रबंधक +Name[hu]=Gslapt csomagkezelő +Name[id]=Gslapt Package Manager +Name[it]=Gestore pacchetti Gslapt +Name[ja]=Gslapt パッケージマネージャー +Name[nl]=Gslapt pakketbeheer +Name[no]=Gslapt Pakkeadministrasjon +Name[pl]=Gslapt Menedżer Pakietów +Name[pt]=Gestor de pacotes Gslapt +Name[pt_BR]=Gerenciador de Pacotes Gslapt +Name[pt_PT]=Gestor de pacotes Gslapt +Name[ru]=Менеджер пакетов Gslapt +Name[sk]=Gslapt Package Manager +Name[sl]=Upravitelj paketov Gslapt +Name[sv]=Gslapt Pakethanterare +Name[tr]=Gslapt Package Manager +Name[uk]=Менеджер пакункiв Gslapt +Name[vi]=Gslapt Package Manager +Name[zh_CN]=Gslapt Package Manager +Name=Gslapt Package Manager +GenericName[bg]=Gslapt +GenericName[ca]=Gslapt +GenericName[cs]=Gslapt +GenericName[de]=Gslapt +GenericName[el]=Gslapt +GenericName[es]=Gslapt +GenericName[es_AR]=Gslapt +GenericName[fr]=Gslapt +GenericName[gl_ES]=Gslapt +GenericName[he]=Gslapt +GenericName[hi_IN]=Gslapt +GenericName[hu]=Gslapt +GenericName[id]=Gslapt +GenericName[it]=Gslapt +GenericName[ja]=Gslapt +GenericName[nl]=Gslapt +GenericName[no]=Gslapt +GenericName[pl]=Gslapt +GenericName[pt]=Gslapt +GenericName[pt_BR]=Gslapt +GenericName[pt_PT]=Gslapt +GenericName[ru]=Gslapt +GenericName[sk]=Gslapt +GenericName[sl]=Gslapt +GenericName[sv]=Gslapt +GenericName[tr]=Gslapt +GenericName[uk]=Gslapt +GenericName[vi]=Gslapt +GenericName[zh_CN]=Gslapt +GenericName=Gslapt +Comment[bg]=Инсталиране, премахване и обновяване на софтуерни пакети +Comment[ca]=Instal·leu, actualitzeu i elimineu paquets de programari +Comment[cs]=Instaluje, odebírá a upgraduje softwarové balíčky +Comment[de]=Software-Pakete installieren, entfernen und aktualisieren +Comment[el]=Εγκαταστήστε, απεγκαταστήστε και αναβαθμίστε πακέτα λογισμικού +Comment[es]=Instalar, eliminar y actualizar los paquetes de software +Comment[es_AR]=Instalar, eliminar y actualizar los paquetes de software +Comment[fr]=Installer, désinstaller et mettre à jour des paquets logiciels +Comment[gl_ES]=Install, remove and upgrade software packages +Comment[he]=התקנה, הסרה ושדרוג של חבילות תוכנה +Comment[hi_IN]=सॉफ्टवेयर पैकेज इंस्टॉल करें, हटाएँ व अपग्रेड करें +Comment[hu]=Programok telepítése, eltávolítása, frissítése +Comment[id]=Install, remove and upgrade software packages +Comment[it]=Installa, rimuove ed aggiorna i pacchetti software +Comment[ja]=ソフトウェアパッケージのインストール・削除・更新 +Comment[nl]=Softwarepakketten installeren, verwijderen of bijwerken +Comment[no]=Installer, fjern eller oppgrader programvare pakker +Comment[pl]=Instalacja, usuwanie i aktualizacja pakietów z oprogramowaniem +Comment[pt]=Instalar, remover e atualizar pacotes +Comment[pt_BR]=Instalar, remover e atualizar pacotes +Comment[pt_PT]=Instalar, remover e atualizar pacotes +Comment[ru]=Установка, обновление и удаление пакетов +Comment[sk]=Install, remove and upgrade software packages +Comment[sl]=Install, remove and upgrade software packages +Comment[sv]=Installera, ta bort och uppgradera programpaket +Comment[tr]=Install, remove and upgrade software packages +Comment[uk]=Установка, вилучення і оновлення програмних пакунків +Comment[vi]=Install, remove and upgrade software packages +Comment[zh_CN]=Install, remove and upgrade software packages +Comment=Install, remove and upgrade software packages +Icon=/usr/share/pixmaps/gslapt.png +Terminal=false +Categories=PackageManager;Settings +StartupNotify=true +Type=Application +OnlyShowIn=KDE diff --git a/system/gslapt/gslapt.SlackBuild b/system/gslapt/gslapt.SlackBuild new file mode 100644 index 000000000000..36a19a64c4b4 --- /dev/null +++ b/system/gslapt/gslapt.SlackBuild @@ -0,0 +1,106 @@ +#!/bin/bash + +# Slackware build script for gslapt + +# Copyright 2023 Vijay Marcel +# 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=gslapt +VERSION=${VERSION:-0.5.10} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +if [ -z "$ARCH" ]; then +case "$( uname -m )" in + i?86) ARCH=i586 ;; +aarch64*) ARCH=aarch64 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; +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 +fi + +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-march=i586 -mtune=i686 -pipe -O2 -fPIC" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-march=i686 -mtune=i686 -pipe -O2 -fPIC" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-march=x86-64 -mtune=native -pipe -O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +cd $PRGNAM-$VERSION +chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +CFLAGS="$SLKCFLAGS" CXXFLAGS="$SLKCFLAGS" meson setup build --prefix=/usr --sysconfdir=/etc --mandir=/usr/man +meson compile -C build +DESTDIR=$PKG meson install -C build + +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 +mv -v $PKG/usr/share/doc/* $PKG/usr/doc/$PRGNAM-$VERSION +rm -rvf $PKG/usr/share/doc +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +rm -rvf $PKG/usr/share/applications/gslapt-kde.desktop +rm -rvf $PKG/usr/share/applications/gslapt.desktop + +install -m0644 $CWD/gslapt-kde.desktop -t $PKG/usr/share/applications +install -m0644 $CWD/gslapt.desktop -t $PKG/usr/share/applications + +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/system/gslapt/gslapt.desktop b/system/gslapt/gslapt.desktop new file mode 100644 index 000000000000..a18631eaafeb --- /dev/null +++ b/system/gslapt/gslapt.desktop @@ -0,0 +1,98 @@ +[Desktop Entry] +Exec=/usr/bin/pkexec /usr/sbin/gslapt +Name[bg]=Мениджър на пакети Gslapt +Name[ca]=Gestor de paquets Gslapt +Name[cs]=Správce balíčků Gslapt +Name[de]=Gslapt-Paketverwaltung +Name[el]=Διαχειριστής Πακέτων Gslapt +Name[es]=Administrador de Paquetes Gslapt +Name[es_AR]=Administrador de Paquetes Gslapt +Name[fr]=Gestionnaire de paquets Gslapt +Name[gl_ES]=Gslapt Package Manager +Name[he]=מנהל חבילות Gslapt +Name[hi_IN]=GSlapt पैकेज प्रबंधक +Name[hu]=Gslapt csomagkezelő +Name[id]=Gslapt Package Manager +Name[it]=Gestore pacchetti Gslapt +Name[ja]=Gslapt パッケージマネージャー +Name[nl]=Gslapt pakketbeheer +Name[no]=Gslapt Pakkeadministrasjon +Name[pl]=Gslapt Menedżer Pakietów +Name[pt]=Gestor de pacotes Gslapt +Name[pt_BR]=Gerenciador de Pacotes Gslapt +Name[pt_PT]=Gestor de pacotes Gslapt +Name[ru]=Менеджер пакетов Gslapt +Name[sk]=Gslapt Package Manager +Name[sl]=Upravitelj paketov Gslapt +Name[sv]=Gslapt Pakethanterare +Name[tr]=Gslapt Package Manager +Name[uk]=Менеджер пакункiв Gslapt +Name[vi]=Gslapt Package Manager +Name[zh_CN]=Gslapt Package Manager +Name=Gslapt Package Manager +GenericName[bg]=Gslapt +GenericName[ca]=Gslapt +GenericName[cs]=Gslapt +GenericName[de]=Gslapt +GenericName[el]=Gslapt +GenericName[es]=Gslapt +GenericName[es_AR]=Gslapt +GenericName[fr]=Gslapt +GenericName[gl_ES]=Gslapt +GenericName[he]=Gslapt +GenericName[hi_IN]=Gslapt +GenericName[hu]=Gslapt +GenericName[id]=Gslapt +GenericName[it]=Gslapt +GenericName[ja]=Gslapt +GenericName[nl]=Gslapt +GenericName[no]=Gslapt +GenericName[pl]=Gslapt +GenericName[pt]=Gslapt +GenericName[pt_BR]=Gslapt +GenericName[pt_PT]=Gslapt +GenericName[ru]=Gslapt +GenericName[sk]=Gslapt +GenericName[sl]=Gslapt +GenericName[sv]=Gslapt +GenericName[tr]=Gslapt +GenericName[uk]=Gslapt +GenericName[vi]=Gslapt +GenericName[zh_CN]=Gslapt +GenericName=Gslapt +Comment[bg]=Инсталиране, премахване и обновяване на софтуерни пакети +Comment[ca]=Instal·leu, actualitzeu i elimineu paquets de programari +Comment[cs]=Instaluje, odebírá a upgraduje softwarové balíčky +Comment[de]=Software-Pakete installieren, entfernen und aktualisieren +Comment[el]=Εγκαταστήστε, απεγκαταστήστε και αναβαθμίστε πακέτα λογισμικού +Comment[es]=Instalar, eliminar y actualizar los paquetes de software +Comment[es_AR]=Instalar, eliminar y actualizar los paquetes de software +Comment[fr]=Installer, désinstaller et mettre à jour des paquets logiciels +Comment[gl_ES]=Install, remove and upgrade software packages +Comment[he]=התקנה, הסרה ושדרוג של חבילות תוכנה +Comment[hi_IN]=सॉफ्टवेयर पैकेज इंस्टॉल करें, हटाएँ व अपग्रेड करें +Comment[hu]=Programok telepítése, eltávolítása, frissítése +Comment[id]=Install, remove and upgrade software packages +Comment[it]=Installa, rimuove ed aggiorna i pacchetti software +Comment[ja]=ソフトウェアパッケージのインストール・削除・更新 +Comment[nl]=Softwarepakketten installeren, verwijderen of bijwerken +Comment[no]=Installer, fjern eller oppgrader programvare pakker +Comment[pl]=Instalacja, usuwanie i aktualizacja pakietów z oprogramowaniem +Comment[pt]=Instalar, remover e atualizar pacotes +Comment[pt_BR]=Instalar, remover e atualizar pacotes +Comment[pt_PT]=Instalar, remover e atualizar pacotes +Comment[ru]=Установка, обновление и удаление пакетов +Comment[sk]=Install, remove and upgrade software packages +Comment[sl]=Install, remove and upgrade software packages +Comment[sv]=Installera, ta bort och uppgradera programpaket +Comment[tr]=Install, remove and upgrade software packages +Comment[uk]=Установка, вилучення і оновлення програмних пакунків +Comment[vi]=Install, remove and upgrade software packages +Comment[zh_CN]=Install, remove and upgrade software packages +Comment=Install, remove and upgrade software packages +Icon=/usr/share/pixmaps/gslapt.png +Terminal=false +Categories=PackageManager;Settings +StartupNotify=true +Type=Application +NotShowIn=KDE diff --git a/system/gslapt/gslapt.info b/system/gslapt/gslapt.info new file mode 100644 index 000000000000..e52d923da691 --- /dev/null +++ b/system/gslapt/gslapt.info @@ -0,0 +1,10 @@ +PRGNAM="gslapt" +VERSION="0.5.10" +HOMEPAGE="https://software.jaos.org" +DOWNLOAD="https://github.com/jaos/gslapt/archive/0.5.10/gslapt-0.5.10.tar.gz" +MD5SUM="cd84d93b351e2ed963fe2e4a31b52711" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="slapt-get" +MAINTAINER="Vijay Marcel" +EMAIL="vijaymarcel@outlook.com" diff --git a/system/gslapt/slack-desc b/system/gslapt/slack-desc new file mode 100644 index 000000000000..15bf9962a147 --- /dev/null +++ b/system/gslapt/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------------------------------------------------------| +gslapt: gslapt (GUI Frontend to slapt-get) +gslapt: +gslapt: Gslapt is a GUI frontend based on GTK for slapt-get to manage +gslapt: packages in slackware. +gslapt: +gslapt: +gslapt: Homepage:https://software.jaos.org +gslapt: +gslapt: +gslapt: +gslapt: |