Skip site navigation (1)Skip section navigation (2)
Date:      14 Feb 2003 03:03:01 -0500
From:      Joe Marcus Clarke <marcus@marcuscom.com>
To:        "Mezz bsdforums.org" <reigncracks@hotmail.com>
Cc:        FreeBSD GNOME Users <gnome@freebsd.org>
Subject:   Re: Here's Lumiere 0.4 ports..
Message-ID:  <1045209780.69226.129.camel@shumai.marcuscom.com>
In-Reply-To: <F79YAnBfQnMKTrfK4Vm0002455c@hotmail.com>
References:  <F79YAnBfQnMKTrfK4Vm0002455c@hotmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-UFOKD3c2yOrw0oLc+Nam
Content-Type: multipart/mixed; boundary="=-JP27YS6RMbJgvY/Ou4WQ"


--=-JP27YS6RMbJgvY/Ou4WQ
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On Thu, 2003-02-13 at 21:31, Mezz bsdforums.org wrote:
> Have to warning first. Lumiere is still in beta, which it has few bugs. S=
o,=20
> use it on your own risk and report the bugs to St=E9phane Konstantaropoul=
os=20
> <stephanek@brutele.be>. I created one very simple patch that will enable =
one=20
> option, so it will working when it's your first time to run it. If it's=20
> disable and it will not working any longer. The option is RTC (Real Time=20
> Clock).
>=20
> Check -> http://brain.shacknet.nu/lumiere.html for the few known problems=
=20
> and etc. One simple problem, I seem to not able fix..
>=20
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> (lumiere:37575): libglade-WARNING **: Error loading image: Failed to open=
=20
> file '/usr/X11R6/share/gnome/lumiere/glade/gnome-lumiere.png': No such fi=
le=20
> or directory
>=20
> (lumiere:37575): libglade-WARNING **: could not convert string to type=20
> `GdkPixbuf' for property `icon'
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
>=20
> I tried to change glade file to point gnome-lumiere.png to correct place =
or=20
> copy gnome-lumiere.png in the correct place, but it doesn't work. If anyo=
ne=20
> want to help, go ahead and show me how and point me if I make the mistake=
s=20
> on everything too. It's my first stratch ports. :-)
>=20
> BTW: Is "MAINTAINER=3Dgnome@FreeBSD.org" ok? Or, I should change it to my=
=20
> email address?
>=20
> BTW2: If you, Joe, want to add in the ports tree, then go ahead and tweak=
=20
> stuff too. I think, Lumiere is kind of not ready to be part of ports tree=
=20
> yet.
>=20
> Download/Installtion:
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> # fetch http://www.mezzweb.com:81/download/lumiere.sh
> # sh lumiere.sh
> # cd /usr/ports/multimedia/lumiere ; make install clean

I took the liberty of checking this out, and making some updates.=20
Attached is my version which works on -STABLE.  This is what I did:

* Removed the LIB_DEPENDS on mplayer.  There is no libmplayer.  mplayer
is an executable, and thus needs to be a RUN_DEPENDS.
* Added a missing BUILD_DEPENDS on gob2.
* Removed the redundant GNU_CONFIGURE (USE_LIBTOOL implies
GNU_CONFIGURE).
* Remove the gnomehier dependency (this port does not explicitly dirrm a
directory listed in gnomehier's plist).
* Removed the unneeded DISTNAME.
* Removed a period in pkg-comment.
* Removed the non ASCII characters from pkg-descr.
* Added a '/' to the end of the WWW link.
* Added two patches required for GCC 2.95.4 (thus required for -STABLE).
* Pointed lumiere.glade to the correct pixmap locations

The crash is due to a double free problem it looks like.  Adding AJ
options to malloc will cause the crash.  I haven't tracked it down
exactly, but it looks like it occurs when self->_priv->box is destroyed
with gtk_widget_destroy().

Joe

>=20
> Cheers,
> Mezz
>=20
> _________________________________________________________________
> MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. =20
> http://join.msn.com/?page=3Dfeatures/virus
>=20
>=20
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-gnome" in the body of the message
--=20
PGP Key : http://www.marcuscom.com/pgp.asc

--=-JP27YS6RMbJgvY/Ou4WQ
Content-Disposition: attachment; filename=lumiere.sh
Content-Transfer-Encoding: quoted-printable
Content-Type: text/x-sh; name=lumiere.sh; charset=ISO-8859-1

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	lumiere
#	lumiere/Makefile
#	lumiere/pkg-comment
#	lumiere/pkg-descr
#	lumiere/files
#	lumiere/files/patch-configure
#	lumiere/files/patch-lumiere.schemas
#	lumiere/files/patch-lumiere_control_lum-control.gob
#	lumiere/files/patch-lumiere_control_gtk-xine.gob
#	lumiere/files/patch-lumiere.glade
#	lumiere/distinfo
#	lumiere/pkg-plist
#
echo c - lumiere
mkdir -p lumiere > /dev/null 2>&1
echo x - lumiere/Makefile
sed 's/^X//' >lumiere/Makefile << 'END-of-lumiere/Makefile'
X# New ports collection makefile for:	lumiere
X# Date created:				13 February 2003
X# Whom:					Mezz <reigncracks@hotmail.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=3D	lumiere
XPORTVERSION=3D	0.4
XCATEGORIES=3D	multimedia gnome
XMASTER_SITES=3D	http://brain.shacknet.nu/
X
XMAINTAINER=3D	reigncracks@hotmail.com
X
XBUILD_DEPENDS=3D	gob2:${PORTSDIR}/devel/gob2
XLIB_DEPENDS=3D	glade-2.0.0:${PORTSDIR}/devel/libglade2 \
X		gnomeui-2.200:${PORTSDIR}/x11-toolkits/libgnomeui \
X		gtkgl-2.0.1:${PORTSDIR}/x11-toolkits/gtkglarea2 \
X		xine.3:${PORTSDIR}/graphics/libxine
XRUN_DEPENDS=3D	mplayer:${PORTSDIR}/multimedia/mplayer
X
XUSE_X_PREFIX=3D	yes
XUSE_REINPLACE=3D	yes
XUSE_GMAKE=3D	yes
XUSE_LIBTOOL=3D	yes
XUSE_GNOMENG=3D	yes
XUSE_GNOME=3D	gnomeprefix gnomehack
XCONFIGURE_TARGET=3D	--target=3D${MACHINE_ARCH}-unknown-freebsd${OSREL}
X
Xpost-patch:
X	@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
X		s|DATADIRNAME=3Dlib|DATADIRNAME=3Dshare|g' ${WRKSRC}/configure
X	@${REINPLACE_CMD} -e 's|%%DATADIR%%|${PREFIX}/share/gnome|g' \
X		${WRKSRC}/lumiere.glade
X
X.include <bsd.port.mk>
END-of-lumiere/Makefile
echo x - lumiere/pkg-comment
sed 's/^X//' >lumiere/pkg-comment << 'END-of-lumiere/pkg-comment'
XGnome 2 frontend to mplayer and libxine (bonobo component / window)
END-of-lumiere/pkg-comment
echo x - lumiere/pkg-descr
sed 's/^X//' >lumiere/pkg-descr << 'END-of-lumiere/pkg-descr'
XLumiere is a GNOME 2 frontend to mplayer and libxine.
X
Xmplayer and libxine are embedded into a bonobo control that acts as a
XCORBA server for handling video files. Nautilus View integrates mplayer
Xand libxine inside Nautilus.
X
XWWW: http://brain.shacknet.nu
END-of-lumiere/pkg-descr
echo c - lumiere/files
mkdir -p lumiere/files > /dev/null 2>&1
echo x - lumiere/files/patch-configure
sed 's/^X//' >lumiere/files/patch-configure << 'END-of-lumiere/files/patch-=
configure'
X--- configure.orig	Thu Feb 13 00:48:00 2003
X+++ configure	Thu Feb 13 00:48:30 2003
X@@ -7661,6 +7661,7 @@
X=20
X # This can be used to rebuild libtool when needed
X LIBTOOL_DEPS=3D"$ac_aux_dir/ltmain.sh"
X+$ac_aux_dir/ltconfig $LIBTOOL_DEPS
X=20
X # Always use our own libtool.
X LIBTOOL=3D'$(SHELL) $(top_builddir)/libtool'
END-of-lumiere/files/patch-configure
echo x - lumiere/files/patch-lumiere.schemas
sed 's/^X//' >lumiere/files/patch-lumiere.schemas << 'END-of-lumiere/files/=
patch-lumiere.schemas'
X--- lumiere.schemas.orig	Thu Feb 13 16:29:07 2003
X+++ lumiere.schemas	Thu Feb 13 17:04:46 2003
X@@ -17,7 +17,7 @@
X 			<applyto>/apps/lumiere/player/xv</applyto>
X 			<owner>lumiere</owner>
X 			<type>bool</type>
X-			<default>true</default>
X+			<default>false</default>
X 			<locale name=3D"C">
X 				<short>XVideo output</short>
X 				<long>Use it if you have XVideo hardware output, disable if lumiere d=
oes not work.</long>
X@@ -130,7 +130,7 @@
X 			<applyto>/apps/lumiere/player/rtc</applyto>
X 			<owner>lumiere</owner>
X 			<type>bool</type>
X-			<default>0</default>
X+			<default>1</default>
X 			<locale name=3D"C">
X 				<short>Real Time Clock</short>
X 				<long>Use Linux Real Time Clock for better timing</long>
END-of-lumiere/files/patch-lumiere.schemas
echo x - lumiere/files/patch-lumiere_control_lum-control.gob
sed 's/^X//' >lumiere/files/patch-lumiere_control_lum-control.gob << 'END-o=
f-lumiere/files/patch-lumiere_control_lum-control.gob'
X--- lumiere/control/lum-control.gob.orig	Fri Feb 14 02:15:53 2003
X+++ lumiere/control/lum-control.gob	Fri Feb 14 02:16:10 2003
X@@ -683,6 +683,7 @@
X 		GnomeVFSResult result;
X 		GnomeVFSHandle *handle;
X 		GString *string;
X+		char *scheme;
X 	=09
X 		g_return_val_if_fail (closure !=3D NULL, -1);
X 		g_return_val_if_fail (LUM_IS_CONTROL (closure), -1);
X@@ -707,7 +708,6 @@
X 	/*TODO get file mime/type and refuse those unsupported */
X 	=09
X=20
X-		char *scheme;
X 		scheme =3D g_strdup(gnome_vfs_uri_get_scheme (uri));
X 		if(g_strcasecmp("http", scheme) =3D=3D 0){
X 			string =3D g_string_new(gnome_vfs_uri_to_string(
END-of-lumiere/files/patch-lumiere_control_lum-control.gob
echo x - lumiere/files/patch-lumiere_control_gtk-xine.gob
sed 's/^X//' >lumiere/files/patch-lumiere_control_gtk-xine.gob << 'END-of-l=
umiere/files/patch-lumiere_control_gtk-xine.gob'
X--- lumiere/control/gtk-xine.gob.orig	Fri Feb 14 02:18:59 2003
X+++ lumiere/control/gtk-xine.gob	Fri Feb 14 02:19:36 2003
X@@ -157,12 +157,13 @@
X 	signal last NONE (STRING) void title_change(self, gchar *string);
X=20
X 	class_init(class) {
X+	    	char * configfile;
X 		if (!g_thread_supported ())
X 			g_thread_init (NULL);
X 		gdk_threads_init ();
X=20
X 		/*#TODO remove this and use LumConfig */
X-		char *configfile =3D g_build_path (G_DIR_SEPARATOR_S,
X+		configfile =3D g_build_path (G_DIR_SEPARATOR_S,
X 				g_get_home_dir (), CONFIG_FILE, NULL);
X 		xine_config_load (class->xine, configfile);
X 		g_free (configfile);
X@@ -710,12 +711,12 @@
X 	}
X=20
X 	private xine_vo_driver_t *load_video_out_driver (self){
X+		xine_vo_driver_t *vo_driver;
X 		double res_h, res_v;
X 		x11_visual_t vis;
X 		const char *video_driver_id =3D=20
X 			LUM_PLAYER(self)->config->xv ? "Xv" : "XShm";
X ;
X-		xine_vo_driver_t *vo_driver;
X=20
X 		vis.display =3D selfp->display;
X 		vis.screen =3D selfp->screen;
END-of-lumiere/files/patch-lumiere_control_gtk-xine.gob
echo x - lumiere/files/patch-lumiere.glade
sed 's/^X//' >lumiere/files/patch-lumiere.glade << 'END-of-lumiere/files/pa=
tch-lumiere.glade'
X--- lumiere.glade.orig	Fri Feb 14 02:32:19 2003
X+++ lumiere.glade	Fri Feb 14 02:32:01 2003
X@@ -12,7 +12,7 @@
X   <property name=3D"modal">False</property>
X   <property name=3D"resizable">False</property>
X   <property name=3D"destroy_with_parent">True</property>
X-  <property name=3D"icon">gnome-lumiere.png</property>
X+  <property name=3D"icon">%%DATADIR%%/pixmaps/gnome-lumiere.png</property=
>
X   <accessibility>
X     <atkproperty name=3D"AtkObject::accessible_name" translatable=3D"yes"=
>window</atkproperty>
X   </accessibility>
X@@ -1185,7 +1185,7 @@
X 	  <child>
X 	    <widget class=3D"GtkImage" id=3D"cont_image">
X 	      <property name=3D"visible">True</property>
X-	      <property name=3D"pixbuf">lum-cont.png</property>
X+	      <property name=3D"pixbuf">%%DATADIR%%/pixmaps/lumiere/lum-cont.png=
</property>
X 	      <property name=3D"xalign">0.5</property>
X 	      <property name=3D"yalign">0.5</property>
X 	      <property name=3D"xpad">0</property>
X@@ -1203,7 +1203,7 @@
X 	  <child>
X 	    <widget class=3D"GtkImage" id=3D"bright_image">
X 	      <property name=3D"visible">True</property>
X-	      <property name=3D"pixbuf">lum-bright.png</property>
X+	      <property name=3D"pixbuf">%%DATADIR%%/pixmaps/lumiere/lum-bright.p=
ng</property>
X 	      <property name=3D"xalign">0.5</property>
X 	      <property name=3D"yalign">0.5</property>
X 	      <property name=3D"xpad">0</property>
X@@ -1222,7 +1222,7 @@
X 	  <child>
X 	    <widget class=3D"GtkImage" id=3D"hue_image">
X 	      <property name=3D"visible">True</property>
X-	      <property name=3D"pixbuf">lum-hue.png</property>
X+	      <property name=3D"pixbuf">%%DATADIR%%/pixmaps/lumiere/lum-hue.png<=
/property>
X 	      <property name=3D"xalign">0.5</property>
X 	      <property name=3D"yalign">0.5</property>
X 	      <property name=3D"xpad">0</property>
X@@ -1241,7 +1241,7 @@
X 	  <child>
X 	    <widget class=3D"GtkImage" id=3D"sat_image">
X 	      <property name=3D"visible">True</property>
X-	      <property name=3D"pixbuf">lum-sat.png</property>
X+	      <property name=3D"pixbuf">%%DATADIR%%/pixmaps/lumiere/lum-sat.png<=
/property>
X 	      <property name=3D"xalign">0.5</property>
X 	      <property name=3D"yalign">0.5</property>
X 	      <property name=3D"xpad">0</property>
END-of-lumiere/files/patch-lumiere.glade
echo x - lumiere/distinfo
sed 's/^X//' >lumiere/distinfo << 'END-of-lumiere/distinfo'
XMD5 (lumiere-0.4.tar.gz) =3D 04f3a9207f561a92cee6123faec4755f
END-of-lumiere/distinfo
echo x - lumiere/pkg-plist
sed 's/^X//' >lumiere/pkg-plist << 'END-of-lumiere/pkg-plist'
Xbin/lumiere
Xetc/gconf/gconf.xml.defaults/apps/lumiere/%gconf.xml
Xetc/gconf/gconf.xml.defaults/apps/lumiere/player/%gconf.xml
Xetc/gconf/gconf.xml.defaults/schemas/apps/lumiere/%gconf.xml
Xetc/gconf/gconf.xml.defaults/schemas/apps/lumiere/player/%gconf.xml
Xetc/gconf/schemas/lumiere.schemas
Xlibdata/bonobo/servers/GNOME_LUM.server
Xlibexec/lumiere-control
Xlibexec/midentify
Xshare/gnome/applications/lumiere.desktop
Xshare/gnome/gnome-2.0/ui/lum-control-ui.xml
Xshare/gnome/gnome-2.0/ui/lumiere-ui.xml
Xshare/gnome/lumiere/glade/lumiere.glade
Xshare/gnome/pixmaps/gnome-lumiere.png
Xshare/gnome/pixmaps/lumiere/lum-bright.png
Xshare/gnome/pixmaps/lumiere/lum-cont.png
Xshare/gnome/pixmaps/lumiere/lum-gtkrc
Xshare/gnome/pixmaps/lumiere/lum-hue.png
Xshare/gnome/pixmaps/lumiere/lum-play.png
Xshare/gnome/pixmaps/lumiere/lum-sat.png
Xshare/gnome/pixmaps/lumiere/lum-stop.png
Xshare/gnome/pixmaps/lumiere/lumiere-logo.png
X@dirrm share/gnome/pixmaps/lumiere
X@dirrm share/gnome/lumiere/glade
X@dirrm share/gnome/lumiere
X@dirrm etc/gconf/gconf.xml.defaults/schemas/apps/lumiere/player
X@dirrm etc/gconf/gconf.xml.defaults/schemas/apps/lumiere
X@dirrm etc/gconf/gconf.xml.defaults/apps/lumiere/player
X@dirrm etc/gconf/gconf.xml.defaults/apps/lumiere
END-of-lumiere/pkg-plist
exit


--=-JP27YS6RMbJgvY/Ou4WQ--

--=-UFOKD3c2yOrw0oLc+Nam
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+TKK0b2iPiv4Uz4cRAtV9AKCU3/J57BZsOgf5MPzLVPmf5XDHIgCgkrLW
e0uBocmBqZlNILqQ4r3QzlI=
=RldP
-----END PGP SIGNATURE-----

--=-UFOKD3c2yOrw0oLc+Nam--


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?1045209780.69226.129.camel>