diff options
author | Chris Abela <kristofru@gmail.com> | 2022-08-18 08:37:03 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-08-20 10:06:41 +0700 |
commit | 265a2450c3e0a770cf96644f63b6f43d7dc3058d (patch) | |
tree | 6b16a4631d78e0b5897385e9e3a11accca2395c0 /desktop | |
parent | 9e29282d2ba4fe060678639f148c8b2d08acb209 (diff) |
desktop/lumina: Updated for version 1.6.2.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/lumina/doinst.sh | 9 | ||||
-rw-r--r-- | desktop/lumina/lumina.SlackBuild | 23 | ||||
-rw-r--r-- | desktop/lumina/lumina.info | 6 | ||||
-rw-r--r-- | desktop/lumina/lumina.tar | bin | 0 -> 10240 bytes |
4 files changed, 32 insertions, 6 deletions
diff --git a/desktop/lumina/doinst.sh b/desktop/lumina/doinst.sh new file mode 100644 index 0000000000000..65c7e2eeb9aa5 --- /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 a2ec1568a7f20..df5b6cfd04911 100644 --- a/desktop/lumina/lumina.SlackBuild +++ b/desktop/lumina/lumina.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for lumina -# 2019, 2020, 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 : @@ -30,7 +30,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=lumina -VERSION=${VERSION:-1.6.0} +VERSION=${VERSION:-1.6.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -84,7 +84,6 @@ 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} \ @@ -105,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 diff --git a/desktop/lumina/lumina.info b/desktop/lumina/lumina.info index 1d9be3146a7cc..4d9312173f05e 100644 --- a/desktop/lumina/lumina.info +++ b/desktop/lumina/lumina.info @@ -1,8 +1,8 @@ PRGNAM="lumina" -VERSION="1.6.0" +VERSION="1.6.2" HOMEPAGE="https://lumina-desktop.org/" -DOWNLOAD="https://github.com/trueos/lumina/archive/v1.6.0/lumina-1.6.0.tar.gz" -MD5SUM="5f27df60bc402c919ddff0f50cba2f0c" +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="" diff --git a/desktop/lumina/lumina.tar b/desktop/lumina/lumina.tar Binary files differnew file mode 100644 index 0000000000000..9df64990f7be3 --- /dev/null +++ b/desktop/lumina/lumina.tar |