aboutsummaryrefslogtreecommitdiff
path: root/desktop/wayfire
diff options
context:
space:
mode:
authorDamian Perticone <mjolnirdam@gmail.com>2022-08-31 02:32:57 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-09-03 17:58:41 +0700
commit8deadf85cdcd397f8ac2f81a5bf46c023b389c56 (patch)
tree31426cb678b89b26ac79610ebb6b1ce3ac0696b6 /desktop/wayfire
parentc668d0c1af027acb14ef83c4e761cdbf3a75b996 (diff)
desktop/wayfire: Updated for version 0.7.4.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/wayfire')
-rw-r--r--desktop/wayfire/doinst.sh3
-rw-r--r--desktop/wayfire/footclose.patch12
-rw-r--r--desktop/wayfire/wayfire.SlackBuild8
-rw-r--r--desktop/wayfire/wayfire.info6
4 files changed, 24 insertions, 5 deletions
diff --git a/desktop/wayfire/doinst.sh b/desktop/wayfire/doinst.sh
new file mode 100644
index 0000000000000..5fb28930db0b9
--- /dev/null
+++ b/desktop/wayfire/doinst.sh
@@ -0,0 +1,3 @@
+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/desktop/wayfire/footclose.patch b/desktop/wayfire/footclose.patch
new file mode 100644
index 0000000000000..8eb8fc3730c03
--- /dev/null
+++ b/desktop/wayfire/footclose.patch
@@ -0,0 +1,12 @@
+--- a/src/view/subsurface.cpp
++++ b/src/view/subsurface.cpp
+@@ -41,7 +41,8 @@ wf::subsurface_implementation_t::subsurface_implementation_t(wlr_subsurface *_su
+
+ wf::point_t wf::subsurface_implementation_t::get_offset()
+ {
+- assert(is_mapped());
++ if (!is_mapped())
++ return {0, 0};
+
+ return {
+ sub->current.x,
diff --git a/desktop/wayfire/wayfire.SlackBuild b/desktop/wayfire/wayfire.SlackBuild
index 0537ca2b933e0..893c179eca5ee 100644
--- a/desktop/wayfire/wayfire.SlackBuild
+++ b/desktop/wayfire/wayfire.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for wayfire
-# Copyright 2022 Damian Perticone Berisso, Argentina
+# Copyright 2022 Damian Perticone, Berisso, Argentina
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=wayfire
-VERSION=${VERSION:-0.7.3}
+VERSION=${VERSION:-0.7.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-txz}
@@ -76,6 +76,9 @@ 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 {} \;
+# fix foot terminal closing crash
+patch -p1 < $CWD/footclose.patch
+
mkdir build
cd build
CFLAGS="$SLKCFLAGS" \
@@ -116,6 +119,7 @@ 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/wayfire/wayfire.info b/desktop/wayfire/wayfire.info
index bab140d983519..0d8cfa3bcf668 100644
--- a/desktop/wayfire/wayfire.info
+++ b/desktop/wayfire/wayfire.info
@@ -1,8 +1,8 @@
PRGNAM="wayfire"
-VERSION="0.7.3"
+VERSION="0.7.4"
HOMEPAGE="https://wayfire.org"
-DOWNLOAD="https://github.com/WayfireWM/wayfire/releases/download/v0.7.3/wayfire-0.7.3.tar.xz"
-MD5SUM="795c4b2f4051eddaed12d07277371544"
+DOWNLOAD="https://github.com/WayfireWM/wayfire/releases/download/v0.7.4/wayfire-0.7.4.tar.xz"
+MD5SUM="7572a50664303d94bb9eaf3824ea9b1d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="wlroots wf-config"