From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mathieu Lirzin Subject: [PATCH] gnu: Add tint2. Date: Fri, 29 Jul 2016 19:25:59 +0200 Message-ID: <1469813159-8177-1-git-send-email-mthl@gnu.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------2.8.1" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48539) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bTBXw-0004Eb-RS for guix-devel@gnu.org; Fri, 29 Jul 2016 13:26:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bTBXt-0007hG-Jz for guix-devel@gnu.org; Fri, 29 Jul 2016 13:26:04 -0400 Received: from mta-out.u-bordeaux.fr ([147.210.215.83]:38522 helo=v-zimmta03.u-bordeaux.fr) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bTBXt-0007hA-D5 for guix-devel@gnu.org; Fri, 29 Jul 2016 13:26:01 -0400 Received: from v-zimmta03.u-bordeaux.fr (localhost [127.0.0.1]) by v-zimmta03.u-bordeaux.fr (Postfix) with ESMTP id 7A97318016CC for ; Fri, 29 Jul 2016 19:26:00 +0200 (CEST) Received: from localhost.localdomain (81.218.8.109.rev.sfr.net [109.8.218.81]) by v-zimmta03.u-bordeaux.fr (Postfix) with ESMTPSA id 5181B18016CB for ; Fri, 29 Jul 2016 19:26:00 +0200 (CEST) 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 This is a multi-part message in MIME format. --------------2.8.1 Content-Type: text/plain; charset=UTF-8; format=fixed Content-Transfer-Encoding: quoted-printable * gnu/packages/xdisorg.scm (tint2): New variable. --- gnu/packages/xdisorg.scm | 49 ++++++++++++++++++++++++++++++++++++++++++= ++++-- 1 file changed, 47 insertions(+), 2 deletions(-) --------------2.8.1 Content-Type: text/x-patch; name="0001-gnu-Add-tint2.patch" Content-Disposition: inline; filename="0001-gnu-Add-tint2.patch" Content-Transfer-Encoding: quoted-printable diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm index 485bbc4..a3c6c7d 100644 --- a/gnu/packages/xdisorg.scm +++ b/gnu/packages/xdisorg.scm @@ -4,7 +4,7 @@ ;;; Copyright =C2=A9 2014 Eric Bavier ;;; Copyright =C2=A9 2014, 2015, 2016 Alex Kost ;;; Copyright =C2=A9 2013, 2015 Ludovic Court=C3=A8s -;;; Copyright =C2=A9 2015 Mathieu Lirzin +;;; Copyright =C2=A9 2015, 2016 Mathieu Lirzin ;;; Copyright =C2=A9 2015 Alexander I.Grafov ;;; Copyright =C2=A9 2015 Andy Wingo ;;; Copyright =C2=A9 2015 xd1le @@ -48,7 +48,7 @@ #:use-module (gnu packages gettext) #:use-module (gnu packages gl) #:use-module (gnu packages glib) - #:use-module (gnu packages gnome) ;for libgudev + #:use-module (gnu packages gnome) #:use-module (gnu packages ncurses) #:use-module (gnu packages perl) #:use-module (gnu packages python) @@ -976,3 +976,48 @@ connectivity of the X server running on a particular= @code{DISPLAY}.") applications you regularily use and also allows you to search for an app= lication by name.") (license license:expat))) + +(define-public tint2 + (package + (name "tint2") + (version "0.12.11") + (source (origin + (method url-fetch) + (uri (string-append "https://gitlab.com/o9000/" name + "/repository/archive.tar.gz?ref=3D" ve= rsion)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0dv7zaj2ahnfclnwnwcz9arrvzxn65yy29z7fqdgifdh3jk1kl2h"))= )) + (build-system cmake-build-system) + (arguments + '(#:tests? #f ;no test target + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'fix-installation-prefix + (lambda _ + (substitute* "CMakeLists.txt" + (("/etc") "${CMAKE_INSTALL_PREFIX}/etc"))))))) + (inputs + `(("gtk+" ,gtk+-2) + ("imlib2" ,imlib2) + ("librsvg" ,librsvg) + ("libxcomposite" ,libxcomposite) + ("libxdamage" ,libxdamage) + ("libxft" ,libxft) + ("libxinerama" ,libxinerama) + ("libxrandr" ,libxrandr) + ("startup-notification" ,startup-notification))) + (native-inputs + `(("gettext" ,gnu-gettext) + ("pkg-config" ,pkg-config))) + (home-page "https://gitlab.com/o9000/tint2") + (synopsis "Lightweight taskbar") + (description "Tint2 is a simple panel/taskbar made for modern X wind= ow +managers. It was specifically made for Openbox but it should also work = with +other window managers (GNOME, KDE, XFCE etc.). + +The taskbar includes transparency and color settings for the font, icons= , +border, and background. It also supports multihead setups, customized m= ouse +actions, a built-in clock, a battery monitor and a system tray.") + (license license:gpl2))) --------------2.8.1--