[PATCH] gnu: gfortran: change to a hidden package

DoneSubmitted by Konrad Hinsen.
Details
2 participants
  • Konrad Hinsen
  • Ludovic Courtès
Owner
unassigned
Severity
normal
K
K
Konrad Hinsen wrote on 16 Dec 2019 12:18
(address . guix-patches@gnu.org)
m1a77s1mdv.fsf@ordinateur-de-catherine--konrad.home
* gnu/packages/gcc.scm (gfortran-4.8): hidden package.
* gnu/packages/gcc.scm (gfortran-4.9): hidden package.
* gnu/packages/gcc.scm (gfortran-5): hidden package.
* gnu/packages/gcc.scm (gfortran-6): hidden package.
* gnu/packages/gcc.scm (gfortran-7): hidden package.
* gnu/packages/gcc.scm (gfortran-8): hidden package.
* gnu/packages/gcc.scm (gfortran-9): hidden package.
---
gnu/packages/gcc.scm | 35 +++++++++++++++++++++--------------
1 file changed, 21 insertions(+), 14 deletions(-)

Toggle diff (60 lines)
diff --git a/gnu/packages/gcc.scm b/gnu/packages/gcc.scm
index bda6a2b48a..29b9d34569 100644
--- a/gnu/packages/gcc.scm
+++ b/gnu/packages/gcc.scm
@@ -649,32 +649,39 @@ as the 'native-search-paths' field."
          (files '("lib" "lib64")))))
 
 (define-public gfortran-4.8
-  (custom-gcc gcc-4.8 "gfortran" '("fortran")
-              %generic-search-paths))
+  (hidden-package
+   (custom-gcc gcc-4.8 "gfortran" '("fortran")
+               %generic-search-paths)))
 
 (define-public gfortran-4.9
-  (custom-gcc gcc-4.9 "gfortran" '("fortran")
-              %generic-search-paths))
+  (hidden-package
+   (custom-gcc gcc-4.9 "gfortran" '("fortran")
+               %generic-search-paths)))
 
 (define-public gfortran-5
-  (custom-gcc gcc-5 "gfortran" '("fortran")
-              %generic-search-paths))
+  (hidden-package
+   (custom-gcc gcc-5 "gfortran" '("fortran")
+               %generic-search-paths)))
 
 (define-public gfortran-6
-  (custom-gcc gcc-6 "gfortran" '("fortran")
-              %generic-search-paths))
+  (hidden-package
+   (custom-gcc gcc-6 "gfortran" '("fortran")
+               %generic-search-paths)))
 
 (define-public gfortran-7
-  (custom-gcc gcc-7 "gfortran" '("fortran")
-              %generic-search-paths))
+  (hidden-package
+   (custom-gcc gcc-7 "gfortran" '("fortran")
+               %generic-search-paths)))
 
 (define-public gfortran-8
-  (custom-gcc gcc-8 "gfortran" '("fortran")
-              %generic-search-paths))
+  (hidden-package
+   (custom-gcc gcc-8 "gfortran" '("fortran")
+               %generic-search-paths)))
 
 (define-public gfortran-9
-  (custom-gcc gcc-9 "gfortran" '("fortran")
-              %generic-search-paths))
+  (hidden-package
+   (custom-gcc gcc-9 "gfortran" '("fortran")
+               %generic-search-paths)))
 
 (define-public gfortran
   ;; Note: Update this when GCC changes!  We cannot use
-- 
2.24.1
K
K
Konrad Hinsen wrote on 16 Dec 2019 13:51
Rationale
(address . 38636@debbugs.gnu.org)
m17e2w1li0.fsf@ordinateur-de-catherine--konrad.home
For those wondering why I submit this patch: I think "gfortran" should
be a hidden package for exactly the same reasons that "gcc" is a hidden
package. What users should see and install is "gfortran-toolchain", not
"gfortran", and having both show up in a package search only creates
confusion.

Cheers,
Konrad.
L
L
Ludovic Courtès wrote on 17 Dec 2019 16:22
Re: [bug#38636] [PATCH] gnu: gfortran: change to a hidden package
(name . Konrad Hinsen)(address . konrad.hinsen@fastmail.net)(address . 38636-done@debbugs.gnu.org)
87tv5zq8n0.fsf@gnu.org
Hi!

Konrad Hinsen <konrad.hinsen@fastmail.net> skribis:

Toggle quote (8 lines)
> * gnu/packages/gcc.scm (gfortran-4.8): hidden package.
> * gnu/packages/gcc.scm (gfortran-4.9): hidden package.
> * gnu/packages/gcc.scm (gfortran-5): hidden package.
> * gnu/packages/gcc.scm (gfortran-6): hidden package.
> * gnu/packages/gcc.scm (gfortran-7): hidden package.
> * gnu/packages/gcc.scm (gfortran-8): hidden package.
> * gnu/packages/gcc.scm (gfortran-9): hidden package.

Applied, thanks!

Ludo’.
Closed
?
Your comment

This issue is archived.

To comment on this conversation send email to 38636@debbugs.gnu.org