# HG changeset patch # User Aleksej Bobylev # Date 1478976865 -7200 # Node ID 14117b014af6bf239d5521b1cf26dab0015beced # Parent e97a0707db434076bfe2ec02125143f4ee5523b5 Add adobe-air-sdk diff -r e97a0707db43 -r 14117b014af6 adobe-air-sdk/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/adobe-air-sdk/description.txt Sat Nov 12 20:54:25 2016 +0200 @@ -0,0 +1,88 @@ +[Adobe Integrated Runtime (AIR)](https://en.wikipedia.org/wiki/Adobe_Integrated_Runtime) +is a cross-platform runtime environment developed by Adobe Systems for building +rich Internet applications using Adobe Flash, Adobe Flex, HTML, or Ajax, that +can be deployed as desktop applications. + + +Installing an AIR Application +----------------------------- + +Download the application, and unzip it to `/opt/airapps/`. To run it +you can use the command + + $ /opt/adobe-air-sdk/bin/adl -nodebug /opt/airapps//META-INF/AIR/application.xml /opt/airapps// + + +Making it executable +-------------------- + +You can also make an executable by creating a file in /usr/local/bin: + + #!/usr/bin/sh + /opt/adobe-air-sdk/bin/adl -nodebug /opt/airapps//META-INF/AIR/application.xml /opt/airapps// + +The app might need parameters (voddler) so then the script can look like: + + #!/usr/bin/sh + /opt/adobe-air-sdk/bin/adl -nodebug /opt/airapps//META-INF/AIR/application.xml /opt/airapps// -- ${@} + +Then chmod the file so that it can execute: + + $ chmod +x filename + +Now you have installed an application in AIR. Yes it is this silly :P + + +Removing the application +------------------------ + +Delete the application folder in `/opt/airapps`. Also delete the executable if +you created one. + + +Running binaries that use AIR +----------------------------- + +Some applications using Adobe AIR can come with their own binaries included. In +this case, it's often better to run these binaries, rather than bypassing them +using adl, to not lose any extra functionality these binaries might provide. +These binaries will require some work however, before they can be used with the +Adobe AIR SDK. + +First of all, binaries will look for Adobe AIR, rather than the Adobe AIR SDK. +There seems to be no way to change where to look, so you're going to have to +symlink the Adobe AIR runtime provided with the SDK to the default location +that binaries follow: + + # ln -s /opt/adobe-air-sdk/runtimes/air/linux/Adobe\ AIR/ /opt/Adobe\ AIR + +With this, the binaries should be able to detect your Adobe AIR installation. +It will leave you with two Adobe AIR folders in /opt, which is dirty but there +seems to be no way around this for now. + +Another problem you'll run into is that whenever the AIR runtime starts a +process, it'll check whether you have accepted the EULA, something that is not +included with the SDK. Since it can't determine that you did, it then tries to +run the Adobe AIR Updater, which is ALSO not included in the SDK runtime, +causing the binary to fail and hang. To avoid this you're going to have to +manually accept the EULA. + +Warning: By creating the following file you are most likely accepting the +[Adobe AIR End User License Agreement](http://www.adobe.com/products/eulas/air_eula.html). +Make sure to read this agreement, and do not perform this work-around if you do +not agree with it. + + +To manually accept the EULA, use this command: + + echo -n 2 > ~/.appdata/Adobe/AIR/eulaAccepted + +After this, you should clear the check and the binary should run normally. + +--- + +This information has been shamelessly copied from this page: +https://wiki.archlinux.org/index.php/Adobe_AIR + +Content is available under GNU Free Documentation License 1.3 or later unless +otherwise noted. diff -r e97a0707db43 -r 14117b014af6 adobe-air-sdk/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/adobe-air-sdk/receipt Sat Nov 12 20:54:25 2016 +0200 @@ -0,0 +1,40 @@ +# SliTaz package receipt. + +PACKAGE="adobe-air-sdk" +VERSION="2.6" +CATEGORY="non-free" +SHORT_DESC="Adobe Air Software Development Kit and Runtime Environment" +MAINTAINER="al.bobylev@gmail.com" +LICENSE="custom" +WEB_SITE="http://get.adobe.com/air" +TARBALL="$PACKAGE-$VERSION.tar.bz2" +WGET_URL="http://airdownload.adobe.com/air/lin/download/$VERSION/AdobeAIRSDK.tbz2" + +DEPENDS="nss gtk+ libxslt" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p \ + $fs/opt/$PACKAGE \ + $fs/usr/share/licenses/$PACKAGE \ + $fs/usr/share/doc/$PACKAGE + cp -a $src/* $fs/opt/$PACKAGE + ln -s "../../../../opt/$PACKAGE/AIR SDK license.pdf" $fs/usr/share/licenses/$PACKAGE + ln -s "../../../../opt/$PACKAGE/AIR SDK Readme.txt" $fs/usr/share/doc/$PACKAGE + ln -s "../../../../opt/$PACKAGE/samples" $fs/usr/share/doc/$PACKAGE + ln -s "../../../../opt/$PACKAGE/templates" $fs/usr/share/doc/$PACKAGE +} + +post_install() +{ + cat >> $1/etc/profile <