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 Fri 17 Aug 2018, 05:55
All times are UTC - 4
 Forum index » House Training » Bugs ( Submit bugs )
FLASH 9 FIX
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [8 Posts]  
Author Message
DesertPuppy


Joined: 08 Aug 2006
Posts: 34
Location: Mississippi

PostPosted: Thu 22 Feb 2007, 17:40    Post subject:  FLASH 9 FIX
Subject description: fix of flash 9 crashing in seamoney and firefox Puppy 2.14 final
 

Note: this was a tread in the developers forum I have posted here so that the most people will see the fix this has been tested on PUP214 final and beta full hd install and live cd it should work for everyone so that once and for all we have a stable browser with current flash.

Billcnz , I have found the part of the vector script that is fixing the crash problem, what I did was add each different part to the script and what I came up with is this:

Code:
# Include /usr/lib/mozilla/plugins in the plugin path:
#added to fix the FLASH 9 bug that crashes the browser
if [ "$MOZ_PLUGIN_PATH" ] ; then
  MOZ_PLUGIN_PATH=$MOZ_PLUGIN_PATH:${moz_libdir}/plugins:/usr/lib/mozilla/plugins
else
  MOZ_PLUGIN_PATH=${moz_libdir}/plugins:/usr/lib/mozilla/plugins
fi
export MOZ_PLUGIN_PATH
#end of add to fix the FLASH 9 bug that crashes the browser


EDIT: Ok all you have to do is add the code above to the /usr/lib/seamonkey-1.0.6/mozilla-bin file on the next line after #!/bin/sh
I just tried it running a fresh install of 2.14final from CD and it works great!

Code:
FILE: /usr/lib/seamonkey-1.0.6/mozilla-bin
#!/bin/sh

#This has been added to fix Flash 9 crash problems
# Include /usr/lib/mozilla/plugins in the plugin path:

if [ "$MOZ_PLUGIN_PATH" ] ; then
  MOZ_PLUGIN_PATH=$MOZ_PLUGIN_PATH:${moz_libdir}/plugins:/usr/lib/mozilla/plugins
else
  MOZ_PLUGIN_PATH=${moz_libdir}/plugins:/usr/lib/mozilla/plugins
fi
export MOZ_PLUGIN_PATH

#end of add to fix Flash 9 crash problems
#

#hack to fix a bug...
DEPFND="`ldd /usr/lib/mozilla/components/libgfx_gtk.so | grep 'libpangoxft'`"

[ "$DEPFND" = "" ] && export LD_PRELOAD="/usr/lib/libpangoxft-1.0.so.0"

#v2.14 Billcnz found that disabling pango considerably speeds page rendering time
#on older CPUs (official builds do not have --enable-pango)...
export MOZ_DISABLE_PANGO=1

exec /usr/lib/mozilla/seamonkey-bin $@




EDIT: I use firefox on my system and have it installed to /usr/lib/firefox
I added the code to the file firefox the following is the instructions for this setup


I inserted it in the same place that the vector script had it right after setting the env vars

FILE: /usr/lib/firefox/firefox (if you installed firefox to /usr/lib)

Code:

....
#uncomment for debugging
#set -x

moz_libdir=/usr/local/lib/firefox-2.0.0.1
MRE_HOME=/usr/local/lib/mre/mre-2.0.0.1

# Include /usr/lib/mozilla/plugins in the plugin path:
#added to fix the FLASH 9 crash bug

if [ "$MOZ_PLUGIN_PATH" ] ; then
  MOZ_PLUGIN_PATH=$MOZ_PLUGIN_PATH:${moz_libdir}/plugins:/usr/lib/mozilla/plugins
else
  MOZ_PLUGIN_PATH=${moz_libdir}/plugins:/usr/lib/mozilla/plugins
fi
export MOZ_PLUGIN_PATH

#end of add to fix FLASH 9 crash bug


# Use run-mozilla.sh in the current dir if it exists
# If not, then start resolving symlinks until we find run-mozilla.sh
.....



This was on firefox 2.0.0.1 but should work fine for seamonkey(see edit above)

It must have something to do with the plugin path, I tested on the site you suggested and without the add it crashes and with the add it works the way it should. I hope we can get a lot of users to test this so we can have a sable current Flash once and for all.
Back to top
View user's profile Send private message 
lvds


Joined: 23 Jan 2007
Posts: 315
Location: Near the window

PostPosted: Sun 11 Mar 2007, 17:06    Post subject:  

Hi,

I did apply your patch on firefox-2.0.0.2 and i confirm it works too.

THANK YOU VERY MUCH

Best regards,
Laurent.
Back to top
View user's profile Send private message 
ohyes


Joined: 03 May 2007
Posts: 159
Location: Right Here

PostPosted: Sun 06 May 2007, 08:59    Post subject:  

Just tried the fix with firefox 2.0.0.3 using 2.14 and

IT WORKS WELL !

Thanks to DesertPuppy
Back to top
View user's profile Send private message 
gdemonta


Joined: 19 Feb 2007
Posts: 190
Location: Paris, France

PostPosted: Mon 07 May 2007, 11:38    Post subject:  

works great! Beware of not installing firefox 2.001, insert the flash fix, and then updating to 2.003, ass it will erase the fix.
_________________
Dumbledore: "The evidence of the Dark Lord's return is incontrovertible"
IBM X31 - Puppy 2.16 Hard disk install with EZpup
Back to top
View user's profile Send private message 
jonyo

Joined: 28 Dec 2006
Posts: 2725

PostPosted: Mon 07 May 2007, 13:14    Post subject:  

Anyone try this with 2.15CE live cd & where to get the flash download?
Back to top
View user's profile Send private message 
Artie


Joined: 04 Oct 2005
Posts: 449
Location: Norway

PostPosted: Tue 08 May 2007, 10:17    Post subject:  

I'm using Firefox 2.0.0.3 in Puppy 2.12. I installed the latest Flash 9.0 r31 with the browser and now the browser is crashing. Firefox is installed in usr/local/firefox. Exactly what do I place where? I'm very confused. Thanks.

Artie
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger 
ICQ Number 
lvds


Joined: 23 Jan 2007
Posts: 315
Location: Near the window

PostPosted: Tue 08 May 2007, 11:55    Post subject:  

Artie wrote:
I'm using Firefox 2.0.0.3 in Puppy 2.12. I installed the latest Flash 9.0 r31 with the browser and now the browser is crashing. Firefox is installed in usr/local/firefox. Exactly what do I place where? I'm very confused. Thanks.

Artie


Hi,

the key here is very simple : to have things pont where they really are.
if you look at moz_libdir variable it is not related to a /usr/local/firefox or wherever you put. So create symlinks in aboslute mode.

best regards,
Laurent

_________________
This is China today
Asus 1225C eeePC Atom Cedar Trail 2G Ram - DELL Optiplex 780 core2 duo 4G Ram, Intel4 chipset Video, ICH10 chipset Audio, Intel 82567LM-3 Network
Back to top
View user's profile Send private message 
Skipper

Joined: 22 Apr 2007
Posts: 23

PostPosted: Wed 09 May 2007, 21:23    Post subject:    

Really good job.

It works for me on Firefox 2.0.0.3 and Flash Player 9. Puppy 2.15CE Viz.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [8 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Bugs ( Submit bugs )
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
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0425s ][ Queries: 12 (0.0068s) ][ GZIP on ]