README
1SWF.pm -- A perl interface for creating SWF files.
2
3ABSTRACT:
4---------
5
6This is an auto-loadable interface module for Ming - a library for generating
7SWF ("Flash") format movies.
8
9With this library you can create Flash movies on the fly with Perl.
10
11INSTALLATION using CPAN
12-----------------------
13
14This is currently not finished. So skip to 'INSTALLATION using automake'
15
16It is more a stub on CPAN to say 'Hey, here I am'.
17
18In future it should contain ming releases (c and perl parts) like DBD::SQLite,
19so it can directly be installed over CPAN without extra efforts.
20
21
22INSTALLATION using automake
23---------------------------
24
251. Get the sources from http://sourceforge.net/projects/ming
26
272. Unpack the sources
28
29 tar xvzf ming-perl-XXX.tar.gz
30 or tar xvzf ming-perl-XXX.tar.bz2
31
323. Change to ming root directory, not ming-perl-XXX/perl_ext:
33
34 cd ming-perl-XXX
35
363b. When using CVS sources create the configure script if it not exists by
37
38 ./autogen.sh
39
40
414. Run the configure script
42
43 ./configure --enable-perl --disable-cpp
44
45Hints:
46 - type ./configure --help for all available options
47 - c++ is currently enabled by default
48
49Wait until this script finished successfully, else post to ming-users mailing list or bug report
50or install missing packages when this is the reason for the failure.
51
525. Run make
53
54 make
55
56This compiles first ming itself, then language extensions and utils.
57Wait until this finished successfully, else post to ming-users mailing list or bug report
58
596. Run make check
60
61 make check
62
63This runs all existing tests for ming and the enabled extensions.
64When all tests pass without error go to next step, else post to ming-users mailing list or bug report
65
667. make install
67
68
69
70INSTALLATION (old):
71---------------------
72
73Read these instructions all the way through before you start!
74
751. Make sure you have downloaded Ming ( http://sourceforge.net/projects/ming ). If
76 you haven't compiled Ming, it will be compiled during SWF.pm installation
77 process (step 3 below).
78
792. Unpack the tar file. (If you are reading this you have probably done this. :-))
80 Under Unix type:
81
82 tar xvzf ming-perl-XXX.tar.gz
83
843. Compile:
85
86 a. cd ming-perl-XXX/perl-ext
87 b. perl Makefile.PL
88 c. make
89 d. make test (optional but recommended)
90 e. make install
91
92 During step (b), Makefile.PL will try to find your Ming distribution.
93 If it fails, you will be asked to provide the Ming directory.
94
95 If you want to install SWF into your home directory, replace step (b)
96 with:
97
98 b. perl Makefile.PL PREFIX=/path/to/your/directory
99
100
101
102AFTER INSTALLATION
103------------------
104
105There are a growing number of tests in several languages under the test/ directory.
106This is a good source for what can be done with ming.
107
108There are some cgi demos in the perl_ext/examples directory. THE EXAMPLES ARE NOT
109PERLIASH (you can write it more succinctly in Perl).
110
111After install there is too some (still incomplete) documentation accessible by manpages.
112E.g. type
113
114 man SWF
115 or
116 man SWF::Shape
117
118 Hint: The KDE file and web browser Konqueror formats manpages automatic as nice HTML-files.
119
120COPYRIGHT INFO
121--------------
122
123 Copyright (c) 2000-2003 by Soheil Seyfaie. All rights reserved.
124 This program is free software; you can redistribute it and/or modify it
125 under the same terms as Perl itself.
126
127
128
129AUTHOR:
130_______
131
132Soheil Seyfaie
133soheil at users.sourceforge.net
134
135and many others
136(see http://sourceforge.net/projects/ming/ )
137