From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id SLwmAkcZxF59cwAA0tVLHw (envelope-from ) for ; Tue, 19 May 2020 17:37: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 mp1 with LMTPS id WB10OUYZxF68IwAAbx9fmQ (envelope-from ) for ; Tue, 19 May 2020 17:37:10 +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 57068940B6B for ; Tue, 19 May 2020 17:37:10 +0000 (UTC) Received: from localhost ([::1]:50606 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jb6Av-0006rk-CN for larch@yhetil.org; Tue, 19 May 2020 13:37:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37356) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jb6Ao-0006qT-OW for guix-patches@gnu.org; Tue, 19 May 2020 13:37:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:39304) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jb6Ao-0007YL-FO for guix-patches@gnu.org; Tue, 19 May 2020 13:37:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jb6Ao-0000qL-DE for guix-patches@gnu.org; Tue, 19 May 2020 13:37:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#41293] [PATCH 1/1] gnu: Add appstream. Resent-From: Ryan Prior Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 19 May 2020 17:37: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.15899098033207 (code B ref 41293); Tue, 19 May 2020 17:37:02 +0000 Received: (at 41293) by debbugs.gnu.org; 19 May 2020 17:36:43 +0000 Received: from localhost ([127.0.0.1]:50849 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jb6AV-0000pf-D0 for submit@debbugs.gnu.org; Tue, 19 May 2020 13:36:43 -0400 Received: from mail-40134.protonmail.ch ([185.70.40.134]:56900) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jb6AS-0000pC-Ma for 41293@debbugs.gnu.org; Tue, 19 May 2020 13:36:41 -0400 Date: Tue, 19 May 2020 17:36:28 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1589909794; bh=ndeDZ3e0QYnW4O+r3d5zorK1GM3yQpS2l2pbQ0vvU4o=; h=Date:To:From:Reply-To:Subject:In-Reply-To:References:From; b=R3WHGDwZIWIHHYqBSAVULfjKcG+7phJ13bgFPLkPtclb6OHhIJ2/TeGuqzdRW4fEh D+hFhtquZKOmLOoZZ+JKoBHa56lydO1G8je2EaYwrx7nA29FjLQgU9rzB4SHLFl8LE Mdg04C2M09xUF0IyEyTQHG3oXbWeYSY0mrOlOJoQ= Message-ID: <20200519173617.29250-2-rprior@protonmail.com> In-Reply-To: <20200519173617.29250-1-rprior@protonmail.com> References: <20200519173617.29250-1-rprior@protonmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.7 (-) 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=R3WHGDwZ; 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: pa8U/3RmHZ6p * 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 f00cb1e076..2373cc733c 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) @@ -1874,3 +1877,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