From owner-freebsd-questions@FreeBSD.ORG Tue Dec 7 04:53:12 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2C629106564A for ; Tue, 7 Dec 2010 04:53:12 +0000 (UTC) (envelope-from mla_strick@att.net) Received: from smtp126.sbc.mail.sp1.yahoo.com (smtp126.sbc.mail.sp1.yahoo.com [69.147.65.185]) by mx1.freebsd.org (Postfix) with SMTP id 0E9708FC13 for ; Tue, 7 Dec 2010 04:53:11 +0000 (UTC) Received: (qmail 75069 invoked from network); 7 Dec 2010 04:53:10 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=att.net; s=s1024; t=1291697590; bh=6ex66cqq3ESduPTGjd3HcA8YwIcDwasHFlVkQpkAn/8=; h=Received:X-Yahoo-SMTP:X-YMail-OSG:X-Yahoo-Newman-Property:Received:Received:Date:From:Message-Id:To:Subject; b=RNmIP+CjImH72LfFKgoWHRnv441pxcSakkktyWBgutkc9RspElfqPnCgPRKI5obROIkTkk8beSPW/CjTPpg3Kktv26gLpyv3BEoPxloK+vtIbRKDEWMFR9tRCXjbmLqHSei1KBHUxgdNlCX6zsxqiI1FllppDTuaTcFg3/ztQsA= Received: from mist.nodomain (mla_strick@69.228.199.197 with login) by smtp126.sbc.mail.sp1.yahoo.com with SMTP; 06 Dec 2010 20:53:10 -0800 PST X-Yahoo-SMTP: ppEzeiKswBBq7wHVNDEiPbPsAwzyGELyRI8IdiDYGqsxaD5uQA-- X-YMail-OSG: WTxWr3oVM1nraiCEEN8D82btV8bEmygvW8q9YxB4vuZ_t7. sKqFoCwuwSRWFfltWeoNYrWnLKBmLHN5hMzIBzcGSt9MapH6VV3z2mUvlew2 PUk0bW7.yJxJZZxvItXoXpF1YI6TnbscJD4KhB8mkxIqLQAZv8Q7TrGzaKYN esS67QYQmCZHn6E4Ph76rpnMHW32Qb0e5xd31yuqV90HXiK1itUI3kGB8G5u HVZjDbAmJKR75NaaQHIR7_R9xMoqKgDGgUtbX X-Yahoo-Newman-Property: ymail-3 Received: from mist.nodomain (localhost [127.0.0.1]) by mist.nodomain (8.14.4/8.14.4) with ESMTP id oB74r7oE012103 for ; Mon, 6 Dec 2010 20:53:09 -0800 (PST) (envelope-from mla@mist.nodomain) Received: (from dan@localhost) by mist.nodomain (8.14.4/8.14.4/Submit) id oB74r21Y012101 for freebsd-questions@freebsd.org; Mon, 6 Dec 2010 20:53:02 -0800 (PST) (envelope-from mla) Date: Mon, 6 Dec 2010 20:53:02 -0800 (PST) From: Dan Strick Message-Id: <201012070453.oB74r21Y012101@mist.nodomain> To: freebsd-questions@freebsd.org Subject: Re: printing from inside Linux firefox X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Dec 2010 04:53:12 -0000 On Fri, 4 Dec 2010, Warren Block responded to my previous email: > > On Fri, 3 Dec 2010, Dan Strick wrote: > > > > I tried /usr/ports/www/firefox which installs as firefox3, a native > > FreeBSD Firefox program. It will print via lpr, but It won't > > do flash. > > Actually, it will. > > > I tried the flashplugin-mozilla port, but it just causes a > > segmentation violation when I visit a page with flash items. > > Yes, that's not the right plugin. Deinstall it and follow the Handbook > Flash instructions: The flashplugin-mozilla port does indeed seem to be the wrong port and the nspluginwrapper port mentioned in the FreeBSD Handbook does indeed work, but there were a couple of glitches: 1) The plugin was installed in $HOME/.mozilla/plugins where Linux firefox executables also find it and then choke on the FreeBSD ELF file. I fixed the problem by moving the plugin to /usr/local/lib/firefox3/plugins. Using a single .directory for multiple browsers is probably a very bad idea if it contains stuff which is not the same for all versions of all browsers. I am not sure what a better alternative should look like. One possibility would be to have directories in $HOME/.mozilla with names like plugins-version-name. 2) The nspluginwrapper produces these warning messages: *** NSPlugin Viewer *** WARNING: unhandled variable 18 () in NPN_GetValue() *** NSPlugin Wrapper *** WARNING: unhandled variable 18 in NPP_GetValue() I can't solve this problem because the nspluginwrapper does not seem to come with any documentation. Documentation would be noce since the nspluginwrapper claims to support other types of plugin but gives no hint about how to install them. Thanks, Dan Strick