View previous topic :: View next topic |
Author |
Message |
Belliash Advocate
Joined: 24 Nov 2004 Posts: 2503 Location: Wroclaw, Poland
|
|
Back to top |
|
|
xaviermiller Bodhisattva
Joined: 23 Jul 2004 Posts: 8708 Location: ~Brussels - Belgique
|
Posted: Mon Jul 27, 2015 2:08 pm Post subject: |
|
|
see bug 544760 _________________ Kind regards,
Xavier Miller |
|
Back to top |
|
|
Belliash Advocate
Joined: 24 Nov 2004 Posts: 2503 Location: Wroclaw, Poland
|
|
Back to top |
|
|
mathes.s Apprentice
Joined: 18 Apr 2003 Posts: 279 Location: Brunswick, Germany
|
Posted: Thu Aug 13, 2015 4:49 pm Post subject: |
|
|
Hi,
I tried the overlay from lmiphay overlay and both version 14.2 and 15.0 are faling to fetch the generated addons. I am wondering how people in the bugzilla got it compiling.
Best Regards Mathes _________________ Erst wenn der letzte Programmierer eingesperrt, das letzte Programm verwirklicht und die letzte Idee patentiert ist, werdet Ihr merken, dass Anwälte nicht programmieren können. |
|
Back to top |
|
|
musv Advocate
Joined: 01 Dec 2002 Posts: 3337 Location: de
|
Posted: Tue Aug 18, 2015 2:14 pm Post subject: |
|
|
I'm not sure, where I got my ebuild from. But it's working:
https://bpaste.net/show/ec89d477f5ad
In the files folder there's the generate-script:
media-tv/kodi/files: | #!/bin/bash
# Generate the various interface files that normally requires java.
# This makes building the release versions much nicer.
set -eux
PV=$1
PN=kodi
P="${PN}-${PV}"
DISTDIR="/usr/portage/distfiles"
GITDIR="/usr/local/src/kodi/git"
if [[ ${PV} != "9999" ]] ; then
rm -rf xbmc-*/
tar xf ${DISTDIR}/${P}.tar.gz
d=$(echo xbmc-*/)
else
stamp=$(date --date="$(git log -n1 --pretty=format:%ci master)" -u +%Y%m%d)
P+="-${stamp}"
cd ${GITDIR}
d=.
fi
#cd ${d} && git init . && git add . && git commit -qmm && cd ..
make -C ${d} -j -f codegenerator.mk
tar="${DISTDIR}/${P}-generated-addons.tar.xz"
tar cf - \
${d}/xbmc/interfaces/python/generated/*.cpp \
${d}/xbmc/interfaces/json-rpc/ServiceDescription.h \
| xz > "${tar}"
if [[ ${PV} != "9999" ]] ; then
rm -rf xbmc-*/
fi
du -b "${tar}" |
You need a working Java installation to generate the addons. The generated-addons.tar.xz are provided by the Gentoo-Team. They are not available in the official Kodi download sources. |
|
Back to top |
|
|
Troopo Guru
Joined: 14 Jun 2015 Posts: 310
|
Posted: Tue Aug 25, 2015 9:24 pm Post subject: |
|
|
According to the latest comment in the bug report once they have adopted the gcc5 patch into kodi and the ebuild everything seems fine so does it mean it will now be added into portage? |
|
Back to top |
|
|
|