Package Details: swftools 0.9.2-9

Git Clone URL: https://aur.archlinux.org/swftools.git (read-only, click to copy)
Package Base: swftools
Description: A collection of SWF manipulation and creation utilities
Upstream URL: http://www.swftools.org/
Keywords: flash swf
Licenses: GPL
Submitter: Dragonlord
Maintainer: IngoMeyer (chaoren)
Last Packager: IngoMeyer
Votes: 12
Popularity: 0.82
First Submitted: 2017-04-25 19:15 (UTC)
Last Updated: 2025-08-20 10:52 (UTC)

Latest Comments

1 2 3 Next › Last »

IngoMeyer commented on 2025-08-20 10:54 (UTC)

@Perdu Thanks for the hint. I had the source archive lying around on my hard drive and uploaded it to GitHub. You can check that it is the same archive file, since I didn't change the SHA 256 sum.

Perdu commented on 2025-08-20 09:44 (UTC)

Archive download 404's as the website now redirects to github (which lacks proper releases)

eins commented on 2025-06-09 18:49 (UTC)

Just FYI in case anyone wants to use this:

Using wav audio files is completely broken and mp3 sometimes also has issues with the current lame encoder v3.100 (and also 3.99). The last version that seems to work well is 3.98. I compiled it from source and used patchelf to link swfc and wav2swf against my locally compiled ancient lame 3.98 and now it works without issue.

eins commented on 2025-06-06 07:56 (UTC)

Awesome, that was quick. Thank you!

IngoMeyer commented on 2025-06-06 06:56 (UTC)

@eins Should be fixed now!

eins commented on 2025-06-05 20:34 (UTC)

Hi, I'm trying to install this and am getting errors while compiling. Any chance you could have a look at it again @IngoMeyer ?

Many thanks!

...
gcc -c -DHAVE_CONFIG_H   -I/usr/include -I/usr/include/freetype2 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection         -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -flto=auto -Wno-error=incompatible-pointer-types action/lex.swf4.c -o action/lex.swf4.o
swf4compiler.flex: In function ‘do_unput4’:
lex.swf4.c:198:18: error: too many arguments to function ‘yyunput’; expected 0, have 2
swf4compiler.flex:89:33: note: in expansion of macro ‘unput’
swf4compiler.flex:87:14: note: declared here
lex.swf4.c: At top level:
lex.swf4.c:932:17: error: conflicting types for ‘yyunput’; have ‘void(int,  char *)’
swf4compiler.flex:87:14: note: previous declaration of ‘yyunput’ with type ‘void(void)’
swf4compiler.flex:87:14: warning: ‘yyunput’ used but never defined
make[1]: *** [Makefile:34: action/lex.swf4.o] Error 1
make[1]: Leaving directory '/home/eins/.cache/yay/swftools/src/swftools-0.9.2/lib'
make: *** [Makefile:10: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: swftools-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
swftools - exit status 4

akovia commented on 2024-06-18 11:22 (UTC)

@IngoMeyer Perfection! Thank you for such a quick fix. Much appreciated.

IngoMeyer commented on 2024-06-18 10:26 (UTC)

@akovia: Compile errors with GCC 14 are fixed. Could you please try again?

IngoMeyer commented on 2024-06-17 15:15 (UTC) (edited on 2024-06-18 10:10 (UTC) by IngoMeyer)

@akovia: Thanks for the error messages. This seems to be related to the GCC 14 update. I will look into this.

akovia commented on 2024-06-17 12:12 (UTC)

So sorry @IngoMeyer, posted in the wrong tab. Will post it there now. Started with this package and had so many errors that I tried the git version next. Too much output to post here, but these are some of the errors. Happy to post it all somewhere if you like.

as3/pool.c: In function ‘pool_find_namespace’:
as3/pool.c:969:84: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  969 |         fprintf(stderr, "Couldn't find namespace \"%s\" %p in constant pool\n", s, (int)ns);
      |                                                                                    ^
as3/pool.c:969:58: warning: format ‘%p’ expects argument of type ‘void *’, but argument 4 has type ‘int’ [-Wformat=]
  969 |         fprintf(stderr, "Couldn't find namespace \"%s\" %p in constant pool\n", s, (int)ns);

as3/builtin.c:4032:64: error: initialization of ‘string_t *’ {aka ‘struct _string_t *’} from incompatible pointer type ‘namespace_t *’ {aka ‘struct _namespace *’} [-Wincompatible-pointer-types]
 4032 | static constant_t flash_utils_flash_proxy_constant = {type: 8, &flash_utils_flash_proxy_constant_ns};

as3/builtin.c:5469:45: error: initialization of ‘string_t *’ {aka ‘struct _string_t *’} from incompatible pointer type ‘namespace_t *’ {aka ‘struct _namespace *’} [-Wincompatible-pointer-types]
 5469 | static constant_t _AS3_constant = {type: 8, &_AS3_constant_ns};

make[1]: *** [Makefile:36: as3/builtin.o] Error 1
make[1]: *** Waiting for unfinished jobs....

make: *** [Makefile:10: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: swftools-exit status 4
 -> Failed to install the following packages. Manual intervention is required: