packages: heap-shot/heap-shot-configure.patch (NEW), heap-shot/heap-shot-un...
pluto
pluto at pld-linux.org
Fri May 7 20:36:07 CEST 2010
Author: pluto Date: Fri May 7 18:36:07 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- new draft.
---- Files affected:
packages/heap-shot:
heap-shot-configure.patch (NONE -> 1.1) (NEW), heap-shot-unicode-dot.patch (NONE -> 1.1) (NEW), heap-shot.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/heap-shot/heap-shot-configure.patch
diff -u /dev/null packages/heap-shot/heap-shot-configure.patch:1.1
--- /dev/null Fri May 7 20:36:07 2010
+++ packages/heap-shot/heap-shot-configure.patch Fri May 7 20:36:02 2010
@@ -0,0 +1,11 @@
+--- heap-shot/configure.in.orig 2010-05-07 19:41:54.000000000 +0200
++++ heap-shot/configure.in 2010-05-07 19:42:40.663053528 +0200
+@@ -3,7 +3,7 @@
+ AC_PROG_CC
+ AM_PROG_LIBTOOL
+
+-PKG_CHECK_MODULES(PROFILER, mono-2 glib-2.0)
++PKG_CHECK_MODULES(PROFILER, mono glib-2.0)
+
+ PKG_CHECK_MODULES(GTK_SHARP, gtk-sharp-2.0)
+
================================================================
Index: packages/heap-shot/heap-shot-unicode-dot.patch
diff -u /dev/null packages/heap-shot/heap-shot-unicode-dot.patch:1.1
--- /dev/null Fri May 7 20:36:07 2010
+++ packages/heap-shot/heap-shot-unicode-dot.patch Fri May 7 20:36:02 2010
@@ -0,0 +1,11 @@
+--- heap-shot/HeapShot.Gui.Widgets/gtk-gui/HeapShot.Gui.Widgets.ReferenceTreeViewer.cs.orig 2010-05-07 20:06:58.000000000 +0200
++++ heap-shot/HeapShot.Gui.Widgets/gtk-gui/HeapShot.Gui.Widgets.ReferenceTreeViewer.cs 2010-05-07 20:17:20.905783337 +0200
+@@ -69,7 +69,7 @@
+ this.entryFilter.CanFocus = true;
+ this.entryFilter.Name = "entryFilter";
+ this.entryFilter.IsEditable = true;
+- this.entryFilter.InvisibleChar = '●';
++ this.entryFilter.InvisibleChar = '\u25cf';
+ this.boxFilter.Add(this.entryFilter);
+ Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.boxFilter[this.entryFilter]));
+ w3.Position = 0;
================================================================
Index: packages/heap-shot/heap-shot.spec
diff -u /dev/null packages/heap-shot/heap-shot.spec:1.1
--- /dev/null Fri May 7 20:36:08 2010
+++ packages/heap-shot/heap-shot.spec Fri May 7 20:36:02 2010
@@ -0,0 +1,79 @@
+# $Revision$, $Date$
+#
+%include /usr/lib/rpm/macros.mono
+#
+Summary: A profiler to explore live objects in the heap
+Name: heap-shot
+Version: 0.1
+Release: 0.1
+License: GPL v3
+Group: Development/Tools
+# svn co svn://anonsvn.mono-project.com/source/trunk/heap-shot
+Source0: %{name}.tar.bz2
+# Source0-md5: 976f917b5703eb321b7acac42e6f9000
+Patch0: %{name}-configure.patch
+Patch1: %{name}-unicode-dot.patch
+URL: http://www.mono-project.com/HeapShot
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: libtool
+BuildRequires: mono-csharp
+BuildRequires: pkgconfig
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Heap Shot is a profiler to explore memory allocation patterns in an
+application is it part of the Mono profiling tools. Heap Shot works by
+taking snapshots of the Mono managed heap from running Mono
+applications and displaying the results. Additionally, Heap Shot can
+compare the differences in live objects between a number of snapshots,
+this is very helpful to understand which objects are alive and which
+objects have been allocated. HeapShot can either explore one snapshot
+of memory at a point, or it can be used to compare the objects between
+two separate points in time.
+
+%prep
+%setup -q -n %{name}
+%patch0 -p1
+%patch1 -p1
+./autogen.sh
+
+%build
+%configure \
+ --disable-static
+
+%{__make} -j1
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} -j1 install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+# mono dlopens profiler library by libmono-profiler-NAME.so
+rm $RPM_BUILD_ROOT%{_libdir}/*.la
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS COPYING ChangeLog NEWS README
+%attr(755,root,root) %{_bindir}/heap-shot
+%attr(755,root,root) %{_bindir}/heap-shot-gui
+%attr(755,root,root) %{_libdir}/libmono-profiler-heap-shot.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libmono-profiler-heap-shot.so.0
+%attr(755,root,root) %{_libdir}/libmono-profiler-heap-shot.so
+%{_prefix}/lib/%{name}
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+$Log$
+Revision 1.1 2010/05/07 18:36:02 pluto
+- new draft.
+
================================================================
More information about the pld-cvs-commit
mailing list