bugGnash - The GNU Flash player - Bugs: bug #20575, klash fails (latest cvs)

 
 

bug #20575: klash fails (latest cvs)

Submitted by:  Nick Warne <nickw>
Submitted on:  Tue 24 Jul 2007 07:46:15 PM UTC  
 
Category: buildSeverity: 5 - Blocker
Release: NoneStatus: Fixed
Privacy: PublicAssigned to: Sandro Santilli <strk>
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

(Jump to the original submission Jump to the original submission)

Thu 02 Aug 2007 03:30:29 PM UTC, comment #11:

Yes, close this - it works fine, and I can see sorting the player/gui out is ongoing work anyway.

Nick

Nick Warne <nickw>
Thu 02 Aug 2007 02:39:51 PM UTC, comment #10:

We changed policy again. You'll now have multiple executables for multiple guis. 'gnash' will be a shell script, accepting -G, but the konqueror plugin, by default, will invoke kde-gnash directly.

Please test if it everything is ok now, so we close this bug.
TIA

Sandro Santilli <strk>
Project MemberIn charge of this item.
Mon 30 Jul 2007 09:43:59 PM UTC, comment #9:

The new issue is that packagers don't want a 'klash' package to bring in 'GTK' dependencies and a 'gnash' package to bring in 'KDE' dependencies.

So until dynamic loading of GUI/renderer plugins is implemented we'll want two separate executables for 'gnash' and 'klash'

This would be an hack, and might result in 'gnash' and 'klash' being actually a copy of each other (in case KDE gui is selected for a normal build). Anyway, it seems we'll need to do this for the upcoming 0.8.1 release.

Sandro Santilli <strk>
Project MemberIn charge of this item.
Fri 27 Jul 2007 06:17:35 PM UTC, comment #8:

OK, I understand now reading the code and your comments here.

Using the $ENV is the way to go:

export KLASH_PLAYER='gnash -G kde'

Thanks!

Nick

Nick Warne <nickw>
Fri 27 Jul 2007 03:28:11 PM UTC, comment #7:

konqueror plugin only works if the GUI is KDE.
So, using 'gnash -G kde' would do.
'klash' is just a favor to distribution packages, that used
to ship both 'klash' and 'gnash'.
I'm not sure if they will be actually building two separate binaries (still possible) or a single one with both GTK and KDE guis compiled in.

Sandro Santilli <strk>
Project MemberIn charge of this item.
Fri 27 Jul 2007 06:00:12 AM UTC, comment #6:

OK, thinking. If the actually klash binary is really gnash binary, why not just use it instead of messing around with links?

plugin/klash/klash_part.cpp

line 166:

- procname += "/klash";
+ procname += "/gnash";

That works fine here.

Nick

Nick Warne <nickw>
Thu 26 Jul 2007 10:10:56 PM UTC, comment #5:

Yes, anyway it's really easy to get klash back, just make a link to the 'gnash' executable and everything should work fine (assuming you selected KDE in your set of built GUIs).

Someone should be working on making the hard-link at build (or install) time. If not, we'll do it.
We'll surely have that for 0.8.1.

Sandro Santilli <strk>
Project MemberIn charge of this item.
Thu 26 Jul 2007 09:49:57 PM UTC, comment #4:

OK, this thread now contradicts:

https://savannah.gnu.org/bugs/?20598

Nick

Nick Warne <nickw>
Wed 25 Jul 2007 01:40:17 PM UTC, comment #3:

I committed a patch that reintroduces the hack used for 0.8.0.
Now both 'klash' and 'gnash' are built. Possibly both being the same code (as the side effect).

Sandro Santilli <strk>
Project MemberIn charge of this item.
Tue 24 Jul 2007 07:59:21 PM UTC, comment #2:

No, shouldn't be built. It was built using an hack for 0.8.0, and we reverted the hack in head.

We'll likely introduce a similar one before release 0.8.1.
See http://gnashdev.org/wiki/index.php/Release_0.8.1

Sandro Santilli <strk>
Project MemberIn charge of this item.
Tue 24 Jul 2007 07:50:02 PM UTC, comment #1:

Garbled config line posted here, it is:

./configure --with-qt-incl=/usr/lib/qt/include --with-qt-lib=/usr/lib/qt/lib --enable-gui=KDE --prefix=/usr/local/kdeother --enable-renderer=agg --with-agg-incl=/usr/local/include/agg --with-agg-lib=/usr/local/lib

Nick

Nick Warne <nickw>
Tue 24 Jul 2007 07:46:15 PM UTC, original submission:

Sorry for the noise guys.

New cvs tonight. configure:

./configure --with-qt-incl=/usr/lib/qt/include --with-qt-lib=/usr/lib/qt/lib --enable-gui=KDE --prefix=/usr/local/kdeoth=agg --with-agg-incl=/usr/local/include/agg --with-agg-lib=/usr/local/lib

Configurable options are:
Intel 810 LOD bias hack disabled (default). Use --enable-i810-lod-bias to enable.
POSIX Threads support enabled (default)
DMalloc support disabled (default). Use --enable-dmalloc to enable.
Firefox plugin enabled (default). Use --disable-plugin to disable.
Konqueror plugin enabled (default). Use --disable-klash to disable
Loadable GUI & renderer disabled (default). Use --enable-dynamic-gui to enable.
GNOME help disabled (default). Use --enable-ghelp to enable.
Building Cygnal media server disabled.
Building the Flash debugger is disabled.
Top level for cross compiling support files is:
GUI toolkits supported: KDE
Renderers supported: agg
Media handler: ffmpeg
Using SDL for sound handling

Configured paths for i686-pc-linux-gnu are:
DocBook document processing disabled (default)
XML flags are: -I/usr/include/libxml2
XML libs are: -lxml2 -lz -lpthread -lm
KDE flags are: -I/home/nick/kde3.5.7/include -I/home/nick/kde3.5.7/include/kio
KDE libs are: -L/home/nick/kde3.5.7/lib -lkdeui -lkdecore -lkdeprint
QT flags are: -I/usr/lib/qt/include
QT libs are: -L/usr/lib/qt/lib -lqt-mt
JPEG flags are: default include path
JPEG libs are: -ljpeg
MP3 and video support enabled through ffmpeg
FFMPEG flags are: -I/usr/local/include
FFMPEG libs are: -L/usr/local/lib -lavcodec -lvorbisenc -lvorbis -lm -logg -lavformat -lavutil -ltheora
SDL flags are: -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL
SDL libs are: -Wl,-rpath,/usr/lib -lSDL -lpthread
Plugin will be installed in /home/nick/.firefox/plugins
POSIX Threads flags are: -pthread
POSIX Threads lib is: -lpthread
This version of libCurl doesn't have RTMP support
CURL flags are: default include path
CURL libs are: -lcurl
AGG Pixel format is: all
AGG flags are: -I/usr/local/include/agg
AGG libs are: -L/usr/local/lib -lagg
BOOST flags are: -I/usr/local/include/boost-1_33_1
BOOST libs are: -L/usr/local/lib -lboost_date_time-gcc-mt -lboost_thread-gcc-mt
MING version code is 00030000
MING flags are -I/usr/local/include
MING libs are -L/usr/local/lib -lming
MAKESWF is /usr/local/bin/makeswf
MTASC is /usr/bin/mtasc
MTASC CLASSPATH is /usr/bin/std
SWFMILL is /usr/local/bin/swfmill
Z flags are: default include path
Z libs are: -lz
FreeType flags are: -I/usr/include/freetype2
FreeType libs are: -lfreetype -lz
Fontconfig flags are: -I/usr/X11R6/include
Fontconfig libs are: -L/usr/X11R6/lib -lfontconfig

But when using Konq with flash page, I get 'klash: stopped playing'

gdb reveals:

(gdb) run
Starting program: /home/nick/kde3.5.7/bin/konqueror
/bin/sh: line 1: /usr/local/kdeother/bin/klash: No such file or directory
/bin/sh: line 1: /usr/local/kdeother/bin/klash: No such file or directory

It looks like binary 'klash' isn't built (should it be?).

Nick

Nick Warne <nickw>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by strk (Posted a comment)
  • -unavailable- added by nickw (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 02 Aug 2007 03:34:18 PM UTCstrkStatusReady For Test=>Fixed
      Open/ClosedOpen=>Closed
    Wed 25 Jul 2007 01:40:17 PM UTCstrkStatusNone=>Ready For Test
      Assigned toNone=>strk
    Tue 24 Jul 2007 07:59:21 PM UTCstrkCategoryNone=>build
      Severity3 - Normal=>5 - Blocker

    Back to the top


    Powered by Savane 3.1-cleanup1