GNU bug report logs - #72746
[PATCH] gnu: Add pantheon-photos.

Previous Next

Package: guix-patches;

Reported by: altadil <Altadil <at> protonmail.com>

Date: Wed, 21 Aug 2024 14:00:02 UTC

Severity: normal

Tags: patch

Done: jgart <jgart <at> dismail.de>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: altadil <Altadil <at> protonmail.com>
Subject: bug#72746: closed (Re: [PATCH] gnu: Add pantheon-photos.)
Date: Thu, 22 Aug 2024 17:35:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#72746: [PATCH] gnu: Add pantheon-photos.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 72746 <at> debbugs.gnu.org.

-- 
72746: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=72746
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: jgart <jgart <at> dismail.de>
To: 72746-done <at> debbugs.gnu.org
Cc: altadil <Altadil <at> protonmail.com>
Subject: Re: [PATCH] gnu: Add pantheon-photos.
Date: Thu, 22 Aug 2024 12:33:07 -0500

Hi, thanks for the patch.

Pushed with modern g-expression style.
-- 
all the best,
jgart

[Message part 3 (message/rfc822, inline)]
From: altadil <Altadil <at> protonmail.com>
To: guix-patches <at> gnu.org
Cc: altadil <altadil <at> protonmail.com>
Subject: [PATCH] gnu: Add pantheon-photos.
Date: Wed, 21 Aug 2024 13:58:07 +0000
* gnu/packages/pantheon.scm (pantheon-photos): New variable.

Change-Id: Iaa9fb285faf58425c74abbe73371b777a49caac4
---
guix build --no-grafts --check --rounds=2 was successfully run on a Zen4 CPU,
for the following --system= options:
- x86_64-linux
- i686-linux.
aarch64 is currently failing because of a dependency.
 gnu/packages/pantheon.scm | 62 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 62 insertions(+)

diff --git a/gnu/packages/pantheon.scm b/gnu/packages/pantheon.scm
index 30804a8046..0f4703c208 100644
--- a/gnu/packages/pantheon.scm
+++ b/gnu/packages/pantheon.scm
@@ -25,12 +25,15 @@ (define-module (gnu packages pantheon)
   #:use-module (gnu packages glib)
   #:use-module (gnu packages gnome)
   #:use-module (gnu packages gnupg)
+  #:use-module (gnu packages gstreamer)
   #:use-module (gnu packages gtk)
+  #:use-module (gnu packages image)
   #:use-module (gnu packages package-management)
   #:use-module (gnu packages pcre)
   #:use-module (gnu packages photo)
   #:use-module (gnu packages pkg-config)
   #:use-module (gnu packages python)
+  #:use-module (gnu packages sqlite)
   #:use-module (gnu packages xml)
   #:use-module (gnu packages web)
   #:use-module (gnu packages xorg)
@@ -133,6 +136,65 @@ (define-public pantheon-calculator
 desktop.")
     (license license:gpl3)))
 
+(define-public pantheon-photos
+  (package
+    (name "pantheon-photos")
+    (version "8.0.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/elementary/photos")
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1z3b582y093x6pb3bl7zs4w97vg88rflyhwxfaycxw0rv8pcshhi"))))
+    (build-system meson-build-system)
+    (arguments
+     `(#:glib-or-gtk? #t
+       #:phases (modify-phases %standard-phases
+                  (add-after 'unpack 'disable-schema-cache-generation
+                    (lambda _
+                      (setenv "DESTDIR" "/")))
+                  (add-after 'install 'install-symlinks
+                    (lambda* (#:key outputs #:allow-other-keys)
+                      (let* ((out (assoc-ref outputs "out"))
+                             (bin (string-append out
+                                                 "/bin/io.elementary.photos"))
+                             (link (string-append out "/bin/pantheon-photos")))
+                        (symlink bin link)))))))
+    (native-inputs (list desktop-file-utils
+                         `(,glib "bin")
+                         intltool
+                         pkg-config
+                         python ;copied from Nix
+                         vala))
+    (inputs (list geocode-glib
+                  gexiv2
+                  granite-6
+                  gst-plugins-bad ;copied from Nix
+                  gst-plugins-base
+                  gst-plugins-good ;copied from Nix
+                  gst-plugins-ugly ;copied from Nix
+                  gstreamer
+                  gtk+
+                  libexif
+                  libgee
+                  libgphoto2
+                  libgudev
+                  libhandy
+                  libportal
+                  libraw
+                  libwebp
+                  sqlite))
+    (synopsis "Photo viewer and organizer designed for the Pantheon desktop")
+    (description
+     "Photos is an image viewer and organizer.  It originally comes
+from elementary OS and is designed for the Pantheon desktop environment (but can
+also be used on others.")
+    (home-page "https://elementary.io/open-source")
+    (license license:lgpl2.1+)))
+
 (define-public pantheon-terminal
   (package
     (name "pantheon-terminal")
-- 
2.45.2





This bug report was last modified 270 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.