unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* bug#26350: [PATCH 1/2] gnu: Add gl2ps.
  2017-04-03 15:42 bug#26350: Build octave with gl2ps support Arun Isaac
@ 2017-04-03 15:46 ` Arun Isaac
  2017-04-08 13:24   ` Ludovic Courtès
  0 siblings, 1 reply; 12+ messages in thread
From: Arun Isaac @ 2017-04-03 15:46 UTC (permalink / raw)
  To: 26350

* gnu/packages/gl.scm (gl2ps): New variable.
---
 gnu/packages/gl.scm | 34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

diff --git a/gnu/packages/gl.scm b/gnu/packages/gl.scm
index 37a1bd909..e18965866 100644
--- a/gnu/packages/gl.scm
+++ b/gnu/packages/gl.scm
@@ -7,6 +7,7 @@
 ;;; Copyright © 2016, 2017 Ricardo Wurmus <rekado@elephly.net>
 ;;; Copyright © 2016 David Thompson <davet@gnu.org>
 ;;; Copyright © 2017 Efraim Flashner <efraim@flashner.co.il>
+;;; Copyright © 2017 Arun Isaac <arunisaac@systemreboot.net>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -27,12 +28,14 @@
   #:use-module (gnu packages)
   #:use-module (gnu packages autotools)
   #:use-module (gnu packages bison)
+  #:use-module (gnu packages compression)
   #:use-module (gnu packages documentation)
   #:use-module (gnu packages flex)
   #:use-module (gnu packages fontutils)
   #:use-module (gnu packages freedesktop)
   #:use-module (gnu packages gettext)
   #:use-module (gnu packages guile)
+  #:use-module (gnu packages image)
   #:use-module (gnu packages linux)
   #:use-module (gnu packages llvm)
   #:use-module (gnu packages pkg-config)
@@ -612,3 +615,34 @@ library for OpenGL.  It has lean API modeled after HTML5 canvas API.  It is
 aimed to be a practical and fun toolset for building scalable user interfaces
 and visualizations.")
     (license license:zlib)))
+
+(define-public gl2ps
+  (package
+    (name "gl2ps")
+    (version "1.3.9")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "http://geuz.org/gl2ps/src/gl2ps-"
+             version ".tgz"))
+       (sha256
+        (base32
+         "0h1nrhmkc4qjw2ninwpj2zbgwhc0qg6pdhpsibbvry0d2bzhns4a"))))
+    (build-system cmake-build-system)
+    (inputs
+     `(("libpng" ,libpng)
+       ("mesa" ,mesa)
+       ("zlib" ,zlib)))
+    (arguments
+     `(#:tests? #f))  ;; no tests
+    (home-page "http://www.geuz.org/gl2ps/")
+    (synopsis "OpenGL to PostScript printing library")
+    (description "GL2PS is a C library providing high quality vector
+output for any OpenGL application.  GL2PS uses sorting algorithms
+capable of handling intersecting and stretched polygons, as well as
+non-manifold objects.  GL2PS provides many features including advanced
+smooth shading and text rendering, culling of invisible primitives and
+mixed vector/bitmap output.")
+    (license (list license:lgpl2.0+
+                   (license:non-copyleft "http://www.geuz.org/gl2ps/COPYING.GL2PS")))))
-- 
2.11.0

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

* bug#26350: [PATCH 2/2] gnu: octave: Build with gl2ps support.
       [not found] <20170403154655.30277-1-arunisaac@systemreboot.net>
@ 2017-04-03 15:46 ` Arun Isaac
  2017-04-08 13:24   ` Ludovic Courtès
  2017-04-08 13:27   ` Ludovic Courtès
  2017-04-03 15:50 ` bug#26350: [PATCH 1/2] gnu: Add gl2ps Arun Isaac
  1 sibling, 2 replies; 12+ messages in thread
From: Arun Isaac @ 2017-04-03 15:46 UTC (permalink / raw)
  To: 26350

* gnu/packages/maths.scm (octave)[inputs]: Add gl2ps.
---
 gnu/packages/maths.scm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index cefc53d67..df60ec384 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -1001,6 +1001,7 @@ can solve two kinds of problems:
     (inputs
      `(("lapack" ,lapack)
        ("readline" ,readline)
+       ("gl2ps" ,gl2ps)
        ("glpk" ,glpk)
        ("fftw" ,fftw)
        ("fftwf" ,fftwf)
-- 
2.11.0


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

* bug#26350: [PATCH 1/2] gnu: Add gl2ps.
       [not found] <20170403154655.30277-1-arunisaac@systemreboot.net>
  2017-04-03 15:46 ` bug#26350: [PATCH 2/2] gnu: octave: Build with gl2ps support Arun Isaac
@ 2017-04-03 15:50 ` Arun Isaac
  2017-04-08 13:19   ` Ludovic Courtès
  1 sibling, 1 reply; 12+ messages in thread
From: Arun Isaac @ 2017-04-03 15:50 UTC (permalink / raw)
  To: 26350


> +                   (license:non-copyleft "http://www.geuz.org/gl2ps/COPYING.GL2PS")))))

I'm not sure I got this license right. Could someone please check before
pushing?

Thanks.


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

* bug#26350: [PATCH 1/2] gnu: Add gl2ps.
  2017-04-03 15:50 ` bug#26350: [PATCH 1/2] gnu: Add gl2ps Arun Isaac
@ 2017-04-08 13:19   ` Ludovic Courtès
  0 siblings, 0 replies; 12+ messages in thread
From: Ludovic Courtès @ 2017-04-08 13:19 UTC (permalink / raw)
  To: Arun Isaac; +Cc: 26350

Arun Isaac <arunisaac@systemreboot.net> skribis:

>> +                   (license:non-copyleft "http://www.geuz.org/gl2ps/COPYING.GL2PS")))))
>
> I'm not sure I got this license right. Could someone please check before
> pushing?

This looks like a copyleft license incompatible with the GPL.

However gl2ps.h has an explicit LGPL-compatibility clause, which makes
it usable in Octave:

  https://searchcode.com/file/9513121/tags/R2008-04-29/extra/jhandles/src/gl2ps.h

Ludo’.

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

* bug#26350: [PATCH 1/2] gnu: Add gl2ps.
  2017-04-03 15:46 ` bug#26350: [PATCH 1/2] gnu: Add gl2ps Arun Isaac
@ 2017-04-08 13:24   ` Ludovic Courtès
  0 siblings, 0 replies; 12+ messages in thread
From: Ludovic Courtès @ 2017-04-08 13:24 UTC (permalink / raw)
  To: Arun Isaac; +Cc: 26350

Arun Isaac <arunisaac@systemreboot.net> skribis:

> * gnu/packages/gl.scm (gl2ps): New variable.

Applied.

> +    (license (list license:lgpl2.0+
> +                   (license:non-copyleft "http://www.geuz.org/gl2ps/COPYING.GL2PS")))))

I changed ‘non-copyleft’ to ‘fsf-free’ with a note saying this is a
copyleft license.

Thanks!

Ludo’.

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

* bug#26350: [PATCH 2/2] gnu: octave: Build with gl2ps support.
  2017-04-03 15:46 ` bug#26350: [PATCH 2/2] gnu: octave: Build with gl2ps support Arun Isaac
@ 2017-04-08 13:24   ` Ludovic Courtès
  2017-04-08 13:27   ` Ludovic Courtès
  1 sibling, 0 replies; 12+ messages in thread
From: Ludovic Courtès @ 2017-04-08 13:24 UTC (permalink / raw)
  To: Arun Isaac; +Cc: 26350-done

Arun Isaac <arunisaac@systemreboot.net> skribis:

> * gnu/packages/maths.scm (octave)[inputs]: Add gl2ps.

Applied, thanks!

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

* bug#26350: [PATCH 2/2] gnu: octave: Build with gl2ps support.
  2017-04-03 15:46 ` bug#26350: [PATCH 2/2] gnu: octave: Build with gl2ps support Arun Isaac
  2017-04-08 13:24   ` Ludovic Courtès
@ 2017-04-08 13:27   ` Ludovic Courtès
  2017-04-08 18:21     ` Arun Isaac
       [not found]     ` <75c9aee5.AEQAJCI1uEoAAAAAAAAAAAOzWv8AAAACwQwAAAAAAAW9WABY6So4@mailjet.com>
  1 sibling, 2 replies; 12+ messages in thread
From: Ludovic Courtès @ 2017-04-08 13:27 UTC (permalink / raw)
  To: Arun Isaac; +Cc: Ricardo Wurmus, 26350

BTW Arun, could you create an account on Savannah so we can give you
commit access (make sure to upload on your Savannah account page the
OpenPGP key you will use to sign commits)?  That should be more
convenient for you.  :-)

Thanks in advance,
Ludo’.

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

* bug#26350: [PATCH 2/2] gnu: octave: Build with gl2ps support.
  2017-04-08 13:27   ` Ludovic Courtès
@ 2017-04-08 18:21     ` Arun Isaac
       [not found]     ` <75c9aee5.AEQAJCI1uEoAAAAAAAAAAAOzWv8AAAACwQwAAAAAAAW9WABY6So4@mailjet.com>
  1 sibling, 0 replies; 12+ messages in thread
From: Arun Isaac @ 2017-04-08 18:21 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: Ricardo Wurmus, 26350


Ludovic Courtès writes:

> BTW Arun, could you create an account on Savannah so we can give you
> commit access (make sure to upload on your Savannah account page the
> OpenPGP key you will use to sign commits)?  That should be more
> convenient for you.  :-)

That's nice. Thanks! :-) I've created an account on Savannah.

https://savannah.gnu.org/users/arunisaac

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

* bug#26350: [PATCH 2/2] gnu: octave: Build with gl2ps support.
       [not found]     ` <75c9aee5.AEQAJCI1uEoAAAAAAAAAAAOzWv8AAAACwQwAAAAAAAW9WABY6So4@mailjet.com>
@ 2017-04-10  8:15       ` Ludovic Courtès
  2017-04-10 18:16         ` Arun Isaac
       [not found]         ` <cu760icwftl.fsf@systemreboot.net>
  0 siblings, 2 replies; 12+ messages in thread
From: Ludovic Courtès @ 2017-04-10  8:15 UTC (permalink / raw)
  To: Arun Isaac; +Cc: Ricardo Wurmus, 26350

[-- Attachment #1: Type: text/plain, Size: 725 bytes --]

Hi Arun,

Arun Isaac <arunisaac@systemreboot.net> skribis:

> Ludovic Courtès writes:
>
>> BTW Arun, could you create an account on Savannah so we can give you
>> commit access (make sure to upload on your Savannah account page the
>> OpenPGP key you will use to sign commits)?  That should be more
>> convenient for you.  :-)
>
> That's nice. Thanks! :-) I've created an account on Savannah.
>
> https://savannah.gnu.org/users/arunisaac

Awesome, I’ve added you to the group.

Could you reply to this message signed with OpenPGP key
7F730343F2F09F3C77BF79D32E25EE8B61802BB3?

Please make sure to read ‘HACKING’ for the bits about commit access.

Thank you, and welcome aboard!  :-)

Ludo’.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

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

* bug#26350: [PATCH 2/2] gnu: octave: Build with gl2ps support.
  2017-04-10  8:15       ` Ludovic Courtès
@ 2017-04-10 18:16         ` Arun Isaac
  2017-04-10 19:43           ` Leo Famulari
       [not found]         ` <cu760icwftl.fsf@systemreboot.net>
  1 sibling, 1 reply; 12+ messages in thread
From: Arun Isaac @ 2017-04-10 18:16 UTC (permalink / raw)
  To: 26350


[-- Attachment #1.1: Type: text/plain, Size: 581 bytes --]


> Could you reply to this message signed with OpenPGP key
> 7F730343F2F09F3C77BF79D32E25EE8B61802BB3?

My outgoing SMTP relay (the mailjet.com smarthost) reencodes my mail
corrupting my PGP signature. And, since I am running my mail server on a
dynamic IP connection, I'm having difficulty sending mail directly to
debbugs.gnu.org. So, instead I have attached a text file signed with my
key. Will that do?

> Please make sure to read ‘HACKING’ for the bits about commit access.

Yes, I read `HACKING'.

> Thank you, and welcome aboard!  :-)

Thank You! :-)


[-- Attachment #1.2: test-signature.gpg --]
[-- Type: application/octet-stream, Size: 386 bytes --]

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

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

* bug#26350: [PATCH 2/2] gnu: octave: Build with gl2ps support.
  2017-04-10 18:16         ` Arun Isaac
@ 2017-04-10 19:43           ` Leo Famulari
  0 siblings, 0 replies; 12+ messages in thread
From: Leo Famulari @ 2017-04-10 19:43 UTC (permalink / raw)
  To: Arun Isaac; +Cc: 26350

[-- Attachment #1: Type: text/plain, Size: 594 bytes --]

On Mon, Apr 10, 2017 at 11:46:11PM +0530, Arun Isaac wrote:
> 
> > Could you reply to this message signed with OpenPGP key
> > 7F730343F2F09F3C77BF79D32E25EE8B61802BB3?
> 
> My outgoing SMTP relay (the mailjet.com smarthost) reencodes my mail
> corrupting my PGP signature. And, since I am running my mail server on a
> dynamic IP connection, I'm having difficulty sending mail directly to
> debbugs.gnu.org. So, instead I have attached a text file signed with my
> key. Will that do?

Thanks, I verified the text file was signed with key
7F730343F2F09F3C77BF79D32E25EE8B61802BB3.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

* bug#26350: [PATCH 2/2] gnu: octave: Build with gl2ps support.
       [not found]         ` <cu760icwftl.fsf@systemreboot.net>
@ 2017-04-10 21:37           ` Ludovic Courtès
  0 siblings, 0 replies; 12+ messages in thread
From: Ludovic Courtès @ 2017-04-10 21:37 UTC (permalink / raw)
  To: Arun Isaac; +Cc: 26350

Arun Isaac <arunisaac@systemreboot.net> skribis:

>> Could you reply to this message signed with OpenPGP key
>> 7F730343F2F09F3C77BF79D32E25EE8B61802BB3?
>
> This message should be signed with my key.

Perfect, thanks!

Ludo’.

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

end of thread, other threads:[~2017-04-10 21:39 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20170403154655.30277-1-arunisaac@systemreboot.net>
2017-04-03 15:46 ` bug#26350: [PATCH 2/2] gnu: octave: Build with gl2ps support Arun Isaac
2017-04-08 13:24   ` Ludovic Courtès
2017-04-08 13:27   ` Ludovic Courtès
2017-04-08 18:21     ` Arun Isaac
     [not found]     ` <75c9aee5.AEQAJCI1uEoAAAAAAAAAAAOzWv8AAAACwQwAAAAAAAW9WABY6So4@mailjet.com>
2017-04-10  8:15       ` Ludovic Courtès
2017-04-10 18:16         ` Arun Isaac
2017-04-10 19:43           ` Leo Famulari
     [not found]         ` <cu760icwftl.fsf@systemreboot.net>
2017-04-10 21:37           ` Ludovic Courtès
2017-04-03 15:50 ` bug#26350: [PATCH 1/2] gnu: Add gl2ps Arun Isaac
2017-04-08 13:19   ` Ludovic Courtès
2017-04-03 15:42 bug#26350: Build octave with gl2ps support Arun Isaac
2017-04-03 15:46 ` bug#26350: [PATCH 1/2] gnu: Add gl2ps Arun Isaac
2017-04-08 13:24   ` 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).