summaryrefslogtreecommitdiff
path: root/www/galeon
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2003-01-02 19:05:56 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2003-01-02 19:05:56 +0000
commit2c690ca911fb2e7dbef28237583b1069d3f0bdcf (patch)
treea05acc7482cba26c30550ee78e14fb913434a1ae /www/galeon
parentupgrade to 0.8 (diff)
Update to 1.2.7.
Notes
Notes: svn path=/head/; revision=72277
Diffstat (limited to 'www/galeon')
-rw-r--r--www/galeon/Makefile7
-rw-r--r--www/galeon/distinfo2
-rw-r--r--www/galeon/files/patch-src_mozilla_GaleonWrapper.cpp38
3 files changed, 32 insertions, 15 deletions
diff --git a/www/galeon/Makefile b/www/galeon/Makefile
index cee2979db670..3a95dc885512 100644
--- a/www/galeon/Makefile
+++ b/www/galeon/Makefile
@@ -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
diff --git a/www/galeon/distinfo b/www/galeon/distinfo
index 506ed1a5003e..8383151f457b 100644
--- a/www/galeon/distinfo
+++ b/www/galeon/distinfo
@@ -1 +1 @@
-MD5 (galeon-1.2.6.tar.gz) = 85738f037bef3504e08173e4d30e4ae3
+MD5 (galeon-1.2.7.tar.gz) = 2408b7e6b1a2a2655f6720b41a391f4b
diff --git a/www/galeon/files/patch-src_mozilla_GaleonWrapper.cpp b/www/galeon/files/patch-src_mozilla_GaleonWrapper.cpp
index 75b22b95c353..bf0495a874b2 100644
--- a/www/galeon/files/patch-src_mozilla_GaleonWrapper.cpp
+++ b/www/galeon/files/patch-src_mozilla_GaleonWrapper.cpp
@@ -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));
+