From owner-freebsd-ports@FreeBSD.ORG Fri Jan 18 15:06:46 2013 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id E9BA1EA5; Fri, 18 Jan 2013 15:06:46 +0000 (UTC) (envelope-from awarecons@gmail.com) Received: from mail-vc0-f172.google.com (mail-vc0-f172.google.com [209.85.220.172]) by mx1.freebsd.org (Postfix) with ESMTP id 79640E7D; Fri, 18 Jan 2013 15:06:46 +0000 (UTC) Received: by mail-vc0-f172.google.com with SMTP id l6so2721209vcl.3 for ; Fri, 18 Jan 2013 07:06:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type:content-transfer-encoding; bh=YekLHdj18ZhGSjK5uW6oI/fPyDzPf4D5j97/+Kmu2+A=; b=CSiSkbwFInwq4TimyN3TmVUQ0iI4wicZvUtCFiALodU5ErTuObxbF/W7udPqvVlT1h dXY8rtRpGi6cPjxd7uzwcZLxf5sSnNfgabHcVZ5nxDXT2ldkDyus2xV777TcKrwJCn34 hb/lmnZafCDhySn2gj6qVIQKgxhbjiFLHzdoEC2uyi2uyYTi1DD/vC2oklSvYuB6+Dj9 Kx/GcdcO4DNvMiLUDwdOZVHgSC1jah4gjSMlcUTUmWnxEkLOPcPg5weI9l9tf+9K/8pe dm5mme/ezxjQFvFVWgbww+mnoIrV0gMMtwx9qVSnijPmwiEo+C/n4EYJWZo8Qao2E7sw 9CdA== MIME-Version: 1.0 X-Received: by 10.220.239.14 with SMTP id ku14mr9768217vcb.57.1358521600218; Fri, 18 Jan 2013 07:06:40 -0800 (PST) Received: by 10.220.4.137 with HTTP; Fri, 18 Jan 2013 07:06:40 -0800 (PST) In-Reply-To: <50F858E7.1020703@gmail.com> References: <50F858E7.1020703@gmail.com> Date: Fri, 18 Jan 2013 19:06:40 +0400 Message-ID: Subject: Re: www/opera ISSUE Java Plugin missing From: awarecons To: "Joseph A. Nagy, Jr" , java@FreeBSD.org Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Cc: ports@freebsd.org, dinoex@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Jan 2013 15:06:47 -0000 As it was mentioned above: since Opera 10.50 it doesn't use Java directly, hence it looks for a special Java plugin file libnpjp2.so and ONLY! The problem is that the file libnpjp2.so residues in linux-sun-jre1[67] only, not in openjdk nor diablo nor jdk16 editions, though available is non-native only. Cut from opera:plugins (java/linux-sun-jre16): Java(TM) Plug-in 1.6.0_38 Description: The next generation Java plug-in for Mozilla browsers. Architecture: non-native /usr/local/lib/npapi/symlinks/opera/libnpjp2.so Of course it fails to start properly and crashes after is called. A try to nspluginwrapper it fails: nspluginwrapper -v -i /usr/local/linux-sun-jre1.6.0/lib/i386/libnpjp2.so *** NSPlugin Viewer *** ERROR: libnpjp2.so: cannot open shared object file: No such file or directory *** NSPlugin Viewer *** ERROR: libnpjp2.so: cannot open shared object file: No such file or directory nspluginwrapper: no appropriate viewer found for libnpjp2.so Opera 12.12 rejects classic plugin file javaplugin-oji.so and IcedTeaPlugin.so (tested). It would be keen to update the Handbook part 7.2.5 Opera of http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/desktop-browsers.= html, that it doesn't support java/icedtea-web anymore? All the steps from Handbook had been taken, and IcedTeaPlugin.so is caught by FireFox, SeaMonkey, Chromium... but Opera 12.12 . Additional Notes from Oracle (http://www.oracle.com/technetwork/java/javase/manual-plugin-install-linux-= 136395.html): The classic plugin file was located here: /plugin/i386/javaplugin-oji.so __This file should no longer be used and all symbolic links to it removed__= . Thank you. 2013/1/18 Joseph A. Nagy, Jr : > On 01/17/13 13:47, awarecons wrote: >> As of official http://www.opera.com/docs/linux/plugins/install/#java >> >> Java plug-in (Sun/Oracle) >> >> As of Opera 10.50, Opera uses the Java plug-in. Previously Opera used >> the Java Runtime Environment (JRE) directly. > > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/desktop-browser= s.html > > > 7.2.5 Opera > > Opera is a full-featured and standards-compliant browser. It also comes > with a built-in mail and news reader, an IRC client, an RSS/Atom feeds > reader and much more. Despite this, Opera is relatively lightweight and > very fast. It comes in two flavors: a =93native=94 FreeBSD version and a > version that runs under Linux emulation. > > To browse the Web with the FreeBSD version of Opera, install the package: > > # pkg_add -r opera > > Some FTP sites do not have all the packages, but Opera can still be > obtained through the Ports Collection by typing: > > # cd /usr/ports/www/opera > # make install clean > > To install the Linux version of Opera, substitute linux-opera in place > of opera in the example above. > > The Adobe Flash plugin is not available for FreeBSD. However, a Linux=AE > version of the plugin exists. To install this version, the > www/linux-f10-flashplugin11 port has to be installed, then install the > port www/opera-linuxplugins: > > # cd /usr/ports/www/linux-f10-flashplugin11 > # make install clean > # cd /usr/ports/www/opera-linuxplugins > # make install clean > > You can check the presence of the plugin: start your browser, enter > opera:plugins in the location bar and press Enter. A list should appear > with all the currently available plugins. > > To add the Java plugin, follow the instructions for Firefox[0]. > > [0]: > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/desktop-browser= s.html#moz-java-plugin > -- > Yours in Christ, > > Joseph A Nagy Jr > "Whoever loves instruction loves knowledge, But he who hates correction > is stupid." -- Proverbs 12:1 > Emails are not formal business letters, whatever businesses may want. > Original content CopyFree (F) under the OWL http://owl.apotheon.org