remove firefox3

This commit is contained in:
martynas 2008-11-20 23:43:16 +00:00
parent 9944b0d1c5
commit b09c915b6d
43 changed files with 0 additions and 1967 deletions

View File

@ -1,156 +0,0 @@
# $OpenBSD: Makefile,v 1.14 2008/11/13 17:00:10 martynas Exp $
SHARED_ONLY= Yes
ONLY_FOR_ARCHS= alpha amd64 arm i386 powerpc sparc sparc64
COMMENT= redesign of Mozilla's browser component
VER= 3.0.4
DISTNAME= mozilla
PKGNAME= firefox3-${VER}
SO_VERSION= 20.0
# NOTE: Must bump minor version if any shlib's are removed from the
# components dir to avoid pkg_add -r issues.
.for _lib in accessibility appcomps auth autoconfig browsercomps \
browserdirprovider caps chardet chrome commandlines composer \
cookie docshell embedcomponents fileview gkgfxthebes gklayout \
gkplugin htmlpars i18n imgicon imglib2 intlapp jar50 jsd \
mozfind necko nsappshell oji permissions pipboot pipnss \
pippki places pref rdf remoteservice satchel spellchecker \
storagecomps system-pref tkautocomplete toolkitcomps txmgr \
uconv ucvmath universalchardet unixproxy webbrwsr widget_gtk2 \
windowds xmlextras xpconnect xpinstall zipwriter gfxpsshar \
gkgfx gtkxtbin jsj mozjs mozlcms thebes xpcom xpcom_core \
xul nullplugin unixprintplugin
SHARED_LIBS+= ${_lib} ${SO_VERSION}
.endfor
CATEGORIES= www
FLAVORS= debug
FLAVOR?=
HOMEPAGE= http://www.mozilla.org/projects/firefox/
# mozilla public license
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= http://releases.mozilla.org/pub/mozilla.org/firefox/releases/${VER}/source/
DISTFILES= firefox-${VER}-source.tar.bz2
MODULES= devel/gettext lang/python
RUN_DEPENDS= :esound-*:audio/esound \
:desktop-file-utils-*:devel/desktop-file-utils
BUILD_DEPENDS= :libIDL-*:devel/libIDL \
:zip->=2.3:archivers/zip
LIB_DEPENDS= gdk-x11-2.0,gdk_pixbuf-2.0,gtk-x11-2.0::x11/gtk+2 \
nspr4.>=20,plc4.>=20,plds4.>=20:nspr->=4.7:devel/nspr \
nss3.>=22,smime3.>=22,softokn3.>=22,ssl3.>=22:nss->=3.12:security/nss \
sqlite3.>=10.0:sqlite3->=3.5:databases/sqlite3
WANTLIB= X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext Xfixes Xft Xi \
Xinerama Xrandr Xrender Xt atk-1.0 c cairo expat fontconfig \
freetype glib-2.0 glitz gmodule-2.0 gobject-2.0 gthread-2.0 \
jpeg m pango-1.0 pangocairo-1.0 pangoft2-1.0 pixman-1 png \
pthread stdc++ z
VMEM_WARNING= Yes
USE_X11= Yes
USE_GMAKE= Yes
# Regression tests are too hard to adapt to run here
NO_REGRESS= Yes
MODGNU_CONFIG_GUESS_DIRS= ${WRKSRC}/build/autoconf
AUTOCONF_VERSION= 2.13
CONFIGURE_STYLE= autoconf no-autoheader
CONFIGURE_ARGS= --with-system-jpeg=${LOCALBASE} \
--with-system-zlib=/usr/lib \
--with-system-nspr \
--with-system-nss \
--with-pthreads \
--enable-xft \
--disable-optimize \
--enable-default-toolkit=cairo-gtk2 \
--disable-debug \
--disable-tests \
--disable-freetypetest \
--disable-mochitest \
--disable-libIDLtest \
--disable-glibtest \
--disable-pedantic \
--disable-installer \
--disable-updater \
--disable-gnomeui \
--disable-gnomevfs \
--disable-dbus \
--enable-xinerama \
--enable-svg \
--enable-svg-renderer=cairo \
--enable-system-cairo \
--enable-system-sqlite \
--enable-canvas \
--disable-libxul \
--enable-official-branding
# from browser/config/mozconfig
CONFIGURE_ARGS+=--enable-application=browser
.if ${FLAVOR:L:Mdebug}
CONFIGURE_ARGS+=--enable-debug
.endif
MAKE_ENV= MOZ_CO_PROJECT=browser \
LD_LIBRARY_PATH="${WRKSRC}/dist/bin" \
BUILD_OFFICIAL=1 \
MOZILLA_OFFICIAL=1 \
SO_VERSION="${SO_VERSION}"
CONFIGURE_ENV= ${MAKE_ENV} \
MOZ_ENABLE_COREXFONTS=1 \
PYTHON="${MODPY_BIN}" \
topsrcdir=${WRKSRC}
MODPY_RUNDEP= No
MOB= ${WRKSRC}/dist/bin
MOZ= ${PREFIX}/mozilla-firefox
DATADIRS= chrome components defaults dictionaries extensions \
greprefs icons modules plugins res searchplugins
pre-configure:
perl -pi -e 's|_LOCALBASE_|${LOCALBASE}|g; s|_X11BASE_|${X11BASE}|g' \
${WRKSRC}/browser/app/mozilla.in \
${WRKSRC}/extensions/spellcheck/hunspell/src/mozHunspell.cpp \
${WRKSRC}/js/src/xpconnect/shell/Makefile.in \
${WRKSRC}/toolkit/xre/nsXREDirProvider.cpp
do-install:
cd ${MOB} && \
find ${DATADIRS} -type d \
-exec ${INSTALL_DATA_DIR} ${MOZ}/{} \; && \
find ${DATADIRS} ! -type d \
-exec ${INSTALL_DATA} -m 644 {} ${MOZ}/{} \;
${INSTALL_DATA} ${FILESDIR}/README.OpenBSD \
${FILESDIR}/browserconfig.properties ${MOB}/*.so.${SO_VERSION} \
${MOB}/LICENSE ${MOB}/application.ini ${MOB}/blocklist.xml \
${MOB}/platform.ini ${MOZ}
${INSTALL_DATA_DIR} ${PREFIX}/share/applications
${INSTALL_DATA} ${FILESDIR}/firefox.desktop ${PREFIX}/share/applications
${INSTALL_MAN} ${FILESDIR}/mozilla-firefox.1 ${PREFIX}/man/man1
perl -pi -e 's,!!PREFIX!!,${TRUEPREFIX},g; \
s,!!LOCALBASE!!,${LOCALBASE},g; s,!!VERSION!!,${VER},g' \
${MOZ}/README.OpenBSD ${PREFIX}/man/man1/mozilla-firefox.1 \
${PREFIX}/share/applications/firefox.desktop
ln -f ${PREFIX}/man/man1/mozilla-firefox.1 ${PREFIX}/man/man1/firefox.1
${INSTALL_SCRIPT} ${MOB}/firefox ${PREFIX}/bin
ln -f ${PREFIX}/bin/firefox ${PREFIX}/bin/mozilla-firefox
${INSTALL_SCRIPT} ${MOB}/run-mozilla.sh ${MOZ}
${INSTALL_PROGRAM} ${MOB}/firefox-bin ${MOB}/mozilla-xremote-client \
${MOB}/regxpcom ${MOZ}
ln -f ${MOZ}/firefox-bin ${MOZ}/mozilla-firefox-bin
.include <bsd.port.mk>

View File

@ -1,5 +0,0 @@
MD5 (firefox-3.0.4-source.tar.bz2) = ihrEpZQBCKlkWMUwenTJjQ==
RMD160 (firefox-3.0.4-source.tar.bz2) = meNLdv7KIsdCh7Ho14oELDE8P5c=
SHA1 (firefox-3.0.4-source.tar.bz2) = FnFbSvfKK61rqo1FCj/Zyzda1tY=
SHA256 (firefox-3.0.4-source.tar.bz2) = aF33x/M/xxqMLQ+3HhkNWeLdkgB8Ks4a0XbmVfswEtc=
SIZE (firefox-3.0.4-source.tar.bz2) = 36989339

View File

@ -1,89 +0,0 @@
$OpenBSD: README.OpenBSD,v 1.5 2008/08/23 22:27:46 martynas Exp $
If you encounter strange problems relating to bookmarks, downloads,
window placement, toolbars, history, or other settings, it is
recommended that you create a new profile and attempt to
reproduce the problem before filing bugs. To create a new profile,
start Firefox with the -ProfileManager switch, e.g.
firefox -ProfileManager, and click "Create Profile".
If Firefox doesn't start at all, try starting it with -safe-mode
switch, which disables extensions and themes for your session.
To disable anti-aliasing (xft) set GDK_USE_XFT=0 in the environment.
Using mailto: links
To enable mailto: links in Firefox to open in your mail program,
you may have to set a mailto protocol handler. Type "about:config"
in Firefox's URL text field. Type "mailto" in the filter. If there
is a string called "network.protocol-handler.app.mailto", its value
names the application for mailto URLs. If present, right click,
choose Modify, and enter the path to your mail program, e.g.,
"!!LOCALBASE!!/bin/thunderbird" or "!!LOCALBASE!!/bin/kmail" (other
programs may work, but these two have been tested). If absent,
right click, choose New String. Set the name to
"network.protocol-handler.app.mailto" and the value to the path to
your mailer.
Plugins
Firefox looks for plugins in ~/.mozilla/plugins,
!!PREFIX!!/lib/mozilla-plugins, and !!PREFIX!!/mozilla-firefox/plugins.
If the environment variable MOZ_PLUGIN_PATH is specified, this
location will be overridden.
Using Java Applets
To make Applets work, you must symlink (not copy) the file
libjavaplugin_oji.so into one of the directories listed above.
This might be done like the following:
$ cd ~/.mozilla/plugins
$ ln -s !!LOCALBASE!!/jdk-1.5.0/jre/plugin/i386/ns7/libjavaplugin_oji.so .
$
Information on building Java (on some platforms) can be found in
http://www.openbsd.org/faq/faq13.html#javaflash
Enabling ECC cipher suites
Open the URL about:config and type security.ssl3 in the search
filter. This will bring up a list of all available cipher suites.
Double-click on any cipher to toggle its state. For example, to
enable TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA, double-click on
security.ssl3.ecdhe_ecdsa_aes128_sha until its boolean entry in the
Value column changes to true.
Using CUPS and LPR for printing
Since version 3, Firefox uses standard printing dialog from gtk+2.
In order to use CUPS for printing, you will need to install cups
subpackage of gtk+2, i.e.:
# pkg_add gtk+2-cups
Gtk+2 doesn't try to use LPR printing backend by default. In order
to use LPR for printing, create ~/.gtkrc-2.0 with the following
contents:
gtk-print-backends = "file,lpr,cups"
If you want to make this change available for all users, use
/etc/gtkrc instead of ~/.gtkrc-2.0.
Scaled images render incorrectly
Due to incompatibilities between some of the drivers and X server,
scaled images may render incorrectly. Possible workarounds are:
(Known to fix using NVIDIA cards.)
DefaultDepth 16
(Known to fix using ATI cards.)
Option "AccelMethod" "EXA"
Option "XAANoOffscreenPixmaps"
For more information please see:
http://bugs.freedesktop.org/show_bug.cgi?id=13795
http://bugs.freedesktop.org/show_bug.cgi?id=15098

View File

@ -1,2 +0,0 @@
browser.startup.homepage=about:blank
browser.startup.homepage_reset=about:blank

View File

@ -1,192 +0,0 @@
[Desktop Entry]
Version=1.0
Encoding=UTF-8
Name=Firefox Web Browser
Name[am]=
Name[ar]=
Name[az]=Firefox Veb Səyyahı
Name[be]=
Name[bg]=Интернет браузър Firefox
Name[bn]=
Name[bs]=Firefox web preglednik
Name[ca]=Navegador web Firefox
Name[cs]=Prohlížeč WWW Firefox
Name[cy]=Y Porwr Gwe Firefox
Name[da]=Firefox - internetsurfning
Name[de]=Firefox Webbrowser
Name[el]=Περιηγητής Διαδικτύου Firefox
Name[en_CA]=Firefox Web Browser
Name[en_GB]=Firefox Web Browser
Name[es]=Navegador Web Firefox
Name[et]=Firefox veebibrauser
Name[eu]=Firefox web arakatzailea
Name[fi]=Firefox, WWW-selain
Name[fr]=Navigateur Web Firefox
Name[ga]=Brabhsálaí Lín Firefox
Name[gu]=
Name[he]=דפדפן Firefox
Name[hi]=
Name[hr]=Firefox Web preglednik
Name[hu]=Firefox webböngésző
Name[id]=Web Browser Firefox
Name[it]=Browser web Firefox
Name[ja]=Firefox
Name[ko]=Firefox
Name[li]=Firefox Web Browser
Name[lt]=Firefox web naršyklė
Name[mk]=Firefox веб прелистувач
Name[ml]=ിി
Name[mn]=Firefox веб хөтөч
Name[ms]=Pelungsur Web Firefox
Name[nb]=Firefox nettleser
Name[nl]=Firefox Webbrowser
Name[nn]=Firefox nettlesar
Name[no]=Firefox nettleser
Name[pa]=
Name[pl]=Przeglądarka WWW Firefox
Name[pt]=Navegador Web Firefox
Name[pt_BR]=Navegador Web Firefox
Name[ro]=Navigatorul Firefox
Name[ru]=Веб-браузер Firefox
Name[sk]=
Name[sl]=Spletni brskalnik Firefox
Name[sq]=Firefox - Shfletuesi Web
Name[sr]=
Name[sr@Latn]=Veb čitač Spoznaja
Name[sv]=Webbläsaren Firefox
Name[ta]=ிி ி
Name[tk]=Firefox Web Ahtarçisi
Name[tr]=Firefox Web Tarayıcı
Name[uk]=Переглядач web Firefox
Name[vi]=Trình Duyt Web Firefox
Name[wa]=Betchteu waibe epiphany
Name[zh_CN]=Firefox Web
Name[zh_TW]=Firefox
GenericName=Web Browser
GenericName[ar]=متصفّح الانترنت
GenericName[az]=Veb Səyyahı
GenericName[be]=Вандроўнік па павуціньню
GenericName[bg]=Браузър
GenericName[bn]=
GenericName[bs]=Web preglednik
GenericName[ca]=Navegador web
GenericName[cs]=Prohlížeč WWW
GenericName[cy]=Porwr Gwe
GenericName[da]=Internetsurfning
GenericName[de]=Webbrowser
GenericName[el]=Περιηγητής Ιστοσελίδων
GenericName[en_CA]=Web Browser
GenericName[en_GB]=Web Browser
GenericName[es]=Navegador web
GenericName[et]=Veebilehitseja
GenericName[eu]=Web arakatzailea
GenericName[fi]=WWW-selain
GenericName[fr]=Navigateur Web Firefox
GenericName[ga]=Brabhsálaí Lín
GenericName[gu]=
GenericName[he]=דפדפן אינטרנט
GenericName[hi]=
GenericName[hr]=Web preglednik
GenericName[hu]=Webböngésző
GenericName[id]=Browser Web
GenericName[it]=Browser web
GenericName[ja]=GNOME
GenericName[ko]=
GenericName[li]=Wèb Browser
GenericName[lt]=Web naršyklė
GenericName[mk]=Веб прелистувач
GenericName[mn]=Веб хөтөч
GenericName[ms]=Pelungsur Web
GenericName[nb]=Nettleser
GenericName[nl]=Web-browser
GenericName[nn]=Nettlesar
GenericName[no]=Nettleser
GenericName[pa]=
GenericName[pl]=Przeglądarka WWW
GenericName[pt]=Navegador Web
GenericName[pt_BR]=Navegador Web
GenericName[ro]=Navigator Internet
GenericName[ru]=Веб-браузер
GenericName[sk]=WWW prehliadač
GenericName[sl]=Spletni brskalnik
GenericName[sq]=Shfletuesi Web
GenericName[sr]=Веб читач
GenericName[sr@Latn]=Veb čitač
GenericName[sv]=Webbläsare
GenericName[ta]= ி
GenericName[th]=
GenericName[tk]=Web Ahtarçysy
GenericName[tr]=Web Tarayıcı
GenericName[uk]=Переглядач web-сторінок
GenericName[vi]=Trình duyt Web
GenericName[wa]=Betchteu waibe
GenericName[zh_CN]=Web
GenericName[zh_TW]=
Comment=Browse the web
Comment[ar]=تصفح الانترنت
Comment[az]=Vebi gəzin
Comment[be]=Вандраваць па павуціньню
Comment[bg]=Сърфиране в интернет
Comment[bn]=
Comment[bs]=Pregledaj na internetu
Comment[ca]=Navegueu per la web
Comment[cs]=Prohlížet WWW
Comment[cy]=Pori'r we
Comment[da]=Surf på internettet
Comment[de]=Im Web surfen
Comment[el]=Περιήγηση στον παγκόσμιο ιστό
Comment[en_CA]=Browse the web
Comment[en_GB]=Browse the web
Comment[es]=Navegar por la web
Comment[et]=Sirvi veebi
Comment[eu]=Arakatu web-a
Comment[fi]=Selaa WWW:tä
Comment[fr]=Naviguer sur Internet
Comment[ga]=Brabhsáil an Líon
Comment[gu]=
Comment[he]=גלוש ברשת
Comment[hi]=
Comment[hr]=Pregledaj Web
Comment[hu]=A világháló böngészése
Comment[id]=Jelajah web
Comment[it]=Esplora il web
Comment[ja]=
Comment[ko]=
Comment[li]=Blajere op internet
Comment[lt]=Naršyti internete
Comment[mk]=Прелистувајте на веб
Comment[ml]= ി
Comment[mn]=Веб броузе хийх
Comment[ms]=Layari web
Comment[nb]=Surf på nettet
Comment[nl]=Websurfen
Comment[nn]=Surf på nettet
Comment[no]=Surf på nettet
Comment[pa]=
Comment[pl]=Przeglądanie stron WWW
Comment[pt]=Navegar na web
Comment[pt_BR]=Navegar na web
Comment[ro]=Navigare Internet
Comment[ru]=Веб-браузер
Comment[sk]=Prehliadať internet
Comment[sl]=Brskaj po spletu
Comment[sq]=Eksploro web-in
Comment[sr]=Прегледај веб
Comment[sr@Latn]=Pregledaj veb
Comment[sv]=Surfa på nätet
Comment[ta]=ி
Comment[th]= Firefox
Comment[tk]=Webi Ahtar
Comment[tr]=Web'e Gözat
Comment[uk]=Програма перегляду web-сторінок
Comment[vi]=Duyt web
Comment[wa]=Naivyî avå les waibes
Comment[zh_CN]= Web
Comment[zh_TW]=
Exec=firefox %u
Icon=!!PREFIX!!/mozilla-firefox/icons/mozicon50.xpm
StartupNotify=false
Terminal=false
Type=Application
Categories=Application;Network;
MimeType=text/html;text/xml;application/xhtml+xml;application/vnd.mozilla.xul+xml;text/mml;

View File

@ -1,115 +0,0 @@
.TH firefox 1 "March 28, 2005" firefox "Linux User's Manual"
.SH NAME
firefox \- redesign of Mozilla's browser component.
.SH SYNOPSIS
.B firefox
[\fIOPTIONS\fR] [\fIURL\fR]
.B firefox-bin
[\fIOPTIONS\fR] [\fIURL\fR]
.SH DESCRIPTION
\fBFirefox\fR is an open-source web browser, designed for standards compliance,
performance and portability.
.SH USAGE
\fBfirefox\fR is a simple shell script that will set up the environment for
the actual executable, \fBfirefox-bin\fR.
.SH OPTIONS
A summary of the options supported by \fBfirefox\fR is included below.
.SS "GTK options"
\fB\-\-gdk-debug=\fR\fIFLAGS\fR
Gdk debugging flags to set
.TP
\fB\-\-gdk-no-debug=\fR\fIFLAGS\fR
Gdk debugging flags to unset
.TP
\fB\-\-gtk-debug=\fR\fIFLAGS\fR
Gtk+ debugging flags to set
.TP
\fB\-\-gtk-no-debug=\fR\fIFLAGS\fR
Gtk+ debugging flags to unset
.TP
\fB\-\-gtk-module=\fR\fIMODULE\fR
Load an additional Gtk module
.SS "X11 options"
.TP
.BI \-\-display= DISPLAY
X display to use
.TP
.B \--sync
Make X calls synchronous
.TP
.B \-\-no-xshm
Don't use X shared memory extension
.TP
.BI \-\-xim-preedit= STYLE
.TP
.BI \-\-xim-status= STYLE
.TP
.B \-\-g-fatal-warnings
Make all warnings fatal
.SS "Firefox options"
.TP
\fB\-height\fR \fIvalue\fR
Set height of startup window to \fIvalue\fR.
.TP
.B \-h, \-help
Show summary of options.
.TP
\fB\-width\fR \fIvalue\fR
Set width of startup window to \fIvalue\fR.
.TP
.B \-v, \-version
Print \fBfirefox-bin\fR version.
.TP
\fB\-CreateProfile\fR \fIprofile\fR
Create \fIprofile\fR.
.TP
\fB\-P\fR \fIprofile\fR
Start with \fIprofile\fR.
.TP
.B \-ProfileManager
Start with profile manager.
.TP
\fB\-UILocale\fR \fIlocale\fR
Start with \fIlocale\fR resources as UI Locale.
.TP
\fB\-contentLocale\fR \fIlocale\fR
Start with \fIlocale\fR resources as content Locale.
.TP
.B \-safe-mode
Disables extensions and themes for the session.
.TP
.B \-jsconsole
Start with Javascript Console
.TP
\fB\-chrome\fR \fIurl\fR
Load the specified chrome.
.TP
.B \-browser
Open a browser window.
.SH FILES
\fI!!PREFIX!!/bin/firefox\fR - shell script wrapping \fBfirefox\fR
.br
\fI!!PREFIX!!/mozilla-firefox/firefox-bin\fR - \fBfirefox\fR executable
.SH VERSION
!!VERSION!!
.SH BUGS
To report a bug, please visit \fIhttps://bugzilla.mozilla.org/\fR
.SH "SEE ALSO"
.BR galeon(1)
.SH AUTHORS
.TP
.B The Mozilla Organization
.I http://www.mozilla.org/about.html

View File

@ -1,12 +0,0 @@
$OpenBSD: patch-accessible_src_atk_nsAppRootAccessible_cpp,v 1.1.1.1 2008/07/25 01:52:55 martynas Exp $
--- accessible/src/atk/nsAppRootAccessible.cpp.orig Thu Oct 11 13:13:32 2007
+++ accessible/src/atk/nsAppRootAccessible.cpp Fri Jun 13 19:31:10 2008
@@ -55,7 +55,7 @@ typedef GType (* AtkGetTypeType) (void);
GType g_atk_hyperlink_impl_type = G_TYPE_INVALID;
static PRBool sATKChecked = PR_FALSE;
static PRLibrary *sATKLib = nsnull;
-static const char sATKLibName[] = "libatk-1.0.so.0";
+static const char sATKLibName[] = "libatk-1.0.so";
static const char sATKHyperlinkImplGetTypeSymbol[] =
"atk_hyperlink_impl_get_type";
static const char sAccEnv [] = "GNOME_ACCESSIBILITY";

View File

@ -1,11 +0,0 @@
$OpenBSD: patch-browser_app_application_ini,v 1.1 2008/10/16 15:35:34 martynas Exp $
--- browser/app/application.ini.orig Tue Aug 26 22:20:03 2008
+++ browser/app/application.ini Tue Oct 14 04:13:51 2008
@@ -56,7 +56,4 @@ EnableProfileMigrator=1
EnableExtensionManager=1
[Crash Reporter]
-#if MOZILLA_OFFICIAL
-Enabled=1
-#endif
ServerURL=https://crash-reports.mozilla.com/submit

View File

@ -1,28 +0,0 @@
$OpenBSD: patch-browser_app_mozilla_in,v 1.2 2008/07/25 01:55:40 martynas Exp $
--- browser/app/mozilla.in.orig Fri Oct 5 10:29:26 2007
+++ browser/app/mozilla.in Sat Nov 17 16:13:18 2007
@@ -52,6 +52,11 @@
#uncomment for debugging
#set -x
+LIMIT=`ulimit -n`
+if [ $LIMIT -lt 128 -a "${LIMIT}" != "unlimited" ]; then
+ ulimit -Sn 128
+fi
+
moz_libdir=%MOZAPPDIR%
# Use run-mozilla.sh in the current dir if it exists
@@ -130,6 +135,12 @@ do
;;
esac
done
+
+if [ `_X11BASE_/bin/fc-list | wc -l` -eq 0 ]; then
+ export GDK_USE_XFT=0
+fi
+
+export MOZ_PLUGIN_PATH=${MOZ_PLUGIN_PATH:=_LOCALBASE_/lib/mozilla-plugins}
if [ $debugging = 1 ]
then

View File

@ -1,25 +0,0 @@
$OpenBSD: patch-browser_app_profile_firefox_js,v 1.1 2008/10/16 15:35:34 martynas Exp $
--- browser/app/profile/firefox.js.orig Mon Jul 21 21:47:20 2008
+++ browser/app/profile/firefox.js Wed Oct 15 23:41:06 2008
@@ -89,7 +89,7 @@ pref("browser.dictionaries.download.url", "https://%LO
// App-specific update preferences
// Whether or not app updates are enabled
-pref("app.update.enabled", true);
+pref("app.update.enabled", false);
// This preference turns on app.update.mode and allows automatic download and
// install to take place. We use a separate boolean toggle for this to make
@@ -590,10 +590,10 @@ pref("gecko.handlerService.allowRegisterFromDifferentH
#ifdef MOZ_SAFE_BROWSING
// Safe browsing does nothing unless this pref is set
-pref("browser.safebrowsing.enabled", true);
+pref("browser.safebrowsing.enabled", false);
// Prevent loading of pages identified as malware
-pref("browser.safebrowsing.malware.enabled", true);
+pref("browser.safebrowsing.malware.enabled", false);
// Non-enhanced mode (local url lists) URL list to check for updates
pref("browser.safebrowsing.provider.0.updateURL", "http://safebrowsing.clients.google.com/safebrowsing/downloads?client={moz:client}&appver={moz:version}&pver=2.1");

View File

@ -1,13 +0,0 @@
$OpenBSD: patch-browser_base_jar_mn,v 1.1.1.1 2008/07/25 01:52:55 martynas Exp $
--- browser/base/jar.mn.orig Sun Apr 13 00:26:19 2008
+++ browser/base/jar.mn Fri Jul 18 00:54:00 2008
@@ -21,9 +21,6 @@ browser.jar:
* content/browser/browser.js (content/browser.js)
* content/browser/browser.xul (content/browser.xul)
* content/browser/credits.xhtml (content/credits.xhtml)
-* content/browser/EULA.js (content/EULA.js)
-* content/browser/EULA.xhtml (content/EULA.xhtml)
-* content/browser/EULA.xul (content/EULA.xul)
* content/browser/metaData.js (content/metaData.js)
* content/browser/metaData.xul (content/metaData.xul)
* content/browser/pageinfo/pageInfo.xul (content/pageinfo/pageInfo.xul)

View File

@ -1,37 +0,0 @@
$OpenBSD: patch-browser_components_nsBrowserGlue_js,v 1.2 2008/09/24 19:25:40 martynas Exp $
--- browser/components/nsBrowserGlue.js.orig Tue Sep 16 22:07:25 2008
+++ browser/components/nsBrowserGlue.js Tue Sep 23 20:40:15 2008
@@ -175,33 +175,6 @@ BrowserGlue.prototype = {
// profile startup handler (contains profile initialization routines)
_onProfileStartup: function()
{
- // Check to see if the EULA must be shown on startup
-
- var prefBranch = Cc["@mozilla.org/preferences-service;1"].
- getService(Ci.nsIPrefBranch);
- var mustDisplayEULA = false;
- try {
- mustDisplayEULA = !prefBranch.getBoolPref("browser.EULA.override");
- } catch (e) {
- // Pref might not exist
- }
-
- // Make sure it hasn't already been accepted
- if (mustDisplayEULA) {
- try {
- var EULAVersion = prefBranch.getIntPref("browser.EULA.version");
- mustDisplayEULA = !prefBranch.getBoolPref("browser.EULA." + EULAVersion + ".accepted");
- } catch(ex) {
- }
- }
-
- if (mustDisplayEULA) {
- var ww2 = Cc["@mozilla.org/embedcomp/window-watcher;1"].
- getService(Ci.nsIWindowWatcher);
- ww2.openWindow(null, "chrome://browser/content/EULA.xul",
- "_blank", "chrome,centerscreen,modal,resizable=yes", null);
- }
-
this.Sanitizer.onStartup();
// check if we're in safe mode
var app = Cc["@mozilla.org/xre/app-info;1"].getService(Ci.nsIXULAppInfo).

View File

@ -1,22 +0,0 @@
$OpenBSD: patch-config_autoconf_mk_in,v 1.1.1.1 2008/07/25 01:52:55 martynas Exp $
--- config/autoconf.mk.in.orig Thu Oct 11 21:50:54 2007
+++ config/autoconf.mk.in Sun Nov 18 15:03:16 2007
@@ -58,14 +58,14 @@ MOZ_PKG_SPECIAL = @MOZ_PKG_SPECIAL@
prefix = @prefix@
exec_prefix = @exec_prefix@
bindir = @bindir@
-includedir = @includedir@/$(MOZ_APP_NAME)-$(MOZ_APP_VERSION)
+includedir = $(prefix)/mozilla-firefox/include
libdir = @libdir@
datadir = @datadir@
mandir = @mandir@
-idldir = $(datadir)/idl/$(MOZ_APP_NAME)-$(MOZ_APP_VERSION)
+idldir = $(prefix)/mozilla-firefox/idl
-installdir = $(libdir)/$(MOZ_APP_NAME)-$(MOZ_APP_VERSION)
-sdkdir = $(libdir)/$(MOZ_APP_NAME)-devel-$(MOZ_APP_VERSION)
+installdir = $(prefix)/mozilla-firefox
+sdkdir = $(prefix)/mozilla-firefox
DIST = $(DEPTH)/dist
LIBXUL_SDK = @LIBXUL_SDK@

View File

@ -1,16 +0,0 @@
$OpenBSD: patch-config_rules_mk,v 1.1.1.1 2008/07/25 01:52:55 martynas Exp $
--- config/rules.mk.orig Wed Jun 25 02:29:46 2008
+++ config/rules.mk Fri Jul 25 04:37:19 2008
@@ -482,6 +482,12 @@ endif
endif
endif
+ifeq ($(OS_ARCH),OpenBSD)
+ifdef IS_COMPONENT
+EXTRA_DSO_LDOPTS += -Wl,-Bsymbolic
+endif
+endif
+
ifeq ($(OS_ARCH),Linux)
ifneq (,$(filter mips mipsel,$(OS_TEST)))
ifeq ($(MODULE),layout)

View File

@ -1,30 +0,0 @@
$OpenBSD: patch-configure_in,v 1.2 2008/09/24 19:25:40 martynas Exp $
--- configure.in.orig Thu Aug 14 13:00:32 2008
+++ configure.in Tue Sep 23 20:37:31 2008
@@ -128,7 +128,7 @@ LIBGNOME_VERSION=2.0
STARTUP_NOTIFICATION_VERSION=0.8
DBUS_VERSION=0.60
LCMS_VERSION=1.17
-SQLITE_VERSION=3.5.9
+SQLITE_VERSION=3.5
MSMANIFEST_TOOL=
@@ -2223,7 +2223,7 @@ case "$target" in
;;
*-openbsd*)
- DLL_SUFFIX=".so.1.0"
+ DLL_SUFFIX=".so.${SO_VERSION}"
DSO_CFLAGS=''
DSO_PIC_CFLAGS='-fPIC'
DSO_LDOPTS='-shared -fPIC'
@@ -4047,7 +4047,7 @@ MOZ_ARG_WITH_BOOL(system-nss,
_USE_SYSTEM_NSS=1 )
if test -n "$_USE_SYSTEM_NSS"; then
- AM_PATH_NSS(3.12.0, [MOZ_NATIVE_NSS=1], [MOZ_NATIVE_NSS=])
+ AM_PATH_NSS(3.12, [MOZ_NATIVE_NSS=1], [MOZ_NATIVE_NSS=])
fi
if test -n "$MOZ_NATIVE_NSS"; then

View File

@ -1,12 +0,0 @@
$OpenBSD: patch-content_xslt_public_txDouble_h,v 1.1.1.1 2008/07/25 01:52:55 martynas Exp $
--- content/xslt/public/txDouble.h.orig Fri Jan 25 09:02:04 2008
+++ content/xslt/public/txDouble.h Mon Jul 14 01:25:38 2008
@@ -63,7 +63,7 @@ static fp_except_t oldmask = fpsetmask(~allmask);
*/
#if defined(__arm) || defined(__arm32__) || defined(__arm26__) || defined(__arm__)
-#if !defined(__VFP_FP__)
+#if !defined(__VFP_FP__) && !defined(__OpenBSD__) /* Armel ABI */
#define FPU_IS_ARM_FPA
#endif
#endif

View File

@ -1,25 +0,0 @@
$OpenBSD: patch-content_xslt_src_base_txDouble_cpp,v 1.1.1.1 2008/07/25 01:52:55 martynas Exp $
--- content/xslt/src/base/txDouble.cpp.orig Fri Jan 25 10:02:04 2008
+++ content/xslt/src/base/txDouble.cpp Thu Jun 19 22:39:42 2008
@@ -49,14 +49,16 @@
* Utility class for doubles
*/
+#define STRICT_ALIGN __attribute__ ((aligned (8)))
+
//-- Initialize Double related constants
-const txdpun nanMask = TX_DOUBLE_NaN;
+const txdpun nanMask STRICT_ALIGN = TX_DOUBLE_NaN;
#ifdef IS_BIG_ENDIAN
-const txdpun infMask = {{TX_DOUBLE_HI32_EXPMASK, 0}};
-const txdpun negInfMask = {{TX_DOUBLE_HI32_EXPMASK | TX_DOUBLE_HI32_SIGNBIT, 0}};
+const txdpun infMask STRICT_ALIGN = {{TX_DOUBLE_HI32_EXPMASK, 0}};
+const txdpun negInfMask STRICT_ALIGN = {{TX_DOUBLE_HI32_EXPMASK | TX_DOUBLE_HI32_SIGNBIT, 0}};
#else
-const txdpun infMask = {{0, TX_DOUBLE_HI32_EXPMASK}};
-const txdpun negInfMask = {{0, TX_DOUBLE_HI32_EXPMASK | TX_DOUBLE_HI32_SIGNBIT}};
+const txdpun infMask STRICT_ALIGN = {{0, TX_DOUBLE_HI32_EXPMASK}};
+const txdpun negInfMask STRICT_ALIGN = {{0, TX_DOUBLE_HI32_EXPMASK | TX_DOUBLE_HI32_SIGNBIT}};
#endif
const double Double::NaN = nanMask.d;

View File

@ -1,28 +0,0 @@
$OpenBSD: patch-extensions_spellcheck_hunspell_src_mozHunspell_cpp,v 1.1 2008/09/25 21:17:38 martynas Exp $
--- extensions/spellcheck/hunspell/src/mozHunspell.cpp.orig Fri Oct 5 22:13:18 2007
+++ extensions/spellcheck/hunspell/src/mozHunspell.cpp Thu Sep 25 01:30:45 2008
@@ -63,6 +63,7 @@
#include "nsISimpleEnumerator.h"
#include "nsIDirectoryEnumerator.h"
#include "nsIFile.h"
+#include "nsILocalFile.h"
#include "nsDirectoryServiceUtils.h"
#include "nsDirectoryServiceDefs.h"
#include "mozISpellI18NManager.h"
@@ -331,6 +332,16 @@ mozHunspell::LoadDictionaryList()
appDir->AppendNative(NS_LITERAL_CSTRING("dictionaries"));
LoadDictionariesFromDir(appDir);
}
+ }
+
+ // try to load the generic mozilla/dictionaries
+ nsCOMPtr<nsIFile> mozillaDir;
+ nsCOMPtr<nsILocalFile> localFile;
+ rv = NS_NewNativeLocalFile(nsDependentCString(
+ "_LOCALBASE_/share/mozilla-dicts"), PR_TRUE, getter_AddRefs(localFile));
+ if (localFile && NS_SUCCEEDED(rv)) {
+ localFile->QueryInterface(NS_GET_IID(nsIFile), getter_AddRefs(mozillaDir));
+ LoadDictionariesFromDir(mozillaDir);
}
nsCOMPtr<nsISimpleEnumerator> dictDirs;

View File

@ -1,12 +0,0 @@
$OpenBSD: patch-gfx_src_psshared_nsCUPSShim_cpp,v 1.1.1.1 2008/07/25 01:52:55 martynas Exp $
--- gfx/src/psshared/nsCUPSShim.cpp.orig Sun May 8 18:01:20 2005
+++ gfx/src/psshared/nsCUPSShim.cpp Fri Apr 6 17:21:07 2007
@@ -59,7 +59,7 @@ static const int gSymNameCt = sizeof(gSymName) / sizeo
PRBool
nsCUPSShim::Init()
{
- mCupsLib = PR_LoadLibrary("libcups.so.2");
+ mCupsLib = PR_LoadLibrary("libcups.so");
if (!mCupsLib)
return PR_FALSE;

View File

@ -1,14 +0,0 @@
$OpenBSD: patch-gfx_src_thebes_Makefile_in,v 1.1.1.1 2008/07/25 01:52:55 martynas Exp $
--- gfx/src/thebes/Makefile.in.orig Mon Feb 18 10:50:16 2008
+++ gfx/src/thebes/Makefile.in Sun Apr 13 18:36:03 2008
@@ -153,6 +153,10 @@ DEFINES += -DMOZ_ENABLE_GTK2
CXXFLAGS += $(MOZ_PANGO_CFLAGS)
endif
+ifdef MOZ_ENABLE_COREXFONTS
+EXTRA_DSO_LDOPTS += -lpangox-1.0
+endif
+
ifeq ($(MOZ_WIDGET_TOOLKIT),os2)
CXXFLAGS += $(CAIRO_FT_CFLAGS)
endif

View File

@ -1,10 +0,0 @@
$OpenBSD: patch-js_src_build_mk,v 1.1 2008/08/23 22:27:46 martynas Exp $
--- js/src/build.mk.orig Wed Feb 14 18:58:53 2007
+++ js/src/build.mk Thu Aug 21 17:43:27 2008
@@ -38,6 +38,5 @@
TIERS += js
tier_js_dirs += \
- js/src/fdlibm \
js/src \
$(NULL)

View File

@ -1,12 +0,0 @@
$OpenBSD: patch-js_src_jsnum_h,v 1.1.1.1 2008/07/25 01:52:55 martynas Exp $
--- js/src/jsnum.h.orig Mon Mar 10 20:27:44 2008
+++ js/src/jsnum.h Mon Jul 14 01:25:38 2008
@@ -56,7 +56,7 @@ JS_BEGIN_EXTERN_C
* the high and low words are in big endian order).
*/
#if defined(__arm) || defined(__arm32__) || defined(__arm26__) || defined(__arm__)
-#if !defined(__VFP_FP__)
+#if !defined(__VFP_FP__) && !defined(__OpenBSD__) /* Armel ABI */
#define FPU_IS_ARM_FPA
#endif
#endif

View File

@ -1,12 +0,0 @@
$OpenBSD: patch-js_src_xpconnect_shell_Makefile_in,v 1.2 2008/09/24 19:25:40 martynas Exp $
--- js/src/xpconnect/shell/Makefile.in.orig Thu Aug 7 12:12:57 2008
+++ js/src/xpconnect/shell/Makefile.in Tue Sep 23 20:37:32 2008
@@ -59,6 +59,8 @@ CMMSRCS += xpcshellMacUtils.mm
endif
LIBS = \
+ -Wl,-rpath-link,_LOCALBASE_/lib/ \
+ -Wl,-rpath-link,_X11BASE_/lib/ \
$(DIST)/lib/$(LIB_PREFIX)xpcomglue_s.$(LIB_SUFFIX) \
$(MOZ_JS_LIBS) \
$(XPCOM_LIBS) \

View File

@ -1,30 +0,0 @@
$OpenBSD: patch-modules_libpr0n_decoders_icon_gtk_nsIconChannel_cpp,v 1.1.1.1 2008/07/25 01:52:55 martynas Exp $
--- modules/libpr0n/decoders/icon/gtk/nsIconChannel.cpp.orig Sat Dec 8 02:08:09 2007
+++ modules/libpr0n/decoders/icon/gtk/nsIconChannel.cpp Tue May 6 03:25:21 2008
@@ -208,7 +208,7 @@ ensure_libgnomeui()
// Attempt to get the libgnomeui symbol references. We do it this way so that stock icons from Init()
// don't get held back by InitWithGnome()'s libgnomeui dependency.
if (!gTriedToLoadGnomeLibs) {
- gLibGnomeUI = PR_LoadLibrary("libgnomeui-2.so.0");
+ gLibGnomeUI = PR_LoadLibrary("libgnomeui-2.so");
if (!gLibGnomeUI)
return NS_ERROR_NOT_AVAILABLE;
@@ -234,7 +234,7 @@ static nsresult
ensure_libgnome()
{
if (!gTriedToLoadGnomeLibs) {
- gLibGnome = PR_LoadLibrary("libgnome-2.so.0");
+ gLibGnome = PR_LoadLibrary("libgnome-2.so");
if (!gLibGnome)
return NS_ERROR_NOT_AVAILABLE;
@@ -256,7 +256,7 @@ static nsresult
ensure_libgnomevfs()
{
if (!gTriedToLoadGnomeLibs) {
- gLibGnomeVFS = PR_LoadLibrary("libgnomevfs-2.so.0");
+ gLibGnomeVFS = PR_LoadLibrary("libgnomevfs-2.so");
if (!gLibGnomeVFS)
return NS_ERROR_NOT_AVAILABLE;

View File

@ -1,9 +0,0 @@
$OpenBSD: patch-netwerk_cookie_src_Makefile_in,v 1.1 2008/10/07 22:31:13 martynas Exp $
--- netwerk/cookie/src/Makefile.in.orig Sun Oct 5 22:38:13 2008
+++ netwerk/cookie/src/Makefile.in Sun Oct 5 22:40:34 2008
@@ -60,5 +60,4 @@ CPPSRCS = \
include $(topsrcdir)/config/rules.mk
-CXXFLAGS += $(WARNINGS_AS_ERRORS)
DEFINES += -DIMPL_NS_NET

View File

@ -1,17 +0,0 @@
$OpenBSD: patch-other-licenses_branding_firefox_pref_firefox-branding_js,v 1.1 2008/10/16 15:35:34 martynas Exp $
--- other-licenses/branding/firefox/pref/firefox-branding.js.orig Tue Sep 16 22:07:25 2008
+++ other-licenses/branding/firefox/pref/firefox-branding.js Tue Oct 14 23:04:26 2008
@@ -1,5 +1,5 @@
-pref("startup.homepage_override_url","http://%LOCALE%.www.mozilla.com/%LOCALE%/%APP%/%VERSION%/whatsnew/");
-pref("startup.homepage_welcome_url","http://%LOCALE%.www.mozilla.com/%LOCALE%/%APP%/%VERSION%/firstrun/");
+pref("startup.homepage_override_url","about:blank");
+pref("startup.homepage_welcome_url","about:blank");
// URL user can browse to manually if for some reason all update installation
// attempts fail.
pref("app.update.url.manual", "http://%LOCALE%.www.mozilla.com/%LOCALE%/%APP%/");
@@ -14,4 +14,4 @@ pref("browser.search.param.yahoo-fr", "moz2");
pref("browser.search.param.yahoo-fr-cjkt", "moz2");
pref("browser.search.param.yahoo-f-CN", "D3_g");
-pref("browser.EULA.override", false); // Do show EULA on first start
+pref("browser.EULA.override", true); // Do show EULA on first start

View File

@ -1,12 +0,0 @@
$OpenBSD: patch-security_coreconf_OpenBSD_mk,v 1.1.1.1 2008/07/25 01:52:55 martynas Exp $
--- security/coreconf/OpenBSD.mk.orig Thu Nov 22 06:39:56 2007
+++ security/coreconf/OpenBSD.mk Sun Apr 13 18:35:49 2008
@@ -56,7 +56,7 @@ OS_LIBS += -pthread
DSO_LDOPTS += -pthread
endif
-DLL_SUFFIX = so.1.0
+DLL_SUFFIX = so.${SO_VERSION}
OS_CFLAGS = $(DSO_CFLAGS) $(OS_REL_CFLAGS) -ansi -Wall -Wno-switch -pipe -DOPENBSD

View File

@ -1,14 +0,0 @@
$OpenBSD: patch-security_manager_ssl_src_Makefile_in,v 1.1.1.1 2008/07/25 01:52:55 martynas Exp $
--- security/manager/ssl/src/Makefile.in.orig Wed Dec 5 09:34:57 2007
+++ security/manager/ssl/src/Makefile.in Sun Apr 13 20:35:35 2008
@@ -135,7 +135,10 @@ REQUIRES = nspr \
EXTRA_DEPS = $(NSS_DEP_LIBS)
+NSS_LIBDIR = $(shell $(NSS_CONFIG) --libdir)
+
DEFINES += -DNSS_ENABLE_ECC
+DEFINES += -DNSS_LIBDIR=\"$(NSS_LIBDIR)\"
# Use local includes because they are inserted before INCLUDES
# so that Mozilla's nss.h is used, not glibc's

View File

@ -1,27 +0,0 @@
$OpenBSD: patch-security_manager_ssl_src_nsNSSComponent_cpp,v 1.1.1.1 2008/07/25 01:52:55 martynas Exp $
--- security/manager/ssl/src/nsNSSComponent.cpp.orig Tue Oct 30 22:26:27 2007
+++ security/manager/ssl/src/nsNSSComponent.cpp Sun Nov 18 16:34:06 2007
@@ -753,11 +753,10 @@ nsNSSComponent::InstallLoadableRoots()
return;
const char *possible_ckbi_locations[] = {
- NS_XPCOM_CURRENT_PROCESS_DIR,
+ 0, // This special value means:
+ // search for ckbi in NSS_LIBDIR
NS_GRE_DIR,
- 0 // This special value means:
- // search for ckbi in the directories on the shared
- // library/DLL search path
+ NS_XPCOM_CURRENT_PROCESS_DIR
};
for (size_t il = 0; il < sizeof(possible_ckbi_locations)/sizeof(const char*); ++il) {
@@ -766,7 +765,7 @@ nsNSSComponent::InstallLoadableRoots()
if (!possible_ckbi_locations[il])
{
- fullLibraryPath = PR_GetLibraryName(nsnull, "nssckbi");
+ fullLibraryPath = PR_GetLibraryName(NSS_LIBDIR, "nssckbi");
}
else
{

View File

@ -1,45 +0,0 @@
$OpenBSD: patch-toolkit_components_url-classifier_src_nsUrlClassifierDBService_cpp,v 1.2 2008/09/24 19:25:40 martynas Exp $
--- toolkit/components/url-classifier/src/nsUrlClassifierDBService.cpp.orig Mon Aug 25 23:59:14 2008
+++ toolkit/components/url-classifier/src/nsUrlClassifierDBService.cpp Tue Sep 23 20:37:33 2008
@@ -2023,8 +2023,20 @@ nsUrlClassifierDBServiceWorker::GetShaEntries(PRUint32
return NS_ERROR_FAILURE;
}
const nsCSubstring& str = Substring(chunk, start, 4);
+#if 0
+ // You can't just cast a char* to an int* and access through it
const PRUint32 *p = reinterpret_cast<const PRUint32*>(str.BeginReading());
entry->mAddChunkId = PR_ntohl(*p);
+#else
+ // the old-school way...
+ union {
+ PRUint32 i;
+ char c[4];
+ } u;
+
+ memcpy(u.c, reinterpret_cast<const char *>(str.BeginReading()), 4);
+ entry->mAddChunkId = PR_ntohl(u.i);
+#endif
if (entry->mAddChunkId == 0) {
NS_WARNING("Received invalid chunk number.");
return NS_ERROR_FAILURE;
@@ -2052,8 +2064,20 @@ nsUrlClassifierDBServiceWorker::GetShaEntries(PRUint32
if (chunkType == CHUNK_SUB) {
const nsCSubstring& str = Substring(chunk, start, 4);
+#if 0
+ // You can't just cast a char* to an int* and access through it
const PRUint32 *p = reinterpret_cast<const PRUint32*>(str.BeginReading());
entry->mAddChunkId = PR_ntohl(*p);
+#else
+ // the old-school way...
+ union {
+ PRUint32 i;
+ char c[4];
+ } u;
+
+ memcpy(u.c, reinterpret_cast<const char *>(str.BeginReading()), 4);
+ entry->mAddChunkId = PR_ntohl(u.i);
+#endif
if (entry->mAddChunkId == 0) {
NS_WARNING("Received invalid chunk number.");
return NS_ERROR_FAILURE;

View File

@ -1,17 +0,0 @@
$OpenBSD: patch-toolkit_xre_nsNativeAppSupportUnix_cpp,v 1.1.1.1 2008/07/25 01:52:55 martynas Exp $
--- toolkit/xre/nsNativeAppSupportUnix.cpp.orig Thu Feb 21 12:55:06 2008
+++ toolkit/xre/nsNativeAppSupportUnix.cpp Tue May 6 03:25:56 2008
@@ -214,11 +214,11 @@ nsNativeAppSupportUnix::Start(PRBool *aRetVal)
*aRetVal = PR_TRUE;
- PRLibrary *gnomeuiLib = PR_LoadLibrary("libgnomeui-2.so.0");
+ PRLibrary *gnomeuiLib = PR_LoadLibrary("libgnomeui-2.so");
if (!gnomeuiLib)
return NS_OK;
- PRLibrary *gnomeLib = PR_LoadLibrary("libgnome-2.so.0");
+ PRLibrary *gnomeLib = PR_LoadLibrary("libgnome-2.so");
if (!gnomeLib) {
PR_UnloadLibrary(gnomeuiLib);
return NS_OK;

View File

@ -1,16 +0,0 @@
$OpenBSD: patch-toolkit_xre_nsXREDirProvider_cpp,v 1.1.1.1 2008/07/25 01:52:55 martynas Exp $
--- toolkit/xre/nsXREDirProvider.cpp.orig Mon Mar 17 21:05:25 2008
+++ toolkit/xre/nsXREDirProvider.cpp Fri Jun 13 19:54:14 2008
@@ -1119,11 +1119,7 @@ nsXREDirProvider::GetSystemExtensionsDirectory(nsILoca
NS_ENSURE_SUCCESS(rv, rv);
#elif defined(XP_UNIX)
static const char *const sysSExtDir =
-#ifdef HAVE_USR_LIB64_DIR
- "/usr/lib64/mozilla/extensions";
-#else
- "/usr/lib/mozilla/extensions";
-#endif
+ "_LOCALBASE_/lib/mozilla-extensions";
rv = NS_NewNativeLocalFile(nsDependentCString(sysSExtDir), PR_FALSE,
getter_AddRefs(localDir));

View File

@ -1,12 +0,0 @@
$OpenBSD: patch-widget_src_gtk2_nsBidiKeyboard_cpp,v 1.1.1.1 2008/07/25 01:52:55 martynas Exp $
--- widget/src/gtk2/nsBidiKeyboard.cpp.orig Wed Apr 16 23:03:19 2008
+++ widget/src/gtk2/nsBidiKeyboard.cpp Fri Jun 13 19:41:59 2008
@@ -54,7 +54,7 @@ NS_IMPL_ISUPPORTS1(nsBidiKeyboard, nsIBidiKeyboard)
nsBidiKeyboard::nsBidiKeyboard()
{
if (!gtklib)
- gtklib = PR_LoadLibrary("libgtk-x11-2.0.so.0");
+ gtklib = PR_LoadLibrary("libgtk-x11-2.0.so");
if (gtklib && !GdkKeymapHaveBidiLayouts)
GdkKeymapHaveBidiLayouts = (GdkKeymapHaveBidiLayoutsType) PR_FindFunctionSymbol(gtklib, "gdk_keymap_have_bidi_layouts");

View File

@ -1,12 +0,0 @@
$OpenBSD: patch-widget_src_gtk2_nsIdleServiceGTK_cpp,v 1.1.1.1 2008/07/25 01:52:55 martynas Exp $
--- widget/src/gtk2/nsIdleServiceGTK.cpp.orig Thu Sep 27 19:53:48 2007
+++ widget/src/gtk2/nsIdleServiceGTK.cpp Tue May 6 03:27:58 2008
@@ -78,7 +78,7 @@ static void Initialize()
#endif
// This will leak - See comments in ~nsIdleServiceGTK().
- PRLibrary* xsslib = PR_LoadLibrary("libXss.so.1");
+ PRLibrary* xsslib = PR_LoadLibrary("libXss.so");
if (!xsslib) // ouch.
{
#ifdef PR_LOGGING

View File

@ -1,12 +0,0 @@
$OpenBSD: patch-widget_src_gtk2_nsScreenManagerGtk_cpp,v 1.1.1.1 2008/07/25 01:52:55 martynas Exp $
--- widget/src/gtk2/nsScreenManagerGtk.cpp.orig Wed May 2 23:07:33 2007
+++ widget/src/gtk2/nsScreenManagerGtk.cpp Tue May 6 03:27:26 2008
@@ -80,7 +80,7 @@ nsScreenManagerGtk :: EnsureInit(void)
XineramaScreenInfo *screenInfo = NULL;
// We are leaking xineramalib, but there is no other way to do this.
- PRLibrary* xineramalib = PR_LoadLibrary("libXinerama.so.1");
+ PRLibrary* xineramalib = PR_LoadLibrary("libXinerama.so");
if (xineramalib) {
_XnrmIsActive_fn _XnrmIsActive = (_XnrmIsActive_fn)
PR_FindFunctionSymbol(xineramalib, "XineramaIsActive");

View File

@ -1,12 +0,0 @@
$OpenBSD: patch-widget_src_gtk2_nsSound_cpp,v 1.1.1.1 2008/07/25 01:52:55 martynas Exp $
--- widget/src/gtk2/nsSound.cpp.orig Sun May 20 11:56:36 2007
+++ widget/src/gtk2/nsSound.cpp Sat Nov 17 16:18:43 2007
@@ -115,7 +115,7 @@ nsSound::Init()
EsdOpenSoundType EsdOpenSound;
- elib = PR_LoadLibrary("libesd.so.0");
+ elib = PR_LoadLibrary("libesd.so");
if (!elib) return NS_ERROR_FAILURE;
EsdOpenSound = (EsdOpenSoundType) PR_FindFunctionSymbol(elib, "esd_open_sound");

View File

@ -1,12 +0,0 @@
$OpenBSD: patch-xpcom_base_nsStackWalk_cpp,v 1.1.1.1 2008/07/25 01:52:55 martynas Exp $
--- xpcom/base/nsStackWalk.cpp.orig Wed Mar 12 00:46:31 2008
+++ xpcom/base/nsStackWalk.cpp Sun Apr 13 20:34:51 2008
@@ -1124,7 +1124,7 @@ NS_FormatCodeAddressDetails(void *aPC, const nsCodeAdd
#define __USE_GNU
#endif
-#if defined(HAVE_LIBDL) || defined(XP_MACOSX)
+#if defined(HAVE_LIBDL) || defined(XP_MACOSX) || defined(__OpenBSD__)
#include <dlfcn.h>
#endif

View File

@ -1,20 +0,0 @@
$OpenBSD: patch-xpcom_reflect_xptcall_src_md_unix_Makefile_in,v 1.2 2008/09/15 19:20:07 martynas Exp $
--- xpcom/reflect/xptcall/src/md/unix/Makefile.in.orig Wed Apr 9 09:34:20 2008
+++ xpcom/reflect/xptcall/src/md/unix/Makefile.in Sun Sep 14 16:48:09 2008
@@ -192,7 +192,7 @@ endif
#
# OpenBSD/ARM
#
-ifneq (,$(filter OpenBSDarmish OpenBSDzaurus,$(OS_ARCH)$(OS_TEST)))
+ifeq ($(OS_ARCH)$(OS_TEST),OpenBSDarm)
CPPSRCS := xptcinvoke_arm_openbsd.cpp xptcstubs_arm_openbsd.cpp
endif
@@ -340,6 +340,7 @@ endif
ifeq ($(OS_ARCH)$(OS_TEST),OpenBSDpowerpc)
CPPSRCS := xptcinvoke_ppc_openbsd.cpp xptcstubs_ppc_openbsd.cpp
ASFILES := xptcinvoke_asm_ppc_openbsd.s xptcstubs_asm_ppc_openbsd.s
+AS := $(CC) -c -x assembler-with-cpp
endif
#

View File

@ -1,227 +0,0 @@
$OpenBSD: patch-xpcom_reflect_xptcall_src_md_unix_xptcinvoke_asm_ppc_openbsd_s,v 1.2 2008/09/15 19:20:07 martynas Exp $
--- xpcom/reflect/xptcall/src/md/unix/xptcinvoke_asm_ppc_openbsd.s.orig Sun Dec 23 01:57:11 2007
+++ xpcom/reflect/xptcall/src/md/unix/xptcinvoke_asm_ppc_openbsd.s Sun Sep 14 22:24:42 2008
@@ -1,43 +1,43 @@
-# -*- Mode: Asm -*-
-#
-# ***** BEGIN LICENSE BLOCK *****
-# Version: MPL 1.1/GPL 2.0/LGPL 2.1
-#
-# The contents of this file are subject to the Mozilla Public License Version
-# 1.1 (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-# http:#www.mozilla.org/MPL/
-#
-# Software distributed under the License is distributed on an "AS IS" basis,
-# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
-# for the specific language governing rights and limitations under the
-# License.
-#
-# The Original Code is mozilla.org code.
-#
-# The Initial Developer of the Original Code is
-# Netscape Communications Corporation.
-# Portions created by the Initial Developer are Copyright (C) 1999
-# the Initial Developer. All Rights Reserved.
-#
-# Contributor(s):
-# Franz.Sirl-kernel@lauterbach.com (Franz Sirl)
-# beard@netscape.com (Patrick Beard)
-# waterson@netscape.com (Chris Waterson)
-#
-# Alternatively, the contents of this file may be used under the terms of
-# either the GNU General Public License Version 2 or later (the "GPL"), or
-# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
-# in which case the provisions of the GPL or the LGPL are applicable instead
-# of those above. If you wish to allow use of your version of this file only
-# under the terms of either the GPL or the LGPL, and not to allow others to
-# use your version of this file under the terms of the MPL, indicate your
-# decision by deleting the provisions above and replace them with the notice
-# and other provisions required by the GPL or the LGPL. If you do not delete
-# the provisions above, a recipient may use your version of this file under
-# the terms of any one of the MPL, the GPL or the LGPL.
-#
-# ***** END LICENSE BLOCK *****
+// -*- Mode: Asm -*-
+//
+// ***** BEGIN LICENSE BLOCK *****
+// Version: MPL 1.1/GPL 2.0/LGPL 2.1
+//
+// The contents of this file are subject to the Mozilla Public License Version
+// 1.1 (the "License"); you may not use this file except in compliance with
+// the License. You may obtain a copy of the License at
+// http://www.mozilla.org/MPL/
+//
+// Software distributed under the License is distributed on an "AS IS" basis,
+// WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
+// for the specific language governing rights and limitations under the
+// License.
+//
+// The Original Code is mozilla.org code.
+//
+// The Initial Developer of the Original Code is
+// Netscape Communications Corporation.
+// Portions created by the Initial Developer are Copyright (C) 1999
+// the Initial Developer. All Rights Reserved.
+//
+// Contributor(s):
+// Franz.Sirl-kernel@lauterbach.com (Franz Sirl)
+// beard@netscape.com (Patrick Beard)
+// waterson@netscape.com (Chris Waterson)
+//
+// Alternatively, the contents of this file may be used under the terms of
+// either the GNU General Public License Version 2 or later (the "GPL"), or
+// the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
+// in which case the provisions of the GPL or the LGPL are applicable instead
+// of those above. If you wish to allow use of your version of this file only
+// under the terms of either the GPL or the LGPL, and not to allow others to
+// use your version of this file under the terms of the MPL, indicate your
+// decision by deleting the provisions above and replace them with the notice
+// and other provisions required by the GPL or the LGPL. If you do not delete
+// the provisions above, a recipient may use your version of this file under
+// the terms of any one of the MPL, the GPL or the LGPL.
+//
+// ***** END LICENSE BLOCK *****
.set r0,0; .set sp,1; .set RTOC,2; .set r3,3; .set r4,4
.set r5,5; .set r6,6; .set r7,7; .set r8,8; .set r9,9
@@ -53,80 +53,80 @@
.set f20,20; .set f21,21; .set f22,22; .set f23,23; .set f24,24
.set f25,25; .set f26,26; .set f27,27; .set f28,28; .set f29,29
.set f30,30; .set f31,31
-
- .section ".text"
+
+ .section ".text"
.align 2
.globl NS_InvokeByIndex_P
.type NS_InvokeByIndex_P,@function
-#
-# NS_InvokeByIndex_P(nsISupports* that, PRUint32 methodIndex,
-# PRUint32 paramCount, nsXPTCVariant* params)
-#
+//
+// NS_InvokeByIndex_P(nsISupports* that, PRUint32 methodIndex,
+// PRUint32 paramCount, nsXPTCVariant* params)
+//
NS_InvokeByIndex_P:
- stwu sp,-32(sp) # setup standard stack frame
- mflr r0 # save LR
- stw r3,8(sp) # r3 <= that
- stw r4,12(sp) # r4 <= methodIndex
- stw r30,16(sp)
- stw r31,20(sp)
+ stwu sp,-32(sp) // setup standard stack frame
+ mflr r0 // save LR
+ stw r3,8(sp) // r3 <= that
+ stw r4,12(sp) // r4 <= methodIndex
+ stw r30,16(sp)
+ stw r31,20(sp)
- stw r0,36(sp) # store LR backchain
- mr r31,sp
+ stw r0,36(sp) // store LR backchain
+ mr r31,sp
- rlwinm r10,r5,3,0,27 # r10 = (ParamCount * 2 * 4) & ~0x0f
- addi r0,r10,96 # reserve stack for GPR and FPR register save area r0 = r10 + 96
- lwz r9,0(sp) # r9 = backchain
- neg r0,r0
- stwux r9,sp,r0 # reserve stack space and save SP backchain
+ rlwinm r10,r5,3,0,27 // r10 = (ParamCount * 2 * 4) & ~0x0f
+ addi r0,r10,96 // reserve stack for GPR and FPR register save area r0 = r10 + 96
+ lwz r9,0(sp) // r9 = backchain
+ neg r0,r0
+ stwux r9,sp,r0 // reserve stack space and save SP backchain
- addi r3,sp,8 # r3 <= args
- mr r4,r5 # r4 <= paramCount
- mr r5,r6 # r5 <= params
- add r6,r3,r10 # r6 <= gpregs ( == args + r10 )
- mr r30,r6 # store in r30 for use later...
- addi r7,r6,32 # r7 <= fpregs ( == gpregs + 32 )
+ addi r3,sp,8 // r3 <= args
+ mr r4,r5 // r4 <= paramCount
+ mr r5,r6 // r5 <= params
+ add r6,r3,r10 // r6 <= gpregs ( == args + r10 )
+ mr r30,r6 // store in r30 for use later...
+ addi r7,r6,32 // r7 <= fpregs ( == gpregs + 32 )
- bl invoke_copy_to_stack@local # (args, paramCount, params, gpregs, fpregs)
+ bl invoke_copy_to_stack@local // (args, paramCount, params, gpregs, fpregs)
- lfd f1,32(r30) # load FP registers with method parameters
- lfd f2,40(r30)
- lfd f3,48(r30)
- lfd f4,56(r30)
- lfd f5,64(r30)
- lfd f6,72(r30)
- lfd f7,80(r30)
- lfd f8,88(r30)
+ lfd f1,32(r30) // load FP registers with method parameters
+ lfd f2,40(r30)
+ lfd f3,48(r30)
+ lfd f4,56(r30)
+ lfd f5,64(r30)
+ lfd f6,72(r30)
+ lfd f7,80(r30)
+ lfd f8,88(r30)
- lwz r3,8(r31) # r3 <= that
- lwz r4,12(r31) # r4 <= methodIndex
- lwz r5,0(r3) # r5 <= vtable ( == *that )
-#if !((__GNUC__ == 3 && __GNUC_MINOR__ < 2) || __GXX_ABI_VERSION >= 100) # G++ pre-V3 ABI
- addi r4,r4,2 # skip first two vtable entries
+ lwz r3,8(r31) // r3 <= that
+ lwz r4,12(r31) // r4 <= methodIndex
+ lwz r5,0(r3) // r5 <= vtable ( == *that )
+#if !((__GNUC__ == 3 && __GNUC_MINOR__ < 2) || __GXX_ABI_VERSION >= 100) // G++ pre-V3 ABI
+ addi r4,r4,2 // skip first two vtable entries
#endif
- slwi r4,r4,2 # convert to offset ( *= 4 )
- lwzx r0,r5,r4 # r0 <= methodpointer ( == vtable + offset )
+ slwi r4,r4,2 // convert to offset ( *= 4 )
+ lwzx r0,r5,r4 // r0 <= methodpointer ( == vtable + offset )
- lwz r4,4(r30) # load GP regs with method parameters
- lwz r5,8(r30)
- lwz r6,12(r30)
- lwz r7,16(r30)
- lwz r8,20(r30)
- lwz r9,24(r30)
- lwz r10,28(r30)
+ lwz r4,4(r30) // load GP regs with method parameters
+ lwz r5,8(r30)
+ lwz r6,12(r30)
+ lwz r7,16(r30)
+ lwz r8,20(r30)
+ lwz r9,24(r30)
+ lwz r10,28(r30)
- mtlr r0 # copy methodpointer to LR
- blrl # call method
-
- lwz r30,16(r31) # restore r30 & r31
- lwz r31,20(r31)
-
- lwz r11,0(sp) # clean up the stack
- lwz r0,4(r11)
- mtlr r0
- mr sp,r11
+ mtlr r0 // copy methodpointer to LR
+ blrl // call method
+
+ lwz r30,16(r31) // restore r30 & r31
+ lwz r31,20(r31)
+
+ lwz r11,0(sp) // clean up the stack
+ lwz r0,4(r11)
+ mtlr r0
+ mr sp,r11
blr
-# Magic indicating no need for an executable stack
+// Magic indicating no need for an executable stack
.section .note.GNU-stack, "", @progbits ; .previous

View File

@ -1,170 +0,0 @@
$OpenBSD: patch-xpcom_reflect_xptcall_src_md_unix_xptcstubs_asm_ppc_openbsd_s,v 1.1 2008/09/15 19:20:07 martynas Exp $
--- xpcom/reflect/xptcall/src/md/unix/xptcstubs_asm_ppc_openbsd.s.orig Sun Dec 23 01:57:11 2007
+++ xpcom/reflect/xptcall/src/md/unix/xptcstubs_asm_ppc_openbsd.s Sun Sep 14 22:21:55 2008
@@ -1,43 +1,43 @@
-# -*- Mode: Asm -*-
-#
-# ***** BEGIN LICENSE BLOCK *****
-# Version: MPL 1.1/GPL 2.0/LGPL 2.1
-#
-# The contents of this file are subject to the Mozilla Public License Version
-# 1.1 (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-# http:#www.mozilla.org/MPL/
-#
-# Software distributed under the License is distributed on an "AS IS" basis,
-# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
-# for the specific language governing rights and limitations under the
-# License.
-#
-# The Original Code is mozilla.org code.
-#
-# The Initial Developer of the Original Code is
-# Netscape Communications Corporation.
-# Portions created by the Initial Developer are Copyright (C) 1999
-# the Initial Developer. All Rights Reserved.
-#
-# Contributor(s):
-# Franz.Sirl-kernel@lauterbach.com (Franz Sirl)
-# beard@netscape.com (Patrick Beard)
-# waterson@netscape.com (Chris Waterson)
-#
-# Alternatively, the contents of this file may be used under the terms of
-# either the GNU General Public License Version 2 or later (the "GPL"), or
-# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
-# in which case the provisions of the GPL or the LGPL are applicable instead
-# of those above. If you wish to allow use of your version of this file only
-# under the terms of either the GPL or the LGPL, and not to allow others to
-# use your version of this file under the terms of the MPL, indicate your
-# decision by deleting the provisions above and replace them with the notice
-# and other provisions required by the GPL or the LGPL. If you do not delete
-# the provisions above, a recipient may use your version of this file under
-# the terms of any one of the MPL, the GPL or the LGPL.
-#
-# ***** END LICENSE BLOCK *****
+// -*- Mode: Asm -*-
+//
+// ***** BEGIN LICENSE BLOCK *****
+// Version: MPL 1.1/GPL 2.0/LGPL 2.1
+//
+// The contents of this file are subject to the Mozilla Public License Version
+// 1.1 (the "License"); you may not use this file except in compliance with
+// the License. You may obtain a copy of the License at
+// http://www.mozilla.org/MPL/
+//
+// Software distributed under the License is distributed on an "AS IS" basis,
+// WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
+// for the specific language governing rights and limitations under the
+// License.
+//
+// The Original Code is mozilla.org code.
+//
+// The Initial Developer of the Original Code is
+// Netscape Communications Corporation.
+// Portions created by the Initial Developer are Copyright (C) 1999
+// the Initial Developer. All Rights Reserved.
+//
+// Contributor(s):
+// Franz.Sirl-kernel@lauterbach.com (Franz Sirl)
+// beard@netscape.com (Patrick Beard)
+// waterson@netscape.com (Chris Waterson)
+//
+// Alternatively, the contents of this file may be used under the terms of
+// either the GNU General Public License Version 2 or later (the "GPL"), or
+// the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
+// in which case the provisions of the GPL or the LGPL are applicable instead
+// of those above. If you wish to allow use of your version of this file only
+// under the terms of either the GPL or the LGPL, and not to allow others to
+// use your version of this file under the terms of the MPL, indicate your
+// decision by deleting the provisions above and replace them with the notice
+// and other provisions required by the GPL or the LGPL. If you do not delete
+// the provisions above, a recipient may use your version of this file under
+// the terms of any one of the MPL, the GPL or the LGPL.
+//
+// ***** END LICENSE BLOCK *****
.set r0,0; .set sp,1; .set RTOC,2; .set r3,3; .set r4,4
.set r5,5; .set r6,6; .set r7,7; .set r8,8; .set r9,9
@@ -54,29 +54,29 @@
.set f25,25; .set f26,26; .set f27,27; .set f28,28; .set f29,29
.set f30,30; .set f31,31
- .section ".text"
- .align 2
+ .section ".text"
+ .align 2
.globl SharedStub
.type SharedStub,@function
SharedStub:
- stwu sp,-112(sp) # room for
- # linkage (8),
- # gprData (32),
- # fprData (64),
- # stack alignment(8)
- mflr r0
- stw r0,116(sp) # save LR backchain
+ stwu sp,-112(sp) // room for
+ // linkage (8),
+ // gprData (32),
+ // fprData (64),
+ // stack alignment(8)
+ mflr r0
+ stw r0,116(sp) // save LR backchain
- stw r4,12(sp) # save GP registers
- stw r5,16(sp) # (n.b. that we don't save r3
- stw r6,20(sp) # because PrepareAndDispatch() is savvy)
+ stw r4,12(sp) // save GP registers
+ stw r5,16(sp) // (n.b. that we don't save r3
+ stw r6,20(sp) // because PrepareAndDispatch() is savvy)
stw r7,24(sp)
stw r8,28(sp)
stw r9,32(sp)
stw r10,36(sp)
- stfd f1,40(sp) # save FP registers
+ stfd f1,40(sp) // save FP registers
stfd f2,48(sp)
stfd f3,56(sp)
stfd f4,64(sp)
@@ -85,23 +85,23 @@ SharedStub:
stfd f7,88(sp)
stfd f8,96(sp)
- # r3 has the 'self' pointer already
-
- mr r4,r11 # r4 <= methodIndex selector, passed
- # via r11 in the nsXPTCStubBase::StubXX() call
-
- addi r5,sp,120 # r5 <= pointer to callers args area,
- # beyond r3-r10/f1-f8 mapped range
-
- addi r6,sp,8 # r6 <= gprData
- addi r7,sp,40 # r7 <= fprData
-
- bl PrepareAndDispatch@local # Go!
-
- lwz r0,116(sp) # restore LR
+ // r3 has the 'self' pointer already
+
+ mr r4,r11 // r4 <= methodIndex selector, passed
+ // via r11 in the nsXPTCStubBase::StubXX() call
+
+ addi r5,sp,120 // r5 <= pointer to callers args area,
+ // beyond r3-r10/f1-f8 mapped range
+
+ addi r6,sp,8 // r6 <= gprData
+ addi r7,sp,40 // r7 <= fprData
+
+ bl PrepareAndDispatch@local // Go!
+
+ lwz r0,116(sp) // restore LR
mtlr r0
- la sp,112(sp) # clean up the stack
+ la sp,112(sp) // clean up the stack
blr
-# Magic indicating no need for an executable stack
+// Magic indicating no need for an executable stack
.section .note.GNU-stack, "", @progbits ; .previous

View File

@ -1,15 +0,0 @@
Firefox 3 is the next generation release of the award-winning Firefox
web browser from Mozilla. It is full of helpful features to make
your time online more productive.
* Improved Tabbed Browsing;
* Spell Checking;
* Search Suggestions;
* Session Restore;
* Web Feeds (RSS);
* Live Titles;
* Integrated Search;
* Live Bookmarks;
* Pop-up Blocker;
* Phishing Protection;
* Search Engine Manager.

View File

@ -1,2 +0,0 @@
Please see ${PREFIX}/mozilla-firefox/README.OpenBSD for information
about running Firefox on OpenBSD.

View File

@ -1,408 +0,0 @@
@comment $OpenBSD: PLIST,v 1.3 2008/07/25 08:05:36 martynas Exp $
@conflict mozilla-firebird-*
@conflict mozilla-firefox-*
bin/firefox
bin/mozilla-firefox
@man man/man1/firefox.1
@man man/man1/mozilla-firefox.1
mozilla-firefox/
mozilla-firefox/LICENSE
mozilla-firefox/README.OpenBSD
mozilla-firefox/application.ini
mozilla-firefox/blocklist.xml
mozilla-firefox/browserconfig.properties
mozilla-firefox/chrome/
mozilla-firefox/chrome/browser.jar
mozilla-firefox/chrome/browser.manifest
mozilla-firefox/chrome/classic.jar
mozilla-firefox/chrome/classic.manifest
mozilla-firefox/chrome/comm.jar
mozilla-firefox/chrome/comm.manifest
mozilla-firefox/chrome/en-US.jar
mozilla-firefox/chrome/en-US.manifest
mozilla-firefox/chrome/icons/
mozilla-firefox/chrome/icons/default/
mozilla-firefox/chrome/icons/default/default16.png
mozilla-firefox/chrome/icons/default/default32.png
mozilla-firefox/chrome/icons/default/default48.png
mozilla-firefox/chrome/pippki.jar
mozilla-firefox/chrome/pippki.manifest
mozilla-firefox/chrome/reporter.jar
mozilla-firefox/chrome/reporter.manifest
mozilla-firefox/chrome/toolkit.jar
mozilla-firefox/chrome/toolkit.manifest
mozilla-firefox/components/
mozilla-firefox/components/FeedConverter.js
mozilla-firefox/components/FeedProcessor.js
mozilla-firefox/components/FeedWriter.js
mozilla-firefox/components/WebContentConverter.js
mozilla-firefox/components/aboutRobots.js
mozilla-firefox/components/accessibility.xpt
mozilla-firefox/components/alerts.xpt
mozilla-firefox/components/appshell.xpt
mozilla-firefox/components/appstartup.xpt
mozilla-firefox/components/autocomplete.xpt
mozilla-firefox/components/autoconfig.xpt
mozilla-firefox/components/browser-feeds.xpt
mozilla-firefox/components/browsercompsbase.xpt
mozilla-firefox/components/browserplaces.xpt
mozilla-firefox/components/browsersearch.xpt
mozilla-firefox/components/caps.xpt
mozilla-firefox/components/chardet.xpt
mozilla-firefox/components/chrome.xpt
mozilla-firefox/components/commandhandler.xpt
mozilla-firefox/components/commandlines.xpt
mozilla-firefox/components/composer.xpt
mozilla-firefox/components/content_base.xpt
mozilla-firefox/components/content_html.xpt
mozilla-firefox/components/content_htmldoc.xpt
mozilla-firefox/components/content_xmldoc.xpt
mozilla-firefox/components/content_xslt.xpt
mozilla-firefox/components/content_xtf.xpt
mozilla-firefox/components/contentprefs.xpt
mozilla-firefox/components/cookie.xpt
mozilla-firefox/components/directory.xpt
mozilla-firefox/components/docshell.xpt
mozilla-firefox/components/dom.xpt
mozilla-firefox/components/dom_base.xpt
mozilla-firefox/components/dom_canvas.xpt
mozilla-firefox/components/dom_core.xpt
mozilla-firefox/components/dom_css.xpt
mozilla-firefox/components/dom_events.xpt
mozilla-firefox/components/dom_html.xpt
mozilla-firefox/components/dom_json.xpt
mozilla-firefox/components/dom_loadsave.xpt
mozilla-firefox/components/dom_offline.xpt
mozilla-firefox/components/dom_range.xpt
mozilla-firefox/components/dom_sidebar.xpt
mozilla-firefox/components/dom_storage.xpt
mozilla-firefox/components/dom_stylesheets.xpt
mozilla-firefox/components/dom_svg.xpt
mozilla-firefox/components/dom_traversal.xpt
mozilla-firefox/components/dom_views.xpt
mozilla-firefox/components/dom_xbl.xpt
mozilla-firefox/components/dom_xpath.xpt
mozilla-firefox/components/dom_xul.xpt
mozilla-firefox/components/downloads.xpt
mozilla-firefox/components/editor.xpt
mozilla-firefox/components/embed_base.xpt
mozilla-firefox/components/extensions.xpt
mozilla-firefox/components/exthandler.xpt
mozilla-firefox/components/exthelper.xpt
mozilla-firefox/components/fastfind.xpt
mozilla-firefox/components/feeds.xpt
mozilla-firefox/components/filepicker.xpt
mozilla-firefox/components/find.xpt
mozilla-firefox/components/fuel.xpt
mozilla-firefox/components/fuelApplication.js
mozilla-firefox/components/gfx.xpt
mozilla-firefox/components/htmlparser.xpt
mozilla-firefox/components/imgicon.xpt
mozilla-firefox/components/imglib2.xpt
mozilla-firefox/components/inspector.xpt
mozilla-firefox/components/intl.xpt
mozilla-firefox/components/jar.xpt
mozilla-firefox/components/jsconsole-clhandler.js
mozilla-firefox/components/jsdservice.xpt
mozilla-firefox/components/layout_base.xpt
mozilla-firefox/components/layout_printing.xpt
mozilla-firefox/components/layout_xul.xpt
mozilla-firefox/components/layout_xul_tree.xpt
@lib mozilla-firefox/components/libaccessibility.so.${LIBaccessibility_VERSION}
@lib mozilla-firefox/components/libappcomps.so.${LIBappcomps_VERSION}
@lib mozilla-firefox/components/libauth.so.${LIBauth_VERSION}
@lib mozilla-firefox/components/libautoconfig.so.${LIBautoconfig_VERSION}
@lib mozilla-firefox/components/libbrowsercomps.so.${LIBbrowsercomps_VERSION}
@lib mozilla-firefox/components/libbrowserdirprovider.so.${LIBbrowserdirprovider_VERSION}
@lib mozilla-firefox/components/libcaps.so.${LIBcaps_VERSION}
@lib mozilla-firefox/components/libchardet.so.${LIBchardet_VERSION}
@lib mozilla-firefox/components/libchrome.so.${LIBchrome_VERSION}
@lib mozilla-firefox/components/libcommandlines.so.${LIBcommandlines_VERSION}
@lib mozilla-firefox/components/libcomposer.so.${LIBcomposer_VERSION}
@lib mozilla-firefox/components/libcookie.so.${LIBcookie_VERSION}
@lib mozilla-firefox/components/libdocshell.so.${LIBdocshell_VERSION}
@lib mozilla-firefox/components/libembedcomponents.so.${LIBembedcomponents_VERSION}
@lib mozilla-firefox/components/libfileview.so.${LIBfileview_VERSION}
@lib mozilla-firefox/components/libgkgfxthebes.so.${LIBgkgfxthebes_VERSION}
@lib mozilla-firefox/components/libgklayout.so.${LIBgklayout_VERSION}
@lib mozilla-firefox/components/libgkplugin.so.${LIBgkplugin_VERSION}
@lib mozilla-firefox/components/libhtmlpars.so.${LIBhtmlpars_VERSION}
@lib mozilla-firefox/components/libi18n.so.${LIBi18n_VERSION}
@lib mozilla-firefox/components/libimgicon.so.${LIBimgicon_VERSION}
@lib mozilla-firefox/components/libimglib2.so.${LIBimglib2_VERSION}
@lib mozilla-firefox/components/libintlapp.so.${LIBintlapp_VERSION}
@lib mozilla-firefox/components/libjar50.so.${LIBjar50_VERSION}
@lib mozilla-firefox/components/libjsd.so.${LIBjsd_VERSION}
@lib mozilla-firefox/components/libmozfind.so.${LIBmozfind_VERSION}
@lib mozilla-firefox/components/libnecko.so.${LIBnecko_VERSION}
@lib mozilla-firefox/components/libnsappshell.so.${LIBnsappshell_VERSION}
@lib mozilla-firefox/components/liboji.so.${LIBoji_VERSION}
@lib mozilla-firefox/components/libpermissions.so.${LIBpermissions_VERSION}
@lib mozilla-firefox/components/libpipboot.so.${LIBpipboot_VERSION}
@lib mozilla-firefox/components/libpipnss.so.${LIBpipnss_VERSION}
@lib mozilla-firefox/components/libpippki.so.${LIBpippki_VERSION}
@lib mozilla-firefox/components/libplaces.so.${LIBplaces_VERSION}
@lib mozilla-firefox/components/libpref.so.${LIBpref_VERSION}
@lib mozilla-firefox/components/librdf.so.${LIBrdf_VERSION}
@lib mozilla-firefox/components/libremoteservice.so.${LIBremoteservice_VERSION}
@lib mozilla-firefox/components/libsatchel.so.${LIBsatchel_VERSION}
@lib mozilla-firefox/components/libspellchecker.so.${LIBspellchecker_VERSION}
@lib mozilla-firefox/components/libstoragecomps.so.${LIBstoragecomps_VERSION}
@lib mozilla-firefox/components/libsystem-pref.so.${LIBsystem-pref_VERSION}
@lib mozilla-firefox/components/libtkautocomplete.so.${LIBtkautocomplete_VERSION}
@lib mozilla-firefox/components/libtoolkitcomps.so.${LIBtoolkitcomps_VERSION}
@lib mozilla-firefox/components/libtxmgr.so.${LIBtxmgr_VERSION}
@lib mozilla-firefox/components/libuconv.so.${LIBuconv_VERSION}
@lib mozilla-firefox/components/libucvmath.so.${LIBucvmath_VERSION}
@lib mozilla-firefox/components/libuniversalchardet.so.${LIBuniversalchardet_VERSION}
@lib mozilla-firefox/components/libunixproxy.so.${LIBunixproxy_VERSION}
@lib mozilla-firefox/components/libwebbrwsr.so.${LIBwebbrwsr_VERSION}
@lib mozilla-firefox/components/libwidget_gtk2.so.${LIBwidget_gtk2_VERSION}
@lib mozilla-firefox/components/libwindowds.so.${LIBwindowds_VERSION}
@lib mozilla-firefox/components/libxmlextras.so.${LIBxmlextras_VERSION}
@lib mozilla-firefox/components/libxpconnect.so.${LIBxpconnect_VERSION}
@lib mozilla-firefox/components/libxpinstall.so.${LIBxpinstall_VERSION}
@lib mozilla-firefox/components/libzipwriter.so.${LIBzipwriter_VERSION}
mozilla-firefox/components/locale.xpt
mozilla-firefox/components/loginmgr.xpt
mozilla-firefox/components/lwbrk.xpt
mozilla-firefox/components/microsummaries.xpt
mozilla-firefox/components/migration.xpt
mozilla-firefox/components/mimetype.xpt
mozilla-firefox/components/mozbrwsr.xpt
mozilla-firefox/components/mozfind.xpt
mozilla-firefox/components/necko.xpt
mozilla-firefox/components/necko_about.xpt
mozilla-firefox/components/necko_cache.xpt
mozilla-firefox/components/necko_cookie.xpt
mozilla-firefox/components/necko_dns.xpt
mozilla-firefox/components/necko_file.xpt
mozilla-firefox/components/necko_ftp.xpt
mozilla-firefox/components/necko_http.xpt
mozilla-firefox/components/necko_res.xpt
mozilla-firefox/components/necko_socket.xpt
mozilla-firefox/components/necko_strconv.xpt
mozilla-firefox/components/necko_viewsource.xpt
mozilla-firefox/components/nsAddonRepository.js
mozilla-firefox/components/nsBadCertHandler.js
mozilla-firefox/components/nsBlocklistService.js
mozilla-firefox/components/nsBrowserContentHandler.js
mozilla-firefox/components/nsBrowserGlue.js
mozilla-firefox/components/nsContentDispatchChooser.js
mozilla-firefox/components/nsContentPrefService.js
mozilla-firefox/components/nsDefaultCLH.js
mozilla-firefox/components/nsDownloadManagerUI.js
mozilla-firefox/components/nsExtensionManager.js
mozilla-firefox/components/nsFilePicker.js
mozilla-firefox/components/nsHandlerService.js
mozilla-firefox/components/nsHelperAppDlg.js
mozilla-firefox/components/nsLivemarkService.js
mozilla-firefox/components/nsLoginInfo.js
mozilla-firefox/components/nsLoginManager.js
mozilla-firefox/components/nsLoginManagerPrompter.js
mozilla-firefox/components/nsMicrosummaryService.js
mozilla-firefox/components/nsPlacesTransactionsService.js
mozilla-firefox/components/nsProgressDialog.js
mozilla-firefox/components/nsProxyAutoConfig.js
mozilla-firefox/components/nsResetPref.js
mozilla-firefox/components/nsSafebrowsingApplication.js
mozilla-firefox/components/nsSearchService.js
mozilla-firefox/components/nsSearchSuggestions.js
mozilla-firefox/components/nsSessionStartup.js
mozilla-firefox/components/nsSessionStore.js
mozilla-firefox/components/nsSetDefaultBrowser.js
mozilla-firefox/components/nsSidebar.js
mozilla-firefox/components/nsTaggingService.js
mozilla-firefox/components/nsTryToClose.js
mozilla-firefox/components/nsURLFormatter.js
mozilla-firefox/components/nsUpdateService.js
mozilla-firefox/components/nsUrlClassifierLib.js
mozilla-firefox/components/nsUrlClassifierListManager.js
mozilla-firefox/components/nsWebHandlerApp.js
mozilla-firefox/components/oji.xpt
mozilla-firefox/components/parentalcontrols.xpt
mozilla-firefox/components/pipboot.xpt
mozilla-firefox/components/pipnss.xpt
mozilla-firefox/components/pippki.xpt
mozilla-firefox/components/places.xpt
mozilla-firefox/components/plugin.xpt
mozilla-firefox/components/pluginGlue.js
mozilla-firefox/components/pref.xpt
mozilla-firefox/components/prefetch.xpt
mozilla-firefox/components/profile.xpt
mozilla-firefox/components/proxyObjInst.xpt
mozilla-firefox/components/rdf.xpt
mozilla-firefox/components/satchel.xpt
mozilla-firefox/components/saxparser.xpt
mozilla-firefox/components/sessionstore.xpt
mozilla-firefox/components/shellservice.xpt
mozilla-firefox/components/shistory.xpt
mozilla-firefox/components/spellchecker.xpt
mozilla-firefox/components/storage-Legacy.js
mozilla-firefox/components/storage.xpt
mozilla-firefox/components/toolkitprofile.xpt
mozilla-firefox/components/toolkitremote.xpt
mozilla-firefox/components/txEXSLTRegExFunctions.js
mozilla-firefox/components/txmgr.xpt
mozilla-firefox/components/txtsvc.xpt
mozilla-firefox/components/uconv.xpt
mozilla-firefox/components/unicharutil.xpt
mozilla-firefox/components/update.xpt
mozilla-firefox/components/uriloader.xpt
mozilla-firefox/components/url-classifier.xpt
mozilla-firefox/components/urlformatter.xpt
mozilla-firefox/components/webBrowser_core.xpt
mozilla-firefox/components/webbrowserpersist.xpt
mozilla-firefox/components/webshell_idls.xpt
mozilla-firefox/components/widget.xpt
mozilla-firefox/components/windowds.xpt
mozilla-firefox/components/windowwatcher.xpt
mozilla-firefox/components/xpcom_base.xpt
mozilla-firefox/components/xpcom_components.xpt
mozilla-firefox/components/xpcom_ds.xpt
mozilla-firefox/components/xpcom_io.xpt
mozilla-firefox/components/xpcom_system.xpt
mozilla-firefox/components/xpcom_threads.xpt
mozilla-firefox/components/xpcom_xpti.xpt
mozilla-firefox/components/xpconnect.xpt
mozilla-firefox/components/xpinstall.xpt
mozilla-firefox/components/xulapp.xpt
mozilla-firefox/components/xuldoc.xpt
mozilla-firefox/components/xultmpl.xpt
mozilla-firefox/components/zipwriter.xpt
mozilla-firefox/defaults/
mozilla-firefox/defaults/autoconfig/
mozilla-firefox/defaults/autoconfig/platform.js
mozilla-firefox/defaults/autoconfig/prefcalls.js
mozilla-firefox/defaults/pref/
mozilla-firefox/defaults/pref/channel-prefs.js
mozilla-firefox/defaults/pref/firefox-branding.js
mozilla-firefox/defaults/pref/firefox-l10n.js
mozilla-firefox/defaults/pref/firefox.js
mozilla-firefox/defaults/pref/reporter.js
mozilla-firefox/defaults/profile/
mozilla-firefox/defaults/profile/bookmarks.html
mozilla-firefox/defaults/profile/chrome/
mozilla-firefox/defaults/profile/chrome/userChrome-example.css
mozilla-firefox/defaults/profile/chrome/userContent-example.css
mozilla-firefox/defaults/profile/localstore.rdf
mozilla-firefox/defaults/profile/mimeTypes.rdf
mozilla-firefox/defaults/profile/prefs.js
mozilla-firefox/dictionaries/
mozilla-firefox/dictionaries/en-US.aff
mozilla-firefox/dictionaries/en-US.dic
mozilla-firefox/extensions/
mozilla-firefox/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}/
mozilla-firefox/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}/install.rdf
@bin mozilla-firefox/firefox-bin
mozilla-firefox/greprefs/
mozilla-firefox/greprefs/all.js
mozilla-firefox/greprefs/security-prefs.js
mozilla-firefox/greprefs/xpinstall.js
mozilla-firefox/icons/
mozilla-firefox/icons/document.png
mozilla-firefox/icons/mozicon128.png
mozilla-firefox/icons/mozicon16.xpm
mozilla-firefox/icons/mozicon50.xpm
@lib mozilla-firefox/libgfxpsshar.so.${LIBgfxpsshar_VERSION}
@lib mozilla-firefox/libgkgfx.so.${LIBgkgfx_VERSION}
@lib mozilla-firefox/libgtkxtbin.so.${LIBgtkxtbin_VERSION}
@lib mozilla-firefox/libjsj.so.${LIBjsj_VERSION}
@lib mozilla-firefox/libmozjs.so.${LIBmozjs_VERSION}
@lib mozilla-firefox/libmozlcms.so.${LIBmozlcms_VERSION}
@lib mozilla-firefox/libthebes.so.${LIBthebes_VERSION}
@lib mozilla-firefox/libxpcom.so.${LIBxpcom_VERSION}
@lib mozilla-firefox/libxpcom_core.so.${LIBxpcom_core_VERSION}
@lib mozilla-firefox/libxul.so.${LIBxul_VERSION}
mozilla-firefox/modules/
mozilla-firefox/modules/DownloadUtils.jsm
mozilla-firefox/modules/ISO8601DateUtils.jsm
mozilla-firefox/modules/JSON.jsm
mozilla-firefox/modules/Microformats.js
mozilla-firefox/modules/PluralForm.jsm
mozilla-firefox/modules/XPCOMUtils.jsm
mozilla-firefox/modules/debug.js
mozilla-firefox/modules/distribution.js
mozilla-firefox/modules/utils.js
@bin mozilla-firefox/mozilla-firefox-bin
@bin mozilla-firefox/mozilla-xremote-client
mozilla-firefox/platform.ini
mozilla-firefox/plugins/
@lib mozilla-firefox/plugins/libnullplugin.so.${LIBnullplugin_VERSION}
@lib mozilla-firefox/plugins/libunixprintplugin.so.${LIBunixprintplugin_VERSION}
@bin mozilla-firefox/regxpcom
mozilla-firefox/res/
mozilla-firefox/res/EditorOverride.css
mozilla-firefox/res/arrow.gif
mozilla-firefox/res/arrowd.gif
mozilla-firefox/res/broken-image.gif
mozilla-firefox/res/charsetData.properties
mozilla-firefox/res/charsetalias.properties
mozilla-firefox/res/contenteditable.css
mozilla-firefox/res/designmode.css
mozilla-firefox/res/dtd/
mozilla-firefox/res/dtd/mathml.dtd
mozilla-firefox/res/dtd/xhtml11.dtd
mozilla-firefox/res/entityTables/
mozilla-firefox/res/entityTables/html40Latin1.properties
mozilla-firefox/res/entityTables/html40Special.properties
mozilla-firefox/res/entityTables/html40Symbols.properties
mozilla-firefox/res/entityTables/htmlEntityVersions.properties
mozilla-firefox/res/entityTables/mathml20.properties
mozilla-firefox/res/entityTables/transliterate.properties
mozilla-firefox/res/fonts/
mozilla-firefox/res/fonts/mathfont.properties
mozilla-firefox/res/fonts/mathfontSTIXNonUnicode.properties
mozilla-firefox/res/fonts/mathfontSTIXSize1.properties
mozilla-firefox/res/fonts/mathfontStandardSymbolsL.properties
mozilla-firefox/res/fonts/mathfontUnicode.properties
mozilla-firefox/res/forms.css
mozilla-firefox/res/grabber.gif
mozilla-firefox/res/hiddenWindow.html
mozilla-firefox/res/html/
mozilla-firefox/res/html.css
mozilla-firefox/res/html/folder.png
mozilla-firefox/res/langGroups.properties
mozilla-firefox/res/language.properties
mozilla-firefox/res/loading-image.gif
mozilla-firefox/res/mathml.css
mozilla-firefox/res/quirk.css
mozilla-firefox/res/svg.css
mozilla-firefox/res/table-add-column-after-active.gif
mozilla-firefox/res/table-add-column-after-hover.gif
mozilla-firefox/res/table-add-column-after.gif
mozilla-firefox/res/table-add-column-before-active.gif
mozilla-firefox/res/table-add-column-before-hover.gif
mozilla-firefox/res/table-add-column-before.gif
mozilla-firefox/res/table-add-row-after-active.gif
mozilla-firefox/res/table-add-row-after-hover.gif
mozilla-firefox/res/table-add-row-after.gif
mozilla-firefox/res/table-add-row-before-active.gif
mozilla-firefox/res/table-add-row-before-hover.gif
mozilla-firefox/res/table-add-row-before.gif
mozilla-firefox/res/table-remove-column-active.gif
mozilla-firefox/res/table-remove-column-hover.gif
mozilla-firefox/res/table-remove-column.gif
mozilla-firefox/res/table-remove-row-active.gif
mozilla-firefox/res/table-remove-row-hover.gif
mozilla-firefox/res/table-remove-row.gif
mozilla-firefox/res/ua.css
mozilla-firefox/res/unixcharset.properties
mozilla-firefox/res/viewsource.css
mozilla-firefox/run-mozilla.sh
mozilla-firefox/searchplugins/
mozilla-firefox/searchplugins/amazondotcom.xml
mozilla-firefox/searchplugins/answers.xml
mozilla-firefox/searchplugins/creativecommons.xml
mozilla-firefox/searchplugins/eBay.xml
mozilla-firefox/searchplugins/google.xml
mozilla-firefox/searchplugins/wikipedia.xml
mozilla-firefox/searchplugins/yahoo.xml
share/applications/firefox.desktop
@exec %D/bin/update-desktop-database
@unexec %D/bin/update-desktop-database
@exec rm -rf /tmp/.mozilla
@exec cd %D/mozilla-firefox && env HOME=/tmp LD_LIBRARY_PATH=%D/mozilla-firefox ./regxpcom
@exec rm -rf /tmp/.mozilla
@unexec rm -f %D/mozilla-firefox/components/compreg.dat
@unexec rm -f %D/mozilla-firefox/components/xpti.dat