Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 01 Oct 2004 12:18:09 -0400
From:      Joe Marcus Clarke <marcus@marcuscom.com>
To:        Franz Klammer <klammer@webonaut.com>
Cc:        FreeBSD GNOME Users <gnome@freebsd.org>
Subject:   Re: can anyone send me the firefox 1.0 diff?
Message-ID:  <415D8341.2050106@marcuscom.com>
In-Reply-To: <415D3FFE.9030101@webonaut.com>
References:  <415A8F49.4070107@webonaut.com> <415C5A64.8010208@marcuscom.com> <415D3FFE.9030101@webonaut.com>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Franz Klammer wrote:
| Joe Marcus Clarke wrote:
|
| 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"

This may have happened in my recent change to not use the system NSPR.

|
|> also i had to run ldconfig -m by hand.

Wait, you merged /usr/X11R6/lib/firefox/lib/firefox-1.0PR into the
system ld cache?  That's not good.  Use LD_LIBRARY_PATH instead.

Joe

|
|> 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

| ------------------------------------------------------------------------

| 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'


- --
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

iD8DBQFBXYNBb2iPiv4Uz4cRAvN/AJ49xNHKuabbttkEZ+tI+EKqZtZ5RACcD+kD
iLOetsil2pi89mF+H5dYvSU=
=amYq
-----END PGP SIGNATURE-----



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