unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Marius Bakke <marius@gnu.org>
To: Ryan Prior <rprior@protonmail.com>
Cc: 41293@debbugs.gnu.org
Subject: [bug#41293] [PATCH 1/3] gnu: Add sideload.
Date: Wed, 24 Jun 2020 21:39:16 +0200	[thread overview]
Message-ID: <87r1u46yor.fsf@gnu.org> (raw)
In-Reply-To: <q1u9-ItoMH27vmYS5ZYMOsQ5VyUDzd_yIVzF8l-cEimP10W5_3kRpiJzdyo8yPBAlaHkZ3sWpGm6S6NNLvoBqguqODLPDMvQzwywN3Hzb9E=@protonmail.com>

[-- Attachment #1: Type: text/plain, Size: 2438 bytes --]

Hi Ryan,

(+ debbugs, please keep it in CC)

Ryan Prior <rprior@protonmail.com> writes:

> ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
> On Monday, June 22, 2020 7:16 PM, Marius Bakke <marius@gnu.org> wrote:
>
>
>> That's an unorthodox workaround :-) does the build system ignore it when
>> DESTDIR is set, or do they just end up in a different location?
>
> This is a common pattern in build systems for Pantheon software, one you'll see come up again and again as I add more Pantheon packages. The post-install script runs extra steps unless the DESTDIR env variable is set. For example: https://github.com/elementary/sideload/blob/master/meson/post_install.py#L9

OK.  Weird, but works.  :-)

>> Is the "glib:bin" input still needed?
>
> Yes, for glib-compile-resources, which is invoked here as it is with many other GNOME packages in Guix.

Right.

>> > -   (propagated-inputs
>> > -       `(("glib-networking" ,glib-networking)))
>> >
>> >
>>
>> Can you add a comment about why this needs to be propagated?
>
> I didn't take good notes, it was basically "it didn't work without this." And now that I try it again, it seems what I really need to propagate is gpgme and not glib-networking. I will add a note. (I want to get good at patching packages to remove the need for propagation but I don't know where to begin with this one.)

At least for GnuPG, substituting all references to 'gpg' with
(string-append gnupg "/bin/gpg") should work.  I guess something similar
will work for GPGME.

>>
>> > -   (native-inputs
>> > -       `(("cmake" ,cmake)
>> >
>> >
>>
>> Use 'cmake-minimal' if CMake is required (is it?).
>
> Nope was never needed, removed. (I think I was adding cmake to a lot of Meson packages for a while because they complain about not having it in their build output, but it's really just a warning.)

Yes, learning to ignore useless warnings is an important packaging
skill.  :-)

>> > -   (license license:gpl3)))
>>
>> This should be 'gpl3+' because no source files say "GPL 3 only" (in fact
>> they explicitly mention GPL 3 or any later version).
>
> Fixed & updated patch follows.

Applied!  I moved 'glib', 'libgee', and 'libxml2' to inputs because they
were referenced by the io.elementary.sideload binary.  Let me know if
you think this was wrong.

Will you submit updated patches for the other two in this series too?

Thanks!

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

  parent reply	other threads:[~2020-06-24 19:40 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-15 20:21 [bug#41293] Add Pantheon desktop environment Ryan Prior via Guix-patches via
2020-05-15 20:31 ` [bug#41293] Add Pantheon desktop environment (cont.) Ryan Prior via Guix-patches via
2020-05-19 10:15   ` Danny Milosavljevic
2020-05-19 11:00     ` Danny Milosavljevic
2020-05-15 20:33 ` Ryan Prior via Guix-patches via
2020-05-19 11:00   ` [bug#41293] Add pantheon-calculator Danny Milosavljevic
2020-05-15 20:33 ` [bug#41293] Add Pantheon desktop environment (cont.) Ryan Prior via Guix-patches via
2020-05-19 11:08   ` Danny Milosavljevic
2020-05-15 20:34 ` Ryan Prior via Guix-patches via
2020-05-19 10:49   ` [bug#41398] vte Danny Milosavljevic
2020-05-15 20:35 ` [bug#41293] Add Pantheon desktop environment (cont.) Ryan Prior via Guix-patches via
2020-05-19  9:49 ` [bug#41293] Add Pantheon desktop environment Danny Milosavljevic
2020-05-19 17:36 ` [bug#41293] [PATCH 0/1] New Appstream patch Ryan Prior via Guix-patches via
2020-05-19 17:36   ` [bug#41293] [PATCH 1/1] gnu: Add appstream Ryan Prior via Guix-patches via
2020-06-02  1:27 ` [bug#41293] [PATCH 0/3] Updated Pantheon packages Ryan Prior via Guix-patches via
2020-06-02  1:27   ` [bug#41293] [PATCH 1/3] gnu: Add sideload Ryan Prior via Guix-patches via
2020-06-22 19:16     ` Marius Bakke
     [not found]       ` <q1u9-ItoMH27vmYS5ZYMOsQ5VyUDzd_yIVzF8l-cEimP10W5_3kRpiJzdyo8yPBAlaHkZ3sWpGm6S6NNLvoBqguqODLPDMvQzwywN3Hzb9E=@protonmail.com>
2020-06-24 19:39         ` Marius Bakke [this message]
2020-06-02  1:28   ` [bug#41293] [PATCH 2/3] gnu: Add appstream Ryan Prior via Guix-patches via
2020-06-22 19:23     ` Marius Bakke
2020-06-02  1:28   ` [bug#41293] [PATCH 3/3] gnu: Add pantheon-terminal Ryan Prior via Guix-patches via
2020-06-22 19:30     ` Marius Bakke
2020-06-18 22:30 ` [bug#41293] Pantheon packages Ryan Prior via Guix-patches via
2020-09-09 20:57   ` Ludovic Courtès
2023-09-11 12:07 ` [bug#41293] [PATCH 1/2] gnu: Add granite-6 altadil via Guix-patches via
2023-09-11 12:07 ` [bug#41293] [PATCH 2/2] gnu: Add pantheon-terminal altadil via Guix-patches via
2023-09-28 16:36   ` bug#41293: " Efraim Flashner
2023-10-01 12:41 ` [bug#41293] [PATCH 1/5] gnu: Add pantheon-stylesheet altadil via Guix-patches via
2023-10-01 12:41 ` [bug#41293] [PATCH 2/5] gnu: Add pantheon-photos altadil via Guix-patches via
2023-10-01 12:41 ` [bug#41293] [PATCH 3/5] gnu: Add pantheon-videos altadil via Guix-patches via
2023-10-01 12:41 ` [bug#41293] [PATCH 4/5] gnu: Add pantheon-iconbrowser altadil via Guix-patches via
2023-10-01 12:42 ` [bug#41293] [PATCH 5/5] gnu: Add pantheon-sound-theme altadil 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

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87r1u46yor.fsf@gnu.org \
    --to=marius@gnu.org \
    --cc=41293@debbugs.gnu.org \
    --cc=rprior@protonmail.com \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).