Opened 12 years ago

Closed 12 years ago

Last modified 11 years ago

#15213 closed request (fixed)

Include Request: swftools - an OSS collection of swf manipulation and creation utilities

Reported by: chillin- Owned by: rhwood@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: swftools Cc:
Port:

Description

It'd be nice to see swftools included in macports. http://www.swftools.org/about.html

SWF Tools is a collection of SWF manipulation and creation utilities written by Rainer Böhme and Matthias Kramm. It is released under the GPL. Included are:

PDF2SWF A PDF to SWF Converter. Generates one frame per page. Enables you to have fully formatted text, including tables, formulas etc. inside your Flash Movie. It's based on the xpdf PDF parser from Derek B. Noonburg.

SWFCombine A tool for inserting SWFs into Wrapper SWFs. (Templates) E.g. for including the pdf2swf SWFs in some sort of Browsing-SWF.

SWFStrings Scans SWFs for text data.

SWFDump Prints out various informations about SWFs.

JPEG2SWF Takes one or more JPEG pictures and generates a SWF slideshow.

PNG2SWF Like JPEG2SWF, only for PNGs.

GIF2SWF Converts GIFs to SWF. Also able to handle animated gifs.

WAV2SWF Converts WAV audio files to SWFs, using the L.A.M.E. MP3 encoder library.

AVI2SWF Converts AVI animation files to SWF. It supports Flash MX H.263 compression. Some examples can be found at examples.html.

Font2SWF Converts font files (TTF, Type1) to SWF.

SWFBBox Allows to readjust SWF bounding boxes.

SWFC A tool for creating SWF files from simple script files.

SWFExtract Allows to extract Movieclips, Sounds, Images etc. from SWF files.

RFXSWF Library A fully featured library which can be used for standalone SWF generation. Includes support for Bitmaps, Buttons, Shapes, Text, Fonts, Sound etc. It also has support for ActionScript using the Ming ActionCompiler.

SWFTools has been reported to work on Solaris, Linux, FreeBSD, OpenBSD, HP-UX, MacOS X and Windows 98/ME/2000/XP.

Currently, the swftools faq recommends installing fink to build the dependencies. Down with fink!

Change History (7)

comment:1 Changed 12 years ago by chillin-

just fyi, swftools will build fine using macports: after dling the swftools source, and untarring, do

$sudo ln -s /opt/local/include/lame/lame.h /opt/local/include/lame.h
$LDFLAGS="-L/opt/local/lib" CPPFLAGS="-I/opt/local/include/" ./configure
$make
$sudo make install

and it builds just fine without fink. yea macports! But 'sudo port install swftools' is still desired.

comment:3 Changed 12 years ago by chillin-

to get swftools to build with macports (without fink)

sudo port install jpeg openjpeg ungif freetype lame
curl -O http://www.swftools.org/swftools-2008-05-05-0902.tar.gz
tar -zvxf swftools-2008-05-05-0902.tar.gz
cd swftools-2008-05-05-0902
sudo ln -s /opt/local/include/lame/lame.h /opt/local/include/lame.h
LDFLAGS="-L/opt/local/lib" CPPFLAGS="-I/opt/local/include/" ./configure
make
sudo make install

comment:4 Changed 12 years ago by jmroot (Joshua Root)

Priority: HighNormal
Type: defectenhancement

It's more usual to add "-I/opt/local/include/lame" to CPPFLAGS than to create a symlink.

comment:5 Changed 12 years ago by rhwood@…

Owner: changed from macports-tickets@… to rhwood@…

comment:6 Changed 12 years ago by rhwood@…

Resolution: fixed
Status: newclosed

In r36911 and r36912

comment:7 Changed 11 years ago by jmroot (Joshua Root)

Type: enhancementrequest

comment:8 Changed 11 years ago by (none)

Milestone: Port Requests

Milestone Port Requests deleted

Note: See TracTickets for help on using tickets.