GNU bug report logs - #75839
[PATCH] gnu: Add pantheon-screenshot

Previous Next

Package: guix-patches;

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

Date: Sat, 25 Jan 2025 19:34:02 UTC

Severity: normal

Tags: patch

Done: Andreas Enge <andreas <at> enge.fr>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 75839 in the body.
You can then email your comments to 75839 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#75839; Package guix-patches. (Sat, 25 Jan 2025 19:34:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to altadil <Altadil <at> protonmail.com>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Sat, 25 Jan 2025 19:34:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: altadil <Altadil <at> protonmail.com>
To: guix-patches <at> gnu.org
Cc: altadil <altadil <at> protonmail.com>
Subject: [PATCH] gnu: Add pantheon-screenshot
Date: Sat, 25 Jan 2025 19:33:15 +0000
    * gnu/packages/pantheon.scm (pantheon-screenshot): New variable.

Change-Id: I68fac745434503b43cb0137cddb48a56478960d9
---
Built and tested successfully on Guix System on x86_64-linux.
 gnu/packages/pantheon.scm | 47 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 47 insertions(+)

diff --git a/gnu/packages/pantheon.scm b/gnu/packages/pantheon.scm
index 9268aff292..da322f3e91 100644
--- a/gnu/packages/pantheon.scm
+++ b/gnu/packages/pantheon.scm
@@ -30,6 +30,7 @@ (define-module (gnu packages pantheon)
   #:use-module (gnu packages gstreamer)
   #:use-module (gnu packages gtk)
   #:use-module (gnu packages image)
+  #:use-module (gnu packages libcanberra)
   #:use-module (gnu packages package-management)
   #:use-module (gnu packages pcre)
   #:use-module (gnu packages photo)
@@ -258,6 +259,52 @@ (define-public pantheon-photos
     (home-page "https://elementary.io/open-source")
     (license license:lgpl2.1+)))
 
+(define-public pantheon-screenshot
+  (package
+    (name "pantheon-screenshot")
+    (version "8.0.1")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/elementary/screenshot")
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1h3xv0pckkkgvqkk6fxssydq9gmncapaf1hx4n7j19jcvhwx65da"))))
+    (build-system meson-build-system)
+    (arguments
+      (list
+        #: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* ((bin (string-append #$output
+                                              "/bin/io.elementary.screenshot"))
+                          (link (string-append #$output
+                                               "/bin/pantheon-screenshot")))
+                     (symlink bin link)))))))
+    (native-inputs (list desktop-file-utils
+                         gettext-minimal ;for msgfmt
+                         `(,glib "bin")
+                         pkg-config
+                         vala))
+    (inputs (list granite
+                  gtk
+                  libcanberra
+                  libgee
+                  libportal
+                  libhandy))
+    (propagated-inputs (list glib))
+    (synopsis "Screenshot tool")
+    (description "Screenshot is a screenshot tool designed for the Pantheon
+desktop environment.")
+    (home-page "https://elementary.io/open-source")
+    (license license:lgpl3)))
+
 (define-public pantheon-stylesheet
   (package
     (name "pantheon-stylesheet")
-- 
2.47.1






Information forwarded to guix-patches <at> gnu.org:
bug#75839; Package guix-patches. (Tue, 04 Feb 2025 21:57:03 GMT) Full text and rfc822 format available.

Message #8 received at 75839 <at> debbugs.gnu.org (full text, mbox):

From: Andrew Wong <brosasaki <at> gmail.com>
To: control <at> debbugs.gnu.org, 75839 <at> debbugs.gnu.org
Subject: QA review for 75839
Date: Tue, 4 Feb 2025 16:55:58 -0500
user guix
usertag 75839 + reviewed-looks-good
thanks

Guix QA review form submission:


Items marked as checked: Lint warnings, Package builds, New package 
licenses, New package tests, New package synopsis and descriptions





Reply sent to Andreas Enge <andreas <at> enge.fr>:
You have taken responsibility. (Wed, 05 Feb 2025 11:53:01 GMT) Full text and rfc822 format available.

Notification sent to altadil <Altadil <at> protonmail.com>:
bug acknowledged by developer. (Wed, 05 Feb 2025 11:53:02 GMT) Full text and rfc822 format available.

Message #13 received at 75839-done <at> debbugs.gnu.org (full text, mbox):

From: Andreas Enge <andreas <at> enge.fr>
To: 75839-done <at> debbugs.gnu.org
Cc: Andrew Wong <brosasaki <at> gmail.com>
Subject: Close
Date: Wed, 5 Feb 2025 12:52:32 +0100
Pushed, thanks for the patch and the review!

Andreas





bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 05 Mar 2025 12:24:11 GMT) Full text and rfc822 format available.

This bug report was last modified 8 days ago.

Previous Next


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