The flex2 sdk compiles flash 9 applications from mxml and actionscript on linux. It would be great to get it into portage.
Created attachment 100603 [details] dev-lang/flex2/flex2-20060813.ebuild
This is now supposed to be opensource. http://labs.adobe.com/wiki/index.php/Flex:Open_Source
(In reply to comment #2) > This is now supposed to be opensource. > http://labs.adobe.com/wiki/index.php/Flex:Open_Source It will be, but the source code is not available until some time between Summer 2007 and 2008. At the moment the binary compiler is the only one available.
Created attachment 121432 [details] dev-lang/flex2/flex2-2.0.1_p2.ebuild Updated ebuild for flex sdk 2.0.01 hotfix 2 from adobe; asdoc now works on linux; ebuild no longer has fetch restriction
Created attachment 151100 [details] dev-lang/flex-sdk/flex-sdk-3.0.1.1092.ebuild flex-sdk-3, now builds from source. lots of new goodies, such as the official swf decompiler. I'm learning; documentation building isn't amazing, and the java compiler apis are not installed properly
I get the following compile errors during emerge: compc: [java] Loading configuration file /var/tmp/portage/dev-lang/flex-sdk-3.0.1.1092/work/flex-sdk-3.0.1.1092/frameworks/flex-config.xml [java] Loading configuration file /var/tmp/portage/dev-lang/flex-sdk-3.0.1.1092/work/flex-sdk-3.0.1.1092/frameworks/flex-config.xml [java] Warning: Line number support for XML tag attributes is not available. It is possible that compile-time MXML error reporting and component debugging may not give correct line numbers. Please make sure that xercesPatch.jar is in the classpath. [java] [java] /var/tmp/portage/dev-lang/flex-sdk-3.0.1.1092/work/flex-sdk-3.0.1.1092/frameworks/projects/framework/src/mx/effects/DefaultListEffect.mxml(16): Error: Could not resolve <mx:Metadata> to a component implementation. [java] [java] <mx:Metadata> [java] [java] /var/tmp/portage/dev-lang/flex-sdk-3.0.1.1092/work/flex-sdk-3.0.1.1092/frameworks/projects/framework/src/mx/effects/DefaultListEffect.mxml(37): Error: Could not resolve <mx:Script> to a component implementation. [java] [java] <mx:Script> [java] [java] /var/tmp/portage/dev-lang/flex-sdk-3.0.1.1092/work/flex-sdk-3.0.1.1092/frameworks/projects/framework/src/mx/effects/DefaultTileListEffect.mxml(16): Error: Could not resolve <mx:Metadata> to a component implementation. [java] [java] <mx:Metadata> [java] [java] /var/tmp/portage/dev-lang/flex-sdk-3.0.1.1092/work/flex-sdk-3.0.1.1092/frameworks/projects/framework/src/mx/effects/DefaultTileListEffect.mxml(34): Error: Could not resolve <mx:Script> to a component implementation. [java] [java] <mx:Script> [java] [java] /var/tmp/portage/dev-lang/flex-sdk-3.0.1.1092/work/flex-sdk-3.0.1.1092/frameworks/projects/framework/src/mx/controls/RichTextEditor.mxml(16): Error: Could not resolve <mx:Metadata> to a component implementation. [java] [java] <mx:Metadata> [java] [java] /var/tmp/portage/dev-lang/flex-sdk-3.0.1.1092/work/flex-sdk-3.0.1.1092/frameworks/projects/framework/src/mx/controls/RichTextEditor.mxml(84): Error: Could not resolve <mx:Script> to a component implementation. [java] [java] <mx:Script> [java] [java] Build unsuccessful. BUILD FAILED /var/tmp/portage/dev-lang/flex-sdk-3.0.1.1092/work/flex-sdk-3.0.1.1092/build.xml:138: The following error occurred while executing this line: /var/tmp/portage/dev-lang/flex-sdk-3.0.1.1092/work/flex-sdk-3.0.1.1092/frameworks/build.xml:21: The following error occurred while executing this line: /var/tmp/portage/dev-lang/flex-sdk-3.0.1.1092/work/flex-sdk-3.0.1.1092/frameworks/projects/framework/build.xml:18: The following error occurred while executing this line: /var/tmp/portage/dev-lang/flex-sdk-3.0.1.1092/work/flex-sdk-3.0.1.1092/frameworks/build.xml:104: Java returned: 6
Created attachment 157535 [details] emerge --info
GENTOO_VM=sun-jdk-1.6 CLASSPATH="" JAVA_HOME="/opt/sun-jdk-1.6.0.06" JAVACFLAGS="-source 1.5 -target 1.5" COMPILER="javac"
Created attachment 158465 [details] dev-lang/flex-sdk/flex-sdk-3.0.2.2113.ebuild Sometimes when recompiling I used to encounter that bug. rm -rf /var/tmp/portage and ebuild clean would get rid of it. Was the problem from the first build, or a rebuild? I can't seem to recreate it anymore myself. I'm afraid I'm not yet very familiar with ant and java. This new ebuild fixes a missing ant task dependency, along with upgraded sources; it might help.
(this is an automated message based on filtering criteria that matched this bug) 'EBUILD' is in the KEYWORDS which should mean that there is a ebuild attached to this bug. This bug is assigned to maintainer-wanted which means that it is not in the main tree. Heuristics show that no Gentoo developer has commented on your ebuild. Hello, The Gentoo Team would like to firstly thank you for your ebuild submission. We also apologize for not being able to accommodate you in a timely manner. There are simply too many new packages. Allow me to use this opportunity to introduce you to Gentoo Sunrise. The sunrise overlay[1] is a overlay for Gentoo which we allow trusted users to commit to and all users can have ebuilds reviewed by Gentoo devs for entry into the overlay. So, the sunrise team is suggesting that you look into this and submit your ebuild to the overlay where even *you* can commit to. =) Because this is a mass message, we are also asking you to be patient with us. We anticipate a large number of requests in a short time. Thanks, On behalf of the Gentoo Sunrise Team, Jeremy. [1]: http://www.gentoo.org/proj/en/sunrise/ [2]: http://overlays.gentoo.org/proj/sunrise/wiki/SunriseFaq
It is last ebuild for flex-sdk?
*** Bug 375355 has been marked as a duplicate of this bug. ***
Created attachment 280267 [details] dev-lang/flex-sdk/flex-sdk-4.5.0.21368.ebuild I have tried to fix old ebuild. Could you check if it work well?
Created attachment 280269 [details] dev-lang/flex-sdk/flex-sdk-4.5.0.21368.ebuild Fixing formatting and some errors.
Created attachment 280535 [details] dev-lang/flex-sdk/flex-sdk-4.5.0.21368.ebuild Few edits.
The last ebuild doesn't work at all looks like adobe isn't writing java files in utf8 and [javac] Compiling 514 source files to /var/tmp/portage/dev-lang/adobe-flex-sdk-4.5.0.21368/work/adobe-flex-sdk-4.5.0.21368/modules/compiler/classes [javac] MxmlConfiguration.java:14: package flex.messaging.config does not exist [javac] import flex.messaging.config.ServicesDependencies; [javac] ^ [javac] CompilerConfiguration.java:16: package flex.messaging.config does not exist [javac] import flex.messaging.config.ServicesDependencies; [javac] ^ [javac] MxmlConfiguration.java:103: cannot find symbol [javac] symbol : class ServicesDependencies [javac] location: interface flex2.compiler.mxml.MxmlConfiguration [javac] ServicesDependencies getServicesDependencies(); [javac] ^ [javac] CompilerConfiguration.java:1390: cannot find symbol [javac] symbol : class ServicesDependencies [javac] location: class flex2.compiler.common.CompilerConfiguration [javac] protected ServicesDependencies servicesDependencies; [javac] ^ [javac] CompilerConfiguration.java:1401: cannot find symbol [javac] symbol : class ServicesDependencies [javac] location: class flex2.compiler.common.CompilerConfiguration [javac] public ServicesDependencies getServicesDependencies() [javac] ^ [javac] CompilerConfiguration.java:1412: cannot find symbol [javac] symbol : class ServicesDependencies [javac] location: class flex2.compiler.common.CompilerConfiguration [javac] public void setServicesDependencies(ServicesDependencies deps) [javac] ^ [javac] CompilerAPI.java:27: package flex.messaging.config does not exist [javac] import flex.messaging.config.ServicesDependencies; [javac] ^ [javac] ManagedExtension.java:14: package flex.messaging.config does not exist [javac] import flex.messaging.config.ServicesDependencies; [javac] ^ [javac] ManagedExtension.java:33: cannot find symbol [javac] symbol : class ServicesDependencies [javac] location: class flex2.compiler.as3.managed.ManagedExtension [javac] private ServicesDependencies servicesDependencies; [javac] ^ [javac] ManagedExtension.java:41: cannot find symbol [javac] symbol : class ServicesDependencies [javac] location: class flex2.compiler.as3.managed.ManagedExtension [javac] ServicesDependencies services, boolean processComments) [javac] ^ [javac] ManagedFirstPassEvaluator.java:14: package flex.messaging.config does not exist [javac] import flex.messaging.config.ServicesDependencies; [javac] ^ [javac] ManagedFirstPassEvaluator.java:44: cannot find symbol [javac] symbol : class ServicesDependencies [javac] location: class flex2.compiler.as3.managed.ManagedFirstPassEvaluator [javac] private ServicesDependencies servicesDependencies; [javac] ^ [javac] ManagedFirstPassEvaluator.java:46: cannot find symbol [javac] symbol : class ServicesDependencies [javac] location: class flex2.compiler.as3.managed.ManagedFirstPassEvaluator [javac] public ManagedFirstPassEvaluator(TypeTable typeTable, StandardDefs defs, Set metaData, ServicesDependencies servicesDependencies) [javac] ^ [javac] PreLink.java:24: package flex.messaging.config does not exist [javac] import flex.messaging.config.ServicesDependencies; [javac] ^ [javac] CompilerConfiguration.java:1406: cannot find symbol [javac] symbol : class ServicesDependencies [javac] location: class flex2.compiler.common.CompilerConfiguration [javac] servicesDependencies = new ServicesDependencies(servicesPath, null, getContextRoot()); [javac] ^ [javac] CompilerAPI.java:1734: cannot find symbol [javac] symbol : class ServicesDependencies [javac] location: class flex2.compiler.CompilerAPI [javac] ServicesDependencies services = configuration.getCompilerConfiguration().getServicesDependencies(); [javac] ^ [javac] AsDocAPI.java:480: package net.sf.saxon does not exist [javac] net.sf.saxon.Transform.main(args); [javac] ^ [javac] AsDocAPI.java:487: package net.sf.saxon does not exist [javac] net.sf.saxon.Transform.main(args); [javac] ^ [javac] AsDocAPI.java:492: package net.sf.saxon does not exist [javac] net.sf.saxon.Transform.main(args); [javac] ^ [javac] AsDocAPI.java:499: package net.sf.saxon does not exist [javac] net.sf.saxon.Transform.main(args); [javac] ^ [javac] AsDocAPI.java:505: package net.sf.saxon does not exist [javac] net.sf.saxon.Transform.main(args); [javac] ^ [javac] AsDocAPI.java:511: package net.sf.saxon does not exist [javac] net.sf.saxon.Transform.main(args); [javac] ^ [javac] AsDocAPI.java:517: package net.sf.saxon does not exist [javac] net.sf.saxon.Transform.main(args); [javac] ^ [javac] AsDocAPI.java:524: package net.sf.saxon does not exist [javac] net.sf.saxon.Transform.main(args); [javac] ^ [javac] AsDocAPI.java:530: package net.sf.saxon does not exist [javac] net.sf.saxon.Transform.main(args); [javac] ^ [javac] AsDocAPI.java:536: package net.sf.saxon does not exist [javac] net.sf.saxon.Transform.main(args); [javac] ^ [javac] AsDocAPI.java:542: package net.sf.saxon does not exist [javac] net.sf.saxon.Transform.main(args); [javac] ^ [javac] AsDocAPI.java:549: package net.sf.saxon does not exist [javac] net.sf.saxon.Transform.main(args); [javac] ^ [javac] AsDocAPI.java:556: package net.sf.saxon does not exist [javac] net.sf.saxon.Transform.main(args); [javac] ^ [javac] AsDocAPI.java:563: package net.sf.saxon does not exist [javac] net.sf.saxon.Transform.main(args); [javac] ^ [javac] AsDocAPI.java:573: package net.sf.saxon does not exist [javac] net.sf.saxon.Transform.main(args); [javac] ^ [javac] AsDocAPI.java:581: package net.sf.saxon does not exist [javac] net.sf.saxon.Transform.main(args); [javac] ^ [javac] AsDocAPI.java:588: package net.sf.saxon does not exist [javac] net.sf.saxon.Transform.main(args); [javac] ^ [javac] AsDocAPI.java:597: package net.sf.saxon does not exist [javac] net.sf.saxon.Transform.main(args); [javac] ^ [javac] AsDocAPI.java:605: package net.sf.saxon does not exist [javac] net.sf.saxon.Transform.main(args); [javac] ^ [javac] AsDocAPI.java:615: package net.sf.saxon does not exist [javac] net.sf.saxon.Transform.main(args); [javac] ^ [javac] AsDocAPI.java:623: package net.sf.saxon does not exist [javac] net.sf.saxon.Transform.main(args); [javac] ^ [javac] AsDocAPI.java:632: package net.sf.saxon does not exist [javac] net.sf.saxon.Transform.main(args); [javac] ^ [javac] AsDocAPI.java:640: package net.sf.saxon does not exist [javac] net.sf.saxon.Transform.main(args); [javac] ^ [javac] PreLink.java:831: cannot find symbol [javac] symbol : class ServicesDependencies [javac] location: class flex2.tools.PreLink [javac] ServicesDependencies servicesDependencies = compilerConfig.getServicesDependencies(); [javac] ^ [javac] OEMUtil.java:261: package flex.messaging.config does not exist [javac] catch (flex.messaging.config.ConfigurationException ex) [javac] ^ [javac] OEMUtil.java:331: package flex.messaging.config does not exist [javac] catch (flex.messaging.config.ConfigurationException ex) [javac] ^ [javac] OEMUtil.java:383: package flex.messaging.config does not exist [javac] catch (flex.messaging.config.ConfigurationException ex) [javac] ^ [javac] Note: Some input files use or override a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. [javac] 43 errors
Hi, I am starting to work on the ebuild for scratch-flash. Since flex-sdk is a dependency for that project I think I will also work on an ebuild for flex-sdk. So I am volunteering myself to become the maintainer of this project :-)
I would really like to support this package, but sadly it depends on adobe air which has not been maintained in a long while now: https://get.adobe.com/air/. Adobe did release an Adobe Air porting kit, but it does not appear that anyone has taken up the job of porting recent versions of air to linux: http://blogs.adobe.com/flashplayer/2011/06/adobe-air-and-linux-increasing-distribution-on-devices.html. Apparently more recent versions of adobe air work from wine: http://jcward.com/Setup+AIR+3.9+SDK+On+Ubuntu+12.04. I am really disappointed because this road block seams to be a show stopper in my brief effort to get Scratch 2.0 on linux https://bugs.gentoo.org/show_bug.cgi?id=368985
I just sent an email to the flex-sdk mailing list to find out exactly how flex-sdk is dependant on adobe-air and if there is any future plans to remove the dependency. I will post back here what I learn from their responses.
I received a response back from the mailing list. We can avoid the adobe air dependency by using a binary distribution of the flex-sdk http://flex.apache.org/download-binaries.html. I plan on creating an ebuild for this shortly. Apparently the only thing you actually can't do is have FlexUnit tests run in the Flashplayer or using The Air Debug Launcher. Sincerely, Trevor Wilson