From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20=C4=8Cech?= Subject: [PATCH 2/2] gnu: Add sway. Date: Thu, 25 Aug 2016 21:10:45 +0200 Message-ID: <20160825191045.2449-2-sleep_walker@gnu.org> References: <20160825191045.2449-1-sleep_walker@gnu.org> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41290) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bd03E-0007Lk-NP for guix-devel@gnu.org; Thu, 25 Aug 2016 15:10:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bd038-00005D-Ly for guix-devel@gnu.org; Thu, 25 Aug 2016 15:10:56 -0400 In-Reply-To: <20160825191045.2449-1-sleep_walker@gnu.org> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org * gnu/packages/freedesktop.scm(sway): New variable. --- gnu/packages/freedesktop.scm | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm index 07a6e0b..597fcaf 100644 --- a/gnu/packages/freedesktop.scm +++ b/gnu/packages/freedesktop.scm @@ -35,6 +35,7 @@ #:use-module (gnu packages gnome) #:use-module (gnu packages python) #:use-module (gnu packages pth) + #:use-module (gnu packages pcre) #:use-module (gnu packages linux) #:use-module (gnu packages pkg-config) #:use-module (gnu packages autotools) @@ -56,6 +57,7 @@ #:use-module (gnu packages admin) #:use-module (gnu packages polkit) #:use-module (gnu packages databases) + #:use-module (gnu packages web) #:use-module (gnu packages xdisorg)) (define-public xdg-utils @@ -686,3 +688,45 @@ wish to perform colour calibration.") "This is wayland compositor library used by several projects like sway, orbment or Guile-WM.") (license license:x11))) + +(define-public sway + (package + (name "sway") + (version "0.9") + (source (origin + (method url-fetch) + (uri (string-append + "https://github.com/SirCmpwn/" name "/archive/" + version ".tar.gz")) + (sha256 + (base32 + "0bgli7scjlvbgas09dx5fnncgda41ssba6fzkw2vyk88pmdgx66w")) + (patches (list (search-patch "sway-debug.patch"))))) + (build-system cmake-build-system) + (arguments + '(#:configure-flags '("-DVERBOSE=1") + #:tests? #f)) ; no 'check' target + (native-inputs + `(("gdk-pixbuf" ,gdk-pixbuf) + ("libxslt" ,libxslt) + ("pkg-config" ,pkg-config) + ("wayland" ,wayland))) + (inputs + `(("asciidoc" ,asciidoc) + ("cairo" ,cairo) + ("docbook-xml" ,docbook-xml) + ("docbook-xsl" ,docbook-xsl) + ("gdk-pixbuf" ,gdk-pixbuf) + ("json-c" ,json-c) + ("libinput" ,libinput) + ("libxkbcommon" ,libxkbcommon) + ("linux-pam" ,linux-pam) + ("pango" ,pango) + ("pcre" ,pcre) + ("wlc" ,wlc))) + (synopsis "Window manager for Wayland, compatible with i3") + (home-page "https://github.com/Cloudef/wlc") + (description + "SirCmpwn's WAYland window manager is work-in-progress i3-compatible +tiling window manager.") + (license license:x11))) -- 2.9.2