unofficial mirror of guix-patches@gnu.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:31:46 +0000	[thread overview]
Message-ID: <87r1vl0wk3.fsf@protonmail.com> (raw)
In-Reply-To: <87tv0h0x0k.fsf@protonmail.com>

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

This patch adds the Sideload application, a graphical handler for
flatpakrefs.



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

From 855797d1a637f342c43ac663e07c8bdcd642607b Mon Sep 17 00:00:00 2001
From: Ryan Prior <rprior@protonmail.com>
Date: Fri, 15 May 2020 14:56:34 -0500
Subject: [PATCH 2/6] gnu: Add sideload.

* gnu/packages/pantheon.scm (sideload): New variable.
---
 gnu/packages/pantheon.scm | 57 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 57 insertions(+)

diff --git a/gnu/packages/pantheon.scm b/gnu/packages/pantheon.scm
index 834ea74f37..a5ee6fafce 100644
--- a/gnu/packages/pantheon.scm
+++ b/gnu/packages/pantheon.scm
@@ -17,11 +17,15 @@
 ;;; along with GNU Guix.  If not, see <http://www.gnu.org/licenses/>.
 
 (define-module (gnu packages pantheon)
+  #:use-module (gnu packages cmake)
+  #:use-module (gnu packages freedesktop)
   #:use-module (gnu packages gettext)
   #:use-module (gnu packages glib)
   #:use-module (gnu packages gnome)
   #:use-module (gnu packages gtk)
+  #:use-module (gnu packages package-management)
   #:use-module (gnu packages pkg-config)
+  #:use-module (gnu packages xml)
   #:use-module (gnu packages)
   #:use-module (guix build-system meson)
   #:use-module (guix git-download)
@@ -59,3 +63,56 @@
 things, it provides complex widgets and convenience functions designed for use
 in apps built for the Pantheon desktop.")
     (license license:lgpl3+)))
+
+(define-public sideload
+  (package
+    (name "sideload")
+    (version "1.1.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/elementary/sideload.git")
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32
+         "1nnaq4vc0aag6pckxhrma5qv8al7i00rrlg95ac4iqqmivja7i92"))))
+    (build-system meson-build-system)
+    (arguments
+     `(#:glib-or-gtk? #t
+       #:configure-flags (list (string-append "-Dflatpak="
+                                              (assoc-ref %build-inputs "flatpak")
+                                              "/include"))
+       #:phases
+       (modify-phases %standard-phases
+         (add-after 'install 'install-symlinks
+           (lambda* (#:key outputs #:allow-other-keys)
+             (let* ((out (assoc-ref outputs "out"))
+                    (bin (string-append out "/bin/io.elementary.sideload"))
+                    (link (string-append out "/bin/sideload")))
+               (symlink bin link)))))))
+    (inputs
+     `(("flatpak" ,flatpak)
+       ("granite" ,granite)
+       ("gtk" ,gtk+)
+       ("libostree" ,libostree)))
+    (propagated-inputs
+     `(("glib-networking" ,glib-networking)))
+    (native-inputs
+     `(("cmake" ,cmake)
+       ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
+       ("gettext" ,gettext-minimal)
+       ("glib" ,glib)
+       ("glib:bin" ,glib "bin")
+       ("gobject-introspection" ,gobject-introspection)
+       ("libgee" ,libgee)
+       ("libxml2" ,libxml2)
+       ("pkg-config" ,pkg-config)
+       ("vala" ,vala)))
+    (home-page "https://github.com/elementary/sideload")
+    (synopsis "Graphical application to side-load Flatpaks")
+    (description "Sideload handles flatpakref files, like those you might find
+on Flathub or another third-party website providing a Flatpak app for
+download.")
+    (license license:gpl3)))
-- 
2.17.1


  reply	other threads:[~2020-05-15 20:33 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 ` Ryan Prior via Guix-patches via [this message]
2020-05-19 10:15   ` [bug#41293] Add Pantheon desktop environment (cont.) 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 ` [bug#41293] Add Pantheon desktop environment (cont.) Ryan Prior via Guix-patches via
2020-05-19 11:08   ` 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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=87r1vl0wk3.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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).