+++ /dev/null
---- heap-shot/HeapShot.Gui.Widgets/ReferenceTreeViewer.cs.orig 2010-05-07 20:20:25.000000000 +0200
-+++ heap-shot/HeapShot.Gui.Widgets/ReferenceTreeViewer.cs 2013-10-21 20:33:54.693743484 +0200
-@@ -426,7 +426,7 @@
- } else
- return string.Format ("There are <b>{0:n0}</b> bytes of <b>{1}</b> objects", node.TotalMemory, GetShortName (node.TypeName));
- }
-- case 6:
-+ case 6: {
- string pname = GetParentType (iter);
- if (pname != null) {
- if (InverseReferences)
-@@ -435,6 +435,7 @@
- return string.Format ("Objects of type <b>{0}</b> referenced by <b>{2}</b> objects have an average size of <b>{1:n0}</b> bytes", GetShortName (node.TypeName), node.AverageSize, pname);
- } else
- return string.Format ("Objects of type <b>{0}</b> have an average size of <b>{1:n0}</b> bytes", GetShortName (node.TypeName), node.AverageSize);
-+ }
- }
- } else {
- FieldReference fr = (FieldReference) ob;
+++ /dev/null
---- 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;
Summary: A profiler to explore live objects in the heap
Summary(pl.UTF-8): Profiler do podglądania żywych obiektów na stercie
Name: heap-shot
-Version: 0.1
-Release: 5
+Version: 0.2
+%define snap 20151022
+%define gitref 84033f7b9c19972b761ad0203c391b70fcf9c1a7
+%define rel 1
+Release: 0.%{gitref}.%{rel}
License: GPL v3
Group: Development/Tools
-# git clone http://github.com/mono/heap-shot.git
-Source0: %{name}.tar.bz2
-# Source0-md5: 976f917b5703eb321b7acac42e6f9000
-Patch0: %{name}-unicode-dot.patch
-Patch1: %{name}-build.patch
-Patch2: %{name}-fix.patch
+Source0: https://github.com/mono/heap-shot/archive/%{gitref}/%{name}-%{snap}.tar.gz
+# Source0-md5: 57a49b9f83d3d5cb079b5d710398719e
+Patch0: %{name}-wrapper.patch
URL: http://www.mono-project.com/HeapShot
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: dotnet-gtk-sharp2-devel >= 2
-BuildRequires: glib2-devel >= 2.0
-BuildRequires: libtool
BuildRequires: mono-csharp >= 2.8
-BuildRequires: pkgconfig
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
dwiema różnymi chwilami.
%prep
-%setup -q -n %{name}
+%setup -q -n %{name}-%{gitref}
%patch0 -p1
-%patch1 -p1
-%patch2 -p1
%build
-%{__libtoolize}
%{__aclocal}
%{__autoconf}
%{__automake}
-%configure \
- --disable-static
+%configure
%{__make} -j1
%{__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 ChangeLog NEWS README
-%attr(755,root,root) %{_bindir}/heap-shot
+%doc AUTHORS ChangeLog README
%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}