From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mathieu Lirzin Subject: [PATCH 2/7] gnu: Add menu-cache. Date: Thu, 16 Jul 2015 12:19:15 +0200 Message-ID: <1437041960-5189-3-git-send-email-mthl@openmailbox.org> References: <1437041960-5189-1-git-send-email-mthl@openmailbox.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------2.1.4" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37475) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZFgIy-0008V3-TI for guix-devel@gnu.org; Thu, 16 Jul 2015 06:22:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZFgIu-0007wv-T6 for guix-devel@gnu.org; Thu, 16 Jul 2015 06:22:16 -0400 Received: from smtp2.openmailbox.org ([62.4.1.36]:33921) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZFgIu-0007wa-NK for guix-devel@gnu.org; Thu, 16 Jul 2015 06:22:12 -0400 Received: from localhost (localhost [127.0.0.1]) by mail2.openmailbox.org (Postfix) with ESMTP id 0A62B202294 for ; Thu, 16 Jul 2015 12:22:12 +0200 (CEST) In-Reply-To: <1437041960-5189-1-git-send-email-mthl@openmailbox.org> 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 This is a multi-part message in MIME format. --------------2.1.4 Content-Type: text/plain; charset=UTF-8; format=fixed Content-Transfer-Encoding: quoted-printable * gnu/packages/lxde.scm (menu-cache): New variable. --- gnu/packages/lxde.scm | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) --------------2.1.4 Content-Type: text/x-patch; name="0002-gnu-Add-menu-cache.patch" Content-Disposition: inline; filename="0002-gnu-Add-menu-cache.patch" Content-Transfer-Encoding: quoted-printable diff --git a/gnu/packages/lxde.scm b/gnu/packages/lxde.scm index 29e1f36..1d3a9ea 100644 --- a/gnu/packages/lxde.scm +++ b/gnu/packages/lxde.scm @@ -24,7 +24,8 @@ #:use-module (guix build-system gnu) #:use-module (guix download) #:use-module ((guix licenses) #:prefix license:) - #:use-module (guix packages)) + #:use-module (guix packages) + #:use-module (guix utils)) =20 (define-public libfm-extra (package @@ -72,4 +73,26 @@ able to change themes, icons, and fonts used by GTK+ a= pplications.") (home-page "http://lxde.org") (license license:gpl2+))) =20 +(define-public menu-cache + (package + (name "menu-cache") + (version "1.0.0") + (source (origin + (method url-fetch) + (uri (string-append "mirror://sourceforge/project/lxde/" n= ame "/" + (version-major+minor version) "/" + name "-" version ".tar.xz")) + (sha256 + (base32 + "1bws84fiwk3anp30hcr0lw1xw5cgp44x5ik2yv2ijcgxpcvz8zgz"))= )) + (build-system gnu-build-system) + (inputs `(("glib" ,glib) + ("libfm" ,libfm-extra))) + (native-inputs `(("pkg-config" ,pkg-config))) + (synopsis "LXDE implementation of the freedesktop menu's cache") + (description "Menu-cache is a library creating and utilizing caches = to +speed up the access to freedesktop.org defined application menus.") + (home-page "http://lxde.org") + (license license:lgpl2.1+))) + ;;; lxde.scm ends here --------------2.1.4--