Miro (Democracy) player port is here...
Randy Pratt
bsd-unix at embarqmail.com
Sun Nov 18 08:08:36 PST 2007
On Sun, 18 Nov 2007 09:13:47 -0600
"Jeremy Messenger" <mezz7 at cox.net> wrote:
> On Sun, 18 Nov 2007 08:19:01 -0600, Randy Pratt <bsd-unix at embarqmail.com>
> wrote:
>
> > On Sat, 17 Nov 2007 21:52:19 -0600
> > "Jeremy Messenger" <mezz7 at cox.net> wrote:
> >
> >> Hello folks,
> >>
> >> One of my friend beg me to create a port of Miro, so I did. ;-) Hopeful
> >> I
> >> have covered all dependencies. There is only a known issue is that for
> >> some reason it doesn't show thumbnail. Other than thumbnail, it
> >> downloads,
> >> displays video and etc work great. Feel free to report bug or whatever
> >> under this thread. Have fun.
> >> and boost-python unconflict.
> >>
> >> Cheers,
> >> Mezz
> >>
> >>
> >> --
> >> mezz7 at cox.net - mezz at FreeBSD.org
> >> FreeBSD GNOME Team - FreeBSD Multimedia Hat (ports, not src)
> >> http://www.FreeBSD.org/gnome/ - gnome at FreeBSD.org
> >> http://wiki.freebsd.org/multimedia - multimedia at FreeBSD.org
> >
> > I ran into trouble compiling:
> >
> > Compiling 'unittest/include' template
> > to /usr/ports/local/miro/work/Miro-1.0/res
> > ources/../portable/compiled_templates/unittest/include.py Starting
> > compile of unittest/include Ending compile
> > Using the Xine driver hack. If you experience trouble playing video,
> > try setting USE_XINE_HACK to False in setup.py.
> > /usr/local/lib/libxine.so: undefined reference to `pthread_cleanup_pop'
> > /usr/local/lib/libxine.so: undefined reference to `pthread_attr_destroy'
> > /usr/local/lib/libxine.so: undefined reference to `pthread_create'
> > /usr/local/lib/libxine.so: undefined reference to `pthread_attr_init'
> > /usr/local/lib/libxine.so: undefined reference to `pthread_cancel'
> > /usr/local/lib/libxine.so: undefined reference to `pthread_equal'
> > /usr/local/lib/libxine.so: undefined reference to `pthread_cleanup_push'
> > /usr/local/lib/libxine.so: undefined reference to
> > `pthread_attr_setscope' /usr/local/lib/libxine.so: undefined reference
> > to `pthread_attr_setschedparam' /usr/local/lib/libxine.so: undefined
> > reference to `pthread_join' /usr/local/lib/libxine.so: undefined
> > reference to `pthread_cond_timedwait' /usr/local/lib/libxine.so:
> > undefined reference to `pthread_attr_getschedparam' Traceback (most
> > recent call last): File "setup.py", line 343, in <module>
> > raise RuntimeError("xine_extractor compilation failed. Possibly
> > missing lib xine, gdk-pixbuf-2.0, or glib-2.0.")
> > RuntimeError: xine_extractor compilation failed. Possibly missing
> > libxine, gdk- pixbuf-2.0, or glib-2.0.
> > *** Error code 1
> > gdk-pixbuf-0.22.0_6
> > Stop in /usr/ports/local/miro.
> >
> > I have both glib-1.2.10_12 and glib-2.14.2 installed.
> >
> > I tried several things, first I installed gdk-pixbuf-0.22.0_6 but
> > miro still stopped at the same point. I couldn't find the
> > gdk-pixbuf-2.0 mentioned in the error message.
>
> The gdk-pixbuf-2.0 is from gtk20.
>
> > I have libxine-1.1.7_3 which I rebuilt to include gdk-pixbuf support
> > but miro build still failed at the same point.
> >
> > I'm not sure what to try next. Any suggestions?
>
> I think, this error has to do with missing -pthread. The FreeBSD 7.x and
> -CURRENT don't have this problem any longer. So... Try to do 'make patch'
> and edit in work/Miro-1.0/platform/gtk-x11/setup.py at 340 line like this:
>
> Change from:
> ============================================
> rv = os.system ("gcc %s -o %s `pkg-config --libs --cflags gdk-pixbuf-2.0
> glib-2.0 libxine`" % (os.path.join(platform_dir, "xine/xine_extractor.c"),
> os.path.join(platform_dir, "xine/xine_extractor")))
> ============================================
>
> To:
> ============================================
> rv = os.system ("cc %s -o %s `pkg-config --libs --cflags gdk-pixbuf-2.0
> glib-2.0 libxine` -pthread" % (os.path.join(platform_dir,
> "xine/xine_extractor.c"), os.path.join(platform_dir,
> "xine/xine_extractor")))
> ============================================
>
> Then run 'make install clean' and let me know if it works.
>
> Cheers,
> Mezz
>
> > Randy
> >
> > BTW: FreeBSD 6.3-PRERELEASE #1: Fri Nov 2 06:54:41 EDT 2007 and
> > all ports are up-to-date.
That worked for the installation. Thanks!
Although, when Miro was started, it displayed and was loading
then seg faulted with:
...
INFO First URL is https://www.miroguide.com/firsttime
TIMING Icon clear: 0.002
INFO Starting movie data updates
INFO Finished startup sequence
TIMING idle (finalizing startup) too slow (3.984 secs)
INFO *** Daemon ready ***
INFO got file:///tmp/tmpacEbWZ.html
TIMING gtkAsyncMethod: <function selectDisplay at 0x8bbe064> took too
long: 1.109 INFO got file:///tmp/tmpA7pWuk.html
WARNING downloader: connection closed -- quitting
INFO Shutting down downloaders...
Segmentation fault (core dumped)
The system is lightly loaded and plenty of bandwidth so I don't
think its any problem in that area. Seems to be something related
to not being fast enough.
Thanks,
Randy
> --
> mezz7 at cox.net - mezz at FreeBSD.org
> FreeBSD GNOME Team - FreeBSD Multimedia Hat (ports, not src)
> http://www.FreeBSD.org/gnome/ - gnome at FreeBSD.org
> http://wiki.freebsd.org/multimedia - multimedia at FreeBSD.org
--
More information about the freebsd-gnome
mailing list