Report forwarded
to liliana.prikler@gmail.com, maxim.cournoyer@gmail.com, vivien@planete-kraus.eu, guix-patches@gnu.org: bug#76922; Package guix-patches.
(Mon, 10 Mar 2025 16:18:02 GMT) (full text, mbox, link).
Acknowledgement sent
to Remco van 't Veer <remco@remworks.net>:
New bug report received and forwarded. Copy sent to liliana.prikler@gmail.com, maxim.cournoyer@gmail.com, vivien@planete-kraus.eu, guix-patches@gnu.org.
(Mon, 10 Mar 2025 16:18:02 GMT) (full text, mbox, link).
From: Liliana Marie Prikler <liliana.prikler@gmail.com>
To: Remco van 't Veer <remco@remworks.net>, 76922@debbugs.gnu.org
Cc: Vivien Kraus <vivien@planete-kraus.eu>,
Maxim Cournoyer <maxim.cournoyer@gmail.com>
Subject: Re: [bug#76922] [PATCH] gnu: cairo: Add patch to fix regression
when writing PDFs with fonts
Date: Mon, 10 Mar 2025 20:00:15 +0100
Am Montag, dem 10.03.2025 um 17:15 +0100 schrieb Remco van 't Veer:
> Applied patch fixes out of memory errors when writing PDFs with fonts
> in xournalpp and others. See also:
>
> https://gitlab.freedesktop.org/cairo/cairo/-/issues/870
>
> * gnu/local.mk: Register patch.
> * gnu/packages/gtk.scm (cairo): Add patch.
> * gnu/packages/patches/cairo-cff-dont-fail-if-no-local-subs: Add
> patch.
>
> Change-Id: Id6475d0ddb27208486bf41e18de72d116da110fb
> ---
Out of curiosity, how many packages do you need to rebuild with this
patch? It could well be that you'd need to use a graft.
Cheers
Information forwarded
to guix-patches@gnu.org: bug#76922; Package guix-patches.
(Mon, 10 Mar 2025 20:09:02 GMT) (full text, mbox, link).
To: Liliana Marie Prikler <liliana.prikler@gmail.com>
Cc: 76922@debbugs.gnu.org, Vivien Kraus <vivien@planete-kraus.eu>,
Maxim Cournoyer <maxim.cournoyer@gmail.com>
Subject: Re: [bug#76922] [PATCH] gnu: cairo: Add patch to fix regression
when writing PDFs with fonts
Date: Mon, 10 Mar 2025 21:07:56 +0100
Hi,
2025/03/10, Liliana Marie Prikler:
> Am Montag, dem 10.03.2025 um 17:15 +0100 schrieb Remco van 't Veer:
>> Applied patch fixes out of memory errors when writing PDFs with fonts
>> in xournalpp and others. See also:
>>
>> https://gitlab.freedesktop.org/cairo/cairo/-/issues/870
>>
>> * gnu/local.mk: Register patch.
>> * gnu/packages/gtk.scm (cairo): Add patch.
>> * gnu/packages/patches/cairo-cff-dont-fail-if-no-local-subs: Add
>> patch.
>>
>> Change-Id: Id6475d0ddb27208486bf41e18de72d116da110fb
>> ---
> Out of curiosity, how many packages do you need to rebuild with this
> patch? It could well be that you'd need to use a graft.
Yes you a probably right because I sent this patch after Ludo shooed me
away when I made a PR on codeberg
(https://codeberg.org/civodul/guix/pulls/17#issuecomment-2995653).
$ ./pre-inst-env guix refresh -l -e '(@@ (gnu packages gtk) cairo)' | wc -w
4279
Would you like me to make a v2 and use a graft?
Cheers,
Remco
Information forwarded
to guix-patches@gnu.org: bug#76922; Package guix-patches.
(Mon, 10 Mar 2025 20:25:01 GMT) (full text, mbox, link).
From: Liliana Marie Prikler <liliana.prikler@gmail.com>
To: Remco van 't Veer <remco@remworks.net>
Cc: 76922@debbugs.gnu.org, Vivien Kraus <vivien@planete-kraus.eu>,
Maxim Cournoyer <maxim.cournoyer@gmail.com>
Subject: Re: [bug#76922] [PATCH] gnu: cairo: Add patch to fix regression
when writing PDFs with fonts
Date: Mon, 10 Mar 2025 21:25:45 +0100
Am Montag, dem 10.03.2025 um 21:07 +0100 schrieb Remco van 't Veer:
> $ ./pre-inst-env guix refresh -l -e '(@@ (gnu packages gtk) cairo)'
> | wc -w
> 4279
>
> Would you like me to make a v2 and use a graft?
Yes, please do. We can ungraft it later on core-packages-team, gnome-
team, or a dedicated ungrafting branch.
Cheers
Information forwarded
to liliana.prikler@gmail.com, maxim.cournoyer@gmail.com, vivien@planete-kraus.eu, guix-patches@gnu.org: bug#76922; Package guix-patches.
(Mon, 10 Mar 2025 20:31:01 GMT) (full text, mbox, link).
To: Liliana Marie Prikler <liliana.prikler@gmail.com>
Cc: 76922@debbugs.gnu.org, Vivien Kraus <vivien@planete-kraus.eu>,
Remco van 't Veer <remco@remworks.net>
Subject: Re: [bug#76922] [PATCH] gnu: cairo: Add patch to fix regression
when writing PDFs with fonts
Date: Wed, 12 Mar 2025 09:25:46 +0900
Hi,
Liliana Marie Prikler <liliana.prikler@gmail.com> writes:
> Am Montag, dem 10.03.2025 um 17:15 +0100 schrieb Remco van 't Veer:
>> Applied patch fixes out of memory errors when writing PDFs with fonts
>> in xournalpp and others. See also:
>>
>> https://gitlab.freedesktop.org/cairo/cairo/-/issues/870
>>
>> * gnu/local.mk: Register patch.
>> * gnu/packages/gtk.scm (cairo): Add patch.
>> * gnu/packages/patches/cairo-cff-dont-fail-if-no-local-subs: Add
>> patch.
>>
>> Change-Id: Id6475d0ddb27208486bf41e18de72d116da110fb
>> ---
> Out of curiosity, how many packages do you need to rebuild with this
> patch? It could well be that you'd need to use a graft.
Too many (15k). I've hit that problem too. I'd suggest grafting to
1.18.4 directly instead of carrying patches.
--
Thanks,
Maxim
Information forwarded
to guix-patches@gnu.org: bug#76922; Package guix-patches.
(Wed, 12 Mar 2025 00:30:02 GMT) (full text, mbox, link).
Cc: 76922@debbugs.gnu.org, Vivien Kraus <vivien@planete-kraus.eu>,
Liliana Marie Prikler <liliana.prikler@gmail.com>
Subject: Re: [bug#76922] [PATCH v2] gnu: cairo: Add patch to fix regression
when writing PDFs with fonts
Date: Wed, 12 Mar 2025 09:28:56 +0900
Hi,
Remco van 't Veer <remco@remworks.net> writes:
> Applied patch fixes out of memory errors when writing PDFs with fonts
> in xournalpp and others. See also:
>
> https://gitlab.freedesktop.org/cairo/cairo/-/issues/870
>
> * gnu/local.mk: Register patch.
> * gnu/packages/gtk.scm (cairo): Add patch.
> * gnu/packages/patches/cairo-cff-dont-fail-if-no-local-subs: Add patch.
I've hit that bug too, it's an annoying one! Thanks for looking into
it. Your patch is fine, but I think we could also graft directly to
1.18.4 since it's a patch version bump and should be compatible with the
1.18.2 we have, per semver.
Reviewed-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
--
Thanks,
Maxim
Information forwarded
to guix-patches@gnu.org: bug#76922; Package guix-patches.
(Wed, 12 Mar 2025 09:40:01 GMT) (full text, mbox, link).
Cc: 76922@debbugs.gnu.org, Vivien Kraus <vivien@planete-kraus.eu>,
Liliana Marie Prikler <liliana.prikler@gmail.com>
Subject: Re: [bug#76922] [PATCH v2] gnu: cairo: Add patch to fix regression
when writing PDFs with fonts
Date: Wed, 12 Mar 2025 10:39:32 +0100
Hi,
2025/03/12, Maxim Cournoyer:
> I've hit that bug too, it's an annoying one! Thanks for looking into
> it. Your patch is fine, but I think we could also graft directly to
> 1.18.4 since it's a patch version bump and should be compatible with the
> 1.18.2 we have, per semver.
Oh yes, that can work too. Just tried grafting with 1.18.4 and it does
fix this problem in xournalpp. I'm not sure if it introduces others but
it seems okay.. I'll make a v3.
Cheers,
Remco
Information forwarded
to liliana.prikler@gmail.com, maxim.cournoyer@gmail.com, vivien@planete-kraus.eu, guix-patches@gnu.org: bug#76922; Package guix-patches.
(Wed, 12 Mar 2025 09:43:01 GMT) (full text, mbox, link).
Debbugs is free software and licensed under the terms of the
GNU Public License version 2. The current version can be
obtained from https://bugs.debian.org/debbugs-source/.