So long, xulrunner 1.8. You were nice in the firefox 2.0 days, but your

last release was nearly two years ago, you're crippled by security
issues, abandoned by your parents in favor of your younger brother,
and those days nothing uses you anymore. RIP in the attic..
agreed by jasper@ and phessler@
happiness ensues...
This commit is contained in:
landry 2010-10-24 13:28:44 +00:00
parent 541ad548f1
commit bb0a268768
28 changed files with 1 additions and 3862 deletions

View File

@ -1,67 +0,0 @@
# $OpenBSD: Makefile,v 1.9 2010/10/22 19:24:47 landry Exp $
VERSION= 1.8.1.19
REVISION-main= 9
REVISION-devel= 9
DIRECTORY= xulrunner
SO_VERSION= 2.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 auth autoconfig cookie fileview gtkembedmoz mozjs nullplugin \
permissions pipboot pipnss pippki system-pref transformiix \
universalchardet unixprintplugin websrvcs xmlextras xpcom xul xulutil
SHARED_LIBS+= ${_lib} ${SO_VERSION}
.endfor
CONFIGURE_ARGS+= --with-system-png=${LOCALBASE} \
--enable-system-sqlite \
--enable-system-cairo \
--enable-default-toolkit=gtk2
MOB= ${WRKSRC}/dist/bin
MOZ= ${PREFIX}/${DIRECTORY}
DATADIRS= chrome defaults icons res components greprefs plugins
DISTDIRS= idl include
TOOLS= TestGtkEmbed xpcshell xpt_link mozilla-xremote-client \
xpicleanup xulrunner-bin nsinstall xpidl \
xulrunner-stub regxpcom xpt_dump
WANTLIB-main+= Xft
pre-configure:
@perl -pi -e 's|_LOCALBASE_|${LOCALBASE}|g; s|_X11BASE_|${X11BASE}|g' \
${WRKSRC}/js/src/xpconnect/shell/Makefile.in \
${WRKSRC}/xulrunner/app/mozilla.in \
${WRKSRC}/xulrunner/setup/nsXULAppInstall.js
@perl -pi -e 's|_SO_VERSION_|${SO_VERSION}|g' \
${WRKSRC}/xpcom/components/nsNativeComponentLoader.cpp
do-install:
cd ${WRKSRC}/dist && \
find ${DISTDIRS} -type d \
-exec ${INSTALL_DATA_DIR} ${MOZ}/{} \; && \
find ${DISTDIRS} ! -type d \
-exec ${INSTALL_DATA} {} ${MOZ}/{} \;
cd ${MOB} && \
find ${DATADIRS} -type d \
-exec ${INSTALL_DATA_DIR} ${MOZ}/{} \; && \
find ${DATADIRS} ! -type d \
-exec ${INSTALL_DATA} -m 644 {} ${MOZ}/{} \; && \
${INSTALL_PROGRAM} ${TOOLS} ${MOZ}
${INSTALL_DATA} ${MOB}/*.so.${SO_VERSION} ${MOZ}
${INSTALL_DATA} ${WRKSRC}/dist/lib/libxpcomglue.a \
${WRKSRC}/dist/lib/libxpcomglue_s.a ${MOZ}
${INSTALL_DATA} ${WRKSRC}/LICENSE ${MOZ}
${INSTALL_SCRIPT} ${MOB}/xulrunner ${MOB}/xulrunner-config \
${PREFIX}/bin/
${INSTALL_SCRIPT} ${MOB}/run-mozilla.sh ${MOZ}
${INSTALL_DATA_DIR} ${PREFIX}/lib/pkgconfig
${INSTALL_DATA} ${WRKBUILD}/build/unix/*.pc \
${FILESDIR}/xulrunner-embedding.pc ${PREFIX}/lib/pkgconfig
@perl -pi -e 's|!!PREFIX!!|${TRUEPREFIX}|g; ' \
-e 's|!!VERSION!!|${VERSION}|g; ' \
${PREFIX}/lib/pkgconfig/xulrunner-embedding.pc
.include <bsd.port.mk>

View File

@ -1,5 +0,0 @@
MD5 (xulrunner-1.8.1.19-source.tar.bz2) = dNibaGR2QH7MwOUbqxKEIA==
RMD160 (xulrunner-1.8.1.19-source.tar.bz2) = TsXAhjUGXDpnLiEQCwDPkmQdFco=
SHA1 (xulrunner-1.8.1.19-source.tar.bz2) = ZLBeT8YZmDD78sH5PMjWdaZMwG4=
SHA256 (xulrunner-1.8.1.19-source.tar.bz2) = wFKWBANPO4XBzsqYfuVeLAnuHzWGhZwLdw3BpRWGM6Q=
SIZE (xulrunner-1.8.1.19-source.tar.bz2) = 37898606

View File

@ -1,10 +0,0 @@
prefix=!!PREFIX!!
exec_prefix=${prefix}
libdir=${exec_prefix}/xulrunner
includedir=${prefix}/xulrunner/include
Name: xulrunner-embedding
Description: Static library for version-independent embedding of the Mozilla runtime
Version: !!VERSION!!
Libs: -L${libdir} -lxpcomglue
Cflags: -DXPCOM_GLUE -I${includedir} -I${includedir}/xpcom -I${includedir}/string -I${includedir}/gtkembedmoz

View File

@ -1,20 +0,0 @@
$OpenBSD: patch-config_autoconf_mk_in,v 1.1.1.1 2009/07/27 21:36:01 martynas Exp $
--- config/autoconf.mk.in.orig Thu Sep 14 21:07:03 2006
+++ config/autoconf.mk.in Tue Jun 5 23:06:01 2007
@@ -57,13 +57,13 @@ MOZ_PKG_SPECIAL = @MOZ_PKG_SPECIAL@
prefix = @prefix@
exec_prefix = @exec_prefix@
bindir = @bindir@
-includedir = @includedir@/$(MOZ_APP_NAME)-$(MOZ_APP_VERSION)
+includedir = $(prefix)/xulrunner/include
libdir = @libdir@
datadir = @datadir@
mandir = @mandir@
-idldir = @datadir@/idl/$(MOZ_APP_NAME)-$(MOZ_APP_VERSION)
+idldir = $(prefix)/xulrunner/idl
-mozappdir = $(libdir)/$(MOZ_APP_NAME)-$(MOZ_APP_VERSION)
+mozappdir = $(prefix)/xulrunner
mredir = $(libdir)/mre/mre-$(MOZ_APP_VERSION)
mrelibdir = $(mredir)/lib

View File

@ -1,15 +0,0 @@
$OpenBSD: patch-config_rules_mk,v 1.1.1.1 2009/07/27 21:36:01 martynas Exp $
--- config/rules.mk.orig Tue Dec 18 23:33:08 2007
+++ config/rules.mk Mon Aug 25 14:09:39 2008
@@ -456,6 +456,11 @@ endif
endif
endif
+ifeq ($(OS_ARCH),OpenBSD)
+DSO_LDOPTS += -Wl,-rpath,'$(mozappdir)'
+OS_LDFLAGS += -Wl,-rpath,'$(mozappdir)'
+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.1.1.1 2009/07/27 21:36:01 martynas Exp $
--- configure.in.orig Sun Oct 19 19:14:06 2008
+++ configure.in Wed Nov 12 23:39:00 2008
@@ -2030,7 +2030,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'
@@ -3880,7 +3880,7 @@ _SAVE_LIBS=$LIBS
CFLAGS="$ZLIB_CFLAGS $CFLAGS"
LDFLAGS="$ZLIB_LIBS -lz $LDFLAGS"
if test -n "${PNG_DIR}" -a "${PNG_DIR}" != "yes"; then
- CFLAGS="-I${PNG_DIR}/include $CFLAGS"
+ CFLAGS="-I${PNG_DIR}/include/libpng $CFLAGS"
LDFLAGS="-L${PNG_DIR}/lib $LDFLAGS"
fi
if test -z "$PNG_DIR" -o "$PNG_DIR" = no; then
@@ -3910,7 +3910,7 @@ LDFLAGS=$_SAVE_LDFLAGS
LIBS=$_SAVE_LIBS
if test "${PNG_DIR}" -a -d "${PNG_DIR}" -a "$SYSTEM_PNG" = 1; then
- PNG_CFLAGS="-I${PNG_DIR}/include"
+ PNG_CFLAGS="-I${PNG_DIR}/include/libpng"
PNG_LIBS="-L${PNG_DIR}/lib ${PNG_LIBS}"
fi

View File

@ -1,15 +0,0 @@
$OpenBSD: patch-content_xul_templates_src_nsTemplateMatchSet_h,v 1.1.1.1 2009/07/27 21:36:01 martynas Exp $
--- content/xul/templates/src/nsTemplateMatchSet.h.orig Sun Apr 18 00:52:30 2004
+++ content/xul/templates/src/nsTemplateMatchSet.h Tue Jun 5 23:06:01 2007
@@ -207,7 +207,11 @@ class nsTemplateMatchRefSet (protected)
* If the set is currently
*/
struct InlineMatches {
+#ifdef __LP64__
+ PRUint64 mCount;
+#else
PRUint32 mCount;
+#endif
nsTemplateMatch* mEntries[kMaxInlineMatches];
};

View File

@ -1,29 +0,0 @@
$OpenBSD: patch-extensions_transformiix_source_base_Double_cpp,v 1.1.1.1 2009/07/27 21:36:01 martynas Exp $
--- extensions/transformiix/source/base/Double.cpp.orig Thu Jun 17 02:12:42 2004
+++ extensions/transformiix/source/base/Double.cpp Sat Sep 10 09:47:31 2005
@@ -115,17 +115,19 @@ typedef union txdpun {
#define TX_DOUBLE_HI32_EXPMASK 0x7ff00000
#define TX_DOUBLE_HI32_MANTMASK 0x000fffff
+#define STRICT_ALIGN __attribute__ ((aligned (8)))
+
//-- Initialize Double related constants
#ifdef IS_BIG_ENDIAN
-const PRUint32 nanMask[2] = {TX_DOUBLE_HI32_EXPMASK | TX_DOUBLE_HI32_MANTMASK,
+const PRUint32 nanMask[2] STRICT_ALIGN = {TX_DOUBLE_HI32_EXPMASK | TX_DOUBLE_HI32_MANTMASK,
0xffffffff};
-const PRUint32 infMask[2] = {TX_DOUBLE_HI32_EXPMASK, 0};
-const PRUint32 negInfMask[2] = {TX_DOUBLE_HI32_EXPMASK | TX_DOUBLE_HI32_SIGNBIT, 0};
+const PRUint32 infMask[2] STRICT_ALIGN = {TX_DOUBLE_HI32_EXPMASK, 0};
+const PRUint32 negInfMask[2] STRICT_ALIGN = {TX_DOUBLE_HI32_EXPMASK | TX_DOUBLE_HI32_SIGNBIT, 0};
#else
-const PRUint32 nanMask[2] = {0xffffffff,
+const PRUint32 nanMask[2] STRICT_ALIGN = {0xffffffff,
TX_DOUBLE_HI32_EXPMASK | TX_DOUBLE_HI32_MANTMASK};
-const PRUint32 infMask[2] = {0, TX_DOUBLE_HI32_EXPMASK};
-const PRUint32 negInfMask[2] = {0, TX_DOUBLE_HI32_EXPMASK | TX_DOUBLE_HI32_SIGNBIT};
+const PRUint32 infMask[2] STRICT_ALIGN = {0, TX_DOUBLE_HI32_EXPMASK};
+const PRUint32 negInfMask[2] STRICT_ALIGN = {0, TX_DOUBLE_HI32_EXPMASK | TX_DOUBLE_HI32_SIGNBIT};
#endif
const double Double::NaN = *((double*)nanMask);

View File

@ -1,12 +0,0 @@
$OpenBSD: patch-gfx_src_ps_nsFontMetricsPS_cpp,v 1.1.1.1 2009/07/27 21:36:01 martynas Exp $
--- gfx/src/ps/nsFontMetricsPS.cpp.orig Thu Nov 30 04:17:21 2006
+++ gfx/src/ps/nsFontMetricsPS.cpp Fri Apr 6 17:21:07 2007
@@ -995,7 +995,7 @@ nsFontPSXft::FindFont(PRUnichar aChar, const nsFont& a
fontps *fps = new fontps;
fps->entry = xftEntry;
- fps->charset = fc_charset;
+ fps->charset = FcCharSetCopy(fc_charset);
fps->fontps = nsnull;
fpi.fontps->AppendElement(fps);
}

View File

@ -1,12 +0,0 @@
$OpenBSD: patch-gfx_src_psshared_nsCUPSShim_cpp,v 1.1.1.1 2009/07/27 21:36:01 martynas Exp $
--- gfx/src/psshared/nsCUPSShim.cpp.orig Sun May 8 18:01:20 2005
+++ gfx/src/psshared/nsCUPSShim.cpp Tue Jun 5 23:06:01 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,11 +0,0 @@
$OpenBSD: patch-js_Makefile_in,v 1.1.1.1 2009/07/27 21:36:01 martynas Exp $
--- js/Makefile.in.orig Thu Aug 21 21:23:03 2008
+++ js/Makefile.in Thu Aug 21 21:24:19 2008
@@ -61,6 +61,6 @@ include $(DEPTH)/config/autoconf.mk
# See top-level makefile for details
#
-DIRS = src/fdlibm src
+DIRS = src
include $(topsrcdir)/config/rules.mk

View File

@ -1,12 +0,0 @@
$OpenBSD: patch-js_src_jsnum_h,v 1.1.1.1 2009/07/27 21:36:01 martynas Exp $
--- js/src/jsnum.h.orig Mon Feb 11 19:56:18 2008
+++ js/src/jsnum.h Mon Feb 11 19:57:23 2008
@@ -61,7 +61,7 @@ JS_BEGIN_EXTERN_C
*/
#if defined(__arm) || defined(__arm32__) || defined(__arm26__) || defined(__arm__)
-#ifndef __QNXNTO__
+#if !defined(__QNXNTO__) && !defined(__OpenBSD__) /* Armel ABI */
#define CPU_IS_ARM
#endif
#endif

View File

@ -1,21 +0,0 @@
$OpenBSD: patch-js_src_liveconnect_nsISecureLiveconnect_h,v 1.1.1.1 2009/07/27 21:36:01 martynas Exp $
--- js/src/liveconnect/nsISecureLiveconnect.h.orig Mon Oct 8 23:41:14 2007
+++ js/src/liveconnect/nsISecureLiveconnect.h Mon Oct 8 23:43:54 2007
@@ -51,7 +51,17 @@
#include "nsIFactory.h"
#include "jni.h"
+/*
+ * jint is 32 bit, jlong is 64 bit. So we must consider 64-bit platform.
+ *
+ * http://java.sun.com/j2se/1.4.2/docs/guide/jni/spec/types.html#wp428
+ */
+
+#if JS_BYTES_PER_WORD == 8
+typedef jlong jsobject;
+#else
typedef jint jsobject;
+#endif /* JS_BYTES_PER_WORD == 8 */
class nsISecureLiveconnect : public nsISupports {
public:

View File

@ -1,11 +0,0 @@
--- js/src/xpconnect/shell/Makefile.in.orig Tue Apr 5 15:35:51 2005
+++ js/src/xpconnect/shell/Makefile.in Fri Jun 8 21:04:24 2007
@@ -56,6 +56,8 @@ REQUIRES = xpconnect \
CPPSRCS = xpcshell.cpp
LIBS = \
+ -Wl,-rpath-link,_LOCALBASE_/lib/ \
+ -Wl,-rpath-link,_X11BASE_/lib/ \
$(MOZ_JS_LIBS) \
$(XPCOM_LIBS) \
$(NSPR_LIBS) \

View File

@ -1,61 +0,0 @@
$OpenBSD: patch-modules_libpref_src_init_all_js,v 1.1.1.1 2009/07/27 21:36:01 martynas Exp $
--- modules/libpref/src/init/all.js.orig Fri Oct 31 00:05:49 2008
+++ modules/libpref/src/init/all.js Wed Nov 12 23:24:59 2008
@@ -1944,33 +1944,33 @@ pref("font.name.monospace.ko", "monospace");
// th
-pref("font.name.serif.tr", "Times");
-pref("font.name.sans-serif.tr", "Helvetica");
-pref("font.name.monospace.tr", "Courier");
+pref("font.name.serif.tr", "serif");
+pref("font.name.sans-serif.tr", "sans-serif");
+pref("font.name.monospace.tr", "monospace");
pref("font.name.serif.x-baltic", "serif");
pref("font.name.sans-serif.x-baltic", "sans-serif");
pref("font.name.monospace.x-baltic", "monospace");
-pref("font.name.serif.x-central-euro", "Times");
-pref("font.name.sans-serif.x-central-euro", "Helvetica");
-pref("font.name.monospace.x-central-euro", "Courier");
+pref("font.name.serif.x-central-euro", "serif");
+pref("font.name.sans-serif.x-central-euro", "sans-serif");
+pref("font.name.monospace.x-central-euro", "monospace");
pref("font.name.serif.x-cyrillic", "serif");
pref("font.name.sans-serif.x-cyrillic", "sans-serif");
pref("font.name.monospace.x-cyrillic", "monospace");
-pref("font.name.serif.x-unicode", "Times");
-pref("font.name.sans-serif.x-unicode", "Helvetica");
-pref("font.name.monospace.x-unicode", "Courier");
+pref("font.name.serif.x-unicode", "serif");
+pref("font.name.sans-serif.x-unicode", "sans-serif");
+pref("font.name.monospace.x-unicode", "monospace");
-pref("font.name.serif.x-user-def", "Times");
-pref("font.name.sans-serif.x-user-def", "Helvetica");
-pref("font.name.monospace.x-user-def", "Courier");
+pref("font.name.serif.x-user-def", "serif");
+pref("font.name.sans-serif.x-user-def", "sans-serif");
+pref("font.name.monospace.x-user-def", "monospace");
-pref("font.name.serif.x-western", "Times");
-pref("font.name.sans-serif.x-western", "Helvetica");
-pref("font.name.monospace.x-western", "Courier");
+pref("font.name.serif.x-western", "serif");
+pref("font.name.sans-serif.x-western", "sans-serif");
+pref("font.name.monospace.x-western", "monospace");
pref("font.name.serif.zh-CN", "serif");
pref("font.name.sans-serif.zh-CN", "sans-serif");
@@ -2110,7 +2110,7 @@ pref("font.scale.outline.min", 6);
// TrueType
pref("font.FreeType2.enable", false);
-pref("font.freetype2.shared-library", "libfreetype.so.6");
+pref("font.freetype2.shared-library", "libfreetype.so");
// if libfreetype was built without hinting compiled in
// it is best to leave hinting off
pref("font.FreeType2.autohinted", false);

View File

@ -1,12 +0,0 @@
$OpenBSD: patch-security_coreconf_OpenBSD_mk,v 1.1.1.1 2009/07/27 21:36:01 martynas Exp $
--- security/coreconf/OpenBSD.mk.orig Sun May 6 11:08:36 2007
+++ security/coreconf/OpenBSD.mk Wed Jul 2 11:52:33 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 -pipe -DOPENBSD

View File

@ -1,14 +0,0 @@
$OpenBSD: patch-security_manager_ssl_src_Makefile_in,v 1.1.1.1 2009/07/27 21:36:01 martynas Exp $
--- security/manager/ssl/src/Makefile.in.orig Wed Jun 4 23:42:03 2008
+++ security/manager/ssl/src/Makefile.in Fri Jul 4 19:17:49 2008
@@ -127,7 +127,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 2009/07/27 21:36:01 martynas Exp $
--- security/manager/ssl/src/nsNSSComponent.cpp.orig Tue Jul 1 01:54:11 2008
+++ security/manager/ssl/src/nsNSSComponent.cpp Wed Jul 16 14:18:08 2008
@@ -702,11 +702,10 @@ nsNSSComponent::InstallLoadableRoots()
return;
const char *possible_ckbi_locations[] = {
+ 0, // This special value means:
+ // search for ckbi in the the system NSS_LIBDIR
NS_GRE_DIR,
- NS_XPCOM_CURRENT_PROCESS_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) {
@@ -715,7 +714,7 @@ nsNSSComponent::InstallLoadableRoots()
if (!possible_ckbi_locations[il])
{
- fullModuleName = PR_GetLibraryName(nsnull, "nssckbi");
+ fullModuleName = PR_GetLibraryName(NSS_LIBDIR, "nssckbi");
}
else
{

View File

@ -1,12 +0,0 @@
$OpenBSD: patch-widget_src_gtk2_nsSound_cpp,v 1.1.1.1 2009/07/27 21:36:01 martynas Exp $
--- widget/src/gtk2/nsSound.cpp.orig Fri Aug 25 23:29:26 2006
+++ widget/src/gtk2/nsSound.cpp Tue Jun 5 23:06:01 2007
@@ -114,7 +114,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_FindSymbol(elib, "esd_open_sound");

View File

@ -1,12 +0,0 @@
$OpenBSD: patch-xpcom_components_nsNativeComponentLoader_cpp,v 1.1.1.1 2009/07/27 21:36:01 martynas Exp $
--- xpcom/components/nsNativeComponentLoader.cpp.orig Tue Nov 14 23:09:15 2006
+++ xpcom/components/nsNativeComponentLoader.cpp Tue Jun 5 23:06:01 2007
@@ -668,7 +668,7 @@ nsNativeComponentLoader::AutoRegisterComponent(PRInt32
".shlb", /* Mac ? */
".dso", /* Unix ? */
".dylib", /* Unix: Mach */
- ".so.1.0", /* Unix: BSD */
+ ".so._SO_VERSION_", /* Unix: BSD */
".sl", /* Unix: HP-UX */
#if defined(VMS)
".exe", /* Open VMS */

View File

@ -1,24 +0,0 @@
$OpenBSD: patch-xulrunner_app_mozilla_in,v 1.1.1.1 2009/07/27 21:36:01 martynas Exp $
--- xulrunner/app/mozilla.in.orig Fri Jan 11 05:20:02 2008
+++ xulrunner/app/mozilla.in Mon Feb 11 00:11:31 2008
@@ -93,6 +93,7 @@ moz_pis_startstop_scripts()
#set -x
moz_libdir=%MOZAPPDIR%
+MOZ_PLUGIN_PATH=${MOZ_PLUGIN_PATH:=_LOCALBASE_/lib/mozilla-plugins}
MRE_HOME=%MREDIR%
# Use run-mozilla.sh in the current dir if it exists
@@ -270,7 +271,11 @@ do
esac
done
-export MRE_HOME
+if [ `_X11BASE_/bin/fc-list | wc -l` -eq 0 ]; then
+ export GDK_USE_XFT=0
+fi
+
+export MOZ_PLUGIN_PATH MRE_HOME
## Start addon scripts
moz_pis_startstop_scripts "start"

View File

@ -1,11 +0,0 @@
--- xulrunner/setup/nsXULAppInstall.js.orig Mon Feb 27 14:55:45 2006
+++ xulrunner/setup/nsXULAppInstall.js Tue Dec 26 08:13:12 2006
@@ -246,7 +246,7 @@ const AppInstall = {
#else
aDirectory = Components.classes["@mozilla.org/file/local;1"].
createInstance(nsILocalFile);
- aDirectory.initWithPath("/usr/lib");
+ aDirectory.initWithPath("_LOCALBASE_");
if (vendor)
aDirectory.append(vendor.toLowerCase());
#endif

View File

@ -1 +0,0 @@
include and idl files for programs that use the Gecko layout engine

View File

@ -1,6 +0,0 @@
XULRunner is a single "gecko runtime" installable package that can
be used to bootstrap multiple XUL+XPCOM applications that are as
rich as Firefox and Thunderbird. It will provide mechanisms for
installing, upgrading, and uninstalling these applications. XULRunner
will also provide libxul, a solution which allows the embedding of
Mozilla technologies in other projects and products.

View File

@ -1,21 +0,0 @@
@comment $OpenBSD: PFRAG.shared-main,v 1.1.1.1 2009/07/27 21:36:01 martynas Exp $
@lib xulrunner/components/libauth.so.${LIBauth_VERSION}
@lib xulrunner/components/libautoconfig.so.${LIBautoconfig_VERSION}
@lib xulrunner/components/libcookie.so.${LIBcookie_VERSION}
@lib xulrunner/components/libfileview.so.${LIBfileview_VERSION}
@lib xulrunner/components/libpermissions.so.${LIBpermissions_VERSION}
@lib xulrunner/components/libpipboot.so.${LIBpipboot_VERSION}
@lib xulrunner/components/libpipnss.so.${LIBpipnss_VERSION}
@lib xulrunner/components/libpippki.so.${LIBpippki_VERSION}
@lib xulrunner/components/libsystem-pref.so.${LIBsystem-pref_VERSION}
@lib xulrunner/components/libtransformiix.so.${LIBtransformiix_VERSION}
@lib xulrunner/components/libuniversalchardet.so.${LIBuniversalchardet_VERSION}
@lib xulrunner/components/libwebsrvcs.so.${LIBwebsrvcs_VERSION}
@lib xulrunner/components/libxmlextras.so.${LIBxmlextras_VERSION}
@lib xulrunner/components/libxulutil.so.${LIBxulutil_VERSION}
@lib xulrunner/libgtkembedmoz.so.${LIBgtkembedmoz_VERSION}
@lib xulrunner/libmozjs.so.${LIBmozjs_VERSION}
@lib xulrunner/libxpcom.so.${LIBxpcom_VERSION}
@lib xulrunner/libxul.so.${LIBxul_VERSION}
@lib xulrunner/plugins/libnullplugin.so.${LIBnullplugin_VERSION}
@lib xulrunner/plugins/libunixprintplugin.so.${LIBunixprintplugin_VERSION}

File diff suppressed because it is too large Load Diff

View File

@ -1,373 +0,0 @@
@comment $OpenBSD: PLIST-main,v 1.2 2010/09/26 07:42:03 espie Exp $
@option no-default-conflict
@conflict xulrunner->=1.8,<1.9
@pkgpath devel/xulrunner,-main
@unexec xulrunner --unregister-global
%%SHARED%%
bin/xulrunner
bin/xulrunner-config
xulrunner/
xulrunner/LICENSE
@bin xulrunner/TestGtkEmbed
xulrunner/chrome/
xulrunner/chrome/chromelist.txt
xulrunner/chrome/classic.jar
xulrunner/chrome/classic.manifest
xulrunner/chrome/comm.jar
xulrunner/chrome/comm.manifest
xulrunner/chrome/en-US.jar
xulrunner/chrome/en-US.manifest
xulrunner/chrome/icons/
xulrunner/chrome/icons/default/
xulrunner/chrome/icons/default/default.xpm
xulrunner/chrome/pippki.jar
xulrunner/chrome/pippki.manifest
xulrunner/chrome/toolkit.jar
xulrunner/chrome/toolkit.manifest
xulrunner/components/
xulrunner/components/FeedProcessor.js
xulrunner/components/accessibility-atk.xpt
xulrunner/components/accessibility.xpt
xulrunner/components/alerts.xpt
xulrunner/components/appshell.xpt
xulrunner/components/appstartup.xpt
xulrunner/components/autocomplete.xpt
xulrunner/components/autoconfig.xpt
xulrunner/components/caps.xpt
xulrunner/components/chardet.xpt
xulrunner/components/chrome.xpt
xulrunner/components/commandhandler.xpt
xulrunner/components/commandlines.xpt
xulrunner/components/composer.xpt
xulrunner/components/content_base.xpt
xulrunner/components/content_html.xpt
xulrunner/components/content_htmldoc.xpt
xulrunner/components/content_xmldoc.xpt
xulrunner/components/content_xslt.xpt
xulrunner/components/content_xtf.xpt
xulrunner/components/cookie.xpt
xulrunner/components/directory.xpt
xulrunner/components/docshell.xpt
xulrunner/components/dom.xpt
xulrunner/components/dom_base.xpt
xulrunner/components/dom_canvas.xpt
xulrunner/components/dom_core.xpt
xulrunner/components/dom_css.xpt
xulrunner/components/dom_events.xpt
xulrunner/components/dom_html.xpt
xulrunner/components/dom_loadsave.xpt
xulrunner/components/dom_range.xpt
xulrunner/components/dom_sidebar.xpt
xulrunner/components/dom_storage.xpt
xulrunner/components/dom_stylesheets.xpt
xulrunner/components/dom_svg.xpt
xulrunner/components/dom_traversal.xpt
xulrunner/components/dom_views.xpt
xulrunner/components/dom_xbl.xpt
xulrunner/components/dom_xpath.xpt
xulrunner/components/dom_xul.xpt
xulrunner/components/downloads.xpt
xulrunner/components/editor.xpt
xulrunner/components/embed_base.xpt
xulrunner/components/extensions.xpt
xulrunner/components/exthandler.xpt
xulrunner/components/fastfind.xpt
xulrunner/components/feeds.xpt
xulrunner/components/filepicker.xpt
xulrunner/components/find.xpt
xulrunner/components/gfx.xpt
xulrunner/components/gksvgrenderer.xpt
xulrunner/components/history.xpt
xulrunner/components/htmlparser.xpt
xulrunner/components/imglib2.xpt
xulrunner/components/inspector.xpt
xulrunner/components/intl.xpt
xulrunner/components/jar.xpt
xulrunner/components/jsconsole-clhandler.js
xulrunner/components/jsconsole.xpt
xulrunner/components/jsdservice.xpt
xulrunner/components/layout_base.xpt
xulrunner/components/layout_printing.xpt
xulrunner/components/layout_xul.xpt
xulrunner/components/layout_xul_tree.xpt
xulrunner/components/locale.xpt
xulrunner/components/lwbrk.xpt
xulrunner/components/mimetype.xpt
xulrunner/components/mozbrwsr.xpt
xulrunner/components/mozfind.xpt
xulrunner/components/mozgnome.xpt
xulrunner/components/necko.xpt
xulrunner/components/necko_about.xpt
xulrunner/components/necko_cache.xpt
xulrunner/components/necko_cookie.xpt
xulrunner/components/necko_data.xpt
xulrunner/components/necko_dns.xpt
xulrunner/components/necko_file.xpt
xulrunner/components/necko_ftp.xpt
xulrunner/components/necko_http.xpt
xulrunner/components/necko_res.xpt
xulrunner/components/necko_socket.xpt
xulrunner/components/necko_strconv.xpt
xulrunner/components/necko_viewsource.xpt
xulrunner/components/nsCloseAllWindows.js
xulrunner/components/nsDefaultCLH.js
xulrunner/components/nsDictionary.js
xulrunner/components/nsExtensionManager.js
xulrunner/components/nsFilePicker.js
xulrunner/components/nsHelperAppDlg.js
xulrunner/components/nsInterfaceInfoToIDL.js
xulrunner/components/nsKillAll.js
xulrunner/components/nsProgressDialog.js
xulrunner/components/nsProxyAutoConfig.js
xulrunner/components/nsResetPref.js
xulrunner/components/nsURLFormatter.js
xulrunner/components/nsUpdateService.js
xulrunner/components/nsXULAppInstall.js
xulrunner/components/nsXmlRpcClient.js
xulrunner/components/oji.xpt
xulrunner/components/passwordmgr.xpt
xulrunner/components/pipboot.xpt
xulrunner/components/pipnss.xpt
xulrunner/components/pippki.xpt
xulrunner/components/plugin.xpt
xulrunner/components/pref.xpt
xulrunner/components/prefetch.xpt
xulrunner/components/profile.xpt
xulrunner/components/progressDlg.xpt
xulrunner/components/proxyObjInst.xpt
xulrunner/components/rdf.xpt
xulrunner/components/satchel.xpt
xulrunner/components/saxparser.xpt
xulrunner/components/shistory.xpt
xulrunner/components/storage.xpt
xulrunner/components/toolkitprofile.xpt
xulrunner/components/toolkitremote.xpt
xulrunner/components/txmgr.xpt
xulrunner/components/txtsvc.xpt
xulrunner/components/uconv.xpt
xulrunner/components/unicharutil.xpt
xulrunner/components/update.xpt
xulrunner/components/uriloader.xpt
xulrunner/components/urlformatter.xpt
xulrunner/components/webBrowser_core.xpt
xulrunner/components/webbrowserpersist.xpt
xulrunner/components/webshell_idls.xpt
xulrunner/components/websrvcs.xpt
xulrunner/components/widget.xpt
xulrunner/components/windowds.xpt
xulrunner/components/windowwatcher.xpt
xulrunner/components/xml-rpc.xpt
xulrunner/components/xpcom_base.xpt
xulrunner/components/xpcom_components.xpt
xulrunner/components/xpcom_ds.xpt
xulrunner/components/xpcom_io.xpt
xulrunner/components/xpcom_obsolete.xpt
xulrunner/components/xpcom_threads.xpt
xulrunner/components/xpcom_xpti.xpt
xulrunner/components/xpconnect.xpt
xulrunner/components/xpinstall.xpt
xulrunner/components/xulapp.xpt
xulrunner/components/xulapp_setup.xpt
xulrunner/components/xuldoc.xpt
xulrunner/components/xulrunner.xpt
xulrunner/components/xultmpl.xpt
xulrunner/defaults/
xulrunner/defaults/autoconfig/
xulrunner/defaults/autoconfig/platform.js
xulrunner/defaults/autoconfig/prefcalls.js
xulrunner/defaults/pref/
xulrunner/defaults/pref/xulrunner.js
xulrunner/defaults/profile/
xulrunner/defaults/profile/US/
xulrunner/defaults/profile/US/chrome/
xulrunner/defaults/profile/US/chrome/userChrome-example.css
xulrunner/defaults/profile/US/chrome/userContent-example.css
xulrunner/defaults/profile/US/localstore.rdf
xulrunner/defaults/profile/chrome/
xulrunner/defaults/profile/chrome/userChrome-example.css
xulrunner/defaults/profile/chrome/userContent-example.css
xulrunner/defaults/profile/localstore.rdf
xulrunner/greprefs/
xulrunner/greprefs/all.js
xulrunner/greprefs/security-prefs.js
xulrunner/greprefs/xpinstall.js
xulrunner/icons/
xulrunner/icons/document.png
xulrunner/icons/mozicon16.xpm
xulrunner/icons/mozicon50.xpm
@bin xulrunner/mozilla-xremote-client
@bin xulrunner/nsinstall
xulrunner/plugins/
@bin xulrunner/regxpcom
xulrunner/res/
xulrunner/res/EditorOverride.css
xulrunner/res/arrow.gif
xulrunner/res/arrowd.gif
xulrunner/res/bloatcycle.html
xulrunner/res/broken-image.gif
xulrunner/res/charsetData.properties
xulrunner/res/charsetalias.properties
xulrunner/res/cmessage.txt
xulrunner/res/dtd/
xulrunner/res/dtd/mathml.dtd
xulrunner/res/dtd/xhtml11.dtd
xulrunner/res/entityTables/
xulrunner/res/entityTables/html40Latin1.properties
xulrunner/res/entityTables/html40Special.properties
xulrunner/res/entityTables/html40Symbols.properties
xulrunner/res/entityTables/htmlEntityVersions.properties
xulrunner/res/entityTables/mathml20.properties
xulrunner/res/entityTables/transliterate.properties
xulrunner/res/fonts/
xulrunner/res/fonts/fontEncoding.properties
xulrunner/res/fonts/mathfont.properties
xulrunner/res/fonts/mathfontCMEX10.properties
xulrunner/res/fonts/mathfontCMSY10.properties
xulrunner/res/fonts/mathfontMTExtra.properties
xulrunner/res/fonts/mathfontMath1.properties
xulrunner/res/fonts/mathfontMath2.properties
xulrunner/res/fonts/mathfontMath4.properties
xulrunner/res/fonts/mathfontPUA.properties
xulrunner/res/fonts/mathfontSymbol.properties
xulrunner/res/fonts/pangoFontEncoding.properties
xulrunner/res/forms.css
xulrunner/res/grabber.gif
xulrunner/res/hiddenWindow.html
xulrunner/res/html/
xulrunner/res/html.css
xulrunner/res/html/gopher-audio.gif
xulrunner/res/html/gopher-binary.gif
xulrunner/res/html/gopher-find.gif
xulrunner/res/html/gopher-image.gif
xulrunner/res/html/gopher-menu.gif
xulrunner/res/html/gopher-movie.gif
xulrunner/res/html/gopher-sound.gif
xulrunner/res/html/gopher-telnet.gif
xulrunner/res/html/gopher-text.gif
xulrunner/res/html/gopher-unknown.gif
xulrunner/res/langGroups.properties
xulrunner/res/language.properties
xulrunner/res/loading-image.gif
xulrunner/res/mathml.css
xulrunner/res/quirk.css
xulrunner/res/sample.unixpsfonts.properties
xulrunner/res/samples/
xulrunner/res/samples/Anieyes.gif
xulrunner/res/samples/aform.css
xulrunner/res/samples/beeptest.html
xulrunner/res/samples/bform.css
xulrunner/res/samples/bg.jpg
xulrunner/res/samples/cform.css
xulrunner/res/samples/checkboxTest.xul
xulrunner/res/samples/demoform.css
xulrunner/res/samples/find.html
xulrunner/res/samples/gear1.gif
xulrunner/res/samples/image_props.html
xulrunner/res/samples/mozform.css
xulrunner/res/samples/printsetup.html
xulrunner/res/samples/raptor.jpg
xulrunner/res/samples/rock_gra.gif
xulrunner/res/samples/scrollbarTest1.xul
xulrunner/res/samples/scrollbarTest2.xul
xulrunner/res/samples/sliderTest1.xul
xulrunner/res/samples/soundtest.html
xulrunner/res/samples/test.wav
xulrunner/res/samples/test0.html
xulrunner/res/samples/test1.html
xulrunner/res/samples/test10.html
xulrunner/res/samples/test11.html
xulrunner/res/samples/test12.html
xulrunner/res/samples/test13.html
xulrunner/res/samples/test14.html
xulrunner/res/samples/test15.html
xulrunner/res/samples/test16.html
xulrunner/res/samples/test2.html
xulrunner/res/samples/test3.html
xulrunner/res/samples/test4.html
xulrunner/res/samples/test5.html
xulrunner/res/samples/test6.html
xulrunner/res/samples/test7.html
xulrunner/res/samples/test8-1.html
xulrunner/res/samples/test8.html
xulrunner/res/samples/test8dom.html
xulrunner/res/samples/test8sca.html
xulrunner/res/samples/test8siz.html
xulrunner/res/samples/test8tab.html
xulrunner/res/samples/test9.html
xulrunner/res/samples/test9a.html
xulrunner/res/samples/test9b.html
xulrunner/res/samples/test_ed.html
xulrunner/res/samples/test_form.html
xulrunner/res/samples/test_gfx.html
xulrunner/res/samples/test_lbox.html
xulrunner/res/samples/test_pr.html
xulrunner/res/samples/test_weight.html
xulrunner/res/samples/toolbarTest1.xul
xulrunner/res/samples/treeTest1.css
xulrunner/res/samples/treeTest1.xul
xulrunner/res/samples/xulTest.css
xulrunner/res/svg.css
xulrunner/res/table-add-column-after-active.gif
xulrunner/res/table-add-column-after-hover.gif
xulrunner/res/table-add-column-after.gif
xulrunner/res/table-add-column-before-active.gif
xulrunner/res/table-add-column-before-hover.gif
xulrunner/res/table-add-column-before.gif
xulrunner/res/table-add-row-after-active.gif
xulrunner/res/table-add-row-after-hover.gif
xulrunner/res/table-add-row-after.gif
xulrunner/res/table-add-row-before-active.gif
xulrunner/res/table-add-row-before-hover.gif
xulrunner/res/table-add-row-before.gif
xulrunner/res/table-remove-column-active.gif
xulrunner/res/table-remove-column-hover.gif
xulrunner/res/table-remove-column.gif
xulrunner/res/table-remove-row-active.gif
xulrunner/res/table-remove-row-hover.gif
xulrunner/res/table-remove-row.gif
xulrunner/res/throbber/
xulrunner/res/throbber/anim.gif
xulrunner/res/throbber/anims00.gif
xulrunner/res/throbber/anims01.gif
xulrunner/res/throbber/anims02.gif
xulrunner/res/throbber/anims03.gif
xulrunner/res/throbber/anims04.gif
xulrunner/res/throbber/anims05.gif
xulrunner/res/throbber/anims06.gif
xulrunner/res/throbber/anims07.gif
xulrunner/res/throbber/anims08.gif
xulrunner/res/throbber/anims09.gif
xulrunner/res/throbber/anims10.gif
xulrunner/res/throbber/anims11.gif
xulrunner/res/throbber/anims12.gif
xulrunner/res/throbber/anims13.gif
xulrunner/res/throbber/anims14.gif
xulrunner/res/throbber/anims15.gif
xulrunner/res/throbber/anims16.gif
xulrunner/res/throbber/anims17.gif
xulrunner/res/throbber/anims18.gif
xulrunner/res/throbber/anims19.gif
xulrunner/res/throbber/anims20.gif
xulrunner/res/throbber/anims21.gif
xulrunner/res/throbber/anims22.gif
xulrunner/res/throbber/anims23.gif
xulrunner/res/throbber/anims24.gif
xulrunner/res/throbber/anims25.gif
xulrunner/res/throbber/anims26.gif
xulrunner/res/throbber/anims27.gif
xulrunner/res/throbber/anims28.gif
xulrunner/res/throbber/anims29.gif
xulrunner/res/ua.css
xulrunner/res/unixcharset.properties
xulrunner/res/viewer.properties
xulrunner/res/viewsource.css
xulrunner/run-mozilla.sh
@bin xulrunner/xulrunner-bin
@bin xulrunner/xulrunner-stub
@sample ${SYSCONFDIR}/gre.d/
@exec xulrunner --register-global
@exec TEMP=`mktemp -d` && cd %D/xulrunner && env HOME=$TEMP LD_LIBRARY_PATH=%D/xulrunner ./regxpcom && rm -fr $TEMP
@unexec rm -f %D/xulrunner/components/compreg.dat
@unexec rm -f %D/xulrunner/components/xpti.dat
@unexec rm -rf %D/xulrunner/extensions
@unexec rm -rf %D/xulrunner/updates

View File

@ -1,7 +1,6 @@
# $OpenBSD: Makefile,v 1.38 2010/02/01 17:00:13 espie Exp $
# $OpenBSD: Makefile,v 1.39 2010/10/24 13:28:44 landry Exp $
SUBDIR =
SUBDIR += 1.8
SUBDIR += 1.9
.include <bsd.port.subdir.mk>