unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Fabian Harfert <fhmgufs@web.de>
To: guix-devel@gnu.org
Subject: [PATCH 5/5] gnu: Add mate-menus.
Date: Wed, 10 Feb 2016 00:00:24 +0100	[thread overview]
Message-ID: <1455058824-21543-6-git-send-email-fhmgufs@web.de> (raw)
In-Reply-To: <1455058824-21543-1-git-send-email-fhmgufs@web.de>

* 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

  parent reply	other threads:[~2016-02-09 23:00 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-09 23:00 Add some package definitions for MATE Fabian Harfert
2016-02-09 23:00 ` [PATCH 1/5] gnu: Add mate-icon-theme Fabian Harfert
2016-02-11 20:43   ` Efraim Flashner
2016-02-11 21:01     ` Fabian Harfert
2016-02-17 11:25       ` Efraim Flashner
2016-02-09 23:00 ` [PATCH 2/5] gnu: Add mate-themes Fabian Harfert
2016-02-11 20:51   ` Efraim Flashner
2016-02-11 21:03     ` Fabian Harfert
2016-02-17 11:26       ` Efraim Flashner
2016-02-09 23:00 ` [PATCH 3/5] gnu: Add mate-desktop Fabian Harfert
2016-02-17 11:26   ` Efraim Flashner
2016-02-09 23:00 ` [PATCH 4/5] gnu: Add libmateweather Fabian Harfert
2016-02-17 11:26   ` Efraim Flashner
2016-02-09 23:00 ` Fabian Harfert [this message]
2016-02-17 11:36   ` [PATCH 5/5] gnu: Add mate-menus Efraim Flashner
2016-02-17 13:26     ` Fabian Harfert

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1455058824-21543-6-git-send-email-fhmgufs@web.de \
    --to=fhmgufs@web.de \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).