Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Dec 2010 15:02:30 +0200
From:      Andriy Gapon <avg@freebsd.org>
To:        Bernhard Froehlich <decke@freebsd.org>
Cc:        multimedia@freebsd.org
Subject:   Re: Call for Testers: XBMC 10.0
Message-ID:  <4D0B5F66.5050101@freebsd.org>
In-Reply-To: <134ff84b4bcfc1fe7831ba84958e7226@bluelife.at>
References:  <20101208192132.51c9937f@FreeBSD.org> <4D03D5B5.8050709@freebsd.org> <1292143026.3455.2.camel@Nokia-N900-42-11> <4D04AAAA.3050603@freebsd.org> <4D04AFA5.5010504@freebsd.org> <134ff84b4bcfc1fe7831ba84958e7226@bluelife.at>

next in thread | previous in thread | raw e-mail | index | archive | help
on 13/12/2010 23:44 Bernhard Froehlich said the following:
> Thanks! I've added all 3 patches to the port.
> 
> http://svn.bluelife.at/index.cgi/blueports/revision/?rev=1086
> 

Thanks!
Some more issues :)

1. It seems that the earlier reported issue with build failure in
xbmc/cores/paplayer/SPCCodec/SNES/SNESAPU on amd64 is real for me.  Can you
please double check this?
I do have to use the following patch for the top-level Makefile.in:
@@ -363,7 +363,7 @@
   endif
 endif
        $(MAKE) -C xbmc/cores/paplayer/YMCodec/StSoundLibrary
-ifeq ($(or $(findstring powerpc,$(ARCH)),$(findstring
x86_64-linux,$(ARCH)),$(findstring arm, $(ARCH))),)
+ifeq ($(or $(findstring powerpc,$(ARCH)),$(findstring
x86_64,$(ARCH)),$(findstring arm, $(ARCH))),)
        $(MAKE) -C xbmc/cores/paplayer/SPCCodec/SNES/SNESAPU
 endif
 imagelib: dllloader

With the above patch I also have to remove
/usr/local/lib/xbmc/system/players/paplayer/SNESAPU-x86_64-freebsd.so from plist.

2. /usr/local/lib/xbmc/addons/script.module.pil/lib and
/usr/local/lib/xbmc/addons/script.module.pysqlite/lib are empty after
installation and that causes troubles for some XBMC addons that need those modules.
I think that the problem is that we do not actually build the modules.
This README -
http://gitorious.org/xbmc/xbmc/blobs/672214990c8bc308ae2977ccfe603b4b10adad8f/README.linux
- suggests that the following additional steps are needed during build:
make -C lib/addons/script.module.pil
make -C lib/addons/script.module.pysqlite

I've verified that these steps indeed help.
But couple of sub-problems though:

A. The following patch was needed on my system, because of an error about popd
and pushd commands:
--- Makefile.orig	2010-12-17 12:02:57.330219404 +0200
+++ Makefile	2010-12-17 12:03:11.874236330 +0200
@@ -32,7 +32,7 @@

 $(DESTDIR): $(SOURCE) $(PYTHON)
 	-rm -rf $(DESTDIR)
-	pushd $(SOURCE) && LD_LIBRARY_PATH=$(PYTHONDIR) $(PYTHON) setup.py build
--build-lib $(DESTDIR); popd
+	(cd $(SOURCE) && LD_LIBRARY_PATH=$(PYTHONDIR) $(PYTHON) setup.py build
--build-lib $(DESTDIR) )

 $(PYTHON):
 	$(MAKE) -C $(abs_top_srcdir) libpython

B. Build in those directories tried to execute python at the following path
relative to build directory: xbmc/lib/libPython/Python/python.
There was no python executable there, so I had to create a symbolic link to
system python in /usr/local/bin/python.

C. pkg-plist would have to be extended for these modules.


P.S.  There is another problem for some XMBC addons:
http://forum.xbmc.org/showthread.php?t=59208
I don't think that this is something that we would want to work around in our
port.  Rather addons authors should fix their addons.
But something to keep in mind.
-- 
Andriy Gapon



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4D0B5F66.5050101>