[tracker] Bump the minimum memory requirement to 768M (GNOME #712142)

Debarshi Ray rishi at fedoraproject.org
Tue Nov 12 16:47:02 UTC 2013


commit 02fea6d26a0ee08441e3f4aa3017f89e29b8686a
Author: Debarshi Ray <debarshir at gnome.org>
Date:   Tue Nov 12 16:13:50 2013 +0100

    Bump the minimum memory requirement to 768M (GNOME #712142)

 ...mp-the-minimum-memory-requirement-to-768M.patch |   26 ++++++++++++++++++++
 tracker.spec                                       |    9 ++++++-
 2 files changed, 34 insertions(+), 1 deletions(-)
---
diff --git a/0001-Bump-the-minimum-memory-requirement-to-768M.patch b/0001-Bump-the-minimum-memory-requirement-to-768M.patch
new file mode 100644
index 0000000..9ee871c
--- /dev/null
+++ b/0001-Bump-the-minimum-memory-requirement-to-768M.patch
@@ -0,0 +1,26 @@
+From 5d841e9bdf3dc2a8e39e67d52c0b547fd6a26c88 Mon Sep 17 00:00:00 2001
+From: Debarshi Ray <debarshir at gnome.org>
+Date: Tue, 12 Nov 2013 16:09:57 +0100
+Subject: [PATCH] Bump the minimum memory requirement to 768M
+
+http://bugzilla.gnome.org/show_bug.cgi?id=712142
+---
+ src/libtracker-common/tracker-os-dependant-unix.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/libtracker-common/tracker-os-dependant-unix.c b/src/libtracker-common/tracker-os-dependant-unix.c
+index 24108f4..2fa7c93 100644
+--- a/src/libtracker-common/tracker-os-dependant-unix.c
++++ b/src/libtracker-common/tracker-os-dependant-unix.c
+@@ -39,7 +39,7 @@
+ /* Maximum here is a G_MAXLONG, so if you want to use > 2GB, you have
+  * to set MEM_LIMIT to RLIM_INFINITY
+  */
+-#define MEM_LIMIT_MIN 256 * 1024 * 1024
++#define MEM_LIMIT_MIN 768 * 1024 * 1024
+ 
+ #if defined(__OpenBSD__) && !defined(RLIMIT_AS)
+ #define RLIMIT_AS RLIMIT_DATA
+-- 
+1.8.4.2
+
diff --git a/tracker.spec b/tracker.spec
index e78374e..48d5655 100644
--- a/tracker.spec
+++ b/tracker.spec
@@ -15,7 +15,7 @@
 Summary:	Desktop-neutral search tool and indexer
 Name:		tracker
 Version:	0.16.3
-Release:	3%{?dist}
+Release:	4%{?dist}
 License:	GPLv2+
 Group:		Applications/System
 URL:		http://projects.gnome.org/tracker/
@@ -25,6 +25,9 @@ Source0:	http://download.gnome.org/sources/tracker/0.16/%{name}-%{version}.tar.x
 # https://bugzilla.redhat.com/show_bug.cgi?id=771601
 Patch1:		tracker-0.15-onlyshowin.patch
 
+# https://bugzilla.gnome.org/show_bug.cgi?id=712142
+Patch2:         0001-Bump-the-minimum-memory-requirement-to-768M.patch
+
 BuildRequires:	poppler-glib-devel libxml2-devel libgsf-devel libgxps-devel
 BuildRequires:	libuuid-devel
 BuildRequires:	nautilus-devel
@@ -138,6 +141,7 @@ This package contains the documentation for tracker
 %setup -q
 
 %patch1 -p1 -b .onlyshowin
+%patch2 -p1 -b .memory
 
 #%global evo_plugins_dir %(pkg-config evolution-plugin-3.0 --variable=plugindir)
 
@@ -271,6 +275,9 @@ fi
 %{_datadir}/gtk-doc/html/ontology/
 
 %changelog
+* Tue Nov 12 2013 Debarshi Ray <rishi at fedoraproject.org> - 0.16.3-4
+- Bump the minimum memory requirement to 768M (GNOME #712142)
+
 * Mon Nov 04 2013 Kalev Lember <kalevlember at gmail.com> - 0.16.3-3
 - Unbootstrap
 


More information about the scm-commits mailing list