Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 211009 Details for
Bug 267555
dev-libs/adobe-air-sdk-bin: Adobe AIR SDK on Gentoo
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
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 (text/plain), 2.52 KB, created by
Rajat Vig
on 2009-11-23 19:28:41 UTC
(
hide
)
Description:
New Ebuild to extract files in a Temp Location and run the AIR App from there
Filename:
MIME Type:
Creator:
Rajat Vig
Created:
2009-11-23 19:28:41 UTC
Size:
2.52 KB
patch
obsolete
># Copyright 1999-2009 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >inherit multilib > >DESCRIPTION="Adobe AIR SDK" >HOMEPAGE="http://www.adobe.com/products/air/tools/sdk/" >SRC_URI="http://airdownload.adobe.com/air/lin/download/latest/AdobeAIRSDK.tbz2" >RESTRICT="fetch" > >LICENSE="AdobeAirSDK" >SLOT="0" >KEYWORDS="~amd64 ~x86" >IUSE="" > >DEPEND="=dev-libs/nss-3* > =dev-libs/nspr-4*" > >pkg_nofetch() { > einfo "Please go to ${HOMEPAGE}, read and accept the EULA and download" > einfo "Adobe AIR Software Development Kit for Linux" > einfo "Place the file AdobeAIRSDK.tbz2 in ${DISTDIR}." > echo > einfo "New versions of Adobe AIR will break the ebuild (i.e. the version" > einfo "number will be wrong)" >} > >src_install() { > AIR_BASE="/opt/Adobe/AirSDK" > insinto ${AIR_BASE} > ebegin "Removing broken symlinks" > rm runtimes/air/linux/Adobe\ AIR/Versions/1.0/Resources/nss3/0d/* > rm runtimes/air/linux/Adobe\ AIR/Versions/1.0/Resources/nss3/1d/* > rm runtimes/air/linux/Adobe\ AIR/Versions/1.0/Resources/nss3/None/* > eend > ebegin "Setting sane permissions to files" > find -type f -exec chmod 0644 {} \; > find -type d -exec chmod 0755 {} \; > eend > > doins -r * > dodir ${APP_BASE} > > ebegin "Re-setting execute permissions" > fperms 0755 ${AIR_BASE}/bin/adt > fperms 0755 ${AIR_BASE}/bin/adl > find ${D}/${AIR_BASE} -depth -type f -name "*.so" -exec chmod 0755 {} \; > eend > ebegin "Recreating symlinks" > for dir in 0d 1d None; do > cd ${D}/${AIR_BASE}/runtimes/air/linux/Adobe\ AIR/Versions/1.0/Resources/nss3/$dir > ln -s ${D}/usr/$(get_libdir)/nss/libnss3.so libnss3.so > ln -s ${D}/usr/$(get_libdir)/nss/libsmime3.so libsmime3.so > ln -s ${D}/usr/$(get_libdir)/nss/libssl3.so libssl3.so > ln -s ${D}/usr/$(get_libdir)/nspr/libnspr4.so libnspr4.so > ln -s ${D}/usr/$(get_libdir)/nspr/libplc4.so libplc4.so > ln -s ${D}/usr/$(get_libdir)/nspr/libplds4.so libplds4.so > done > eend > > cat <<- EOF > airstart > #!/bin/bash > # Simple Adobe Air SDK wrapper script to use it as a simple AIR application > # launcher > # By Spider.007 / Sjon > > if [[ -z "\$1" ]] > then > echo "Please supply an .air application as first argument" > exit 1 > fi > > tmpdir=\`mktemp -d /tmp/adobeair.XXXXXXXXXX\` > > echo "adobe-air: Extracting application to directory: \$tmpdir" > mkdir -p \$tmpdir > unzip -q \$1 -d \$tmpdir || exit 1 > > echo "adobe-air: Attempting to start application" > ${AIR_BASE}/bin/adl -nodebug \$tmpdir/META-INF/AIR/application.xml \$tmpdir > > echo "adobe-air: Cleaning up temporary directory" > rm -Rf \$tmpdir && echo "adobe-air: Done" > EOF > > dobin airstart >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 267555
:
189510
|
189512
|
189514
|
189516
|
202323
|
202328
|
211006
| 211009 |
222575
|
222587
|
222591
|
222593
|
222595
|
222597
|
246331
|
250327
|
256190
|
347398