Package: guile-lib
Version: 0.1.2
Severity: wishlist

Hi,

There is a new upstream version available:
http://download.gna.org/guile-lib/guile-lib-0.1.4.tar.gz

The attached patch can be used to build the package.

Cheers,
Balint
--- guile-lib-0.1.4.orig/src/os/process.scm
+++ guile-lib-0.1.4/src/os/process.scm
@@ -400,6 +400,7 @@
 
 Example:
 @example
+ (use-modules (ice-9 rdelim)) ; needed by read-line
  (define catport (cdr (run-with-pipe \"r\" \"cat\" \"/etc/passwd\")))
  (read-line catport)
 @end example"
--- guile-lib-0.1.4.orig/src/srfi/srfi-40.scm
+++ guile-lib-0.1.4/src/srfi/srfi-40.scm
@@ -1,5 +1,6 @@
 (define-module (srfi srfi-40)
   #:use-module (ice-9 syncase)
+  #:use-module (ice-9 rdelim)
   #:use-module (oop goops)
 
   #:export
--- guile-lib-0.1.4.orig/doc/guile-library.texi
+++ guile-lib-0.1.4/doc/guile-library.texi
@@ -1265,6 +1265,7 @@
 Example:
 
 @example 
+ (use-modules (ice-9 rdelim)) ; needed by read-line
  (define catport (cdr (run-with-pipe "r" "cat" "/etc/passwd")))
  (read-line catport)
 @end example
--- guile-lib-0.1.4.orig/doc/guile-library.info
+++ guile-lib-0.1.4/doc/guile-library.info
@@ -1253,6 +1253,7 @@
 
      Example:
 
+           (use-modules (ice-9 rdelim)) ; needed by read-line
            (define catport (cdr (run-with-pipe "r" "cat" "/etc/passwd")))
            (read-line catport)
 
--- guile-lib-0.1.4.orig/unit-tests/os.process.scm
+++ guile-lib-0.1.4/unit-tests/os.process.scm
@@ -45,7 +45,7 @@
   (assert-equal 25
                 (status:exit-val 
                  (run+ (tail-call-pipeline ("echo" "25") 
-                                           ("guile" "-c" "(exit (string->number (read-line)))"))))))
+                                           ("guile" "-c" "(use-modules (ice-9 rdelim)) (exit (string->number (read-line)))"))))))
 
 (exit-with-summary (run-all-defined-test-cases))
 
--- guile-lib-0.1.4.orig/unit-tests/statprof.scm
+++ guile-lib-0.1.4/unit-tests/statprof.scm
@@ -52,7 +52,7 @@
   (define (func-b n) (do ((i 0 (+ i 1))) ((= 200 i)) (+ i i)))
   (define (func-c n) (do ((i 0 (+ i 1))) ((= 200 i)) (+ i i)))
   
-  (let ((num-calls 333)
+  (let ((num-calls 3333)
         (func func-a))
 
     ;; Run test.
--- guile-lib-0.1.4.orig/debian/changelog
+++ guile-lib-0.1.4/debian/changelog
@@ -0,0 +1,25 @@
+guile-lib (0.1.4-0rbalint) unstable; urgency=low
+
+  * New upstream release. (closes: #287061, #290944)
+  * Depend on guile-1.8 instead of guile-1.6
+  * Minor fixes to work with guile-1.8 and to make tests happy
+
+ -- Balint Reczey <[EMAIL PROTECTED]>  Mon, 06 Aug 2007 19:10:37 +0200
+
+guile-lib (0.1.2-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Andreas Rottmann <[EMAIL PROTECTED]>  Wed,  4 Aug 2004 16:47:29 +0200
+
+guile-lib (0.1.1-2) unstable; urgency=low
+
+  * Added guile-1.6 and texinfo to Build-Depends-Indep (closes: #248217).
+
+ -- Andreas Rottmann <[EMAIL PROTECTED]>  Mon, 10 May 2004 09:40:58 +0200
+
+guile-lib (0.1.1-1) unstable; urgency=low
+
+  * First debianized version.
+  
+ -- Andreas Rottmann <[EMAIL PROTECTED]>  Sat, 24 Apr 2004 16:18:34 +0200
--- guile-lib-0.1.4.orig/debian/control
+++ guile-lib-0.1.4/debian/control
@@ -0,0 +1,20 @@
+Source: guile-lib
+Section: devel
+Priority: optional
+Maintainer: Andreas Rottmann <[EMAIL PROTECTED]>
+Standards-Version: 3.7.2
+Build-Depends-Indep: cdbs, debhelper (>= 4.1.0), guile-1.8, guile-1.8-dev, texinfo
+ 
+Package: guile-library
+Architecture: all
+Section: interpreters
+Depends: guile-1.8
+Description:  Library of useful Guile modules
+ A set of various-purpose library modules for Guile. Covered areas include:
+ .
+  * Unit testing framework ala JUnit
+  * Logging system
+  * String routines (wrapping, completion, soundex algorithm)
+  * OS process chains (think "shell pipes in scheme")
+  * ANSI escape sequence text coloring
+  * SRFI-35 (conditions)
--- guile-lib-0.1.4.orig/debian/copyright
+++ guile-lib-0.1.4/debian/copyright
@@ -0,0 +1,13 @@
+This package was debianized by Andreas Rottmann on
+Fri,  Apr 16 2004 22:25:21 CEST.
+
+It was downloaded from http://yi.org/rotty/GuileLib
+
+Upstream Authors: Richard Todd, Andreas Rottmann
+
+Copyright: 2003-2004, The guile-lib developers
+
+  You should have received a copy of the GNU General Public License
+  with the Debian GNU/Linux distribution in file
+  /usr/share/common-licenses/GPL; if not, write to the Free Software
+  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 US
--- guile-lib-0.1.4.orig/debian/guile-library.dirs
+++ guile-lib-0.1.4/debian/guile-library.dirs
@@ -0,0 +1,2 @@
+usr/share/guile
+usr/share/info
--- guile-lib-0.1.4.orig/debian/rules
+++ guile-lib-0.1.4/debian/rules
@@ -0,0 +1,11 @@
+#!/usr/bin/make -f
+
+#export DH_VERBOSE=1
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/autotools.mk
+
+DEB_CONFIGURE_EXTRA_FLAGS = --prefix=/usr --with-install-guile-lib=yes 
+DEB_MAKE_INSTALL_TARGET = install DESTDIR=$(DEB_DESTDIR)
+DEB_MAKE_CHECK_TARGET = check
+

Reply via email to