From patchwork Fri May 15 20:33:59 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: "vasilii.smirnov--- via Guix-patches\" via" X-Patchwork-Id: 22093 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 1AB2F27BBE3; Fri, 15 May 2020 21:35:08 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, FREEMAIL_FROM,MAILING_LIST_MULTI,T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 99D8127BBE1 for ; Fri, 15 May 2020 21:35:07 +0100 (BST) Received: from localhost ([::1]:34544 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jZh2x-0000Zo-6z for patchwork@mira.cbaines.net; Fri, 15 May 2020 16:35:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38196) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jZh2s-0000Ze-0v for guix-patches@gnu.org; Fri, 15 May 2020 16:35:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:55565) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jZh2r-00025G-Nm for guix-patches@gnu.org; Fri, 15 May 2020 16:35:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jZh2r-0000Qb-LI for guix-patches@gnu.org; Fri, 15 May 2020 16:35:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#41293] Add Pantheon desktop environment (cont.) References: <87tv0h0x0k.fsf@protonmail.com> In-Reply-To: <87tv0h0x0k.fsf@protonmail.com> Resent-From: Ryan Prior Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 15 May 2020 20:35:01 +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.15895748501583 (code B ref 41293); Fri, 15 May 2020 20:35:01 +0000 Received: (at 41293) by debbugs.gnu.org; 15 May 2020 20:34:10 +0000 Received: from localhost ([127.0.0.1]:38877 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jZh22-0000PS-G8 for submit@debbugs.gnu.org; Fri, 15 May 2020 16:34:10 -0400 Received: from mail-40131.protonmail.ch ([185.70.40.131]:55686) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jZh20-0000PF-Gi for 41293@debbugs.gnu.org; Fri, 15 May 2020 16:34:09 -0400 Date: Fri, 15 May 2020 20:33:59 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1589574842; bh=ZtmZpBcORlra9ynCFybhG3KCgW4Ee5soapVu7uoeAhA=; h=Date:To:From:Reply-To:Subject:From; b=Vr03RmnposoVggVE4guA6t9K6XGkP8UbKFFbOLi1DhCdjcVCaMIJu3heTrOJ/L9dM Oe3btZZpLsWhobnISLx6Rew413gYHrc0jppYCENqu3xv1h5B15PNl9yJE0sLFXl4wN ngQAVLv/VBm2AUELBLoDc+amzD8oJgNHXyQWYULc= Message-ID: <87lflt0wgb.fsf@protonmail.com> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: Ryan Prior , Ryan Prior via Guix-patches X-Patchwork-Original-From: Ryan Prior via Guix-patches via From: "vasilii.smirnov--- via Guix-patches\" via" X-getmail-retrieved-from-mailbox: Patches This patch adds Appstream to gnu/packages/freedesktop. From 150a9bb0780ac07717245250a4f85c66bf4c8c51 Mon Sep 17 00:00:00 2001 From: Ryan Prior Date: Fri, 15 May 2020 15:03:51 -0500 Subject: [PATCH 4/6] gnu: Add appstream. * gnu/packages/freedesktop.scm (appstream): New variable. --- gnu/packages/freedesktop.scm | 58 ++++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm index f00cb1e076..312cc16e0a 100644 --- a/gnu/packages/freedesktop.scm +++ b/gnu/packages/freedesktop.scm @@ -20,6 +20,7 @@ ;;; Copyright © 2020 Jakub Kądziołka ;;; Copyright © 2020 Rene Saavedra ;;; Copyright © 2020 Nicolò Balzarotti +;;; Copyright © 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,58 @@ 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.10") + (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 + "1r4q7xi1xvpjcnyzkzb4pshhvd4agz7cc5nbb3kqb22054zab2qj")))) + (build-system meson-build-system) + (arguments + `(#:configure-flags + (list "-Dvapi=true" + "-Dstemming=false" + "-Dapidocs=false" + "-Dinstall-docs=false") + #: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)))))) + (native-inputs + `(("libxml2" ,libxml2) + ("gettext" ,gettext-minimal) + ("libxslt" ,libxslt) + ("glib2" ,glib) + ("glib:bin" ,glib "bin") ; for glib-compile-resources + ("pkg-config" ,pkg-config) + ("libsoup" ,libsoup) + ("gobject-introspection" ,gobject-introspection) + ("libyaml" ,libyaml) + ("vala" ,vala) + ("gperf" ,gperf) + ("cmake" ,cmake) + ("lmdb" ,lmdb))) + (home-page "https://www.freedesktop.org/wiki/Distributions/AppStream/") + (synopsis "Provides the foundation to build software-center applications") + (description "AppStream is a cross-distribution effort for enhancing the way +we interact with the software repositories provided by GNU/Linux distributions +by standardizing software component metadata.") + (license license:gpl2))) -- 2.17.1