aboutsummaryrefslogtreecommitdiff
path: root/desktop/i3
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/i3')
-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 350415f0b35d..64c5c1cab6ce 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 000000000000..d780aec8d91a
--- /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 5e80e76749dc..5169f2a13dae 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 c0a43c369192..c98c7f2a28da 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"