Update to 1.2.7.

This commit is contained in:
Joe Marcus Clarke
2003-01-02 19:05:56 +00:00
parent 1b7d0c2ba6
commit 2c690ca911
3 changed files with 32 additions and 15 deletions
+3 -4
View File
@@ -6,8 +6,7 @@
#
PORTNAME= galeon
PORTVERSION= 1.2.6
PORTREVISION= 1
PORTVERSION= 1.2.7
CATEGORIES= www gnome
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -19,7 +18,7 @@ BUILD_DEPENDS= ${X11BASE}/include/mozilla${HEADERS_SUFX}/gtkembedmoz/gtkmozembed
LIB_DEPENDS= iconv.3:${PORTSDIR}/converters/libiconv
RUN_DEPENDS= ${X11BASE}/lib/${MOZILLA}/libgtkembedmoz.so:${PORTSDIR}/www/${MOZILLA}
MOZ_CONFIGURE_ARGS=
MOZ_CONFIGURE_ARGS=--with-mozilla-snapshot="1.1"
.if !defined(WITH_MOZILLA)
MOZILLA= mozilla
@@ -33,7 +32,7 @@ MOZ_CONFIGURE_ARGS= --with-mozilla-snapshot="1.0"
.if ${WITH_MOZILLA}=="mozilla-devel" || ${WITH_MOZILLA}=="mozilla-embedded-devel"
MOZILLA= ${WITH_MOZILLA}
HEADERS_SUFX= -devel
MOZ_CONFIGURE_ARGS= --with-mozilla-snapshot="trunk"
MOZ_CONFIGURE_ARGS= --with-mozilla-snapshot="1.2"
.else
.if ${WITH_MOZILLA}=="mozilla-embedded"
MOZILLA= mozilla-embedded
+1 -1
View File
@@ -1 +1 @@
MD5 (galeon-1.2.6.tar.gz) = 85738f037bef3504e08173e4d30e4ae3
MD5 (galeon-1.2.7.tar.gz) = 2408b7e6b1a2a2655f6720b41a391f4b
@@ -1,11 +1,29 @@
--- src/mozilla/GaleonWrapper.cpp.orig Mon Sep 16 12:42:40 2002
+++ src/mozilla/GaleonWrapper.cpp Mon Sep 16 12:42:47 2002
@@ -182,7 +182,7 @@
}
else
--- src/mozilla/GaleonWrapper.cpp.orig Thu Jan 2 13:55:14 2003
+++ src/mozilla/GaleonWrapper.cpp Thu Jan 2 13:56:16 2003
@@ -80,8 +80,10 @@
#include "caps/nsIPrincipal.h"
#include "nsIDeviceContext.h"
#include "nsIPresContext.h"
+#if MOZILLA_SNAPSHOT > 2
#include "nsITypeAheadFind.h"
#include "nsSupportsPrimitives.h"
+#endif
GaleonWrapper::GaleonWrapper ()
{
@@ -584,6 +586,7 @@
PRBool search_in_frames,
PRBool *didFind)
{
+#if MOZILLA_SNAPSHOT > 2
if (!interactive)
{
-#if MOZILLA_SNAPSHOT > 1
+#if MOZILLA_SNAPSHOT > 0
result = print->PrintPreview(options, nsnull, nsnull);
#else
result = print->PrintPreview(options);
nsresult rv;
@@ -610,6 +613,7 @@
}
}
}
+#endif
nsCOMPtr<nsIWebBrowserFind> finder (do_GetInterface(mWebBrowser));