r35299 - in /trunk/libfile-libmagic-perl: Changes LibMagic.pm MANIFEST Makefile.PL README debian/changelog inc/

ryan52-guest at users.alioth.debian.org ryan52-guest at users.alioth.debian.org
Wed May 13 05:23:47 UTC 2009


Author: ryan52-guest
Date: Wed May 13 05:23:42 2009
New Revision: 35299

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=35299
Log:
New upstream release

Added:
    trunk/libfile-libmagic-perl/inc/
      - copied from r35298, branches/upstream/libfile-libmagic-perl/current/inc/
Modified:
    trunk/libfile-libmagic-perl/Changes
    trunk/libfile-libmagic-perl/LibMagic.pm
    trunk/libfile-libmagic-perl/MANIFEST
    trunk/libfile-libmagic-perl/Makefile.PL
    trunk/libfile-libmagic-perl/README
    trunk/libfile-libmagic-perl/debian/changelog

Modified: trunk/libfile-libmagic-perl/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libfile-libmagic-perl/Changes?rev=35299&op=diff
==============================================================================
--- trunk/libfile-libmagic-perl/Changes (original)
+++ trunk/libfile-libmagic-perl/Changes Wed May 13 05:23:42 2009
@@ -1,68 +1,66 @@
 Revision history for Perl extension File::LibMagic.
 
-0.92 
-      May 2009
+0.93 May 2009
+      using Devel::CheckLib as suggested in 
+      http://wiki.cpantesters.org/wiki/CPANAuthorNotes
 
+0.92 May 2009
       "normalisation"-problem -> changed t/6-oo.t
 
-0.91
-      Feb 2009
-
+0.91 Feb 2009
       Changed t/6-oo.t in order to pass 'make test' for file-5.x
 
-0.90
-      Nov 2008
+0.90 Nov 2008
       removed some debugging code I accidently left in
 
-0.89
-      Aug 2008
+0.89 Aug 2008
       added -lz to Makefile.PL in order to compile under 
       FreeBSD
 
-0.88  May 2008
+0.88 May 2008
       more experiments
 
-0.87  May 2008
+0.87 May 2008
       experimenting with magic_buffer_offset
 
-0.86  May 2008
+0.86 May 2008
       'file' version 4.24 returns slightly different filetypes.
       this makes 'make test' fail. fixed it for the new 
       version. But I'm afraid this breaks the 'make test' for
       older versions of the package 'file'.
 
-0.85  June 2006
+0.85 June 2006
       Minor cleanup of the MANIFEST to avoid warnings (Michael Hendricks)
 
-0.84  June 2006
+0.84 June 2006
       (all implemented by Michael Hendricks)
       some XS-Code cleanup,
       import of constants like MAGIC_NONE from magic.h,
       much improved error handling.
       additional OO-Interface
 
-0.83  June 2006
+0.83 June 2006
       Small documentation update
 
-0.82  April 2005
+0.82 April 2005
       Found two bugs
 
-0.81  April 2005
+0.81 April 2005
       Port to AMD-64, thanks to Nathan Hawkins <utsl at quic.net>
 
-0.80  July 2004
+0.80 July 2004
       some improvements in colaboration with James Olin Oden <joden at lee.k12.nc.us> 
 
-0.10  Apr 2004
+0.10 Apr 2004
       some cleanup
 
-0.03  Tue Mar 23 20:19:23 CET 2004
+0.03 Tue Mar 23 20:19:23 CET 2004
       hacked magic_open & magic_load but it's not mature enough
 
-0.02  Tue Mar 23 15:23:17 CET 2004
+0.02 Tue Mar 23 15:23:17 CET 2004
       magic_file implemented
 
-0.01  Mon Mar 15 22:52:03 2004
+0.01 Mon Mar 15 22:52:03 2004
 	- original version; created by h2xs 1.22 with options
 		--skip-ppport File::LibMagic
 

Modified: trunk/libfile-libmagic-perl/LibMagic.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libfile-libmagic-perl/LibMagic.pm?rev=35299&op=diff
==============================================================================
--- trunk/libfile-libmagic-perl/LibMagic.pm (original)
+++ trunk/libfile-libmagic-perl/LibMagic.pm Wed May 13 05:23:42 2009
@@ -30,7 +30,7 @@
 
 our @EXPORT = qw( );
 
-our $VERSION = '0.92';
+our $VERSION = '0.93';
 
 sub AUTOLOAD {
     # This AUTOLOAD is used to 'autoload' constants from the constant()
@@ -267,7 +267,13 @@
 
 =over 1
 
-=item "normalisation"-problem, fixme
+=item "normalisation"-problem:
+
+The results from libmagic are dependend on the (linux) distribution being used.
+A Gentoo-Linux might return "text/plain; charset=us-asci", an OpenSUSE 
+"text/plain charset=us-asci" (no semicolon!). Please check this if you run 
+your project on a different platform (and send me an mail if you see different 
+outputs/return-values).
 
 =item I'm still learning perlxs ...
 

Modified: trunk/libfile-libmagic-perl/MANIFEST
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libfile-libmagic-perl/MANIFEST?rev=35299&op=diff
==============================================================================
--- trunk/libfile-libmagic-perl/MANIFEST (original)
+++ trunk/libfile-libmagic-perl/MANIFEST Wed May 13 05:23:42 2009
@@ -1,19 +1,20 @@
 Changes
-LibMagic.pm
-LibMagic.xs
-MANIFEST
-Makefile.PL
-README
-README.64-bit
 const-c.inc
 const-xs.inc
-example/Makefile
 example/a.pl
 example/b.pl
 example/c.pl
+example/Makefile
 example/pointersize.c
 example/t2.pl
 example/test-libmagic.c
+inc/Devel/CheckLib.pm
+LibMagic.pm
+LibMagic.xs
+Makefile.PL
+MANIFEST
+README
+README.64-bit
 t/1.t
 t/2-easy.t
 t/3-complete-errors.t

Modified: trunk/libfile-libmagic-perl/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libfile-libmagic-perl/Makefile.PL?rev=35299&op=diff
==============================================================================
--- trunk/libfile-libmagic-perl/Makefile.PL (original)
+++ trunk/libfile-libmagic-perl/Makefile.PL Wed May 13 05:23:42 2009
@@ -4,14 +4,17 @@
 use ExtUtils::MakeMaker;
 use Config qw/%Config/;
 
-# See lib/ExtUtils/MakeMaker.pm for details of how to influence
-# the contents of the Makefile that is written.
+use lib qw(inc);
+use Devel::CheckLib;
+
+check_lib_or_exit( lib => 'magic', header => 'magic.h' );
+
 WriteMakefile(
     'NAME'		=> 'File::LibMagic',
     'VERSION_FROM'	=> 'LibMagic.pm', # finds $VERSION
-    'PREREQ_PM'		=> {}, # e.g., Module::Name => 1.1
+    'PREREQ_PM'		=> { },
     'ABSTRACT_FROM'     => 'LibMagic.pm', # retrieve abstract from module
-    'AUTHOR'            => 'Andreas Fitzner <fitzner at informatik.hu-berlin.de>',
+    'AUTHOR'            => 'Andreas Fitzner <andreas.fitzner at fv-berlin.de>',
     'LIBS'		=> ['-lmagic -lz'], # e.g., '-lm'
     'DEFINE'		=> '', # e.g., '-DHAVE_SOMETHING'
     'INC'		=> '-I.', # e.g., '-I. -I/usr/include/other'

Modified: trunk/libfile-libmagic-perl/README
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libfile-libmagic-perl/README?rev=35299&op=diff
==============================================================================
--- trunk/libfile-libmagic-perl/README (original)
+++ trunk/libfile-libmagic-perl/README Wed May 13 05:23:42 2009
@@ -1,5 +1,5 @@
-File/LibMagic version 0.92
-==========================
+File/LibMagic
+=============
 
 DESCRIPTION
 

Modified: trunk/libfile-libmagic-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libfile-libmagic-perl/debian/changelog?rev=35299&op=diff
==============================================================================
--- trunk/libfile-libmagic-perl/debian/changelog (original)
+++ trunk/libfile-libmagic-perl/debian/changelog Wed May 13 05:23:42 2009
@@ -1,10 +1,11 @@
-libfile-libmagic-perl (0.92-1) UNRELEASED; urgency=low
+libfile-libmagic-perl (0.93-1) UNRELEASED; urgency=low
 
   no need to upload
 
   * New upstream release
+  * New upstream release
 
- -- Ryan Niebur <ryanryan52 at gmail.com>  Tue, 12 May 2009 17:55:34 -0700
+ -- Ryan Niebur <ryanryan52 at gmail.com>  Tue, 12 May 2009 22:23:33 -0700
 
 libfile-libmagic-perl (0.91-2) unstable; urgency=low
 




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