Minimo 1.8.1.19 was released >2 years ago, its codebase is ffx-2.x,
unmaintained upstream, etc. Another mozilla port bites the dust. (i'll port its descendant fennec once ffx4 works, if it works someday..) no objections from zaurus/arm users (sthen, kili, deraadt, todd...) agreed by stephan@ & steven@ at trofea
This commit is contained in:
parent
e38cf0fd51
commit
d12000cc9b
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.473 2010/10/18 07:19:07 dcoppa Exp $
|
||||
# $OpenBSD: Makefile,v 1.474 2010/10/26 09:09:34 landry Exp $
|
||||
# $FreeBSD: Makefile,v 1.65 1997/11/17 06:31:39 fenner Exp $
|
||||
|
||||
SUBDIR =
|
||||
@ -87,7 +87,6 @@
|
||||
SUBDIR += midori
|
||||
SUBDIR += mimetex
|
||||
SUBDIR += mindterm
|
||||
SUBDIR += minimo
|
||||
SUBDIR += minitube
|
||||
SUBDIR += mod_auth_bsd
|
||||
SUBDIR += mod_auth_kerb
|
||||
|
@ -1,150 +0,0 @@
|
||||
# $OpenBSD: Makefile,v 1.60 2010/10/24 21:40:10 ajacoutot Exp $
|
||||
|
||||
ONLY_FOR_ARCHS= alpha amd64 arm i386 powerpc sparc64
|
||||
SHARED_ONLY= Yes
|
||||
|
||||
COMMENT= small, simple, and powerful web browser for mobile devices
|
||||
DISTNAME= minimo-1.8.1.19
|
||||
REVISION= 5
|
||||
EPOCH= 0
|
||||
|
||||
CATEGORIES= www
|
||||
MASTER_SITES= http://openbsddistfiles.com/martynas/mozilla/minimo/
|
||||
|
||||
HOMEPAGE= http://www-archive.mozilla.org/projects/minimo/
|
||||
|
||||
MAINTAINER= Martynas Venckus <martynas@openbsd.org>
|
||||
|
||||
# MPL
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
MODULES= devel/gettext
|
||||
|
||||
BUILD_DEPENDS= :zip->=2.3:archivers/zip \
|
||||
:unzip-*:archivers/unzip \
|
||||
:libIDL-*:devel/libIDL
|
||||
LIB_DEPENDS= jpeg.>=62::graphics/jpeg \
|
||||
png.>=3::graphics/png \
|
||||
gdk-x11-2.0.>=600.0,gtk-x11-2.0.>=600.0::x11/gtk+2 \
|
||||
nspr4.>=17,plc4.>=17,plds4.>=17:nspr->=4.6.4p1:devel/nspr \
|
||||
nss3.>=19,nssutil3.>=22,smime3.>=19,softokn3.>=19,ssl3.>=19:nss->=3.11.4p1:security/nss
|
||||
WANTLIB= X11 Xcomposite Xcursor Xdamage Xext Xfixes Xft Xi Xinerama \
|
||||
Xrandr Xrender Xt Xau Xdmcp expat c fontconfig freetype m \
|
||||
pthread pthread-stubs xcb z gdk_pixbuf-2.0 \
|
||||
atk-1.0.>=1011.0 glib-2.0.>=600.0 gmodule-2.0.>=600.0 \
|
||||
gobject-2.0.>=600.0 pango-1.0.>=800.0 pangocairo-1.0 \
|
||||
pangoft2-1.0 pixman-1 cairo stdc++ gio-2.0
|
||||
RUN_DEPENDS= ::devel/desktop-file-utils
|
||||
|
||||
NO_REGRESS= Yes
|
||||
USE_GMAKE= Yes
|
||||
VMEM_WARNING= Yes
|
||||
|
||||
WRKDIST= ${WRKDIR}/mozilla
|
||||
|
||||
MODGNU_CONFIG_GUESS_DIRS= ${WRKSRC}/build/autoconf
|
||||
|
||||
AUTOCONF_VERSION=2.13
|
||||
CONFIGURE_STYLE=autoconf no-autoheader
|
||||
# use system libs
|
||||
CONFIGURE_ARGS= --with-system-jpeg=${LOCALBASE} \
|
||||
--with-system-png=${LOCALBASE} \
|
||||
--with-system-zlib=/usr/lib \
|
||||
--with-system-nspr \
|
||||
--with-system-nss \
|
||||
--with-pthreads \
|
||||
--disable-native-uconv
|
||||
|
||||
# minimo mozconfig
|
||||
CONFIGURE_ARGS+=--enable-application=minimo \
|
||||
--enable-default-toolkit=gtk2 \
|
||||
--enable-xft \
|
||||
--disable-freetype2 \
|
||||
--disable-optimize \
|
||||
--enable-strip \
|
||||
--disable-debug \
|
||||
--disable-shared \
|
||||
--enable-static \
|
||||
--disable-plugins
|
||||
# things we dont want
|
||||
CONFIGURE_ARGS+=--disable-installer \
|
||||
--disable-updater \
|
||||
--disable-gnomeui \
|
||||
--disable-gnomevfs \
|
||||
--disable-tests \
|
||||
--disable-reorder
|
||||
CONFIGURE_ARGS+=--enable-crypto
|
||||
|
||||
FLAVORS=debug
|
||||
FLAVOR?=
|
||||
|
||||
.if ${FLAVOR:L:Mdebug}
|
||||
CONFIGURE_ARGS+=--disable-strip --enable-debug --enable-optimize=-O0
|
||||
INSTALL_STRIP=
|
||||
.endif
|
||||
|
||||
MAKE_ENV= MOZ_CO_PROJECT=minimo \
|
||||
LD_LIBRARY_PATH="${WRKSRC}/dist/bin" \
|
||||
BUILD_OFFICIAL=1 \
|
||||
MOZILLA_OFFICIAL=1
|
||||
CONFIGURE_ENV= ${MAKE_ENV} \
|
||||
PKG_CONFIG_PATH="${LOCALBASE}/lib/pkgconfig:${X11BASE}/lib/pkgconfig" \
|
||||
topsrcdir=${WRKSRC}
|
||||
|
||||
MOB= ${WRKSRC}/dist/bin
|
||||
MOZ= ${PREFIX}/share/minimo
|
||||
|
||||
pre-configure:
|
||||
${SUBST_CMD} ${WRKSRC}/embedding/minimo/ipkg/minimo.desktop
|
||||
|
||||
do-install:
|
||||
${INSTALL_DATA_DIR} ${MOZ}
|
||||
${INSTALL_PROGRAM} ${MOB}/minimo ${PREFIX}/bin/
|
||||
${INSTALL_DATA_DIR} ${MOZ}/chrome
|
||||
${INSTALL_DATA} ${MOB}/chrome/classic.{jar,manifest} \
|
||||
${MOB}/chrome/en-US.{jar,manifest} \
|
||||
${MOB}/chrome/minimo.{jar,manifest} \
|
||||
${MOB}/chrome/minimo-skin.{jar,manifest} \
|
||||
${MOB}/chrome/minimo-skin-vga.{jar,manifest} \
|
||||
${MOB}/chrome/toolkit.{jar,manifest} \
|
||||
${MOB}/chrome/pippki.{jar,manifest} ${MOZ}/chrome/
|
||||
${INSTALL_DATA_DIR} ${MOZ}/components
|
||||
${INSTALL_DATA} ${MOB}/components/nsHelperAppDlg.js \
|
||||
${MOB}/components/nsProgressDialog.js \
|
||||
${MOB}/extensions/spatial-navigation@extensions.mozilla.org/components/* \
|
||||
${MOZ}/components/
|
||||
${INSTALL_DATA_DIR} ${MOZ}/greprefs
|
||||
${INSTALL_DATA} ${MOB}/greprefs/* ${MOZ}/greprefs/
|
||||
${INSTALL_DATA_DIR} ${MOZ}/res
|
||||
@cp -fr ${MOB}/res/* ${MOZ}/res/
|
||||
@rm -fr ${MOZ}/res/{samples,throbber,viewer.properties,viewsource.css,hiddenWindow.html,bloatcycle.html}
|
||||
${INSTALL_DATA_DIR} ${MOZ}/plugins
|
||||
${MOB}/xpt_link ${MOZ}/components/all.xpt ${MOB}/components/*.xpt
|
||||
@cd ${MOZ}/chrome && \
|
||||
${UNZIP} classic.jar && \
|
||||
rm -rf classic.jar && \
|
||||
rm -rf skin/classic/communicator && \
|
||||
rm -rf skin/classic/editor && \
|
||||
rm -rf skin/classic/messenger && \
|
||||
rm -rf skin/classic/navigator && \
|
||||
zip -r classic.jar skin && \
|
||||
rm -rf skin && \
|
||||
${UNZIP} en-US.jar && \
|
||||
rm -rf en-US.jar && \
|
||||
rm -rf locale/en-US/communicator && \
|
||||
rm -rf locale/en-US/navigator && \
|
||||
zip -r en-US.jar locale && \
|
||||
rm -rf locale
|
||||
@cp -f ${WRKSRC}/minimo/customization/all.js ${MOZ}/greprefs/
|
||||
@cat ${WRKSRC}/minimo/customization/ua.css.additions >> ${MOZ}/res/ua.css
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/applications/
|
||||
${INSTALL_DATA} ${WRKSRC}/embedding/minimo/ipkg/minimo.desktop \
|
||||
${PREFIX}/share/applications/
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/pixmaps/
|
||||
${INSTALL_DATA} ${WRKSRC}/embedding/minimo/ipkg/minimo.png \
|
||||
${PREFIX}/share/pixmaps/
|
||||
|
||||
.include <bsd.port.mk>
|
@ -1,5 +0,0 @@
|
||||
MD5 (minimo-1.8.1.19.tar.gz) = FKEFf52LdcVVjL3GZRTlLQ==
|
||||
RMD160 (minimo-1.8.1.19.tar.gz) = Dq7MRJOnH1gPBTClKBaF14Fvry8=
|
||||
SHA1 (minimo-1.8.1.19.tar.gz) = mSqezG1ViMO3jyfkH6jo+9jZw3c=
|
||||
SHA256 (minimo-1.8.1.19.tar.gz) = 2GFpPOKaMI2Xo6jHucxOpIZgWQzOLgjJ6SqP2aRQnu8=
|
||||
SIZE (minimo-1.8.1.19.tar.gz) = 48648060
|
@ -1,12 +0,0 @@
|
||||
$OpenBSD: patch-config_autoconf_mk_in,v 1.6 2007/04/01 13:19:58 martynas Exp $
|
||||
--- config/autoconf.mk.in.orig Thu Sep 14 21:07:03 2006
|
||||
+++ config/autoconf.mk.in Wed Mar 28 12:09:46 2007
|
||||
@@ -63,7 +63,7 @@ datadir = @datadir@
|
||||
mandir = @mandir@
|
||||
idldir = @datadir@/idl/$(MOZ_APP_NAME)-$(MOZ_APP_VERSION)
|
||||
|
||||
-mozappdir = $(libdir)/$(MOZ_APP_NAME)-$(MOZ_APP_VERSION)
|
||||
+mozappdir = $(prefix)/share/minimo
|
||||
mredir = $(libdir)/mre/mre-$(MOZ_APP_VERSION)
|
||||
mrelibdir = $(mredir)/lib
|
||||
|
@ -1,21 +0,0 @@
|
||||
$OpenBSD: patch-configure_in,v 1.9 2008/11/13 17:01:56 martynas Exp $
|
||||
--- configure.in.orig Sun Oct 19 19:14:06 2008
|
||||
+++ configure.in Wed Nov 12 23:09:53 2008
|
||||
@@ -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
|
||||
|
@ -1,15 +0,0 @@
|
||||
$OpenBSD: patch-content_xul_templates_src_nsTemplateMatchSet_h,v 1.2 2007/04/01 09:36:15 martynas Exp $
|
||||
--- content/xul/templates/src/nsTemplateMatchSet.h.orig Sun Apr 18 00:52:30 2004
|
||||
+++ content/xul/templates/src/nsTemplateMatchSet.h Wed Mar 28 12:08:10 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];
|
||||
};
|
||||
|
@ -1,12 +0,0 @@
|
||||
$OpenBSD: patch-embedding_base_nsEmbedAPI_cpp,v 1.1 2007/04/01 13:19:58 martynas Exp $
|
||||
--- embedding/base/nsEmbedAPI.cpp.orig Thu Jul 21 16:33:40 2005
|
||||
+++ embedding/base/nsEmbedAPI.cpp Sun Apr 1 13:29:27 2007
|
||||
@@ -53,7 +53,7 @@ static PRBool sRegistryInitializedFlag = P
|
||||
static PRUint32 sInitCounter = 0;
|
||||
|
||||
#define HACK_AROUND_THREADING_ISSUES
|
||||
-//#define HACK_AROUND_NONREENTRANT_INITXPCOM
|
||||
+#define HACK_AROUND_NONREENTRANT_INITXPCOM
|
||||
|
||||
#ifdef HACK_AROUND_NONREENTRANT_INITXPCOM
|
||||
// XXX hack class to clean up XPCOM when this module is unloaded
|
@ -1,16 +0,0 @@
|
||||
$OpenBSD: patch-embedding_minimo_ipkg_minimo_desktop,v 1.1 2008/10/24 21:01:11 jasper Exp $
|
||||
--- embedding/minimo/ipkg/minimo.desktop.orig Tue Jan 27 02:46:05 2004
|
||||
+++ embedding/minimo/ipkg/minimo.desktop Fri Oct 24 17:54:26 2008
|
||||
@@ -1,9 +1,9 @@
|
||||
[Desktop Entry]
|
||||
Name=Minimo
|
||||
Comment=Minimo web browser
|
||||
-Exec=minimo http://www.mozilla.org/projects/minimo/home.html
|
||||
-Terminal=0
|
||||
+Exec=minimo
|
||||
+Terminal=false
|
||||
Type=Application
|
||||
-Icon=minimo.png
|
||||
+Icon=${PREFIX}/share/pixmaps/minimo.png
|
||||
Categories=Application;PIM
|
||||
StartupNotify=True
|
@ -1,40 +0,0 @@
|
||||
$OpenBSD: patch-extensions_transformiix_source_base_Double_cpp,v 1.5 2009/02/03 22:22:11 martynas Exp $
|
||||
--- extensions/transformiix/source/base/Double.cpp.orig Thu Jun 22 22:13:00 2006
|
||||
+++ extensions/transformiix/source/base/Double.cpp Mon Feb 2 20:20:46 2009
|
||||
@@ -72,8 +72,10 @@ fp_except_t oldmask = fpsetmask(~allmask);
|
||||
*/
|
||||
|
||||
#if defined(__arm) || defined(__arm32__) || defined(_arm26__) || defined(__arm__)
|
||||
+#ifndef __OpenBSD__ /* Armel ABI */
|
||||
#define CPU_IS_ARM
|
||||
#endif
|
||||
+#endif
|
||||
|
||||
#if (__GNUC__ == 2 && __GNUC_MINOR__ > 95) || __GNUC__ > 2
|
||||
/**
|
||||
@@ -115,17 +117,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);
|
@ -1,12 +0,0 @@
|
||||
$OpenBSD: patch-gfx_src_ps_nsFontMetricsPS_cpp,v 1.3 2007/04/01 09:36:15 martynas Exp $
|
||||
--- gfx/src/ps/nsFontMetricsPS.cpp.orig Thu Nov 30 04:17:21 2006
|
||||
+++ gfx/src/ps/nsFontMetricsPS.cpp Wed Mar 28 12:08:10 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);
|
||||
}
|
@ -1,12 +0,0 @@
|
||||
$OpenBSD: patch-gfx_src_psshared_nsCUPSShim_cpp,v 1.2 2007/04/01 09:36:15 martynas Exp $
|
||||
--- gfx/src/psshared/nsCUPSShim.cpp.orig Sun May 8 18:01:20 2005
|
||||
+++ gfx/src/psshared/nsCUPSShim.cpp Wed Mar 28 12:08:10 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;
|
||||
|
@ -1,11 +0,0 @@
|
||||
$OpenBSD: patch-js_Makefile_in,v 1.1 2008/08/23 22:12:21 martynas Exp $
|
||||
--- js/Makefile.in.orig Thu Aug 21 19:11:34 2008
|
||||
+++ js/Makefile.in Thu Aug 21 19:35:32 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
|
@ -1,12 +0,0 @@
|
||||
$OpenBSD: patch-js_src_jsnum_h,v 1.2 2007/11/13 21:24:48 martynas Exp $
|
||||
--- js/src/jsnum.h.orig Thu Nov 1 22:52:24 2007
|
||||
+++ js/src/jsnum.h Fri Nov 9 15:33:55 2007
|
||||
@@ -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
|
@ -1,12 +0,0 @@
|
||||
$OpenBSD: patch-minimo_base_Makefile_in,v 1.1 2007/04/01 13:19:58 martynas Exp $
|
||||
--- minimo/base/Makefile.in.orig Sun Apr 1 13:40:09 2007
|
||||
+++ minimo/base/Makefile.in Sun Apr 1 13:35:53 2007
|
||||
@@ -42,6 +42,8 @@ VPATH = @srcdir@
|
||||
|
||||
include $(DEPTH)/config/autoconf.mk
|
||||
|
||||
+DEFINES += -DMOZAPPDIR=\"$(mozappdir)\"
|
||||
+
|
||||
MOZILLA_INTERNAL_API = 1
|
||||
|
||||
|
@ -1,48 +0,0 @@
|
||||
$OpenBSD: patch-minimo_base_Minimo_cpp,v 1.4 2010/06/06 08:11:38 espie Exp $
|
||||
--- minimo/base/Minimo.cpp.orig Fri Oct 27 22:30:36 2006
|
||||
+++ minimo/base/Minimo.cpp Sun Jun 6 10:03:40 2010
|
||||
@@ -34,6 +34,8 @@
|
||||
*
|
||||
* ***** END LICENSE BLOCK ***** */
|
||||
|
||||
+#include <unistd.h>
|
||||
+
|
||||
#include "MinimoPrivate.h"
|
||||
|
||||
#include "nsIFullScreen.h"
|
||||
@@ -77,7 +79,7 @@ void ErrorAlert(const char* message)
|
||||
|
||||
}
|
||||
|
||||
-PRBool isChromeAvaiable()
|
||||
+PRBool isChromeAvailable()
|
||||
{
|
||||
nsCOMPtr<nsIWindowWatcher> wwatch = do_GetService(NS_WINDOWWATCHER_CONTRACTID);
|
||||
if (!wwatch)
|
||||
@@ -91,7 +93,7 @@ PRBool isChromeAvaiable()
|
||||
nsCOMPtr<nsIDOMWindow> rootWin(do_GetInterface(rootItem));
|
||||
nsCOMPtr<nsIDOMChromeWindow> chromeWin(do_QueryInterface(rootWin));
|
||||
|
||||
- return (PRBool)chromeWin.get();
|
||||
+ return chromeWin.get() != 0;
|
||||
}
|
||||
|
||||
class ApplicationObserver: public nsIObserver
|
||||
@@ -508,7 +510,7 @@ LRESULT CALLBACK BrowserWndProc(HWND hWnd, UINT messag
|
||||
|
||||
if (!strncmp(command, "URL", 3))
|
||||
{
|
||||
- if (!isChromeAvaiable())
|
||||
+ if (!isChromeAvailable())
|
||||
{
|
||||
// We are currently starting up. Save this url request as a startup page.
|
||||
nsCOMPtr<nsIPrefBranch> prefBranch = do_GetService(NS_PREFSERVICE_CONTRACTID);
|
||||
@@ -806,6 +808,8 @@ void UnloadKnownLibs()
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
+ chdir(MOZAPPDIR);
|
||||
+
|
||||
#ifdef WINCE
|
||||
CreateListenerWindow();
|
||||
#endif
|
@ -1,11 +0,0 @@
|
||||
$OpenBSD: patch-minimo_base_linux_minimo-link-comps,v 1.1 2006/12/04 09:47:54 jolan Exp $
|
||||
--- minimo/base/linux/minimo-link-comps.orig Mon Mar 20 20:06:00 2006
|
||||
+++ minimo/base/linux/minimo-link-comps Thu Nov 23 19:04:35 2006
|
||||
@@ -26,6 +26,7 @@ xmlextras
|
||||
softkey
|
||||
pipboot
|
||||
pipnss
|
||||
+pippki
|
||||
snav
|
||||
phone
|
||||
softkey
|
@ -1,10 +0,0 @@
|
||||
$OpenBSD: patch-minimo_base_linux_minimo-link-names,v 1.1 2006/12/04 09:47:54 jolan Exp $
|
||||
--- minimo/base/linux/minimo-link-names.orig Mon Mar 20 20:06:00 2006
|
||||
+++ minimo/base/linux/minimo-link-names Thu Nov 23 19:04:59 2006
|
||||
@@ -32,3 +32,6 @@ SSRModule
|
||||
nsCookieModule
|
||||
nsPermissionsModule
|
||||
DeviceSupportModule
|
||||
+BOOT
|
||||
+NSS
|
||||
+PKI
|
@ -1,42 +0,0 @@
|
||||
$OpenBSD: patch-minimo_chrome_content_minimo_js,v 1.6 2007/08/08 17:34:41 martynas Exp $
|
||||
--- minimo/chrome/content/minimo.js.orig Fri May 25 00:23:25 2007
|
||||
+++ minimo/chrome/content/minimo.js Sun Aug 5 15:56:18 2007
|
||||
@@ -400,10 +400,6 @@ function MiniNavStartup()
|
||||
gPref = Components.classes["@mozilla.org/preferences-service;1"]
|
||||
.getService(nsIPrefBranch);
|
||||
var page = null;
|
||||
- try {
|
||||
- page = gPref.getCharPref("browser.startup.homepage.override");
|
||||
- }
|
||||
- catch(e) {page=null;}
|
||||
|
||||
try {
|
||||
gBackGroundColor = gPref.getCharPref("ui.chromebackgroundcolor");
|
||||
@@ -413,8 +409,6 @@ function MiniNavStartup()
|
||||
if (page == null)
|
||||
page = gPref.getCharPref("browser.startup.homepage");
|
||||
|
||||
- gPref.clearUserPref("browser.startup.homepage.override");
|
||||
-
|
||||
if ( page.split("|").length > 1 ) {
|
||||
homepages = page.split("|");
|
||||
} else {
|
||||
@@ -1685,7 +1679,8 @@ function FullScreenToggle()
|
||||
|
||||
function DoFullScreen(fullscreen)
|
||||
{
|
||||
- document.getElementById("nav-bar").hidden = fullscreen;
|
||||
+ // Do not hide the nav-bar in full screen mode.
|
||||
+ // document.getElementById("nav-bar").hidden = fullscreen;
|
||||
|
||||
// Show a Quit in the context menu
|
||||
document.getElementById("context_menu_quit").hidden = !fullscreen;
|
||||
@@ -2331,7 +2326,7 @@ function BrowserFileOpen() {
|
||||
fp.init(window, null, nsIFilePicker.modeOpenMultiple);
|
||||
|
||||
var fileCustomDirFile= refLocalFile.QueryInterface(nsILocalFile);
|
||||
- fileCustomDirFile.initWithPath("\\");
|
||||
+ fileCustomDirFile.initWithPath("/");
|
||||
fp.displayDirectory = fileCustomDirFile;
|
||||
|
||||
fp.appendFilters(nsIFilePicker.filterAll);
|
@ -1,12 +0,0 @@
|
||||
$OpenBSD: patch-minimo_customization_all_js,v 1.3 2007/08/08 17:34:41 martynas Exp $
|
||||
--- minimo/customization/all.js.orig Fri May 25 10:28:14 2007
|
||||
+++ minimo/customization/all.js Sun Aug 5 15:56:18 2007
|
||||
@@ -621,8 +621,6 @@ pref("network.autodial-helper.enabled", true);
|
||||
|
||||
pref("config.wince.overrideHWKeys", false);
|
||||
|
||||
-pref("ssr.enabled", true);
|
||||
-
|
||||
pref("skey.enabled", true);
|
||||
|
||||
pref("browser.startup.homepage", "chrome://minimo/content/bookmarks/bmview.xhtml");
|
@ -1,61 +0,0 @@
|
||||
$OpenBSD: patch-modules_libpref_src_init_all_js,v 1.8 2008/11/13 17:01:56 martynas Exp $
|
||||
--- modules/libpref/src/init/all.js.orig Mon Oct 13 00:48:38 2008
|
||||
+++ modules/libpref/src/init/all.js Wed Nov 12 23:09:16 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);
|
@ -1,12 +0,0 @@
|
||||
$OpenBSD: patch-security_coreconf_OpenBSD_mk,v 1.7 2008/07/08 20:37:30 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
|
||||
|
@ -1,12 +0,0 @@
|
||||
$OpenBSD: patch-widget_src_gtk2_nsSound_cpp,v 1.3 2006/12/04 09:47:54 jolan Exp $
|
||||
--- widget/src/gtk2/nsSound.cpp.orig Fri Aug 25 23:29:26 2006
|
||||
+++ widget/src/gtk2/nsSound.cpp Thu Nov 23 19:04:00 2006
|
||||
@@ -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");
|
@ -1,6 +0,0 @@
|
||||
The Minimo (Mini Mozilla) project is focused on code-size and runtime
|
||||
footprint reduction, and porting to small consumer devices. The primary
|
||||
focus of Minimo to date has been systems with around 32-64 MB of RAM.
|
||||
|
||||
FLAVORs:
|
||||
debug - build with options suitable for debugging
|
@ -1,70 +0,0 @@
|
||||
@comment $OpenBSD: PLIST,v 1.13 2009/12/22 13:02:12 sthen Exp $
|
||||
@bin bin/minimo
|
||||
share/applications/minimo.desktop
|
||||
share/minimo/
|
||||
share/minimo/chrome/
|
||||
share/minimo/chrome/classic.jar
|
||||
share/minimo/chrome/classic.manifest
|
||||
share/minimo/chrome/en-US.jar
|
||||
share/minimo/chrome/en-US.manifest
|
||||
share/minimo/chrome/minimo-skin-vga.jar
|
||||
share/minimo/chrome/minimo-skin-vga.manifest
|
||||
share/minimo/chrome/minimo-skin.jar
|
||||
share/minimo/chrome/minimo-skin.manifest
|
||||
share/minimo/chrome/minimo.jar
|
||||
share/minimo/chrome/minimo.manifest
|
||||
share/minimo/chrome/pippki.jar
|
||||
share/minimo/chrome/pippki.manifest
|
||||
share/minimo/chrome/toolkit.jar
|
||||
share/minimo/chrome/toolkit.manifest
|
||||
share/minimo/components/
|
||||
share/minimo/components/all.xpt
|
||||
share/minimo/components/nsHelperAppDlg.js
|
||||
share/minimo/components/nsProgressDialog.js
|
||||
share/minimo/components/snav.xpt
|
||||
share/minimo/greprefs/
|
||||
share/minimo/greprefs/all.js
|
||||
share/minimo/greprefs/security-prefs.js
|
||||
share/minimo/plugins/
|
||||
share/minimo/res/
|
||||
share/minimo/res/arrow.gif
|
||||
share/minimo/res/arrowd.gif
|
||||
share/minimo/res/broken-image.gif
|
||||
share/minimo/res/charsetData.properties
|
||||
share/minimo/res/charsetalias.properties
|
||||
share/minimo/res/dtd/
|
||||
share/minimo/res/dtd/xhtml11.dtd
|
||||
share/minimo/res/entityTables/
|
||||
share/minimo/res/entityTables/html40Latin1.properties
|
||||
share/minimo/res/entityTables/html40Special.properties
|
||||
share/minimo/res/entityTables/html40Symbols.properties
|
||||
share/minimo/res/entityTables/htmlEntityVersions.properties
|
||||
share/minimo/res/entityTables/transliterate.properties
|
||||
share/minimo/res/fonts/
|
||||
share/minimo/res/fonts/fontEncoding.properties
|
||||
share/minimo/res/fonts/pangoFontEncoding.properties
|
||||
share/minimo/res/forms.css
|
||||
share/minimo/res/html/
|
||||
share/minimo/res/html.css
|
||||
share/minimo/res/html/gopher-audio.gif
|
||||
share/minimo/res/html/gopher-binary.gif
|
||||
share/minimo/res/html/gopher-find.gif
|
||||
share/minimo/res/html/gopher-image.gif
|
||||
share/minimo/res/html/gopher-menu.gif
|
||||
share/minimo/res/html/gopher-movie.gif
|
||||
share/minimo/res/html/gopher-sound.gif
|
||||
share/minimo/res/html/gopher-telnet.gif
|
||||
share/minimo/res/html/gopher-text.gif
|
||||
share/minimo/res/html/gopher-unknown.gif
|
||||
share/minimo/res/langGroups.properties
|
||||
share/minimo/res/language.properties
|
||||
share/minimo/res/loading-image.gif
|
||||
share/minimo/res/quirk.css
|
||||
share/minimo/res/sites.css
|
||||
share/minimo/res/smallScreen.css
|
||||
share/minimo/res/ua.css
|
||||
share/minimo/res/unixcharset.properties
|
||||
share/pixmaps/
|
||||
share/pixmaps/minimo.png
|
||||
@exec %D/bin/update-desktop-database
|
||||
@unexec-delete %D/bin/update-desktop-database
|
Loading…
Reference in New Issue
Block a user