Date: 21 Feb 2003 02:05:36 -0500 From: Joe Marcus Clarke <marcus@marcuscom.com> To: "Mezz bsdforums.org" <reigncracks@hotmail.com> Cc: FreeBSD GNOME Users <gnome@freebsd.org> Subject: Re: mplayer plugin does not work with mozilla-devel-gtk Message-ID: <1045811135.339.0.camel@shumai.marcuscom.com> In-Reply-To: <F77Jd0cheFDbOLD2cUw00037f32@hotmail.com> References: <F77Jd0cheFDbOLD2cUw00037f32@hotmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--=-P8r3KS8a9RBU7VnB0QaM Content-Type: multipart/mixed; boundary="=-LqRvNPHGVzk2SZy2563c" --=-LqRvNPHGVzk2SZy2563c Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Fri, 2003-02-21 at 00:48, Mezz bsdforums.org wrote: > >On Thu, 2003-02-20 at 23:59, Mezz bsdforums.org wrote: > > > >I do not know how general this may be but on my system (FreeBSD-5.0) > > > >with GNOME2.2 and mozilla-devel-gtk (mozilla-1.3b), the mplayer plug= in > > > >does not work. I get the following when mozilla launches: > > > > > > > >LoadPlugin: failed to initialize shared library > > > >/usr/X11R6/lib/browser_plugins/mplayerplug-in. > > > >so [/usr/X11R6/lib/browser_plugins/mplayerplug-in.so: Undefined symb= ol > > > >"XtWindowToWidget"] > > > > > > Same here, it doesn't work. Galeon2 just finished built and I install= ed=20 > >it. > > > It's just same exactly error what I am getting on mozilla and phoenix= . I > > > guess, the issue is relating with GCC 3.2.2, then? or something=20 > >different on > > > FreeBSD 5.0? > > > >Can you try these patches, and let me know if they work? >=20 > What patches? Seems like you forgot to attach them? :-) Sorry, here they are. Joe --=20 PGP Key : http://www.marcuscom.com/pgp.asc --=-LqRvNPHGVzk2SZy2563c Content-Disposition: attachment; filename=mplayer-plugin.diff Content-Transfer-Encoding: quoted-printable Content-Type: text/x-patch; name=mplayer-plugin.diff; charset=ISO-8859-1 diff -ruN mplayer-plugin.orig/Makefile mplayer-plugin/Makefile --- mplayer-plugin.orig/Makefile Fri Feb 21 00:21:02 2003 +++ mplayer-plugin/Makefile Fri Feb 21 00:20:18 2003 @@ -19,7 +19,12 @@ =20 WRKSRC=3D ${WRKDIR}/${PORTNAME} USE_X_PREFIX=3D yes +USE_REINPLACE=3D yes USE_GMAKE=3D yes + +post-patch: + @${REINPLACE_CMD} -e 's|%%X11BASE%%|${X11BASE}|g' \ + ${WRKSRC}/Makefile =20 do-install: ${MKDIR} ${PREFIX}/lib/browser_plugins diff -ruN mplayer-plugin.orig/files/patch-Makefile mplayer-plugin/files/pat= ch-Makefile --- mplayer-plugin.orig/files/patch-Makefile Fri Feb 21 00:21:02 2003 +++ mplayer-plugin/files/patch-Makefile Fri Feb 21 00:20:18 2003 @@ -1,7 +1,11 @@ ---- Makefile.orig Thu Feb 20 16:38:02 2003 -+++ Makefile Thu Feb 20 16:38:09 2003 -@@ -30,8 +30,8 @@ - PLUGIN_DEFINES=3D -DXP_UNIX -Iinclude -ISource/_gen -I/usr/X11R6/include +--- Makefile.orig Sun Jan 19 08:47:31 2003 ++++ Makefile Fri Feb 21 00:16:20 2003 +@@ -27,11 +27,11 @@ + # =20 +=20 + # PLUGIN_DEFINES=3D -DXP_UNIX -DPLUGIN_TRACE +-PLUGIN_DEFINES=3D -DXP_UNIX -Iinclude -ISource/_gen -I/usr/X11R6/include ++PLUGIN_DEFINES=3D -DXP_UNIX -Iinclude -ISource/_gen -I%%X11BASE%%/include =20 CC=3D gcc -OPTIMIZER=3D -g @@ -11,3 +15,12 @@ =20 SRC=3D Source/mplayerplug-in.c Source/stubs.c=20 OBJ=3D mplayerplug-in.o stubs.o +@@ -41,7 +41,7 @@ + default all: $(SHAREDTARGET) +=20 + $(SHAREDTARGET): $(OBJ) +- $(CC) -shared -o $(SHAREDTARGET) $(OBJ) $(LDFLAGS) ++ $(CC) -shared -L%%X11BASE%%/lib -lXt -o $(SHAREDTARGET) $(OBJ) $(LDFLAGS= ) +=20 + mplayerplug-in.o: Source/mplayerplug-in.c + $(CC) -c $(CFLAGS) Source/mplayerplug-in.c --=-LqRvNPHGVzk2SZy2563c-- --=-P8r3KS8a9RBU7VnB0QaM Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQA+Vc+/b2iPiv4Uz4cRAsXjAJ0UyrV5OzDKCFtTz9IaARPW1QcISQCeLplF L4YRQi/MGIl3JHZ3UzlPjhU= =NNWS -----END PGP SIGNATURE----- --=-P8r3KS8a9RBU7VnB0QaM-- 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?1045811135.339.0.camel>