From 391f0684ca21f576245e418f87287762ebd1c14d Mon Sep 17 00:00:00 2001 From: Tudor Brindus Date: Thu, 31 Dec 2020 20:31:50 -0500 Subject: [PATCH] add nightly builds section; remove script for sway 1.2 --- Debian-10-(Buster)-Installation.md | 26 ++++++++++++++++---------- 1 file changed, 16 insertions(+), 10 deletions(-) diff --git a/Debian-10-(Buster)-Installation.md b/Debian-10-(Buster)-Installation.md index 9080080..9f8df7e 100644 --- a/Debian-10-(Buster)-Installation.md +++ b/Debian-10-(Buster)-Installation.md @@ -1,14 +1,20 @@ ## Before installing -**Note**: these instructions are community-maintained and are not supported by sway. +**Note**: these instructions are community-maintained and are not supported by the Sway project. This document will guide you through installing Sway on Debian 10 (Buster). -### install Sway 1.2 script +## Nightly builds -If you prefer to just run a script, you can use this gist (which will install Sway 1.2 + additional goodies): . +There exists a [Debian repository](https://apt.quantum2.xyz/sway-utils/) that includes Debian 10-compatible `sway` package which is rebuilt nightly. Run following commands in order to install Sway from the repository: -### install Sway 1.4 +``` +curl https://quantum2.xyz/apt.key | sudo apt-key add - +echo 'deb [arch=amd64] https://apt.quantum2.xyz/sway-utils/ buster main' | sudo tee /etc/apt/sources.list.d/sway-utils.list +sudo apt update +sudo apt install sway +``` +## Sway 1.4 installation from source proceed with the manual steps below for installing sway 1.4. Make sure you have activated the `contrib` and `non-free` apt repositories. @@ -49,13 +55,13 @@ Nevertheless whatever way you choose and you now have meson (>= 0.53.1). Continu ### install 1.4 continued -Create a directory to organise sources: +Create a directory to organize sources: ``` mkdir ~/sway-src ``` -## Install wlroots +### Install wlroots First we'll install [wlroots](https://github.com/swaywm/wlroots) 0.10 with almost all extra dependencies (for now meson have been removed from this install line, it will return as soon as the debian stable (buster) apt meson package have been updated to >=0.53.1): ```` @@ -77,7 +83,7 @@ meson build sudo ninja -C build install ```` -## Install json-c +### Install json-c Debian's json-c version is too old, we need to manually build a newer version: @@ -96,7 +102,7 @@ sudo make install sudo ldconfig ``` -## Install scdoc (optional) +### Install scdoc (optional) scdoc is needed for manual pages generation, which I recommend, but Debian's (stable) scdoc version is also too old, we need to manually build a newer version (or get it via [backports](https://packages.debian.org/buster-backports/scdoc)): @@ -109,7 +115,7 @@ make PREFIX=/usr/local -j$CPUCOUNT sudo make PREFIX=/usr/local install ``` -## Install sway +### Install sway Next we'll install sway 1.4: ```` @@ -123,7 +129,7 @@ meson build sudo ninja -C build install ```` -## Install swaybg +### Install swaybg We need to install swaybg, or else the default configuration won't work: ```