Off-Topic > SCM EXtensions

getFlash11.scm Bug

<< < (5/6) > >>

Jason W:
Ok, to sum up the changes I will make:

1. Make gtk2.scm a dep of getFlash11.scm since it is needed by the end product, and use a flash11.scm.dep that includes gtk2.scm so gtk2.scm will be loaded any time flash11 is loaded.

2.  echo "gtk2.scm" > flash11.scm.dep, a little time away and I forget some of the basics.

3. I don't want to immediately load the updated flash and move files around, as it surpasses the level of complexity I want, and also flash may be running, which would have to be considered.

4. I will add the "> /dev/null 2>&1" to quiet unnecessarily echoed errors.

5. I will add in the exit_red function.

Jason W:
Uploaded, thanks for the feedback.

SamK:

--- Quote from: Jason W on June 22, 2012, 09:32:40 PM ---Uploaded, thanks for the feedback.

--- End quote ---
Removed getFlash11 and flash-11
Installed newest version getFlash11
Built flash11

Unfortunately cannot get the flash content to display in either Firefox or Opera-11.

AbNoRMiS:
oops...
should be added the libraries path /apps/flash11/lib
to export LD_LIBRARY_PATH in all browsers
because otherwise the libraries can not be found

--- Code: ---$ ldd /apps/flash11/share/libflashplayer.so | grep found
libssl3.so => not found
libsmime3.so => not found
libnss3.so => not found
libnssutil3.so => not found
libplds4.so => not found
libplc4.so => not found
libnspr4.so => not found
--- End code ---

or abandon the idea of renaming flash to flash11

--- Code: ---sed -i "s/flash11/flash/g" getflash11.sh
--- End code ---
because otherwise it will need to add library path related to each flash version
for example for flash12 when it will be realized

or need to make dummy lib link

--- Quote ---echo "[ ! -d /apps/flash ] && mkdir -p /apps/flash && ln -s /apps/flash11/lib /apps/flash" >> "$PKG"/config/install
echo "[ -f /usr/lib/libflashsupport.so ] || ln -s /apps/flash11/share/libflashsupport.so /usr/lib/libflashsupport.so" >> "$PKG"/config/install
 echo "[ -d /usr/local/lib/mozilla/plugins ] || mkdir -p /usr/local/lib/mozilla/plugins" >> "$PKG"/config/install
echo "ln -s  /apps/flash11/share/libflashplayer.so /usr/local/lib/mozilla/plugins/" >> "$PKG"/config/install
echo "## Support mozillas that do not have /usr/local/lib/mozilla plugins specified as a plugin dir." >> "$PKG"/config/install
echo "[ -d /usr/lib/mozilla ] || mkdir -p /usr/lib/mozilla" >> "$PKG"/config/install
echo "[ -e /usr/lib/mozilla/plugins ] || ln -s /usr/local/lib/mozilla/plugins /usr/lib/mozilla/plugins" >> "$PKG"/config/install
echo "##" >> "$PKG"/config/install
--- End quote ---
that looks not very "aesthetically" :) in terms of self-contained modules

and it would be right if add to the end of getflash11.sh the next rows

--- Code: ---read -sp "${WHITE}Press any key to exit...${NORMAL}" -n1 -t15
echo
--- End code ---
to enable the user could see the latest shown report about installing or upgrading flash

p.s.
forgot to remove folder /apps/getFlash11/share/files with flash11.scm.dep from getFlash11.scm
and fix getFlash11.sh to lower case getflash11.sh in the getFlash11.scm.info

Jason W:
Ok, renaming back to flash from flash11 to keep library paths sane in browsers.  The latest flash is assumed, regardless of version 11, 12, etc, if folks want other flash than current major version they can get it from adobe.

Will remove the unneeded dep file inside the extension and fix typos in the info file.





Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version