|
Lines 3-9
Link Here
|
| 3 |
# $Header: $ |
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 13-19
Link Here
|
| 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 |
mirror://gentoo/embed-typeaheadfind.patch |
18 |
mirror://gentoo/embed-typeaheadfind.patch |
| 16 |
http://dev.gentoo.org/~anarchy/dist/embed-typeaheadfind.patch" |
19 |
http://dev.gentoo.org/~anarchy/dist/embed-typeaheadfind.patch |
|
|
20 |
mirror://gentoo/firefox-fedora-files-${FEDORA_VERSION}.tar.bz2 |
| 21 |
http://tdegreni.free.fr/gentoo/firefox/firefox-fedora-files-${FEDORA_VERSION}.tar.bz2" |
| 17 |
|
22 |
|
| 18 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~sparc ~x86" |
23 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~sparc ~x86" |
| 19 |
SLOT="0" |
24 |
SLOT="0" |
|
Lines 128-133
Link Here
|
| 128 |
# patch to add border to tooltips |
133 |
# patch to add border to tooltips |
| 129 |
# https://bugzilla.mozilla.org/show_bug.cgi?id=238052 |
134 |
# https://bugzilla.mozilla.org/show_bug.cgi?id=238052 |
| 130 |
epatch ${FILESDIR}/gtk-tooltips.patch |
135 |
epatch ${FILESDIR}/gtk-tooltips.patch |
|
|
136 |
|
| 137 |
### Patches from the Fedora package |
| 138 |
### http://cvs.fedora.redhat.com/viewcvs/rpms/firefox/ |
| 139 |
### Many thanks to Christopher Aillon <caillon@redhat.com> |
| 140 |
# Disable the default application checks |
| 141 |
epatch ${FEDORA_FILES}/firefox-PR1-default-applications.patch |
| 142 |
# Add upstream fix to reduce round trips to xserver during remote control |
| 143 |
epatch ${FEDORA_FILES}/firefox-1.0-remote-intern-atoms.patch |
| 144 |
# Add upstream fix to call g_set_application_name |
| 145 |
epatch ${FEDORA_FILES}/firefox-1.0-g-application-name.patch |
| 131 |
} |
146 |
} |
| 132 |
|
147 |
|
| 133 |
src_compile() { |
148 |
src_compile() { |
|
Lines 255-260
Link Here
|
| 255 |
|
270 |
|
| 256 |
# Install docs |
271 |
# Install docs |
| 257 |
dodoc LEGAL LICENSE |
272 |
dodoc LEGAL LICENSE |
|
|
273 |
|
| 274 |
# Manpage from the Fedora package: |
| 275 |
doman ${FEDORA_FILES}/firefox.1 |
| 258 |
} |
276 |
} |
| 259 |
|
277 |
|
| 260 |
pkg_postinst() { |
278 |
pkg_postinst() { |
|
Lines 268-273
Link Here
|
| 268 |
# mozilla, mozilla-bin, firefox, firefox-bin, thunderbird and |
286 |
# mozilla, mozilla-bin, firefox, firefox-bin, thunderbird and |
| 269 |
# thunderbird-bin ebuilds. |
287 |
# thunderbird-bin ebuilds. |
| 270 |
update_mozilla_launcher_symlinks |
288 |
update_mozilla_launcher_symlinks |
|
|
289 |
|
| 290 |
# Update mimedb for the new .desktop file |
| 291 |
fdo-mime_desktop_database_update |
| 271 |
} |
292 |
} |
| 272 |
|
293 |
|
| 273 |
pkg_postrm() { |
294 |
pkg_postrm() { |
|
Lines 278-281
Link Here
|
| 278 |
/usr/libexec/mozilla-launcher -register |
299 |
/usr/libexec/mozilla-launcher -register |
| 279 |
|
300 |
|
| 280 |
update_mozilla_launcher_symlinks |
301 |
update_mozilla_launcher_symlinks |
|
|
302 |
|
| 303 |
# Update mimedb if .desktop file removed (real uninstall) |
| 304 |
[ -f ${ROOT}/usr/share/applications/mozilla-firefox.desktop ] \ |
| 305 |
|| fdo-mime_desktop_database_update |
| 281 |
} |
306 |
} |