Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sun 26 Oct 2014, 01:33
All times are UTC - 4
 Forum index » Advanced Topics » Cutting edge
adobe flashlite plugin to replace flashplayer?
Moderators: Flash, Ian, JohnMurga
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 2 Posts_count   Goto page: 1, 2 Next
Author Message
technosaurus


Joined: 18 May 2008
Posts: 4353

PostPosted: Sat 21 Aug 2010, 02:12    Post_subject:  adobe flashlite plugin to replace flashplayer?
Sub_title: porting flashlite plugin to Puppy
 

Has anyone ported flashlite yet ... in any distro?

sounds perfect for Puppy (requirements are 300mhz and 128mb ram)
more info here:
http://www.adobe.com/devnet/devices/digital_home/flash_lite_digital_home_getting_started.pdf
the only requirements are:
to build - 2.6 kernel, gcc, binutils, make
to run - gnu-libc OR uclibc

I would be willing to work on the porting/packaging but we may need Barry to sign up for the license agreement..

There is more info here:
http://www.adobe.com/devnet/devices/digital_home/optimizing_flash_lite_digital_home.pdf

(p.s. flash is the only reason I haven't attempted an entire uclibc build yet)

_________________
Web Programming - Pet Packaging 100 & 101
Back to top
View user's profile Send_private_message 
chrome307


Joined: 15 Jan 2009
Posts: 713

PostPosted: Sat 21 Aug 2010, 06:13    Post_subject:  

I haven't tried it, but it sounds great.

Just read the wiki entry and it looks useful.

http://en.wikipedia.org/wiki/Adobe_Flash_Lite
Back to top
View user's profile Send_private_message 
technosaurus


Joined: 18 May 2008
Posts: 4353

PostPosted: Sat 21 Aug 2010, 19:31    Post_subject:  

I haven't signed up for it yet so I have hacked an older version of flash to work with youtube and the pet less than 1MB. ... stupid web sites just check the version number and most don't really NEED flash X.X

the latest flashplayer7 seemed to be a good starting point (the last version to work on gtk1 firefox/seamonkey)

Code:
strings libflashplayer.so | grep -e "^Shockwave Flash [.\d+]*" | sed -e "s/Shockwave Flash //g"

gives me 7.0 r73
so i did this
Code:
cat libflashplayer.so |sed -e "s/7.0 r73/10.1 r9/g" >/usr/lib/mozilla/plugins/libflashplayer.so

I would have done 10.1 rXX but it made things crash (global offset table probably got shifted, but it didn't work with 10.1 r9 either so???)
flashsupport-0.0.pet
Description  probably not needed (I haven't), but some ubuntu users needed it back in the flash7 days, so I compiled it just in case
pet

 Download 
Filename  flashsupport-0.0.pet 
Filesize  3.34 KB 
Downloaded  497 Time(s) 

_________________
Web Programming - Pet Packaging 100 & 101

Edited_time_total
Back to top
View user's profile Send_private_message 
aarf

Joined: 30 Aug 2007
Posts: 3620
Location: around the bend

PostPosted: Sat 21 Aug 2010, 22:05    Post_subject:  

technosaurus wrote:
I haven't signed up for it yet so I have hacked an older version of flash to work with youtube and the pet less than 1MB. ... stupid web sites just check the version number and most don't really NEED flash X.X

the latest flashplayer7 seemed to be a good starting point (the last version to work on gtk1 firefox/seamonkey)

Code:
strings libflashplayer.so | grep -e "^Shockwave Flash [.\d+]*" | sed -e "s/Shockwave Flash //g"

gives me 7.0 r73
so i did this
Code:
cat libflashplayer.so |sed -e "s/7.0 r73/9.0 r99/g" >/usr/lib/mozilla/plugins/libflashplayer.so

I would have done 10.1 rXX but it made things crash (global offset table probably got shifted, but it didn't work with 10.1 r9 either so???)

the main flash upgrade reason is security. can you guarantee something made with a flash 7 is secure when flash is now as you mention 10.1xx ?

_________________

ASUS EeePC Flare series 1025C 4x Intel Atom N2800 @ 1.86GHz RAM 2063MB 800x600p ATA 320G
_-¤-_

<º))))><.¸¸.•´¯`•.#.•´¯`•.¸¸. ><((((º>
Back to top
View user's profile Send_private_message Visit_website 
technosaurus


Joined: 18 May 2008
Posts: 4353

PostPosted: Sat 21 Aug 2010, 23:21    Post_subject:  

I don't think anyone can guarantee security - even with 10.1r999+ and beyond

It's all a balancing act...
but less lines of code (1/6th the size) and less dependencies (see below) - the chances of an exploitable bug are smaller (less code to be buggy)
many holes are introduced with new features
99%+ of users update to the latest version so those are the bugs that will typically be exploited (security through obscurity)
it is the latest release of that major version so it should be fairly stable

that being said - always use any software at your own risk

One should also consider possible security holes in dependencies
    dependencies-7.0
    libc.so.6, libdl.so.2, libICE.so.6, libm.so.6, libpthread.so.0, libSM.so.6, libX11.so.6, libXau.so.6, libXdmcp.so.6, libXext.so.6, libXmu.so.6, libXt.so.6, linux-gate.so.1

    dependencies 10.1
    libatk-1.0.so.0, libcairo.so.2, libc.so.6, libdl.so.2, libexpat.so.1, libfontconfig.so.1, libfreetype.so.6, libgdk_pixbuf-2.0.so.0, libgdk-x11-2.0.so.0, libgio-2.0.so.0, libglib-2.0.so.0, libgmodule-2.0.so.0, libgobject-2.0.so.0, libgtk-x11-2.0.so.0, libICE.so.6, libm.so.6, libnspr4.so, libnss3.so, libnssutil3.so, libpango-1.0.so.0, libpangocairo-1.0.so.0, libpangoft2-1.0.so.0, libpcre.so.0, libpixman-1.so.0, libplc4.so, libplds4.so, libpng12.so.0, libpthread.so.0, libsmime3.so, libSM.so.6, libssl3.so, libX11.so.6, libXau.so.6, libXcursor.so.1, libXdmcp.so.6, libXext.so.6, libXfixes.so.3, libXinerama.so.1, libXi.so.6, libXrandr.so.2, libXrender.so.1, libXt.so.6, libz.so.1, linux-gate.so.1

_________________
Web Programming - Pet Packaging 100 & 101
Back to top
View user's profile Send_private_message 
technosaurus


Joined: 18 May 2008
Posts: 4353

PostPosted: Sun 22 Aug 2010, 00:37    Post_subject:  

this script will install/modify libflashplayer.so then delete the unneeded parts of the large download when finished (in case anyone has redistribution concerns)
Code:
#!/bin/sh
wget -c http://fpdownload.macromedia.com/get/flashplayer/installers/archive/fp7_archive.zip
unzip fp7_archive.zip
tar -xf fp7_archive/r73/install_flash_player_7_linux_r73.tar.gz
cat install_flash_player_7_linux/libflashplayer.so |sed -e "s/7.0 r73/9.0 r99/g" >/usr/lib/mozilla/plugins/libflashplayer.so
rm -rf fp7_archive.zip install_flash_player_7_linux_r73.tar.gz install_flash_player_7_linux fp7_archive

_________________
Web Programming - Pet Packaging 100 & 101
Back to top
View user's profile Send_private_message 
raffy

Joined: 25 May 2005
Posts: 4779
Location: Manila

PostPosted: Sun 22 Aug 2010, 18:04    Post_subject: older versions  

Thanks for the new info. Now it looks like older PCs are getting better chances for running Flash.

Is it possible to build this in Puppy Linux versions 2.13-2.16 (they have the same kernel, 2.6.1Cool?

_________________
Puppy user since Oct 2004. Want FreeOffice? Get the sfs (English only).
Back to top
View user's profile Send_private_message 
sc0ttman


Joined: 16 Sep 2009
Posts: 2385
Location: UK

PostPosted: Mon 23 Aug 2010, 05:21    Post_subject:  

I tried this on TurboPup with Firefox 2 and 3.6, but couldnt get any flash videos to work, although flash games worked fine, nice and quick.

I couldnt get any videos on youtube to work.. Any ideas or advice?
I'd love to use this version...

_________________
Akita Linux, VLC-GTK, Pup Search, Pup File Search
Back to top
View user's profile Send_private_message 
technosaurus


Joined: 18 May 2008
Posts: 4353

PostPosted: Mon 23 Aug 2010, 07:57    Post_subject:  

try this fixed method instead (more than half of youtube videos worked)
Code:
#!/bin/sh
wget -c http://fpdownload.macromedia.com/get/flashplayer/installers/archive/fp7_archive.zip
unzip fp7_archive.zip
tar -xf fp7_archive/r73/install_flash_player_7_linux_r73.tar.gz
cat install_flash_player_7_linux/libflashplayer.so |sed -e "s/7.0 r73/10.1 r9/g" >/usr/lib/mozilla/plugins/libflashplayer.so
rm -rf fp7_archive.zip install_flash_player_7_linux_r73.tar.gz install_flash_player_7_linux fp7_archive


or if you already did the previous 9.0 r99 example try:
Code:
cp /usr/lib/mozilla/plugins/libflashplayer.so ./
cat libflashplayer.so |sed -e "s/9.0 r99/10.1 r9/g" >/usr/lib/mozilla/plugins/libflashplayer.so


p.s. the same concept works for flash9 and its <8mb compared to >12mb for flash10.1

here is my latest full version of the downloader:

Code:
#!/bin/sh
case $1 in
--help)echo "   options are:
7  for smallest size and dependencies,
9  for medium size and fewer dependencies
10 for latest version
   no options will bring up an xdialog"
;;

#download all flash7 & fake latest as 10.1 r9
7)wget -c http://fpdownload.macromedia.com/get/flashplayer/installers/archive/fp7_archive.zip
unzip fp7_archive.zip
tar -xf fp7_archive/r73/install_flash_player_7_linux_r73.tar.gz
cat install_flash_player_7_linux/libflashplayer.so |sed -e "s/7.0 r73/10.1 r9/g" >/usr/lib/mozilla/plugins/libflashplayer.so
rm -rf fp7_archive.zip install_flash_player_7_linux_r73.tar.gz install_flash_player_7_linux fp7_archive
Xdialog --no-buttons --infobox "flash7 installed as flash10.1" 0 0 5000
;;

#download latest flash9 & fake install as 10.1 r99
9)wget -c http://download.macromedia.com/pub/flashplayer/installers/current/9/install_flash_player_9.tar.gz
tar -xf install_flash_player_9.tar.gz
VER=`strings libflashplayer.so | grep -e "^Shockwave Flash [.\d+]*" | sed -e "s/Shockwave Flash //g"`
cat libflashplayer.so |sed -e "s/$VER/10.1 r99/g" >/usr/lib/mozilla/plugins/libflashplayer.so
rm -f libflashplayer.so install_flash_player_9.tar.gz
Xdialog --no-buttons --infobox "flash9 installed as flash10.1" 0 0 5000
;;

#download and install latest flash
10)wget -c http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player_10_linux.tar.gz
tar -xf install_flash_player_10_linux.tar.gz
mv -f libflashplayer.so /usr/lib/mozilla/plugins/libflashplayer.so
rm -f install_flash_player_10_linux.tar.gz
Xdialog --no-buttons --infobox "latest flash installed" 0 0 5000
;;
*)$0 `Xdialog --stdout --no-tags --radiolist "Select a flash version to install:" 0 0 3 10 flash-latest=12mb off 9 flash-9.0rXXX=8mb ON 7 flash-7r73=2mb off`;;
esac

_________________
Web Programming - Pet Packaging 100 & 101
Back to top
View user's profile Send_private_message 
DaveS


Joined: 09 Oct 2008
Posts: 3726
Location: UK

PostPosted: Mon 23 Aug 2010, 08:09    Post_subject:  

I dont know if I am understanding this correctly but it seems you created a small flashplayer and want us to test it? Anyways, I swapped it out with libflashplayer.so in Quirky, and this site plays just fine..
http://livecam.courchevel.com/index.php?langue=2 but cannot be displayed full screen. It can with later versions. BELAY that... full screen works after re-boot .................

Also BBC iPlayer fine, which can be a bit of a bugger sometimes

_________________
Spup Frugal HD and USB
Root forever!
Back to top
View user's profile Send_private_message 
technosaurus


Joined: 18 May 2008
Posts: 4353

PostPosted: Mon 23 Aug 2010, 10:19    Post_subject:  

Dave - that is actually a bug in jwm - I have a patched version from Patriot that allows older versions than flash10 to work fullscreen (as well as some other programs)..... or you can use icewm, openbox (lxde) etc...

fyi - flash9 is still being updated and I posted a "getflash" script on the pupngo thread that lets you choose between:
    flash7.X (2mb with less dependencies than jwm and the only one that works with non-gtk2 browsers - although it is the smallest installed size, it is the largest download because it is only kept in a large archive of all flash7 plugins)
    flash9.X (8mb with roughly same dependencies as ROX, but no mozilla libs, and since it is still being updated, it is a good choice for webkit based browsers)
    flash10.X (12mb with roughly the same depend as gtk2 mozilla browsers + some support for hardware acceleration)


I wonder if it is possible to set up something in a proxy so that if one gets directed to adobe's getflash page, it would instead bring up a local page telling you to use "getflash"

_________________
Web Programming - Pet Packaging 100 & 101
Back to top
View user's profile Send_private_message 
esmourguit


Joined: 17 Nov 2006
Posts: 1288
Location: Sur l'ile aux oiseaux.

PostPosted: Fri 27 Aug 2010, 10:03    Post_subject:  

Bonjour à tous,

I do not know if that would help.
Test in Quirky 1.20 CD install, no pupsave.
I replaced the pristine libflashplayer.so by your hacked libflashplayer.so, but could not play any video.
Then i replaced by the libflashplayer.so from Puppy 2.17 (6876KB, 12-15-2006) and all went well.

Cordialement Wink

_________________
Toutou Linux - Pets francisés
Back to top
View user's profile Send_private_message 
technosaurus


Joined: 18 May 2008
Posts: 4353

PostPosted: Fri 27 Aug 2010, 10:19    Post_subject:  

I have only had some success with video with the flash7 version, but it is the only one that will work with the older gtk1.2 versions of seamonkey and firefox. It works a little better now that I figured out how to get flash7 to say it is 10.1 instead of 9.0 and I also added methods for installing the other versions (in case someone wants to include something like this in an all-free version of puppy - I also made a script to download skype-static and turn it into a rox appdir)

TODO: add Barry's swfdec pet and compile gnash, lightspark (others?) as alternative options, but need to do some testing to see if they can coexist

Here is an updated download/fix script:

Code:
#!/bin/sh
PREFIX=/usr
PLUGINDIR=$PREFIX/lib/mozilla/plugins
mkdir -p $PLUGINDIR
NEWVER="10.1 r"
case $1 in
--help)echo "   options are:
7  for smallest size and dependencies,
9  for medium size and fewer dependencies
10 for latest version
f  fix existing
   no options will bring up an xdialog"
;;

#download all flash7 & fake latest as 10.1 r9
7)wget -c http://fpdownload.macromedia.com/get/flashplayer/installers/archive/fp7_archive.zip
unzip fp7_archive.zip
tar -xf fp7_archive/r73/install_flash_player_7_linux_r73.tar.gz
cat install_flash_player_7_linux/libflashplayer.so |sed -e "s/7.0 r73/10.1 r9/g" >$PLUGINDIR/libflashplayer.so
rm -rf fp7_archive.zip install_flash_player_7_linux_r73.tar.gz install_flash_player_7_linux fp7_archive
Xdialog --no-buttons --infobox "flash7 installed as flash10.1" 0 0 5000
;;

#download latest flash9 & fake install as 10.1 r99
9)wget -c http://download.macromedia.com/pub/flashplayer/installers/current/9/install_flash_player_9.tar.gz
tar -xf install_flash_player_9.tar.gz
VER=`strings libflashplayer.so | grep -e "^Shockwave Flash [.\d+]*" | sed -e "s/Shockwave Flash //g"`
cat libflashplayer.so |sed -e "s/$VER/10.1 r99/g" >$PLUGINDIR/libflashplayer.so
rm -f libflashplayer.so install_flash_player_9.tar.gz
Xdialog --no-buttons --infobox "flash9 installed as flash10.1" 0 0 5000
;;

#download and install latest flash
10)wget -c http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player_10_linux.tar.gz
tar -xf install_flash_player_10_linux.tar.gz
mv -f libflashplayer.so $PLUGINDIR/libflashplayer.so
rm -f install_flash_player_10_linux.tar.gz
Xdialog --no-buttons --infobox "latest flash installed" 0 0 5000
;;

#assuming it is in /usr/lib/mozilla/plugins/ for now ... should use find instead
f)FLASHLOC=$PLUGINDIR/libflashplayer.so
mv $FLASHLOC /tmp/flash
VER=`strings /tmp/flash | grep -e "^Shockwave Flash [.\d+]*" | sed -e "s/Shockwave Flash //g"`
while [ "${#NEWVER}" -lt "${#VER}" ]
do
NEWVER=${NEWVER}9
done
cat /tmp/flash |sed -e "s/$VER/$NEWVER/g" >$FLASHLOC
rm -f /tmp/flash
Xdialog --no-buttons --infobox "flash fixed - upgrade faked" 0 0 5000
;;
*)$0 `Xdialog --stdout --no-tags --radiolist "Select a flash version to install:" 0 0 4 10 flash-latest=12mb off 9 flash-9.0rXXX=8mb ON 7 flash-7r73=2mb off f fix-fake-upgrade off`;;
esac

_________________
Web Programming - Pet Packaging 100 & 101
Back to top
View user's profile Send_private_message 
01micko


Joined: 11 Oct 2008
Posts: 7836
Location: qld

PostPosted: Sat 04 Sep 2010, 20:02    Post_subject:  

Hmm... I wonder if flash7 could be packaged with a distro and a run once script applied at first boot to enable the masquerade act Wink

Yes, I'll try that..

_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send_private_message Visit_website 
technosaurus


Joined: 18 May 2008
Posts: 4353

PostPosted: Sat 04 Sep 2010, 21:30    Post_subject:  

there are only a very few situations where I would recommend flash7 - very old computer where gtk1 is used and then only for playing flash games - not really for video. Flash9 however does make sense even for new systems and my latest script version lets you pick 7,9,10.x or only mask the current installed version (just cut and paste that part)
_________________
Web Programming - Pet Packaging 100 & 101
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 1 of 2 Posts_count   Goto page: 1, 2 Next
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Cutting edge
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1085s ][ Queries: 13 (0.0051s) ][ GZIP on ]