From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 9pXbD2er1V7GKwAA0tVLHw (envelope-from ) for ; Tue, 02 Jun 2020 01:29:11 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id uNhlC2er1V78RwAA1q6Kng (envelope-from ) for ; Tue, 02 Jun 2020 01:29:11 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 8983F94030A for ; Tue, 2 Jun 2020 01:29:09 +0000 (UTC) Received: from localhost ([::1]:36068 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jfvjo-0008SW-27 for larch@yhetil.org; Mon, 01 Jun 2020 21:29:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43656) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jfvjj-0008Qq-6Z for guix-patches@gnu.org; Mon, 01 Jun 2020 21:29:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:54143) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jfvji-00083q-SP for guix-patches@gnu.org; Mon, 01 Jun 2020 21:29:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jfvji-0007qs-PP for guix-patches@gnu.org; Mon, 01 Jun 2020 21:29:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#41293] [PATCH 2/3] gnu: Add appstream. Resent-From: Ryan Prior Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 02 Jun 2020 01:29:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41293 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 41293@debbugs.gnu.org Received: via spool by 41293-submit@debbugs.gnu.org id=B41293.159106131530127 (code B ref 41293); Tue, 02 Jun 2020 01:29:02 +0000 Received: (at 41293) by debbugs.gnu.org; 2 Jun 2020 01:28:35 +0000 Received: from localhost ([127.0.0.1]:37451 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jfvj4-0007pX-6F for submit@debbugs.gnu.org; Mon, 01 Jun 2020 21:28:35 -0400 Received: from mail-40134.protonmail.ch ([185.70.40.134]:61987) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jfvj2-0007pK-48 for 41293@debbugs.gnu.org; Mon, 01 Jun 2020 21:28:21 -0400 Date: Tue, 02 Jun 2020 01:28:06 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1591061294; bh=dijR8+hpkWmUb5lNdAkI4nXPLMQwADbp+dtf+P0wbuc=; h=Date:To:From:Reply-To:Subject:In-Reply-To:References:From; b=A2RaJVTXc6PbM+Y9r25i7Dhr73H7EOuHGnUkAaZlF3yb6cHoxSXPrlX+bPn0e/Xad PWV8DoK3JdPpubDOy2tjHVxBpM7dd+ZCksk54YhUylOkivMDNvu4e0HnsmiAarb5ZZ EE1FJKykbDP14xKNiYGWm6eCWiNdHtuUfdXxGf4s= Message-ID: <20200602012736.4292-3-rprior@protonmail.com> In-Reply-To: <20200602012736.4292-1-rprior@protonmail.com> References: <20200602012736.4292-1-rprior@protonmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 1.3 (+) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: 1.0 (+) X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" Reply-to: Ryan Prior , Ryan Prior via Guix-patches From: Ryan Prior via Guix-patches via X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=protonmail.com header.s=protonmail header.b=A2RaJVTX; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Spam-Score: -0.01 X-TUID: L24u9576nhu+ * gnu/packages/freedesktop.scm (appstream): New variable. --- gnu/packages/freedesktop.scm | 59 ++++++++++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm index 90154cbba9..db1b18e4ee 100644 --- a/gnu/packages/freedesktop.scm +++ b/gnu/packages/freedesktop.scm @@ -20,6 +20,7 @@ ;;; Copyright =C2=A9 2020 Jakub K=C4=85dzio=C5=82ka ;;; Copyright =C2=A9 2020 Rene Saavedra ;;; Copyright =C2=A9 2020 Nicol=C3=B2 Balzarotti +;;; Copyright =C2=A9 2020 Ryan Prior ;;; ;;; This file is part of GNU Guix. ;;; @@ -55,8 +56,10 @@ #:use-module (gnu packages bash) #:use-module (gnu packages boost) #:use-module (gnu packages check) + #:use-module (gnu packages cmake) #:use-module (gnu packages compression) #:use-module (gnu packages cryptsetup) + #:use-module (gnu packages databases) #:use-module (gnu packages disk) #:use-module (gnu packages docbook) #:use-module (gnu packages documentation) @@ -1870,3 +1873,59 @@ useful with system integration.") into the Unity menu bar. Based on KSNI, it also works in KDE and will fallback to generic Systray support if none of those are available.") (license license:lgpl2.1+))) + +(define-public appstream + (package + (name "appstream") + (version "0.12.11") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/ximion/appstream.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0ma1nldpc01rr2x14q1ymv2fvf7qcs3wp8fdqsnd17qx0hrz483c")))) + (build-system meson-build-system) + (arguments + `(#:configure-flags + (list "-Dvapi=3Dtrue" + "-Dstemming=3Dfalse" + "-Dapidocs=3Dfalse" + "-Dinstall-docs=3Dfalse") + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'disable-stemmer-inc-dirs + (lambda* (#:key outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out"))) + (substitute* "meson.build" + (("include_directories\\(\\['\\/usr\\/include'\\]\\)") + "''") + (("subdir\\('docs\\/'\\)") + "")) + (substitute* "data/meson.build" + (("\\/etc") + (string-append out "/etc"))) + #t)))))) + (inputs + `(("glib" ,glib) + ("gperf" ,gperf) + ("libsoup" ,libsoup) + ("libxml2" ,libxml2) + ("libxslt" ,libxslt) + ("libyaml" ,libyaml) + ("lmdb" ,lmdb))) + (native-inputs + `(("cmake" ,cmake) + ("gettext" ,gettext-minimal) + ("glib:bin" ,glib "bin") ; for glib-compile-resources + ("gobject-introspection" ,gobject-introspection) + ("pkg-config" ,pkg-config) + ("vala" ,vala))) + (home-page "https://www.freedesktop.org/wiki/Distributions/AppStream/"= ) + (synopsis "Provides the foundation to build software-center applicatio= ns") + (description "AppStream is a cross-distribution effort for enhancing t= he way +we interact with the software repositories provided by GNU/Linux distribut= ions +by standardizing software component metadata.") + (license license:gpl2))) --=20 2.26.2