[Clipart] SVG::Metadata -- keywords, and issues upgrading to 0.10
Jonadab the Unsightly One
jonadab at bright.net
Fri Jul 16 17:48:53 PDT 2004
"Jonadab the Unsightly One" <jonadab at bright.net> writes:
> I'm planning to look this weekend into making the upload script
> support keyword metadata properly (assuming the stuff in
> SVG::Metadata is hooked up), and I'll probably also write an
> add-keyword script that can be used to add keywords to the metadata
> for images, so that we can easily add them en-masse to the ones that
> are sorted by directory.
I'm having some trouble getting upgraded to the currentq version of
SVG::Metadata here. The version I have is 0.08, and addKeyword
doesn't seem to do anything in 0.08, which could be a problem for
getting the keyword stuff working. Here's a transcript of an install
attempt:
+--------------------------------------------------------------------
| CPAN.pm: Going to build B/BR/BRYCE/SVG-Metadata-0.10.tar.gz
|
| Checking if your kit is complete...
| Looks good
| Writing Makefile for SVG::Metadata
| cp scripts/svg_validate blib/script/svg_validate
| /usr/bin/perl5.8.1 "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/svg_validate
| cp scripts/svg_annotate blib/script/svg_annotate
| /usr/bin/perl5.8.1 "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/svg_annotate
| Manifying blib/man1/svg_validate.1
| Manifying blib/man1/svg_annotate.1
| Manifying blib/man3/SVG::Metadata.3pm
| /usr/bin/make -- OK
| Running make test
| PERL_DL_NONLAZY=1 /usr/bin/perl5.8.1 "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.tt/0.use....ok
| All tests successful.
| Files=1, Tests=1, 0 wallclock secs ( 0.15 cusr + 0.01 csys = 0.16 CPU)
| /usr/bin/make test -- OK
| Running make install
| Writing /usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi/auto/SVG/Metadata/.packlist
| Appending installation info to /usr/lib/perl5/5.8.1/i386-linux-thread-multi/perllocal.pod
| /usr/bin/make install UNINST=1 -- OK
|
| cpan> quit
| Lockfile removed.
| root at vestibule ~/img/svg :) # perl -e 'use SVG::Metadata; print "$SVG::Metadata::VERSION$/"; '
| 0.08
| root at vestibule ~/img/svg :) #
+--------------------------------------------------------------------
CPAN thinks everything is okay with the install, but then I still
appear to have 0.08 afterward. Should I be poking around in @INC for
out-of-date versions in the wrong place, or is there a problem with
the module itself?
Also, from looking at
http://search.cpan.org/src/BRYCE/SVG-Metadata-0.10/lib/SVG/Metadata.pm
it appears as if addKeyword and the other keyword-manipulating methods
are all hooked up, but the resulting keywords property is not used in
to_rdf, is that correct?
--
$;=sub{$/};@;=map{my($a,$b)=($_,$;);$;=sub{$a.$b->()}}
split//,"ten.thgirb\@badanoj$/ --";$\=$ ;-> ();print$/
More information about the clipart
mailing list