unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Efraim Flashner <efraim@flashner.co.il>
To: "Tomáš Čech" <sleep_walker@gnu.org>
Cc: guix-devel@gnu.org
Subject: Re: [PATCHv2 2/2] gnu: Add sway.
Date: Wed, 7 Sep 2016 15:33:08 +0300	[thread overview]
Message-ID: <20160907123308.GF25070@macbook42.flashner.co.il> (raw)
In-Reply-To: <20160827181710.29345-2-sleep_walker@gnu.org>

[-- Attachment #1: Type: text/plain, Size: 3160 bytes --]

On Sat, Aug 27, 2016 at 08:17:10PM +0200, Tomáš Čech wrote:
> * gnu/packages/freedesktop.scm(sway): New variable.
> ---
>  gnu/packages/freedesktop.scm | 44 ++++++++++++++++++++++++++++++++++++++++++++
>  1 file changed, 44 insertions(+)

here you're missing the patch and registering it in gnu/local.mk

> 
> diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm
> index 0bb87e7..fec7cf5 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 Gram.")
>      (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"))

here you need a (file-name

> +              (patches (list (search-patch "sway-debug.patch")))))
> +    (build-system cmake-build-system)
> +    (arguments
> +     '(#:configure-flags '("-DVERBOSE=1")

I don't think it takes this configure flag.

> +       #: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)))

asciidoc. docbook-* can be native-inputs

> +    (synopsis "Window manager for Wayland, compatible with i3")
> +    (home-page "https://github.com/SirCmpwn/sway")
> +    (description
> +     "SirCmpwn's WAYland window manager is work-in-progress i3-compatible
> +tiling window manager.")
> +    (license license:x11)))
> -- 
> 2.9.2
> 
> 

-- 
Efraim Flashner   <efraim@flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

  reply	other threads:[~2016-09-07 12:33 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-25 19:10 [PATCH 1/2] gnu: Add wlc Tomáš Čech
2016-08-25 19:10 ` [PATCH 2/2] gnu: Add sway Tomáš Čech
2016-08-26 13:34   ` Alex Griffin
2016-08-27 18:17     ` [PATCHv2 1/2] gnu: Add wlc Tomáš Čech
2016-08-27 18:17       ` [PATCHv2 2/2] gnu: Add sway Tomáš Čech
2016-09-07 12:33         ` Efraim Flashner [this message]
2016-09-06  8:07       ` [PATCHv2 1/2] gnu: Add wlc Tomáš Čech
2016-09-07 11:40       ` Efraim Flashner
2016-09-07 11:57         ` David Craven
2016-08-26  8:13 ` [PATCH " Alex Kost
2016-08-26  9:50   ` Tomáš Čech
2016-09-11 10:53     ` ng0

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160907123308.GF25070@macbook42.flashner.co.il \
    --to=efraim@flashner.co.il \
    --cc=guix-devel@gnu.org \
    --cc=sleep_walker@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).