From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-14) on finch.gentoo.org X-Spam-Level: X-Spam-Status: No, score=0.3 required=5.0 tests=DMARC_NONE,MAILING_LIST_MULTI, RDNS_DYNAMIC autolearn=no autolearn_force=no version=4.0.0 Received: from pd5mo3so.prod.shaw.ca (h24-71-223-13.cg.shawcable.net [24.71.223.13]) by chiba.3jane.net (Postfix) with ESMTP id 1884411AEE for ; Sun, 2 Dec 2001 21:52:38 -0600 (CST) Received: from pd3mr1so.prod.shaw.ca (pd3mr1so-ser.prod.shaw.ca [10.0.141.177]) by l-daemon (iPlanet Messaging Server 5.1 (built May 7 2001)) with ESMTP id <0GNR005LF1ER39@l-daemon> for gentoo-dev@gentoo.org; Sun, 02 Dec 2001 20:52:03 -0700 (MST) Received: from pn2ml6so (pn2ml6so-qfe0.prod.shaw.ca [10.0.121.150]) by l-daemon (iPlanet Messaging Server 5.0 Patch 2 (built Dec 14 2000)) with ESMTP id <0GNR00JO21ERV8@l-daemon> for gentoo-dev@gentoo.org; Sun, 02 Dec 2001 20:52:03 -0700 (MST) Received: from shaw.ca ([24.68.91.28]) by l-daemon (iPlanet Messaging Server 5.0 Patch 2 (built Dec 14 2000)) with ESMTP id <0GNR004AP1D0JK@l-daemon> for gentoo-dev@gentoo.org; Sun, 02 Dec 2001 20:51:01 -0700 (MST) Date: Sun, 02 Dec 2001 19:55:31 -0800 From: Zach Forrest Subject: Re: [gentoo-dev] mozilla ebuild... To: gentoo-dev@gentoo.org Message-id: <3C0AF7B3.4020604@shaw.ca> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 8BIT X-Accept-Language: en-us User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.6) Gecko/20011130 References: <3C0AD475.9060604@shaw.ca> <1007349058.9336.0.camel@zoidberg> Sender: gentoo-dev-admin@gentoo.org Errors-To: gentoo-dev-admin@gentoo.org X-BeenThere: gentoo-dev@gentoo.org X-Mailman-Version: 2.0.6 Precedence: bulk Reply-To: gentoo-dev@gentoo.org List-Help: List-Post: List-Subscribe: , List-Id: Developer discussion list List-Unsubscribe: , List-Archive: X-Archives-Salt: 89da6f9c-dc86-4d8a-800b-6ff2d2e8e7d2 X-Archives-Hash: 7d3eb4d8d7ac6972c03867d564aa73f4 Mikael Hallendal wrote: > mån 2001-12-03 klockan 02.25 skrev Zach Forrest: > >>I think it might be useful to add the following (or something similar) >>to the mozilla ebuild file. That way we don't have to download the JRE >>to the plugin directory if we already have it. >> >>if [ "`use java`" ]; then >> if [ -e "/opt/java/jre/plugin/i386/mozilla/javaplugin_oji.so" ] >> then >> dosym /opt/java/jre/plugin/i386/mozilla/javaplugin_oji.so >> ${D}/usr/lib/mozilla/libjavaplugin_oji.so >> fi >>fi >> >>Is it assumed that if there is a java USE flag that the jdk has been >>installed? >> > > If we use this scheme we should add java to the RDEPEND if java is in > USE, that way it will be installed before the Mozilla ebuild. > I was thinking about this which is sort of covered in my "USE database? " post. I'm not so sure that is should be a dependency, but more of a "suggested" package. Or maybe add a JRE package. The JDK can be a lot to download if you don't really need it. One of the suggestions in my aforementioned post was to have a way to publish optional USE packages in an ebuild file and then call emerge with a "--satisfyuse" flag (which might not be so elegant if there are many, possibly conflicting*, USE options) to install the "optional" package(s). This way it is not a dependency per say, but more of feature or option that can add functionality. It may be of benefit to make the definition of what a USE variable is more clear. If USE="..., java, ..." am I, as an administrator responsible for installing the jdk, or is the first package that can make use of the java USE option responsible for the installation when it discovers that I want Java functionality? > >>Also, has anyone noticed that the Mozilla profile manager is pretty >>messed up? (The OK button says "Start Yah", some buttons have no text, etc.) >> > > Hmm, how do you start it? I just switched over from Debian where I already had two profiles. When Mozilla starts up and detects this it automatically presents the profile manager. In other words, I simply call /usr/bin/mozilla. > > Regards, > Mikael Hallendal > > * To add to my "USE database?" post, a "conflicts" field might not be a bad idea either.