unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#38636] [PATCH] gnu: gfortran: change to a hidden package
@ 2019-12-16 11:18 Konrad Hinsen
  2019-12-16 12:51 ` [bug#38636] Rationale Konrad Hinsen
  2019-12-17 15:22 ` bug#38636: [PATCH] gnu: gfortran: change to a hidden package Ludovic Courtès
  0 siblings, 2 replies; 3+ messages in thread
From: Konrad Hinsen @ 2019-12-16 11:18 UTC (permalink / raw)
  To: 38636

* 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(-)

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

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

* [bug#38636] Rationale
  2019-12-16 11:18 [bug#38636] [PATCH] gnu: gfortran: change to a hidden package Konrad Hinsen
@ 2019-12-16 12:51 ` Konrad Hinsen
  2019-12-17 15:22 ` bug#38636: [PATCH] gnu: gfortran: change to a hidden package Ludovic Courtès
  1 sibling, 0 replies; 3+ messages in thread
From: Konrad Hinsen @ 2019-12-16 12:51 UTC (permalink / raw)
  To: 38636

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.

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

* bug#38636: [PATCH] gnu: gfortran: change to a hidden package
  2019-12-16 11:18 [bug#38636] [PATCH] gnu: gfortran: change to a hidden package Konrad Hinsen
  2019-12-16 12:51 ` [bug#38636] Rationale Konrad Hinsen
@ 2019-12-17 15:22 ` Ludovic Courtès
  1 sibling, 0 replies; 3+ messages in thread
From: Ludovic Courtès @ 2019-12-17 15:22 UTC (permalink / raw)
  To: Konrad Hinsen; +Cc: 38636-done

Hi!

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

> * 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’.

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

end of thread, other threads:[~2019-12-17 15:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-16 11:18 [bug#38636] [PATCH] gnu: gfortran: change to a hidden package Konrad Hinsen
2019-12-16 12:51 ` [bug#38636] Rationale Konrad Hinsen
2019-12-17 15:22 ` bug#38636: [PATCH] gnu: gfortran: change to a hidden package Ludovic Courtès

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