Gentoo Archives: gentoo-dev

From: Maciej Mrozowski <reavertm@×××××.com>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] nsbrowser plugins
Date: Wed, 11 Aug 2010 04:51:53
Message-Id: 201008110651.22938.reavertm@gmail.com
In Reply to: Re: [gentoo-dev] nsbrowser plugins by "Paweł Hajdan
1 On Wednesday 11 of August 2010 05:50:47 Paweł Hajdan, Jr. wrote:
2 > On 8/10/10 4:28 PM, Jeroen Roovers wrote:
3 > >> Gentoo uses /usr/$(get_libdir)/nsbrowser/plugins for browser plugins.
4 > >> However, Debian uses /usr/$(get_libdir)/mozilla/plugins, and that's
5 > >> what many software projects (including Chromium) target.
6 > >
7 > > Could you name them? Opera looks into tons of directories.
8 >
9 > Sorry, I used a weasel word "many software projects" without naming
10 > them. I don't know packages other than www-client/chromium that would
11 > have problems with this.
12 >
13 > > You would then need to re-emerge all users of this eclass.
14 >
15 > I see. This puts some burden for our users with no obvious gains.
16 >
17 > > What's bugging Chromium? Why does it insist on using a competing
18 > > browser vendor's name instead of the much more neutral "nsbrowser",
19 > > which generally denotes browsers with a Netscape style plugin interface?
20 >
21 > Well, the fact that every distributions chooses its own directory for
22 > NPAPI plugins is sort of sad. The number of directories that have to be
23 > searched for plugins is ridiculously long.
24 >
25 > I was talking with Evan Martin, a Chromium developer, and he asked
26 > whether Gentoo could switch to "mozilla/plugins", so I started this
27 > thread. After the results, my patch to add "nsbrowser/plugins" to the
28 > plugins search path is probably going to be accepted.
29 >
30 > By the way, I just wonder... why not _symlink_ "mozilla/plugins" to
31 > "nsbrowser/plugins"? That would solve the technical problem, while
32 > keeping a good, more general name.
33
34 How about asking Evan Martin (and other browser developers) to add means to
35 specify netscape plugin paths for plugin lookup, either as UI element or at
36 compilation time. The former is exactly what konqueror provides for instance
37 on so it can scan for plugins in many locations (including ~/ for some
38 private/local plugins). Hardcoding paths is a bad design™.
39
40 --
41 regards
42 MM

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-dev] nsbrowser plugins "Paweł Hajdan