all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Jonathan Brielmaier <jonathan.brielmaier@web.de>
To: 44400@debbugs.gnu.org
Cc: Jonathan Brielmaier <jonathan.brielmaier@web.de>
Subject: [bug#44400] [PATCH 2/2] WIP: gnu: Add phosh.
Date: Mon,  2 Nov 2020 23:28:27 +0100	[thread overview]
Message-ID: <20201102222827.23533-2-jonathan.brielmaier@web.de> (raw)
In-Reply-To: <20201102222827.23533-1-jonathan.brielmaier@web.de>

* gnu/packages/gnome.scm (phosh): New variable.
---
 gnu/packages/gnome.scm | 66 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 66 insertions(+)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index af5ea09e55..df70d07be7 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -12107,3 +12107,69 @@ world.")
     (description "Phoc is a...")
     (home-page "https://source.puri.sm/Librem5/phoc")
     (license license:gpl3))) ; TODO or gpl3+?
+
+(define-public phosh
+  (package
+    (name "phosh")
+    (version "0.5.0")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://source.puri.sm/Librem5/phosh.git")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "0vcgkkim6mwsdffyz37pnp7ax2f4z7272ikdkv03vg3j3h3ypnch"))))
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'get-libgnome-volume-control
+           (lambda* (#:key inputs #:allow-other-keys)
+             (copy-recursively (assoc-ref inputs "libgnome-volume-control-source")
+                               "subprojects/gvc")))
+         (add-before 'configure 'fix-phoc-path
+           (lambda* (#:key inputs #:allow-other-keys)
+                (substitute* "data/phosh.in"
+                  (("@bindir@") (string-append (assoc-ref inputs "phoc") "/bin")))))
+         (delete 'check) ; TODO: needs a running wayland compositor
+                     )))
+    (build-system meson-build-system)
+    (native-inputs
+     `(("gcr" ,gcr)
+       ("gettext" ,gettext-minimal)
+       ("glib:bin" ,glib "bin")
+       ("gnome-desktop" ,gnome-desktop)
+       ("gtk+:bin" ,gtk+ "bin")
+       ("libgnome-volume-control-source" ; needs to be present in subprojects/gvc folder
+        ,(origin
+	         (method git-fetch)
+           (uri (git-reference
+                 (url "https://gitlab.gnome.org/GNOME/libgnome-volume-control.git")
+                 (commit "ec5cf3e0de6715803e64b65abb059e2155b3d6de")))
+           (file-name (string-append name "-" version "-checkout"))
+           (sha256
+            (base32
+             "0azq1xy50s1bg28xf97g16657490ng00amc4cw7vvdgminq82rq5"))))
+       ("libsecret" ,libsecret)
+       ("linux-pam" ,linux-pam)
+       ("network-manager" ,network-manager)
+       ("pkg-config" ,pkg-config)
+       ("polkit" ,polkit)
+       ("upower" ,upower)))
+    (inputs
+     `(("feedbackd" ,feedbackd)
+       ("libhandy" ,libhandy)
+       ("pulseaudio" ,pulseaudio)))
+    (propagated-inputs
+      ;; "missing" schema files
+      ;; org.gnome.DejaDup.File org.guido-berhoerster.code.package-update-indicator org.blueberry
+     `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas) ;org.gnome.desktop.wm.keybindings
+       ("gnome-session" ,gnome-session)
+       ("mutter" ,mutter) ;org.gnome.mutter.keybindings
+       ("network-manager-applet" ,network-manager-applet) ;org.gnome.nm-applet
+       ("phoc" ,phoc))) ;sm.puri.phoc
+    (synopsis "Wayland shell for GNOME on mobile devices")
+    (description "Phosh is a pure Wayland prototype intended for mobile devices.")
+    (home-page "https://source.puri.sm/Librem5/phosh")
+    (license license:gpl3+)))
--
2.29.2





  reply	other threads:[~2020-11-02 22:29 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-02 22:13 [bug#44400] [PATCH 0/2] WIP: Add phosh Jonathan Brielmaier
2020-11-02 22:28 ` [bug#44400] [PATCH 1/2] WIP: gnu: Add phoc Jonathan Brielmaier
2020-11-02 22:28   ` Jonathan Brielmaier [this message]
2021-02-08 11:02     ` [bug#44400] [PATCH 2/2] WIP: gnu: Add phosh Jonathan Brielmaier
2021-11-17 10:16 ` [bug#44400] [PATCH v2 1/4] gnu: Add phoc phodina via Guix-patches via
2021-11-17 10:17 ` [bug#44400] [PATCH v2 2/4] gnu: libhandy: Update to 1.5.0 phodina via Guix-patches via
2021-11-17 10:18 ` [bug#44400] [PATCH v2 3/4] gnu: Add callaudiod phodina via Guix-patches via
2021-11-17 10:19 ` [bug#44400] [PATCH v2 4/4] WIP: gnu: Add phosh phodina via Guix-patches via
2021-11-17 10:26   ` Jonathan Brielmaier
2021-11-17 10:32     ` phodina via Guix-patches via
2021-11-28 10:46       ` phodina via Guix-patches via
2022-03-24 13:32     ` [bug#44400] [PATCH v3 1/5] " phodina via Guix-patches via
2021-11-17 10:26 ` [bug#44400] Phosh v2 patches comments phodina via Guix-patches via
2022-03-04 17:40 ` [bug#44400] [PATCH 0/2] WIP: Add phosh Jonathan Brielmaier
2022-08-14 20:00 ` [bug#44400] [PATCH v4]: gnu: " phodina 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=20201102222827.23533-2-jonathan.brielmaier@web.de \
    --to=jonathan.brielmaier@web.de \
    --cc=44400@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.