From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20=C4=8Cech?= Subject: [PATCH 1/2] gnu: Add wlc. Date: Thu, 25 Aug 2016 21:10:44 +0200 Message-ID: <20160825191045.2449-1-sleep_walker@gnu.org> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41275) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bd03D-0007Kh-7V for guix-devel@gnu.org; Thu, 25 Aug 2016 15:10:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bd038-0008WT-5W for guix-devel@gnu.org; Thu, 25 Aug 2016 15:10:55 -0400 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(wlc): New variable. * gnu/packages/patches/wlc-implement-wlc_view_get_pid.patch: Add it * gnu/local.mk: Add entry for patch above. --- gnu/packages/freedesktop.scm | 41 ++++++++++++++++++++++++++++++++++++++++- 1 file changed, 40 insertions(+), 1 deletion(-) diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm index 67f1e1a..07a6e0b 100644 --- a/gnu/packages/freedesktop.scm +++ b/gnu/packages/freedesktop.scm @@ -27,10 +27,14 @@ #:use-module (guix packages) #:use-module (guix download) #:use-module (guix git-download) + #:use-module (guix build-system cmake) #:use-module (guix build-system gnu) #:use-module (guix build-system python) + #:use-module (gnu packages) + #:use-module (gnu packages gl) #:use-module (gnu packages gnome) #:use-module (gnu packages python) + #:use-module (gnu packages pth) #:use-module (gnu packages linux) #:use-module (gnu packages pkg-config) #:use-module (gnu packages autotools) @@ -51,7 +55,8 @@ #:use-module (gnu packages acl) #:use-module (gnu packages admin) #:use-module (gnu packages polkit) - #:use-module (gnu packages databases)) + #:use-module (gnu packages databases) + #:use-module (gnu packages xdisorg)) (define-public xdg-utils (package @@ -647,3 +652,37 @@ different sorts of messages in different formats.") useful for both applications which need colour management and applications that wish to perform colour calibration.") (license license:lgpl2.1+))) + +(define-public wlc + (package + (name "wlc") + (version "0.0.5") + (source (origin + (method url-fetch) + (uri (string-append + "https://github.com/Cloudef/" name "/releases/download/v" + version "/" name "-" version ".tar.bz2")) + (sha256 + (base32 + "0dmiklis820qzin74f16bmbz1jkjy93r5mix8cqbcqpb9f7qxahp")))) + (build-system cmake-build-system) + (native-inputs + `(("pkg-config" ,pkg-config))) + (inputs + `(("libinput" ,libinput) + ("libx11" ,libx11) + ("libxkbcommon" ,libxkbcommon) + ("mesa" ,mesa) + ("pixman" ,pixman) + ("pth" ,pth) + ("wayland" ,wayland) + ("xcb-util-image" ,xcb-util-image) + ("xcb-util-wm" ,xcb-util-wm) + ("xproto" ,xproto) + ("zlib" ,zlib))) + (synopsis "Wayland Compositor Library") + (home-page "https://github.com/Cloudef/wlc") + (description + "This is wayland compositor library used by several projects like sway, +orbment or Guile-WM.") + (license license:x11))) -- 2.9.2