* git / grep with pcre support?
@ 2019-07-07 12:20 Pierre Neidhardt
2019-07-08 6:48 ` Efraim Flashner
0 siblings, 1 reply; 8+ messages in thread
From: Pierre Neidhardt @ 2019-07-07 12:20 UTC (permalink / raw)
To: Guix-devel
[-- Attachment #1: Type: text/plain, Size: 482 bytes --]
Hi!
Quite a few packages depend on grep to have PCRE support (e.g. freebayes).
Similarly, some packages (magit-todos) depend on git to be built with
PCRE support.
Compiling Git with USE_LIBPCRE2 would fix this.
I understand that adding PCRE support to those packages might increase
their closure size, which might not be desirable for such fundamental
packages.
What about grep-minimal and git-minimal packages then?
--
Pierre Neidhardt
https://ambrevar.xyz/
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: git / grep with pcre support?
2019-07-07 12:20 git / grep with pcre support? Pierre Neidhardt
@ 2019-07-08 6:48 ` Efraim Flashner
2019-07-08 15:42 ` Tobias Geerinckx-Rice
0 siblings, 1 reply; 8+ messages in thread
From: Efraim Flashner @ 2019-07-08 6:48 UTC (permalink / raw)
To: Pierre Neidhardt; +Cc: Guix-devel
[-- Attachment #1: Type: text/plain, Size: 988 bytes --]
On Sun, Jul 07, 2019 at 02:20:52PM +0200, Pierre Neidhardt wrote:
> Hi!
>
> Quite a few packages depend on grep to have PCRE support (e.g. freebayes).
>
> Similarly, some packages (magit-todos) depend on git to be built with
> PCRE support.
> Compiling Git with USE_LIBPCRE2 would fix this.
>
> I understand that adding PCRE support to those packages might increase
> their closure size, which might not be desirable for such fundamental
> packages.
>
> What about grep-minimal and git-minimal packages then?
We do actually already have a git-minimal, it's used for git-fetch
references :)
'guix size git' => 411 MiB
'guix size git pcre' => 413 MiB
'guix size grep' => 71.4 MiB
'guix size grep pcre' => 71.4 MiB
Looks like a good idea to me.
--
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] 8+ messages in thread
* Re: git / grep with pcre support?
2019-07-08 6:48 ` Efraim Flashner
@ 2019-07-08 15:42 ` Tobias Geerinckx-Rice
2019-07-11 15:55 ` Ludovic Courtès
0 siblings, 1 reply; 8+ messages in thread
From: Tobias Geerinckx-Rice @ 2019-07-08 15:42 UTC (permalink / raw)
To: guix-devel
[-- Attachment #1: Type: text/plain, Size: 479 bytes --]
Efraim Flashner wrote:
> 'guix size git' => 411 MiB
> 'guix size git pcre' => 413 MiB
>
> 'guix size grep' => 71.4 MiB
> 'guix size grep pcre' => 71.4 MiB
I take this as a clear ‘no -minimal needed’? PCRE is already
core-updates material, so no reason there.
> Looks like a good idea to me.
Definitely. I just noticed that our ‘guix-install.sh’ script
demands PCRE support from the host grep; it's almost hypocritical
;-)
Kind regards,
T G-R
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 227 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: git / grep with pcre support?
2019-07-08 15:42 ` Tobias Geerinckx-Rice
@ 2019-07-11 15:55 ` Ludovic Courtès
2019-07-11 16:11 ` Pierre Neidhardt
0 siblings, 1 reply; 8+ messages in thread
From: Ludovic Courtès @ 2019-07-11 15:55 UTC (permalink / raw)
To: Tobias Geerinckx-Rice; +Cc: guix-devel
Hi!
Tobias Geerinckx-Rice <me@tobias.gr> skribis:
> Efraim Flashner wrote:
>> 'guix size git' => 411 MiB
>> 'guix size git pcre' => 413 MiB
>>
>> 'guix size grep' => 71.4 MiB
>> 'guix size grep pcre' => 71.4 MiB
>
> I take this as a clear ‘no -minimal needed’? PCRE is already
> core-updates material, so no reason there.
Yeah, it sounds like we should make this change.
However, I hear that ‘core-updates’ is super frozen right now. But note
that we could change the ‘grep’ package anytime, just note the
‘grep-final’ thing in commencement.scm.
IOW, if we’re cautious, we should be able to add PCRE support to grep
and Git in ‘master’ without triggering a full rebuild.
Thanks,
Ludo’.
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2020-05-20 9:04 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-07-07 12:20 git / grep with pcre support? Pierre Neidhardt
2019-07-08 6:48 ` Efraim Flashner
2019-07-08 15:42 ` Tobias Geerinckx-Rice
2019-07-11 15:55 ` Ludovic Courtès
2019-07-11 16:11 ` Pierre Neidhardt
2019-10-30 16:33 ` Pierre Neidhardt
2019-11-06 10:01 ` Pierre Neidhardt
2020-05-20 9:04 ` Pierre Neidhardt
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.