From mboxrd@z Thu Jan 1 00:00:00 1970 From: Fabian Harfert Subject: [PATCH 5/5] gnu: Add mate-menus. Date: Wed, 10 Feb 2016 00:00:24 +0100 Message-ID: <1455058824-21543-6-git-send-email-fhmgufs@web.de> References: <1455058824-21543-1-git-send-email-fhmgufs@web.de> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44458) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTHGs-0004gg-4o for guix-devel@gnu.org; Tue, 09 Feb 2016 18:00:38 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aTHGn-0008Bf-8e for guix-devel@gnu.org; Tue, 09 Feb 2016 18:00:34 -0500 Received: from mout.web.de ([212.227.17.12]:51691) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTHGm-0008Ax-VC for guix-devel@gnu.org; Tue, 09 Feb 2016 18:00:29 -0500 In-Reply-To: <1455058824-21543-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-menus): New variable. --- gnu/packages/mate.scm | 43 ++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 42 insertions(+), 1 deletion(-) diff --git a/gnu/packages/mate.scm b/gnu/packages/mate.scm index d94d7b7..7f482e9 100644 --- a/gnu/packages/mate.scm +++ b/gnu/packages/mate.scm @@ -30,7 +30,8 @@ #:use-module (gnu packages xorg) #:use-module (gnu packages xdisorg) #:use-module (gnu packages base) - #:use-module (gnu packages xml)) + #:use-module (gnu packages xml) + #:use-module (gnu packages python)) (define-public mate-icon-theme (package @@ -167,3 +168,43 @@ desktop and the mate-about program.") "This library provides acess to weather information from the internet for the MATE desktop environment.") (license license:lgpl2.1+))) + +(define-public mate-menus + (package + (name "mate-menus") + (version "1.12.0") + (source (origin + (method url-fetch) + (uri (string-append "http://pub.mate-desktop.org/releases/" + (version-major+minor version) "/" + name "-" version ".tar.xz")) + (sha256 + (base32 + "1i4m3fj0vd85zyhqhm8x9yr0h5i08aa4l99zqvbk59ncj6z3bdxh")))) + (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))) + (inputs + `(("python" ,python-2))) + (propagated-inputs + `(("glib" ,glib))) + (home-page "https://mate-desktop.org/") + (synopsis "Freedesktop menu specification implementation for MATE") + (description + "The package contains an implementation of the freedesktop menu +specification, the MATE menu layout configuration files, .directory files and +assorted menu related utility programs.") + (license (list license:gpl2+ license:lgpl2.0+)))) -- 2.7.0