r41404 - in /trunk/libmath-random-mt-perl: Changes LICENSE MANIFEST META.yml MT.pm MT.xs README _mt.c debian/README.source debian/changelog debian/control debian/patches/ debian/rules mt.h

carnil-guest at users.alioth.debian.org carnil-guest at users.alioth.debian.org
Thu Aug 6 17:49:49 UTC 2009


Author: carnil-guest
Date: Thu Aug  6 17:49:38 2009
New Revision: 41404

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=41404
Log:
TODO: check debian/copyright
* New upstream release
  - Adds FTBFS on kfreebsd patch proposed by Cyril Brulebois
    (Closes #539949).

Added:
    trunk/libmath-random-mt-perl/LICENSE
      - copied unchanged from r41403, branches/upstream/libmath-random-mt-perl/current/LICENSE
Removed:
    trunk/libmath-random-mt-perl/debian/README.source
    trunk/libmath-random-mt-perl/debian/patches/
Modified:
    trunk/libmath-random-mt-perl/Changes
    trunk/libmath-random-mt-perl/MANIFEST
    trunk/libmath-random-mt-perl/META.yml
    trunk/libmath-random-mt-perl/MT.pm
    trunk/libmath-random-mt-perl/MT.xs
    trunk/libmath-random-mt-perl/README
    trunk/libmath-random-mt-perl/_mt.c
    trunk/libmath-random-mt-perl/debian/changelog
    trunk/libmath-random-mt-perl/debian/control
    trunk/libmath-random-mt-perl/debian/rules
    trunk/libmath-random-mt-perl/mt.h

Modified: trunk/libmath-random-mt-perl/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmath-random-mt-perl/Changes?rev=41404&op=diff
==============================================================================
--- trunk/libmath-random-mt-perl/Changes (original)
+++ trunk/libmath-random-mt-perl/Changes Thu Aug  6 17:49:38 2009
@@ -1,3 +1,10 @@
+1.08    2009-08-06      Abhijit Menon-Sen <ams at toroid.org>
+
+    * BSD license
+
+    * Compile fix for GNU/kFreeBSD from Cyril Brulebois (via Debian)
+
+
 1.07    2007-01-12      Abhijit Menon-Sen <ams at toroid.org>
 
     * Add the Changes file to the MANIFEST, in addition to editing it
@@ -20,12 +27,16 @@
 
     * Incorporated some compile fixes from Gordon Lack.
 
+    (1.03 had only some documentation changes.)
+
 
 1.02    2004-05-07      Abhijit Menon-Sen <ams at wiw.org>
 
     * Added support for seeding the random number generator with an
       array of numbers, as suggested by Philip M. Feldman.
 
+    (1.01 was not released.)
+
 
 1.00    2002-02-09      Abhijit Menon-Sen <ams at wiw.org>
 

Modified: trunk/libmath-random-mt-perl/MANIFEST
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmath-random-mt-perl/MANIFEST?rev=41404&op=diff
==============================================================================
--- trunk/libmath-random-mt-perl/MANIFEST (original)
+++ trunk/libmath-random-mt-perl/MANIFEST Thu Aug  6 17:49:38 2009
@@ -1,4 +1,5 @@
 MANIFEST
+LICENSE
 MT.pm
 MT.xs
 Makefile.PL

Modified: trunk/libmath-random-mt-perl/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmath-random-mt-perl/META.yml?rev=41404&op=diff
==============================================================================
--- trunk/libmath-random-mt-perl/META.yml (original)
+++ trunk/libmath-random-mt-perl/META.yml Thu Aug  6 17:49:38 2009
@@ -1,10 +1,12 @@
-# http://module-build.sourceforge.net/META-spec.html
-#XXXXXXX This is a prototype!!!  It will change in the future!!! XXXXX#
-name:         Math-Random-MT
-version:      1.07
-version_from: MT.pm
-installdirs:  site
-requires:
-
-distribution_type: module
-generated_by: ExtUtils::MakeMaker version 6.17
+--- #YAML:1.0
+name:                Math-Random-MT
+version:             1.08
+abstract:            The Mersenne Twister PRNG
+license:             ~
+author:              ~
+generated_by:        ExtUtils::MakeMaker version 6.44
+distribution_type:   module
+requires:     
+meta-spec:
+    url:     http://module-build.sourceforge.net/META-spec-v1.3.html
+    version: 1.3

Modified: trunk/libmath-random-mt-perl/MT.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmath-random-mt-perl/MT.pm?rev=41404&op=diff
==============================================================================
--- trunk/libmath-random-mt-perl/MT.pm (original)
+++ trunk/libmath-random-mt-perl/MT.pm Thu Aug  6 17:49:38 2009
@@ -1,6 +1,3 @@
-# Math::Random::MT
-# Copyright 2001 Abhijit Menon-Sen <ams at wiw.org>
-
 package Math::Random::MT;
 
 use strict;
@@ -10,7 +7,7 @@
 
 my $gen = undef;
 @ISA = qw( DynaLoader );
-($VERSION) = q$Revision: 1.07 $ =~ /([\d.]+)/;
+$VERSION = '1.08';
 
 bootstrap Math::Random::MT $VERSION;
 
@@ -115,7 +112,7 @@
 
 =head1 SEE ALSO
 
-<URL:http://www.math.keio.ac.jp/~matumoto/emt.html>
+<URL:http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/emt.html>
 
 Math::TrulyRandom
 
@@ -135,9 +132,12 @@
 
 =head1 AUTHOR
 
-Abhijit Menon-Sen <ams at wiw.org>
+Abhijit Menon-Sen <ams at toroid.org>
 
 Copyright 2001 Abhijit Menon-Sen. All rights reserved.
 
-This software is distributed under the terms of the Artistic License
-<URL:http://ams.wiw.org/code/artistic.txt>.
+Based on the C implementation of MT19937
+Copyright (C) 1997 - 2002, Makoto Matsumoto and Takuji Nishimura
+
+This software is distributed under a (three-clause) BSD-style license.
+See the LICENSE file in the distribution for details.

Modified: trunk/libmath-random-mt-perl/MT.xs
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmath-random-mt-perl/MT.xs?rev=41404&op=diff
==============================================================================
--- trunk/libmath-random-mt-perl/MT.xs (original)
+++ trunk/libmath-random-mt-perl/MT.xs Thu Aug  6 17:49:38 2009
@@ -1,8 +1,3 @@
-/*
- * Math::Random::MT
- * Copyright 2001 Abhijit Menon-Sen <ams at wiw.org>
- */
-
 #include "EXTERN.h"
 #include "perl.h"
 #include "XSUB.h"

Modified: trunk/libmath-random-mt-perl/README
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmath-random-mt-perl/README?rev=41404&op=diff
==============================================================================
--- trunk/libmath-random-mt-perl/README (original)
+++ trunk/libmath-random-mt-perl/README Thu Aug  6 17:49:38 2009
@@ -2,52 +2,48 @@
     Math::Random::MT - The Mersenne Twister PRNG
 
 SYNOPSIS
-    use Math::Random::MT;
+     use Math::Random::MT;
 
-    $gen = Math::Random::MT->new($seed); # OR...
-    $gen = Math::Random::MT->new(@seed);
+     $gen = Math::Random::MT->new($seed); # OR...
+     $gen = Math::Random::MT->new(@seed);
 
-    print $gen->rand(3);
+     print $gen->rand(3);
 
-    OR
+     OR
 
-    use Math::Random::MT qw(srand rand);
+     use Math::Random::MT qw(srand rand);
 
-    # now srand and rand behave as usual.
+     # now srand and rand behave as usual.
 
 DESCRIPTION
-    The Mersenne Twister is a pseudorandom number generator
-    developed by Makoto Matsumoto and Takuji Nishimura. It is
-    described in their paper at
+    The Mersenne Twister is a pseudorandom number generator developed by
+    Makoto Matsumoto and Takuji Nishimura. It is described in their paper at
     <URL:http://www.math.keio.ac.jp/~nisimura/random/doc/mt.ps>.
 
-    This module implements two interfaces, as described in the
-    synopsis above. It defines the following functions.
+    This module implements two interfaces, as described in the synopsis
+    above. It defines the following functions.
 
   Functions
-
     new($seed)
-        Creates a new generator seeded with an unsigned 32-bit
-        integer.
+        Creates a new generator seeded with an unsigned 32-bit integer.
 
     new(@seed)
-        Creates a new generator seeded with an array of (up to 624)
-        unsigned 32-bit integers.
+        Creates a new generator seeded with an array of (up to 624) unsigned
+        32-bit integers.
 
     rand($num)
-        Behaves exactly like Perl's builtin rand(), returning a
-        number uniformly distributed in [0, $num) ($num defaults to
-        1).
+        Behaves exactly like Perl's builtin rand(), returning a number
+        uniformly distributed in [0, $num) ($num defaults to 1).
 
     srand($seed)
-        This is an alternative interface to the module's
-        functionality. It behaves just like Perl's builtin srand().
-        If you use this interface, it is strongly recommended that
-        you call *srand()* explicitly, rather than relying on
-        *rand()* to call it the first time it is used.
+        This is an alternative interface to the module's functionality. It
+        behaves just like Perl's builtin srand(). If you use this interface,
+        it is strongly recommended that you call *srand()* explicitly,
+        rather than relying on *rand()* to call it the first time it is
+        used.
 
 SEE ALSO
-    <URL:http://www.math.keio.ac.jp/~matumoto/emt.html>
+    <URL:http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/emt.html>
 
     Math::TrulyRandom
 
@@ -59,10 +55,12 @@
         For several useful patches.
 
 AUTHOR
-    Abhijit Menon-Sen <ams at wiw.org>
+    Abhijit Menon-Sen <ams at toroid.org>
 
     Copyright 2001 Abhijit Menon-Sen. All rights reserved.
 
-    This software is distributed under the terms of the Artistic
-    License <URL:http://ams.wiw.org/code/artistic.txt>.
+    Based on the C implementation of MT19937
+    Copyright (C) 1997 - 2002, Makoto Matsumoto and Takuji Nishimura
 
+    This software is distributed under a (three-clause) BSD-style license.
+    See the LICENSE file in the distribution for details.

Modified: trunk/libmath-random-mt-perl/_mt.c
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmath-random-mt-perl/_mt.c?rev=41404&op=diff
==============================================================================
--- trunk/libmath-random-mt-perl/_mt.c (original)
+++ trunk/libmath-random-mt-perl/_mt.c Thu Aug  6 17:49:38 2009
@@ -1,16 +1,11 @@
-/*
- * Math::Random::MT
- * Copyright (C) 1997, 1999 Makoto Matsumoto and Takuji Nishimura.
- * Copyright 2001 Abhijit Menon-Sen <ams at wiw.org>
- */
-
 #include "mt.h"
 
+#include <stdlib.h>
 #include <stdio.h>
 
 /* This code is based on mt19937ar.c, written by Takuji Nishimura and
    Makoto Matsumoto (20020126). Further details are available at
-   <URL:http://www.math.keio.ac.jp/matumoto/emt.html>.
+   <http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/emt.html>.
 
    REFERENCE
    M. Matsumoto and T. Nishimura,

Modified: trunk/libmath-random-mt-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmath-random-mt-perl/debian/changelog?rev=41404&op=diff
==============================================================================
--- trunk/libmath-random-mt-perl/debian/changelog (original)
+++ trunk/libmath-random-mt-perl/debian/changelog Thu Aug  6 17:49:38 2009
@@ -1,22 +1,20 @@
-libmath-random-mt-perl (1.07-2) UNRELEASED; urgency=low
+libmath-random-mt-perl (1.08-1) UNRELEASED; urgency=low
 
   [ Nathan Handler ]
   * debian/watch: Update to ignore development releases.
 
   [ Salvatore Bonaccorso ]
-  * Add 01-fix-ftbfs-on-kfreebsd.patch to close FTBFS on kfreebsd,
-    thanks to Cyril Brulebois (Closes: #539949).
+  * New upstream release
+    - Adds FTBFS on kfreebsd patch proposed by Cyril Brulebois
+      (Closes #539949).
   * debian/control:
-    - Add Build-Depends on quilt, adjust dependency on debhelper.
     - Bump Standards-Version to 3.8.2 (no changes).
     - Add myself to uploaders
   * debian/rules: use minimized rules file.  
-  * Add debian/README.source to document quilt usage, as required by
-    Debian Policy since 3.8.0.
   * debian/copyright: Update copyright for debian/* packaging.
   * debian/watch: remove comments from file 
 
- -- Salvatore Bonaccorso <salvatore.bonaccorso at gmail.com>  Thu, 06 Aug 2009 13:18:33 +0200
+ -- Salvatore Bonaccorso <salvatore.bonaccorso at gmail.com>  Thu, 06 Aug 2009 13:23:28 +0200
 
 libmath-random-mt-perl (1.07-1) unstable; urgency=low
 

Modified: trunk/libmath-random-mt-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmath-random-mt-perl/debian/control?rev=41404&op=diff
==============================================================================
--- trunk/libmath-random-mt-perl/debian/control (original)
+++ trunk/libmath-random-mt-perl/debian/control Thu Aug  6 17:49:38 2009
@@ -1,7 +1,7 @@
 Source: libmath-random-mt-perl
 Section: perl
 Priority: optional
-Build-Depends: debhelper (>= 7.0.8), quilt (>= 0.46-7), perl (>= 5.6.0-12)
+Build-Depends: debhelper (>= 7), perl (>= 5.6.0-12)
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
 Uploaders: Jonathan Yu <frequency at cpan.org>, 
  Salvatore Bonaccorso <salvatore.bonaccorso at gmail.com>

Modified: trunk/libmath-random-mt-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmath-random-mt-perl/debian/rules?rev=41404&op=diff
==============================================================================
--- trunk/libmath-random-mt-perl/debian/rules (original)
+++ trunk/libmath-random-mt-perl/debian/rules Thu Aug  6 17:49:38 2009
@@ -1,4 +1,4 @@
 #!/usr/bin/make -f
 
 %:
-	dh --with quilt $@
+	dh $@

Modified: trunk/libmath-random-mt-perl/mt.h
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmath-random-mt-perl/mt.h?rev=41404&op=diff
==============================================================================
--- trunk/libmath-random-mt-perl/mt.h (original)
+++ trunk/libmath-random-mt-perl/mt.h Thu Aug  6 17:49:38 2009
@@ -1,11 +1,7 @@
-/*
- * $Id: mt.h,v 1.00 2002/02/08 19:22:46 ams Exp $
- * Copyright 2001 Abhijit Menon-Sen <ams at wiw.org>
- */
+#ifndef _MATH_MT_H_
+#define _MATH_MT_H_
 
-#include <stdlib.h>
-
-#if defined(__linux__) || defined(__WIN32__)
+#if defined(__linux__) || defined(__WIN32__) || defined(__GLIBC__)
 #include <stdint.h>
 #elif defined(__osf__)
 #include <inttypes.h>
@@ -13,10 +9,6 @@
 #include <sys/types.h>
 #endif
 
-#ifndef _MATH_MT_H_
-#define _MATH_MT_H_
-
-/* Period parameters */
 enum { N = 624, M = 397 };
 
 struct mt {




More information about the Pkg-perl-cvs-commits mailing list