This lets ikiwiki not build depend on perlmagic.
use warnings;
use strict;
use IkiWiki;
-use Image::Magick;
my %imgdefaults;
my $dir = IkiWiki::dirname($file);
my $base = IkiWiki::basename($file);
+
+ eval q{use Image::Magick};
+ error($@) if $@;
my $im = Image::Magick->new;
my $imglink;
my $r;
those dreaded "Read more" links in blogs.
* Don't error out if estcmd fails, just print a warning message. estcmd is
to fragile to let it kill ikiwiki.
+ * Make img plugin not fail immediately if Image::Magick is not available.
+ This lets ikiwiki not build depend on perlmagic.
-- Joey Hess <joeyh@debian.org> Mon, 19 Feb 2007 22:12:25 -0500
Section: web
Priority: optional
Build-Depends: perl, debhelper (>= 5)
-Build-Depends-Indep: dpkg-dev (>= 1.9.0), libxml-simple-perl, markdown, libtimedate-perl, libhtml-template-perl, libhtml-scrubber-perl, wdg-html-validator, libhtml-parser-perl, liburi-perl, perlmagick
+Build-Depends-Indep: dpkg-dev (>= 1.9.0), libxml-simple-perl, markdown, libtimedate-perl, libhtml-template-perl, libhtml-scrubber-perl, wdg-html-validator, libhtml-parser-perl, liburi-perl
Maintainer: Joey Hess <joeyh@debian.org>
Standards-Version: 3.7.2
XS-Vcs-Svn: svn://svn.kitenet.net/ikiwiki/trunk
Some other alternate icons and buttons are also included in the svg file
and can be extracted by specifying their names.
- [[img ikiwiki.png alt="bob" size="200x200"]]
-
Contributed by Recai Oktaş
* [[ikiwiki_logo|ikiwiki_old2.png]]
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2007-02-19 21:47-0500\n"
+"POT-Creation-Date: 2007-02-19 22:59-0500\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"