[oe-commits] org.oe.dev oprofile: Bump cvs date and update .bb accordingly, add patch to remove bashism, upgrade 0.9.1 -> 0.9.2
rpurdie commit
openembedded-commits at lists.openembedded.org
Mon Oct 16 23:26:43 UTC 2006
oprofile: Bump cvs date and update .bb accordingly, add patch to remove bashism, upgrade 0.9.1 -> 0.9.2
Author: rpurdie at openembedded.org
Branch: org.openembedded.dev
Revision: f7b815895e7cbf15e649e870c573d7cb5751f451
ViewMTN: http://monotone.openembedded.org/revision.psp?id=f7b815895e7cbf15e649e870c573d7cb5751f451
Files:
1
packages/oprofile/oprofile_0.9.1.bb
packages/oprofile/oprofile/opcontrol_bashisms.patch
packages/oprofile/oprofile_0.9.2.bb
conf/distro/include/sane-srcdates.inc
packages/oprofile/oprofile_cvs.bb
Diffs:
#
# mt diff -r427a1ebdbfe06dd2f57d86aac4500ea9a4269b11 -rf7b815895e7cbf15e649e870c573d7cb5751f451
#
#
#
# delete "packages/oprofile/oprofile_0.9.1.bb"
#
# add_file "packages/oprofile/oprofile/opcontrol_bashisms.patch"
# content [36bab78d1ac98f4876b845a640fbf01f1d0388c3]
#
# add_file "packages/oprofile/oprofile_0.9.2.bb"
# content [de44d812de2881d92a4c141a36a40101f578c75b]
#
# patch "conf/distro/include/sane-srcdates.inc"
# from [df85fc8c58b34e060b5cd7fb5282c6a7c5151318]
# to [c245fbd6a90f150ac2102735fe709632ea034fda]
#
# patch "packages/oprofile/oprofile_cvs.bb"
# from [4f1440fb598cab4d63edafc488451fddd6c064c3]
# to [e1e2c8e310c52cdb0da917f1a463dcfb90ed1be9]
#
============================================================
--- packages/oprofile/oprofile/opcontrol_bashisms.patch 36bab78d1ac98f4876b845a640fbf01f1d0388c3
+++ packages/oprofile/oprofile/opcontrol_bashisms.patch 36bab78d1ac98f4876b845a640fbf01f1d0388c3
@@ -0,0 +1,16 @@
+ utils/opcontrol | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+Index: oprofile-0.9.2/utils/opcontrol
+===================================================================
+--- oprofile-0.9.2.orig/utils/opcontrol 2006-03-29 22:54:07.000000000 +0100
++++ oprofile-0.9.2/utils/opcontrol 2006-10-12 11:14:39.000000000 +0100
+@@ -485,7 +485,7 @@ validate_separate_args()
+ SEPARATE_KERNEL=0
+ SEPARATE_THREAD=0
+ SEPARATE_CPU=0
+- while (($i < $#)); do
++ while [ "$i" -lt "$#" ]; do
+ shift
+ case "$1" in
+ lib|library)
============================================================
--- packages/oprofile/oprofile_0.9.2.bb de44d812de2881d92a4c141a36a40101f578c75b
+++ packages/oprofile/oprofile_0.9.2.bb de44d812de2881d92a4c141a36a40101f578c75b
@@ -0,0 +1,39 @@
+SECTION = "devel"
+DESCRIPTION = "OProfile is a system-wide profiler for Linux systems, capable \
+of profiling all running code at low overhead."
+LICENSE = "GPL"
+DEPENDS = "popt binutils"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/oprofile/oprofile-${PV}.tar.gz \
+ file://no_arm_mapping_syms.patch;patch=1 \
+ file://opcontrol_bashisms.patch;patch=1 \
+ file://acinclude.m4"
+S = "${WORKDIR}/oprofile-${PV}"
+
+inherit autotools
+
+# NOTE: this disables the build of the kernel modules.
+# Should add the oprofile kernel modules, for those with 2.4
+# kernels, as a seperate .oe file.
+EXTRA_OECONF = "--with-kernel-support \
+ --without-x"
+
+do_configure () {
+ cp ${WORKDIR}/acinclude.m4 ${S}/
+ autotools_do_configure
+}
+# Available config options
+# --enable-abi enable abi portability code (default is disabled)
+# --enable-pch enable precompiled header (default is disabled)
+# --enable-gcov enable option for gcov coverage testing (default is disabled)
+# --disable-werror disable -Werror flag (default is enabled for non-release)
+# --disable-optimization disable optimization flags (default is enabled)
+# --with-kernel-support Use 2.6 kernel (no kernel source tree required)
+# --with-linux=dir Path to Linux source tree
+# --with-module-dir=dir Path to module installation directory
+# --with-extra-includes=DIR add extra include paths
+# --with-extra-libs=DIR add extra library paths
+# --with-x use the X Window System
+# --with-qt-dir where the root of Qt is installed
+# --with-qt-includes where the Qt includes are.
+# --with-qt-libraries where the Qt library is installed.
============================================================
--- conf/distro/include/sane-srcdates.inc df85fc8c58b34e060b5cd7fb5282c6a7c5151318
+++ conf/distro/include/sane-srcdates.inc c245fbd6a90f150ac2102735fe709632ea034fda
@@ -68,7 +68,7 @@ SRCDATE_opencvs ?= "20060814"
SRCDATE_mystun-server ?= "20060814"
SRCDATE_olsrd ?= "20060814"
SRCDATE_opencvs ?= "20060814"
-SRCDATE_oprofile ?= "20060214"
+SRCDATE_oprofile ?= "20061011"
SRCDATE_portaudio ?= "20060814"
SRCDATE_putty ?= "20060814"
SRCDATE_python-cairo ?= "20060814"
============================================================
--- packages/oprofile/oprofile_cvs.bb 4f1440fb598cab4d63edafc488451fddd6c064c3
+++ packages/oprofile/oprofile_cvs.bb e1e2c8e310c52cdb0da917f1a463dcfb90ed1be9
@@ -1,12 +1,16 @@
-PV = "0.9.1+cvs${SRCDATE}"
+PV = "0.9.2+cvs${SRCDATE}"
+PR = "r1"
SECTION = "devel"
DESCRIPTION = "OProfile is a system-wide profiler for Linux systems, capable \
of profiling all running code at low overhead."
LICENSE = "GPL"
DEPENDS = "popt binutils"
-SRC_URI = "cvs://anonymous@cvs.sourceforge.net/cvsroot/oprofile;module=oprofile \
+DEFAULT_PREFERENCE = "-1"
+
+SRC_URI = "cvs://anonymous@oprofile.cvs.sourceforge.net/cvsroot/oprofile;module=oprofile \
file://no_arm_mapping_syms.patch;patch=1 \
+ file://opcontrol_bashisms.patch;patch=1 \
file://acinclude.m4"
S = "${WORKDIR}/oprofile"
More information about the Openembedded-commits
mailing list