Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 267555 - dev-libs/adobe-air-sdk-bin: Adobe AIR SDK on Gentoo
Summary: dev-libs/adobe-air-sdk-bin: Adobe AIR SDK on Gentoo
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement with 3 votes (vote)
Assignee: Default Assignee for New Packages
URL:
Whiteboard: sunrise-removal
Keywords: EBUILD, InOverlay
Depends on:
Blocks:
 
Reported: 2009-04-26 15:12 UTC by Dominik George
Modified: 2016-06-08 16:47 UTC (History)
28 users (show)

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


Attachments
Ebuild for Adobe Air SDK (adobe-air-sdk-bin-1.5.1.ebuild,871 bytes, text/plain)
2009-04-26 15:19 UTC, Dominik George
Details
files/airstart: wrapper script to start air applications (airstart,97 bytes, text/plain)
2009-04-26 15:19 UTC, Dominik George
Details
AdobeAirSDK license as referred to in the ebuild (AdobeAirSDK,18.26 KB, text/plain)
2009-04-26 15:19 UTC, Dominik George
Details
files/airstart: Wrapper script to start AIR applications (airstart,105 bytes, text/plain)
2009-04-26 15:22 UTC, Dominik George
Details
adobe-air-sdk-bin-1.5.2 ebuild (adobe-air-sdk-bin-1.5.2-r1.ebuild,2.04 KB, text/plain)
2009-08-26 16:06 UTC, Jouni Rinne
Details
adobe-air-sdk-bin-1.5.2 ebuild, updated (adobe-air-sdk-bin-1.5.2-r2.ebuild,2.17 KB, text/plain)
2009-08-26 16:55 UTC, Jouni Rinne
Details
a script to run air apps with no explicit extraction (adobe-air,603 bytes, text/plain)
2009-11-23 19:03 UTC, Rajat Vig
Details
New Ebuild to extract files in a Temp Location and run the AIR App from there (adobe-air-sdk-bin-1.5.2-r3.ebuild,2.52 KB, text/plain)
2009-11-23 19:28 UTC, Rajat Vig
Details
Cleaned up, versioned ebuild (adobe-air-sdk-bin-1.5.3.ebuild,921 bytes, text/plain)
2010-03-07 20:51 UTC, Michał Górny
Details
...and the cleaned up airstart script (airstart,548 bytes, text/plain)
2010-03-07 21:29 UTC, Michał Górny
Details
Misc fixes (adobe-air-sdk-bin-1.5.3.ebuild,1001 bytes, text/plain)
2010-03-07 21:39 UTC, Michał Górny
Details
MIME database package for .air files (adobe-air-sdk-bin.xml,733 bytes, text/plain)
2010-03-07 22:35 UTC, Michał Górny
Details
Associate airstart with .air files (airstart.desktop,367 bytes, text/plain)
2010-03-07 22:35 UTC, Michał Górny
Details
Ebuild with .desktop & mime (adobe-air-sdk-bin-1.5.3.ebuild,1.38 KB, text/plain)
2010-03-07 22:36 UTC, Michał Górny
Details
new version 2.0.2 (adobe-air-sdk-bin-2.0.2.ebuild,1.91 KB, text/plain)
2010-09-07 05:25 UTC, bezetek
Details
Will not attempt fetch archive from distfiles.gentoo.org (adobe-air-sdk-bin-2.0.2.ebuild,1.93 KB, text/plain)
2010-10-12 05:29 UTC, dE
Details
Adobe Air SDK version bump to latest version 2.5 (adobe-air-sdk-bin-2.5.ebuild,1.91 KB, text/plain)
2010-12-02 22:07 UTC, Carlos Velez Baez
Details
airstart with sed-statement to change namespace to 2.6 (file_267555.txt,722 bytes, text/plain)
2013-05-04 23:00 UTC, Mads
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dominik George 2009-04-26 15:12:56 UTC
I am currently working on getting the Adobe AIR SDK on Gentoo through portage and also creating a means of writing ebuilds for AIR applications.

Gotchas are that upstream only prvides a tarball with a fixed name, so updated to it will break the ebuild because there is no way of distinguishing versions and that it is fetch-restricted.

Reproducible: Always
Comment 1 Dominik George 2009-04-26 15:19:01 UTC
Created attachment 189510 [details]
Ebuild for Adobe Air SDK
Comment 2 Dominik George 2009-04-26 15:19:25 UTC
Created attachment 189512 [details]
files/airstart: wrapper script to start air applications
Comment 3 Dominik George 2009-04-26 15:19:45 UTC
Created attachment 189514 [details]
AdobeAirSDK license as referred to in the ebuild
Comment 4 Dominik George 2009-04-26 15:22:50 UTC
Created attachment 189516 [details]
files/airstart: Wrapper script to start AIR applications

Fixed typo.
Comment 5 Serkan Kaba (RETIRED) gentoo-dev 2009-04-26 17:16:14 UTC
This is not a native 64 bit binary, so it will need emul-linux- stuff to run on amd64 (if it does, I'm not sure though)
Comment 6 Dominik George 2009-04-26 19:59:56 UTC
@Serkan:

Do you have any idea what I need in particular?

It does work on amd64 (my arch), I'm not so sure which of the emul-linux-* packages the package depends on ...

Any hints?
Comment 7 Hans de Graaff gentoo-dev Security 2009-05-05 16:12:12 UTC
Note that bug 251475 also contains an ebuild for this.
Comment 8 Ryan 2009-07-26 16:33:45 UTC
as far as the download naming business goes, this can be fixed with EAPI , you can rename downloads i.e

SRC_URI="http://airdownload.adobe.com/air/lin/download/latest/AdobeAIRSDK.tbz2
-> ${P}.tbz2"

Though the fetch restriction will have to be turned off.

see http://devmanual.gentoo.org/ebuild-writing/eapi/index.html for more infromation
Comment 9 Jouni Rinne 2009-08-26 16:06:28 UTC
Created attachment 202323 [details]
adobe-air-sdk-bin-1.5.2 ebuild

The latest Air SDK from Adobe is version 1.5.2, this ebuild is modified to suit. It also fixes the weird file permissions and broken symlinks within the SDK, and dispenses with the separate 'airstart' file, instead creating one on-the-fly.
Comment 10 Jouni Rinne 2009-08-26 16:55:10 UTC
Created attachment 202328 [details]
adobe-air-sdk-bin-1.5.2 ebuild, updated

A little update (added postinst usage instructions).
I don't really know which, if any, emul-linux packages AIR needs on amd64. It works on both x86 and amd64 here, the again I have almost all possible emul-linux packages installed on amd64... Ldd is not really helping here.
Comment 11 Anton Romanov 2009-10-20 19:18:23 UTC
isn't this technically a dupe of bug#251475 ....
Comment 12 Rajat Vig 2009-11-23 19:03:32 UTC
Created attachment 211006 [details]
a script to run air apps with no explicit extraction

Copied from http://aur.archlinux.org/packages.php?ID=16940

This works better than the explicit step of extracting files in a specific location.
Comment 13 Rajat Vig 2009-11-23 19:28:41 UTC
Created attachment 211009 [details]
New Ebuild to extract files in a Temp Location and run the AIR App from there

Run script copied from the Arch Linux Repository.
Changed the Ebuild given to create the appropriate script file.
Comment 14 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2010-03-07 20:51:41 UTC
Created attachment 222575 [details]
Cleaned up, versioned ebuild

I've removed most of useless mangling, updated the ebuild for the newest version I was able to find and made it able to fetch the correct version of tarball.

Please note that this ebuild is for amd64, and lacks x86 dependecy specifications (someone needs to find one which libraries are really needed).
Comment 15 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2010-03-07 21:29:42 UTC
Created attachment 222587 [details]
...and the cleaned up airstart script
Comment 16 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2010-03-07 21:39:48 UTC
Created attachment 222591 [details]
Misc fixes
Comment 17 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2010-03-07 22:35:19 UTC
Created attachment 222593 [details]
MIME database package for .air files
Comment 18 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2010-03-07 22:35:52 UTC
Created attachment 222595 [details]
Associate airstart with .air files
Comment 19 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2010-03-07 22:36:25 UTC
Created attachment 222597 [details]
Ebuild with .desktop & mime
Comment 20 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2010-03-08 21:21:15 UTC
I've commited the ebuild as dev-util/adobe-air-sdk-bin into Sunrise overlay. Please update the summary, add 'EBUILD InOverlay' to bug KEYWORDS and '[sunrise overlay]' to 'status whiteboard'.
Comment 21 GianpaMX 2010-08-04 19:54:02 UTC
(In reply to comment #20)
> I've commited the ebuild as dev-util/adobe-air-sdk-bin into Sunrise overlay.
> Please update the summary, add 'EBUILD InOverlay' to bug KEYWORDS and '[sunrise
> overlay]' to 'status whiteboard'.
> 

I've emerged it and when I try to start TweetDeck, it fails writing this:

$ airstart TweetDeck_0_34.2.air 
The program 'adl' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadWindow (invalid Window parameter)'.
  (Details: serial 115 error_code 3 request_code 20 minor_code 0)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)

(adl:14620): Gdk-WARNING **: gdkdrawable-x11.c:952 drawable is not a pixmap or window

Comment 22 Nils Andresen 2010-08-26 07:04:30 UTC
(In reply to comment #21)
> $ airstart TweetDeck_0_34.2.air 
> The program 'adl' received an X Window System error.
> This probably reflects a bug in the program.

I was unable to reproduce the problem.
However I used TweetDeck 0.34.3.
Does the problem still exist for you? Does It occur in other air's?
Comment 23 bezetek 2010-09-07 05:25:20 UTC
Created attachment 246331 [details]
new version 2.0.2

just change the version from the 1.5.3 to 2.0.2
Comment 24 bezetek 2010-09-07 05:33:45 UTC
(In reply to comment #23)
> Created an attachment (id=246331) [details]
> new version 2.0.2
> 
> just change the version from the 1.5.3 to 2.0.2
> 

Here is a problem, after i just change  the version, it will report "rm -r opt/Adobe/AirSDK/runtimes/air/linux/Adobe AIR/Versions/1.0/Resources/nss3/None failed: No such file or directory" error and return. So i change the remove command in ebuild. 

But why it didn't report error when i emerge version 1.5.3, there is no a file named ”None“ also... 
Comment 25 dE 2010-10-12 05:29:30 UTC
Created attachment 250327 [details]
Will not attempt fetch archive from distfiles.gentoo.org
Comment 26 dE 2010-10-12 05:35:32 UTC
This is a very important package you know.

Votes?
Comment 27 Markos Chandras (RETIRED) gentoo-dev 2010-10-12 12:46:52 UTC
What is the status of ebuild is sunrise? Are there any devs willing to take care of it? Otherwise we can use some proxy maintainers for that
Comment 28 dE 2010-10-13 10:55:49 UTC
They are outdated in all overlays.

I've made an ebuild off the runtime rpm, but if someone could figure out a way to run AIR applications...
Comment 29 dE 2010-12-02 01:14:42 UTC
Someone tried those bin packages?

I dont know how many people complained, but I did stating the Gentoo community has lots of development power, and in a few day they released the bin.
Comment 30 Christian B. 2010-12-02 20:32:14 UTC
@comment 28: could you provide this ebuild?

@comment 29:
They seem to have removed the tbz2 version. On amd64 I could not install the bin-version, it complains about not having a rpm- or deb-based distro.
Comment 31 Carlos Velez Baez 2010-12-02 22:07:28 UTC
Created attachment 256190 [details]
Adobe Air SDK version bump to latest version 2.5

Adobe Air SDK version bump to latest version 2.5
Comment 32 Christian B. 2010-12-03 06:56:35 UTC
@comment 31: works on amd64. Thanks.
Any chance to get that to sunrise or main portage tree?
Comment 33 bugs+gentoo 2010-12-03 17:30:44 UTC
(In reply to comment #31)
> Created an attachment (id=256190) [details]
> Adobe Air SDK version bump to latest version 2.5
> 
> Adobe Air SDK version bump to latest version 2.5
> 

Works fine on amd64.
Comment 34 Alex Efros 2011-04-07 07:55:24 UTC
On hardened it require
  chpax -m /opt/Adobe/AirSDK/bin/adl
Comment 35 wd 2011-05-06 10:13:33 UTC
version 2.6 is out, can install it after simply rename the ebuild file, but always got crash.


Application crashed with an unhandled SIGSEGV
Crashlog has been dumped in /tmp/airCrashLogs/0506_1807_gZl3vH
Comment 36 Serkan Kaba (RETIRED) gentoo-dev 2011-06-17 03:56:45 UTC
In light of the events, should we deprecate this bug?

http://blogs.adobe.com/flashplayer/2011/06/adobe-air-and-linux-increasing-distribution-on-devices.html
Comment 37 Wonko 2012-04-27 22:31:39 UTC
I installed dev-util/adobe-air-sdk-bin-1.5.3 from the sunrise overlay, but when I tried to start Botanicula (http://amanita-design.net/games/botanicula.html) I get this error:
wonko@weird ~ $ airstart ~/apps/games/Amanita/Botanicula/Botanicula.air 
invalid application descriptor: descriptor version does not match runtime version

Then I found this bug and installed dev-libs/adobe-air-sdk-bin-2.5. had a little trouble, it was not obvious to me I had to create a files directory and put some of the attachements named airstart, airstart.desktop and adobe-air-sdk-bin.xml into it. Anyway, now I get this error:
wonko@weird ~ $ airstart ~/apps/games/Amanita/Botanicula/Botanicula.air 
invalid application descriptor: Unknown namespace: http://ns.adobe.com/air/application/2.6

The game is working if I start it like this, with AdobeAIRSDK.tbz2 2.6 from http://helpx.adobe.com/air/kb/archived-air-sdk-version.html installed manually:
  dir=~/apps/games/Amanita/Botanicula
  ~/apps/air-sdk/bin/adl "$dir/META-INF/AIR/application.xml" "$dir/"

But it would be nice to have a Gentoo package for this.
Comment 38 Mads 2013-05-04 23:00:03 UTC
Created attachment 347398 [details]
airstart with sed-statement to change namespace to 2.6

Uploading a new airstart-script that sets the application namespace to 2.6 if there's originally a 3.x namespace set. AIR applications nowadays usually use the 3.x namespace, so by using this sed statement the application will at least try to start as a 2.6 application. No guarantees that it will work, of course.
Comment 39 jannis 2015-08-05 15:47:41 UTC
Just as a note: I tried to install dev-util/adobe-air-sdk-bin-2.6 from the "gamerlay" overlay (http://gpo.zugaina.org/Overlays/gamerlay/dev-util/adobe-air-sdk-bin) and it failed since "app-emulation/emul-linux-x86-gtklibs" (needed as dependency) is no longer in tree. I assume this matters as well for the ebuilds found here.
Comment 40 Markus Rathgeb 2015-08-07 06:43:16 UTC
Should we close that issue with resolution "WONTFIX"?
The last AIR SDK for linux is four year old and there is no further (public) development.

Quote: https://helpx.adobe.com/air/kb/install-air-2-64-bit.html
Note: Beginning June 14 2011, Adobe AIR is no longer supported for desktop Linux distributions. Users can install and run AIR 2.6 and earlier applications but can't install or update to AIR 2.7. The last version to support desktop Linux distributions is AIR 2.6. AIR 2.6 is available from the AIR Archive.
Comment 41 Robin Bankhead 2015-08-07 17:43:47 UTC
It's not destined for the tree, certainly, though preferable resolutions might be OBSOLETE or UPSTREAM. If overlays still need existing version, they need to change the dependency to

x11-libs/gtk+[abi_x86_32] (from memory, apologies if wrongly spelt)
Comment 42 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2016-06-08 16:47:59 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/