all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Rutger Helling <rhelling@mykolab.com>
To: 33792@debbugs.gnu.org
Subject: [bug#33792] [PATCH] gnu: Add flatpak.
Date: Tue, 18 Dec 2018 16:12:49 +0100	[thread overview]
Message-ID: <20181218161249.7b6efcb7@mykolab.com> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 39 bytes --]

Hey Guix,

this patch adds Flatpak.

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.2: 0001-gnu-Add-flatpak.patch --]
[-- Type: text/x-patch, Size: 3533 bytes --]

From b561716938c635f153769b57300e438afbcad03b Mon Sep 17 00:00:00 2001
From: Rutger Helling <rhelling@mykolab.com>
Date: Tue, 18 Dec 2018 16:09:27 +0100
Subject: [PATCH] gnu: Add flatpak.

* gnu/packages/package-management.scm (flatpak): New variable.
---
 gnu/packages/package-management.scm | 50 +++++++++++++++++++++++++++++
 1 file changed, 50 insertions(+)

diff --git a/gnu/packages/package-management.scm b/gnu/packages/package-management.scm
index 89c9f91db..7b8f4abde 100644
--- a/gnu/packages/package-management.scm
+++ b/gnu/packages/package-management.scm
@@ -50,6 +50,7 @@
   #:use-module (gnu packages gnupg)
   #:use-module (gnu packages gnuzilla)
   #:use-module (gnu packages graphviz)
+  #:use-module (gnu packages gtk)
   #:use-module (gnu packages guile)
   #:use-module (gnu packages linux)
   #:use-module (gnu packages lisp)
@@ -68,8 +69,10 @@
   #:use-module (gnu packages time)
   #:use-module (gnu packages tls)
   #:use-module (gnu packages vim)
+  #:use-module (gnu packages virtualization)
   #:use-module (gnu packages web)
   #:use-module (gnu packages xml)
+  #:use-module (gnu packages xorg)
   #:use-module (guix build-system emacs)
   #:use-module (guix build-system gnu)
   #:use-module (guix build-system meson)
@@ -984,3 +987,50 @@ tools that combines a \"git-like\" model for committing and downloading
 bootable filesystem trees, along with a layer for deploying them and managing
 the bootloader configuration.")
     (license license:lgpl2.0+)))
+
+(define-public flatpak
+  (package
+  (name "flatpak")
+  (version "1.1.0")
+  (source
+   (origin
+    (method url-fetch)
+    (uri (string-append "https://github.com/flatpak/flatpak/releases/download/"
+                        version "/flatpak-" version ".tar.xz"))
+    (sha256
+     (base32
+      "0bkjwh49kajyd78vdh0g9arb352a7rccaifas9zxa78phhja2v2p"))))
+  (build-system gnu-build-system)
+  (arguments
+   '(#:tests? #f ;; Tests fail due to trying to create files where it can't.
+     #:configure-flags (list
+                        "--enable-documentation=no" ;; FIXME
+                        "--enable-system-helper=no"
+                        "--localstatedir=/var"
+                        (string-append "--with-system-bubblewrap=" (assoc-ref
+                                       %build-inputs "bubblewrap") "/bin/bwrap"))))
+  (native-inputs `(("bison" ,bison)
+                   ("gettext" ,gnu-gettext)
+                   ("glib:bin" ,glib "bin") ; for glib-mkenums and gdbus-codegen
+                   ("gobject-introspection" ,gobject-introspection)
+                   ("libcap" ,libcap)
+                   ("pkg-config" ,pkg-config)))
+  (inputs `(("appstream-glib" ,appstream-glib)
+            ("bubblewrap" ,bubblewrap)
+            ("gdk-pixbuf" ,gdk-pixbuf)
+            ("gpgme" ,gpgme)
+            ("json-glib" ,json-glib)
+            ("libarchive" ,libarchive)
+            ("libostree" ,libostree)
+            ("libseccomp" ,libseccomp)
+            ("libsoup" ,libsoup)
+            ("libxau" ,libxau)
+            ("libxml2" ,libxml2)
+            ("nettle" ,nettle)
+            ("util-linux" ,util-linux)))
+  (home-page "https://flatpak.org")
+  (synopsis "System for building, distributing, and running sandboxed desktop
+applications")
+  (description "Flatpak is a system for building, distributing, and running
+sandboxed desktop applications on GNU/Linux.")
+  (license license:lgpl2.1)))
-- 
2.20.1


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

             reply	other threads:[~2018-12-18 15:24 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-12-18 15:12 Rutger Helling [this message]
2018-12-18 18:01 ` [bug#33792] [PATCH] gnu: Add flatpak Danny Milosavljevic
2018-12-18 19:45   ` Julien Lepiller
2018-12-19  8:46     ` Rutger Helling
2018-12-19 23:38       ` Danny Milosavljevic
2018-12-20  7:37         ` bug#33792: " Rutger Helling

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=20181218161249.7b6efcb7@mykolab.com \
    --to=rhelling@mykolab.com \
    --cc=33792@debbugs.gnu.org \
    /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.