pkg audioencoder flac, lame.... add

67 views
Skip to first unread message

JanQ

unread,
Jun 8, 2015, 12:34:08 PM6/8/15
to openbric...@googlegroups.com

Possible helps aaded audioencoder flac, lame, vorbis, wav.
I created meta and build files, but make take errors: 

IMHO: not find kodi config files, need installed kodi path.
I add and change,  CMAKE_MODULE_PATH, CMAKE_PREFIX_PATH but nothing...


CMake Error at CMakeLists.txt:9 (find_package):
  By not providing "Findkodi.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "kodi", but
  CMake did not find one.

  Could not find a package configuration file provided by "kodi" with any of
  the following names:

    kodiConfig.cmake
    kodi-config.cmake

  Add the installation prefix of "kodi" to CMAKE_PREFIX_PATH or set
  "kodi_DIR" to a directory containing one of the above files.  If "kodi"
  provides a separate development package or SDK, be sure it has been
  installed.

PKG_NAME=xbmc-addon-audioencoder-flac
PKG_URL_PROTO=git
PKG_URL_REV=a5e2d1262d
PKG_VERSION=${PKG_URL_REV}
PKG_URL="https://github.com/xbmc/audioencoder.flac.git"
PKG_REV=1
PKG_DEPENDS="kodi"
PKG_RUN_DEPENDS="$TARGET_LIBC"
PKG_BUILD_DEPENDS="toolchain cmake"
PKG_PRIORITY=optional
PKG_SECTION=multimedia
PKG_SHORTDESC="XBMC addon audioencoder flac"
PKG_LONGDESC="XBMC addon audioencoder flac"


#!/bin/sh
. config/options

get_meta $1

cd $PKG_BUILD_DIR

setup_toolchain target

cmake  \

      -DCMAKE_FIND_ROOT_PATH=$LIB_PREFIX \
      -DCMAKE_PREFIX_PATH=/usr \
.
cmake
cmake_install
.....................




More comments latest ( i386 ) master

1. Default ATI fglrx 13.4 not worked. I tested with Gentoo 14.12-r3 drivers: OK.
2. Latest Nvidia 334.16 need ACPI_OS_WAIT patch.
3. pciutils: lspci service. Default command: lspci. For video card detect script: ati, nvidia; need more information.
    Maybe add: lspci -vn ?
4. Please add long sort to busybox

Thanks.

Long life OpenBricks!!!



acpi_os_wait_events_complete-334.16.patch

Thomas Genty

unread,
Jun 9, 2015, 1:05:53 AM6/9/15
to openbric...@googlegroups.com
Le 08/06/2015 18:34, JanQ a écrit :
Hello JanQ
>
> Possible helps aaded audioencoder flac, lame, vorbis, wav.
> I created meta and build files, but make take errors:
>
Is this happen on devel branch ?
I have no time to look at this today, maybe tomorrow.

>
>
>
>
> More comments latest ( i386 ) master
>
> 1. Default ATI fglrx 13.4 not worked. I tested with Gentoo 14.12-r3
> drivers: OK.
Here is the problem : I can no longer test it, I have no more ATI card ...
> 2. Latest Nvidia 334.16 need ACPI_OS_WAIT patch.
Ok, can you submit the patch ?
> 3. pciutils: lspci service. Default command: lspci. For video card
> detect script: ati, nvidia; need more information.
> Maybe add: lspci -vn ?
> 4. Please add long sort to busybox
Sure, but feel free to propose a patch for this too : just clone our
tree on github, push your commits then create a pull request. :p
Any help is welcome .
>
> Thanks.
>
> *Long life OpenBricks!!!*
>
Cheers !

Tom
>
>
> --
> You received this message because you are subscribed to the Google
> Groups "OpenBricks Development List" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to openbricks-dev...@googlegroups.com
> <mailto:openbricks-dev...@googlegroups.com>.
> For more options, visit https://groups.google.com/d/optout.

Rudi

unread,
Jun 9, 2015, 5:36:32 AM6/9/15
to openbric...@googlegroups.com
Hi,

> Possible helps aaded audioencoder flac, lame, vorbis, wav.

I've added those to the devel branch. If you already have an existing build
of this branch, clean out the package 'kodi-platform' before running 'make'.


--

Ruediger "Rudi" Ihle


JanQ

unread,
Jun 10, 2015, 10:20:03 AM6/10/15
to openbric...@googlegroups.com

I tested it, in master; ( devel is many problem compile, need time more test )  works very well....
Many thanks

JanQ

Rudi

unread,
Jun 12, 2015, 3:38:56 AM6/12/15
to openbric...@googlegroups.com
Hi JanQ,

> I tested it, in master; ( devel is many problem compile, need time more test ) works
> very well....

It's a good idea to do a fresh rebuild when switching to devel... But besides that: what
are these problems? I'm asking because - if Tom doesn't object - I tend to merge devel
into master in the very next future...




--

Ruediger "Rudi" Ihle


Thomas Genty

unread,
Jun 12, 2015, 7:01:37 AM6/12/15
to openbric...@googlegroups.com
Le 12/06/2015 09:38, Rudi a écrit :
> Hi JanQ,
Hi JanQ & Rudi,
Sure, no problem for me. Devel branch is ok for me.
Feel free to merge unless we have more explanations about the problems.

Cheers!

Tom

>
>
>
>

JanQ

unread,
Jun 13, 2015, 4:28:19 AM6/13/15
to openbric...@googlegroups.com



I tested next week devel kernel ATI and nvidia, but I find problem kodi compile with HDMI-CEC:

[  2%] [  5%] [  8%] [ 11%] Building CXX object src/libcec/CMakeFiles/cec.dir/LibCEC.cpp.o
Building CXX object src/libcec/CMakeFiles/cec.dir/CECProcessor.cpp.o                                                                 
Building CXX object src/libcec/CMakeFiles/cec.dir/CECClient.cpp.o                                                                    
Building CXX object src/libcec/CMakeFiles/cec.dir/LibCECC.cpp.o                                                                      
CROSS COMPILE Badness: /usr/include in INCLUDEPATH: /usr/include/python3.4
cc1plus: internal compiler error: in add_path, at incpath.c:462
CROSS COMPILE Badness: /usr/include in INCLUDEPATH: /usr/include/python3.4
cc1plus: internal compiler error: in add_path, at incpath.c:462
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
src/libcec/CMakeFiles/cec.dir/build.make:100: recipe for target 'src/libcec/CMakeFiles/cec.dir/LibCEC.cpp.o' failed
make[3]: *** [src/libcec/CMakeFiles/cec.dir/LibCEC.cpp.o] Error 1
make[3]: *** Waiting for unfinished jobs....
CROSS COMPILE Badness: /usr/include in INCLUDEPATH: /usr/include/python3.4
cc1plus: internal compiler error: in add_path, at incpath.c:462
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
CROSS COMPILE Badness: /usr/include in INCLUDEPATH: /usr/include/python3.4
cc1plus: internal compiler error: in add_path, at incpath.c:462
src/libcec/CMakeFiles/cec.dir/build.make:77: recipe for target 'src/libcec/CMakeFiles/cec.dir/CECProcessor.cpp.o' failed
make[3]: *** [src/libcec/CMakeFiles/cec.dir/CECProcessor.cpp.o] Error 1
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
src/libcec/CMakeFiles/cec.dir/build.make:54: recipe for target 'src/libcec/CMakeFiles/cec.dir/CECClient.cpp.o' failed
make[3]: *** [src/libcec/CMakeFiles/cec.dir/CECClient.cpp.o] Error 1
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
src/libcec/CMakeFiles/cec.dir/build.make:123: recipe for target 'src/libcec/CMakeFiles/cec.dir/LibCECC.cpp.o' failed
make[3]: *** [src/libcec/CMakeFiles/cec.dir/LibCECC.cpp.o] Error 1
make[3]: Leaving directory '/WORK/WORK/MMBOX_uus/openbricks__devel_GIT_5__2_06_2015/openbricks-devel_12_06_2015/build/build.i386.eglibc/libcec3-3.0.0+r1855591/.build'
CMakeFiles/Makefile2:227: recipe for target 'src/libcec/CMakeFiles/cec.dir/all' failed
make[2]: *** [src/libcec/CMakeFiles/cec.dir/all] Error 2
make[2]: Leaving directory '/WORK/WORK/MMBOX_uus/openbricks__devel_GIT_5__2_06_2015/openbricks-devel_12_06_2015/build/build.i386.eglibc/libcec3-3.0.0+r1855591/.build'
Makefile:117: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/WORK/WORK/MMBOX_uus/openbricks__devel_GIT_5__2_06_2015/openbricks-devel_12_06_2015/build/build.i386.eglibc/libcec3-3.0.0+r1855591/.build'
Makefile:51: recipe for target 'rootfs' failed
make: *** [rootfs] Error 2


 

JanQ

unread,
Jun 13, 2015, 4:52:22 AM6/13/15
to openbric...@googlegroups.com

kodi error:

CPP     /WORK/WORK/MMBOX_uus/openbricks__devel_GIT_5__2_06_2015/openbricks-devel_12_06_2015/build/build.i386.eglibc/kodi-isengard-15.0-beta2-r658e700/xbmc/windows/GUIWindowLoginScreen.o
Application.cpp: In member function 'virtual bool CApplication::OnSettingUpdate(CSetting*&, const char*, const TiXmlNode*)':
Application.cpp:1469:22: warning: unused variable 'settingId' [-Wunused-variable]
   const std::string &settingId = setting->GetId();
                      ^
CPP     /WORK/WORK/MMBOX_uus/openbricks__devel_GIT_5__2_06_2015/openbricks-devel_12_06_2015/build/build.i386.eglibc/kodi-isengard-15.0-beta2-r658e700/xbmc/windows/GUIWindowScreensaver.o
CPP     /WORK/WORK/MMBOX_uus/openbricks__devel_GIT_5__2_06_2015/openbricks-devel_12_06_2015/build/build.i386.eglibc/kodi-isengard-15.0-beta2-r658e700/xbmc/ApplicationMessenger.o
AR      /WORK/WORK/MMBOX_uus/openbricks__devel_GIT_5__2_06_2015/openbricks-devel_12_06_2015/build/build.i386.eglibc/kodi-isengard-15.0-beta2-r658e700/xbmc/windows/windows.a
CPP     /WORK/WORK/MMBOX_uus/openbricks__devel_GIT_5__2_06_2015/openbricks-devel_12_06_2015/build/build.i386.eglibc/kodi-isengard-15.0-beta2-r658e700/xbmc/ContextMenuManager.o
make[2]: Leaving directory '/WORK/WORK/MMBOX_uus/openbricks__devel_GIT_5__2_06_2015/openbricks-devel_12_06_2015/build/build.i386.eglibc/kodi-isengard-15.0-beta2-r658e700/xbmc/windows'
CPP     /WORK/WORK/MMBOX_uus/openbricks__devel_GIT_5__2_06_2015/openbricks-devel_12_06_2015/build/build.i386.eglibc/kodi-isengard-15.0-beta2-r658e700/xbmc/CompileInfo.o
CPP     /WORK/WORK/MMBOX_uus/openbricks__devel_GIT_5__2_06_2015/openbricks-devel_12_06_2015/build/build.i386.eglibc/kodi-isengard-15.0-beta2-r658e700/xbmc/DynamicDll.o
CPP     /WORK/WORK/MMBOX_uus/openbricks__devel_GIT_5__2_06_2015/openbricks-devel_12_06_2015/build/build.i386.eglibc/kodi-isengard-15.0-beta2-r658e700/xbmc/FileItem.o
make[2]: Entering directory '/WORK/WORK/MMBOX_uus/openbricks__devel_GIT_5__2_06_2015/openbricks-devel_12_06_2015/build/build.i386.eglibc/kodi-isengard-15.0-beta2-r658e700/xbmc/interfaces/legacy'
CPP     /WORK/WORK/MMBOX_uus/openbricks__devel_GIT_5__2_06_2015/openbricks-devel_12_06_2015/build/build.i386.eglibc/kodi-isengard-15.0-beta2-r658e700/xbmc/interfaces/legacy/Addon.o
CPP     /WORK/WORK/MMBOX_uus/openbricks__devel_GIT_5__2_06_2015/openbricks-devel_12_06_2015/build/build.i386.eglibc/kodi-isengard-15.0-beta2-r658e700/xbmc/GUIInfoManager.o
CPP     /WORK/WORK/MMBOX_uus/openbricks__devel_GIT_5__2_06_2015/openbricks-devel_12_06_2015/build/build.i386.eglibc/kodi-isengard-15.0-beta2-r658e700/xbmc/interfaces/legacy/ListItem.o
AR      /WORK/WORK/MMBOX_uus/openbricks__devel_GIT_5__2_06_2015/openbricks-devel_12_06_2015/build/build.i386.eglibc/kodi-isengard-15.0-beta2-r658e700/xbmc/interfaces/legacy/legacy.a
CPP     /WORK/WORK/MMBOX_uus/openbricks__devel_GIT_5__2_06_2015/openbricks-devel_12_06_2015/build/build.i386.eglibc/kodi-isengard-15.0-beta2-r658e700/xbmc/LangInfo.o
LangInfo.cpp:156:20: warning: 'std::string ToSettingTimeFormat(const CDateTime&, bool, bool, bool)' defined but not used [-Wunused-function]
 static std::string ToSettingTimeFormat(const CDateTime& time, bool use24HourClock, bool singleHour, bool meridiem)
                    ^
make[2]: Leaving directory '/WORK/WORK/MMBOX_uus/openbricks__devel_GIT_5__2_06_2015/openbricks-devel_12_06_2015/build/build.i386.eglibc/kodi-isengard-15.0-beta2-r658e700/xbmc/interfaces/legacy'
CPP     /WORK/WORK/MMBOX_uus/openbricks__devel_GIT_5__2_06_2015/openbricks-devel_12_06_2015/build/build.i386.eglibc/kodi-isengard-15.0-beta2-r658e700/xbmc/NfoFile.o
make[2]: Entering directory '/WORK/WORK/MMBOX_uus/openbricks__devel_GIT_5__2_06_2015/openbricks-devel_12_06_2015/build/build.i386.eglibc/kodi-isengard-15.0-beta2-r658e700/xbmc/interfaces/legacy/wsgi'
CPP     /WORK/WORK/MMBOX_uus/openbricks__devel_GIT_5__2_06_2015/openbricks-devel_12_06_2015/build/build.i386.eglibc/kodi-isengard-15.0-beta2-r658e700/xbmc/interfaces/legacy/wsgi/WsgiErrorStream.o
CPP     /WORK/WORK/MMBOX_uus/openbricks__devel_GIT_5__2_06_2015/openbricks-devel_12_06_2015/build/build.i386.eglibc/kodi-isengard-15.0-beta2-r658e700/xbmc/SystemGlobals.o
AR      /WORK/WORK/MMBOX_uus/openbricks__devel_GIT_5__2_06_2015/openbricks-devel_12_06_2015/build/build.i386.eglibc/kodi-isengard-15.0-beta2-r658e700/xbmc/xbmc.a
In file included from /tmp/openbricks/build/build.i386.eglibc/kodi-isengard-15.0-beta2-r658e700/xbmc/network/httprequesthandler/python/HTTPPythonRequest.h:28:0,
                 from WsgiErrorStream.cpp:22:
/tmp/openbricks/build/build.i386.eglibc/kodi-isengard-15.0-beta2-r658e700/xbmc/network/httprequesthandler/IHTTPRequestHandler.h:32:24: fatal error: microhttpd.h: No such file or directory
 #include <microhttpd.h>
                        ^
compilation terminated.
../../../../Makefile.include:93: recipe for target 'WsgiErrorStream.o' failed
make[2]: *** [WsgiErrorStream.o] Error 1
make[2]: Leaving directory '/WORK/WORK/MMBOX_uus/openbricks__devel_GIT_5__2_06_2015/openbricks-devel_12_06_2015/build/build.i386.eglibc/kodi-isengard-15.0-beta2-r658e700/xbmc/interfaces/legacy/wsgi'
Makefile:470: recipe for target 'xbmc/interfaces/legacy/wsgi/legacy-wsgi.a' failed
make[1]: *** [xbmc/interfaces/legacy/wsgi/legacy-wsgi.a] Error 2
make[1]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/WORK/WORK/MMBOX_uus/openbricks__devel_GIT_5__2_06_2015/openbricks-devel_12_06_2015/build/build.i386.eglibc/kodi-isengard-15.0-beta2-r658e700/xbmc'
make[1]: Leaving directory '/WORK/WORK/MMBOX_uus/openbricks__devel_GIT_5__2_06_2015/openbricks-devel_12_06_2015/build/build.i386.eglibc/kodi-isengard-15.0-beta2-r658e700'

Makefile:51: recipe for target 'rootfs' failed
make: *** [rootfs] Error 2

Gentoo openbricks-devel_12_06_2015 # 



 
 

toml...@gmail.com

unread,
Jun 13, 2015, 8:17:51 AM6/13/15
to openbric...@googlegroups.com
Le 13/06/2015 10:52, JanQ a écrit :
>
Hello,
Ok, let me try a build from scratch to see if I can reproduce it

Cheers !
> --
> You received this message because you are subscribed to the Google
> Groups "OpenBricks Development List" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to openbricks-dev...@googlegroups.com
> <mailto:openbricks-dev...@googlegroups.com>.
> For more options, visit https://groups.google.com/d/optout.


--
www.geexbox.org
mailto:toml...@openbricks.org

Rudi

unread,
Jun 13, 2015, 8:46:26 AM6/13/15
to openbric...@googlegroups.com
Hi,

>> Building CXX object src/libcec/CMakeFiles/cec.dir/LibCECC.cpp.o
>> CROSS COMPILE Badness: /usr/include in INCLUDEPATH:
>> /usr/include/python3.4
>> cc1plus: internal compiler error: in add_path, at incpath.c:462
>> CROSS COMPILE Badness: /usr/include in INCLUDEPATH:
>> /usr/include/python3.4


Hmm, there seems to be python dev files (version 3.4) installed on the
host which get picked up by cmake. I guess this won't happen in our
installations because we simply don't have these files. As a temporary
workaround you can add:

-DSKIP_PYTHON_WRAPPER=1

to the cmake command in packages/libs/libcec3/build. We don't really
need the python stuff at the moment...


>> fatal error: microhttpd.h: No such file or directory
>> #include <microhttpd.h>

This is not clear to me. The header should be installed by the package
libmicrohttpd, which is enabled via the CONFIG_OPT_kodi_webserver.

Maybe running "./scripts/installdev libmicrohttpd" manually will help.
But the question is why this happend...



--

Ruediger "Rudi" Ihle


toml...@gmail.com

unread,
Jun 14, 2015, 2:34:59 AM6/14/15
to openbric...@googlegroups.com
Just to confirm : no problem with a build from scratch
Maybe the problem with microhttpd.c comes with the fact that the
defconfig file was not loaded.
Can you re-test doing first :
./scripts/loadcfg geexbox-kodi-i386-generic
make

Tom

--
www.geexbox.org
mailto:toml...@openbricks.org

Rudi

unread,
Jun 15, 2015, 2:51:28 PM6/15/15
to openbric...@googlegroups.com
Hi Tom,

>> if Tom doesn't object - I tend to merge devel
>> into master in the very next future...
> Sure, no problem for me. Devel branch is ok for me.
> Feel free to merge unless we have more explanations about the problems.

Just did so. Master is now on par with devel. Let's see what happens...


--

Ruediger "Rudi" Ihle


toml...@gmail.com

unread,
Jun 16, 2015, 1:16:04 AM6/16/15
to openbric...@googlegroups.com
Great !
but, we just forget to adapt buildbot for that :/

Rudi

unread,
Jun 16, 2015, 1:49:08 AM6/16/15
to openbric...@googlegroups.com
Good morning,


> but, we just forget to adapt buildbot for that :/

Is that the reason why we have these empty directories for all platforms
other than CubieBoard? I didn't know that buildbot is affected <arrggh>.

--

Ruediger "Rudi" Ihle


Thomas Genty

unread,
Jun 16, 2015, 1:59:03 AM6/16/15
to openbric...@googlegroups.com
Le 16/06/2015 07:49, Rudi a écrit :
> Good morning,
>
>
>> but, we just forget to adapt buildbot for that :/
>
> Is that the reason why we have these empty directories for all platforms
> other than CubieBoard? I didn't know that buildbot is affected <arrggh>.
>
yes, because of the symlink
I have adapted buildbot for that and push commits from devel to master
Next round should start quickly
Hope it's fixed.
I will have a look to fix that inside master branch of openbricks

Cheers !
Reply all
Reply to author
Forward
0 new messages