unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* skia for libreoffice
@ 2023-01-08 11:21 Nicolas Graves via Development of GNU Guix and the GNU System distribution.
  2023-01-10  8:30 ` Efraim Flashner
  0 siblings, 1 reply; 2+ messages in thread
From: Nicolas Graves via Development of GNU Guix and the GNU System distribution. @ 2023-01-08 11:21 UTC (permalink / raw)
  To: guix-devel


Hi!
(please tell me if I should use another channel for such questions)

I recently have been working on enabling tests for skia and including
skia in libreoffice (see bug 60571 for the first part).

Now that I delve into libreoffice's build of skia, I see that there's a
series of patches that libreoffice use for the build of the
library. Which makes me wonder if it's worth it packaging a
"skia-for-libreoffice" package variant, or if we should just add the
tarball in the external directory as it has been done with dtoa, and
rely on libreoffice's build of skia. In the end, both versions will end
up in the store in any case, because of the patches libreoffice needs.

What is Guix policy in this case?

-- 
Best regards,
Nicolas Graves


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: skia for libreoffice
  2023-01-08 11:21 skia for libreoffice Nicolas Graves via Development of GNU Guix and the GNU System distribution.
@ 2023-01-10  8:30 ` Efraim Flashner
  0 siblings, 0 replies; 2+ messages in thread
From: Efraim Flashner @ 2023-01-10  8:30 UTC (permalink / raw)
  To: Nicolas Graves; +Cc: guix-devel

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

On Sun, Jan 08, 2023 at 12:21:55PM +0100, Nicolas Graves via Development of GNU Guix and the GNU System distribution. wrote:
> 
> Hi!
> (please tell me if I should use another channel for such questions)
> 
> I recently have been working on enabling tests for skia and including
> skia in libreoffice (see bug 60571 for the first part).
> 
> Now that I delve into libreoffice's build of skia, I see that there's a
> series of patches that libreoffice use for the build of the
> library. Which makes me wonder if it's worth it packaging a
> "skia-for-libreoffice" package variant, or if we should just add the
> tarball in the external directory as it has been done with dtoa, and
> rely on libreoffice's build of skia. In the end, both versions will end
> up in the store in any case, because of the patches libreoffice needs.
> 
> What is Guix policy in this case?

It's a toss-up. skia-for-libreoffice wouldn't see any use outside of
libreoffice since it's specific patches and not a different version of
the library. In those cases (especially if the library is maintained
upstream by the same people, which I don't think is the case here) we're
far more lenient on leaving it bundled. On the other hand, separating it
out would decrease the build time for libreoffice, which would be a Good
Thing™.

IF (and I mean it) you can separate it out easily and it doesn't make
building libreoffice with it then go ahead and do so, especially if the
version and/or patches don't change regularly. Otherwise I'd consider
adding a note in libreoffice's snippet (assuming it has one) or
configure-flags about why we're not using an unbundled version.

-- 
Efraim Flashner   <efraim@flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-01-10 10:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-08 11:21 skia for libreoffice Nicolas Graves via Development of GNU Guix and the GNU System distribution.
2023-01-10  8:30 ` Efraim Flashner

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).