r3529 - in /packages/libmime-types-perl/branches/upstream/current:
ChangeLog
MANIFEST META.yml Makefile.PL lib/MIME/Type.pm lib/MIME/Type.pod
lib/MIME/Types.pm lib/MIME/Types.pod version
gwolf at users.alioth.debian.org
gwolf at users.alioth.debian.org
Tue Aug 29 01:11:35 UTC 2006
Author: gwolf
Date: Tue Aug 29 01:11:34 2006
New Revision: 3529
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=3529
Log:
Load /tmp/tmp.ldRNyp7212/libmime-types-perl-1.17 into
packages/libmime-types-perl/branches/upstream/current.
Added:
packages/libmime-types-perl/branches/upstream/current/version
Modified:
packages/libmime-types-perl/branches/upstream/current/ChangeLog
packages/libmime-types-perl/branches/upstream/current/MANIFEST
packages/libmime-types-perl/branches/upstream/current/META.yml
packages/libmime-types-perl/branches/upstream/current/Makefile.PL
packages/libmime-types-perl/branches/upstream/current/lib/MIME/Type.pm
packages/libmime-types-perl/branches/upstream/current/lib/MIME/Type.pod
packages/libmime-types-perl/branches/upstream/current/lib/MIME/Types.pm
packages/libmime-types-perl/branches/upstream/current/lib/MIME/Types.pod
Modified: packages/libmime-types-perl/branches/upstream/current/ChangeLog
URL: http://svn.debian.org/wsvn/pkg-perl/packages/libmime-types-perl/branches/upstream/current/ChangeLog?rev=3529&op=diff
==============================================================================
--- packages/libmime-types-perl/branches/upstream/current/ChangeLog (original)
+++ packages/libmime-types-perl/branches/upstream/current/ChangeLog Tue Aug 29 01:11:34 2006
@@ -5,6 +5,17 @@
**** Inform Austin Ziegler < mime-types at halostatue.ca> at each release, to
**** update his Ruby port of the module.
+
+version 1.17: Sun Aug 13 10:32:37 CEST 2006
+
+ - [Hailin Hu] application/rdf+xml
+
+ - reprocessed manual-pages because FUNCTIONS chapers was lost
+ (bug in OODoc) [Schwern]
+
+ - use 'version' file for version
+
+ - added kml and kmz types by Google-Earth
version 1.16: Thu Sep 29 17:42:24 CEST 2005
Modified: packages/libmime-types-perl/branches/upstream/current/MANIFEST
URL: http://svn.debian.org/wsvn/pkg-perl/packages/libmime-types-perl/branches/upstream/current/MANIFEST?rev=3529&op=diff
==============================================================================
--- packages/libmime-types-perl/branches/upstream/current/MANIFEST (original)
+++ packages/libmime-types-perl/branches/upstream/current/MANIFEST Tue Aug 29 01:11:34 2006
@@ -11,3 +11,4 @@
t/11typeol.t
t/20types.t
t/30export.t
+version
Modified: packages/libmime-types-perl/branches/upstream/current/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/packages/libmime-types-perl/branches/upstream/current/META.yml?rev=3529&op=diff
==============================================================================
--- packages/libmime-types-perl/branches/upstream/current/META.yml (original)
+++ packages/libmime-types-perl/branches/upstream/current/META.yml Tue Aug 29 01:11:34 2006
@@ -1,8 +1,8 @@
# 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.16
-version_from: lib/MIME/Types.pm
+version: 1.17
+version_from: version
installdirs: site
requires:
Test::More: 0.47
Modified: packages/libmime-types-perl/branches/upstream/current/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/packages/libmime-types-perl/branches/upstream/current/Makefile.PL?rev=3529&op=diff
==============================================================================
--- packages/libmime-types-perl/branches/upstream/current/Makefile.PL (original)
+++ packages/libmime-types-perl/branches/upstream/current/Makefile.PL Tue Aug 29 01:11:34 2006
@@ -4,7 +4,7 @@
WriteMakefile
( NAME => 'MIME::Types'
- , VERSION_FROM => 'lib/MIME/Types.pm'
+ , VERSION_FROM => 'version'
, PREREQ_PM => { Test::More => 0.47 }
, AUTHOR => 'Mark Overmeer'
, ABSTRACT => 'Definition of MIME types'
Modified: packages/libmime-types-perl/branches/upstream/current/lib/MIME/Type.pm
URL: http://svn.debian.org/wsvn/pkg-perl/packages/libmime-types-perl/branches/upstream/current/lib/MIME/Type.pm?rev=3529&op=diff
==============================================================================
--- packages/libmime-types-perl/branches/upstream/current/lib/MIME/Type.pm (original)
+++ packages/libmime-types-perl/branches/upstream/current/lib/MIME/Type.pm Tue Aug 29 01:11:34 2006
@@ -1,6 +1,6 @@
package MIME::Type;
use vars '$VERSION';
-$VERSION = '1.16';
+$VERSION = '1.17';
use strict;
Modified: packages/libmime-types-perl/branches/upstream/current/lib/MIME/Type.pod
URL: http://svn.debian.org/wsvn/pkg-perl/packages/libmime-types-perl/branches/upstream/current/lib/MIME/Type.pod?rev=3529&op=diff
==============================================================================
--- packages/libmime-types-perl/branches/upstream/current/lib/MIME/Type.pod (original)
+++ packages/libmime-types-perl/branches/upstream/current/lib/MIME/Type.pod Tue Aug 29 01:11:34 2006
@@ -82,12 +82,12 @@
Create (I<instantiate>) a new MIME::Type object which manages one
mime type.
- Option Defined in Default
- encoding <depends on type>
- extensions []
+-Option --Defined in --Default
+ encoding <depends on type>
+ extensions []
simplified <derived from type>
- system C<undef>
- type <required>
+ system C<undef>
+ type <required>
. encoding '7bit'|'8bit'|'base64'|'quoted-printable'
@@ -270,6 +270,7 @@
+
=head1 DIAGNOSTICS
I<Error:> Type parameter is obligatory.
@@ -288,7 +289,7 @@
=head1 COPYRIGHTS
-Module version 1.16.
+Module version 1.17.
Written by Mark Overmeer (mimetypes at overmeer.net). See the ChangeLog for
other contributors.
Modified: packages/libmime-types-perl/branches/upstream/current/lib/MIME/Types.pm
URL: http://svn.debian.org/wsvn/pkg-perl/packages/libmime-types-perl/branches/upstream/current/lib/MIME/Types.pm?rev=3529&op=diff
==============================================================================
--- packages/libmime-types-perl/branches/upstream/current/lib/MIME/Types.pm (original)
+++ packages/libmime-types-perl/branches/upstream/current/lib/MIME/Types.pm Tue Aug 29 01:11:34 2006
@@ -1,7 +1,7 @@
package MIME::Types;
use vars '$VERSION';
-$VERSION = '1.16';
+$VERSION = '1.17';
use strict;
@@ -272,6 +272,7 @@
application/prs.nprend rnd,rct
application/prs.plucker
application/qsig
+application/rdf+xml rdf 8bit
application/reginfo+xml
application/remote-printing
application/riscos
@@ -412,6 +413,8 @@
application/vnd.kenameapp htke
application/vnd.kidspiration kia
application/vnd.Kinar kne,knp,sdf
+application/vnd.google-earth.kml+xml kml 8bit
+application/vnd.google-earth.kmz kmz 8bit
application/vnd.koan
application/vnd.liberty-request+xml
application/vnd.llamagraphics.life-balance.desktop lbd
Modified: packages/libmime-types-perl/branches/upstream/current/lib/MIME/Types.pod
URL: http://svn.debian.org/wsvn/pkg-perl/packages/libmime-types-perl/branches/upstream/current/lib/MIME/Types.pod?rev=3529&op=diff
==============================================================================
--- packages/libmime-types-perl/branches/upstream/current/lib/MIME/Types.pod (original)
+++ packages/libmime-types-perl/branches/upstream/current/lib/MIME/Types.pod Tue Aug 29 01:11:34 2006
@@ -7,7 +7,7 @@
=head1 INHERITANCE
MIME::Types
- is a Exporter
+ is an Exporter
=head1 SYNOPSIS
@@ -45,9 +45,7 @@
implementation, it does not matter whether you create this object often
within your program, but in the future this may change.
-=over 4
-
- Option Defined in Default
+-Option --Defined in--Default
only_complete <false>
. only_complete BOOLEAN
@@ -136,6 +134,57 @@
=back
+=head1 FUNCTIONS
+
+The next functions are provided for backward compatibility with MIME::Types
+versions 0.06 and below. This code originates from Jeff Okamoto
+F<okamoto at corp.hp.com> and others.
+
+B<by_mediatype>(TYPE)
+
+=over 4
+
+This function takes a media type and returns a list or anonymous array of
+anonymous three-element arrays whose values are the file name suffix used to
+identify it, the media type, and a content encoding.
+
+TYPE can be a full type name (contains '/', and will be matched in full),
+a partial type (which is used as regular expression) or a real regular
+expression.
+
+=back
+
+B<by_suffix>(FILENAME|SUFFIX)
+
+=over 4
+
+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()
+
+
+ use MIME::Types 'by_suffix';
+ my ($mediatype, $encoding) = by_suffix 'image.gif';
+
+ my $refdata = by_suffix 'image.gif';
+ my ($mediatype, $encoding) = @$refdata;
+
+=back
+
+B<import_mime_types>
+
+=over 4
+
+This method has been removed: mime-types are only useful if understood
+by many parties. Therefore, the IANA assigns names which can be used.
+In the table kept by this C<MIME::Types> module all these names, plus
+the most often used termporary names are kept. When names seem to be
+missing, please contact the maintainer for inclussion.
+
+=back
+
+
@@ -148,7 +197,7 @@
=head1 COPYRIGHTS
-Module version 1.16.
+Module version 1.17.
Written by Mark Overmeer (mimetypes at overmeer.net). See the ChangeLog for
other contributors.
Added: packages/libmime-types-perl/branches/upstream/current/version
URL: http://svn.debian.org/wsvn/pkg-perl/packages/libmime-types-perl/branches/upstream/current/version?rev=3529&op=file
==============================================================================
--- packages/libmime-types-perl/branches/upstream/current/version (added)
+++ packages/libmime-types-perl/branches/upstream/current/version Tue Aug 29 01:11:34 2006
@@ -1,0 +1,1 @@
+$VERSION='1.17';
More information about the Pkg-perl-cvs-commits
mailing list