unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [PATCH] gnu: Add tint2.
@ 2016-07-29 17:25 Mathieu Lirzin
  2016-07-30  7:43 ` 宋文武
  2016-07-30 22:33 ` Ludovic Courtès
  0 siblings, 2 replies; 4+ messages in thread
From: Mathieu Lirzin @ 2016-07-29 17:25 UTC (permalink / raw)
  To: guix-devel

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


* gnu/packages/xdisorg.scm (tint2): New variable.
---
 gnu/packages/xdisorg.scm | 49 ++++++++++++++++++++++++++++++++++++++++++++++--
 1 file changed, 47 insertions(+), 2 deletions(-)


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-Add-tint2.patch --]
[-- Type: text/x-patch; name="0001-gnu-Add-tint2.patch", Size: 3057 bytes --]

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 © 2014 Eric Bavier <bavier@member.fsf.org>
 ;;; Copyright © 2014, 2015, 2016 Alex Kost <alezost@gmail.com>
 ;;; Copyright © 2013, 2015 Ludovic Courtès <ludo@gnu.org>
-;;; Copyright © 2015 Mathieu Lirzin <mthl@openmailbox.org>
+;;; Copyright © 2015, 2016 Mathieu Lirzin <mthl@gnu.org>
 ;;; Copyright © 2015 Alexander I.Grafov <grafov@gmail.com>
 ;;; Copyright © 2015 Andy Wingo <wingo@igalia.com>
 ;;; Copyright © 2015 xd1le <elisp.vim@gmail.com>
@@ -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 application
 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=" version))
+              (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 window
+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 mouse
+actions, a built-in clock, a battery monitor and a system tray.")
+    (license license:gpl2)))

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] gnu: Add tint2.
  2016-07-29 17:25 [PATCH] gnu: Add tint2 Mathieu Lirzin
@ 2016-07-30  7:43 ` 宋文武
  2016-07-30 22:33 ` Ludovic Courtès
  1 sibling, 0 replies; 4+ messages in thread
From: 宋文武 @ 2016-07-30  7:43 UTC (permalink / raw)
  To: Mathieu Lirzin; +Cc: guix-devel

Mathieu Lirzin <mthl@gnu.org> writes:

> * gnu/packages/xdisorg.scm (tint2): New variable.
> ---
>  gnu/packages/xdisorg.scm | 49 ++++++++++++++++++++++++++++++++++++++++++++++--
>  1 file changed, 47 insertions(+), 2 deletions(-)
Look good, please push!

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] gnu: Add tint2.
  2016-07-29 17:25 [PATCH] gnu: Add tint2 Mathieu Lirzin
  2016-07-30  7:43 ` 宋文武
@ 2016-07-30 22:33 ` Ludovic Courtès
  2016-08-08 20:05   ` Mathieu Lirzin
  1 sibling, 1 reply; 4+ messages in thread
From: Ludovic Courtès @ 2016-07-30 22:33 UTC (permalink / raw)
  To: Mathieu Lirzin; +Cc: guix-devel

Mathieu Lirzin <mthl@gnu.org> skribis:

> +    (synopsis "Lightweight taskbar")

Nitpick: I’d write “task bar” as two words, but I’m conservative.

Ludo’.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] gnu: Add tint2.
  2016-07-30 22:33 ` Ludovic Courtès
@ 2016-08-08 20:05   ` Mathieu Lirzin
  0 siblings, 0 replies; 4+ messages in thread
From: Mathieu Lirzin @ 2016-08-08 20:05 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: guix-devel

ludo@gnu.org (Ludovic Courtès) writes:

> Mathieu Lirzin <mthl@gnu.org> skribis:
>
>> +    (synopsis "Lightweight taskbar")
>
> Nitpick: I’d write “task bar” as two words, but I’m conservative.
>
> Ludo’.

Pushed in commit 751f68717538ae0d145d348fca04aebc713740ac.

-- 
Mathieu Lirzin

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-08-08 20:05 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-29 17:25 [PATCH] gnu: Add tint2 Mathieu Lirzin
2016-07-30  7:43 ` 宋文武
2016-07-30 22:33 ` Ludovic Courtès
2016-08-08 20:05   ` Mathieu Lirzin

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).