Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Adobe AIR SDK Ebuild for Pandora Desktop
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
Covracer
n00b
n00b


Joined: 25 Jun 2004
Posts: 45
Location: Blacksburg, Virginia

PostPosted: Sat Jun 07, 2008 2:21 pm    Post subject: Adobe AIR SDK Ebuild for Pandora Desktop Reply with quote

I wrote a quick ebuild for the Adobe AIR SDK for Linux alpha, with an eye on getting the Pandora desktop AIR runtime working.

/usr/local/portage/dev-util/air-sdk/air-sdk-033108_alpha.ebuild:
Code:

MY_P="adobeair_linux_sdk_a1_033108"

DESCRIPTION="Adobe AIR runtime and development kit for Linux"
HOMEPAGE="http://labs.adobe.com/technologies/air/"
SRC_URI="http://download.macromedia.com/pub/labs/air/linux/${MY_P}.tbz2"

LICENSE="AdobeAIR"
SLOT="0"
KEYWORDS="~x86"
IUSE=""

RESTRICT="fetch strip"

pkg_nofetch() {
   einfo "Pleave visit http://labs.adobe.com/downloads/air_linux.html"
   einfo "and download ${A} into ${DISTDIR}."
}

src_install() {
   insinto /opt/${PN}    insinto /opt/${PN}
   doins -r frameworks lib Readme.txt runtime samples SDK\ license.pdf src templates || die "doins failed."
   dodir /opt/${PN}/bin || die "dodir bin failed."
   exeinto /opt/${PN}/bin
   doexe bin/adl || die "doexe failed."
   doexe bin/adt || die "doexe failed."
   dosym /opt/${PN}/bin/adl /usr/bin/ || die "dosym failed."
   dosym /opt/${PN}/bin/adt /usr/bin/ || die "dosym failed."

}


[Edited: Previously posted version did not have correct permissions.]
Back to top
View user's profile Send private message
Covracer
n00b
n00b


Joined: 25 Jun 2004
Posts: 45
Location: Blacksburg, Virginia

PostPosted: Sat Jun 07, 2008 3:11 pm    Post subject: Fail Reply with quote

I have not gotten it completely working, but following the instructions in this post on Adobe AIR, I was able to get the application launched. Here is my command-line output:
Code:
$ adl pandora/META-INF/AIR/application.xml pandora
using homepage http://www.pandora.com/
TypeError: Null value
app:/javascript/main.js, line 34
app:/javascript/main.js, line 34
app:/javascript/main.js, line 34
app:/javascript/main.js, line 34
app:/javascript/main.js, line 34
undefined
   at flash.events::EventDispatcher/dispatchEventFunction()
   at flash.events::EventDispatcher/dispatchEvent()
   at <anonymous>()
   at Array$/_forEach()
   at <anonymous>()
   at <anonymous>()
   at flash.utils::Timer/_timerDispatch()
   at flash.utils::Timer/tick()
TypeError: Null value
app:/javascript/main.js, line 34
app:/javascript/main.js, line 34
app:/javascript/main.js, line 34
app:/javascript/main.js, line 34
app:/javascript/main.js, line 34
TypeError: Null value
app:/javascript/main.js, line 466
app:/javascript/main.js, line 466
app:/javascript/main.js, line 466
app:/javascript/main.js, line 448
undefined

TypeError: Null value
app:/javascript/main.js, line 466
app:/javascript/main.js, line 466
app:/javascript/main.js, line 466
app:/javascript/main.js, line 448
using homepage http://www.pandora.com/


The page appeared but the player widget never did.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum