all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [PATCH 1/2] gnu: octave: Build with curl and graphicsmagick.
@ 2017-03-07 17:26 Arun Isaac
  2017-03-07 20:04 ` ng0
  0 siblings, 1 reply; 6+ messages in thread
From: Arun Isaac @ 2017-03-07 17:26 UTC (permalink / raw)
  To: guix-devel

* gnu/packages/maths.scm (octave)[inputs]: Add curl and graphicsmagick.
---
 gnu/packages/maths.scm | 107 +++++++++++++++++++++++++------------------------
 1 file changed, 55 insertions(+), 52 deletions(-)

diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index 9533f5f0a..3abdf5375 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -72,6 +72,7 @@
   #:use-module (gnu packages guile)
   #:use-module (gnu packages xorg)
   #:use-module (gnu packages gl)
+  #:use-module (gnu packages imagemagick)
   #:use-module (gnu packages m4)
   #:use-module (gnu packages mpi)
   #:use-module (gnu packages multiprecision)
@@ -923,62 +924,64 @@ can solve two kinds of problems:
 ;; the following packages: texinfo, less, ghostscript, gnuplot.
 (define-public octave
   (package
-    (name "octave")
-    (version "4.2.1")
-    (source
-     (origin
-      (method url-fetch)
-      (uri (string-append "mirror://gnu/octave/octave-"
-                          version ".tar.lz"))
-      (sha256
-       (base32
-        "09zhhch79jw3ynw39vizx0i2cbd2bjz3sp38pjdzraqrbivpwp92"))))
-    (build-system gnu-build-system)
-    (inputs
-     `(("lapack" ,lapack)
-       ("readline" ,readline)
-       ("glpk" ,glpk)
-       ("fftw" ,fftw)
-       ("fftwf" ,fftwf)
-       ("arpack" ,arpack-ng)
-       ("pcre" ,pcre)
-       ("fltk" ,fltk)
-       ("fontconfig" ,fontconfig)
-       ("freetype" ,freetype)
-       ("hdf5" ,hdf5)
-       ("libxft" ,libxft)
-       ("mesa" ,mesa)
-       ("glu" ,glu)
-       ("zlib" ,zlib)))
-    (native-inputs
-     `(("lzip" ,lzip)
-       ("gfortran" ,gfortran)
-       ("pkg-config" ,pkg-config)
-       ("perl" ,perl)
-       ;; The following inputs are not actually used in the build process.
-       ;; However, the ./configure gratuitously tests for their existence and
-       ;; assumes that programs not present at build time are also not, and
-       ;; can never be, available at run time!  If these inputs are therefore
-       ;; not present, support for them will be built out.  However, Octave
-       ;; will still run without them, albeit without the features they
-       ;; provide.
-       ("less" ,less)
-       ("texinfo" ,texinfo)
-       ("ghostscript" ,ghostscript)
-       ("gnuplot" ,gnuplot)))
-    (arguments
-     `(#:configure-flags
-       (list (string-append "--with-shell="
-                            (assoc-ref %build-inputs "bash")
-                            "/bin/sh"))))
-    (home-page "https://www.gnu.org/software/octave/")
-    (synopsis "High-level language for numerical computation")
-    (description "GNU Octave is a high-level interpreted language that is
+   (name "octave")
+   (version "4.2.1")
+   (source
+    (origin
+     (method url-fetch)
+     (uri (string-append "mirror://gnu/octave/octave-"
+                         version ".tar.lz"))
+     (sha256
+      (base32
+       "09zhhch79jw3ynw39vizx0i2cbd2bjz3sp38pjdzraqrbivpwp92"))))
+   (build-system gnu-build-system)
+   (inputs
+    `(("lapack" ,lapack)
+      ("readline" ,readline)
+      ("glpk" ,glpk)
+      ("fftw" ,fftw)
+      ("fftwf" ,fftwf)
+      ("arpack" ,arpack-ng)
+      ("pcre" ,pcre)
+      ("fltk" ,fltk)
+      ("fontconfig" ,fontconfig)
+      ("freetype" ,freetype)
+      ("hdf5" ,hdf5)
+      ("libxft" ,libxft)
+      ("mesa" ,mesa)
+      ("glu" ,glu)
+      ("zlib" ,zlib)
+      ("curl" ,curl)
+      ("graphicsmagick" ,graphicsmagick)))
+   (native-inputs
+    `(("lzip" ,lzip)
+      ("gfortran" ,gfortran)
+      ("pkg-config" ,pkg-config)
+      ("perl" ,perl)
+      ;; The following inputs are not actually used in the build process.
+      ;; However, the ./configure gratuitously tests for their existence and
+      ;; assumes that programs not present at build time are also not, and
+      ;; can never be, available at run time!  If these inputs are therefore
+      ;; not present, support for them will be built out.  However, Octave
+      ;; will still run without them, albeit without the features they
+      ;; provide.
+      ("less" ,less)
+      ("texinfo" ,texinfo)
+      ("ghostscript" ,ghostscript)
+      ("gnuplot" ,gnuplot)))
+   (arguments
+    `(#:configure-flags
+      (list (string-append "--with-shell="
+                           (assoc-ref %build-inputs "bash")
+                           "/bin/sh"))))
+   (home-page "https://www.gnu.org/software/octave/")
+   (synopsis "High-level language for numerical computation")
+   (description "GNU Octave is a high-level interpreted language that is
 specialized for numerical computations.  It can be used for both linear and
 non-linear applications and it provides great support for visualizing results.
 Work may be performed both at the interactive command-line as well as via
 script files.")
-    (license license:gpl3+)))
+   (license license:gpl3+)))
 
 (define-public opencascade-oce
   (package
-- 
2.11.0

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

* [PATCH 1/2] gnu: octave: Build with curl and graphicsmagick.
@ 2017-03-07 19:16 Arun Isaac
  2017-03-07 19:16 ` [PATCH 2/2] gnu: graphicsmagick: Build with 16 bit quantum depth Arun Isaac
  0 siblings, 1 reply; 6+ messages in thread
From: Arun Isaac @ 2017-03-07 19:16 UTC (permalink / raw)
  To: guix-devel

* gnu/packages/maths.scm (octave)[inputs]: Add curl and graphicsmagick.
---
 gnu/packages/maths.scm | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index 9533f5f0a..d274d50bb 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -72,6 +72,7 @@
   #:use-module (gnu packages guile)
   #:use-module (gnu packages xorg)
   #:use-module (gnu packages gl)
+  #:use-module (gnu packages imagemagick)
   #:use-module (gnu packages m4)
   #:use-module (gnu packages mpi)
   #:use-module (gnu packages multiprecision)
@@ -949,7 +950,9 @@ can solve two kinds of problems:
        ("libxft" ,libxft)
        ("mesa" ,mesa)
        ("glu" ,glu)
-       ("zlib" ,zlib)))
+       ("zlib" ,zlib)
+       ("curl" ,curl)
+       ("graphicsmagick" ,graphicsmagick)))
     (native-inputs
      `(("lzip" ,lzip)
        ("gfortran" ,gfortran)
-- 
2.11.0

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

* [PATCH 2/2] gnu: graphicsmagick: Build with 16 bit quantum depth.
  2017-03-07 19:16 [PATCH 1/2] gnu: octave: Build with curl and graphicsmagick Arun Isaac
@ 2017-03-07 19:16 ` Arun Isaac
  0 siblings, 0 replies; 6+ messages in thread
From: Arun Isaac @ 2017-03-07 19:16 UTC (permalink / raw)
  To: guix-devel

Octave requires graphicsmagick to be built with 16 bit quantum depth.

* gnu/packages/imagemagick.scm (graphicsmagick)[arguments]: Add
  "--with-quantum-depth=16" to #:configure-flags.
---
 gnu/packages/imagemagick.scm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gnu/packages/imagemagick.scm b/gnu/packages/imagemagick.scm
index 74483965d..65e42fe3e 100644
--- a/gnu/packages/imagemagick.scm
+++ b/gnu/packages/imagemagick.scm
@@ -187,6 +187,7 @@ script.")
          (list "--with-frozenpaths"
                "--enable-shared=yes"
                "--with-x=yes"
+               "--with-quantum-depth=16"
                (string-append "--with-gs-font-dir="
                               (assoc-ref %build-inputs "gs-fonts")
                               "/share/fonts/type1/ghostscript"))))
-- 
2.11.0

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

* Re: [PATCH 1/2] gnu: octave: Build with curl and graphicsmagick.
  2017-03-07 17:26 Arun Isaac
@ 2017-03-07 20:04 ` ng0
  0 siblings, 0 replies; 6+ messages in thread
From: ng0 @ 2017-03-07 20:04 UTC (permalink / raw)
  To: Arun Isaac; +Cc: guix-devel

Arun Isaac transcribed 4.8K bytes:
> * gnu/packages/maths.scm (octave)[inputs]: Add curl and graphicsmagick.
> ---
>  gnu/packages/maths.scm | 107 +++++++++++++++++++++++++------------------------
>  1 file changed, 55 insertions(+), 52 deletions(-)
> 
> diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
> index 9533f5f0a..3abdf5375 100644
> --- a/gnu/packages/maths.scm
> +++ b/gnu/packages/maths.scm
> @@ -72,6 +72,7 @@
>    #:use-module (gnu packages guile)
>    #:use-module (gnu packages xorg)
>    #:use-module (gnu packages gl)
> +  #:use-module (gnu packages imagemagick)
>    #:use-module (gnu packages m4)
>    #:use-module (gnu packages mpi)
>    #:use-module (gnu packages multiprecision)
> @@ -923,62 +924,64 @@ can solve two kinds of problems:
>  ;; the following packages: texinfo, less, ghostscript, gnuplot.
>  (define-public octave
>    (package

The patch below looks like your editor fixed up indentation of regions
you did not work in, which will make it hard to search for the real
additions and changes.
If I'm right about this, could you send a version without indent fixes?

> -    (name "octave")
> -    (version "4.2.1")
> -    (source
> -     (origin
> -      (method url-fetch)
> -      (uri (string-append "mirror://gnu/octave/octave-"
> -                          version ".tar.lz"))
> -      (sha256
> -       (base32
> -        "09zhhch79jw3ynw39vizx0i2cbd2bjz3sp38pjdzraqrbivpwp92"))))
> -    (build-system gnu-build-system)
> -    (inputs
> -     `(("lapack" ,lapack)
> -       ("readline" ,readline)
> -       ("glpk" ,glpk)
> -       ("fftw" ,fftw)
> -       ("fftwf" ,fftwf)
> -       ("arpack" ,arpack-ng)
> -       ("pcre" ,pcre)
> -       ("fltk" ,fltk)
> -       ("fontconfig" ,fontconfig)
> -       ("freetype" ,freetype)
> -       ("hdf5" ,hdf5)
> -       ("libxft" ,libxft)
> -       ("mesa" ,mesa)
> -       ("glu" ,glu)
> -       ("zlib" ,zlib)))
> -    (native-inputs
> -     `(("lzip" ,lzip)
> -       ("gfortran" ,gfortran)
> -       ("pkg-config" ,pkg-config)
> -       ("perl" ,perl)
> -       ;; The following inputs are not actually used in the build process.
> -       ;; However, the ./configure gratuitously tests for their existence and
> -       ;; assumes that programs not present at build time are also not, and
> -       ;; can never be, available at run time!  If these inputs are therefore
> -       ;; not present, support for them will be built out.  However, Octave
> -       ;; will still run without them, albeit without the features they
> -       ;; provide.
> -       ("less" ,less)
> -       ("texinfo" ,texinfo)
> -       ("ghostscript" ,ghostscript)
> -       ("gnuplot" ,gnuplot)))
> -    (arguments
> -     `(#:configure-flags
> -       (list (string-append "--with-shell="
> -                            (assoc-ref %build-inputs "bash")
> -                            "/bin/sh"))))
> -    (home-page "https://www.gnu.org/software/octave/")
> -    (synopsis "High-level language for numerical computation")
> -    (description "GNU Octave is a high-level interpreted language that is
> +   (name "octave")
> +   (version "4.2.1")
> +   (source
> +    (origin
> +     (method url-fetch)
> +     (uri (string-append "mirror://gnu/octave/octave-"
> +                         version ".tar.lz"))
> +     (sha256
> +      (base32
> +       "09zhhch79jw3ynw39vizx0i2cbd2bjz3sp38pjdzraqrbivpwp92"))))
> +   (build-system gnu-build-system)
> +   (inputs
> +    `(("lapack" ,lapack)
> +      ("readline" ,readline)
> +      ("glpk" ,glpk)
> +      ("fftw" ,fftw)
> +      ("fftwf" ,fftwf)
> +      ("arpack" ,arpack-ng)
> +      ("pcre" ,pcre)
> +      ("fltk" ,fltk)
> +      ("fontconfig" ,fontconfig)
> +      ("freetype" ,freetype)
> +      ("hdf5" ,hdf5)
> +      ("libxft" ,libxft)
> +      ("mesa" ,mesa)
> +      ("glu" ,glu)
> +      ("zlib" ,zlib)
> +      ("curl" ,curl)
> +      ("graphicsmagick" ,graphicsmagick)))
> +   (native-inputs
> +    `(("lzip" ,lzip)
> +      ("gfortran" ,gfortran)
> +      ("pkg-config" ,pkg-config)
> +      ("perl" ,perl)
> +      ;; The following inputs are not actually used in the build process.
> +      ;; However, the ./configure gratuitously tests for their existence and
> +      ;; assumes that programs not present at build time are also not, and
> +      ;; can never be, available at run time!  If these inputs are therefore
> +      ;; not present, support for them will be built out.  However, Octave
> +      ;; will still run without them, albeit without the features they
> +      ;; provide.
> +      ("less" ,less)
> +      ("texinfo" ,texinfo)
> +      ("ghostscript" ,ghostscript)
> +      ("gnuplot" ,gnuplot)))
> +   (arguments
> +    `(#:configure-flags
> +      (list (string-append "--with-shell="
> +                           (assoc-ref %build-inputs "bash")
> +                           "/bin/sh"))))
> +   (home-page "https://www.gnu.org/software/octave/")
> +   (synopsis "High-level language for numerical computation")
> +   (description "GNU Octave is a high-level interpreted language that is
>  specialized for numerical computations.  It can be used for both linear and
>  non-linear applications and it provides great support for visualizing results.
>  Work may be performed both at the interactive command-line as well as via
>  script files.")
> -    (license license:gpl3+)))
> +   (license license:gpl3+)))
>  
>  (define-public opencascade-oce
>    (package
> -- 
> 2.11.0
> 
> 

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

* [PATCH 1/2] gnu: octave: Build with curl and graphicsmagick.
@ 2017-03-08 20:11 Arun Isaac
  2017-03-09 21:46 ` Leo Famulari
  0 siblings, 1 reply; 6+ messages in thread
From: Arun Isaac @ 2017-03-08 20:11 UTC (permalink / raw)
  To: guix-devel

* gnu/packages/maths.scm (octave)[inputs]: Add curl and graphicsmagick.
---
 gnu/packages/maths.scm | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index 9533f5f0a..d274d50bb 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -72,6 +72,7 @@
   #:use-module (gnu packages guile)
   #:use-module (gnu packages xorg)
   #:use-module (gnu packages gl)
+  #:use-module (gnu packages imagemagick)
   #:use-module (gnu packages m4)
   #:use-module (gnu packages mpi)
   #:use-module (gnu packages multiprecision)
@@ -949,7 +950,9 @@ can solve two kinds of problems:
        ("libxft" ,libxft)
        ("mesa" ,mesa)
        ("glu" ,glu)
-       ("zlib" ,zlib)))
+       ("zlib" ,zlib)
+       ("curl" ,curl)
+       ("graphicsmagick" ,graphicsmagick)))
     (native-inputs
      `(("lzip" ,lzip)
        ("gfortran" ,gfortran)
-- 
2.11.0

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

* Re: [PATCH 1/2] gnu: octave: Build with curl and graphicsmagick.
  2017-03-08 20:11 [PATCH 1/2] gnu: octave: Build with curl and graphicsmagick Arun Isaac
@ 2017-03-09 21:46 ` Leo Famulari
  0 siblings, 0 replies; 6+ messages in thread
From: Leo Famulari @ 2017-03-09 21:46 UTC (permalink / raw)
  To: Arun Isaac; +Cc: guix-devel

On Thu, Mar 09, 2017 at 01:41:44AM +0530, Arun Isaac wrote:
> * gnu/packages/maths.scm (octave)[inputs]: Add curl and graphicsmagick.

Thanks, pushed!

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

end of thread, other threads:[~2017-03-09 21:46 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-07 19:16 [PATCH 1/2] gnu: octave: Build with curl and graphicsmagick Arun Isaac
2017-03-07 19:16 ` [PATCH 2/2] gnu: graphicsmagick: Build with 16 bit quantum depth Arun Isaac
  -- strict thread matches above, loose matches on Subject: below --
2017-03-08 20:11 [PATCH 1/2] gnu: octave: Build with curl and graphicsmagick Arun Isaac
2017-03-09 21:46 ` Leo Famulari
2017-03-07 17:26 Arun Isaac
2017-03-07 20:04 ` ng0

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.