can anyone send me the firefox 1.0 diff?

Franz Klammer klammer at webonaut.com
Fri Oct 1 04:31:23 PDT 2004


Joe Marcus Clarke wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Franz Klammer wrote:
> | has anyone still portet firefox 1.0?
> 
> It's in my ports-stable module.
> 
> | if yes can i have the diff please?
> |
> | i'm working currently on a change of epiphany to build
> | against firefox.
> 
> Cool.  I saw they added support for Firefox.

epiphany builds now but if i try to start
the window is there for a mirosecond and then
it crashes with the following error:

  /libexec/ld-elf.so.1:
  /usr/X11R6/lib/firefox/lib/firefox-0.10/
  components/libnecko.so: Undefined symbol "PR_GetAddrInfoByName"

also i had to run ldconfig -m by hand.

attached the patch for epiphany port to build
with firefox.

> 
> Joe
> 
> |
> | currently it starts the build (with a small hack) but
> | 0.9.3 is too old - 0.10 is the minimum requirement.
> |
> | franz.
> | _______________________________________________
> | freebsd-gnome at freebsd.org mailing list
> | http://lists.freebsd.org/mailman/listinfo/freebsd-gnome
> | To unsubscribe, send any mail to "freebsd-gnome-unsubscribe at freebsd.org"
> |
> 
> 
> - --
> PGP Key : http://www.marcuscom.com/pgp.asc
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.6 (Darwin)
> Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
> 
> iD8DBQFBXFpjb2iPiv4Uz4cRAlj8AKCvOsbrs9e6nF2W9tfcsh0dDTZKjwCeNfh5
> 8fcfjTlGdfts45jdWdv3zio=
> =CqH7
> -----END PGP SIGNATURE-----

-- 
webonaut.com :: web technology
klammer at webonaut.com :: http://webonaut.com/
fon +43-664-3434708
--
MIG_media intelligence group > agentur für werbung & neue medien
A-5020 Salzburg > Linzergasse 21

Fon +43-662-453091-0 > Fax -99
office at mig.co.at > http://www.mig.co.at
--
-------------- next part --------------
diff -Nur epiphany.orig/Makefile epiphany/Makefile
--- epiphany.orig/Makefile	Thu Sep 30 11:15:12 2004
+++ epiphany/Makefile	Fri Oct  1 13:19:31 2004
@@ -15,22 +15,21 @@
 MAINTAINER=	gnome at FreeBSD.org
 COMMENT=	An extremely lightweight and simple web browser for GNOME 2
 
-BUILD_DEPENDS=	${X11BASE}/lib/${MOZILLA}/components/libwidget_gtk2.so:${PORTSDIR}/www/${MOZILLA}
-RUN_DEPENDS=	${X11BASE}/lib/${MOZILLA}/components/libwidget_gtk2.so:${PORTSDIR}/www/${MOZILLA}
+BUILD_DEPENDS=	${DEPENDS_DIR}:${PORTSDIR}/www/${MOZILLA}
+RUN_DEPENDS=	${DEPENDS_DIR}:${PORTSDIR}/www/${MOZILLA}
 
 MOZILLA=	mozilla
 HEADERS_SUFX=
+DEPENDS_DIR=	${X11BASE}/lib/${MOZILLA}/components/libwidget_gtk2.so
 
-.if !defined(WITH_MOZILLA)
-MOZILLA=	mozilla
-HEADERS_SUFX=
-.else
+.if defined(WITH_MOZILLA)
 .if ${WITH_MOZILLA}=="mozilla-devel" || ${WITH_MOZILLA}=="mozilla-devel-gtk2"
 MOZILLA=	mozilla-devel
 HEADERS_SUFX=	-devel
-.else
-MOZILLA=	mozilla
+.elif ${WITH_MOZILLA}=="firefox"
+MOZILLA=	firefox
 HEADERS_SUFX=
+DEPENDS_DIR=	${X11BASE}/lib/${MOZILLA}/lib/pkgconfig/firefox-gtkmozembed.pc
 .endif
 .endif
 
@@ -40,9 +39,14 @@
 USE_LIBTOOL_VER=15
 USE_GMAKE=	yes
 USE_REINPLACE=	yes
-CONFIGURE_ARGS=	--with-mozilla-includes="${X11BASE}/include/mozilla${HEADERS_SUFX}" \
+.if ${MOZILLA} != "firefox"
+CONFIGURE_ARGS=	--with-mozilla-includes="${X11BASE}/include/${MOZILLA}" \
 		--with-mozilla-libs="${X11BASE}/lib/${MOZILLA}"
-CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include ${PTHREAD_CFLAGS}" \
+.else
+CONFIGURE_ARGS=	--with-mozilla=firefox
+CONFIGURE_ENV=	PKG_CONFIG_PATH=${PKG_CONFIG_PATH}:${X11BASE}/lib/${MOZILLA}/lib/pkgconfig
+.endif
+CONFIGURE_ENV+=	CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include ${PTHREAD_CFLAGS}" \
 		LIBS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
 
 GCONF_SCHEMAS=	epiphany-lockdown.schemas epiphany.schemas
@@ -71,10 +75,8 @@
 	@${ECHO_MSG} ""
 
 post-patch:
-	@${REINPLACE_CMD} -e 's|mozilla-gtkmozembed|mozilla-gtkmozembed${HEADERS_SUFX}|g ; \
-		s|mozilla-xpcom|mozilla-xpcom${HEADERS_SUFX}|g ; \
-		s|$$MOZILLA-gtkmozembed|$$MOZILLA-gtkmozembed${HEADERS_SUFX}|g ; \
-		s|$$MOZILLA-xpcom|$$MOZILLA-xpcom${HEADERS_SUFX}|g' \
+	@${REINPLACE_CMD} -e 's|mozilla-gtkmozembed|mozilla-gtkmozembed${HEADERS_SUFX}|g' \
+		-e 's|mozilla-xpcom|mozilla-xpcom${HEADERS_SUFX}|g' \
 		${WRKSRC}/configure
 	@${FIND} ${WRKSRC} -name "Makefile.in*" | ${XARGS} ${REINPLACE_CMD} -e \
 		 's|-lpthread|${PTHREAD_LIBS}|g'


More information about the freebsd-gnome mailing list