summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre-Antoine Rouby <contact@parouby.fr>2018-04-30 22:55:48 +0200
committerLudovic Courtès <ludo@gnu.org>2018-05-04 15:09:21 +0200
commit70024cfa84477a6fc9f79e4f5dd42a34a06ccf26 (patch)
treeb5c59f04e1bbdcedbb19f07dd1b3684e3c0c403e
parent2d2f98efb36db3f003d950a004806234962b4f4d (diff)
downloadpatches-70024cfa84477a6fc9f79e4f5dd42a34a06ccf26.tar
patches-70024cfa84477a6fc9f79e4f5dd42a34a06ccf26.tar.gz
gnu: Add nitrogen.
* gnu/packages/wm.scm (nitrogen): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
-rw-r--r--gnu/packages/wm.scm45
1 files changed, 45 insertions, 0 deletions
diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm
index c015eda6f1..d60f2c81be 100644
--- a/gnu/packages/wm.scm
+++ b/gnu/packages/wm.scm
@@ -16,6 +16,7 @@
;;; Copyright © 2017 Marius Bakke <mbakke@fastmail.com>
;;; Copyright © 2017 Oleg Pykhalov <go.wigust@gmail.com>
;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr>
+;;; Copyright © 2018 Pierre-Antoine Rouby <contact@parouby.fr>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -960,3 +961,47 @@ It is inspired by Xmonad and dwm. Its major features include:
(description "Cwm is a stacking window manager for X11. It is an OpenBSD
project derived from the original Calm Window Manager.")
(license license:isc)))
+
+(define-public nitrogen
+ (package
+ (name "nitrogen")
+ (version "1.6.1")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "http://github.com/l3ib/nitrogen/"
+ "releases/download/" version "/"
+ name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0zc3fl1mbhq0iyndy4ysmy8vv5c7xwf54rbgamzfhfvsgdq160pl"))))
+ (build-system gnu-build-system)
+ (inputs
+ `(("gtk+" ,gtk+-2)
+ ("gtkmm" ,gtkmm-2)
+ ("glib" ,glib)
+ ("glibmm" ,glibmm)))
+ (native-inputs
+ `(("pkg-config", pkg-config)))
+ (arguments
+ `(#:configure-flags (list
+ (string-append "--prefix=" %output)
+ "CXXFLAGS=-std=c++11")))
+ (home-page "http://projects.l3ib.org/nitrogen/")
+ (synopsis "Background browser and setter for X windows")
+ (description
+ "This package is a background browser and setter for X windows. It's
+features are:
+
+@itemize
+@item Multihead and Xinerama aware
+@item Recall mode to used via startup script
+@item Uses freedesktop.org standard for thumbnails
+@item Can set GNOME background
+@item Command lie set modes for script use
+@item Inotify monitoring of browse directory
+@item Lazy loading of thumbnails - conserves memory
+@item \"Automatic\" set mode - determines best mode to set an image based on
+its size
+@item Display preview images in a tiled icon layout
+@end itemize")
+ (license license:gpl2+)))