aboutsummaryrefslogtreecommitdiff
path: root/desktop/i3
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/i3')
-rw-r--r--desktop/i3/README7
-rw-r--r--desktop/i3/i3.SlackBuild28
-rw-r--r--desktop/i3/i3.info8
3 files changed, 29 insertions, 14 deletions
diff --git a/desktop/i3/README b/desktop/i3/README
index 6475beb284962..350415f0b35dd 100644
--- a/desktop/i3/README
+++ b/desktop/i3/README
@@ -7,9 +7,4 @@ 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.
-Please be aware that i3 is primarily targeted at advanced users and
-developers.
-
-i3status is optional, but useful to provide a system status
-bar. As of v4.8 there is the optional dependencies perl-AnyEvent-I3.
-It is required for i3's new layout saving/restoring features.
+i3status is optional, but useful to provide a system status bar.
diff --git a/desktop/i3/i3.SlackBuild b/desktop/i3/i3.SlackBuild
index 0b1c24dc86bb9..e278d19a6145d 100644
--- a/desktop/i3/i3.SlackBuild
+++ b/desktop/i3/i3.SlackBuild
@@ -26,7 +26,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=i3
-VERSION=${VERSION:-4.14}
+VERSION=${VERSION:-4.14.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -108,9 +108,6 @@ mkdir -p $PKG/etc/X11/xinit
cat $CWD/xinitrc.i3 > $PKG/etc/X11/xinit/xinitrc.i3
chmod 0755 $PKG/etc/X11/xinit/xinitrc.i3
-# man pages
-find $PKG/usr/man -type f -exec gzip -9 {} +
-
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/html $PKG/usr/doc/$PRGNAM-$VERSION/txt
cp -a DEPENDS LICENSE RELEASE-NOTES-* $PKG/usr/doc/$PRGNAM-$VERSION
cp -a docs/* $PKG/usr/doc/$PRGNAM-$VERSION/txt
@@ -118,6 +115,29 @@ cp -a docs/* $PKG/usr/doc/$PRGNAM-$VERSION/txt
mv *.html *.png *.css ../html/
rm i3-pod2html *.conf *.dia
)
+
+cd AnyEvent-I3
+
+perl Makefile.PL \
+ PREFIX=/usr \
+ INSTALLDIRS=vendor \
+ INSTALLVENDORMAN1DIR=/usr/man/man1 \
+ INSTALLVENDORMAN3DIR=/usr/man/man3
+make
+make test
+make install DESTDIR=$PKG
+
+find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/AnyEvent-I3
+cp -a Changes README MANIFEST $PKG/usr/doc/$PRGNAM-$VERSION/AnyEvent-I3/
+
+# man pages
+find $PKG/usr/man -type f -exec gzip -9 {} +
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+
+find $PKG -depth -type d -empty -delete || true
+
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/desktop/i3/i3.info b/desktop/i3/i3.info
index f07d41fc805df..11d28cefd36f1 100644
--- a/desktop/i3/i3.info
+++ b/desktop/i3/i3.info
@@ -1,10 +1,10 @@
PRGNAM="i3"
-VERSION="4.14"
+VERSION="4.14.1"
HOMEPAGE="http://www.i3wm.org"
-DOWNLOAD="http://i3wm.org/downloads/i3-4.14.tar.bz2"
-MD5SUM="ad134ada9972943b799feaddfb1f3121"
+DOWNLOAD="http://i3wm.org/downloads/i3-4.14.1.tar.bz2"
+MD5SUM="0f4eec9e5a9f7be060bda41206b13f87"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="dmenu libev libxkbcommon xcb-util-xrm yajl"
+REQUIRES="dmenu libev libxkbcommon xcb-util-xrm yajl perl-JSON-XS perl-AnyEvent"
MAINTAINER="Johannes Schoepfer"
EMAIL="slackbuilds[at]schoepfer[dot]info"