Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 109611 - media-video/swfmill (new package)
Summary: media-video/swfmill (new package)
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement with 1 vote (vote)
Assignee: Default Assignee for New Packages
URL:
Whiteboard: sunrise-removal
Keywords: EBUILD, InOverlay
Depends on:
Blocks:
 
Reported: 2005-10-17 13:03 UTC by Adam Penser
Modified: 2016-06-08 22:18 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
swfmill-0.2.11 Ebuild (new package) (swfmill-0.2.11.ebuild,912 bytes, text/plain)
2005-10-17 13:05 UTC, Adam Penser
Details
swfmill-0.2.11 Ebuild (new package) (swfmill-0.2.11.ebuild,1.00 KB, text/plain)
2005-10-18 10:14 UTC, Adam Penser
Details
swfmill-0.2.12.ebuild (swfmill-0.2.12.ebuild,555 bytes, text/plain)
2007-02-01 12:29 UTC, James Le Cuirot
Details
swfmill-0.2.12.ebuild (swfmill-0.2.12.ebuild,559 bytes, text/plain)
2007-02-01 14:17 UTC, James Le Cuirot
Details
swfmill-0.2.12.ebuild (swfmill-0.2.12.ebuild,560 bytes, text/plain)
2007-02-01 15:03 UTC, James Le Cuirot
Details
Patch to fix missing imports of <string.h> in swft (swft_strcmp_fix.patch,739 bytes, patch)
2009-08-04 03:02 UTC, Charlie Nolan
Details | Diff
0.3.0 version bump (swfmill-0.3.0.ebuild,582 bytes, text/plain)
2010-01-24 06:11 UTC, A.C.Heron
Details
Build.log (Build.log,6.12 KB, text/plain)
2011-06-26 10:20 UTC, Piotr Szymaniak
Details
config.log (config.log,32.94 KB, text/plain)
2011-06-26 10:21 UTC, Piotr Szymaniak
Details
0.3.2 ebuild, parallel compilation disabled (file_109611.txt,2 bytes, text/plain)
2012-05-20 18:56 UTC, A.C.Heron
Details
0.3.2 ebuild, parallel compilation disabled (swfmill-0.3.2.ebuild,656 bytes, text/plain)
2012-05-20 19:01 UTC, A.C.Heron
Details
0.3.2 ebuild, parallel compilation disabled, no TODO (swfmill-0.3.2.ebuild,651 bytes, text/plain)
2012-06-03 22:01 UTC, A.C.Heron
Details
Corrected version commited to Sunrise (swfmill-0.3.2.ebuild,677 bytes, text/plain)
2012-06-09 21:11 UTC, A.C.Heron
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Penser 2005-10-17 13:03:55 UTC
Here's a package with xml2swf, swf2xml conversion capabilities.  I guess
dev-util would be a good place for it?
It can work together with Motion-Twin (www.mtasc.org) for open source
actionscript compilation.  Since there aren't any ebuilds for mtasc that I know
of, I guess I'll make a mtasc-bin ebuild and submit it soon.  Someone can try
out for the souce code ebuild, but I couldn't get it to compile on my system.
Hope it works out.!

But all the real depends for this ebuild are already in the portage tree.
(libxml2, libpng, libxslt, zlib, and freetype).
Comment 1 Adam Penser 2005-10-17 13:05:34 UTC
Created attachment 70873 [details]
swfmill-0.2.11 Ebuild (new package)
Comment 2 Carsten Lohrke (RETIRED) gentoo-dev 2005-10-17 15:34:58 UTC
- the dependencies are needed at runtime, too...
- src_unpack() is superfluous
Comment 3 Adam Penser 2005-10-18 10:14:14 UTC
Created attachment 70950 [details]
swfmill-0.2.11 Ebuild (new package)

I updated the ebuild and removed the src_unpack() section.
I added pkgconfig to the build dependencies, which are, as far as I can figure
out, the same as the runtime dependencies, except for pkgconfig.
I also updated the keywords to cover all systems, but the website doesn't give
any indication as to any system where it doesn't explicity work.
This has xml2swf and swf2xml capabilities.  It's most often used with MTASC, at
www.mtasc.org, an open-source actionscript compiler.  This explains why i put
the einfos at the bottom.  I suppose one could also use ming, though, which is
already in the portage tree.
It depends on neither of these for its own functionality.
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2006-07-23 15:20:01 UTC
Comment on attachment 70950 [details]
swfmill-0.2.11 Ebuild (new package)

># Copyright 1999-2005 Gentoo Foundation

Old.

>KEYWORDS="~x86 ~ppc ~sparc ~mips ~alpha ~arm ~hppa ~amd64 ~ia64"

Should only have arch you have tested it on.

>DEPEND="dev-libs/libxml2
>	dev-libs/libxslt
>	sys-libs/zlib
>	media-libs/freetype
>	media-libs/libpng
>	dev-util/pkgconfig"
>RDEPEND="dev-libs/libxml2
>	dev-libs/libxslt
>	sys-libs/zlib
>	media-libs/freetype
>	media-libs/libpng"

Set RDEPEND to DEPEND instead of duplicating entries.

>src_compile() {
>	econf || die "Configure failed."
>	emake || die "Make failed."
>}

You don't need src_compile() at all if it only does econf and emake.

>src_install() {
>	make install DESTDIR=${D}
>	dodoc AUTHORS COPYING ChangeLog INSTALL NEWS README TODO
>}

Use emake instead.

>pkg_postinst() {
>	einfo "You might want to check out Motion-Twin at www.mtasc.org"
>	einfo "You'll find an open source Actionscript compiler."
>	einfo "You need OCaml to build from source, or go with the binary."
>}

Should probably be deleted too. ebuilds are not advertisements :)
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2006-07-23 15:21:15 UTC
COPYING is allready covered by /usr/portage/licenses and INSTALL is unnecessary. Both needs to go.
Comment 6 James Le Cuirot gentoo-dev 2007-02-01 12:29:11 UTC
Created attachment 108844 [details]
swfmill-0.2.12.ebuild

Here's version 0.2.12 with all the above ebuild problems fixed. I'm not sure but I'm guessing this should go in dev-util?
Comment 7 Samuli Suominen (RETIRED) gentoo-dev 2007-02-01 12:53:44 UTC
Quotes around "${DEPEND}" and "${D}"..
Comment 8 James Le Cuirot gentoo-dev 2007-02-01 14:17:31 UTC
Created attachment 108859 [details]
swfmill-0.2.12.ebuild

Anything else? =P
Comment 9 Samuli Suominen (RETIRED) gentoo-dev 2007-02-01 14:33:19 UTC
> Anything else? =P
> 

Yes, deps are still wrong because pkgconfig is only a DEPEND not RDEPEND. It should be,

RDEPEND="dev-libs/libxml2
        dev-libs/libxslt
        sys-libs/zlib
        media-libs/freetype
        media-libs/libpng"
DEPEND="${RDEPEND}
        dev-util/pkgconfig"

And libxslt might be used only for xlstproc to build documentation compilation time, it might be only a DEPEND just like pkgconfig but I'm not sure what libxslt is actually doing with this package. Needs verification.
Comment 10 James Le Cuirot gentoo-dev 2007-02-01 15:03:11 UTC
Created attachment 108865 [details]
swfmill-0.2.12.ebuild

Done. I had a quick look and libxslt is actually used by the program itself.
Comment 11 mikael lammentausta 2008-05-16 06:35:51 UTC
Commited to sunrise
Comment 12 A.C.Heron 2009-03-14 11:07:17 UTC
Works on amd64. Add ~amd64 keyword.
Comment 13 Charlie Nolan 2009-08-04 03:02:44 UTC
Created attachment 200094 [details, diff]
Patch to fix missing imports of <string.h> in swft

Neither of the current swfmill ebuilds works for me.  Both fail in src/swft with:

> swft_css.cpp: In function 'void swft_unit(xmlXPathParserContext*, int)':
> swft_css.cpp:197: error: 'strcmp' was not declared in this scope

(in 0.2.11, it's on line 200 instead, but otherwise the same error)

I've attached a patch that fixes this problem in 0.2.12.  There were a couple places where strcmp was used after importing <string> but not <string.h>.  In one case, I converted a redundant import of <string> and in the other added a new import of <string.h>.

Mangle as needed; I was pretty much working blind.
Comment 14 A.C.Heron 2010-01-24 06:11:08 UTC
Created attachment 217298 [details]
0.3.0 version bump

Version 0.3.0 compliles and works with the old ebuild.
Comment 15 Piotr Szymaniak 2011-06-26 10:20:40 UTC
Created attachment 278205 [details]
Build.log
Comment 16 Piotr Szymaniak 2011-06-26 10:21:36 UTC
Created attachment 278207 [details]
config.log

emerge --info =media-video/swfmill-0.2.11
Portage 2.2.0_alpha41 (default/linux/amd64/10.0, gcc-4.6.0, glibc-2.13-r2, 2.6.39.1 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.39.1-x86_64-Intel-R-_Core-TM-2_CPU_6300_@_1.86GHz-with-gentoo-2.0.3
Timestamp of tree: Sat, 25 Jun 2011 21:45:01 +0000
ccache version 3.1.5 [enabled]
app-shells/bash:          4.2_p10
dev-lang/python:          2.7.1-r1, 3.2
dev-util/ccache:          3.1.5
dev-util/cmake:           2.8.4-r1
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.8.3
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.68
sys-devel/automake:       1.10.3, 1.11.1-r1
sys-devel/binutils:       2.21
sys-devel/gcc:            4.5.2, 4.6.0
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 2.6.38 (virtual/os-headers)
sys-libs/glibc:           2.13-r2
Repositories: gentoo roslin xarthisius sunrise
Installed sets: 
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -mno-sse3 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=nocona -mno-sse3 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs ccache distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.ift.uni.wroc.pl/"
LANG="pl_PL.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/roslin /var/lib/layman/xarthisius /var/lib/layman/sunrise"
SYNC="rsync://rsync1.pl.gentoo.org/gentoo-portage"
USE="acl amd64 berkdb bzip2 cli cracklib crypt cxx dri fortran gdbm iconv ipv6 mmx modules mudflap multilib ncurses nptl nptlonly openmp pam pcre perl pppd python readline session sse sse2 ssl sysfs tcpd unicode xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="braindump flow karbon kexi kpresenter krita tables words" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 17 A.C.Heron 2012-05-20 18:56:47 UTC
Created attachment 312391 [details]
0.3.2 ebuild, parallel compilation disabled

Looks like parallel compilation randomly results in errors. GCC starts compiling sources before xsltproc finishes writing them. New ebuild adds '-j1' to MAKEOPTS until upstream fixes the problem.
Comment 18 A.C.Heron 2012-05-20 19:01:11 UTC
Created attachment 312395 [details]
0.3.2 ebuild, parallel compilation disabled

Somehow the file was not uploaded in the previous attempt. Probably left a space or a newline in the box for pasting. Trying again.
Comment 19 A.C.Heron 2012-06-03 22:01:41 UTC
Created attachment 314105 [details]
0.3.2 ebuild, parallel compilation disabled, no TODO

Removed "dodoc TODO", the archive no longer has a TODO file.
Comment 20 A.C.Heron 2012-06-09 21:11:21 UTC
Created attachment 314817 [details]
Corrected version commited to Sunrise

Corrected dependencies, added RESTRICT="test"; thanks to hasufell, Tommy[D], floppym from #gentoo-sunrise.
Comment 21 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2016-06-08 16:48:51 UTC
Hello, everyone.

It seems that at least one ebuild related to this bug exists in the Sunrise overlay at the moment. However, I have to regretfully announce that after a long inactivity period the Sunrise project has been discontinued and the related overlay will be eventually removed. For this reason, I'd like to ask you to reevaluate the ebuilds and consider moving them. If you'd like to maintain a package from Sunrise in Gentoo, please take a look at our Proxy Maintainers [1] project.

Please make sure to take ebuilds from the unreviewed developer Sunrise repository [2] rather than the -reviewed one, since the latter has not been updated for over a year. While at it, please note that:

1. Adding a package to Gentoo requires declaring yourself as an active maintainer for it. All bugs regarding the package will be assigned to you, and you will be expected to maintain it.

2. Some packages may not be suitable for addition anymore. While there's no strong rules that would prevent you from adding a package, it may be a bad idea to add old-unmaintained packages that will shortly result in a large number of bugs reported with no solution. If that is the case, please close the bug as RESOLVED/OBSOLETE to make it easier to find packages worth adding.

3. Some of the bugs were already closed as WONTFIX/OBSOLETE/... while the relevant ebuild was kept in Sunrise. If you disagree with the original decision, you still can add the ebuild via proxy-maint.

4. Pleaes note that many of the Sunrise ebuilds are old and may be buggy. If you decide to move them, please make sure to update/clean them up. The proxy-maint team will also review your ebuilds, therefore making sure they land in Gentoo in good quality.

Once again, thank you for your contribution. We hope that you will still want to contribute to Gentoo, through proxy-maint or otherwise.


[1]:https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers
[2]:https://gitweb.gentoo.org/proj/sunrise.git/
Comment 22 James Le Cuirot gentoo-dev 2016-06-08 22:18:26 UTC
This seemingly lived a little longer than the associated mtasc project but ultimately still died about 3 years ago. It's Flash-related so it's not exactly going to become relevant again. Closing.