1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-26 09:46:09 +00:00

Update to 1.0.7.

This commit is contained in:
Joe Marcus Clarke 2004-01-16 23:59:01 +00:00
parent 442f169eab
commit d9669bc94c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=98363
7 changed files with 6 additions and 132 deletions

View File

@ -6,7 +6,7 @@
#
PORTNAME= epiphany
PORTVERSION= 1.0.6
PORTVERSION= 1.0.7
CATEGORIES= www gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/${PORTNAME}/1.0
@ -31,7 +31,7 @@ HEADERS_SUFX=
.if ${WITH_MOZILLA}=="mozilla-devel-gtk2"
MOZILLA= ${WITH_MOZILLA}
HEADERS_SUFX= -devel
MOZ_CONFIGURE_ARGS= --with-mozilla-snapshot="trunk"
MOZ_CONFIGURE_ARGS= --with-mozilla-snapshot="1.6b"
.else
MOZILLA= mozilla-gtk2
HEADERS_SUFX=

View File

@ -1 +1 @@
MD5 (gnome2/epiphany-1.0.6.tar.bz2) = eeb1c339aaf62d7f85a39c93c706b45d
MD5 (gnome2/epiphany-1.0.7.tar.bz2) = 6f1639d7c7133769ce28eb24358ef55b

View File

@ -1,29 +0,0 @@
--- embed/mozilla/EphyEventListener.cpp.orig Sat Nov 1 22:39:59 2003
+++ embed/mozilla/EphyEventListener.cpp Sat Nov 1 22:41:44 2003
@@ -16,6 +16,10 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <nsCOMPtr.h>
#include "EphyEventListener.h"
@@ -80,9 +84,15 @@
nsCOMPtr<nsIDocument> doc = do_QueryInterface (domDoc);
if(!doc) return NS_ERROR_FAILURE;
+#if MOZILLA_SNAPSHOT > 11
+ nsIURI *uri;
+ uri = doc->GetDocumentURL ();
+ if (uri == NULL) return NS_ERROR_FAILURE;
+#else
nsCOMPtr<nsIURI> uri;
result = doc->GetDocumentURL(getter_AddRefs(uri));
if (NS_FAILED (result)) return NS_ERROR_FAILURE;
+#endif
const nsACString &link = NS_ConvertUCS2toUTF8(value);
nsCAutoString favicon_url;

View File

@ -1,30 +0,0 @@
--- embed/mozilla/EphyWrapper.cpp.orig Sat Nov 1 22:42:25 2003
+++ embed/mozilla/EphyWrapper.cpp Sat Nov 1 22:53:59 2003
@@ -582,8 +582,13 @@
nsCOMPtr<nsIDocument> doc = do_QueryInterface(DOMDocument);
if(!doc) return NS_ERROR_FAILURE;
+#if MOZILLA_SNAPSHOT > 11
+ nsIURI *uri;
+ uri = doc->GetDocumentURL ();
+#else
nsCOMPtr<nsIURI> uri;
doc->GetDocumentURL(getter_AddRefs(uri));
+#endif
return uri->GetSpec (url);
}
@@ -600,8 +605,13 @@
nsCOMPtr<nsIDocument> doc = do_QueryInterface(DOMDocument);
if(!doc) return NS_ERROR_FAILURE;
+#if MOZILLA_SNAPSHOT > 11
+ nsIURI *uri;
+ uri = doc->GetDocumentURL ();
+#else
nsCOMPtr<nsIURI> uri;
doc->GetDocumentURL(getter_AddRefs(uri));
+#endif
uri->GetSpec (url);

View File

@ -1,40 +0,0 @@
--- embed/mozilla/EventContext.cpp.orig Sat Nov 1 22:42:40 2003
+++ embed/mozilla/EventContext.cpp Sat Nov 1 22:57:20 2003
@@ -139,13 +139,19 @@
nsresult EventContext::ResolveBaseURL (nsIDocument *doc, const nsAString &relurl, nsACString &url)
{
nsresult rv;
+#if MOZILLA_SNAPSHOT > 11
+ nsIURI *base;
+ base = doc->GetBaseURL ();
+ if (base == NULL) return NS_ERROR_FAILURE;
+#elif MOZILLA_SNAPSHOT > 9
nsCOMPtr<nsIURI> base;
-#if MOZILLA_SNAPSHOT > 9
rv = doc->GetBaseURL (getter_AddRefs(base));
+ if (NS_FAILED(rv)) return rv;
#else
+ nsCOMPtr<nsIURI> base;
rv = doc->GetBaseURL (*getter_AddRefs(base));
-#endif
if (NS_FAILED(rv)) return rv;
+#endif
return base->Resolve (NS_ConvertUCS2toUTF8(relurl), url);
}
@@ -153,9 +159,15 @@
nsresult EventContext::ResolveDocumentURL (nsIDocument *doc, const nsAString &relurl, nsACString &url)
{
nsresult rv;
+#if MOZILLA_SNAPSHOT > 11
+ nsIURI *uri;
+ uri = doc->GetDocumentURL ();
+ if (uri == NULL) return NS_ERROR_FAILURE;
+#else
nsCOMPtr<nsIURI> uri;
rv = doc->GetDocumentURL(getter_AddRefs(uri));
if (NS_FAILED(rv)) return rv;
+#endif
return uri->Resolve (NS_ConvertUCS2toUTF8(relurl), url);
}

View File

@ -1,18 +0,0 @@
--- embed/mozilla/mozilla-embed-persist.cpp.orig Sat Nov 1 23:12:09 2003
+++ embed/mozilla/mozilla-embed-persist.cpp Sun Nov 2 00:03:17 2003
@@ -254,9 +254,15 @@
do_QueryInterface (DOMDocument, &rv);
if (NS_FAILED(rv) || !document) return G_FAILED;
+#if MOZILLA_SNAPSHOT > 11
+ nsIURI *uri;
+ uri = document->GetDocumentURL ();
+ if (uri == NULL) return G_FAILED;
+#else
nsCOMPtr<nsIURI> uri;
rv = document->GetDocumentURL (getter_AddRefs(uri));
if (NS_FAILED(rv) || !uri) return G_FAILED;
+#endif
aProgress->InitForPersist (bpersist, parent,
uri, file,

View File

@ -1,15 +1,6 @@
--- src/epiphany.in.orig Sat May 3 21:56:42 2003
+++ src/epiphany.in Sat May 3 21:59:12 2003
@@ -4,7 +4,7 @@
if test -n "$MOZILLA_FIVE_HOME"; then
MOZILLA_HOME=$MOZILLA_FIVE_HOME
-elif [ -f @MOZILLA_HOME@/chrome/comm.jar ]; then
+elif [ -f @MOZILLA_HOME@/libgtkembedmoz.so ]; then
MOZILLA_HOME=@MOZILLA_HOME@
else
echo "Cannot find mozilla installation directory. Please set MOZILLA_FIVE_HOME to your mozilla directory"
@@ -17,4 +17,12 @@
--- src/epiphany.in.orig Sat Dec 20 14:35:41 2003
+++ src/epiphany.in Fri Jan 16 18:47:43 2004
@@ -15,4 +15,12 @@
MOZILLA_FIVE_HOME=$MOZILLA_HOME
export MOZILLA_FIVE_HOME