From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mekeor Melire Subject: [PATCH] gnu: Add dzen. Date: Tue, 14 Feb 2017 00:28:28 +0100 Message-ID: <20170214002828.4311f801@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52147) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cdQ2t-0003nL-Fu for guix-devel@gnu.org; Mon, 13 Feb 2017 18:28:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cdQ2s-0002cl-3T for guix-devel@gnu.org; Mon, 13 Feb 2017 18:28:35 -0500 Received: from mail-wm0-x243.google.com ([2a00:1450:400c:c09::243]:34753) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cdQ2r-0002cZ-TH for guix-devel@gnu.org; Mon, 13 Feb 2017 18:28:34 -0500 Received: by mail-wm0-x243.google.com with SMTP id c85so767361wmi.1 for ; Mon, 13 Feb 2017 15:28:32 -0800 (PST) Received: from localhost ([2001:a61:2206:1a01:4534:e6a5:4cb1:9249]) by smtp.gmail.com with ESMTPSA id m26sm12471940wrb.68.2017.02.13.15.28.30 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 13 Feb 2017 15:28:30 -0800 (PST) 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 =46rom 04f94c306f99a7bacc96b60ed60e9bb83a9cf767 Mon Sep 17 00:00:00 2001 From: Mekeor Melire Date: Tue, 14 Feb 2017 00:21:08 +0100 Subject: [PATCH] gnu: Add dzen. * gnu/packages/xdisorg.scm (dzen): New variable. --- gnu/packages/xdisorg.scm | 48 ++++++++++++++++++++++++++++++++++++++++++++= ++++ 1 file changed, 48 insertions(+) diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm index 510684a6c..7835c3660 100644 --- a/gnu/packages/xdisorg.scm +++ b/gnu/packages/xdisorg.scm @@ -16,6 +16,7 @@ ;;; Copyright =C2=A9 2016 Alex Kost ;;; Copyright =C2=A9 2016 Marius Bakke ;;; Copyright =C2=A9 2016 Petter +;;; Copyright =C2=A9 2017 Mekeor Melire ;;; ;;; This file is part of GNU Guix. ;;; @@ -36,6 +37,7 @@ #:use-module ((guix licenses) #:prefix license:) #:use-module (guix packages) #:use-module (guix download) + #:use-module (guix git-download) #:use-module (guix utils) #:use-module (guix build-system cmake) #:use-module (guix build-system gnu) @@ -1030,6 +1032,52 @@ border, and background. It also supports multihead = setups, customized mouse actions, a built-in clock, a battery monitor and a system tray.") (license license:gpl2))) =20 +(define-public dzen (package + (name "dzen") + (version "0.9.5") + (synopsis "General purpose messaging, notification and menuing program f= or X11") + (description "Dzen is a general purpose messaging, notification and menu= ing +program for X11. It was designed to be fast, tiny and scriptable in any l= anguage.") + (home-page "https://github.com/robm/dzen") + (license license:x11) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/robm/dzen.git") + (commit "488ab66019f475e35e067646621827c18a879ba1"))) + (file-name (string-append name "-" version)) + (sha256 (base32 + "0y47d6ii87vf4a517gi4fh0yl06f8b085sra77immnsasbq9pxnw")))) + (build-system gnu-build-system) + (native-inputs `(("pkg-config" ,pkg-config))) + (inputs `( + ("libx11" ,libx11) + ("libxft" ,libxft) + ("libxpm" ,libxpm) + ("libxinerama" ,libxinerama))) + (arguments `( + #:tests? #f + ; use our make-flags instead of `config.mk` + #:make-flags (list + (string-append "VERSION =3D " ,version) + (string-append "PREFIX =3D " %output) + "MANPREFIX =3D ${PREFIX}/share/man" + "INCS =3D -I." + "LIBS =3D -lc -lX11 -lXinerama -lXpm $(shell pkg-config --libs x= ft)" + "CFLAGS =3D -Wall -Os ${INCS} -DVERSION=3D\\\"${VERSION}\\\"\ + -DDZEN_XINERAMA -DDZEN_XPM -DDZEN_XFT $(shell pkg-config --c= flags xft)" + "LDFLAGS =3D ${LIBS}" + "CC =3D gcc" + "LD =3D ${CC}") + #:phases (modify-phases + %standard-phases + ; do not `./configure` + (delete 'configure) + ; do not `include config.mk` in `Makefile` + (add-before 'build 'dont-include-config-mk + (lambda* (#:key outputs #:allow-other-keys) + (substitute* "Makefile" (("include config.mk") "")))))))= )) + (define-public xcb-util-xrm (package (name "xcb-util-xrm") --=20 2.11.0