Hello community,
here is the log from the commit of package sysprof
checked in at Wed Jul 4 23:55:43 CEST 2007.
--------
--- sysprof/sysprof.changes 2007-04-04 22:09:06.000000000 +0200
+++ /mounts/work_src_done/STABLE/sysprof/sysprof.changes 2007-07-04 16:57:14.317150000 +0200
@@ -1,0 +2,6 @@
+Wed Jul 4 16:56:51 CEST 2007 - coolo@suse.de
+
+- adding patch to build sysprof-text to make profiling anything
+ else than firefox feasible
+
+-------------------------------------------------------------------
New:
----
sysprof-text.diff
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ sysprof.spec ++++++
--- /var/tmp/diff_new_pack.T15042/_old 2007-07-04 23:55:07.000000000 +0200
+++ /var/tmp/diff_new_pack.T15042/_new 2007-07-04 23:55:07.000000000 +0200
@@ -17,14 +17,15 @@
%define kernel_version_ %(uname -r|tr - _)
%define prefix /usr
%define sysconfdir /etc
-Summary: sampling CPU profiler
+Summary: Sampling CPU profiler
Version: 1.0.8
-Release: 11
-License: GNU General Public License (GPL)
+Release: 39
+License: GPL v2 or later
Group: Development/Tools/Debuggers
URL: http://www.daimi.au.dk/~sandmann/sysprof/
Source: %name-%version.tar.bz2
Patch0: %{name}-module-configh.patch
+Patch1: %name-text.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%suse_kernel_module_package -n sysprof kdump um xen xenpae
@@ -59,6 +60,7 @@
%prep
%setup -q
%patch0
+%patch1 -p1
%build
export CFLAGS="$RPM_OPT_FLAGS"
@@ -104,6 +106,9 @@
%prefix/share/pixmaps/*.png
%changelog
+* Wed Jul 04 2007 - coolo@suse.de
+- adding patch to build sysprof-text to make profiling anything
+ else than firefox feasible
* Wed Apr 04 2007 - lrupp@suse.de
- added module-init-tools to BuildRequires
* Mon Jan 15 2007 - aj@suse.de
++++++ sysprof-text.diff ++++++
diff -ruN sysprof-1.0.8.orig/Makefile.am sysprof-1.0.8/Makefile.am
--- sysprof-1.0.8.orig/Makefile.am 2005-10-10 20:37:11.000000000 +0200
+++ sysprof-1.0.8/Makefile.am 2007-07-03 11:42:12.892787000 +0200
@@ -1,7 +1,7 @@
SUBDIRS = $(MODULE_SUBDIR)
DIST_SUBDIRS = module
-bin_PROGRAMS = sysprof
+bin_PROGRAMS = sysprof sysprof-text
pkgdata_DATA = sysprof.glade sysprof-icon.png
sysprof_SOURCES = \
@@ -22,8 +22,26 @@
watch.h \
watch.c
+sysprof_text_SOURCES = \
+ binfile.h \
+ binfile.c \
+ process.h \
+ process.c \
+ profile.h \
+ profile.c \
+ sfile.h \
+ sfile.c \
+ stackstash.h \
+ stackstash.c \
+ module/sysprof-module.h \
+ sysprof-text.c \
+ watch.h \
+ watch.c
+
sysprof_LDADD = $(DEP_LIBS)
+sysprof_text_LDADD = -lglib-2.0 -lbfd -lopcodes -liberty
+
INCLUDES = \
$(DEP_CFLAGS) \
-DDATADIR=\"$(pkgdatadir)\" \
diff -ruN sysprof-1.0.8.orig/sysprof-text.c sysprof-1.0.8/sysprof-text.c
--- sysprof-1.0.8.orig/sysprof-text.c 1970-01-01 01:00:00.000000000 +0100
+++ sysprof-1.0.8/sysprof-text.c 2007-07-03 11:45:01.074436000 +0200
@@ -0,0 +1,114 @@
+#include