[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#55997] [PATCH staging 2/4] gnu: Remove texlive's dependence on ruby
From: |
Maxime Devos |
Subject: |
[bug#55997] [PATCH staging 2/4] gnu: Remove texlive's dependence on ruby-rspec and ruby-byebug. |
Date: |
Wed, 15 Jun 2022 23:06:34 +0200 |
User-agent: |
Evolution 3.38.3-1 |
Tom Fitzhenry schreef op do 16-06-2022 om 01:04 [+1000]:
> +index 12831417..df6daa39 100644
> +--- a/lib/tex/hyphen/language.rb
> ++++ b/lib/tex/hyphen/language.rb
> +@@ -1,6 +1,5 @@
> + require 'yaml'
> + require 'hydra'
> +-require 'byebug'
> +
> + require_relative 'path'
> +
I recommend a small description: ’Avoid dependency on byebug to reduce
package closure significantly, see https://issues.guix.gnu.org/55997’.
Also, patches need to be added to gnu/local.mk because $reasons.
> (sha256
> (base32
> "04xzf5gr3ylyh3ls09imrx4mwq3qp1k97r9njzlan6hlff875rx2"))))
> @@ -225,7 +226,7 @@ (define (texlive-hyphen-package name code locations hash)
> (invoke "ruby" "generate-ptex-patterns.rb")))))))))
> (native-inputs
> `(("ruby" ,ruby)
> - ("ruby-hydra" ,ruby-hydra)
> + ("ruby-hydra-minimal" ,ruby-hydra-minimal)
> ("hyph-utf8-scripts" ,hyph-utf8-scripts)))
While we are rebuilding anyway, could you eliminate input labels (in a
separate patch)?
(native-inputs (list ruby ruby-hydra-minimal hyph-utf8-scripts))
Anyway, the concept looks good to me, though I haven't done any
practical testing!
Greetings,
Maxime.
signature.asc
Description: This is a digitally signed message part
[bug#55997] [PATCH staging v2 0/5] Remove texlive's dependence on mariadb., Tom Fitzhenry, 2022/06/24
- [bug#55997] [PATCH staging v2 1/5] gnu: Add ruby-hydra-minimal., Tom Fitzhenry, 2022/06/24
- [bug#55997] [PATCH staging v2 2/5] gnu: Remove texlive's dependence on ruby-rspec and ruby-byebug., Tom Fitzhenry, 2022/06/24
- [bug#55997] [PATCH staging v2 3/5] gnu: Unpin ruby-nokogiri-diff's ruby-nokogiri, Tom Fitzhenry, 2022/06/24
- [bug#55997] [PATCH staging v2 4/5] gnu: Remove unused ruby-nokogiri-1.10., Tom Fitzhenry, 2022/06/24
- [bug#55997] [PATCH staging v2 5/5] gnu: texlive-hyphen-package: Remove input labels., Tom Fitzhenry, 2022/06/24