From owner-freebsd-ports@FreeBSD.ORG Sun May 4 10:45:56 2003 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7AE5637B401; Sun, 4 May 2003 10:45:56 -0700 (PDT) Received: from vectors.cx (manifold.vectors.cx [66.180.241.86]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0B9CB43F75; Sun, 4 May 2003 10:45:56 -0700 (PDT) (envelope-from monkey@vectors.cx) Received: from vectors.cx (8da2a09a33afcf3303019fccf9e05df9@localhost [127.0.0.1]) by vectors.cx (8.12.8/8.12.8) with ESMTP id h44Hl4ef061633; Sun, 4 May 2003 10:47:04 -0700 (PDT) (envelope-from monkey@vectors.cx) Received: (from monkey@localhost) by vectors.cx (8.12.9/8.12.9/Submit) id h44Hl4aA061632; Sun, 4 May 2003 10:47:04 -0700 (PDT) Date: Sun, 4 May 2003 10:47:04 -0700 From: Adam Weinberger To: ports@freebsd.org Message-ID: <20030504174704.GW25227@vectors.cx> Mail-Followup-To: Adam Weinberger , ports@freebsd.org, nork@FreeBSD.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; x-action=pgp-signed Content-Disposition: inline X-Editor: Vim 6.1 http://www.vim.org X-Mailer: Mutt 1.5 http://www.mutt.org X-PGP-Key: http://www.vectors.cx/pgp.key.txt X-URL: http://www.vectors.cx User-Agent: Mutt/1.5.4i cc: nork@freebsd.org Subject: linux-flashplugin and flashpluginwrapper X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 May 2003 17:45:56 -0000 -----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-----