unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [PATCH] Add trio (dependency of ghostscript)
@ 2016-07-22 23:36 Ricardo Wurmus
  2016-07-24  0:15 ` Leo Famulari
  0 siblings, 1 reply; 3+ messages in thread
From: Ricardo Wurmus @ 2016-07-22 23:36 UTC (permalink / raw)
  To: guix-devel

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

Hi Guix,

I noticed that GNU Ghostscript (and the unpackaged AGPL Ghostscript)
bundles a few dependencies.  One of them is trio.

Here’s a working build of this library that has been sitting in my “wip”
branch for more than a year.

~~ Ricardo


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-Add-trio.patch --]
[-- Type: text/x-patch, Size: 1711 bytes --]

From 15ee46e1db30696c0f1dade014d619a8383dfa96 Mon Sep 17 00:00:00 2001
From: Ricardo Wurmus <rekado@elephly.net>
Date: Thu, 3 Sep 2015 13:28:25 +0200
Subject: [PATCH] gnu: Add trio.

* gnu/packages/code.scm (trio): New variable.
---
 gnu/packages/code.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/code.scm b/gnu/packages/code.scm
index c3efd15..cce6945 100644
--- a/gnu/packages/code.scm
+++ b/gnu/packages/code.scm
@@ -229,6 +229,29 @@ files, but compared to grep is much faster and respects files like .gitignore,
 .hgignore, etc.")
     (license license:asl2.0)))
 
+(define-public trio
+  (package
+    (name "trio")
+    (version "1.16")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "mirror://sourceforge/ctrio/trio/trio-"
+                                  version ".tar.gz"))
+              (sha256
+               (base32
+                "02pwd5m5vq7hbrffgm2na1dfc249z50yyr5jv73vdw15bd7ygl44"))))
+    (build-system gnu-build-system)
+    (home-page "http://daniel.haxx.se/projects/trio/")
+    (synopsis "Portable and extendable printf and string functions")
+    (description
+     "Trio is a set of @code{printf} and string functions designed be used by
+applications with a focus on portability or with the need for additional
+features that are not supported by the standard @code{stdio} implementation.")
+    ;; This license is very similar to the ISC license, but the wording is
+    ;; slightly different.
+    (license (license:non-copyleft
+              "http://sourceforge.net/p/ctrio/git/ci/master/tree/README"))))
+
 (define-public withershins
   (package
     (name "withershins")
-- 
2.8.4


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

* Re: [PATCH] Add trio (dependency of ghostscript)
  2016-07-22 23:36 [PATCH] Add trio (dependency of ghostscript) Ricardo Wurmus
@ 2016-07-24  0:15 ` Leo Famulari
  2016-08-04 11:41   ` Ricardo Wurmus
  0 siblings, 1 reply; 3+ messages in thread
From: Leo Famulari @ 2016-07-24  0:15 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: guix-devel

On Sat, Jul 23, 2016 at 01:36:41AM +0200, Ricardo Wurmus wrote:
> * gnu/packages/code.scm (trio): New variable.

LGTM

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

* Re: [PATCH] Add trio (dependency of ghostscript)
  2016-07-24  0:15 ` Leo Famulari
@ 2016-08-04 11:41   ` Ricardo Wurmus
  0 siblings, 0 replies; 3+ messages in thread
From: Ricardo Wurmus @ 2016-08-04 11:41 UTC (permalink / raw)
  To: Leo Famulari; +Cc: guix-devel


Leo Famulari <leo@famulari.name> writes:

> On Sat, Jul 23, 2016 at 01:36:41AM +0200, Ricardo Wurmus wrote:
>> * gnu/packages/code.scm (trio): New variable.
>
> LGTM

Thanks.  Pushed as a4e6356e110bb2cd3ad90d8943fd6a700de97ca8.

~~ Ricardo

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

end of thread, other threads:[~2016-08-04 11:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-22 23:36 [PATCH] Add trio (dependency of ghostscript) Ricardo Wurmus
2016-07-24  0:15 ` Leo Famulari
2016-08-04 11:41   ` Ricardo Wurmus

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