commit CodeAnalyst for openSUSE:Factory

2013-04-23 Thread h_root
Hello community,

here is the log from the commit of package CodeAnalyst for openSUSE:Factory 
checked in at 2013-04-23 17:17:54

Comparing /work/SRC/openSUSE:Factory/CodeAnalyst (Old)
 and  /work/SRC/openSUSE:Factory/.CodeAnalyst.new (New)


Package is CodeAnalyst, Maintainer is to...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/CodeAnalyst/CodeAnalyst.changes  2012-12-14 
06:36:24.0 +0100
+++ /work/SRC/openSUSE:Factory/.CodeAnalyst.new/CodeAnalyst.changes 
2013-04-23 17:17:56.0 +0200
@@ -1,0 +2,7 @@
+Mon Apr 22 22:45:30 UTC 2013 - dims...@opensuse.org
+
+- Add CodeAnalyst-no-cflag-mangling.patch: do not mangle CFLAGS:
+  %optflags contains -grecordcc-flags so we can not blindly sed
+  -g away.
+
+---

New:

  CodeAnalyst-no-cflag-mangling.patch



Other differences:
--
++ CodeAnalyst.spec ++
--- /var/tmp/diff_new_pack.1E6GeJ/_old  2013-04-23 17:18:05.0 +0200
+++ /var/tmp/diff_new_pack.1E6GeJ/_new  2013-04-23 17:18:05.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package CodeAnalyst
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -38,6 +38,8 @@
 # PATCH-FIX-UPSTREAM CodeAnalyst-gcc47.patch dims...@opensuse.org -- Fix build 
with gcc 4.7
 Patch6: CodeAnalyst-gcc47.patch
 Patch7: ca-fix-bfd-include.patch
+# PATCH-FIX-UPSTREAM CodeAnalyst-no-cflag-mangling.patch dims...@opensuse.org 
-- Do not mangle with cflags, it fails on -grecordcc-flags, as it strips -g
+Patch8: CodeAnalyst-no-cflag-mangling.patch
 Requires:   binutils
 Requires:   oprofile = 0.9.4
 PreReq: pwdutils
@@ -75,6 +77,7 @@
 %patch5 -p1
 %patch6 -p1
 %patch7 -p1
+%patch8 -p1
 
 %build
 ./autogen.sh

++ CodeAnalyst-no-cflag-mangling.patch ++
Index: CodeAnalyst-2_12_3_0126-Public/configure.in
===
--- CodeAnalyst-2_12_3_0126-Public.orig/configure.in
+++ CodeAnalyst-2_12_3_0126-Public/configure.in
@@ -299,11 +299,6 @@ if test $enable_optimization = no; t
CXXFLAGS=`echo $CXXFLAGS | sed 's/-O2//g'`
 fi
 
-if test x$debug = xfalse; then
-   CFLAGS=`echo $CFLAGS | sed 's/-g//g'`
-   CXXFLAGS=`echo $CXXFLAGS | sed 's/-g//g'`
-fi
-
 #Set 64-bit flags, if necessary
 case $host_cpu in
  x86_64)
Index: CodeAnalyst-2_12_3_0126-Public/src/ca_agent/configure.ac
===
--- CodeAnalyst-2_12_3_0126-Public.orig/src/ca_agent/configure.ac
+++ CodeAnalyst-2_12_3_0126-Public/src/ca_agent/configure.ac
@@ -182,11 +182,6 @@ if test $enable_optimization = no; t
CXXFLAGS=`echo $CXXFLAGS | sed 's/-O2//g'`
 fi
 
-if test x$debug = xfalse; then
-   CFLAGS=`echo $CFLAGS | sed 's/-g//g'`
-   CXXFLAGS=`echo $CXXFLAGS | sed 's/-g//g'`
-fi
-
 #Set 64-bit flags, if necessary
 case $host_cpu in
x86_64)
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit CodeAnalyst for openSUSE:Factory

2012-12-13 Thread h_root
Hello community,

here is the log from the commit of package CodeAnalyst for openSUSE:Factory 
checked in at 2012-12-14 06:36:22

Comparing /work/SRC/openSUSE:Factory/CodeAnalyst (Old)
 and  /work/SRC/openSUSE:Factory/.CodeAnalyst.new (New)


Package is CodeAnalyst, Maintainer is to...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/CodeAnalyst/CodeAnalyst.changes  2012-10-07 
08:20:38.0 +0200
+++ /work/SRC/openSUSE:Factory/.CodeAnalyst.new/CodeAnalyst.changes 
2012-12-14 06:36:24.0 +0100
@@ -1,0 +2,8 @@
+Wed Dec 12 00:10:08 UTC 2012 - to...@suse.com
+
+- Fix build errors (config.h required before bfd.h) bnc#793541
+- Add support for oprofile 0.9.8 and make it easier for later versions
+  (compile tested only)
+- Set __DATE__/__TIME__ to last changes modification.
+
+---

Old:

  ca-support-oprofile-0.9.7.patch

New:

  ca-fix-bfd-include.patch
  ca-support-newer-oprofile.patch



Other differences:
--
++ CodeAnalyst.spec ++
--- /var/tmp/diff_new_pack.vJR0Eg/_old  2012-12-14 06:36:27.0 +0100
+++ /var/tmp/diff_new_pack.vJR0Eg/_new  2012-12-14 06:36:27.0 +0100
@@ -34,9 +34,10 @@
 # Fix basename issue when building
 Patch3: ca-fix-oprofile-ibs-check.patch
 Patch4: gcc46.patch
-Patch5: ca-support-oprofile-0.9.7.patch
+Patch5: ca-support-newer-oprofile.patch
 # PATCH-FIX-UPSTREAM CodeAnalyst-gcc47.patch dims...@opensuse.org -- Fix build 
with gcc 4.7
 Patch6: CodeAnalyst-gcc47.patch
+Patch7: ca-fix-bfd-include.patch
 Requires:   binutils
 Requires:   oprofile = 0.9.4
 PreReq: pwdutils
@@ -71,8 +72,9 @@
 %patch0 -b .ca-use-oprofile-default-buffersize
 %patch3 -p0 -b .ca-fix-oprofile-ibs-check
 %patch4
-%patch5
+%patch5 -p1
 %patch6 -p1
+%patch7 -p1
 
 %build
 ./autogen.sh
@@ -83,6 +85,13 @@
   --disable-static \
   --with-libdwarf-includes=%{_includedir}/libdwarf \
   --with-libdwarf-libraries=%{_libdir}
+# Change DATE/TIME macros to use last change time of oprofile.changes
+# See http://lists.opensuse.org/opensuse-factory/2011-05/msg00304.html
+modified=$(sed -n '/^/n;s/ - .*$//;p;q' %{_sourcedir}/%{name}.changes)
+DATE=\$(date -d ${modified} +%%b %%e %%Y)\
+TIME=\$(date -d ${modified} +%%R)\
+find . -type f -regex .*\.c\|.*\.cpp\|.*\.h -exec grep -E -e __DATE__ -e 
__TIME__ {} +
+find . -type f -regex .*\.c\|.*\.cpp\|.*\.h -exec sed -i 
s/__DATE__/${DATE}/g;s/__TIME__/${TIME}/g {} +
 make %{?jobs:-j%jobs}
 
 %install

++ ca-fix-bfd-include.patch ++
From: Tony Jones to...@suse.de
Subject: fix build error
Upstream: no

Fix build error, config.h required before bfd.h

---
 src/ca/diffgui/DasmDockView.cpp|1 +
 src/ca/diffgui/PropDockView.cpp|1 +
 src/ca/diffgui/diffStruct.h|1 +
 src/ca/libs/libca/catranslate.cpp  |1 +
 src/ca/libs/libca/symbolengine.cpp |1 +
 src/ca/libs/libca/symbolengine.h   |1 +
 src/ca/libs/libca/taskinfo.h   |1 +
 src/ca/libs/libcabba/bbanalysis.cpp|1 +
 src/ca/libs/liboutput/tbswriter.h  |1 +
 src/ca_agent/libCAagent/ca_agent_bfd.h |1 +
 src/ca_agent/libCAagent/libCAagent.h   |1 +
 src/ca_agent/libCAagent/smm.h  |1 +
 12 files changed, 12 insertions(+)

--- a/src/ca/diffgui/diffStruct.h
+++ b/src/ca/diffgui/diffStruct.h
@@ -19,6 +19,7 @@
 #ifndef _DIFFSTRUCT_H_
 #define _DIFFSTRUCT_H_
 
+#include config.h
 #include bfd.h
 #include qstring.h
 #include qvaluevector.h
--- a/src/ca/libs/libca/symbolengine.h
+++ b/src/ca/libs/libca/symbolengine.h
@@ -23,6 +23,7 @@
 #define _SYMBOL_ENGINE_H
 
 #include qstring.h
+#include config.h
 #include bfd.h
 #include qptrlist.h
 #include qmap.h
--- a/src/ca/libs/libca/taskinfo.h
+++ b/src/ca/libs/libca/taskinfo.h
@@ -19,6 +19,7 @@
 #ifndef _TASKINFO_H_
 #define _TASKINFO_H_
 
+#include config.h
 #include bfd.h
 #include vector
 #include string
--- a/src/ca/libs/liboutput/tbswriter.h
+++ b/src/ca/libs/liboutput/tbswriter.h
@@ -4,6 +4,7 @@
 #include string
 #include map
 #include set
+#include config.h
 #include bfd.h
 
 #include stdafx.h
--- a/src/ca_agent/libCAagent/ca_agent_bfd.h
+++ b/src/ca_agent/libCAagent/ca_agent_bfd.h
@@ -11,6 +11,7 @@
 #ifndef CA_AGENT_BFD_H_
 #define CA_AGENT_BFD_H_
 
+#include config.h
 #include bfd.h
 #include map
 
--- a/src/ca_agent/libCAagent/libCAagent.h
+++ b/src/ca_agent/libCAagent/libCAagent.h
@@ -11,6 +11,7 @@
 #define _LIB_CAAGENT_H
 
 #include sys/types.h
+#include config.h
 #include bfd.h
 
 
--- a/src/ca_agent/libCAagent/smm.h
+++ b/src/ca_agent/libCAagent/smm.h
@@ -10,6 +10,7 @@
 #ifndef SMM_H_
 #define SMM_H_
 
+#include config.h
 #include bfd.h
 #include libCAagent.h
 
--- 

commit CodeAnalyst for openSUSE:Factory

2012-10-07 Thread h_root
Hello community,

here is the log from the commit of package CodeAnalyst for openSUSE:Factory 
checked in at 2012-10-07 08:20:37

Comparing /work/SRC/openSUSE:Factory/CodeAnalyst (Old)
 and  /work/SRC/openSUSE:Factory/.CodeAnalyst.new (New)


Package is CodeAnalyst, Maintainer is to...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/CodeAnalyst/CodeAnalyst.changes  2012-05-03 
10:54:42.0 +0200
+++ /work/SRC/openSUSE:Factory/.CodeAnalyst.new/CodeAnalyst.changes 
2012-10-07 08:20:38.0 +0200
@@ -1,0 +2,5 @@
+Sat Oct  6 17:08:59 UTC 2012 - co...@suse.com
+
+- buildrequire sysvinit-tools for pidof
+
+---



Other differences:
--
++ CodeAnalyst.spec ++
--- /var/tmp/diff_new_pack.Htb8Zw/_old  2012-10-07 08:20:40.0 +0200
+++ /var/tmp/diff_new_pack.Htb8Zw/_new  2012-10-07 08:20:40.0 +0200
@@ -18,11 +18,10 @@
 
 %define file_ver 2_12_3_0126-Public
 
-Summary:CodeAnalyst is a Performance Analysis Suite for AMD-based 
System
-
 Name:   CodeAnalyst
 Version:2.12.3
-Release:3
+Release:0
+Summary:CodeAnalyst is a Performance Analysis Suite for AMD-based 
System
 License:GPL-2.0
 Group:  Development/Tools/Other
 Url:http://developer.amd.com/cpu/CodeAnalyst/codeanalystlinux
@@ -42,18 +41,19 @@
 Requires:   oprofile = 0.9.4
 PreReq: pwdutils
 BuildRequires:  automake
-BuildRequires:  libtool
-BuildRequires:  popt-devel
 BuildRequires:  binutils-devel
+BuildRequires:  fdupes
+BuildRequires:  libdwarf-devel
 BuildRequires:  libelf-devel
-BuildRequires:  qt3-devel = 3.3
-BuildRequires:  qt3-designer = 3.3
+BuildRequires:  libtool
 BuildRequires:  oprofile = 0.9.4
-BuildRequires:  libdwarf-devel
-BuildRequires:  update-desktop-files
-BuildRequires:  unzip
+BuildRequires:  popt-devel
 BuildRequires:  pwdutils
-BuildRequires:  fdupes
+BuildRequires:  qt3-designer = 3.3
+BuildRequires:  qt3-devel = 3.3
+BuildRequires:  sysvinit-tools
+BuildRequires:  unzip
+BuildRequires:  update-desktop-files
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 # CodeAnalyst only supports AMD based systems.
 ExclusiveArch:  %ix86 x86_64

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit CodeAnalyst for openSUSE:Factory

2012-05-03 Thread h_root
Hello community,

here is the log from the commit of package CodeAnalyst for openSUSE:Factory 
checked in at 2012-05-03 10:54:30

Comparing /work/SRC/openSUSE:Factory/CodeAnalyst (Old)
 and  /work/SRC/openSUSE:Factory/.CodeAnalyst.new (New)


Package is CodeAnalyst, Maintainer is to...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/CodeAnalyst/CodeAnalyst.changes  2012-01-30 
12:23:53.0 +0100
+++ /work/SRC/openSUSE:Factory/.CodeAnalyst.new/CodeAnalyst.changes 
2012-05-03 10:54:42.0 +0200
@@ -1,0 +2,5 @@
+Fri Apr 20 12:45:47 UTC 2012 - dims...@opensuse.org
+
+- Add CodeAnalyst-gcc47.patch: Fix build with gcc 4.7.
+
+---

New:

  CodeAnalyst-gcc47.patch



Other differences:
--
++ CodeAnalyst.spec ++
--- /var/tmp/diff_new_pack.A8TU3Y/_old  2012-05-03 10:54:43.0 +0200
+++ /var/tmp/diff_new_pack.A8TU3Y/_new  2012-05-03 10:54:43.0 +0200
@@ -36,6 +36,8 @@
 Patch3: ca-fix-oprofile-ibs-check.patch
 Patch4: gcc46.patch
 Patch5: ca-support-oprofile-0.9.7.patch
+# PATCH-FIX-UPSTREAM CodeAnalyst-gcc47.patch dims...@opensuse.org -- Fix build 
with gcc 4.7
+Patch6: CodeAnalyst-gcc47.patch
 Requires:   binutils
 Requires:   oprofile = 0.9.4
 PreReq: pwdutils
@@ -70,6 +72,7 @@
 %patch3 -p0 -b .ca-fix-oprofile-ibs-check
 %patch4
 %patch5
+%patch6 -p1
 
 %build
 ./autogen.sh

++ CodeAnalyst-gcc47.patch ++
Index: CodeAnalyst-2_12_3_0126-Public/src/ca_agent/libCAagent/slock.cpp
===
--- CodeAnalyst-2_12_3_0126-Public.orig/src/ca_agent/libCAagent/slock.cpp
+++ CodeAnalyst-2_12_3_0126-Public/src/ca_agent/libCAagent/slock.cpp
@@ -8,6 +8,7 @@
 
 #include limits.h
 #include stdio.h
+#include unistd.h
 #include iostream
 #include sys/types.h
 #include sys/ipc.h
Index: CodeAnalyst-2_12_3_0126-Public/src/ca/libs/libopdata/opdata_handler.cpp
===
--- CodeAnalyst-2_12_3_0126-Public.orig/src/ca/libs/libopdata/opdata_handler.cpp
+++ CodeAnalyst-2_12_3_0126-Public/src/ca/libs/libopdata/opdata_handler.cpp
@@ -20,6 +20,7 @@
 
 
 #include stdlib.h
+#include unistd.h
 #include vector
 #include string
 #include list
Index: CodeAnalyst-2_12_3_0126-Public/src/ca/libs/libca/dwarfengine.cpp
===
--- CodeAnalyst-2_12_3_0126-Public.orig/src/ca/libs/libca/dwarfengine.cpp
+++ CodeAnalyst-2_12_3_0126-Public/src/ca/libs/libca/dwarfengine.cpp
@@ -18,6 +18,7 @@
 */
 
 #include stdio.h
+#include unistd.h
 #include sys/types.h
 #include sys/stat.h
 #include fcntl.h
Index: CodeAnalyst-2_12_3_0126-Public/src/ca/gui/application.h
===
--- CodeAnalyst-2_12_3_0126-Public.orig/src/ca/gui/application.h
+++ CodeAnalyst-2_12_3_0126-Public/src/ca/gui/application.h
@@ -23,6 +23,7 @@
 #include vector
 #include string
 #include map
+#include unistd.h
 
 #include cawfile.h
 #include projectwindow.h
Index: CodeAnalyst-2_12_3_0126-Public/src/ca/gui/MonitorDockView.cpp
===
--- CodeAnalyst-2_12_3_0126-Public.orig/src/ca/gui/MonitorDockView.cpp
+++ CodeAnalyst-2_12_3_0126-Public/src/ca/gui/MonitorDockView.cpp
@@ -17,6 +17,7 @@
 */
 
 #include qtooltip.h
+#include unistd.h
 
 #include MonitorDockView.h
 
Index: CodeAnalyst-2_12_3_0126-Public/src/ca/diffgui/DiffAnalystWindow.h
===
--- CodeAnalyst-2_12_3_0126-Public.orig/src/ca/diffgui/DiffAnalystWindow.h
+++ CodeAnalyst-2_12_3_0126-Public/src/ca/diffgui/DiffAnalystWindow.h
@@ -19,6 +19,7 @@
 #ifndef __DIFFANALYSTWINDOW_H_
 #define __DIFFANALYSTWINDOW_H_
 
+#include unistd.h
 #include qmainwindow.h
 #include qtoolbar.h
 #include qmenubar.h
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit CodeAnalyst for openSUSE:Factory

2012-01-30 Thread h_root
Hello community,

here is the log from the commit of package CodeAnalyst for openSUSE:Factory 
checked in at 2012-01-30 12:23:52

Comparing /work/SRC/openSUSE:Factory/CodeAnalyst (Old)
 and  /work/SRC/openSUSE:Factory/.CodeAnalyst.new (New)


Package is CodeAnalyst, Maintainer is to...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/CodeAnalyst/CodeAnalyst.changes  2011-11-05 
11:04:01.0 +0100
+++ /work/SRC/openSUSE:Factory/.CodeAnalyst.new/CodeAnalyst.changes 
2012-01-30 12:23:53.0 +0100
@@ -1,0 +2,6 @@
+Sun Jan 29 23:49:51 UTC 2012 - joop.boo...@opensuse.org
+
+- CodeAnalyst doesn't support arm systems
+- Changed the keyword to ExclusiveArch for supported systems 
+
+---



Other differences:
--
++ CodeAnalyst.spec ++
--- /var/tmp/diff_new_pack.QGSeGi/_old  2012-01-30 12:23:54.0 +0100
+++ /var/tmp/diff_new_pack.QGSeGi/_new  2012-01-30 12:23:54.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package CodeAnalyst
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -53,8 +53,8 @@
 BuildRequires:  pwdutils
 BuildRequires:  fdupes
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-# Unsupported architecture list due to non-AMD based system.
-ExcludeArch:ppc ppc64 s390 s390x alpha alphaev6 sparcv9 sparc64
+# CodeAnalyst only supports AMD based systems.
+ExclusiveArch:  %ix86 x86_64
 
 %description
 CodeAnalyst is a performance analysis suite. It provids graphical

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit CodeAnalyst for openSUSE:Factory

2011-12-06 Thread h_root
Hello community,

here is the log from the commit of package CodeAnalyst for openSUSE:Factory 
checked in at 2011-12-06 18:03:31

Comparing /work/SRC/openSUSE:Factory/CodeAnalyst (Old)
 and  /work/SRC/openSUSE:Factory/.CodeAnalyst.new (New)


Package is CodeAnalyst, Maintainer is to...@suse.com

Changes:




Other differences:
--
++ CodeAnalyst.spec ++
--- /var/tmp/diff_new_pack.FVZt67/_old  2011-12-06 18:05:49.0 +0100
+++ /var/tmp/diff_new_pack.FVZt67/_new  2011-12-06 18:05:49.0 +0100
@@ -23,7 +23,7 @@
 Name:   CodeAnalyst
 Version:2.12.3
 Release:3
-License:GPLv2
+License:GPL-2.0
 Group:  Development/Tools/Other
 Url:http://developer.amd.com/cpu/CodeAnalyst/codeanalystlinux
 Source0:%{name}-%{file_ver}.tar.bz2

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit CodeAnalyst for openSUSE:Factory

2011-11-05 Thread h_root
Hello community,

here is the log from the commit of package CodeAnalyst for openSUSE:Factory 
checked in at 2011-11-05 10:55:16

Comparing /work/SRC/openSUSE:Factory/CodeAnalyst (Old)
 and  /work/SRC/openSUSE:Factory/.CodeAnalyst.new (New)


Package is CodeAnalyst, Maintainer is to...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/CodeAnalyst/CodeAnalyst.changes  2011-09-23 
01:50:37.0 +0200
+++ /work/SRC/openSUSE:Factory/.CodeAnalyst.new/CodeAnalyst.changes 
2011-11-05 11:04:01.0 +0100
@@ -1,0 +2,5 @@
+Wed Nov  2 17:19:07 UTC 2011 - to...@suse.com
+
+- Support oprofile 0.9.7
+
+---

New:

  ca-support-oprofile-0.9.7.patch



Other differences:
--
++ CodeAnalyst.spec ++
--- /var/tmp/diff_new_pack.9bkSXs/_old  2011-11-05 11:11:19.0 +0100
+++ /var/tmp/diff_new_pack.9bkSXs/_new  2011-11-05 11:11:19.0 +0100
@@ -35,6 +35,7 @@
 # Fix basename issue when building
 Patch3: ca-fix-oprofile-ibs-check.patch
 Patch4: gcc46.patch
+Patch5: ca-support-oprofile-0.9.7.patch
 Requires:   binutils
 Requires:   oprofile = 0.9.4
 PreReq: pwdutils
@@ -68,6 +69,7 @@
 %patch0 -b .ca-use-oprofile-default-buffersize
 %patch3 -p0 -b .ca-fix-oprofile-ibs-check
 %patch4
+%patch5
 
 %build
 ./autogen.sh

++ ca-support-oprofile-0.9.7.patch ++
---
 m4/checkoprofileconfig.m4 |6 --
 1 file changed, 4 insertions(+), 2 deletions(-)

--- m4/checkoprofileconfig.m4
+++ m4/checkoprofileconfig.m4
@@ -18,8 +18,9 @@ AC_DEFUN([CHECK_OPROFILE_VERSION],
if test $OP_VERSION_BASE != 0.9.4 ; then
if test $OP_VERSION_BASE != 0.9.5 ; then
if test $OP_VERSION_BASE != 0.9.6 ; then
+   if test $OP_VERSION_BASE != 0.9.7 ; then
AC_MSG_ERROR([Oprofile version $OP_VERSION is not supported.])
-   fi fi fi fi
+   fi fi fi fi fi
 
dnl Convert version number to a value comparable by preprocessor 
AC_DEFINE_UNQUOTED(OP_VERSION_BASE, 0x`echo $OP_VERSION_BASE | sed 
's/\./0/g'`, [Oprofile version])
@@ -53,8 +54,9 @@ AC_DEFUN([CHECK_OPROFILE_CONFIG],
 if test $OP_VERSION_BASE != 0.9.4 ; then
 if test $OP_VERSION_BASE != 0.9.5 ; then
 if test $OP_VERSION_BASE != 0.9.6 ; then
+if test $OP_VERSION_BASE != 0.9.7 ; then
 AC_MSG_ERROR([Oprofile version $OP_VERSION is not supported.])
-fi fi fi fi
+fi fi fi fi fi
 
 dnl Convert version number to a value comparable by preprocessor 
 AC_DEFINE_UNQUOTED(OP_VERSION_BASE, 0x`echo $OP_VERSION_BASE | sed 
's/\./0/g'`, [Oprofile version])
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit CodeAnalyst for openSUSE:Factory

2011-04-06 Thread h_root

Hello community,

here is the log from the commit of package CodeAnalyst for openSUSE:Factory
checked in at Wed Apr 6 09:21:33 CEST 2011.




--- CodeAnalyst/CodeAnalyst.changes 2010-01-11 10:28:39.0 +0100
+++ /mounts/work_src_done/STABLE/CodeAnalyst/CodeAnalyst.changes
2011-04-04 18:45:04.0 +0200
@@ -1,0 +2,15 @@
+Mon Apr  4 18:39:35 CEST 2011 - p...@suse.de
+
+- Update to latest version 2.12.3. Changes since 2.8:
+  * Support public launch for family14h
+  * Family15h (Orochi) fully supported. 
+  * New CA-OProfile based on OProfile-0.9.6
+  * New Session Setting Dialog
+  * New Event Selection
+  * Session Setting Template allowing multiple profile settings to be 
+stored and reused.
+  * Combining event-based and IBS profile to allow simultaneous data
+collection from GUI
+  * Introducing OProfile daemon/driver monitoring tool
+
+---

calling whatdependson for head-i586


Old:

  CodeAnalyst-gui-2.8.54.tar.bz2
  ca-da-online-help.patch
  ca-enable-oprofile-0.9.6.patch
  ca-fix-basename.patch
  ca-fix-su.patch
  ca-use-dynamic-feature-check.patch
  destdir.patch

New:

  CodeAnalyst-2_12_3_0126-Public.tar.bz2



Other differences:
--
++ CodeAnalyst.spec ++
--- /var/tmp/diff_new_pack.tOddgJ/_old  2011-04-06 09:07:01.0 +0200
+++ /var/tmp/diff_new_pack.tOddgJ/_new  2011-04-06 09:07:01.0 +0200
@@ -1,7 +1,7 @@
 #
-# spec file for package CodeAnalyst (Version 2.8.54)
+# spec file for package CodeAnalyst
 #
-# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,32 +16,24 @@
 #
 
 
+%define file_ver 2_12_3_0126-Public
+
 Summary:CodeAnalyst is a Performance Analysis Suite for AMD-based 
System
 
 Name:   CodeAnalyst
-Version:2.8.54
-Release:2
+Version:2.12.3
+Release:1
 License:GPLv2
 Group:  Development/Tools/Other
 Url:http://developer.amd.com/cpu/CodeAnalyst/codeanalystlinux
-Source0:
http://ftp-developer.amd.com/user/ssuthiku/CALinuxSnapshots/%{name}-gui-%{version}.tar.bz2
+Source0:%{name}-%{file_ver}.tar.bz2
 Source1:CodeAnalyst.desktop
 Source2:DiffAnalyst.desktop
 # Use oprofile default cpu/watershed/event-buffer size
 # since using stock oprofile daemon/driver
 Patch0: ca-use-oprofile-default-buffersize.patch
-# Use on-line help
-Patch1: ca-da-online-help.patch
-# Fix basename issue when building
-Patch2: ca-fix-basename.patch
 # Fix basename issue when building
 Patch3: ca-fix-oprofile-ibs-check.patch
-# Use dynamic feature check
-Patch4: ca-use-dynamic-feature-check.patch
-# Fix permission issue
-Patch5: ca-fix-su.patch
-# Enable OProfile-0.9.6
-Patch6: ca-enable-oprofile-0.9.6.patch
 Requires:   binutils
 Requires:   oprofile = 0.9.4
 PreReq: pwdutils
@@ -71,17 +63,13 @@
 
 
 %prep
-%setup -q -n %{name}-gui-%{version}
-%patch0 -p1 -b .ca-use-oprofile-default-buffersize
-%patch1 -p1 -b .ca-da-online-help
-%patch2 -p1 -b .ca-fix-basename
+%setup -q -n %{name}-%{file_ver}
+%patch0 -b .ca-use-oprofile-default-buffersize
 %patch3 -p0 -b .ca-fix-oprofile-ibs-check
-%patch4 -p1 -b .ca-use-dynamic-feature-check
-%patch5 -p1 -b .ca-fix-su
-%patch6 -p1 -b .ca-enable-oprofile-0.9.6
 
 %build
 ./autogen.sh
+#chmod -x $(find . -name configure)
 %configure \
   --with-oprofile=%{_prefix} \
   --disable-oprofile-lib \

++ ca-fix-oprofile-ibs-check.patch ++
--- /var/tmp/diff_new_pack.tOddgJ/_old  2011-04-06 09:07:01.0 +0200
+++ /var/tmp/diff_new_pack.tOddgJ/_new  2011-04-06 09:07:01.0 +0200
@@ -4,24 +4,14 @@
 
 Index: src/ca/gui/oprofile_interface.cpp
 ===
 src/ca/gui/oprofile_interface.cpp  (revision 16837)
-+++ src/ca/gui/oprofile_interface.cpp  (working copy)
-@@ -1144,15 +1144,16 @@
-   
- #if (OP_VERSION_BASE == 0x00903)
-   command = QString(OP_BINDIR) +
+--- src/ca/gui/oprofile_interface.cpp.orig 2010-12-15 03:12:10.0 
+0100
 src/ca/gui/oprofile_interface.cpp  2011-04-04 11:41:40.458352230 +0200
+@@ -1050,7 +1050,7 @@ bool oprofile_interface::checkMuxSupport
+   // NOTE: This check allows only the CodeAnalyst Oprofile
+   //   to use MUX.
+   QString command = QString(OP_BINDIR) +
 -  opcontrol --help 21  +
 +  /opcontrol --help 21  +
-   | grep ibs-fetch 2 /dev/null  /dev/null;
-   
-   ret = (system(command.ascii()) == 0)? true: false;
- #endif
- 
- #if (OP_VERSION_BASE =