Thread: [Mplayerplug-in-devel] mplayerplug-in 3.16 gtk1 build issue
Brought to you by:
kdekorte
From: Roderick J. <rm...@as...> - 2005-11-30 11:28:39
|
Hi After configuring mplayerplug-in 3.16 like: ./configure --disable-rm -with-gecko-sdk=/scratch/rmj/packages/gecko-sdk --enable-gtk1 make gives the following error: g++ -c -o plugin-ui.o -Wall -g -O2 -I/usr/X11R6/include -g -O2 -DXP_UNIX -DMOZ_X11 -I/scratch/rmj/packages/gecko-sdk -I/scratch/rmj/packages/gecko-sdk/include -Iinclude -fPIC -DXPCOM_GLUE -DMOZILLA_STRICT_API -I/usr/include/gtk-1.2 -I/usr/X11R6/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -D_REENTRANT -I/usr/include/glib-1.2 -I/usr/lib/glib/include -DGTK_ENABLED Source/plugin-ui.cpp Source/plugin-ui.cpp: In function `gboolean gtkgui_drawMediaProgress(void*)': Source/plugin-ui.cpp:1548: error: `gtk_progress_bar_set_text' undeclared (firstuse this function) Source/plugin-ui.cpp:1548: error: (Each undeclared identifier is reported only once for each function it appears in.) Source/plugin-ui.cpp:1550: warning: zero-length printf format string Source/plugin-ui.cpp:1550: warning: zero-length printf format string Source/../pixmaps/start.xpm: At global scope: Source/../pixmaps/start.xpm:2: warning: 'start' defined but not used make: *** [plugin-ui.o] Error 1 I tried with gecko-sdk 1.6 and 1.7. Any ideas what I do to fix this? Thanks Roderick Johnstone |
From: Kevin D. <kde...@ya...> - 2005-11-30 13:28:07
|
On Wed, 2005-11-30 at 11:28 +0000, Roderick Johnstone wrote: > Hi >=20 > After configuring mplayerplug-in 3.16 like: >=20 > ./configure --disable-rm -with-gecko-sdk=3D/scratch/rmj/packages/gecko-sd= k=20 > --enable-gtk1 >=20 > make gives the following error: >=20 > g++ -c -o plugin-ui.o -Wall -g -O2 -I/usr/X11R6/include -g -O2=20 > -DXP_UNIX -DMOZ_X11 -I/scratch/rmj/packages/gecko-sdk=20 > -I/scratch/rmj/packages/gecko-sdk/include -Iinclude -fPIC -DXPCOM_GLUE=20 > -DMOZILLA_STRICT_API -I/usr/include/gtk-1.2 -I/usr/X11R6/include=20 > -I/usr/include/glib-1.2 -I/usr/lib/glib/include -D_REENTRANT=20 > -I/usr/include/glib-1.2 -I/usr/lib/glib/include -DGTK_ENABLED=20 > Source/plugin-ui.cpp > Source/plugin-ui.cpp: In function `gboolean=20 > gtkgui_drawMediaProgress(void*)': > Source/plugin-ui.cpp:1548: error: `gtk_progress_bar_set_text' undeclared=20 > (firstuse this function) > Source/plugin-ui.cpp:1548: error: (Each undeclared identifier is=20 > reported only once for each function it appears in.) > Source/plugin-ui.cpp:1550: warning: zero-length printf format string > Source/plugin-ui.cpp:1550: warning: zero-length printf format string > Source/../pixmaps/start.xpm: At global scope: > Source/../pixmaps/start.xpm:2: warning: 'start' defined but not used > make: *** [plugin-ui.o] Error 1 >=20 > I tried with gecko-sdk 1.6 and 1.7. >=20 > Any ideas what I do to fix this? >=20 > Thanks >=20 > Roderick Johnstone Comment out line 1548 in plugin-ui.cpp and recompile... Kevin --=20 Get my public GnuPG key from http://keyserver.veridis.com:11371/export?id=3D7574690260641978351 |
From: Roderick J. <rm...@as...> - 2005-11-30 13:43:36
|
Kevin DeKorte wrote: > On Wed, 2005-11-30 at 11:28 +0000, Roderick Johnstone wrote: > >>Hi >> >>After configuring mplayerplug-in 3.16 like: >> >>./configure --disable-rm -with-gecko-sdk=/scratch/rmj/packages/gecko-sdk >> --enable-gtk1 >> >>make gives the following error: >> >>g++ -c -o plugin-ui.o -Wall -g -O2 -I/usr/X11R6/include -g -O2 >>-DXP_UNIX -DMOZ_X11 -I/scratch/rmj/packages/gecko-sdk >>-I/scratch/rmj/packages/gecko-sdk/include -Iinclude -fPIC -DXPCOM_GLUE >>-DMOZILLA_STRICT_API -I/usr/include/gtk-1.2 -I/usr/X11R6/include >>-I/usr/include/glib-1.2 -I/usr/lib/glib/include -D_REENTRANT >>-I/usr/include/glib-1.2 -I/usr/lib/glib/include -DGTK_ENABLED >>Source/plugin-ui.cpp >>Source/plugin-ui.cpp: In function `gboolean >>gtkgui_drawMediaProgress(void*)': >>Source/plugin-ui.cpp:1548: error: `gtk_progress_bar_set_text' undeclared >>(firstuse this function) >>Source/plugin-ui.cpp:1548: error: (Each undeclared identifier is >>reported only once for each function it appears in.) >>Source/plugin-ui.cpp:1550: warning: zero-length printf format string >>Source/plugin-ui.cpp:1550: warning: zero-length printf format string >>Source/../pixmaps/start.xpm: At global scope: >>Source/../pixmaps/start.xpm:2: warning: 'start' defined but not used >>make: *** [plugin-ui.o] Error 1 >> >>I tried with gecko-sdk 1.6 and 1.7. >> >>Any ideas what I do to fix this? >> >>Thanks >> >>Roderick Johnstone > > > Comment out line 1548 in plugin-ui.cpp and recompile... ok so line 1548 is just: display); so I commented out 1547 and 1548. Hope thats right, but then I get: g++ -c -o plugin-ui.o -Wall -g -O2 -I/usr/X11R6/include -g -O2 -DXP_UNIX -DMOZ_X11 -I/scratch/rmj/packages/gecko-sdk -I/scratch/rmj/packages/gecko-sdk/include -Iinclude -fPIC -DXPCOM_GLUE -DMOZILLA_STRICT_API -I/usr/include/gtk-1.2 -I/usr/X11R6/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -D_REENTRANT -I/usr/include/glib-1.2 -I/usr/lib/glib/include -DGTK_ENABLED Source/plugin-ui.cpp Source/plugin-ui.cpp: In function `gboolean gtkgui_drawMediaProgress(void*)': Source/plugin-ui.cpp:1550: warning: zero-length printf format string Source/plugin-ui.cpp:1550: warning: zero-length printf format string Source/plugin-ui.cpp:1552: error: `gtk_progress_bar_set_text' undeclared (firstuse this function) Source/plugin-ui.cpp:1552: error: (Each undeclared identifier is reported only once for each function it appears in.) Source/../pixmaps/start.xpm: At global scope: Source/../pixmaps/start.xpm:2: warning: 'start' defined but not used make: *** [plugin-ui.o] Error 1 Roderick |
From: Kevin D. <kde...@ya...> - 2005-11-30 14:05:09
|
On Wed, 2005-11-30 at 13:43 +0000, Roderick Johnstone wrote: > Kevin DeKorte wrote: > > On Wed, 2005-11-30 at 11:28 +0000, Roderick Johnstone wrote: > >=20 > >>Hi > >> > >>After configuring mplayerplug-in 3.16 like: > >> > >>./configure --disable-rm -with-gecko-sdk=3D/scratch/rmj/packages/gecko-= sdk=20 > >> --enable-gtk1 > >> > >>make gives the following error: > >> > >>g++ -c -o plugin-ui.o -Wall -g -O2 -I/usr/X11R6/include -g -O2=20 > >>-DXP_UNIX -DMOZ_X11 -I/scratch/rmj/packages/gecko-sdk=20 > >>-I/scratch/rmj/packages/gecko-sdk/include -Iinclude -fPIC -DXPCOM_GLUE=20 > >>-DMOZILLA_STRICT_API -I/usr/include/gtk-1.2 -I/usr/X11R6/include=20 > >>-I/usr/include/glib-1.2 -I/usr/lib/glib/include -D_REENTRANT=20 > >>-I/usr/include/glib-1.2 -I/usr/lib/glib/include -DGTK_ENABLED=20 > >>Source/plugin-ui.cpp > >>Source/plugin-ui.cpp: In function `gboolean=20 > >>gtkgui_drawMediaProgress(void*)': > >>Source/plugin-ui.cpp:1548: error: `gtk_progress_bar_set_text' undeclare= d=20 > >>(firstuse this function) > >>Source/plugin-ui.cpp:1548: error: (Each undeclared identifier is=20 > >>reported only once for each function it appears in.) > >>Source/plugin-ui.cpp:1550: warning: zero-length printf format string > >>Source/plugin-ui.cpp:1550: warning: zero-length printf format string > >>Source/../pixmaps/start.xpm: At global scope: > >>Source/../pixmaps/start.xpm:2: warning: 'start' defined but not used > >>make: *** [plugin-ui.o] Error 1 > >> > >>I tried with gecko-sdk 1.6 and 1.7. > >> > >>Any ideas what I do to fix this? > >> > >>Thanks > >> > >>Roderick Johnstone > >=20 > >=20 > > Comment out line 1548 in plugin-ui.cpp and recompile... >=20 > ok so line 1548 is just: >=20 > display); >=20 > so I commented out 1547 and 1548. Hope thats right, but then I get: >=20 > g++ -c -o plugin-ui.o -Wall -g -O2 -I/usr/X11R6/include -g -O2=20 > -DXP_UNIX -DMOZ_X11 -I/scratch/rmj/packages/gecko-sdk=20 > -I/scratch/rmj/packages/gecko-sdk/include -Iinclude -fPIC -DXPCOM_GLUE=20 > -DMOZILLA_STRICT_API -I/usr/include/gtk-1.2 -I/usr/X11R6/include=20 > -I/usr/include/glib-1.2 -I/usr/lib/glib/include -D_REENTRANT=20 > -I/usr/include/glib-1.2 -I/usr/lib/glib/include -DGTK_ENABLED=20 > Source/plugin-ui.cpp > Source/plugin-ui.cpp: In function `gboolean=20 > gtkgui_drawMediaProgress(void*)': > Source/plugin-ui.cpp:1550: warning: zero-length printf format string > Source/plugin-ui.cpp:1550: warning: zero-length printf format string > Source/plugin-ui.cpp:1552: error: `gtk_progress_bar_set_text' undeclared=20 > (firstuse this function) > Source/plugin-ui.cpp:1552: error: (Each undeclared identifier is=20 > reported only once for each function it appears in.) > Source/../pixmaps/start.xpm: At global scope: > Source/../pixmaps/start.xpm:2: warning: 'start' defined but not used > make: *** [plugin-ui.o] Error 1 >=20 > Roderick Do the same to line 1552 or grab CVS in an hour or so as it compiles. Or apply this patch Index: plugin-ui.cpp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /cvsroot/mplayerplug-in/mplayerplug-in/Source/plugin-ui.cpp,v retrieving revision 1.177 retrieving revision 1.178 diff -C2 -d -r1.177 -r1.178 *** plugin-ui.cpp 26 Nov 2005 15:07:08 -0000 1.177 --- plugin-ui.cpp 30 Nov 2005 13:36:36 -0000 1.178 *************** *** 1513,1516 **** --- 1513,1517 ---- instance->mediaPercent / 100.0); =20 + #ifdef GTK2_ENABLED if (((int) instance->mediaTime > 0) && (instance->showtime =3D=3D 1)) { *************** *** 1552,1556 **** display); } !=20 } else { gtk_widget_hide(GTK_WIDGET(instance->mediaprogress_bar)); --- 1553,1558 ---- display); } ! #endif ! =20 } else { gtk_widget_hide(GTK_WIDGET(instance->mediaprogress_bar)); --=20 Get my public GnuPG key from http://keyserver.veridis.com:11371/export?id=3D7574690260641978351 |
From: Roderick J. <rm...@as...> - 2005-11-30 14:23:23
|
Kevin DeKorte wrote: > On Wed, 2005-11-30 at 13:43 +0000, Roderick Johnstone wrote: > >>Kevin DeKorte wrote: >> >>>On Wed, 2005-11-30 at 11:28 +0000, Roderick Johnstone wrote: >>> >>> >>>>Hi >>>> >>>>After configuring mplayerplug-in 3.16 like: >>>> >>>>./configure --disable-rm -with-gecko-sdk=/scratch/rmj/packages/gecko-sdk >>>> --enable-gtk1 >>>> >>>>make gives the following error: >>>> >>>>g++ -c -o plugin-ui.o -Wall -g -O2 -I/usr/X11R6/include -g -O2 >>>>-DXP_UNIX -DMOZ_X11 -I/scratch/rmj/packages/gecko-sdk >>>>-I/scratch/rmj/packages/gecko-sdk/include -Iinclude -fPIC -DXPCOM_GLUE >>>>-DMOZILLA_STRICT_API -I/usr/include/gtk-1.2 -I/usr/X11R6/include >>>>-I/usr/include/glib-1.2 -I/usr/lib/glib/include -D_REENTRANT >>>>-I/usr/include/glib-1.2 -I/usr/lib/glib/include -DGTK_ENABLED >>>>Source/plugin-ui.cpp >>>>Source/plugin-ui.cpp: In function `gboolean >>>>gtkgui_drawMediaProgress(void*)': >>>>Source/plugin-ui.cpp:1548: error: `gtk_progress_bar_set_text' undeclared >>>>(firstuse this function) >>>>Source/plugin-ui.cpp:1548: error: (Each undeclared identifier is >>>>reported only once for each function it appears in.) >>>>Source/plugin-ui.cpp:1550: warning: zero-length printf format string >>>>Source/plugin-ui.cpp:1550: warning: zero-length printf format string >>>>Source/../pixmaps/start.xpm: At global scope: >>>>Source/../pixmaps/start.xpm:2: warning: 'start' defined but not used >>>>make: *** [plugin-ui.o] Error 1 >>>> >>>>I tried with gecko-sdk 1.6 and 1.7. >>>> >>>>Any ideas what I do to fix this? >>>> >>>>Thanks >>>> >>>>Roderick Johnstone >>> >>> >>>Comment out line 1548 in plugin-ui.cpp and recompile... >> >>ok so line 1548 is just: >> >> display); >> >>so I commented out 1547 and 1548. Hope thats right, but then I get: >> >>g++ -c -o plugin-ui.o -Wall -g -O2 -I/usr/X11R6/include -g -O2 >>-DXP_UNIX -DMOZ_X11 -I/scratch/rmj/packages/gecko-sdk >>-I/scratch/rmj/packages/gecko-sdk/include -Iinclude -fPIC -DXPCOM_GLUE >>-DMOZILLA_STRICT_API -I/usr/include/gtk-1.2 -I/usr/X11R6/include >>-I/usr/include/glib-1.2 -I/usr/lib/glib/include -D_REENTRANT >>-I/usr/include/glib-1.2 -I/usr/lib/glib/include -DGTK_ENABLED >>Source/plugin-ui.cpp >>Source/plugin-ui.cpp: In function `gboolean >>gtkgui_drawMediaProgress(void*)': >>Source/plugin-ui.cpp:1550: warning: zero-length printf format string >>Source/plugin-ui.cpp:1550: warning: zero-length printf format string >>Source/plugin-ui.cpp:1552: error: `gtk_progress_bar_set_text' undeclared >>(firstuse this function) >>Source/plugin-ui.cpp:1552: error: (Each undeclared identifier is >>reported only once for each function it appears in.) >>Source/../pixmaps/start.xpm: At global scope: >>Source/../pixmaps/start.xpm:2: warning: 'start' defined but not used >>make: *** [plugin-ui.o] Error 1 >> >>Roderick > > > Do the same to line 1552 or grab CVS in an hour or so as it compiles. Kevin ok so that works, or at least compiles and runs views a trailer successfully. However after stopping a trailer and browsing somewhere else, mozilla will crash. I tried several trailers including examples from your testing page. Roderick ps this mplayerplug-in works fine for me when built against gtk2 and used with firefox - its just that I need to support multiple browsers. > > Or apply this patch > > Index: plugin-ui.cpp > =================================================================== > RCS file: /cvsroot/mplayerplug-in/mplayerplug-in/Source/plugin-ui.cpp,v > retrieving revision 1.177 > retrieving revision 1.178 > diff -C2 -d -r1.177 -r1.178 > *** plugin-ui.cpp 26 Nov 2005 15:07:08 -0000 1.177 > --- plugin-ui.cpp 30 Nov 2005 13:36:36 -0000 1.178 > *************** > *** 1513,1516 **** > --- 1513,1517 ---- > instance->mediaPercent / 100.0); > > + #ifdef GTK2_ENABLED > if (((int) instance->mediaTime > 0) > && (instance->showtime == 1)) { > *************** > *** 1552,1556 **** > display); > } > ! > } else { > gtk_widget_hide(GTK_WIDGET(instance->mediaprogress_bar)); > --- 1553,1558 ---- > display); > } > ! #endif > ! > } else { > gtk_widget_hide(GTK_WIDGET(instance->mediaprogress_bar)); > > |
From: Kevin D. <kde...@ya...> - 2005-11-30 15:20:25
|
On Wed, 2005-11-30 at 14:23 +0000, Roderick Johnstone wrote: > Kevin >=20 > ok so that works, or at least compiles and runs views a trailer=20 > successfully. However after stopping a trailer and browsing somewhere=20 > else, mozilla will crash. I tried several trailers including examples=20 > from your testing page. >=20 > Roderick >=20 > ps this mplayerplug-in works fine for me when built against gtk2 and=20 > used with firefox - its just that I need to support multiple browsers. Ok, I have found where this is caused, fixing it might be a problem seems I have a flag sync problem. Kevin --=20 Get my public GnuPG key from http://keyserver.veridis.com:11371/export?id=3D7574690260641978351 |
From: Kevin D. <kde...@ya...> - 2005-11-30 19:18:25
|
On Wed, 2005-11-30 at 08:20 -0700, Kevin DeKorte wrote: > On Wed, 2005-11-30 at 14:23 +0000, Roderick Johnstone wrote: > > Kevin > >=20 > > ok so that works, or at least compiles and runs views a trailer=20 > > successfully. However after stopping a trailer and browsing somewhere=20 > > else, mozilla will crash. I tried several trailers including examples=20 > > from your testing page. > >=20 > > Roderick > >=20 > > ps this mplayerplug-in works fine for me when built against gtk2 and=20 > > used with firefox - its just that I need to support multiple browsers. >=20 > Ok, I have found where this is caused, fixing it might be a problem > seems I have a flag sync problem. >=20 > Kevin >=20 Ok, I put a fix into CVS for the crash after playing. It seems to work ok.=20 Here is the patch, but it should be in CVS with in an hour Index: plugin.h =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /cvsroot/mplayerplug-in/mplayerplug-in/Source/plugin.h,v retrieving revision 1.90 retrieving revision 1.91 diff -C2 -d -r1.90 -r1.91 *** plugin.h 8 Nov 2005 14:22:04 -0000 1.90 --- plugin.h 30 Nov 2005 16:37:02 -0000 1.91 *************** *** 273,276 **** --- 273,277 ---- pthread_mutex_t playlist_cond_mutex; pthread_mutex_t control_mutex; + pthread_mutex_t read_mutex; =20 #ifdef GTK2_ENABLED Index: plugin-threads.cpp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /cvsroot/mplayerplug-in/mplayerplug-in/Source/plugin-threads.cpp,v retrieving revision 1.196 retrieving revision 1.197 diff -C2 -d -r1.196 -r1.197 *** plugin-threads.cpp 27 Nov 2005 19:41:51 -0000 1.196 --- plugin-threads.cpp 30 Nov 2005 16:37:02 -0000 1.197 *************** *** 790,799 **** do { pthread_testcancel(); ! if (local_td->instance->cancelled =3D=3D 0 && local_td->instance->player !=3D NULL) { ! c =3D fgetc(local_td->instance->player); } else { c =3D EOF; } ! if (c =3D=3D EOF) { buffer[i] =3D '\0'; break; --- 790,805 ---- do { pthread_testcancel(); ! // need to lock around the read ! pthread_mutex_lock(&(local_td->instance->read_mutex)); !=20 ! if ((local_td->instance->cancelled =3D=3D 0) && (local_td->instance->player !=3D NULL)) { ! // c =3D fgetc(local_td->instance->player); ! fread(&c,1,1,local_td->instance->player); } else { c =3D EOF; } ! pthread_mutex_unlock(&(local_td->instance->read_mutex)); !=20 ! if (c =3D=3D EOF) { buffer[i] =3D '\0'; break; Index: plugin.cpp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /cvsroot/mplayerplug-in/mplayerplug-in/Source/plugin.cpp,v retrieving revision 1.260 retrieving revision 1.261 diff -C2 -d -r1.260 -r1.261 *** plugin.cpp 27 Nov 2005 19:41:51 -0000 1.260 --- plugin.cpp 30 Nov 2005 16:37:02 -0000 1.261 *************** *** 300,303 **** --- 300,304 ---- pthread_mutex_init(&playlist_cond_mutex, NULL); pthread_mutex_init(&control_mutex, NULL); + pthread_mutex_init(&read_mutex, NULL); pthread_attr_init(&thread_attr); pthread_cond_init(&playlist_complete_cond, NULL); *************** *** 384,388 **** --- 385,391 ---- } sendCommand(this, "quit\n"); + pthread_mutex_lock(&read_mutex); cancelled =3D 1; + pthread_mutex_unlock(&read_mutex); pthread_mutex_unlock(&control_mutex); pthread_cancel(player_thread); *************** *** 612,615 **** --- 615,621 ---- if (DEBUG > 1) printf("control_mutex destroyed\n"); + pthread_mutex_destroy(&read_mutex); + if (DEBUG > 1) + printf("read_mutex destroyed\n"); pthread_cond_destroy(&playlist_complete_cond); if (DEBUG > 1) Index: plugin-support.cpp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /cvsroot/mplayerplug-in/mplayerplug-in/Source/plugin-support.cpp,v retrieving revision 1.89 retrieving revision 1.90 diff -C2 -d -r1.89 -r1.90 *** plugin-support.cpp 27 Nov 2005 00:34:11 -0000 1.89 --- plugin-support.cpp 30 Nov 2005 16:37:02 -0000 1.90 *************** *** 487,491 **** --- 487,493 ---- sendCommand(instance, "pause\n"); sendCommand(instance, "quit\n"); + pthread_mutex_lock(&(instance->read_mutex)); instance->cancelled =3D 1; + pthread_mutex_unlock(&(instance->read_mutex)); =20 /* count =3D 0; --=20 Get my public GnuPG key from http://keyserver.veridis.com:11371/export?id=3D7574690260641978351 |
From: Roderick J. <rm...@as...> - 2005-12-01 08:44:11
|
Kevin DeKorte wrote: > On Wed, 2005-11-30 at 08:20 -0700, Kevin DeKorte wrote: > >>On Wed, 2005-11-30 at 14:23 +0000, Roderick Johnstone wrote: >> >>>Kevin >>> >>>ok so that works, or at least compiles and runs views a trailer >>>successfully. However after stopping a trailer and browsing somewhere >>>else, mozilla will crash. I tried several trailers including examples >>>from your testing page. >>> >>>Roderick >>> >>>ps this mplayerplug-in works fine for me when built against gtk2 and >>>used with firefox - its just that I need to support multiple browsers. >> >>Ok, I have found where this is caused, fixing it might be a problem >>seems I have a flag sync problem. >> >>Kevin >> > > > Ok, I put a fix into CVS for the crash after playing. It seems to work > ok. Confirmed...it seems to work well now. Thanks Kevin. Roderick |
From: Kevin D. <kde...@ya...> - 2005-12-01 14:47:49
|
> Confirmed...it seems to work well now. Thanks Kevin. >=20 > Roderick So should I pack up this fix and do a release? Or is their something else that needs to be fixed first? Kevin --=20 Get my public GnuPG key from http://keyserver.veridis.com:11371/export?id=3D7574690260641978351 |
From: Roderick J. <rm...@as...> - 2005-12-01 17:50:41
|
Kevin DeKorte wrote: >>Confirmed...it seems to work well now. Thanks Kevin. >> >>Roderick > > > So should I pack up this fix and do a release? Or is their something > else that needs to be fixed first? > > Kevin > Kevin I still think there is something wrong with the --enable-x build since 3.16 fails with Opera on the sites I tried whereas 3.15 seems to work well. Roderick |
From: Kevin D. <kde...@ya...> - 2005-12-01 21:35:33
Attachments:
15to16.diff.gz
|
> Kevin > > I still think there is something wrong with the --enable-x build since > 3.16 fails with Opera on the sites I tried whereas 3.15 seems to work well. > > Roderick Roderick, Does it work in Firefox for you when compiled with --enable-x? I just went thru the entire diff and didn't see anything that seemed that would even affect X mode. Are you sure you are compiling with the correct version of gecko-sdk. I think I read on some site that gecko-sdk 1.6 was the only one that would work with Opera. Also note that I really don't support Opera as I think the support in X mode is awful and I am very tempted to remove X mode completely. Attached is the complete diff, maybe you'll see something. Also do you see the logo or do you just get a gray screen? Kevin -- Get my public GnuPG key from http://keyserver.veridis.com:11371/export?id=7574690260641978351 |
From: Kevin D. <kde...@ya...> - 2005-12-01 22:31:34
|
On Thu, 2005-12-01 at 17:50 +0000, Roderick Johnstone wrote: > Kevin >=20 > I still think there is something wrong with the --enable-x build since=20 > 3.16 fails with Opera on the sites I tried whereas 3.15 seems to work wel= l. >=20 > Roderick Ok, I downloaded the latest version of Opera for Linux for Fedora Core 4 and installed it on my machine I went to /usr/lib and did the following (basically from the FAQ) sudo ln -s /usr/lib/mozilla-1.7.12/libxpcom.so . Then I went to mplayerplug-in and made sure I configured and compiled mplayerplug-in in X mode with gecko-sdk 1.6 (IMPORTANT that you use 1.6) ./configure --enable-x --with-gecko-sdk=3D/home/kdekorte/gecko-sdk1.6 make clean make install looked at "about:plugins" in opera and it showed the plugins opened http://mplayerplug-in.sf.net/testing/testvid.html and the media played So I am pretty sure this is a local problem on your machine. Kevin --=20 Get my public GnuPG key from http://keyserver.veridis.com:11371/export?id=3D7574690260641978351 |
From: Roderick J. <rm...@as...> - 2005-12-02 10:59:10
|
Kevin DeKorte wrote: > On Thu, 2005-12-01 at 17:50 +0000, Roderick Johnstone wrote: > > >>Kevin >> >>I still think there is something wrong with the --enable-x build since >>3.16 fails with Opera on the sites I tried whereas 3.15 seems to work well. >> >>Roderick > > > Ok, I downloaded the latest version of Opera for Linux for Fedora Core 4 > and installed it on my machine > > I went to /usr/lib and did the following (basically from the FAQ) > > sudo ln -s /usr/lib/mozilla-1.7.12/libxpcom.so . > > Then I went to mplayerplug-in and made sure I configured and compiled > mplayerplug-in in X mode with gecko-sdk 1.6 (IMPORTANT that you use 1.6) > > ./configure --enable-x --with-gecko-sdk=/home/kdekorte/gecko-sdk1.6 > make clean > make install > > > looked at "about:plugins" in opera and it showed the plugins > > opened > > http://mplayerplug-in.sf.net/testing/testvid.html and the media played > > So I am pretty sure this is a local problem on your machine. > > Kevin > Kevin Thanks for looking into this. When I build the cvs against the 1.6 SDK then it works mostly fine with opera - I must have switched to the 1.7 sdk to see if that fixed the problems I had before with the --enable-gtk1 build. When I say mostly fine, I tried several of the trailers at the Apple link in your testing page and they all work fine. Curiously, the one thing that doesnt work for me is the link you gave above, http://mplayerplug-in.sf.net/testing/testvid.html What happens with this link, for me, is that it puts up the mplayerplug-in logo and a progress bar and a pile of buttons below the progress bar. Under the logo is written "Getting playlist..." and nothing else happens. If I put my cursor where I expect the movie trailer to be it turns into an egg-timer. Have you any pointers to how I could find out what is messing this up for me? I just tried this link in firefox and it fails too only it writes "Initializing" under the logo Also, I was unable to detect any difference between having and not having the libxpcom.so sym linked into /usr/lib when building the --enable-x plugin. What does this library do? Thanks Roderick ps This is all on Scientific Linux 4.1 for x86. |
From: Kevin D. <kde...@ya...> - 2005-12-02 13:41:54
|
On Fri, 2005-12-02 at 10:58 +0000, Roderick Johnstone wrote: > Kevin >=20 > Thanks for looking into this. When I build the cvs against the 1.6 SDK=20 > then it works mostly fine with opera - I must have switched to the 1.7=20 > sdk to see if that fixed the problems I had before with the=20 > --enable-gtk1 build. >=20 > When I say mostly fine, I tried several of the trailers at the Apple=20 > link in your testing page and they all work fine. >=20 > Curiously, the one thing that doesnt work for me is the link you gave=20 > above, http://mplayerplug-in.sf.net/testing/testvid.html >=20 oops there is an error with the URL location on that page. It points to localhost rather than the sf site. It works for me cause I have a copy of the website on my local machine. I'll see if I can get that fixed today. > Also, I was unable to detect any difference between having and not=20 > having the libxpcom.so sym linked into /usr/lib when building the=20 > --enable-x plugin. What does this library do? >=20 The libxpcom.so is not needed for building. It is needed when the plugin runs under Opera. Mozilla provides this library, but Opera does not. Without the library in the libpath Opera will not load the plugins. You can see this by typing about:plugins in the location box with and without the library installed.=20 Kevin --=20 Get my public GnuPG key from http://keyserver.veridis.com:11371/export?id=3D7574690260641978351 |
From: Roderick J. <rm...@as...> - 2005-12-02 13:56:11
|
Kevin DeKorte wrote: > On Fri, 2005-12-02 at 10:58 +0000, Roderick Johnstone wrote: > > >>Kevin >> >>Thanks for looking into this. When I build the cvs against the 1.6 SDK >>then it works mostly fine with opera - I must have switched to the 1.7 >>sdk to see if that fixed the problems I had before with the >>--enable-gtk1 build. >> >>When I say mostly fine, I tried several of the trailers at the Apple >>link in your testing page and they all work fine. >> >>Curiously, the one thing that doesnt work for me is the link you gave >>above, http://mplayerplug-in.sf.net/testing/testvid.html >> > > > oops there is an error with the URL location on that page. It points to > localhost rather than the sf site. It works for me cause I have a copy > of the website on my local machine. I'll see if I can get that fixed > today. Then I guess everything works, even in opera. Thanks for your advise. By the way, if you can, I think its very worthwhile to continue supporting the plugin under opera. > > > >>Also, I was unable to detect any difference between having and not >>having the libxpcom.so sym linked into /usr/lib when building the >>--enable-x plugin. What does this library do? >> > > > The libxpcom.so is not needed for building. It is needed when the plugin > runs under Opera. Mozilla provides this library, but Opera does not. > Without the library in the libpath Opera will not load the plugins. You > can see this by typing about:plugins in the location box with and > without the library installed. I don't inderstand why this works for me without the sym link. I dont seem to have that file anywhere that would be found, ie in something pointed to by LD_LIBRARY_PATH. Never mind, it works! > > Kevin |
From: Michael C. <rif...@ea...> - 2005-12-04 02:03:00
|
On Thursday 01 December 2005 10:55 am, Kevin DeKorte wrote: > On Thu, 2005-12-01 at 10:21 -0600, Michael Cox wrote: > > > > Well, it still crashes FX (1.5 Final) if you right-click and select > > "Configure." > > Michael, > > I just downloaded a fresh copy of Firefox 1.5 and tested it with current > CVS and I don't have that problem. Could you send me your config file > you are using (including where you have it installed) and if you could > run firefox with the -g option (you have to have gdb installed or ddd) > run it with the "run" command and then when it crashes print out the > backtrace "bt" command in gdb. > > Thanks, > > Kevin Sorry about the delay in replying; been chasing after a new job... :-/ Anyway, I CD'd to my firefox directory, ran ./firefox -g and then "run." At that point I went to google and searched for "mplayerplug-in" and "test." Went to http://mplayerplug-in.sourceforge.net/testing.php and then copied "http://fredrik.hubbe.net/plugger/test.mov", opened a new tab, and pasted it into the URL gadget. It opens mplayplug-in, and two or three times firefox would hang while still loading the video with gdb showing this (last page of output): ***********SetWindow Callback Exit************** **********NewStream Callback http://fredrik.hubbe.net/plugger/test.mov **************** in getURLBase in getURLBase base: http://fredrik.hubbe.net/plugger/test.mov exiting URL base with http://fredrik.hubbe.net/plugger/ entering getURLHostname exiting getURLHostname with fredrik.hubbe.net Entering SetupPlayer using url for url in fullyQualifyURL item: http://fredrik.hubbe.net/plugger/test.mov baseurl: http://fredrik.hubbe.net/plugger/ hostname: fredrik.hubbe.net isMms = false url = http://fredrik.hubbe.net/plugger/test.mov fqu result: http://fredrik.hubbe.net/plugger/test.mov url http://fredrik.hubbe.net/plugger/test.mov buffer http://fredrik.hubbe.net/plugger/test.mov ready to setup threads creating thread - NP_EMBED creating player thread In launchPlayerThread, state = 110 launchPlayerThread - creating new thread [New Thread 1164954544 (LWP 19972)] ----player thread: in playPlaylist ----player thread: about to go to sleep, js_state = 6, state = 110 MAIN THREAD DONE *********Exiting NewStream Callback***************** WR: n->url= http://fredrik.hubbe.net/plugger/test.mov stream->url= http://fredrik.hubbe.net/plugger/test.mov in URLcmp WR tempname: /home/mike/tmp/mplay5RJMqS in URLcmp in getURLBase in getURLBase base: http://fredrik.hubbe.net/plugger/test.mov exiting URL base with http://fredrik.hubbe.net/plugger/ isMms = false url = http://fredrik.hubbe.net/plugger/test.mov WR: n->url= http://fredrik.hubbe.net/plugger/test.mov stream->url= http://fredrik.hubbe.net/plugger/test.mov in URLcmp in URLcmp WR: n->url= http://fredrik.hubbe.net/plugger/test.mov stream->url= http://fredrik.hubbe.net/plugger/test.mov in URLcmp in URLcmp WR: n->url= http://fredrik.hubbe.net/plugger/test.mov stream->url= http://fredrik.hubbe.net/plugger/test.mov in URLcmp in URLcmp WR: n->url= http://fredrik.hubbe.net/plugger/test.mov stream->url= http://fredrik.hubbe.net/plugger/test.mov in URLcmp in URLcmp WR: n->url= http://fredrik.hubbe.net/plugger/test.mov stream->url= http://fredrik.hubbe.net/plugger/test.mov in URLcmp in URLcmp Program received signal SIGPIPE, Broken pipe. [Switching to Thread 1094400944 (LWP 19958)] 0xffffe410 in ?? () (gdb) quit The program is running. Exit anyway? (y or n) y [mike@penguin firefox]$ That's the only times Firefox has hanged while simply *loading* a video, so that may well be a hiccup with also running gdb. And, it didn't do it *every* time, as you'll see. To continue, here's my mplayer.conf and mplayerplug-in.conf files: /etc/mplayer/mplayer.conf: ## ## MPlayer config file ## ## This file can be copied to /usr/local/etc/mplayer.conf and/or ~/.mplayer/config . ## If both exist, the ~/.mplayer/config's settings override the ## /usr/local/etc/mplayer.conf ones. And, of course command line overrides all. ## The options are the same as in the command line, but they can be specified ## more flexibly here. See below. ## # vo=xv # To specify default video driver (see -vo help for # list) # ao=oss # To specify default audio driver (see -ao help for # list) fs=no # Enlarges movie window to your desktop's size. # Used by drivers: all # vm=no # Tries to change to a different videomode # Used by drivers: dga2, x11, sdl # bpp=0 # Force changing display depth. # Valid settings are: 0, 15, 16, 24, 32 # may need 'vm=yes' too. # Used by drivers: fbdev, dga2, svga, vesa # zoom=no # Enable software scaling (powerful CPU needed) # Used by drivers: svga, x11, vesa # double=yes # use double-buffering (recommended for xv with # SUB/OSD usage) # monitoraspect=4:3 # standard monitor size, with square pixels # monitoraspect=16:9 # use this for widescreen monitor! non-square pixels # ontop=yes # Makes the player window stay ontop # Used by drivers which use X11, except SDL, # as well as directx and gl2 under Windows ## ## Specify your preferred default skin here ## (skins are searched in /usr/local/share/mplayer/Skin/yourskin ## and ~/.mplayer/Skin/yourskin) ## # skin = Blue ## ## Multiple languages are available :) ## ## Hungarian igen nem ## English yes no ## German ja nein ## Spanish si no ## Polish tak nie ## Swedish ja nej ## Binary 1 0 ## ## You can also use spaces and/or tabs. ## # sound = 1 # nosound = nein # mixer = /dev/mixer ## ## resample the fonts' alphamap ## 0 plain white fonts ## 0.75 very narrow black outline (default) ## 1 narrow black outline ## 10 bold black outline ## # ffactor = 0.75 ## ## FBdev driver: # fb = /dev/fb0 # framebuffer device to use # fbmode = 640x480-120 # use this mode (read from fb.modes!) # fbmodeconfig = /etc/fb.modes # the fb.modes file ## VESA and FBdev driver: specify your monitor's timings ## ## (see for example /etc/X11/XF86Config for timings!) ## ** CAUTION! IF YOUR DISPLAY DOESN'T SUPPORT AUTOMATICALLY TURNING OFF WHEN ## OVERDRIVED (AND EVEN IF IT DOES), THIS MAY CAUSE DAMAGE TO YOUR DISPLAY! ## WE AREN'T RESPONSIBLE, IT'S YOUR DECISION! ** ## ## k, K : means multiply by 1000 ## m, M : means multiply by 1.000.000 ## # monitor-hfreq = 31.5k-50k,70k # horizontal frequency range # monitor-vfreq = 50-90 # vertical frequency range # monitor-dotclock = 30M-300M # dotclock (or pixelclock) range ## ## SDL driver ## # vo = sdl:aalib # use SDL video driver by default # use "vo = sdl:aalib" or "vo sdl:dga" and so on, # for specifying SDL subdrivers # ao = sdl:esd # use SDL audio driver by default # use "ao = sdl:esd" to use SDL's ESD driver # noxv = no # whether to use XVideo hardware acceleration or not # forcexv = yes # force XVideo even if not detected ## ## Other (preferred to be default from configfile) switches ## framedrop = yes # drop frames, when not in sync (slow CPU, videocard, # etc) cache = 8192 # use 8Mb input cache by default # slang = en # DVD : display english subtitles if available # alang = en # DVD : play english audio tracks if available ## This is the correct way to use "subconfig" type options in the ## configuration file. In the command line you use : ## -aop list=resample:fout=44100 , but here it is : # aop=list=resample:fout=44100 ## ## You can also include other configfiles ## Specify full path! ## ## Delete this default :) ## #include = /home/gabucino/.mplayer/i_did_not_RTFM_carefully_enough... # the default mpeg audio decoder is currently broken, let's try libmad # first: afm=libmad # get a default OSD font from fontconfig fontconfig = yes font = "Sans" -and- $HOME/.mplayer/mplayerplug-in.conf: debug=2 #vo=xv,x11 #ao=arts,esd,oss #download=1 #dload-dir=$HOME/tmp #keep-download=1 noembed=0 #cachesize=512 #use-mimetypes=0 #enable-ogg=1 #enable-smil=1 #enable-helix=1 #qt-speed=med #rtsp-use-tcp=0 #nomediacache=0 #framedrop=0 #autosync=0 #mc=1 black-background=1 #user-agent=NSPlayer #nopauseonhide=1 enable-wmp=1 enable-qt=1 enable-rm=1 enable-gmp=1 enable-mpeg=1 enable-mp3=1 #fileonly-embed=0 When the page and test video loads and begins playing, I right-click over the video and select "Configure" from the menu. Firefox then crashes. Issuing the BT command in gdb results in "No stack." So here's the last page of gdb's output: Media Length = 15.000000 mediaTime = 1.500000 in sendcommand - command get_time_pos in sendcommand - command get_time_length ANS_LENGTH=15 1.7 A-V: -0.002 ct: -0.003 11/ 11 1% 4% 0.1% 0 0 Media Length = 15.000000 mediaTime = 1.700000 in sendcommand - command get_time_pos in sendcommand - command get_time_length ANS_LENGTH=15 1.9 A-V: -0.002 ct: -0.003 12/ 12 1% 3% 0.1% 0 0 Media Length = 15.000000 mediaTime = 1.900000 in sendcommand - command get_time_pos in sendcommand - command get_time_length ANS_LENGTH=15 2.1 A-V: -0.001 ct: -0.003 13/ 13 1% 3% 0.1% 0 0 Media Length = 15.000000 mediaTime = 2.100000 in sendcommand - command get_time_pos in sendcommand - command get_time_length ANS_LENGTH=15 2.2 A-V: -0.002 ct: -0.004 14/ 14 1% 3% 0.1% 0 0 Media Length = 15.000000 mediaTime = 2.200000 in sendcommand - command get_time_pos in sendcommand - command get_time_length ANS_LENGTH=15 2.4 A-V: -0.001 ct: -0.004 15/ 15 1% 2% 0.1% 0 0 Media Length = 15.000000 mediaTime = 2.400000 in sendcommand - command get_time_pos in sendcommand - command get_time_length popup menu callback event type # 4 button press # 3 ANS_LENGTH=15 2.5 A-V: 0.083 ct: 0.005 16/ 16 1% 2% 0.1% 0 0 Media Length = 15.000000 mediaTime = 2.600000 in sendcommand - command get_time_pos in sendcommand - command get_time_length ANS_LENGTH=15 2.9 A-V: -0.110 ct: 0.004 18/ 18 0% 2% 0.1% 0 0 Media Length = 15.000000 mediaTime = 2.800000 in sendcommand - command get_time_pos in sendcommand - command get_time_length ANS_LENGTH=15 3.1 A-V: -0.046 ct: 0.003 19/ 19 0% 2% 0.1% 0 0 Media Length = 15.000000 mediaTime = 3.000000 in sendcommand - command get_time_pos in sendcommand - command get_time_length ANS_LENGTH=15 3.3 A-V: -0.051 ct: 0.002 20/ 20 0% 2% 0.1% 0 0 Media Length = 15.000000 mediaTime = 3.200000 in sendcommand - command get_time_pos /home/mike/firefox/firefox-bin: relocation error: /home/mike/firefox/plugins/mplayerplug-in-qt.so: undefined symbol: gtk_combo_box_entry_new_text Program exited with code 0177. (gdb) bt No stack. (gdb) quit [mike@penguin firefox]$ This is with Firefox 1.5, MPlayer 1.0pre7try2, and mplayerplug-in 3.16 on Mandrake 10.0 Official. HTH. Let me know if you need more info, and I can try to redirect gdb's output to a text file. Michael Cox |
From: Kevin D. <kde...@ya...> - 2005-12-04 05:19:55
|
On Sat, 2005-12-03 at 20:02 -0600, Michael Cox wrote: > /home/mike/firefox/firefox-bin: relocation=20 > error: /home/mike/firefox/plugins/mplayerplug-in-qt.so: undefined > symbol:=20 > gtk_combo_box_entry_new_text Looks like the gtk_combo_box_entry_new_text method is missing from your version of GTK. According to the GTK manual here: http://developer.gnome.org/doc/API/2.0/gtk/GtkComboBoxEntry.html#gtk-combo-= box-entry-new-text That symbol should have been present since GTK 2.4. Can you run the command for me? rpm -q gtk2 I'm guessing it should be gtk 2.4 or higher. If that is the case it maybe a problem with the GTK that mandriva packages. I know this worked on my FC3 machine which was GTK 2.4 and it does work on GTK 2.6 in FC4. Also, you might try this strings /usr/lib/libgtk-x11-2.0.so.0 | grep gtk_combo_box_entry This is the result I get and you can clearly see that gtk_combo_box_entry_new_text is present. gtk_combo_box_entry_get_text_column gtk_combo_box_entry_get_type gtk_combo_box_entry_new gtk_combo_box_entry_new_text gtk_combo_box_entry_new_with_model gtk_combo_box_entry_set_text_column IA__gtk_combo_box_entry_new_with_model IA__gtk_combo_box_entry_set_text_column IA__gtk_combo_box_entry_get_text_column --=20 Get my public GnuPG key from http://keyserver.veridis.com:11371/export?id=3D7574690260641978351 |
From: Michael C. <rif...@ea...> - 2005-12-04 07:04:44
|
On Saturday 03 December 2005 11:19 pm, Kevin DeKorte wrote: > Looks like the gtk_combo_box_entry_new_text method is missing from your > version of GTK. According to the GTK manual here: > http://developer.gnome.org/doc/API/2.0/gtk/GtkComboBoxEntry.html#gtk-combo- >box-entry-new-text > > That symbol should have been present since GTK 2.4. Can you run the > command for me? > > rpm -q gtk2 > > I'm guessing it should be gtk 2.4 or higher. If that is the case it > maybe a problem with the GTK that mandriva packages. I know this worked > on my FC3 machine which was GTK 2.4 and it does work on GTK 2.6 in FC4. > > Also, you might try this > > strings /usr/lib/libgtk-x11-2.0.so.0 | grep gtk_combo_box_entry > > This is the result I get and you can clearly see that > gtk_combo_box_entry_new_text is present. > > gtk_combo_box_entry_get_text_column > gtk_combo_box_entry_get_type > gtk_combo_box_entry_new > gtk_combo_box_entry_new_text > gtk_combo_box_entry_new_with_model > gtk_combo_box_entry_set_text_column > IA__gtk_combo_box_entry_new_with_model > IA__gtk_combo_box_entry_set_text_column > IA__gtk_combo_box_entry_get_text_column Okay, this is weird. strings /usr/lib/libgtk-x11-2.0.so.0 | grep gtk_combo_box_entry doesn't return anything. The rpm query returns "package gtk2 is not installed." Same with rpm -q gtk. I'm not sure how that's possible. Here's my gtk-related libraries: libexif-gtk.so.4@ libgnorbagtk.so.0.0.0* libgtkhtml-2.so.0@ libgtkmm-2.0.so.1.5.8* libgtkspell.so.0@ libgtk-x11-2.0.so.0.200.4* libexif-gtk.so.4.0.0* libgtk-1.2.so.0@ libgtkhtml-2.so.0.0.0* libgtkmm_generate_extra_defs-2.0.so.1@ libgtkspell.so.0.0.0* libgtkxmhtml.so.1@ libgconf-gtk-1.so.1@ libgtk-1.2.so.0.9.1* libgtkhtml-3.0.so.4@ libgtkmm_generate_extra_defs-2.0.so.1.5.8* libgtk-x11-2.0.la libgtkxmhtml.so.1.0.1* libgconf-gtk-1.so.1.0.0* libgtkhtml-1.1.so.3@ libgtkhtml-3.0.so.4.0.0* libgtksourceview-1.0.so.0@ libgtk-x11-2.0.so@ libwx_gtk2-2.5.so.0@ libgnorbagtk.so.0@ libgtkhtml-1.1.so.3.0.5* libgtkmm-2.0.so.1@ libgtksourceview-1.0.so.0.0.0* libgtk-x11-2.0.so.0@ libwx_gtk2-2.5.so.0.0.0* So, if I don't have gtk2 installed, I'm suprised that it works at all. Very strange. Michael Cox |
From: Greg H. <gr...@ho...> - 2005-12-04 07:49:17
|
looks a lot like you have gtk but not gtk2 installed. also, if you've ever done a 'make; make install' as opposed to installing the rpm package, that would also lead to inconsistent results from querying the rpm database (i.e. if you manually installed gtk with make; make install, then rpm -q will know nothing about the package you installed 'manually' -- worse, you might have installed _over_ an existing package, and *that* really breaks things... ) best rgds, -Greg Hosler On 04-Dec-2005 Michael Cox wrote: > > On Saturday 03 December 2005 11:19 pm, Kevin DeKorte wrote: > >> Looks like the gtk_combo_box_entry_new_text method is missing from your >> version of GTK. According to the GTK manual here: >> http://developer.gnome.org/doc/API/2.0/gtk/GtkComboBoxEntry.html#gtk-combo- >>box-entry-new-text >> >> That symbol should have been present since GTK 2.4. Can you run the >> command for me? >> >> rpm -q gtk2 >> >> I'm guessing it should be gtk 2.4 or higher. If that is the case it >> maybe a problem with the GTK that mandriva packages. I know this worked >> on my FC3 machine which was GTK 2.4 and it does work on GTK 2.6 in FC4. >> >> Also, you might try this >> >> strings /usr/lib/libgtk-x11-2.0.so.0 | grep gtk_combo_box_entry >> >> This is the result I get and you can clearly see that >> gtk_combo_box_entry_new_text is present. >> >> gtk_combo_box_entry_get_text_column >> gtk_combo_box_entry_get_type >> gtk_combo_box_entry_new >> gtk_combo_box_entry_new_text >> gtk_combo_box_entry_new_with_model >> gtk_combo_box_entry_set_text_column >> IA__gtk_combo_box_entry_new_with_model >> IA__gtk_combo_box_entry_set_text_column >> IA__gtk_combo_box_entry_get_text_column > > Okay, this is weird. > > strings /usr/lib/libgtk-x11-2.0.so.0 | grep gtk_combo_box_entry doesn't > return > anything. > > The rpm query returns "package gtk2 is not installed." > > Same with rpm -q gtk. I'm not sure how that's possible. > > Here's my gtk-related libraries: > > libexif-gtk.so.4@ > libgnorbagtk.so.0.0.0* > libgtkhtml-2.so.0@ > libgtkmm-2.0.so.1.5.8* > libgtkspell.so.0@ > libgtk-x11-2.0.so.0.200.4* > libexif-gtk.so.4.0.0* > libgtk-1.2.so.0@ > libgtkhtml-2.so.0.0.0* > libgtkmm_generate_extra_defs-2.0.so.1@ > libgtkspell.so.0.0.0* libgtkxmhtml.so.1@ > libgconf-gtk-1.so.1@ > libgtk-1.2.so.0.9.1* > libgtkhtml-3.0.so.4@ > libgtkmm_generate_extra_defs-2.0.so.1.5.8* > libgtk-x11-2.0.la > libgtkxmhtml.so.1.0.1* > libgconf-gtk-1.so.1.0.0* > libgtkhtml-1.1.so.3@ > libgtkhtml-3.0.so.4.0.0* > libgtksourceview-1.0.so.0@ > libgtk-x11-2.0.so@ > libwx_gtk2-2.5.so.0@ > libgnorbagtk.so.0@ > libgtkhtml-1.1.so.3.0.5* > libgtkmm-2.0.so.1@ > libgtksourceview-1.0.so.0.0.0* > libgtk-x11-2.0.so.0@ > libwx_gtk2-2.5.so.0.0.0* > > So, if I don't have gtk2 installed, I'm suprised that it works at all. Very > strange. > > > > Michael Cox > > > > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click > _______________________________________________ > Mplayerplug-in-devel mailing list > Mpl...@li... > https://lists.sourceforge.net/lists/listinfo/mplayerplug-in-devel +---------------------------------------------------------------------+ Please also check the log file at "/dev/null" for additional information. (from /var/log/Xorg.setup.log) | Greg Hosler gr...@ho... | +---------------------------------------------------------------------+ |
From: Kevin D. <kde...@ya...> - 2005-12-04 14:01:49
|
On Sun, 2005-12-04 at 01:04 -0600, Michael Cox wrote: > Okay, this is weird. =20 >=20 > strings /usr/lib/libgtk-x11-2.0.so.0 | grep gtk_combo_box_entry doesn't r= eturn=20 > anything. =20 >=20 That is odd, but I do see libgtk-x11-2.0.so.0@ in the list below.. I'm wondering what is up with the @ > The rpm query returns "package gtk2 is not installed." >=20 I know Mandrake is based off of RedHat, but that does seem a little odd > Same with rpm -q gtk. I'm not sure how that's possible. >=20 [kdekorte@localhost ~]$ rpm -q gtk+ gtk+-1.2.10-39 [kdekorte@localhost ~]$ rpm -q gtk2 gtk2-2.6.10-2.fc4.4 It is not gtk it is gtk+ when you are looking for gtk 1 > Here's my gtk-related libraries: >=20 > libexif-gtk.so.4@ =20 > libgnorbagtk.so.0.0.0* =20 > libgtkhtml-2.so.0@ =20 > libgtkmm-2.0.so.1.5.8* =20 > libgtkspell.so.0@ =20 > libgtk-x11-2.0.so.0.200.4* > libexif-gtk.so.4.0.0* =20 > libgtk-1.2.so.0@ =20 > libgtkhtml-2.so.0.0.0* =20 > libgtkmm_generate_extra_defs-2.0.so.1@ =20 > libgtkspell.so.0.0.0* libgtkxmhtml.so.1@ > libgconf-gtk-1.so.1@ =20 > libgtk-1.2.so.0.9.1* =20 > libgtkhtml-3.0.so.4@ =20 > libgtkmm_generate_extra_defs-2.0.so.1.5.8* =20 > libgtk-x11-2.0.la =20 > libgtkxmhtml.so.1.0.1* > libgconf-gtk-1.so.1.0.0* =20 > libgtkhtml-1.1.so.3@ =20 > libgtkhtml-3.0.so.4.0.0* =20 > libgtksourceview-1.0.so.0@ =20 > libgtk-x11-2.0.so@ =20 > libwx_gtk2-2.5.so.0@ > libgnorbagtk.so.0@ =20 > libgtkhtml-1.1.so.3.0.5* =20 > libgtkmm-2.0.so.1@ =20 > libgtksourceview-1.0.so.0.0.0* =20 > libgtk-x11-2.0.so.0@ =20 This is one you need to do strings on... it is a symbolic link? Do an ls -la on this one. > libwx_gtk2-2.5.so.0.0.0* >=20 > So, if I don't have gtk2 installed, I'm suprised that it works at all. V= ery=20 > strange. I'm guessing you do have gtk2 installed (otherwise Firefox would not run) you just need to find out what is going on here. Kevin --=20 Get my public GnuPG key from http://keyserver.veridis.com:11371/export?id=3D7574690260641978351 |
From: Michael C. <rif...@ea...> - 2005-12-04 18:54:42
|
On Sunday 04 December 2005 08:01 am, Kevin DeKorte wrote: > On Sun, 2005-12-04 at 01:04 -0600, Michael Cox wrote: > > Okay, this is weird. =A0 > > > > strings /usr/lib/libgtk-x11-2.0.so.0 | grep gtk_combo_box_entry doesn't > > return anything. > > That is odd, but I do see libgtk-x11-2.0.so.0@ in the list below.. I'm > wondering what is up with the @ The @ is apparently a kind of shorthand to indicate a link. Here's a bette= r=20 listing: /usr/lib/libexif-gtk.so.4 -> libexif-gtk.so.4.0.0*=20 /usr/lib/libexif-gtk.so.4.0.0* /usr/lib/libgconf-gtk-1.so.1 -> libgconf-gtk-1.so.1.0.0* /usr/lib/libgconf-gtk-1.so.1.0.0* /usr/lib/libgnorbagtk.so.0 -> libgnorbagtk.so.0.0.0* /usr/lib/libgnorbagtk.so.0.0.0* /usr/lib/libgtk-1.2.so.0 -> libgtk-1.2.so.0.9.1* /usr/lib/libgtk-1.2.so.0.9.1* /usr/lib/libgtkhtml-1.1.so.3 -> libgtkhtml-1.1.so.3.0.5* /usr/lib/libgtkhtml-1.1.so.3.0.5* /usr/lib/libgtkhtml-2.so.0 -> libgtkhtml-2.so.0.0.0* /usr/lib/libgtkhtml-2.so.0.0.0* /usr/lib/libgtkhtml-3.0.so.4 -> libgtkhtml-3.0.so.4.0.0* /usr/lib/libgtkhtml-3.0.so.4.0.0* /usr/lib/libgtkmm-2.0.so.1 -> libgtkmm-2.0.so.1.5.8* /usr/lib/libgtkmm-2.0.so.1.5.8* /usr/lib/libgtkmm_generate_extra_defs-2.0.so.1 ->=20 libgtkmm_generate_extra_defs-2.0.so.1.5.8* /usr/lib/libgtkmm_generate_extra_defs-2.0.so.1.5.8* /usr/lib/libgtksourceview-1.0.so.0 -> libgtksourceview-1.0.so.0.0.0* /usr/lib/libgtksourceview-1.0.so.0.0.0* /usr/lib/libgtkspell.so.0 -> libgtkspell.so.0.0.0* /usr/lib/libgtkspell.so.0.0.0* /usr/lib/libgtk-x11-2.0.la /usr/lib/libgtk-x11-2.0.so -> libgtk-x11-2.0.so.0.200.4* /usr/lib/libgtk-x11-2.0.so.0 -> libgtk-x11-2.0.so.0.200.4* /usr/lib/libgtk-x11-2.0.so.0.200.4* /usr/lib/libgtkxmhtml.so.1 -> libgtkxmhtml.so.1.0.1* /usr/lib/libgtkxmhtml.so.1.0.1* /usr/lib/libwx_gtk2-2.5.so.0 -> libwx_gtk2-2.5.so.0.0.0* /usr/lib/libwx_gtk2-2.5.so.0.0.0* > > The rpm query returns "package gtk2 is not installed." > > I know Mandrake is based off of RedHat, but that does seem a little odd > > > Same with rpm -q gtk. =A0 I'm not sure how that's possible. > > [kdekorte@localhost ~]$ rpm -q gtk+ > gtk+-1.2.10-39 > [kdekorte@localhost ~]$ rpm -q gtk2 > gtk2-2.6.10-2.fc4.4 > > It is not gtk it is gtk+ when you are looking for gtk 1 Tried that, too. No joy; it claims gtk+ is not installed. > > Here's my gtk-related libraries: > > > > libexif-gtk.so.4@ =A0 =A0 =A0 =A0 > > libgnorbagtk.so.0.0.0* =A0 =A0 > > libgtkhtml-2.so.0@ =A0 =A0 =A0 =A0 > > libgtkmm-2.0.so.1.5.8* =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 > > libgtkspell.so.0@ =A0 =A0 =A0 > > libgtk-x11-2.0.so.0.200.4* > > libexif-gtk.so.4.0.0* =A0 =A0 > > libgtk-1.2.so.0@ =A0 =A0 =A0 =A0 =A0 > > libgtkhtml-2.so.0.0.0* =A0 =A0 > > libgtkmm_generate_extra_defs-2.0.so.1@ =A0 =A0 =A0 > > libgtkspell.so.0.0.0* =A0libgtkxmhtml.so.1@ > > libgconf-gtk-1.so.1@ =A0 =A0 =A0 > > libgtk-1.2.so.0.9.1* =A0 =A0 =A0 > > libgtkhtml-3.0.so.4@ =A0 =A0 =A0 > > libgtkmm_generate_extra_defs-2.0.so.1.5.8* =A0 > > libgtk-x11-2.0.la =A0 =A0 =A0 > > libgtkxmhtml.so.1.0.1* > > libgconf-gtk-1.so.1.0.0* =A0 > > libgtkhtml-1.1.so.3@ =A0 =A0 =A0 > > libgtkhtml-3.0.so.4.0.0* =A0 > > libgtksourceview-1.0.so.0@ =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 > > libgtk-x11-2.0.so@ =A0 =A0 > > libwx_gtk2-2.5.so.0@ > > libgnorbagtk.so.0@ =A0 =A0 =A0 =A0 > > libgtkhtml-1.1.so.3.0.5* =A0 > > libgtkmm-2.0.so.1@ =A0 =A0 =A0 =A0 > > libgtksourceview-1.0.so.0.0.0* =A0 =A0 =A0 =A0 =A0 =A0 =A0 > > libgtk-x11-2.0.so.0@ =A0 > > This is one you need to do strings on... it is a symbolic link? Do an ls > -la on this one. > > > libwx_gtk2-2.5.so.0.0.0* It's linked back to libwx_gtk2-2.5.so.0, see above. > > So, if I don't have gtk2 installed, I'm suprised that it works at all. > > =A0Very strange. > > I'm guessing you do have gtk2 installed (otherwise Firefox would not > run) you just need to find out what is going on here. > > Kevin I'll try rebuilding the rpm database. Maybe, as Greg suggested, I've borke= d=20 it up by attempting to compile gtk2 in the past. I don't remember it, but = I=20 *do* have a /usr/lib/gtk2.0 directory with 2.2.0, source, and modules=20 directories dated Feb-2004. =20 Hell, it might even be time to actually load a newer distro! :-) Michael Cox |
From: Kevin D. <kde...@ya...> - 2005-12-04 19:13:28
|
On Sun, 2005-12-04 at 12:54 -0600, Michael Cox wrote: > I'll try rebuilding the rpm database. Maybe, as Greg suggested, I've > borked=20 > it up by attempting to compile gtk2 in the past. I don't remember it, > but I=20 > *do* have a /usr/lib/gtk2.0 directory with 2.2.0, source, and modules=20 > directories dated Feb-2004. =20 >=20 > Hell, it might even be time to actually load a newer distro! :-) Michael, I bet the system is linking to the GTK2 2.2 libs and that is why you are having trouble with the configure dialog as it requires GTK2 2.4.=20 I would suggest upgrading Kevin --=20 Get my public GnuPG key from http://keyserver.veridis.com:11371/export?id=3D7574690260641978351 |