From mboxrd@z Thu Jan 1 00:00:00 1970 From: Fabian Harfert Subject: [PATCH 7/7] gnu: Add mate-panel. Date: Fri, 19 Feb 2016 21:06:21 +0100 Message-ID: <1455912381-25148-7-git-send-email-fhmgufs@web.de> References: <1455912381-25148-1-git-send-email-fhmgufs@web.de> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57219) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWrK3-0006aa-8g for guix-devel@gnu.org; Fri, 19 Feb 2016 15:06:40 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aWrJz-0007er-US for guix-devel@gnu.org; Fri, 19 Feb 2016 15:06:39 -0500 Received: from mout.web.de ([212.227.15.4]:52851) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWrJz-0007ek-L2 for guix-devel@gnu.org; Fri, 19 Feb 2016 15:06:35 -0500 In-Reply-To: <1455912381-25148-1-git-send-email-fhmgufs@web.de> 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-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel@gnu.org * gnu/packages/mate.scm (mate-panel): New variable. --- gnu/packages/mate.scm | 58 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) diff --git a/gnu/packages/mate.scm b/gnu/packages/mate.scm index de4ce21..d61cea9 100644 --- a/gnu/packages/mate.scm +++ b/gnu/packages/mate.scm @@ -424,3 +424,61 @@ MATE desktop environment user session.") "Marco is a simple Gtk+ based window manager used in the MATE desktop environment.") (license (list license:gpl2+ license:lgpl2.0+)))) + +(define-public mate-panel + (package + (name "mate-panel") + (version "1.12.1") + (source (origin + (method url-fetch) + (uri (string-append "http://pub.mate-desktop.org/releases/" + (version-major+minor version) "/" + name "-" version ".tar.xz")) + (sha256 + (base32 + "0i79k9apah79b53jmmk42cgq2a0qv6vwdl7pb1mhdznn0y7hg40d")))) + (build-system gnu-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'fix-introspection-install-dir + (lambda* (#:key outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out"))) + (substitute* '("configure") + (("`\\$PKG_CONFIG --variable=girdir gobject-introspection-1.0`") + (string-append out "\"/share/gir-1.0/\"")) + (("\\$\\(\\$PKG_CONFIG --variable=typelibdir gobject-introspection-1.0\\)") + (string-append out "/lib/girepository-1.0/"))))))))) + (native-inputs + `(("pkg-config" ,pkg-config) + ("intltool" ,intltool) + ("gobject-introspection" ,gobject-introspection) + ("yelp-tools" ,yelp-tools) + ("glib:bin" ,glib "bin"))) + (inputs + `(("dbus-glib" ,dbus-glib) + ("dconf" ,dconf) + ("libwnck" ,libwnck-1) + ("libcanberra-gtk2" ,libcanberra/gtk+-2) + ("libice" ,libice) + ("libmateweather" ,libmateweather) + ("libsm" ,libsm) + ("libsoup" ,libsoup) + ("libxau" ,libxau) + ("libxrandr" ,libxrandr) + ("libxi" ,libxi) + ("mate-menus" ,mate-menus) + ("mate-desktop" ,mate-desktop) + ("python" ,python-2))) + (propagated-inputs + `(("gtk+" ,gtk+-2))) + (home-page "https://mate-desktop.org/") + (synopsis "Launcher and docking facility for MATE") + (description + " The MATE Panel is an essential part of the MATE Desktop, providing +toolbar-like panels which can be attached to the sides of your desktop. They +are used to launch applications and embed a number of other functions, such as +quick launch icons, the clock, the notification area, volume controls and the +battery charge indicator, and utilities ranging from weather forecast to system +monitoring.") + (license (list license:gpl2+ license:lgpl2.0+ license:fdl1.1+)))) -- 1.9.1