GNU bug report logs -
#66822
[PATCH] gnu: Add pantheon-photos
Previous Next
Reported by: altadil <Altadil <at> protonmail.com>
Date: Sun, 29 Oct 2023 16:18:02 UTC
Severity: normal
Tags: patch
Done: Altadil <Altadil <at> protonmail.com>
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 66822 in the body.
You can then email your comments to 66822 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org:
bug#66822; Package
guix-patches.
(Sun, 29 Oct 2023 16:18: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.
(Sun, 29 Oct 2023 16:18:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/pantheon.scm (pantheon-photos): New variable.
Change-Id: I08a10db8a03cd6ddde936b892d917e8b7d421124
---
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-linux.
gnu/packages/pantheon.scm | 59 +++++++++++++++++++++++++++++++++++++++
1 file changed, 59 insertions(+)
diff --git a/gnu/packages/pantheon.scm b/gnu/packages/pantheon.scm
index 55cb65045e..3465e5cb37 100644
--- a/gnu/packages/pantheon.scm
+++ b/gnu/packages/pantheon.scm
@@ -25,14 +25,18 @@ (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 webkit)
#:use-module (gnu packages xorg)
#:use-module (gnu packages)
#:use-module (guix build-system meson)
@@ -132,6 +136,61 @@ (define-public pantheon-calculator
desktop.")
(license license:gpl3)))
+(define-public pantheon-photos
+ (package
+ (name "pantheon-photos")
+ (version "2.8.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 "1aw77sdh2z7fah3vbi68145wc0xqg2afch1kswvgkmij0f0n04jn"))))
+ (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 vala))
+ (inputs (list geocode-glib-with-libsoup2
+ gexiv2
+ granite-6
+ gstreamer
+ gst-plugins-base
+ gtk+
+ json-glib
+ libexif
+ libgee
+ libgphoto2
+ libgudev
+ libhandy
+ libraw
+ libsoup-minimal-2
+ libwebp
+ rest
+ sqlite
+ webkitgtk-with-libsoup2))
+ (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-stylesheet
(package
(name "pantheon-stylesheet")
base-commit: 26565f1bc8548011bc0e1b821a9a957db1bc2d8f
prerequisite-patch-id: b3506da85d629b0f39af22c99c099838a4720442
--
2.41.0
Information forwarded
to
guix-patches <at> gnu.org:
bug#66822; Package
guix-patches.
(Mon, 30 Oct 2023 13:19:02 GMT)
Full text and
rfc822 format available.
Message #8 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
altadil via Guix-patches via <guix-patches <at> gnu.org> writes:
> * gnu/packages/pantheon.scm (pantheon-photos): New variable.
>
> Change-Id: I08a10db8a03cd6ddde936b892d917e8b7d421124
> ---
> 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-linux.
> gnu/packages/pantheon.scm | 59 +++++++++++++++++++++++++++++++++++++++
> 1 file changed, 59 insertions(+)
There are problems applying this patch to master.
> +
> (define-public pantheon-stylesheet
> (package
> (name "pantheon-stylesheet")
>
> base-commit: 26565f1bc8548011bc0e1b821a9a957db1bc2d8f
> prerequisite-patch-id: b3506da85d629b0f39af22c99c099838a4720442
I can't see the package definition for pantheon-stylesheet, do you have
another patch to add that?
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
guix-patches <at> gnu.org:
bug#66822; Package
guix-patches.
(Mon, 30 Oct 2023 13:19:02 GMT)
Full text and
rfc822 format available.
Information forwarded
to
guix-patches <at> gnu.org:
bug#66822; Package
guix-patches.
(Mon, 30 Oct 2023 13:52:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 66822 <at> debbugs.gnu.org (full text, mbox):
------- Original Message -------
On Monday, October 30th, 2023 at 13:16, Christopher Baines <mail <at> cbaines.net> wrote:
> altadil via Guix-patches via guix-patches <at> gnu.org writes:
>
> > * gnu/packages/pantheon.scm (pantheon-photos): New variable.
> >
> > Change-Id: I08a10db8a03cd6ddde936b892d917e8b7d421124
> > ---
> > 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-linux.
> > gnu/packages/pantheon.scm | 59 +++++++++++++++++++++++++++++++++++++++
> > 1 file changed, 59 insertions(+)
>
>
> There are problems applying this patch to master.
>
> > +
> > (define-public pantheon-stylesheet
> > (package
> > (name "pantheon-stylesheet")
> >
> > base-commit: 26565f1bc8548011bc0e1b821a9a957db1bc2d8f
> > prerequisite-patch-id: b3506da85d629b0f39af22c99c099838a4720442
>
>
> I can't see the package definition for pantheon-stylesheet, do you have
> another patch to add that?
Yes, that patch is https://issues.guix.gnu.org/66821
I guess I am using git wrong, because they should be independent, but I’m unsure how to do this properly. :/
Information forwarded
to
guix-patches <at> gnu.org:
bug#66822; Package
guix-patches.
(Mon, 30 Oct 2023 14:21:01 GMT)
Full text and
rfc822 format available.
Message #17 received at 66822 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Altadil <Altadil <at> protonmail.com> writes:
> ------- Original Message -------
> On Monday, October 30th, 2023 at 13:16, Christopher Baines <mail <at> cbaines.net> wrote:
>
>> altadil via Guix-patches via guix-patches <at> gnu.org writes:
>>
>> > +
>> > (define-public pantheon-stylesheet
>> > (package
>> > (name "pantheon-stylesheet")
>> >
>> > base-commit: 26565f1bc8548011bc0e1b821a9a957db1bc2d8f
>> > prerequisite-patch-id: b3506da85d629b0f39af22c99c099838a4720442
>>
>>
>> I can't see the package definition for pantheon-stylesheet, do you have
>> another patch to add that?
>
> Yes, that patch is https://issues.guix.gnu.org/66821
> I guess I am using git wrong, because they should be independent, but I’m unsure how to do this properly. :/
Having a series with multiple patches is fine, but Git needs to generate
the patches as part of a series, and ideally you send all the patches in
the series to the same bug number.
There some information here about using git format-patch for a series of
patches, you can also ask for help on IRC if you're still unsure:
https://guix.gnu.org/en/manual/devel/en/html_node/Sending-a-Patch-Series.html#Multiple-Patches-1
Could you try sending all of these patches together as a series to
66821 <at> debbugs.gnu.org ? If that works, then the other issues can be
closed.
Thanks,
Chris
[signature.asc (application/pgp-signature, inline)]
Reply sent
to
Altadil <Altadil <at> protonmail.com>:
You have taken responsibility.
(Sun, 05 Nov 2023 15:11:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
altadil <Altadil <at> protonmail.com>:
bug acknowledged by developer.
(Sun, 05 Nov 2023 15:11:02 GMT)
Full text and
rfc822 format available.
Message #22 received at 66822-done <at> debbugs.gnu.org (full text, mbox):
Closing as the patch has been sent as part of a series (https://issues.guix.gnu.org/66821).
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org.
(Mon, 04 Dec 2023 12:24:07 GMT)
Full text and
rfc822 format available.
This bug report was last modified 91 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.