Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 99060 | Differences between
and this patch

Collapse All | Expand All

(-)mozilla-firefox-1.0.6-r1.ebuild.orig (-3 / +28 lines)
Lines 1-9 Link Here
1
# Copyright 1999-2005 Gentoo Foundation
1
# Copyright 1999-2005 Gentoo Foundation
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/www-client/mozilla-firefox/mozilla-firefox-1.0.6-r1.ebuild,v 1.4 2005/07/22 00:01:59 agriffis Exp $
3
# $Header: $
4
4
5
unset ALLOWED_FLAGS  # stupid extra-functions.sh ... bug 49179
5
unset ALLOWED_FLAGS  # stupid extra-functions.sh ... bug 49179
6
inherit flag-o-matic toolchain-funcs eutils mozconfig mozilla-launcher makeedit multilib
6
inherit flag-o-matic toolchain-funcs eutils mozconfig mozilla-launcher makeedit multilib fdo-mime
7
8
FEDORA_VERSION="1.0.4-5"
9
FEDORA_FILES="${WORKDIR}/fedora-files"
7
10
8
DESCRIPTION="Firefox Web Browser"
11
DESCRIPTION="Firefox Web Browser"
9
HOMEPAGE="http://www.mozilla.org/projects/firefox/"
12
HOMEPAGE="http://www.mozilla.org/projects/firefox/"
Lines 12-18 Link Here
12
	mirror://gentoo/mozilla-firefox-1.0.3-ia64.patch.bz2
15
	mirror://gentoo/mozilla-firefox-1.0.3-ia64.patch.bz2
13
	mirror://gentoo/mozilla-jslibmath-alpha.patch
16
	mirror://gentoo/mozilla-jslibmath-alpha.patch
14
	mirror://gentoo/mozilla-firefox-1.0.6-nsplugins.patch
17
	mirror://gentoo/mozilla-firefox-1.0.6-nsplugins.patch
15
	http://dev.gentoo.org/~agriffis/dist/mozilla-firefox-1.0.6-nsplugins.patch"
18
	http://dev.gentoo.org/~agriffis/dist/mozilla-firefox-1.0.6-nsplugins.patch
19
	mirror://gentoo/firefox-fedora-files-${FEDORA_VERSION}.tar.bz2
20
	http://tdegreni.free.fr/gentoo/firefox/firefox-fedora-files-${FEDORA_VERSION}.tar.bz2"
16
21
17
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~sparc ~x86"
22
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~sparc ~x86"
18
SLOT="0"
23
SLOT="0"
Lines 107-112 Link Here
107
112
108
	# look in /usr/lib/nsplugins for plugins, in addition to the usual places
113
	# look in /usr/lib/nsplugins for plugins, in addition to the usual places
109
	epatch ${DISTDIR}/mozilla-firefox-1.0.6-nsplugins.patch
114
	epatch ${DISTDIR}/mozilla-firefox-1.0.6-nsplugins.patch
115
116
	### Patches from the Fedora package
117
	### http://cvs.fedora.redhat.com/viewcvs/rpms/firefox/
118
	### Many thanks to Christopher Aillon <caillon@redhat.com>
119
	# Disable the default application checks
120
	epatch ${FEDORA_FILES}/firefox-PR1-default-applications.patch
121
	# Add upstream fix to reduce round trips to xserver during remote control
122
	epatch ${FEDORA_FILES}/firefox-1.0-remote-intern-atoms.patch
123
	# Add upstream fix to call g_set_application_name
124
	epatch ${FEDORA_FILES}/firefox-1.0-g-application-name.patch
110
}
125
}
111
126
112
src_compile() {
127
src_compile() {
Lines 234-239 Link Here
234
249
235
	# Install docs
250
	# Install docs
236
	dodoc LEGAL LICENSE
251
	dodoc LEGAL LICENSE
252
253
	# Manpage from the Fedora package:
254
	doman ${FEDORA_FILES}/firefox.1
237
}
255
}
238
256
239
pkg_postinst() {
257
pkg_postinst() {
Lines 247-252 Link Here
247
	# mozilla, mozilla-bin, firefox, firefox-bin, thunderbird and
265
	# mozilla, mozilla-bin, firefox, firefox-bin, thunderbird and
248
	# thunderbird-bin ebuilds.
266
	# thunderbird-bin ebuilds.
249
	update_mozilla_launcher_symlinks
267
	update_mozilla_launcher_symlinks
268
269
	# Update mimedb for the new .desktop file
270
	fdo-mime_desktop_database_update
250
}
271
}
251
272
252
pkg_postrm() {
273
pkg_postrm() {
Lines 257-260 Link Here
257
		/usr/libexec/mozilla-launcher -register
278
		/usr/libexec/mozilla-launcher -register
258
279
259
	update_mozilla_launcher_symlinks
280
	update_mozilla_launcher_symlinks
281
282
	# Update mimedb if .desktop file removed (real uninstall)
283
	[ -f ${ROOT}/usr/share/applications/mozilla-firefox.desktop ] \
284
		|| fdo-mime_desktop_database_update
260
}
285
}

Return to bug 99060