rpms/CodeAnalyst-gui/F-10 ca-fix-basename.patch, NONE, 1.1 ca-fix-oprofile-ibs-check.patch, NONE, 1.1 ca-use-lbfd.patch, NONE, 1.1 .cvsignore, 1.2, 1.3 CodeAnalyst-gui.spec, 1.2, 1.3 ca-use-oprofile-default-buffersize.patch, 1.1, 1.2 sources, 1.2, 1.3

Suravee Suthikulpanit suravee at fedoraproject.org
Tue Jul 28 03:50:14 UTC 2009


Author: suravee

Update of /cvs/pkgs/rpms/CodeAnalyst-gui/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv2305

Modified Files:
	.cvsignore CodeAnalyst-gui.spec 
	ca-use-oprofile-default-buffersize.patch sources 
Added Files:
	ca-fix-basename.patch ca-fix-oprofile-ibs-check.patch 
	ca-use-lbfd.patch 
Log Message:
- Update source 
- Update ca-use-oprofile-default-buffersize.patch
- Add ca-fix-oprofile-ibs-check.patch
- Add ca-fix-basename.patch
- Add ca-use-lbfd.patch


ca-fix-basename.patch:
 configure.ac |    3 +++
 1 file changed, 3 insertions(+)

--- NEW FILE ca-fix-basename.patch ---
--- CodeAnalyst-gui-2.8.54/configure.ac	2009-07-06 15:27:20.000000000 -0500
+++ CodeAnalyst-gui-2.8.54-fix-basename/configure.ac	2009-07-17 16:43:50.905147989 -0500
@@ -35,6 +35,9 @@ AC_PREREQ(2.13)
 #Initialize Libtool
 AM_PROG_LIBTOOL
 
+# Fix issue with basename in gcc-4.4
+AC_CHECK_DECLS([basename], [], [], [[#include <libgen.h>]])
+
 AM_INIT_AUTOMAKE
 
 #Default installation directory

ca-fix-oprofile-ibs-check.patch:
 oprofile_interface.cpp |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

--- NEW FILE ca-fix-oprofile-ibs-check.patch ---
Fix BUG163976: Cannot profile IBS when build with OProfile-0.9.5 with option --with-oprofile

---

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) +
-			"opcontrol --help 2>&1 " +
+			"/opcontrol --help 2>&1 " +
 			"| grep ibs-fetch 2> /dev/null > /dev/null";
 	
 	ret = (system(command.ascii()) == 0)? true: false;
 #endif
 
 #if (OP_VERSION_BASE >= 0x00905)
+	
 	command = QString(OP_BINDIR) +
-			"oprofiled --help 2>&1 " +
+			"/oprofiled --help 2>&1 " +
 			"| grep ext-feature 2> /dev/null > /dev/null";
 	ret = (system(command.ascii()) == 0)? true: false;
 #endif

ca-use-lbfd.patch:
 libbfd.m4 |   22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)

--- NEW FILE ca-use-lbfd.patch ---
Index: m4/libbfd.m4
===================================================================
--- m4/libbfd.m4	(revision 16845)
+++ m4/libbfd.m4	(working copy)
@@ -33,16 +33,16 @@
 
 AC_DEFUN([CHECK_LBFD],
 [
-	LIBBFD=`/sbin/ldconfig -p | \
-		grep "libbfd" | \
-		awk '{split($[]1,a," "); \
-			sub (/lib/,"", [a[1]]) ; \
-			sub(/.so/,"",[a[1]]); \
-			print [a[1]]; \
-			exit;}' 2> /dev/null` 
-        if test "$LIBBFD" != "" ; then
-		BFD_LIB="$LIBBFD"
-        else
+dnl	LIBBFD=`/sbin/ldconfig -p | \
+dnl		grep "libbfd" | \
+dnl		awk '{split($[]1,a," "); \
+dnl			sub (/lib/,"", [a[1]]) ; \
+dnl			sub(/.so/,"",[a[1]]); \
+dnl			print [a[1]]; \
+dnl			exit;}' 2> /dev/null` 
+dnl        if test "$LIBBFD" != "" ; then
+dnl		BFD_LIB="$LIBBFD"
+dnl        else
 		BFD_LIB="bfd"
-        fi
+dnl        fi
 ])


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/CodeAnalyst-gui/F-10/.cvsignore,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -p -r1.2 -r1.3
--- .cvsignore	16 Mar 2009 16:38:20 -0000	1.2
+++ .cvsignore	28 Jul 2009 03:50:14 -0000	1.3
@@ -1 +1,2 @@
 CodeAnalyst-gui-2.8.38.tar.gz
+CodeAnalyst-gui-2.8.54.tar.gz


Index: CodeAnalyst-gui.spec
===================================================================
RCS file: /cvs/pkgs/rpms/CodeAnalyst-gui/F-10/CodeAnalyst-gui.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -p -r1.2 -r1.3
--- CodeAnalyst-gui.spec	6 Apr 2009 17:01:36 -0000	1.2
+++ CodeAnalyst-gui.spec	28 Jul 2009 03:50:14 -0000	1.3
@@ -1,12 +1,12 @@
 Summary:       CodeAnalyst is a Performance Analysis Suite for AMD-based System
 Name:          CodeAnalyst-gui
-Version:       2.8.38
-Release:       10%{?dist}
+Version:       2.8.54
+Release:       1%{?dist}
 License:       GPLv2
 Group:         Development/System
 URL:           http://developer.amd.com/cpu/CodeAnalyst/codeanalystlinux
 
-Source0:       http://ftp-developer.amd.com/user/ssuthiku/CALinuxSnapshots/%{name}-%{version}.tar.gz 
+Source0:       http://ftp-developer.amd.com/user/ssuthiku/Releases/%{name}-%{version}.tar.gz 
 Source1:       CodeAnalyst-gui.desktop
 Source2:       DiffAnalyst-gui.desktop
 
@@ -14,17 +14,14 @@ Source2:       DiffAnalyst-gui.desktop
 # since using stock oprofile daemon/driver
 Patch0:        ca-use-oprofile-default-buffersize.patch
 
-# This patch allows us to use the DESTDIR variable in install section.
-Patch1:        ca-destdir.patch
+# Fix OProfile-0.9.5 IBS feature check
+Patch1:        ca-fix-oprofile-ibs-check.patch
 
-# This patch allows to succesfully build with --disable-dwarf
-Patch2:        ca-disable-dwarf.patch
+# Fix basename
+Patch2:        ca-fix-basename.patch
 
-# This patch allows to CA to be configured with any libdwarf
-Patch3:        ca-configure-libdwarf.patch
-
-# This patch fix the splash screen
-Patch4:        ca-fix-splash.patch
+# Force using lbfd
+Patch3:        ca-use-lbfd.patch
 
 Requires:      popt
 Requires:      binutils
@@ -66,10 +63,9 @@ profile comparison, DiffAnalayst.
 %prep
 %setup -q -n %{name}-%{version}
 %patch0 -p1 -b .ca-use-oprofile-default-buffersize
-%patch1 -p0 -b .ca-destdir
-%patch2 -p0 -b .ca-disable-dwarf
-%patch3 -p1 -b .ca-configure-libdwarf
-%patch4 -p1 -b .ca-fix-splash
+%patch1 -p0 -b .ca-fix-oprofile-ibs-check
+%patch2 -p1 -b .ca-fix-basename
+%patch3 -p0 -b .ca-use-lbfd
 
 
 %build
@@ -165,6 +161,15 @@ fi
 
 
 %changelog
+* Mon Jul 27 2009 - Suravee Suthikulpanit <suravee.suthikulpanit at amd.com>
+- 2.8.54-1
+- Update new release
+- Update source
+- Update patch0
+- Add Patch1 (ca-fix-oprofile-ibs-check.patch)
+- Add Patch2 (ca-fix-basename.patch)
+- Add Patch3 (ca-use-lbfd.patch)
+
 * Mon Apr 6 2009 - Suravee Suthikulpanit <suravee.suthikulpanit at amd.com>
 - 2.8.38-10
 - Remove --disable-dwarf from configuration

ca-use-oprofile-default-buffersize.patch:
 atuneoptions.h |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Index: ca-use-oprofile-default-buffersize.patch
===================================================================
RCS file: /cvs/pkgs/rpms/CodeAnalyst-gui/F-10/ca-use-oprofile-default-buffersize.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- ca-use-oprofile-default-buffersize.patch	16 Mar 2009 16:38:20 -0000	1.1
+++ ca-use-oprofile-default-buffersize.patch	28 Jul 2009 03:50:14 -0000	1.2
@@ -1,7 +1,7 @@
-diff -paurN CodeAnalyst-gui-2.8.38.org/src/ca/gui/atuneoptions.h CodeAnalyst-gui-2.8.38/src/ca/gui/atuneoptions.h
---- CodeAnalyst-gui-2.8.38.org/src/ca/gui/atuneoptions.h	2009-02-02 12:42:55.000000000 -0600
-+++ CodeAnalyst-gui-2.8.38/src/ca/gui/atuneoptions.h	2009-02-03 11:41:56.000000000 -0600
-@@ -114,9 +114,9 @@ enum ChartDensityShownType
+diff -paurN CodeAnalyst-gui-2.8.54.org/src/ca/gui/atuneoptions.h CodeAnalyst-gui-2.8.54/src/ca/gui/atuneoptions.h
+--- CodeAnalyst-gui-2.8.54.org/src/ca/gui/atuneoptions.h	2009-06-10 15:45:23.000000000 -0500
++++ CodeAnalyst-gui-2.8.54/src/ca/gui/atuneoptions.h	2009-07-08 13:29:14.000000000 -0500
+@@ -117,9 +117,9 @@ enum ChartDensityShownType
  
  enum BuffDefaultSizeType
  {
@@ -13,4 +13,4 @@ diff -paurN CodeAnalyst-gui-2.8.38.org/s
 +	OP_DEFAULT_CPU_BUFFER_SIZE 	= 8192
  };
  
- #define OPT_IMPORT_TYPE "/CodeAnalyst/Key/ImportType"
+ #define OPT_IMPORT_TYPE OPT_DATA_PREFIX "/ImportType"


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/CodeAnalyst-gui/F-10/sources,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -p -r1.2 -r1.3
--- sources	16 Mar 2009 16:38:20 -0000	1.2
+++ sources	28 Jul 2009 03:50:14 -0000	1.3
@@ -1 +1,2 @@
 2fb7944b3db827360d4d0e4b9355854c  CodeAnalyst-gui-2.8.38.tar.gz
+ebd48e2c8498d45bfcc774d54dfdf789  CodeAnalyst-gui-2.8.54.tar.gz




More information about the fedora-extras-commits mailing list