Call for Testers: XBMC 10.0
avg at freebsd.org
Fri Dec 17 13:02:34 UTC 2010
on 13/12/2010 23:44 Bernhard Froehlich said the following:
> Thanks! I've added all 3 patches to the port.
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 @@
$(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
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 -
- 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) )
$(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:
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.
More information about the freebsd-multimedia