Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 152970 - flex-sdk-3 ebuild
Summary: flex-sdk-3 ebuild
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Lowest enhancement with 1 vote (vote)
Assignee: Default Assignee for New Packages
URL: http://opensource.adobe.com/wiki/disp...
Whiteboard: sunrise suggested
Keywords: EBUILD
: 375355 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-10-27 05:34 UTC by karl
Modified: 2015-12-22 13:29 UTC (History)
3 users (show)

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


Attachments
dev-lang/flex2/flex2-20060813.ebuild (flex2-20060813.ebuild,1.57 KB, text/plain)
2006-10-27 10:56 UTC, karl
Details
dev-lang/flex2/flex2-2.0.1_p2.ebuild (flex2-2.0.1_p2.ebuild,1.66 KB, text/plain)
2007-06-07 19:02 UTC, karl
Details
dev-lang/flex-sdk/flex-sdk-3.0.1.1092.ebuild (flex-sdk-3.0.1.1092.ebuild,6.43 KB, text/plain)
2008-04-27 06:22 UTC, karl
Details
emerge --info (emerge-info.txt,4.11 KB, text/plain)
2008-06-19 02:57 UTC, Joseph Turian
Details
dev-lang/flex-sdk/flex-sdk-3.0.2.2113.ebuild (flex-sdk-3.0.2.2113.ebuild,6.14 KB, text/plain)
2008-06-26 00:29 UTC, karl
Details
dev-lang/flex-sdk/flex-sdk-4.5.0.21368.ebuild (flex-sdk-4.5.0.21368.ebuild,3.73 KB, text/plain)
2011-07-17 19:19 UTC, silver_ghost
Details
dev-lang/flex-sdk/flex-sdk-4.5.0.21368.ebuild (flex-sdk-4.5.0.21368.ebuild,4.27 KB, text/plain)
2011-07-17 20:39 UTC, silver_ghost
Details
dev-lang/flex-sdk/flex-sdk-4.5.0.21368.ebuild (flex-sdk-4.5.0.21368.ebuild,4.29 KB, text/plain)
2011-07-21 15:52 UTC, silver_ghost
Details

Note You need to log in before you can comment on or make changes to this bug.
Description karl 2006-10-27 05:34:32 UTC
The flex2 sdk compiles flash 9 applications from mxml and actionscript on linux.  It would be great to get it into portage.
Comment 1 karl 2006-10-27 10:56:43 UTC
Created attachment 100603 [details]
dev-lang/flex2/flex2-20060813.ebuild
Comment 2 mikael lammentausta 2007-04-27 05:55:41 UTC
This is now supposed to be opensource.

http://labs.adobe.com/wiki/index.php/Flex:Open_Source
Comment 3 karl 2007-04-27 14:59:09 UTC
(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.
Comment 4 karl 2007-06-07 19:02:59 UTC
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
Comment 5 karl 2008-04-27 06:22:33 UTC
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
Comment 6 Joseph Turian 2008-06-19 02:45:53 UTC
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

Comment 7 Joseph Turian 2008-06-19 02:57:52 UTC
Created attachment 157535 [details]
emerge --info
Comment 8 Joseph Turian 2008-06-19 02:58:28 UTC
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"
Comment 9 karl 2008-06-26 00:29:27 UTC
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.
Comment 10 Jeremy Olexa (darkside) (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2009-03-24 13:21:11 UTC
(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
Comment 11 Yuri Bebesh 2010-01-21 10:49:11 UTC
It is last ebuild for flex-sdk?
Comment 12 Serkan Kaba (RETIRED) gentoo-dev 2011-07-17 04:19:35 UTC
*** Bug 375355 has been marked as a duplicate of this bug. ***
Comment 13 silver_ghost 2011-07-17 19:19:01 UTC
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?
Comment 14 silver_ghost 2011-07-17 20:39:19 UTC
Created attachment 280269 [details]
dev-lang/flex-sdk/flex-sdk-4.5.0.21368.ebuild

Fixing formatting and some errors.
Comment 15 silver_ghost 2011-07-21 15:52:24 UTC
Created attachment 280535 [details]
dev-lang/flex-sdk/flex-sdk-4.5.0.21368.ebuild

Few edits.
Comment 16 Luca Barbato gentoo-dev 2012-03-23 18:49:29 UTC
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
Comment 17 Trevor Wilson 2015-12-20 11:57:29 UTC
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 :-)
Comment 18 Trevor Wilson 2015-12-22 11:20:47 UTC
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
Comment 19 Trevor Wilson 2015-12-22 12:11:46 UTC
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.
Comment 20 Trevor Wilson 2015-12-22 13:29:48 UTC
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