Skip to content

Commit

Permalink
Item14183: added vsd to icon mapping
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelDaum committed Sep 9, 2016
1 parent 02ba8cc commit 6885dc7
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 40 deletions.
14 changes: 7 additions & 7 deletions .gitignore
@@ -1,9 +1,9 @@
*.swp
*.gz
MimeIconPlugin.md5
MimeIconPlugin.sha1
MimeIconPlugin.tgz
MimeIconPlugin.txt
MimeIconPlugin.zip
MimeIconPlugin_installer
MimeIconPlugin_installer.pl
/MimeIconPlugin.md5
/MimeIconPlugin.sha1
/MimeIconPlugin.tgz
/MimeIconPlugin.txt
/MimeIconPlugin.zip
/MimeIconPlugin_installer
/MimeIconPlugin_installer.pl
31 changes: 16 additions & 15 deletions data/System/MimeIconPlugin.txt
@@ -1,6 +1,6 @@
%META:TOPICINFO{author="ProjectContributor" comment="" date="1437155075" format="1.1" version="1"}%
---+!! %TOPIC%
%SHORTDESCRIPTION%
%FORMFIELD{"Description"}%

%TOC%

Expand Down Expand Up @@ -49,25 +49,26 @@ file extension is totally unknown.
<img src="%ATTACHURLPATH%/MimeIconPluginSnap1.png" />

---++ Installation Instructions

%$INSTALL_INSTRUCTIONS%

---++ Info
<!--
* Set SHORTDESCRIPTION = Icon sets for mimetypes
-->
| Author(s): | Michael Daum |
| Copyright: | &copy; 2010-2015 Michael Daum http://michaeldaumconsulting.com |
| License: | [[http://www.gnu.org/licenses/gpl.html][GPL (Gnu General Public License)]] |
| Release: | %$RELEASE% |
| Version: | %$VERSION% |
| Change History: | <!-- versions below in reverse order -->&nbsp; |
---++ Dependencies
%$DEPENDENCIES%

---++ Change History
| 09 Sep 2016: | (1.31) added vsd to image mapping |
| 17 Jul 2015: | (1.30) added support for google file formats webp, weba, webm |
| 22 May 2013: | (1.20) only ship icons covered by a mapping |
| 16 Dec 2011: | (1.10) fixed mapping in oxygen icon set; fix to make sure the icon mapping is read in properly |
| Dependencies: | %$DEPENDENCIES% |
| Home page: | Foswiki:Extensions/%TOPIC% |
| Support: | Foswiki:Support/%TOPIC% |

%META:FILEATTACHMENT{name="MimeIconPluginSnap2.png" attachment="MimeIconPluginSnap2.png" attr="" comment="" date="1437155075" size="41588" user="ProjectContributor" version="1"}%
%META:FILEATTACHMENT{name="MimeIconPluginSnap1.png" attachment="MimeIconPluginSnap3.png" attr="" comment="" date="1437155075" moveby="micha" movedto="System.MimeIconPlugin.MimeIconPluginSnap1.png" movedwhen="1369210422" movefrom="System.MimeIconPlugin.MimeIconPluginSnap3.png" size="18836" user="ProjectContributor" version="1"}%
%META:FORM{name="PackageForm"}%
%META:FIELD{name="Author" title="Author" value="Michael Daum"}%
%META:FIELD{name="Copyright" title="Copyright" value="&copy; 2010-2016 Michael Daum http://michaeldaumconsulting.com"}%
%META:FIELD{name="Description" title="Description" value="%25$SHORTDESCRIPTION%25"}%
%META:FIELD{name="Home" title="Home" value="Foswiki:Extensions/%TOPIC%"}%
%META:FIELD{name="License" title="License" value="[[http://www.gnu.org/licenses/gpl.html][GPL (Gnu General Public License)]]"}%
%META:FIELD{name="Release" title="Release" value="%$RELEASE%"}%
%META:FIELD{name="Repository" title="Repository" value="https://github.com/foswiki/%TOPIC%"}%
%META:FIELD{name="Support" title="Support" value="Foswiki:Support/%TOPIC%"}%
%META:FIELD{name="Version" title="Version" value="%$VERSION%"}%
6 changes: 3 additions & 3 deletions lib/Foswiki/Plugins/MimeIconPlugin.pm
@@ -1,6 +1,6 @@
# Plugin for Foswiki - The Free and Open Source Wiki, http://foswiki.org/
#
# MimeIconPlugin is Copyright (C) 2010-2015 Michael Daum http://michaeldaumconsulting.com
# MimeIconPlugin is Copyright (C) 2010-2016 Michael Daum http://michaeldaumconsulting.com
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
Expand All @@ -26,8 +26,8 @@ use warnings;

use Foswiki::Func ();

our $VERSION = '1.30';
our $RELEASE = '17 Jul 2015';
our $VERSION = '1.31';
our $RELEASE = '09 Sep 2016';
our $SHORTDESCRIPTION = 'Icon sets for mimetypes';
our $NO_PREFS_IN_TOPIC = 1;
our $baseWeb;
Expand Down
16 changes: 1 addition & 15 deletions lib/Foswiki/Plugins/MimeIconPlugin/build.pl
@@ -1,24 +1,10 @@
#!/usr/bin/perl -w
#!/usr/bin/env perl
BEGIN { unshift @INC, split( /:/, $ENV{FOSWIKI_LIBS} ); }
use Foswiki::Contrib::Build;

# Create the build object
$build = new Foswiki::Contrib::Build('MimeIconPlugin');

# (Optional) Set the details of the repository for uploads.
# This can be any web on any accessible Foswiki installation.
# These defaults will be used when expanding tokens in .txt
# files, but be warned, they can be overridden at upload time!

# name of web to upload to
$build->{UPLOADTARGETWEB} = 'Extensions';
# Full URL of pub directory
$build->{UPLOADTARGETPUB} = 'http://foswiki.org/pub';
# Full URL of bin directory
$build->{UPLOADTARGETSCRIPT} = 'http://foswiki.org/bin';
# Script extension
$build->{UPLOADTARGETSUFFIX} = '';

# Build the target on the command line, or the default target
$build->build($build->{target});

1 change: 1 addition & 0 deletions pub/System/MimeIconPlugin/oxygen/mapping.txt
Expand Up @@ -25,6 +25,7 @@ xlt=application-vnd.ms-excel.png
xlb=application-vnd.ms-excel.png
ppt=application-vnd.ms-powerpoint.png
pps=application-vnd.ms-powerpoint.png
vsd=application-vnd.ms-access.png

# opendocument
odc=application-vnd.oasis.opendocument.chart.png
Expand Down

0 comments on commit 6885dc7

Please sign in to comment.