aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-extended/rrdtool
AgeCommit message (Collapse)Author
2017-06-19rrdtool: allow configuration to disable nlsRandy MacLeod
When building rrdtool for a 'tiny' distro, that does not have native language support (NLS) in glibc, configure fails with the error: autoreconf: failed to run autopoint: No such file or directory Autopoint is part of gettext but without NLS support we populate the sysroot with gettext-minimal-native rather then the full set of gettext executables. This version does not install autopoint, nor should it. Tell autoreconf to skip the check for the autopoint script regardless of NLS support and use the USE_NLS varible to conditionally enable NLS support. Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-06-05Revert "rrdtool: add gettext-native dependency"Martin Jansa
This reverts commit e1b1f8cf320004e3b917ae78e26271352f468051.
2017-06-05rrdtool: add gettext-native dependencyRandy MacLeod
Add gettext-native dependency to use autopoint. When building rrdtool for a 'tiny' distro, ie one that does not have internationalization support in glibc, configure fails with the error: autoreconf: failed to run autopoint: No such file or directory autopoint is part of gettext so add that native dependency. This must happen transitively for builds using a regular configuration of glibc. Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-03-07Make use of the new bb.utils.filter() functionPeter Kjellerstedt
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-12-13rrdtool: split out rrdcached into a package of its ownFrank Meerkoetter
rrdcached is a caching daemon for rrdtool. It's typically used in large installations. Small embedded systems might not use it at all. Splitting it out allows a systems builder to remove a daemon process running as root. Signed-off-by: Frank Meerkoetter <frank@meerkoetter.org> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-09-11rrdtool: 1.5.4 -> 1.6.0Wang Xin
Upgrade rrdtool from 1.5.4 to 1.6.0. Signed-off-by: Wang Xin <wangxin2015.fnst@cn.fujitsu.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-06-08Remove unnecessary exports of HOST_SYS and BUILD_SYS in python-based recipesAlexander Kanavin
They are no longer required to build python software. Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-05-19rrdtool: only unset PERLHOSTLIB in do_configureRobert Yang
The do_compile requires it, otherwise it can't find the native module correctly when perl-native is mirrored from another build. Fixed: | Compilation failed in require. | BEGIN failed--compilation aborted. | Can't locate loadable object for module File::Glob in @INC Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-05-06rrdtool: fix do_configure failure on some hostsQi.Chen@windriver.com
On some hosts, when building rrdtool, we would meet do_configure error like below. | *** Module name IN: /usr/lib64/perl/5.22.0/POSIX.pm | *** p1: /usr/lib64/ p3: perl/5.22.0/ p5: POSIX.pm | *** Module name OUT: /path/to/builddir/tmp/sysroots/x86_64-linux/usr/lib/perl-native/perl/5.22.1/POSIX.pm | POSIX object version 1.53_01 does not match $POSIX::VERSION 1.53 at /usr/lib64/perl/5.22.0/XSLoader.pm line 108. Set PERLHOSTLIB to "" to fix the above error. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-12-18rrdtool: install python site packages into libdirQi.Chen@windriver.com
Fix the do_configure function to suite the latest version to install python libraries into ${libdir}. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-11-02rrdtool: fix compile errorJens Rehsack
Since cpan.bbclass has evolved, the old wrapper simulation needs some adoption. Use as much as possible from cpan.bbclass instead of copying code from there. Signed-off-by: Jens Rehsack <sno@netbsd.org> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-10-26rrdtool: adding the capability of native-builds to get rrdtool-oo in ↵Jens Rehsack
meta-cpan running An additional layer for Perl modules from cpan (https://github.com/rehsack/meta-cpan) provides additional modules for dealing with rrd files: RRDTool::OO from Michael Schili. This extension requires an executable version of rrdtool. Signed-off-by: Jens Rehsack <sno@netbsd.org> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-10-23rrdtool: fix multilib problemQi.Chen@windriver.com
When building rrdtool with multilib enabled, we would meet the following error. ERROR: QA Issue: rrdtool: Files/directories were installed but not shipped in any package: /usr/lib /usr/lib/python2.7 /usr/lib/python2.7/site-packages /usr/lib/python2.7/site-packages/rrdtool.so .... Fix this problem by using nonarch_libdir instead of libdir. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-10-23rrdtool: add systemd support and fix QA issueQi.Chen@windriver.com
When building rrdtool in a building directory where systemd is configured to be the init system, we would meet the following error. ERROR: QA Issue: rrdtool: Files/directories were installed but not shipped in any package: /lib /lib/systemd /lib/systemd/system /lib/systemd/system/rrdcached.socket /lib/systemd/system/rrdcached.service Fix this problem by adding systemd support to the rrdtool recipe. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-10-23rrdtool: fix file locationsQi.Chen@windriver.com
When we build rrdtool, we would meet the following QA issue. QA Issue: /usr/share/rrdtool/examples/stripes.py_rrdtool-perl contained in package rrdtool-perl requires /usr/bin/python, but no providers found in its RDEPENDS [file-rdeps] The problem is that /usr/share/rrdtool/examples not only contain perl examples, but also contains python examples. Besides, ${datadir}/examples don't exist, fix it to be ${datadir}/rrdtool/examples. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-10-23rrdtool: fix useless-rpath QA issueQi.Chen@windriver.com
When building rrdtool, we would meet the following error. ERROR: QA Issue: rrdtool-python: work/core2-64-poky-linux/rrdtool /1.5.4-r0/packages-split/rrdtool-python/usr/lib/python2.7/site-packages /rrdtool.so contains probably-redundant RPATH /usr/lib [useless-rpaths] Fix this issue by removing 'LD_RUN_PATH=$(libdir)' when compiling rrdtool.so. As we use '--disable-rpath' in EXTRA_OECONF, we don't need to the to remove '--rpath=$(libdir)' in Makefile.am. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-08-31rrdtool: 1.4.8->1.5.4leimaohui
-deleted the patched that have been merged to 1.5.4 Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-11-24rrdtool: add missing dependency on groff-nativeJackie Huang
rrdtool needs groff-native to format the documentation. Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-11-24rrdtool: inherit cpan-base to help build perl modulesJackie Huang
It's incorrect to use -I for nativeperl to specify @INC/#include directory to target build perl, which cause error like: | temp/do_configure/run.do_configure.20749: line 112: 20256 Illegal instruction (core dumped) | perl -I/path/to/tmp/sysroots/intel-haswell-64/usr/lib64/perl/$perl_version Makefile.PL Inherit cpan-base and set related env vars to fix this and avoid using sed to hack Makefile when build perl modules. Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-09-26rrdtool: use rrdtool rather than PNRobert Yang
The "${datadir}/${PN}" will be changed to "${datadir}/lib32-rrdtool" when multilib which isn't what need, use rrdtool to fix the problem. Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
2014-08-11rrdtool: update to 1.4.8Peter Bigot
* Upstream now uses git, so retrieve releases from the reference repository. * The previous patch to remove tcl support does not apply cleanly to this release. Eliminate it and disable tcl via configure instead. * Backport a patch to remove a never-shoulda-been-there file that was installed but not packaged. Signed-off-by: Peter A. Bigot <pab@pabigot.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-05-15rrdtool: fix S!=B failureKoen Kooi
Signed-off-by: Koen Kooi <koen.kooi@linaro.org> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-05-03rrdtool: enable perl and python bindingsChong.Lu@windriver.com
1. default enable perl and python bindings 2. rrdtool uses perl.real, perl.real doesn't know where the PERL5LIB should be when prebuilts are used. Use the wrapper perl instead, perl sets PERL5LIB and invokes perl.real 3. While using dash as /bin/sh, subsequent commands in functions will not use the environment variables passed to the function call line unless explicitly run "export ENV_VAR". 4. delete unrecognized options: "--enable-local-libpng" and "--enable-local-zlib" Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-02-23recipes: convert remaining SUMMARY/DESCRIPTION cosmetic issuesMatthieu CRAPET
Changes: - rename SUMMARY with length > 80 to DESCRIPTION - rename DESCRIPTION with length < 80 to (non present tag) SUMMARY - drop final point character at the end of SUMMARY string - remove trailing whitespace of SUMMARY line Note: don't bump PR Signed-off-by: Matthieu Crapet <Matthieu.Crapet@ingenico.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-07-30rrdtool: add PACKAGECONFIG for dbiMartin Jansa
* dbi was autodetected from sysroot causing undeterministic builds and failures in lmsensors builds: ld: warning: libdbi.so.1, needed by sysroots/qemux86/usr/lib/librrd.so, not found (try using -rpath or -rpath-link) sysroots/qemux86/usr/lib/librrd.so: undefined reference to `dbi_result_get_string_idx' Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-04-15recipes: Unify indentationMartin Jansa
* This change is only aesthetic (unlike indentation in Python tasks). * Some recipes were using tabs. * Some were using 8 spaces. * Some were using mix or different number of spaces. * Make them consistently use 4 spaces everywhere. * Yocto styleguide advises to use tabs (but the only reason to keep tabs is the need to update a lot of recipes). Lately this advice was also merged into the styleguide on the OE wiki. * Using 4 spaces in both types of tasks is better because it's less error prone when someone is not sure if e.g. do_generate_toolchain_file() is Python or shell task and also allows to highlight every tab used in .bb, .inc, .bbappend, .bbclass as potentially bad (shouldn't be used for indenting of multiline variable assignments and cannot be used for Python tasks). * Don't indent closing quote on multiline variables we're quite inconsistent wheater it's first character on line under opening quote or under first non-whitespace character in previous line. Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Acked-by: Koen Kooi <koen@dominion.thruhere.net>
2012-11-29rrdtool: Remove hard-coded include in configure.acMarc Ferland
Got an error building rrdtool because of hard-coded paths in the configure.ac file. The extact error message was: ERROR: This autoconf log indicates errors, it looked at host include and/or library paths while determining system capabilities. Rerun configure task after fixing this. The path was '/home/marc/yoctomaster/build/crownbay/tmp/work/core2-poky-linux/rrdtool-1.4.7-r2/rrdtool-1.4.7' Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-10-17rrdtool: add pango to DEPENDSPaul Eggleton
The configure script fails without pangocairo which is provided by pango. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2012-05-14rrdtool: add 1.4.7Koen Kooi
All binding are disabled since they are not safe for cross-compilation. Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>