Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Feb 2003 01:09:02 -0500
From:      verbophobe@jewcrew.org
To:        gnome@freebsd.org
Subject:   Makeshift Epiphany port
Message-ID:  <20030227060902.27186.qmail@mail2.nexpoint.net>

next in thread | raw e-mail | index | archive | help
This is a MIME-formatted message.  If you see this text it means that your
mail software cannot handle MIME-formatted messages.

--=_0_27166_1046326142
Content-Type: text/plain; format=flowed; charset=iso-8859-1
Content-Transfer-Encoding: 7bit

Here it is: the fruit of half an hour's labour.  The port compiles fine, and 
seems to really want to run.  Only problem, though, every now and then, on 
usually the exact same sites, it'll decide to segfault.  I haven't gotten 
around to fixing this little problem since I unfortunately have to sleep, 
but I have gotten this nifty backtrace: 

#0  0x2823da1b in nsQueryInterface::operator()(nsID const&, void**) const ()
  from /usr/X11R6/lib/mozilla-devel-gtk2/libxpcom.so
#1  0x2823dae4 in nsCOMPtr_base::assign_from_helper(nsCOMPtr_helper const&, 
nsID const&) () from /usr/X11R6/lib/mozilla-devel-gtk2/libxpcom.so
#2  0x28e94736 in nsWebBrowserPersist::GetValidURIFromObject(nsISupports*, 
nsIURI**) const ()
  from /usr/X11R6/lib/mozilla-devel-gtk2/components/libembedcomponents.so
#3  0x28e92b9c in nsWebBrowserPersist::SaveURI(nsIURI*, nsISupports*, 
nsIURI*, nsIInputStream*, char const*, nsISupports*) ()
  from /usr/X11R6/lib/mozilla-devel-gtk2/components/libembedcomponents.so
#4  0x0809ffb6 in impl_save (persist=0x82dae40)
   at mozilla-embed-persist.cpp:266
#5  0x08092674 in ephy_embed_persist_save (persist=0x82dae40)
   at ephy-embed-persist.c:377
#6  0x08095c67 in ephy_favicon_cache_download (cache=0x85034f0,
   favicon_url=0x884020e "http://www.osnews.com/favicon.ico",
   filename=0x82d4700 "http:__www.osnews.com_favicon.ico")
   at ephy-favicon-cache.c:419
#7  0x08095de9 in ephy_favicon_cache_get (cache=0x85034f0,
   url=0x884020e "http://www.osnews.com/favicon.ico")
   at ephy-favicon-cache.c:462
#8  0x08085690 in update_favicon_control (window=0x81f1200)
   at ephy-window.c:1093
 ---Type <return> to continue, or q <return> to quit---
#9  0x08085b98 in ephy_window_update_control (window=0x81f1200,
   control=FaviconControl) at ephy-window.c:1206
#10 0x08082706 in ephy_tab_favicon_cb (embed=0x87c7000,
   url=0x82d4680 "http://www.osnews.com/favicon.ico", tab=0x871d640)
   at ephy-tab.c:437
#11 0x28af1bd5 in g_cclosure_marshal_VOID__STRING ()
  from /usr/local/lib/libgobject-2.0.so.200
#12 0x28adea14 in g_closure_invoke () from 
/usr/local/lib/libgobject-2.0.so.200
#13 0x28af0bc5 in signal_emit_unlocked_R ()
  from /usr/local/lib/libgobject-2.0.so.200
#14 0x28aefedd in g_signal_emit_valist ()
  from /usr/local/lib/libgobject-2.0.so.200
#15 0x28af034c in g_signal_emit_by_name ()
  from /usr/local/lib/libgobject-2.0.so.200
#16 0x080c5ed4 in EphyEventListener::HandleFaviconLink(nsIDOMNode*) (
   this=0x864c950, node=0x82d44dc) at EphyEventListener.cpp:93
#17 0x080c6244 in EphyEventListener::HandleEvent(nsIDOMEvent*) (
   this=0x864c950, aDOMEvent=0x298c94e8) at EphyEventListener.cpp:111
#18 0x2955f228 in 
nsEventListenerManager::HandleEventSubType(nsListenerStruct*, nsIDOMEvent*, 
nsIDOMEventTarget*, unsigned, unsigned) ()
  from /usr/X11R6/lib/mozilla-devel-gtk2/components/libgklayout.so
#19 0x2955f5cf in nsEventListenerManager::HandleEvent(nsIPresContext*, 
nsEvent*, nsIDOMEvent**, nsIDOMEventTarget*, unsigned, nsEventStatus*) ()
 ---Type <return> to continue, or q <return> to quit---
  from /usr/X11R6/lib/mozilla-devel-gtk2/components/libgklayout.so
#20 0x29c982a8 in nsWindowRoot::HandleChromeEvent(nsIPresContext*, nsEvent*, 
nsIDOMEvent**, unsigned, nsEventStatus*) ()
  from /usr/X11R6/lib/mozilla-devel-gtk2/components/libjsdom.so
#21 0x29c7ae6d in GlobalWindowImpl::HandleDOMEvent(nsIPresContext*, 
nsEvent*, nsIDOMEvent**, unsigned, nsEventStatus*) ()
  from /usr/X11R6/lib/mozilla-devel-gtk2/components/libjsdom.so
#22 0x2977baa7 in nsDocument::HandleDOMEvent(nsIPresContext*, nsEvent*, 
nsIDOMEvent**, unsigned, nsEventStatus*) ()
  from /usr/X11R6/lib/mozilla-devel-gtk2/components/libgklayout.so
#23 0x2979dc95 in nsGenericElement::HandleDOMEvent(nsIPresContext*, 
nsEvent*, nsIDOMEvent**, unsigned, nsEventStatus*) ()
  from /usr/X11R6/lib/mozilla-devel-gtk2/components/libgklayout.so
#24 0x2979dc58 in nsGenericElement::HandleDOMEvent(nsIPresContext*, 
nsEvent*, nsIDOMEvent**, unsigned, nsEventStatus*) ()
  from /usr/X11R6/lib/mozilla-devel-gtk2/components/libgklayout.so
#25 0x2979dc58 in nsGenericElement::HandleDOMEvent(nsIPresContext*, 
nsEvent*, nsIDOMEvent**, unsigned, nsEventStatus*) ()
  from /usr/X11R6/lib/mozilla-devel-gtk2/components/libgklayout.so
#26 0x2957b0a7 in 
nsGenericHTMLElement::HandleDOMEventForAnchors(nsIContent*, nsIPresContext*, 
nsEvent*, nsIDOMEvent**, unsigned, nsEventStatus*) ()
  from /usr/X11R6/lib/mozilla-devel-gtk2/components/libgklayout.so
#27 0x295d5216 in nsHTMLLinkElement::HandleDOMEvent(nsIPresContext*, 
nsEvent*, n---Type <return> to continue, or q <return> to quit---
sIDOMEvent**, unsigned, nsEventStatus*) ()
  from /usr/X11R6/lib/mozilla-devel-gtk2/components/libgklayout.so
#28 0x2956e6b7 in nsEventStateManager::DispatchNewEvent(nsISupports*, 
nsIDOMEvent*, int*) () from 
/usr/X11R6/lib/mozilla-devel-gtk2/components/libgklayout.so
#29 0x29562a3c in nsEventListenerManager::DispatchEvent(nsIDOMEvent*, int*) 
()
  from /usr/X11R6/lib/mozilla-devel-gtk2/components/libgklayout.so
#30 0x2979973d in nsDOMEventRTTearoff::DispatchEvent(nsIDOMEvent*, int*) ()
  from /usr/X11R6/lib/mozilla-devel-gtk2/components/libgklayout.so
#31 0x295d6d3d in nsHTMLLinkElement::CreateAndDispatchEvent(nsIDocument*, 
nsString const&, nsString const&, nsAString const&) ()
  from /usr/X11R6/lib/mozilla-devel-gtk2/components/libgklayout.so
#32 0x295d6a3d in nsHTMLLinkElement::SetDocument(nsIDocument*, int, int) ()
  from /usr/X11R6/lib/mozilla-devel-gtk2/components/libgklayout.so
#33 0x29581d38 in nsGenericHTMLContainerElement::AppendChildTo(nsIContent*, 
int, int) () from 
/usr/X11R6/lib/mozilla-devel-gtk2/components/libgklayout.so
#34 0x296240fb in HTMLContentSink::ProcessLINKTag(nsIParserNode const&) ()
  from /usr/X11R6/lib/mozilla-devel-gtk2/components/libgklayout.so
#35 0x2961fcda in HTMLContentSink::AddLeaf(nsIParserNode const&) ()
  from /usr/X11R6/lib/mozilla-devel-gtk2/components/libgklayout.so
#36 0x2961fbe3 in HTMLContentSink::AddHeadContent(nsIParserNode const&) ()
  from /usr/X11R6/lib/mozilla-devel-gtk2/components/libgklayout.so
#37 0x29e0762f in CNavDTD::AddHeadLeaf(nsIParserNode*) ()
  from /usr/X11R6/lib/mozilla-devel-gtk2/components/libhtmlpars.so
 ---Type <return> to continue, or q <return> to quit---
#38 0x29e044f2 in CNavDTD::HandleStartToken(CToken*) ()
  from /usr/X11R6/lib/mozilla-devel-gtk2/components/libhtmlpars.so
#39 0x29e02cf3 in CNavDTD::HandleToken(CToken*, nsIParser*) ()
  from /usr/X11R6/lib/mozilla-devel-gtk2/components/libhtmlpars.so
#40 0x29e01e23 in CNavDTD::BuildModel(nsIParser*, nsITokenizer*, 
nsITokenObserver*, nsIContentSink*) ()
  from /usr/X11R6/lib/mozilla-devel-gtk2/components/libhtmlpars.so
#41 0x29e1a711 in nsParser::BuildModel() ()
  from /usr/X11R6/lib/mozilla-devel-gtk2/components/libhtmlpars.so
#42 0x29e1a46b in nsParser::ResumeParse(int, int, int) ()
  from /usr/X11R6/lib/mozilla-devel-gtk2/components/libhtmlpars.so
#43 0x29e1c1f2 in nsParser::OnDataAvailable(nsIRequest*, nsISupports*, 
nsIInputStream*, unsigned, unsigned) ()
  from /usr/X11R6/lib/mozilla-devel-gtk2/components/libhtmlpars.so
#44 0x29b93a80 in nsDocumentOpenInfo::OnDataAvailable(nsIRequest*, 
nsISupports*, nsIInputStream*, unsigned, unsigned) ()
  from /usr/X11R6/lib/mozilla-devel-gtk2/components/liburiloader.so
#45 0x290757db in nsHTTPCompressConv::do_OnDataAvailable(nsIRequest*, 
nsISupports*, unsigned, char*, unsigned) ()
  from /usr/X11R6/lib/mozilla-devel-gtk2/components/libnecko.so
#46 0x290755f9 in nsHTTPCompressConv::OnDataAvailable(nsIRequest*, 
nsISupports*, nsIInputStream*, unsigned, unsigned) ()
  from /usr/X11R6/lib/mozilla-devel-gtk2/components/libnecko.so
 ---Type <return> to continue, or q <return> to quit---
#47 0x29058b94 in nsStreamListenerTee::OnDataAvailable(nsIRequest*, 
nsISupports*, nsIInputStream*, unsigned, unsigned) ()
  from /usr/X11R6/lib/mozilla-devel-gtk2/components/libnecko.so
#48 0x290a02e5 in nsHttpChannel::OnDataAvailable(nsIRequest*, nsISupports*, 
nsIInputStream*, unsigned, unsigned) ()
  from /usr/X11R6/lib/mozilla-devel-gtk2/components/libnecko.so
#49 0x2903ddd7 in nsInputStreamPump::OnStateTransfer() ()
  from /usr/X11R6/lib/mozilla-devel-gtk2/components/libnecko.so
#50 0x2903dbef in 
nsInputStreamPump::OnInputStreamReady(nsIAsyncInputStream*)
   () from /usr/X11R6/lib/mozilla-devel-gtk2/components/libnecko.so
#51 0x281e6990 in nsInputStreamReadyEvent::EventHandler(PLEvent*) ()
  from /usr/X11R6/lib/mozilla-devel-gtk2/libxpcom.so
#52 0x281fff47 in PL_HandleEvent ()
  from /usr/X11R6/lib/mozilla-devel-gtk2/libxpcom.so
#53 0x281ffe34 in PL_ProcessPendingEvents ()
  from /usr/X11R6/lib/mozilla-devel-gtk2/libxpcom.so
#54 0x2820131d in nsEventQueueImpl::ProcessPendingEvents() ()
  from /usr/X11R6/lib/mozilla-devel-gtk2/libxpcom.so
#55 0x299c6555 in nsBaseWidget::ConvertToDeviceCoordinates(int&, int&) ()
  from /usr/X11R6/lib/mozilla-devel-gtk2/components/libwidget_gtk2.so
#56 0x28b4fa04 in g_io_unix_dispatch () from 
/usr/local/lib/libglib-2.0.so.200
#57 0x28b2f87c in g_main_dispatch () from /usr/local/lib/libglib-2.0.so.200
#58 0x28b305ba in g_main_context_dispatch ()
 ---Type <return> to continue, or q <return> to quit---
  from /usr/local/lib/libglib-2.0.so.200
#59 0x28b3096d in g_main_context_iterate ()
  from /usr/local/lib/libglib-2.0.so.200
#60 0x28b310d1 in g_main_loop_run () from /usr/local/lib/libglib-2.0.so.200
#61 0x284257a6 in bonobo_main () from /usr/local/lib/libbonobo-2.so.0
#62 0x0807f96e in main (argc=1, argv=0xbfbff8d4) at ephy-main.c:162
#63 0x0807c2f5 in _start () 

I have almost no idea what's happening, but one site that seems to trigger 
it reliably is www.osnews.com. 

Other than that, this is a pretty kick ass browser. 

 - Maxime Romano
Seasoned Egg White Beater 

"Ending a sentence with a preposition is something up with which I will not 
put."
        -- Sir Winston Churchill 


--=_0_27166_1046326142
Content-Disposition: attachment; filename=epiphany.sh
Content-Type: application/x-sh; name=epiphany.sh
Content-Transfer-Encoding: 7bit

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	epiphany/
#	epiphany/files
#	epiphany/files/patch-embed_mozilla_mozilla-embed-persist.cpp
#	epiphany/files/patch-ephy-bin
#	epiphany/pkg-descr
#	epiphany/pkg-comment
#	epiphany/pkg-plist
#	epiphany/distinfo
#	epiphany/Makefile
#
echo c - epiphany/
mkdir -p epiphany/ > /dev/null 2>&1
echo c - epiphany/files
mkdir -p epiphany/files > /dev/null 2>&1
echo x - epiphany/files/patch-embed_mozilla_mozilla-embed-persist.cpp
sed 's/^X//' >epiphany/files/patch-embed_mozilla_mozilla-embed-persist.cpp << 'END-of-epiphany/files/patch-embed_mozilla_mozilla-embed-persist.cpp'
X--- mozilla-embed-persist.cpp.orig	Wed Feb 26 23:59:42 2003
X+++ mozilla-embed-persist.cpp	Wed Feb 26 23:59:58 2003
X@@ -263,7 +263,7 @@
X                                  	   persist, 
X 					   !(flags & EMBED_PERSIST_SHOW_PROGRESS));
X 
X-		rv = bpersist->SaveURI (linkURI, nsnull, nsnull, nsnull, nsnull, file);
X+		rv = bpersist->SaveURI (linkURI, nsnull, file);
X 		if (NS_FAILED(rv)) return G_FAILED;
X 	}
X 	
END-of-epiphany/files/patch-embed_mozilla_mozilla-embed-persist.cpp
echo x - epiphany/files/patch-ephy-bin
sed 's/^X//' >epiphany/files/patch-ephy-bin << 'END-of-epiphany/files/patch-ephy-bin'
X+++ epiphany	Thu Feb 27 00:33:11 2003
X@@ -0,0 +1,30 @@
X+#!/bin/sh
X+
X+dist_bin=`dirname $0`
X+
X+if test -n "$MOZILLA_FIVE_HOME"; then
X+	MOZILLA_HOME=$MOZILLA_FIVE_HOME
X+elif [ -f /usr/X11R6/lib/MOZTYPE/libgtkembedmoz.so ]; then
X+	MOZILLA_HOME=/usr/X11R6/lib/MOZTYPE
X+elif [ -f /usr/local/lib/MOZTYPE/libgtkembedmoz.so ]; then
X+    	MOZILLA_HOME=/usr/local/lib/MOZTYPE
X+else
X+	echo "Cannot find mozilla installation directory. Please set MOZILLA_FIVE_HOME to your mozilla directory"
X+	exit
X+fi
X+
X+LD_LIBRARY_PATH=$MOZILLA_HOME:$LD_LIBRARY_PATH
X+export LD_LIBRARY_PATH
X+
X+MOZILLA_FIVE_HOME=$MOZILLA_HOME
X+export MOZILLA_FIVE_HOME
X+
X+MOZ_PLUGIN_PATH=/usr/X11R6/lib/browser_plugins
X+export MOZ_PLUGIN_PATH
X+
X+if [ -f ./epiphany-bin ]; then
X+exec ./epiphany-bin "$@"
X+else
X+exec /usr/X11R6/bin/epiphany-bin "$@"
X+fi
X+
END-of-epiphany/files/patch-ephy-bin
echo x - epiphany/pkg-descr
sed 's/^X//' >epiphany/pkg-descr << 'END-of-epiphany/pkg-descr'
XEpiphany, as it's manifesto states, is a web browser designed for the layman,
Xby being consistent, lightweight and fast throughout all its operations.
X
XOriginally forked from Galeon's (www/galeon2) source code, Epiphany looks to
Xbe a very promising browser indeed.
X
XWWW: http://epiphany.mozdev.org/
END-of-epiphany/pkg-descr
echo x - epiphany/pkg-comment
sed 's/^X//' >epiphany/pkg-comment << 'END-of-epiphany/pkg-comment'
XAn extremely lightweight and simple web browser for the GNOME 2 enviroment
END-of-epiphany/pkg-comment
echo x - epiphany/pkg-plist
sed 's/^X//' >epiphany/pkg-plist << 'END-of-epiphany/pkg-plist'
Xbin/epiphany
Xbin/epiphany-bin
Xetc/gconf/schemas/epiphany.schemas
Xetc/gconf/gconf.xml.defaults/schemas/apps/epiphany/%gconf.xml
Xetc/gconf/gconf.xml.defaults/schemas/apps/epiphany/general/%gconf.xml
Xetc/gconf/gconf.xml.defaults/schemas/apps/epiphany/find/%gconf.xml
Xetc/gconf/gconf.xml.defaults/schemas/apps/epiphany/filtering/%gconf.xml
Xetc/gconf/gconf.xml.defaults/schemas/apps/epiphany/rendering/%gconf.xml
Xetc/gconf/gconf.xml.defaults/schemas/apps/epiphany/interface/%gconf.xml
Xetc/gconf/gconf.xml.defaults/schemas/apps/epiphany/downloader/%gconf.xml
Xetc/gconf/gconf.xml.defaults/schemas/apps/epiphany/network/%gconf.xml
Xetc/gconf/gconf.xml.defaults/schemas/apps/epiphany/filterin/%gconf.xml
Xetc/gconf/gconf.xml.defaults/schemas/apps/epiphany/history/%gconf.xml
Xetc/gconf/gconf.xml.defaults/schemas/apps/epiphany/print/%gconf.xml
Xetc/gconf/gconf.xml.defaults/schemas/apps/epiphany/directories/%gconf.xml
Xlibdata/bonobo/servers/GNOME_Epiphany_Automation.server
Xlibdata/bonobo/servers/GNOME_Epiphany_NautilusView.server
Xshare/gnome/gnome-2.0/ui/epiphany-ui.xml
Xshare/gnome/gnome-2.0/ui/nautilus-epiphany-view.xml
Xshare/gnome/pixmaps/epiphany.png
Xshare/gnome/epiphany/art/epiphany-secure.png
Xshare/gnome/epiphany/art/epiphany-unsecure.png
Xshare/gnome/epiphany/art/epiphany.png
Xshare/gnome/epiphany/glade/epiphany.glade
Xshare/gnome/epiphany/glade/prompts.glade
Xshare/gnome/epiphany/glade/toolbar-editor.glade
Xshare/gnome/epiphany/glade/prefs-dialog.glade
Xshare/gnome/epiphany/glade/print.glade
Xshare/gnome/epiphany/starthere/section.xsl
Xshare/gnome/epiphany/starthere/section.css
Xshare/gnome/epiphany/starthere/index.xml
Xshare/gnome/epiphany/starthere/smartbookmarks.xml
Xshare/gnome/applications/epiphany.desktop
Xshare/locale/de/LC_MESSAGES/epiphany-2.0.mo
Xshare/locale/hu/LC_MESSAGES/epiphany-2.0.mo
Xshare/locale/nl/LC_MESSAGES/epiphany-2.0.mo
Xshare/locale/sv/LC_MESSAGES/epiphany-2.0.mo
X@dirrm etc/gconf/gconf.xml.defaults/schemas/apps/epiphany
X@dirrm etc/gconf/gconf.xml.defaults/schemas/apps/epiphany/general
X@dirrm etc/gconf/gconf.xml.defaults/schemas/apps/epiphany/find
X@dirrm etc/gconf/gconf.xml.defaults/schemas/apps/epiphany/filtering
X@dirrm etc/gconf/gconf.xml.defaults/schemas/apps/epiphany/rendering
X@dirrm etc/gconf/gconf.xml.defaults/schemas/apps/epiphany/interface
X@dirrm etc/gconf/gconf.xml.defaults/schemas/apps/epiphany/downloader
X@dirrm etc/gconf/gconf.xml.defaults/schemas/apps/epiphany/network
X@dirrm etc/gconf/gconf.xml.defaults/schemas/apps/epiphany/filterin
X@dirrm etc/gconf/gconf.xml.defaults/schemas/apps/epiphany/history
X@dirrm etc/gconf/gconf.xml.defaults/schemas/apps/epiphany/print
X@dirrm etc/gconf/gconf.xml.defaults/schemas/apps/epiphany/directories
X@dirrm share/gnome/epiphany/starthere
X@dirrm share/gnome/epiphany/glade
X@dirrm share/gnome/epiphany/glade
X@dirrm share/gnome/epiphany/art
X@dirrm share/gnome/epiphany
END-of-epiphany/pkg-plist
echo x - epiphany/distinfo
sed 's/^X//' >epiphany/distinfo << 'END-of-epiphany/distinfo'
XMD5 (epiphany-0.4.2.tar.gz) = a727b58fd9f6858d5f90688a57fcc4e0
END-of-epiphany/distinfo
echo x - epiphany/Makefile
sed 's/^X//' >epiphany/Makefile << 'END-of-epiphany/Makefile'
X#
X# $FreeBSD$
X#
X
XPORTNAME=	epiphany
XPORTVERSION=	0.4.2
XCATEGORIES=	www gnome
XMASTER_SITES=	http://mpgritti.oltrelinux.com/
XMASTER_SITE_SUBDIR=	.
X
XMAINTAINER=	gnome@FreeBSD.org
X
XBUILD_DEPENDS=	${X11BASE}/include/mozilla${HEADERS_SUFX}/gtkembedmoz/gtkmozembed.h:${PORTSDIR}/www/mozilla-headers${HEADERS_SUFX} \
X		${X11BASE}/lib/${MOZILLA}/components/libwidget_gtk2.so:${PORTSDIR}/www/${MOZILLA}
XLIB_DEPENDS=	gnomeui-2.200:${PORTSDIR}/x11-toolkits/libgnomeui
XRUN_DEPENDS=	${X11BASE}/lib/${MOZILLA}/components/libwidget_gtk2.so:${PORTSDIR}/www/${MOZILLA}
X
XMOZ_CONFIGURE_ARGS=	--with-mozilla-snapshot="1.3b"
X
XMOZILLA=	mozilla-devel-gtk2
XHEADERS_SUFX=	-devel
X
X#.if !defined(WITH_MOZILLA)
X#MOZILLA=	mozilla-gtk2
X#HEADERS_SUFX=
X#.else
X#.if ${WITH_MOZILLA}=="mozilla-devel-gtk2"
X#MOZILLA=	${WITH_MOZILLA}
X#HEADERS_SUFX=	-devel
X#MOZ_CONFIGURE_ARGS=	--with-mozilla-snapshot="trunk"
X#.else
X#MOZILLA=	mozilla
X#HEADERS_SUFX=
X#.endif
X#.endif
X
XUSE_X_PREFIX=	yes
XUSE_GNOMENG=	yes
XUSE_GNOME=	gnomeprefix gnomehack
XUSE_LIBTOOL=	yes
XUSE_GMAKE=	yes
XUSE_REINPLACE=	yes
XCONFIGURE_ARGS=	--with-mozilla-includes="${X11BASE}/include/mozilla${HEADERS_SUFX}" \
X		--with-mozilla-libs="${X11BASE}/lib/${MOZILLA}" \
X		--enable-nautilus-view=no \
X		${MOZ_CONFIGURE_ARGS}
XCONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include -D_REENTRANT ${PTHREAD_CFLAGS}" \
X		LIBS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
XCONFIGURE_TARGET=	--target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
X
X.include <bsd.port.pre.mk>
X
X.if ${OSVERSION} > 500000
X# Galeon does not build correctly in -CURRENT if -Werror is passed
X# to the compiler.
XCONFIGURE_ARGS+=	--disable-werror
X.endif
X
X#post-extract:
X#	@${ECHO_MSG}
X#	@${ECHO_MSG} " By default the port uses www/mozilla-gtk2 for html rendering, but you can"
X#	@${ECHO_MSG} " change this by defining WITH_MOZILLA to one of the following values:"
X#	@${ECHO_MSG}
X#	@${ECHO_MSG} "  mozilla-devel-gtk2 "
X#	@${ECHO_MSG}
X
Xpost-patch:
X	@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
X		 s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
X	@${FIND} ${WRKSRC} -name "Makefile.in*" | xargs ${REINPLACE_CMD} -e \
X		 's|-lpthread|${PTHREAD_LIBS}|g'
X	@${FIND} ${WRKSRC} -name "*.cpp" | ${XARGS} ${REINPLACE_CMD} -e \
X		's|malloc\.h|stdlib.h|g'
X
Xpre-install:
X	@-${X11BASE}/bin/gconftool-2 --shutdown
X
Xpost-install:
X	@${MV} ${PREFIX}/bin/epiphany ${PREFIX}/bin/epiphany-bin
X	@${REINPLACE_CMD} -e "s|MOZTYPE|${MOZILLA}|g" ${WRKSRC}/epiphany
X	@${CP} ${WRKSRC}/epiphany ${PREFIX}/bin/epiphany
X	@${CHMOD} +x ${PREFIX}/bin/epiphany
X
X.include <bsd.port.post.mk>
END-of-epiphany/Makefile
exit


--=_0_27166_1046326142--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-gnome" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030227060902.27186.qmail>