Date: Sun, 4 May 2003 10:47:04 -0700 From: Adam Weinberger <adamw@freebsd.org> To: ports@freebsd.org Cc: nork@freebsd.org Subject: linux-flashplugin and flashpluginwrapper Message-ID: <20030504174704.GW25227@vectors.cx>
next in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 OK. I, like pat, could not get flash running, for the life of me. However, by following these steps, I WAS able to get flash working perfectly from within mozilla. STEP 1: REMOVE THE CRUFT The 2 reasons mozilla flash-ness breaks are: old libraries are in the way, and you have to edit /usr/X11R6/bin/mozilla every time you reinstall it. Remove all flash-based ports. I had to deinstall flashplugin-mozilla-devel, flashpluginwrapper, linux-flashplugin, and linux-flashplugin6. Start clean. Your gums will thank you. Next, go into /usr/X11R6/lib/browser_plugins/ and remove all the flash stuff that's in there. I removed libflashplayer*.so and ShockwaveFlash.class. STEP 2: INSTALL cd /usr/ports/www/flashpluginwrapper && make install STEP 3: FOLLOW THE DIRECTIONS ;;) cp /usr/local/lib/flash/libflashplayer.so /usr/X11R6/lib/browser_plugins/libflashplayer_linux.so cp /usr/local/lib/flash/ShockwaveFlash.class /usr/X11R6/lib/browser_plugins/ vim /usr/X11R6/bin/mozilla Do what it says... add: LD_PRELOAD=/usr/local/lib/libflashplayer.so.1 export LD_PRELOAD to the top, under #!/bin/sh I followed these steps, and am now watching crap on that bastion against maturity: homestarrunner.com. I'm going to unmark www/linux-flashplugin as BROKEN, but I think an addition is warranted to the end of www/flashpluginwrapper/files/pkg-message.in: If you're unable to get see flash animations, uninstall all your flash ports, clean flash out of /usr/X11R6/lib/browser_plugins, reinstall flashpluginwrapper, and recopy/re-edit the libraries and mozilla startup script as shown above. Nork, what are your thoughts on this? # Adam - -- Adam Weinberger vectors.cx >> adam@vectors.cx FreeBSD.org << adamw@FreeBSD.ORG #vim:set ts=8: 8-char tabs prevent tooth decay. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+tVIYo8KM2ULHQ/0RAkeVAKDXdXnkPAKiNqnloyPHdTk0vzdf4ACeMHAs zd7TZapcZXmH8G0Pow76e8k= =9Mo8 -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030504174704.GW25227>