Adobe AIR 1.5ã®ã¤ã³ã¹ãã¼ã«(æºåã¨ã¤ã³ã¹ãã¼ã©é¢ä¿)
(2015/1/8)GNU/Linuxåãã®Adobe AIRã¯å»æ¢ãããæ¬è¨äºã®å 容ãå¤ãå 容ã¨ãªã£ã¦ããã
Adobe社ãæä¾ããAIR(Adobe Integrated Runtime)ã¨ããã©ã³ã¿ã¤ã ããã±ã¼ã¸ãå©ç¨ãããAIRã¢ããªã±ã¼ã·ã§ã³ãã§ã¯ãæ¢åã®Webæè¡ãç¹ã交ããã¯ãã¹ãã©ãããã©ã¼ã ãªãã¹ã¯ãããã¢ããªã±ã¼ã·ã§ã³ãä½æãããã¨ãã§ããã
ãã®ã©ã³ã¿ã¤ã ã¨éçºãã¼ã«(SDK)ã2008å¹´12æã«GNU/Linuxã«å¯¾å¿ããè²ã
ãªAIRã¢ããªã±ã¼ã·ã§ã³ãGNU/Linux(ã®å
ãç¹å®ã®ã¢ã¼ããã¯ãã£ä¸)ã§å®è¡ã§ããããã«ãªã£ã¦ããã
対å¿ã¢ã¼ããã¯ãã£ã¨å¿ é ããã±ã¼ã¸
2009/1/5ã®æç¹ã§ã¯ãGNU/LinuxçAIRã¯x86_32çã®ã¿ã®æä¾ã¨ãªã£ã¦ãããx86_64çã®GNU/Linuxä¸ã§ã¯ãå¿ è¦ãªããã±ã¼ã¸ã«ã¤ãã¦x86_32çã®ãã®ãç¨æãããã¨ã§å©ç¨ãå¯è½ã¨ãªããæä½éå¿ è¦ãªããã±ã¼ã¸ã¯æ£ç¢ºã«ã¯åãããªãããx86_32çã®GTK+ 2(Mandriva Linux 2009.0ã§ã¯ãlibgtk+2.0_0ã)ã¨libnss3ã¯ç¢ºå®ã«å¿ è¦ãããã ãã§ã¯ã¤ã³ã¹ãã¼ã©ã®ã¦ã£ã³ãã¦ãåºããã¤ã³ã¹ãã¼ã©ãèµ·åãã端æ«ã¯æä½ã§ããªã(åä½ã¯ãã¦ãã)ã¨ããç¶æ ã«ãªããã¨ãããããx86_32çXULRunner(Mandriva Linux 2009.0ã§ã¯ããã±ã¼ã¸åãlibxulrunner1.9ã)ã¾ã§å ¥ããã¨åä½ããã
ãã®ä»ãRPMããã±ã¼ã¸ãä½æããããã®ããã±ã¼ã¸ãrpm-buildããå¿ è¦ãããããªãã¨
ã管çè ã«ãã£ã¦ã¤ã³ã¹ãã¼ã«ãç¦æ¢...ãã®ã¨ã©ã¼ã«ãªã£ãã
æ´ã«ãä¸è¬ã¦ã¼ã¶ã§ã°ã©ãã£ã«ã«ãã°ã¤ã³ãã¦ããç¶æ ã§ã¤ã³ã¹ãã¼ã«ãããå ´åããgksuãã®ããã±ã¼ã¸ãå¿ è¦ãx86_64çMandriva Linuxã§ã¯ãx86_64版Mandriva Linuxにおいてgksuが使えない問題とその対処ãã®åé¡ããããããä¿®æ£ãå¿ è¦ã
ä¸æ¹ãx86_64çã®Ubuntu Intrepid(8.10)ã§è©¦ããã¨ããã.binãã¡ã¤ã«ãå®è¡å¯è½ã«ãã¦ããã¾ãå®è¡ãããã端æ«ããå®è¡ãã¦ã¿ãã¨
$ ./AdobeAIRInstaller.bin bash: ./AdobeAIRInstaller.bin: No such file or directory
ã¨ãªã£ã¦ãã¾ã£ãã
ããã ãã§ã¯ã©ããã¦ããã®ãåãããªãã£ãããx86_32çå種ã©ã¤ãã©ãªãæä¾ãããia32-libsãããã±ã¼ã¸ãã¤ã³ã¹ãã¼ã«ããã¨ããããã®åé¡ã¯è§£æ±ºããAIRã®ã¤ã³ã¹ãã¼ã«ãæå¾ã¾ã§è¡ãããããã ãã§ã¤ã³ã¹ãã¼ã«ã§ãã¦ãã¾ã£ãã®ãé©ãã ã
http://web.archive.org/web/20090122062413/http://kb.adobe.com/selfservice/viewContent.do?externalId=kb408084
ãªã©ãè¦ãã¨ãéå»ã®OSãã¼ã¸ã§ã³ã§ã¯é¢åã ã£ãã®ãããããªãããã®ãia32-libsãã¨ããä¸æ岩çãªããã±ã¼ã¸ã¯ãå¿
è¦ãªx86_32çããã±ã¼ã¸ãä¸ã«å«ã¾ãã¦ããªãã¨é常ã«åä»ãªã®ã ããAIRã¯ä½¿ããããã§å®å¿ãUbuntu 8.10ã®æç¹ã§ã¯ãia32-libsãã«ã¯SDLãlibgladeãQt4ãJACKã®ã©ã¤ãã©ãªãALSAã®PulseAudioãã©ã°ã¤ã³ãªã©ããããåæãã¯å
å®ãã¦ãã¦ããããgtkglextãªã©ãå
¥ã£ã¦ããªããã®ãããã*1
ãªããx86_64çDebian/Ubuntuã§ã¯ãAIRã¢ããªã±ã¼ã·ã§ã³ã®ã¤ã³ã¹ãã¼ã«ããã®ã¾ã¾ã§ã¯æ£å¸¸ã«åä½ããªãã対å¦æ¹æ³ã¯別記事ã§æ±ãã
ã¤ã³ã¹ãã¼ã©ã«ã¤ãã¦
å
¬å¼ãµã¤ããããã¦ã³ãã¼ããããã¡ã¤ã«AdobeAIRInstaller.binã¯ç¬èªã®ã¤ã³ã¹ãã¼ã©ã«ãªã£ã¦ãã¦ãä¸è¬ã¦ã¼ã¶ã§å®è¡ããå ´åãgksuã使ç¨ããã¦ç®¡çè
ã¨ãã¦èªè¨¼å¾ã¤ã³ã¹ãã¼ã«ãããã
æåã®ãã¤ã¢ãã°ã»ä½¿ç¨è¨±è«¾å¥ç´æ¸
ã¤ã³ã¹ãã¼ã«ä¸
ã¤ã³ã¹ãã¼ã«å®äº
ãã®ã¤ã³ã¹ãã¼ã©ã§ã¯RPMãdebã¨ããããã±ã¼ã¸ç®¡çã·ã¹ãã ã使ç¨ãã¦ãã¦ãRPMãããã¯debå½¢å¼ãããã±ã¼ã¸ç®¡çã·ã¹ãã ã«ç¨ãã¦ããªããã£ã¹ããªã§ã¯ã¤ã³ã¹ãã¼ã«ã§ããªãããã ããå¥ã®æ¹æ³ã§AIRã¢ããªã±ã¼ã·ã§ã³ã®å®è¡ããããã¨ã¯å¯è½ã§ã詳ããã¯別記事ã«ã¦æ±ãã
ä¸æãã£ã¬ã¯ããªãããã¡ã¤ã«ãåãåºãã¦é ç½®ãã¦ã¿ããã¹ã
ãã®ãã¡ã¤ã«ã¯/tmp/ã®ä¸ã®ãã£ã¬ã¯ããª(air-xxxxxx)ã«å 容ãå±éããã®ã ãããããããã¡ã¤ã«ãåãåºãã¦é ç½®ãã¦ããæ£å¸¸ã«åããªããã¡ã¤ã«(å¾è¿°)ããã£ãããã®å®é¨ãè¡ã£ã¦ããã¨ãã«ä½æããã®ã以ä¸ã®ã¹ã¯ãªããã§ãã¤ã³ã¹ãã¼ã©ãèµ·åããå¾ãæåã®ãã¤ã¢ãã°ãåºã¦ããã¨ãã«å®è¡ããã¨/tmp/air15.tar.bz2ã«ã¾ã¨ãã(ãã£ã¬ã¯ããªæ§æãæ£ç¢ºã«åç¾ãããã®ã§ã¯ãªã)ã#! /bin/sh OUTFILE=/tmp/air15.tar.bz2 PREFIX=/usr if [ -d /usr/lib32 ]; then # x86_64 Debian/Ubuntu/Gentoo etc. LIB=lib32 else LIB=lib fi if [ $(ls -ld /tmp/air.* | wc -l) -ne 1 ]; then die "number of tempdirs must be 1." fi D=/tmp/air15-d S=$(ls -d /tmp/air.*) cd "${S}/" rm "${D}" -fr mkdir "${D}/"{etc,opt} "${D}/${PREFIX}/"{bin,${LIB}} "${D}/${PREFIX}/share/"{applications,mime/packages} -p cp -a "${S}/Certs/etc/opt" "${D}/etc/" cp -a "${S}/Certs/usr/bin/aucm" "${D}/${PREFIX}/bin/" cp -a "${S}/Certs/usr/lib/libadobecertstore.so" "${D}/${PREFIX}/${LIB}/" mkdir "${D}/var/opt/Adobe AIR/Shared/Adobe/AIR/Updater/" -p for x in 16 22 24 32 48 64 128; do mkdir "${D}/${PREFIX}/share/icons/hicolor/${x}x${x}" "${D}/${PREFIX}/share/icons/gnome/${x}x${x}/mimetypes/" -p cp -a "${S}/build/opt/Adobe AIR/Versions/1.0/Resources/support/icons/${x}x${x}/"*.png "${D}/${PREFIX}/share/icons/hicolor/${x}x${x}/" cp -a "${S}/build/opt/Adobe AIR/Versions/1.0/Resources/support/icons/${x}x${x}/"*.png "${D}/${PREFIX}/share/icons/gnome/${x}x${x}/" cp -a "${S}/build/opt/Adobe AIR/Versions/1.0/Resources/support/icons/${x}x${x}/"/air.png "${D}/${PREFIX}/share/icons/gnome/${x}x${x}/mimetypes/gnome-mime-application-vnd.adobe.air-application-installer-package+zip.png" done cp -a "${S}/build/opt/Adobe AIR/Versions/1.0/Resources/support/AdobeAIR.desktop" "${D}/${PREFIX}/share/applications/AdobeAIR-application-vnd.adobe.air-application-installer-package+zip.desktop" cp -a "${S}/build/opt/Adobe AIR/Versions/1.0/Resources/support/AdobeAIR.xml" "${D}/${PREFIX}/share/mime/packages/" cp -a "${S}/build/opt/Adobe AIR/" "${D}/opt/" rm "${D}/opt/Adobe AIR/Versions/1.0/Resources/support/" -fr cd "${D}/" rm "${OUTFILE}" -f tar jcvf "${OUTFILE}" --owner=root --group=root . rm "${D}" -fr
ä¸è¨ã¹ã¯ãªããã§ã¾ã¨ãããã¡ã¤ã«ãå±éããã ãã§åããªãã£ããã¡ã¤ã«ã¨ããã®ã¯/opt/Adobe AIR/Versions/1.0/airappinstallerã§ã端æ«ã«ã¯
unexpected error: TypeError: Error #1009
ã¨åºã¦ãããã¤ã³ã¹ãã¼ã©ã使ç¨ãã¦æ£å¸¸ã«åä½ããç¶æ
ãä½ããè²ã
試ãã¦ã¿ãã¨ããããã®/opt/Adobe AIR/Versions/1.0/airappinstallerã¯(Mandrivaä¸ã§ã¯)/var/lib/rpm/以ä¸ã®ãã¼ã¿ãã¼ã¹ãã¡ã¤ã«ãéãã¦ãã?ããã§ãã¤ã³ã¹ãã¼ã©ã«ãã£ã¦AIRãã¤ã³ã¹ãã¼ã«ããå¾ã®ç¶æ
ã®ãã¼ã¿ãã¼ã¹ãããã°èµ·åããããå
¥ã£ã¦ããªãç¶æ
ã®ãã¼ã¿ãã¼ã¹ã§èµ·åãããããã®ãã£ã¬ã¯ããªã®ãã¡ã¤ã«ãååå¤æ´ããã¨ãError #1009ãã§è½ã¡ãããã ãã¨ããããã§ãããã±ã¼ã¸ç®¡çã·ã¹ãã ã¾ã§æ·±ãå
¥ãè¾¼ãã§ãããã¨ãåãã£ããããã¤ã³ã¹ãã¼ã©ãç´æ¥ä½¿ç¨ããªãã¤ã³ã¹ãã¼ã«æ¹æ³ã§AIRã¢ããªã±ã¼ã·ã§ã³ã®ã¤ã³ã¹ãã¼ã©ã使ç¨ãããã¨ã¯ããªãå°é£ã¨æããã(ãªãã¦ãå®éã«ã¯ãã¾ãå°ããªã?)ã
AIRã¯ãã£ã¹ããªã«ãã£ã¦ã¯ä½ã®åé¡ããªãã¤ã³ã¹ãã¼ã«ã§ã(Mandriva 2009.0ã¨Ubuntu 8.10ã»ã¨ãã«x86_64ç)ãã¢ã³ã¤ã³ã¹ãã¼ã«ããã¡ãã¥ã¼(ãã¢ã¯ã»ãµãªããããã¼ã«ã)ã®ãAdobe AIR Uninstallerã(ä¸è¬ã¦ã¼ã¶ã§ã¯ã¤ã³ã¹ãã¼ã«æã¨åæ§ã«gksuã使ç¨ããã)ã
$ sudo "/opt/Adobe AIR/Versions/1.0/Resources/Adobe AIR Updater" -arp:uninstall
ãªã©ã§è¡ããã®ã ããçµæ§åä»ãªã¤ã³ã¹ãã¼ã©ã¨ããå°è±¡ã