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

This commit is contained in:
Debarshi Ray 2013-11-12 16:13:50 +01:00
parent c208bcda33
commit 02fea6d26a
2 changed files with 34 additions and 1 deletions

View File

@ -0,0 +1,26 @@
From 5d841e9bdf3dc2a8e39e67d52c0b547fd6a26c88 Mon Sep 17 00:00:00 2001
From: Debarshi Ray <debarshir@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

View File

@ -15,7 +15,7 @@
Summary: Desktop-neutral search tool and indexer Summary: Desktop-neutral search tool and indexer
Name: tracker Name: tracker
Version: 0.16.3 Version: 0.16.3
Release: 3%{?dist} Release: 4%{?dist}
License: GPLv2+ License: GPLv2+
Group: Applications/System Group: Applications/System
URL: http://projects.gnome.org/tracker/ 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 # https://bugzilla.redhat.com/show_bug.cgi?id=771601
Patch1: tracker-0.15-onlyshowin.patch 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: poppler-glib-devel libxml2-devel libgsf-devel libgxps-devel
BuildRequires: libuuid-devel BuildRequires: libuuid-devel
BuildRequires: nautilus-devel BuildRequires: nautilus-devel
@ -138,6 +141,7 @@ This package contains the documentation for tracker
%setup -q %setup -q
%patch1 -p1 -b .onlyshowin %patch1 -p1 -b .onlyshowin
%patch2 -p1 -b .memory
#%global evo_plugins_dir %(pkg-config evolution-plugin-3.0 --variable=plugindir) #%global evo_plugins_dir %(pkg-config evolution-plugin-3.0 --variable=plugindir)
@ -271,6 +275,9 @@ fi
%{_datadir}/gtk-doc/html/ontology/ %{_datadir}/gtk-doc/html/ontology/
%changelog %changelog
* Tue Nov 12 2013 Debarshi Ray <rishi@fedoraproject.org> - 0.16.3-4
- Bump the minimum memory requirement to 768M (GNOME #712142)
* Mon Nov 04 2013 Kalev Lember <kalevlember@gmail.com> - 0.16.3-3 * Mon Nov 04 2013 Kalev Lember <kalevlember@gmail.com> - 0.16.3-3
- Unbootstrap - Unbootstrap