From owner-freebsd-gnome Thu Feb 20 23: 5:45 2003 Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4824F37B401 for ; Thu, 20 Feb 2003 23:05:41 -0800 (PST) Received: from creme-brulee.marcuscom.com (rdu57-17-158.nc.rr.com [66.57.17.158]) by mx1.FreeBSD.org (Postfix) with ESMTP id 32C2E43F75 for ; Thu, 20 Feb 2003 23:05:40 -0800 (PST) (envelope-from marcus@marcuscom.com) Received: from [192.168.1.4] (shumai.marcuscom.com [192.168.1.4]) by creme-brulee.marcuscom.com (8.12.6/8.12.6) with ESMTP id h1L746RA054167; Fri, 21 Feb 2003 02:04:06 -0500 (EST) (envelope-from marcus@marcuscom.com) Subject: Re: mplayer plugin does not work with mozilla-devel-gtk From: Joe Marcus Clarke To: "Mezz bsdforums.org" Cc: FreeBSD GNOME Users In-Reply-To: References: Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-P8r3KS8a9RBU7VnB0QaM" Organization: MarcusCom, Inc. Message-Id: <1045811135.339.0.camel@shumai.marcuscom.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2 Date: 21 Feb 2003 02:05:36 -0500 X-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,IN_REP_TO,NOSPAM_INC,PGP_SIGNATURE_2,REFERENCES, SPAM_PHRASE_00_01 version=2.44 Sender: owner-freebsd-gnome@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --=-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