summaryrefslogtreecommitdiffstats
path: root/desktop
diff options
context:
space:
mode:
author Emmanuel N. Millan2020-09-26 05:10:35 +0200
committer Willy Sudiarto Raharjo2020-09-26 11:10:53 +0200
commite0d3a41305733d7b030d53bbb31fbf66fa9ca3ca (patch)
treef5b20bdffa451e88c6910af8da783b26d5591e03 /desktop
parent04134aa9dd3430b7208856c46c9fcf3688a31560 (diff)
downloadslackbuilds-e0d3a41305733d7b030d53bbb31fbf66fa9ca3ca.tar.gz
desktop/i3: Updated for version 4.18.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/i3/README6
-rw-r--r--desktop/i3/add_HAVE_strndup.diff11
-rw-r--r--desktop/i3/i3.SlackBuild6
-rw-r--r--desktop/i3/i3.info6
4 files changed, 22 insertions, 7 deletions
diff --git a/desktop/i3/README b/desktop/i3/README
index 350415f0b3..64c5c1cab6 100644
--- a/desktop/i3/README
+++ b/desktop/i3/README
@@ -3,8 +3,8 @@ i3 is a tiling window manager, completely written from scratch.
i3 was created because wmii, our favorite window manager at the time,
didn't provide some features we wanted (multi-monitor done right,
for example), had some bugs, didn't progress since quite some time and
-wasn't easy to hack at all (source code comments/documentation completely
-lacking). Still, we think the wmii developers and contributors did a
-great job. Thank you for inspiring us to create i3.
+wasn't easy to hack at all (source code comments/documentation
+completely lacking). Still, we think the wmii developers and
+contributors did a great job. Thank you for inspiring us to create i3.
i3status is optional, but useful to provide a system status bar.
diff --git a/desktop/i3/add_HAVE_strndup.diff b/desktop/i3/add_HAVE_strndup.diff
new file mode 100644
index 0000000000..d780aec8d9
--- /dev/null
+++ b/desktop/i3/add_HAVE_strndup.diff
@@ -0,0 +1,11 @@
+--- include/libi3.h 2020-07-26 05:11:37.000000000 -0300
++++ include/libi3.h 2020-09-20 18:15:40.063201808 -0300
+@@ -341,6 +341,8 @@
+ */
+ uint32_t get_colorpixel(const char *hex) __attribute__((const));
+
++#define HAVE_strndup 1
++
+ #ifndef HAVE_strndup
+ /**
+ * Taken from FreeBSD
diff --git a/desktop/i3/i3.SlackBuild b/desktop/i3/i3.SlackBuild
index 5e80e76749..5169f2a13d 100644
--- a/desktop/i3/i3.SlackBuild
+++ b/desktop/i3/i3.SlackBuild
@@ -27,7 +27,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=i3
-VERSION=${VERSION:-4.17.1}
+VERSION=${VERSION:-4.18.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -72,6 +72,10 @@ find -L . \
-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 {} \;
+
+autoreconf -fi
+
+cat ${CWD}/add_HAVE_strndup.diff | patch -p0 || exit
mkdir -p build
( cd build
diff --git a/desktop/i3/i3.info b/desktop/i3/i3.info
index c0a43c3691..c98c7f2a28 100644
--- a/desktop/i3/i3.info
+++ b/desktop/i3/i3.info
@@ -1,8 +1,8 @@
PRGNAM="i3"
-VERSION="4.17.1"
+VERSION="4.18.2"
HOMEPAGE="https://www.i3wm.org"
-DOWNLOAD="https://i3wm.org/downloads/i3-4.17.1.tar.bz2"
-MD5SUM="e550959e0900087b43fb366c35c2ed8b"
+DOWNLOAD="https://i3wm.org/downloads/i3-4.18.2.tar.bz2"
+MD5SUM="7d9d059c32b31ef90d48fed5338dd6cc"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="dmenu libev libxkbcommon xcb-util-xrm yajl perl-JSON-XS perl-AnyEvent"