* [PATCH 1/2] gnu: sxhkd: New variable.
2015-10-10 11:06 ` [PATCH 0/2] Add sxhkd and bspwm xd1le
@ 2015-10-10 11:06 ` xd1le
2015-10-10 11:06 ` [PATCH 2/2] gnu: bspwm: " xd1le
` (2 subsequent siblings)
3 siblings, 0 replies; 11+ messages in thread
From: xd1le @ 2015-10-10 11:06 UTC (permalink / raw)
To: guix-devel, alezost
* gnu/packages/xdisorg.scm (sxhkd): New variable.
---
gnu/packages/xdisorg.scm | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm
index 96e7c3a..40dbef6 100644
--- a/gnu/packages/xdisorg.scm
+++ b/gnu/packages/xdisorg.scm
@@ -7,6 +7,7 @@
;;; Copyright © 2015 Mathieu Lirzin <mthl@openmailbox.org>
;;; Copyright © 2015 Alexander I.Grafov <grafov@gmail.com>
;;; Copyright © 2015 Andy Wingo <wingo@igalia.com>
+;;; Copyright © 2015 xd1le <elisp.vim@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -32,6 +33,7 @@
#:use-module (guix build-system glib-or-gtk)
#:use-module (guix build-system python)
#:use-module (gnu packages)
+ #:use-module (gnu packages asciidoc)
#:use-module (gnu packages compression)
#:use-module (gnu packages image)
#:use-module (gnu packages pkg-config)
@@ -492,6 +494,38 @@ clicks or timed double clicks take actions. Also all functions that work in
Guile will work for XBindKeys.")
(license license:gpl2+)))
+(define-public sxhkd
+ (package
+ (name "sxhkd")
+ (version "0.5.5")
+ (source
+ (origin
+ (file-name (string-append name "-" version ".tar.gz"))
+ (method url-fetch)
+ (uri (string-append
+ "https://github.com/baskerville/sxhkd/archive/"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "04s3y2bq9502gw72jj3y2zsh96yj3qg2av3zsa8ahd2farvrysg6"))))
+ (build-system gnu-build-system)
+ (inputs
+ `(("asciidoc" ,asciidoc)
+ ("libxcb" ,libxcb)
+ ("xcb-util" ,xcb-util)
+ ("xcb-util-keysyms" ,xcb-util-keysyms)
+ ("xcb-util-wm" ,xcb-util-wm)))
+ (arguments
+ '(#:phases (alist-delete 'configure %standard-phases)
+ #:tests? #f ;; No tests.
+ #:make-flags (list "CC=gcc" (string-append
+ "PREFIX=" (assoc-ref %outputs "out")))))
+ (home-page "https://github.com/baskerville/sxhkd")
+ (synopsis "Simple X hotkey daemon")
+ (description "sxhkd is a simple X hotkey daemon with a powerful and
+compact configuration syntax.")
+ (license license:bsd-2)))
+
(define-public rxvt-unicode
(package
(name "rxvt-unicode")
--
2.5.2
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [PATCH 2/2] gnu: bspwm: New variable.
2015-10-10 11:06 ` [PATCH 0/2] Add sxhkd and bspwm xd1le
2015-10-10 11:06 ` [PATCH 1/2] gnu: sxhkd: New variable xd1le
@ 2015-10-10 11:06 ` xd1le
2015-10-11 8:19 ` [PATCH 0/2] Add sxhkd and bspwm Alex Kost
2015-10-16 16:57 ` Alex Kost
3 siblings, 0 replies; 11+ messages in thread
From: xd1le @ 2015-10-10 11:06 UTC (permalink / raw)
To: guix-devel, alezost
* gnu/packages/wm.scm (bspwm): New variable.
---
gnu/packages/wm.scm | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm
index 9ca5b96..fe7d540 100644
--- a/gnu/packages/wm.scm
+++ b/gnu/packages/wm.scm
@@ -2,6 +2,7 @@
;;; Copyright © 2015 Eric Dvorsak <eric@dvorsak.fr>
;;; Copyright © 2015 Siniša Biđin <sinisa@bidin.eu>
;;; Copyright © 2015 Eric Bavier <bavier@member.fsf.org>
+;;; Copyright © 2015 xd1le <elisp.vim@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -64,6 +65,39 @@ single/double-quoted strings, environment variable expansion, functions and
nested include statements).")
(license isc)))
+(define-public bspwm
+ (package
+ (name "bspwm")
+ (version "0.9")
+ (source
+ (origin
+ (file-name (string-append name "-" version ".tar.gz"))
+ (method url-fetch)
+ (uri (string-append
+ "https://github.com/baskerville/bspwm/archive/"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "1pig0h2jk8wipyz90j69c4bk37bfyq60asnn0v0bqld2p2vjvyqy"))))
+ (build-system gnu-build-system)
+ (inputs
+ `(("libxcb" ,libxcb)
+ ("libxinerama" ,libxinerama)
+ ("sxhkd" ,sxhkd)
+ ("xcb-util" ,xcb-util)
+ ("xcb-util-keysyms" ,xcb-util-keysyms)
+ ("xcb-util-wm" ,xcb-util-wm)))
+ (arguments
+ '(#:phases (alist-delete 'configure %standard-phases)
+ #:tests? #f ;; No tests.
+ #:make-flags (list "CC=gcc" (string-append
+ "PREFIX=" (assoc-ref %outputs "out")))))
+ (home-page "https://github.com/baskerville/bspwm")
+ (synopsis "Tiling window manager based on binary space partitioning")
+ (description "bspwm is a tiling window manager that represents windows as
+the leaves of a full binary tree.")
+ (license bsd-2)))
+
(define-public i3status
(package
(name "i3status")
--
2.5.2
^ permalink raw reply related [flat|nested] 11+ messages in thread
* Re: [PATCH 0/2] Add sxhkd and bspwm.
2015-10-10 11:06 ` [PATCH 0/2] Add sxhkd and bspwm xd1le
2015-10-10 11:06 ` [PATCH 1/2] gnu: sxhkd: New variable xd1le
2015-10-10 11:06 ` [PATCH 2/2] gnu: bspwm: " xd1le
@ 2015-10-11 8:19 ` Alex Kost
2015-10-11 8:54 ` Efraim Flashner
2015-10-16 16:57 ` Alex Kost
3 siblings, 1 reply; 11+ messages in thread
From: Alex Kost @ 2015-10-11 8:19 UTC (permalink / raw)
To: xd1le; +Cc: guix-devel
xd1le (2015-10-10 14:06 +0300) wrote:
>> Also was it intended to use "rws" as the Author name? If not, then
>> please configure your git to use a name you want.
>
> Well yes, I don't want to use my real name. I changed it my irc nick, is that
> okay?
Okay for me, but I don't know what the others think, as you will be the
first, who would like to use just a nickname.
>> Unlike the previous package, here it should be (license license:bsd-2).
>> As you can see in (gnu packages xdisorg), (guix licenses) module is used
>> with "#:prefix license:".
>
> So what's the purpose of the prefix? (Just to learn.)
To avoid conflicts. For example, both (gnu packages compression) and
(guix licenses) modules export 'zlib' variables, so we need to
distinguish them somehow. That's why there is a prefix: just 'zlib'
means a package and 'license:zlib' means a license.
[...]
> gnu: sxhkd: New variable.
> gnu: bspwm: New variable.
Sorry, I didn't mean that the first lines should also be changed. So a
full commit message would be:
--8<---------------cut here---------------start------------->8---
gnu: Add sxhkd.
* gnu/packages/xdisorg.scm (sxhkd): New variable.
--8<---------------cut here---------------end--------------->8---
No need to resend the patches, I will fix it and push soon if there will
be no other comments.
--
Alex
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH 0/2] Add sxhkd and bspwm.
2015-10-11 8:19 ` [PATCH 0/2] Add sxhkd and bspwm Alex Kost
@ 2015-10-11 8:54 ` Efraim Flashner
0 siblings, 0 replies; 11+ messages in thread
From: Efraim Flashner @ 2015-10-11 8:54 UTC (permalink / raw)
To: Alex Kost; +Cc: guix-devel
[-- Attachment #1: Type: text/plain, Size: 1006 bytes --]
On Sun, 11 Oct 2015 11:19:02 +0300
Alex Kost <alezost@gmail.com> wrote:
> xd1le (2015-10-10 14:06 +0300) wrote:
>
> >> Also was it intended to use "rws" as the Author name? If not, then
> >> please configure your git to use a name you want.
> >
> > Well yes, I don't want to use my real name. I changed it my irc nick, is
> > that okay?
>
> Okay for me, but I don't know what the others think, as you will be the
> first, who would like to use just a nickname.
>
We're not signing commits so the name doesn't need to match a GPG key, and it
makes sense to me that each person should have one "commit name" so their
contributions can be kept track of (like we have with the .mailmap file), and
it would be nice to have a working email address that won't expire too soon.
--
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: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH 0/2] Add sxhkd and bspwm.
2015-10-10 11:06 ` [PATCH 0/2] Add sxhkd and bspwm xd1le
` (2 preceding siblings ...)
2015-10-11 8:19 ` [PATCH 0/2] Add sxhkd and bspwm Alex Kost
@ 2015-10-16 16:57 ` Alex Kost
2015-10-17 0:51 ` RW. S
3 siblings, 1 reply; 11+ messages in thread
From: Alex Kost @ 2015-10-16 16:57 UTC (permalink / raw)
To: xd1le; +Cc: guix-devel
xd1le (2015-10-10 14:06 +0300) wrote:
> xd1le (2):
> gnu: sxhkd: New variable.
> gnu: bspwm: New variable.
>
> gnu/packages/wm.scm | 34 ++++++++++++++++++++++++++++++++++
> gnu/packages/xdisorg.scm | 34 ++++++++++++++++++++++++++++++++++
> 2 files changed, 68 insertions(+)
Since there were no other comments, I have pushed these patches (with
slight modifications). Thank you!
--
Alex
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH 0/2] Add sxhkd and bspwm.
2015-10-16 16:57 ` Alex Kost
@ 2015-10-17 0:51 ` RW. S
0 siblings, 0 replies; 11+ messages in thread
From: RW. S @ 2015-10-17 0:51 UTC (permalink / raw)
To: Alex Kost; +Cc: guix-devel
Awesome! Thanks! :)
On Sat, Oct 17, 2015 at 3:57 AM, Alex Kost <alezost@gmail.com> wrote:
> xd1le (2015-10-10 14:06 +0300) wrote:
>
>> xd1le (2):
>> gnu: sxhkd: New variable.
>> gnu: bspwm: New variable.
>>
>> gnu/packages/wm.scm | 34 ++++++++++++++++++++++++++++++++++
>> gnu/packages/xdisorg.scm | 34 ++++++++++++++++++++++++++++++++++
>> 2 files changed, 68 insertions(+)
>
> Since there were no other comments, I have pushed these patches (with
> slight modifications). Thank you!
>
> --
> Alex
--
https://keybase.io/rws
^ permalink raw reply [flat|nested] 11+ messages in thread