# HG changeset patch # User Hans-G?nter Theisgen # Date 1620914313 -3600 # Node ID 8685d0e1ac512825a3c8719c810caf26f2bcc4e5 # Parent 7bea68e23e6b89147b399462ddf5364277dbb80e updated i3 and i3-man (4.5.1 -> 4.19.2) diff -r 7bea68e23e6b -r 8685d0e1ac51 i3-man/receipt --- a/i3-man/receipt Mon May 10 20:32:02 2021 +0000 +++ b/i3-man/receipt Thu May 13 14:58:33 2021 +0100 @@ -1,12 +1,13 @@ # SliTaz package receipt. PACKAGE="i3-man" -VERSION="4.5.1" +VERSION="4.19.2" CATEGORY="x-window" -SHORT_DESC="i3 tiling window manager man pages" +SHORT_DESC="i3 tiling window manager - man pages." MAINTAINER="ybringler@gmail.com" LICENSE="BSD" WEB_SITE="https://i3wm.org" + WANTED="i3" # Rules to gen a SliTaz package suitable for Tazpkg. @@ -14,7 +15,5 @@ genpkg_rules() { mkdir -p $fs/usr/share/man - for i in $src/man/*.man; do - cp $i $fs/usr/share/man/raw-${i##*/} - done + cp -a $install/usr/share/man/man1 $fs/usr/share/man } diff -r 7bea68e23e6b -r 8685d0e1ac51 i3/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/i3/description.txt Thu May 13 14:58:33 2021 +0100 @@ -0,0 +1,3 @@ +i3 is a tiling window manager, completely written from scratch. +The target platforms are GNU/Linux and BSD operating systems. +i3 is primarily targeted at advanced users and developers. diff -r 7bea68e23e6b -r 8685d0e1ac51 i3/receipt --- a/i3/receipt Mon May 10 20:32:02 2021 +0000 +++ b/i3/receipt Thu May 13 14:58:33 2021 +0100 @@ -1,30 +1,68 @@ # SliTaz package receipt. PACKAGE="i3" -VERSION="4.5.1" +VERSION="4.19.2" CATEGORY="x-window" -SHORT_DESC="i3 tiling window manager" +SHORT_DESC="i3 tiling window manager." MAINTAINER="ybringler@gmail.com" LICENSE="BSD" WEB_SITE="https://i3wm.org" -TARBALL="$PACKAGE-$VERSION.tar.bz2" + +TARBALL="$PACKAGE-$VERSION.tar.xz" WGET_URL="$WEB_SITE/downloads/$TARBALL" -DEPENDS="libxcb xorg-libXcursor xorg-libX11 yajl libev dmenu \ -startup-notification xcb-util" -BUILD_DEPENDS="make gcc pkg-config xcb-proto libxcb-dev xcb-util-dev \ -libev-dev flex bison yajl t2 docbook-xml xorg-libXcursor-dev xorg-libX11-dev \ -pcre-dev startup-notification-dev xcb-util-keysyms-dev xcb-util-wm-dev pango-dev" +DEPENDS="dmenu gcc83-lib-base libev libxcb libxkbcommon + startup-notification xcb-util xcb-util-cursor xcb-util-image + xcb-util-keysyms xcb-util-renderutil xcb-util-wm xcb-util-xrm + xorg-libX11 xorg-libXcursor yajl" +BUILD_DEPENDS="docbook-xml gcc83 libev-dev libxcb-dev libxkbcommon-dev + meson ninja pango-dev pcre-dev pkg-config startup-notification-dev + xcb-util-cursor-dev xcb-util-dev xcb-util-image-dev + xcb-util-keysyms-dev xcb-util-renderutil-dev xcb-util-wm-dev + xcb-util-xrm-dev xorg-libX11-dev xorg-libXcursor-dev yajl" # Rules to configure and make the package. compile_rules() { - make && make install + export CC=gcc-83 + meson . \ + _build \ + --prefix=/usr && + ninja -C _build && + ninja -C _build install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - cp -a $install/* $fs + mkdir -p $fs/usr/share + + cp -a $install/etc $fs + cp -a $install/usr/bin $fs/usr + cp -a $install/usr/share/applications $fs/usr/share + cp -a $install/usr/share/xsessions $fs/usr/share } + +post_install() +{ + # Add WM to SLIM available sessions. + res=$(cat "$1/etc/slim.conf" | grep ^session | sed s/"sessions. *"//) + if ! echo "$res" | grep -q $PACKAGE + then + echo -n "Adding $PACKAGE to /etc/slim.conf..." + sed -i "s/^sessions.*/sessions ${res},$PACKAGE/" \ + "$1/etc/slim.conf" + status + fi + true +} + +post_remove() +{ + # Remove WM from SLIM available sessions. + if grep -q $PACKAGE "$1/etc/slim.conf" + then + sed -i s/,$PACKAGE// "$1/etc/slim.conf" + fi +}