From owner-freebsd-multimedia@FreeBSD.ORG Fri Dec 17 13:02:34 2010 Return-Path: Delivered-To: multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 00A02106566B; Fri, 17 Dec 2010 13:02:34 +0000 (UTC) (envelope-from avg@freebsd.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id EEC878FC08; Fri, 17 Dec 2010 13:02:32 +0000 (UTC) Received: from porto.topspin.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id PAA29753; Fri, 17 Dec 2010 15:02:31 +0200 (EET) (envelope-from avg@freebsd.org) Received: from localhost.topspin.kiev.ua ([127.0.0.1]) by porto.topspin.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1PTZx9-0005JK-Ca; Fri, 17 Dec 2010 15:02:31 +0200 Message-ID: <4D0B5F66.5050101@freebsd.org> Date: Fri, 17 Dec 2010 15:02:30 +0200 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.13) Gecko/20101211 Lightning/1.0b2 Thunderbird/3.1.7 MIME-Version: 1.0 To: Bernhard Froehlich 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> In-Reply-To: <134ff84b4bcfc1fe7831ba84958e7226@bluelife.at> X-Enigmail-Version: 1.1.2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: multimedia@freebsd.org Subject: Re: Call for Testers: XBMC 10.0 X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Dec 2010 13:02:34 -0000 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