First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 179098
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Mozilla Gentoo Team <mozilla@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Pat Double <gentoo@patdouble.com>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 179098 depends on: Show dependency tree
Bug 179098 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-05-19 12:46 0000
x11-plugins/noscript is an extension for Firefox. Its dep is
www-client/mozilla-firefox. If I have www-client/mozilla-firefox-bin merged and
attempt to merge x11-plugins/noscript it will pull in
www-client/mozilla-firefox which is not what I want.

Reproducible: Always

Steps to Reproduce:
1. emerge www-client/mozilla-firefox-bin
2. emerge x11-plugins/noscript
Actual Results:  
Attempt to merge www-client/mozilla-firefox

Expected Results:  
x11-plugins/noscript should be happy and merge with
www-client/mozilla-firefox-bin

I have modified the ebuild of x11-plugins/noscript to depend on either
www-client/mozilla-firefox or www-client/mozilla-firefox-bin and it does work.

------- Comment #1 From Pat Double 2007-05-19 12:50:49 0000 -------
I tried to update the ebuild but got a bugzilla error:

# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header:
/var/cvsroot/gentoo-x86/x11-plugins/noscript/noscript-1.1.4.8.070430.ebuild,v
1.1 2007/05/04 17:09:39 armin76 Exp $

inherit mozextension multilib

DESCRIPTION="Firefox plugin to disable javascript"
HOMEPAGE="http://noscript.net/"
SRC_URI="http://software.informaction.com/data/releases/${P}.xpi"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
IUSE=""

RDEPEND="|| (
        >=www-client/mozilla-firefox-bin-1.5.0.7
        >=www-client/mozilla-firefox-1.5.0.7
)"
DEPEND="${RDEPEND}"

S=${WORKDIR}

src_unpack() {
        xpi_unpack "${P}".xpi
}

src_install() {
        declare MOZILLA_FIVE_HOME
        if has_version '>=www-client/mozilla-firefox-1.5.0.7'; then
                MOZILLA_FIVE_HOME="/usr/$(get_libdir)/mozilla-firefox"
        elif has_version '>=www-client/mozilla-firefox-bin-1.5.0.7'; then
                MOZILLA_FIVE_HOME="/opt/firefox"
        fi

        xpi_install "${S}"/"${P}"
}

------- Comment #2 From Raúl Porcel 2007-05-22 11:22:43 0000 -------
What if you have both?

I know it would be easy to do, but i don't think they should get installed on
both if that is the case.

Thoughts?

------- Comment #3 From Pat Double 2007-05-22 15:11:04 0000 -------
Why not both?

------- Comment #4 From Raúl Porcel 2007-06-13 12:42:07 0000 -------
Fixed, thanks.

First Last Prev Next    No search results available      Search page      Enter new bug