Re: [Activetcl] question about teapot metadata
by Andreas Kupries other posts by this author
Jun 5 2008 11:20AM messages near this date
view in the new Beta List Site
[Activetcl] question about teapot metadata
|
Re: [Activetcl] question about teapot metadata
> I was looking to see on which platforms the Img image extension was
> available in teapot so I typed:
> $ teacup list --at-default Img
> entity name version platform
> ------- ---- ------- --------
> package Img 1.3 tcl
> ------- ---- ------- --------
> 1 entity found
>
> I thought - that's peculiar. It says it is a tcl package. But when
> I fetch and build it, there are a variety of c libraries that get built
> for TIFF, JPG, etc.
When you describe Img note the requirements. 'Img' in teapot is a pure Tcl
package which simply 'package require's all the binary packages of TkImg.
When you install 'Img' these dependencies will be installed as well.
When you 'package require Img' you get them per the above.
You can also directly 'package require' only those image formats you
need/want.
andreask@gila:~/p4work> teacup describe --all Img
Entity Img
Origin @ http://teapot.activestate.com
As::author : Jan Nijtmans
As::origin : http://sourceforge.net/projects/tkimg
Category : Tk Image Format
Description : The Img package provides support for several image
| formats beyond the standard formats in Tk (PBM, PPM, and
| GIF), including BMP, XBM, XPM, GIF (no LZW), PNG, JPEG,
| TIFF, and PostScript.
Entity : package
License : BSD
Name : Img
Platform : source tcl
Require : {img::bmp 1.3-2}
| {img::gif 1.3-2}
| {img::ico 1.3-2}
| {img::jpeg 1.3-2}
| {img::pcx 1.3-2}
| {img::pixmap 1.3-2}
| {img::png 1.3-2}
| {img::ppm 1.3-2}
| {img::ps 1.3-2}
| {img::sgi 1.3-2}
| {img::sun 1.3-2}
| {img::tga 1.3-2}
| {img::tiff 1.3-2}
| {img::window 1.3-2}
| {img::xbm 1.3-2}
| {img::xpm 1.3-2}
| {Tcl 8.4}
| {Tk 8.4}
Subject : bmp gif ico jpeg pcx pdf pixmap png ppm ps sgi sun tga
| tiff window xbm xpm
Summary : Additional image formats for Tk
Version : 0.0.0.2008.04.09.23.03.55 0.0.0.2008.05.06.23.04.24
| 0.0.0.2008.05.09.23.04.21 0.0.0.2008.05.12.23.04.04
> If I remember correctly, even if the external libraries are not considered
> in the metadata designation, there is, I thought, C "glue" code between
> those libraries and tcl itself.
>
> Am I mis-remembering things?
--
Andreas Kupries <andreask@[...].com>
Developer @ http://www.ActiveState.com
Tel: +1 778-786-1122
_______________________________________________
ActiveTcl mailing list
ActiveTcl@[...].com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Thread:
Larry W. Virden
Andreas Kupries
Larry W. Virden
Andreas Kupries
|