summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-extended/rrdtool
diff options
context:
space:
mode:
authorleimaohui <leimaohui@cn.fujitsu.com>2015-08-19 16:26:00 +0800
committerMartin Jansa <Martin.Jansa@gmail.com>2015-08-31 19:51:34 +0200
commit1f2274bcebcbfc5ce3c49cbe5bbfbd8b4674ea95 (patch)
tree922265f1d93263ca55bf8ab996c3ad059882dfbf /meta-oe/recipes-extended/rrdtool
parent937d0699f77a83bb4e98ea5b3dde3c27e43ac060 (diff)
downloadmeta-openembedded-1f2274bcebcbfc5ce3c49cbe5bbfbd8b4674ea95.tar.gz
rrdtool: 1.4.8->1.5.4
-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>
Diffstat (limited to 'meta-oe/recipes-extended/rrdtool')
-rw-r--r--meta-oe/recipes-extended/rrdtool/rrdtool/0001-removing-testing-leftovers.patch39
-rw-r--r--meta-oe/recipes-extended/rrdtool/rrdtool/remove_hardcoded_xml_include.patch11
-rw-r--r--meta-oe/recipes-extended/rrdtool/rrdtool_1.5.4.bb (renamed from meta-oe/recipes-extended/rrdtool/rrdtool_1.4.8.bb)84
3 files changed, 41 insertions, 93 deletions
diff --git a/meta-oe/recipes-extended/rrdtool/rrdtool/0001-removing-testing-leftovers.patch b/meta-oe/recipes-extended/rrdtool/rrdtool/0001-removing-testing-leftovers.patch
deleted file mode 100644
index cf5d7752e..000000000
--- a/meta-oe/recipes-extended/rrdtool/rrdtool/0001-removing-testing-leftovers.patch
+++ /dev/null
@@ -1,39 +0,0 @@
1From c581b02d074f5a109074bc190f373f5ba4320468 Mon Sep 17 00:00:00 2001
2From: Tobias Oetiker <tobi@oetiker.ch>
3Date: Thu, 3 Oct 2013 15:51:00 +0200
4Subject: [PATCH] removing testing leftovers
5
6Upstream-Status: Backport
7
8Signed-off-by: Peter A. Bigot <pab@pabigot.com>
9
10---
11 bindings/perl-piped/leaktest.pl | 16 ----------------
12 1 file changed, 16 deletions(-)
13 delete mode 100644 bindings/perl-piped/leaktest.pl
14
15diff --git a/bindings/perl-piped/leaktest.pl b/bindings/perl-piped/leaktest.pl
16deleted file mode 100644
17index cebf1c7..0000000
18--- a/bindings/perl-piped/leaktest.pl
19+++ /dev/null
20@@ -1,16 +0,0 @@
21-#!/bin/perl -w
22-$ENV{PATH}="/usr/ucb";
23-use strict;
24-use RRDp;
25-my $rrdfile='/tmp/test.rrd';
26-RRDp::start '/home/oetiker/data/projects/AABN-rrdtool/src/rrdtool';
27-print grep /rrdtool/,`ps au`;
28-print grep /rrdtool/,`ps au`;
29-my $i=0;
30-while ($i<1000) {
31- RRDp::cmd 'info /tmp/test.rrd';
32- $_ = RRDp::read;
33- $i++;
34-}
35-$_ = RRDp::end;
36-print grep /rrdtool/,`ps au`;
37--
381.8.5.5
39
diff --git a/meta-oe/recipes-extended/rrdtool/rrdtool/remove_hardcoded_xml_include.patch b/meta-oe/recipes-extended/rrdtool/rrdtool/remove_hardcoded_xml_include.patch
deleted file mode 100644
index 321a842b6..000000000
--- a/meta-oe/recipes-extended/rrdtool/rrdtool/remove_hardcoded_xml_include.patch
+++ /dev/null
@@ -1,11 +0,0 @@
1--- a/configure.ac 2012-11-06 11:20:54.099021892 -0500
2+++ b/configure.ac~ 2012-11-06 11:19:57.255023857 -0500
3@@ -548,7 +548,7 @@
4
5 fi
6 EX_CHECK_ALL(glib-2.0, glib_check_version, glib.h, glib-2.0, 2.28.7, ftp://ftp.gtk.org/pub/glib/2.28/, "")
7-EX_CHECK_ALL(xml2, xmlParseFile, libxml/parser.h, libxml-2.0, 2.7.8, http://xmlsoft.org/downloads.html, /usr/include/libxml2)
8+EX_CHECK_ALL(xml2, xmlParseFile, libxml/parser.h, libxml-2.0, 2.7.8, http://xmlsoft.org/downloads.html, "")
9
10 if test "$EX_CHECK_ALL_ERR" = "YES"; then
11 AC_MSG_ERROR([Please fix the library issues listed above and try again.])
diff --git a/meta-oe/recipes-extended/rrdtool/rrdtool_1.4.8.bb b/meta-oe/recipes-extended/rrdtool/rrdtool_1.5.4.bb
index 6bc5e9863..91a30cf3d 100644
--- a/meta-oe/recipes-extended/rrdtool/rrdtool_1.4.8.bb
+++ b/meta-oe/recipes-extended/rrdtool/rrdtool_1.5.4.bb
@@ -2,17 +2,15 @@ SUMMARY = "High performance data logging and graphing system for time series dat
2HOMEPAGE = "http://oss.oetiker.ch/rrdtool/" 2HOMEPAGE = "http://oss.oetiker.ch/rrdtool/"
3 3
4LICENSE = "GPLv2" 4LICENSE = "GPLv2"
5LIC_FILES_CHKSUM = "file://COPYING;md5=44fee82a1d2ed0676cf35478283e0aa0" 5LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=3349111ed0533471494beec99715bc9d"
6 6
7DEPENDS = "libpng zlib cairo pango glib-2.0 libxml2 groff-native" 7DEPENDS = "libpng zlib cairo pango glib-2.0 libxml2 groff-native"
8 8
9SRCREV = "1850e00a17e25e93c39e608f4e2da50f29c5c712" 9SRCREV = "04f70058cc894c0a3ee5d555ea1bb5a8d4bb8a0e"
10PV = "1.4.8" 10PV = "1.5.4"
11 11
12SRC_URI = "\ 12SRC_URI = "\
13 git://github.com/oetiker/rrdtool-1.x.git;branch=1.4 \ 13 git://github.com/oetiker/rrdtool-1.x.git;branch=1.5 \
14 file://remove_hardcoded_xml_include.patch \
15 file://0001-removing-testing-leftovers.patch \
16" 14"
17 15
18S = "${WORKDIR}/git" 16S = "${WORKDIR}/git"
@@ -63,43 +61,43 @@ export PERL_LIB = "${STAGING_LIBDIR}${PERL_OWN_DIR}/perl/${@get_perl_version(d)}
63export PERL_ARCHLIB = "${STAGING_LIBDIR}${PERL_OWN_DIR}/perl/${@get_perl_version(d)}" 61export PERL_ARCHLIB = "${STAGING_LIBDIR}${PERL_OWN_DIR}/perl/${@get_perl_version(d)}"
64 62
65do_configure() { 63do_configure() {
66 #fix the pkglib problem with newer automake 64 #fix the pkglib problem with newer automake
67 #perl 65 #perl
68 sed -i -e "s|-Wl,--rpath -Wl,\$rp||g" \ 66 sed -i -e "s|-Wl,--rpath -Wl,\$rp||g" \
69 ${S}/bindings/perl-shared/Makefile.PL 67 ${S}/bindings/perl-shared/Makefile.PL
70 68
71 #python 69 #python
72 sed -i -e '/PYTHON_INCLUDES="-I${/c \ 70 sed -i -e '/PYTHON_INCLUDES="-I${/c \
73 PYTHON_INCLUDES="-I=/usr/include/python${PYTHON_BASEVERSION}"' \ 71 PYTHON_INCLUDES="-I=/usr/include/python${PYTHON_BASEVERSION}"' \
74 ${S}/m4/acinclude.m4 72 ${S}/m4/acinclude.m4
75 #remove the hardcoded $(libdir) rpath 73 #remove the hardcoded $(libdir) rpath
76 sed -i -e 's|--rpath=$(libdir)||g' ${S}/bindings/Makefile.am 74 sed -i -e 's|--rpath=$(libdir)||g' ${S}/bindings/Makefile.am
77 75
78 autotools_do_configure 76 autotools_do_configure
79 77
80 #modify python sitepkg 78 #modify python sitepkg
81 #remove the dependency of perl-shared:Makefile 79 #remove the dependency of perl-shared:Makefile
82 #or perl-shared/Makefile will be regenerated 80 #or perl-shared/Makefile will be regenerated
83 #if any code touch bindings/Makefile after below perl bindings code 81 #if any code touch bindings/Makefile after below perl bindings code
84 sed -i -e "s:\$(PYTHON) setup.py install:\$(PYTHON) setup.py install \ 82 sed -i -e "s:\$(PYTHON) setup.py install:\$(PYTHON) setup.py install \
85 --install-lib=${D}${PYTHON_SITEPACKAGES_DIR}:" \ 83 --install-lib=${D}${PYTHON_SITEPACKAGES_DIR}:" \
86 -e "s:perl-shared/Makefile.PL Makefile:perl-shared/Makefile.PL:" \ 84 -e "s:perl-shared/Makefile.PL Makefile:perl-shared/Makefile.PL:" \
87 ${B}/bindings/Makefile 85 ${B}/bindings/Makefile
88 86
89 #redo the perl bindings 87 #redo the perl bindings
90 ( 88 (
91 cd ${S}/bindings/perl-shared; 89 cd ${S}/bindings/perl-shared;
92 perl Makefile.PL INSTALLDIRS="vendor" INSTALLPRIVLIB="abc"; 90 perl Makefile.PL INSTALLDIRS="vendor" INSTALLPRIVLIB="abc";
93 91
94 cd ../../bindings/perl-piped; 92 cd ../../bindings/perl-piped;
95 perl Makefile.PL INSTALLDIRS="vendor"; 93 perl Makefile.PL INSTALLDIRS="vendor";
96 ) 94 )
97 95
98 #change the interpreter in file 96 #change the interpreter in file
99 sed -i -e "s|^PERL = ${STAGING_BINDIR_NATIVE}/.*|PERL = /usr/bin/perl|g" \ 97 sed -i -e "s|^PERL = ${STAGING_BINDIR_NATIVE}/.*|PERL = /usr/bin/perl|g" \
100 ${B}/examples/Makefile 98 ${B}/examples/Makefile
101 sed -i -e "s|${STAGING_BINDIR_NATIVE}/perl-native/perl|/usr/bin/perl|g" \ 99 sed -i -e "s|${STAGING_BINDIR_NATIVE}/perl-native/perl|/usr/bin/perl|g" \
102 ${B}/examples/*.pl 100 ${B}/examples/*.pl
103} 101}
104 102
105PACKAGES =+ "${PN}-perl ${PN}-python" 103PACKAGES =+ "${PN}-perl ${PN}-python"