diff options
Diffstat (limited to 'desktop/lumina')
-rw-r--r-- | desktop/lumina/README | 6 | ||||
-rw-r--r-- | desktop/lumina/doinst.sh | 9 | ||||
-rw-r--r-- | desktop/lumina/lumina.SlackBuild | 40 | ||||
-rw-r--r-- | desktop/lumina/lumina.info | 8 | ||||
-rw-r--r-- | desktop/lumina/lumina.tar | bin | 0 -> 10240 bytes |
5 files changed, 50 insertions, 13 deletions
diff --git a/desktop/lumina/README b/desktop/lumina/README index a734ed7826..e5d6c1def2 100644 --- a/desktop/lumina/README +++ b/desktop/lumina/README @@ -1,7 +1,7 @@ The Lumina Desktop Environment (Lumina for short) is a lightweight, -XDG-compliant, BSD-licensed desktop environment that focuses specifically -on streamlining the ability to get work done while minimizing system -overhead. +XDG-compliant, BSD-licensed desktop environment that focuses +specifically on streamlining the ability to get work done while +minimizing system overhead. It is specifically designed for PC-BSD(r) and FreeBSD, but has also been ported to many other BSD and Linux operating systems. It is based diff --git a/desktop/lumina/doinst.sh b/desktop/lumina/doinst.sh new file mode 100644 index 0000000000..65c7e2eeb9 --- /dev/null +++ b/desktop/lumina/doinst.sh @@ -0,0 +1,9 @@ +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 +fi + +if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then + if [ -x /usr/bin/gtk-update-icon-cache ]; then + /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1 + fi +fi diff --git a/desktop/lumina/lumina.SlackBuild b/desktop/lumina/lumina.SlackBuild index 73a9f16d48..df5b6cfd04 100644 --- a/desktop/lumina/lumina.SlackBuild +++ b/desktop/lumina/lumina.SlackBuild @@ -1,8 +1,8 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for lumina -# 2019, updated by Chris Abela, Malta, <kristofru@gmail.com> +# 2019, 2020, 2022 updated by Chris Abela, Malta, <kristofru@gmail.com> # Sasongko Bawono <sasongko262@gmail.com> # Thanks to : @@ -27,10 +27,13 @@ # along with this program (most likely, a file named COPYING). If # not, see <https://www.gnu.org/licenses/>. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=lumina -VERSION=${VERSION:-1.5.0} +VERSION=${VERSION:-1.6.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -40,7 +43,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -74,13 +84,13 @@ 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 {} \; -sed -i "s|/media|/run/media/\$USER|" src-qt5/core/lumina-desktop/LDesktop.cpp qmake-qt5 \ PREFIX=/usr \ LIBPREFIX=/usr/lib${LIBDIRSUFFIX} \ QMAKE_CFLAGS_ISYSTEM= \ QMAKE_CFLAGS="$SLKCFLAGS" \ QMAKE_CXXFLAGS="$SLKCFLAGS" \ + QMAKE_CFLAGS_ISYSTEM= \ QT5LIBDIR=/usr/lib${LIBDIRSUFFIX}/qt5 \ CONFIG+=WITH_I18N \ L_ETCDIR=/etc @@ -94,12 +104,30 @@ install -m 0755 $CWD/xinitrc.lumina $PKG/etc/X11/xinit/xinitrc.lumina 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 +# usr/share/icons should not contain files with executable permission +find $PKG/usr/share/icons -executable -type f -exec chmod -x {} \; + +# Key "OnlyShowIn" in group "Desktop Entry" contains an unregistered value +# "Lumina"; values extending the format should start with "X-" +sed -i 's/OnlyShowIn=Lumina/OnlyShowIn=X-Lumina/g' \ + $PKG/usr/share/applications/lumina-*.desktop + +# "Categories" is present in group "Desktop Entry", but the type is "Link" while +# this key is only valid for type "Application" +sed -i '/Categories/d' $PKG/usr/share/applications/lumina-support.desktop + +# Value "Office;Development;" for key "Categories" in group "Desktop Entry" +# contains more than one main category; application might appear more than +# once in the application menu +sed -i 's/Office;//' $PKG/usr/share/applications/lumina-textedit.desktop + mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a LICENSE $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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/desktop/lumina/lumina.info b/desktop/lumina/lumina.info index 967d765fb4..4d9312173f 100644 --- a/desktop/lumina/lumina.info +++ b/desktop/lumina/lumina.info @@ -1,10 +1,10 @@ PRGNAM="lumina" -VERSION="1.5.0" +VERSION="1.6.2" HOMEPAGE="https://lumina-desktop.org/" -DOWNLOAD="https://github.com/trueos/lumina/archive/v1.5.0/lumina-1.5.0.tar.gz" -MD5SUM="cf770b64ab43f239f4f3905b8b8b3b07" +DOWNLOAD="https://github.com/trueos/lumina/archive/v1.6.2/lumina-1.6.2.tar.gz" +MD5SUM="2f03ed4eaae4d5143923d0113684b7f3" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="qt5-webkit" +REQUIRES="" MAINTAINER="Chris Abela" EMAIL="kristofru@gmail.com" diff --git a/desktop/lumina/lumina.tar b/desktop/lumina/lumina.tar Binary files differnew file mode 100644 index 0000000000..9df64990f7 --- /dev/null +++ b/desktop/lumina/lumina.tar |