all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ryan Prior via Guix-patches via <guix-patches@gnu.org>
To: 41293@debbugs.gnu.org
Subject: [bug#41293] Add Pantheon desktop environment (cont.)
Date: Fri, 15 May 2020 20:33:59 +0000	[thread overview]
Message-ID: <87lflt0wgb.fsf@protonmail.com> (raw)
In-Reply-To: <87tv0h0x0k.fsf@protonmail.com>

[-- Attachment #1: Type: text/plain, Size: 60 bytes --]

This patch adds Appstream to gnu/packages/freedesktop.



[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0004-gnu-Add-appstream.patch --]
[-- Type: text/x-diff; name="0004-gnu-Add-appstream.patch", Size: 3632 bytes --]

From 150a9bb0780ac07717245250a4f85c66bf4c8c51 Mon Sep 17 00:00:00 2001
From: Ryan Prior <rprior@protonmail.com>
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 <kuba@kadziolka.net>
 ;;; Copyright © 2020 Rene Saavedra <pacoon@protonmail.com>
 ;;; Copyright © 2020 Nicolò Balzarotti <nicolo@nixo.xyz>
+;;; Copyright © 2020 Ryan Prior <rprior@protonmail.com>
 ;;;
 ;;; 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


  parent reply	other threads:[~2020-05-15 20:35 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-15 20:21 [bug#41293] Add Pantheon desktop environment Ryan Prior via Guix-patches via
2020-05-15 20:31 ` [bug#41293] Add Pantheon desktop environment (cont.) Ryan Prior via Guix-patches via
2020-05-19 10:15   ` Danny Milosavljevic
2020-05-19 11:00     ` Danny Milosavljevic
2020-05-15 20:33 ` Ryan Prior via Guix-patches via
2020-05-19 11:00   ` [bug#41293] Add pantheon-calculator Danny Milosavljevic
2020-05-15 20:33 ` Ryan Prior via Guix-patches via [this message]
2020-05-19 11:08   ` [bug#41293] Add Pantheon desktop environment (cont.) Danny Milosavljevic
2020-05-15 20:34 ` Ryan Prior via Guix-patches via
2020-05-19 10:49   ` [bug#41398] vte Danny Milosavljevic
2020-05-15 20:35 ` [bug#41293] Add Pantheon desktop environment (cont.) Ryan Prior via Guix-patches via
2020-05-19  9:49 ` [bug#41293] Add Pantheon desktop environment Danny Milosavljevic
2020-05-19 17:36 ` [bug#41293] [PATCH 0/1] New Appstream patch Ryan Prior via Guix-patches via
2020-05-19 17:36   ` [bug#41293] [PATCH 1/1] gnu: Add appstream Ryan Prior via Guix-patches via
2020-06-02  1:27 ` [bug#41293] [PATCH 0/3] Updated Pantheon packages Ryan Prior via Guix-patches via
2020-06-02  1:27   ` [bug#41293] [PATCH 1/3] gnu: Add sideload Ryan Prior via Guix-patches via
2020-06-22 19:16     ` Marius Bakke
     [not found]       ` <q1u9-ItoMH27vmYS5ZYMOsQ5VyUDzd_yIVzF8l-cEimP10W5_3kRpiJzdyo8yPBAlaHkZ3sWpGm6S6NNLvoBqguqODLPDMvQzwywN3Hzb9E=@protonmail.com>
2020-06-24 19:39         ` Marius Bakke
2020-06-02  1:28   ` [bug#41293] [PATCH 2/3] gnu: Add appstream Ryan Prior via Guix-patches via
2020-06-22 19:23     ` Marius Bakke
2020-06-02  1:28   ` [bug#41293] [PATCH 3/3] gnu: Add pantheon-terminal Ryan Prior via Guix-patches via
2020-06-22 19:30     ` Marius Bakke
2020-06-18 22:30 ` [bug#41293] Pantheon packages Ryan Prior via Guix-patches via
2020-09-09 20:57   ` Ludovic Courtès
2023-09-11 12:07 ` [bug#41293] [PATCH 1/2] gnu: Add granite-6 altadil via Guix-patches via
2023-09-11 12:07 ` [bug#41293] [PATCH 2/2] gnu: Add pantheon-terminal altadil via Guix-patches via
2023-09-28 16:36   ` bug#41293: " Efraim Flashner
2023-10-01 12:41 ` [bug#41293] [PATCH 1/5] gnu: Add pantheon-stylesheet altadil via Guix-patches via
2023-10-01 12:41 ` [bug#41293] [PATCH 2/5] gnu: Add pantheon-photos altadil via Guix-patches via
2023-10-01 12:41 ` [bug#41293] [PATCH 3/5] gnu: Add pantheon-videos altadil via Guix-patches via
2023-10-01 12:41 ` [bug#41293] [PATCH 4/5] gnu: Add pantheon-iconbrowser altadil via Guix-patches via
2023-10-01 12:42 ` [bug#41293] [PATCH 5/5] gnu: Add pantheon-sound-theme altadil via Guix-patches via

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

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

  git send-email \
    --in-reply-to=87lflt0wgb.fsf@protonmail.com \
    --to=guix-patches@gnu.org \
    --cc=41293@debbugs.gnu.org \
    --cc=rprior@protonmail.com \
    /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 external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.