Date: Fri, 01 Oct 2004 13:31:10 +0200 From: Franz Klammer <klammer@webonaut.com> To: Joe Marcus Clarke <marcus@marcuscom.com> Cc: FreeBSD GNOME Users <gnome@freebsd.org> Subject: Re: can anyone send me the firefox 1.0 diff? Message-ID: <415D3FFE.9030101@webonaut.com> In-Reply-To: <415C5A64.8010208@marcuscom.com> References: <415A8F49.4070107@webonaut.com> <415C5A64.8010208@marcuscom.com>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] 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@freebsd.org mailing list > | http://lists.freebsd.org/mailman/listinfo/freebsd-gnome > | To unsubscribe, send any mail to "freebsd-gnome-unsubscribe@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@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@mig.co.at > http://www.mig.co.at -- [-- Attachment #2 --] 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@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'home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?415D3FFE.9030101>
