r7348 - in /trunk/libmime-types-perl: ChangeLog MANIFEST META.yml Makefile.PL debian/changelog lib/MIME/Type.pm lib/MIME/Type.pod lib/MIME/Types.pm lib/MIME/Types.pod t/20types.t

dmn at users.alioth.debian.org dmn at users.alioth.debian.org
Tue Sep 11 06:08:52 UTC 2007


Author: dmn
Date: Tue Sep 11 06:08:52 2007
New Revision: 7348

URL: http://svn.debian.org/wsvn/?sc=1&rev=7348
Log:
* New upstream release

Modified:
    trunk/libmime-types-perl/ChangeLog
    trunk/libmime-types-perl/MANIFEST
    trunk/libmime-types-perl/META.yml
    trunk/libmime-types-perl/Makefile.PL
    trunk/libmime-types-perl/debian/changelog
    trunk/libmime-types-perl/lib/MIME/Type.pm
    trunk/libmime-types-perl/lib/MIME/Type.pod
    trunk/libmime-types-perl/lib/MIME/Types.pm
    trunk/libmime-types-perl/lib/MIME/Types.pod
    trunk/libmime-types-perl/t/20types.t

Modified: trunk/libmime-types-perl/ChangeLog
URL: http://svn.debian.org/wsvn/trunk/libmime-types-perl/ChangeLog?rev=7348&op=diff
==============================================================================
--- trunk/libmime-types-perl/ChangeLog (original)
+++ trunk/libmime-types-perl/ChangeLog Tue Sep 11 06:08:52 2007
@@ -5,6 +5,12 @@
 
 **** Inform Austin Ziegler < mime-types at halostatue.ca> at each release, to
 **** update his Ruby port of the module.
+
+version 1.21: Mon Sep 10 21:18:08 CEST 2007
+
+	- patch tests to work on VMS [Peter (Stig) Edwards]
+
+	- patch for image/pjpeg bug IE6 [Nicolas Mendosa]
 
 version 1.20: Fri Jun  8 16:21:33 CEST 2007
 

Modified: trunk/libmime-types-perl/MANIFEST
URL: http://svn.debian.org/wsvn/trunk/libmime-types-perl/MANIFEST?rev=7348&op=diff
==============================================================================
--- trunk/libmime-types-perl/MANIFEST (original)
+++ trunk/libmime-types-perl/MANIFEST Tue Sep 11 06:08:52 2007
@@ -1,6 +1,5 @@
 ChangeLog
 MANIFEST
-META.yml                                 Module meta-data (added by MakeMaker)
 Makefile.PL
 README
 lib/MIME/Type.pm
@@ -12,3 +11,4 @@
 t/20types.t
 t/30export.t
 t/pod.t
+META.yml                                 Module meta-data (added by MakeMaker)

Modified: trunk/libmime-types-perl/META.yml
URL: http://svn.debian.org/wsvn/trunk/libmime-types-perl/META.yml?rev=7348&op=diff
==============================================================================
--- trunk/libmime-types-perl/META.yml (original)
+++ trunk/libmime-types-perl/META.yml Tue Sep 11 06:08:52 2007
@@ -1,12 +1,15 @@
-# http://module-build.sourceforge.net/META-spec.html
-#XXXXXXX This is a prototype!!!  It will change in the future!!! XXXXX#
-name:         MIME-Types
-version:      1.20
-version_from: 
-installdirs:  site
-requires:
+--- #YAML:1.0
+name:                MIME-Types
+version:             1.21
+abstract:            Definition of MIME types
+license:             perl
+generated_by:        ExtUtils::MakeMaker version 6.32
+distribution_type:   module
+requires:     
     Test::More:                    0.47
     Test::Pod:                     1
-
-distribution_type: module
-generated_by: ExtUtils::MakeMaker version 6.17
+meta-spec:
+    url:     http://module-build.sourceforge.net/META-spec-v1.2.html
+    version: 1.2
+author:
+    - Mark Overmeer

Modified: trunk/libmime-types-perl/Makefile.PL
URL: http://svn.debian.org/wsvn/trunk/libmime-types-perl/Makefile.PL?rev=7348&op=diff
==============================================================================
--- trunk/libmime-types-perl/Makefile.PL (original)
+++ trunk/libmime-types-perl/Makefile.PL Tue Sep 11 06:08:52 2007
@@ -4,13 +4,14 @@
 
 WriteMakefile
   ( NAME      => 'MIME::Types'
-  , VERSION   => '1.20'
+  , VERSION   => '1.21'
   , PREREQ_PM =>
     { Test::More => 0.47
     , Test::Pod  => 1.00
     }
   , AUTHOR    => 'Mark Overmeer'
   , ABSTRACT  => 'Definition of MIME types'
+  , LICENSE   => 'perl'
   );
 
 ### used by oodist during production of distribution

Modified: trunk/libmime-types-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libmime-types-perl/debian/changelog?rev=7348&op=diff
==============================================================================
--- trunk/libmime-types-perl/debian/changelog (original)
+++ trunk/libmime-types-perl/debian/changelog Tue Sep 11 06:08:52 2007
@@ -1,3 +1,9 @@
+libmime-types-perl (1.21-1) UNRELEASED; urgency=low
+
+  * New upstream release
+
+ -- Damyan Ivanov <dmn at debian.org>  Tue, 11 Sep 2007 09:08:37 +0300
+
 libmime-types-perl (1.20-1) unstable; urgency=low
 
   * New upstream release.

Modified: trunk/libmime-types-perl/lib/MIME/Type.pm
URL: http://svn.debian.org/wsvn/trunk/libmime-types-perl/lib/MIME/Type.pm?rev=7348&op=diff
==============================================================================
--- trunk/libmime-types-perl/lib/MIME/Type.pm (original)
+++ trunk/libmime-types-perl/lib/MIME/Type.pm Tue Sep 11 06:08:52 2007
@@ -1,10 +1,10 @@
 # Copyrights 1999,2001-2007 by Mark Overmeer.
 #  For other contributors see ChangeLog.
 # See the manual pages for details on the licensing terms.
-# Pod stripped from pm file by OODoc 1.00.
+# Pod stripped from pm file by OODoc 1.02.
 package MIME::Type;
 use vars '$VERSION';
-$VERSION = '1.20';
+$VERSION = '1.21';
 
 use strict;
 

Modified: trunk/libmime-types-perl/lib/MIME/Type.pod
URL: http://svn.debian.org/wsvn/trunk/libmime-types-perl/lib/MIME/Type.pod?rev=7348&op=diff
==============================================================================
--- trunk/libmime-types-perl/lib/MIME/Type.pod (original)
+++ trunk/libmime-types-perl/lib/MIME/Type.pod Tue Sep 11 06:08:52 2007
@@ -1,6 +1,8 @@
 =head1 NAME
 
 MIME::Type - Definition of one MIME type
+
+=head1 INHERITANCE
 
 =head1 SYNOPSIS
 
@@ -53,7 +55,7 @@
 is required) will result in the type name, the same as L<type()|MIME::Type/"Attributes">
 returns.
 
-I<Example:> use of stringification
+example: use of stringification
 
  my $mime = MIME::Type->new('text/html');
  print "$mime\n";   # explicit stringification
@@ -161,7 +163,7 @@
 the C<x-> can disappear.  In many cases, we prefer the simplified version
 of the type.
 
-I<Example:> results of simplified()
+example: results of simplified()
 
  my $mime = MIME::Type->new(type => 'x-appl/x-zip');
  print $mime->simplified;                     # 'appl/zip'
@@ -257,15 +259,19 @@
 
 =head1 DIAGNOSTICS
 
-I<Error:> Type parameter is obligatory.
+Error: Type parameter is obligatory.
+
+=over 4
 
 When a L<MIME::Type|MIME::Type> object is created, the type itself must be
 specified with the C<type> option flag.
 
+=back
+
 =head1 SEE ALSO
 
-This module is part of MIME-Types distribution version 1.20,
-built on June 08, 2007. Website: F<http://perl.overmeer.net/mimetypes/>
+This module is part of MIME-Types distribution version 1.21,
+built on September 10, 2007. Website: F<http://perl.overmeer.net/mimetypes/>
 
 =head1 LICENSE
 

Modified: trunk/libmime-types-perl/lib/MIME/Types.pm
URL: http://svn.debian.org/wsvn/trunk/libmime-types-perl/lib/MIME/Types.pm?rev=7348&op=diff
==============================================================================
--- trunk/libmime-types-perl/lib/MIME/Types.pm (original)
+++ trunk/libmime-types-perl/lib/MIME/Types.pm Tue Sep 11 06:08:52 2007
@@ -1,11 +1,11 @@
 # Copyrights 1999,2001-2007 by Mark Overmeer.
 #  For other contributors see ChangeLog.
 # See the manual pages for details on the licensing terms.
-# Pod stripped from pm file by OODoc 1.00.
+# Pod stripped from pm file by OODoc 1.02.
 
 package MIME::Types;
 use vars '$VERSION';
-$VERSION = '1.20';
+$VERSION = '1.21';
 
 use strict;
 
@@ -774,7 +774,7 @@
 image/g3fax
 image/gif			gif				base64
 image/ief			ief				base64
-image/jp2			jp2,jpg2
+image/jp2			jp2,jpg2			base64
 image/jpeg			jpeg,jpg,jpe			base64
 image/jpm			jpm,jpgm
 image/jpx			jpf,jpx
@@ -956,6 +956,9 @@
 vms:text/plain				doc				8bit
 mac:application/x-macbase64		bin
 
+# IE6 bug
+image/pjpeg								base64
+
 __MIMETYPES__
 
 1;

Modified: trunk/libmime-types-perl/lib/MIME/Types.pod
URL: http://svn.debian.org/wsvn/trunk/libmime-types-perl/lib/MIME/Types.pod?rev=7348&op=diff
==============================================================================
--- trunk/libmime-types-perl/lib/MIME/Types.pod (original)
+++ trunk/libmime-types-perl/lib/MIME/Types.pod Tue Sep 11 06:08:52 2007
@@ -5,7 +5,7 @@
 =head1 INHERITANCE
 
  MIME::Types
-   is an Exporter
+   is a Exporter
 
 =head1 SYNOPSIS
 
@@ -93,7 +93,7 @@
 In some cases, more than one type is known for a certain filename extension.
 In that case, one of the alternatives is chosen at random.
 
-I<Example:> use of mimeTypeOf()
+example: use of mimeTypeOf()
 
  my MIME::Types $types = MIME::Types->new;
  my MIME::Type  $mime = $types->mimeTypeOf('gif');
@@ -150,7 +150,7 @@
 Like C<mimeTypeOf>, but does not return an C<MIME::Type> object. If the file
 +type is unknown, both the returned media type and encoding are empty strings.
 
-I<Example:> use of function by_suffix()
+example: use of function by_suffix()
 
  use MIME::Types 'by_suffix';
  my ($mediatype, $encoding) = by_suffix 'image.gif';
@@ -174,8 +174,8 @@
 
 =head1 SEE ALSO
 
-This module is part of MIME-Types distribution version 1.20,
-built on June 08, 2007. Website: F<http://perl.overmeer.net/mimetypes/>
+This module is part of MIME-Types distribution version 1.21,
+built on September 10, 2007. Website: F<http://perl.overmeer.net/mimetypes/>
 
 =head1 LICENSE
 

Modified: trunk/libmime-types-perl/t/20types.t
URL: http://svn.debian.org/wsvn/trunk/libmime-types-perl/t/20types.t?rev=7348&op=diff
==============================================================================
--- trunk/libmime-types-perl/t/20types.t (original)
+++ trunk/libmime-types-perl/t/20types.t Tue Sep 11 06:08:52 2007
@@ -47,7 +47,13 @@
 is($p->type, 'image/gif');
 
 my $q = $a->mimeTypeOf('windows.doc');
-is($q->type, 'application/x-msword');
+if($^O eq 'VMS')
+{   # See MIME::Types, OS Exceptions
+    is($q->type, 'text/plain');
+}
+else
+{   is($q->type, 'application/x-msword');
+}
 is($a->mimeTypeOf('my.lzh')->type, 'application/octet-stream');
 
 my $warn;




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