diff options
author | Andreas Proschofsky <suka@gentoo.org> | 2012-09-28 19:22:41 +0000 |
---|---|---|
committer | Andreas Proschofsky <suka@gentoo.org> | 2012-09-28 19:22:41 +0000 |
commit | 78c4e96102cf294195e87dc84b4ea33b55277c91 (patch) | |
tree | 34970060df4a98cd286dfe4f8c0ee21a99610201 /gnome-extra/gnome-documents | |
parent | Remove, in GNOME overlay now (diff) | |
download | suka-78c4e96102cf294195e87dc84b4ea33b55277c91.tar.gz suka-78c4e96102cf294195e87dc84b4ea33b55277c91.tar.bz2 suka-78c4e96102cf294195e87dc84b4ea33b55277c91.zip |
More cleanup work, use GNOME overlay instead
svn path=/; revision=350
Diffstat (limited to 'gnome-extra/gnome-documents')
-rw-r--r-- | gnome-extra/gnome-documents/Manifest | 3 | ||||
-rw-r--r-- | gnome-extra/gnome-documents/files/gnome-documents-searchspeed.patch | 58 | ||||
-rw-r--r-- | gnome-extra/gnome-documents/gnome-documents-0.5.2.1.ebuild | 61 |
3 files changed, 0 insertions, 122 deletions
diff --git a/gnome-extra/gnome-documents/Manifest b/gnome-extra/gnome-documents/Manifest deleted file mode 100644 index 0c8aa4a..0000000 --- a/gnome-extra/gnome-documents/Manifest +++ /dev/null @@ -1,3 +0,0 @@ -AUX gnome-documents-searchspeed.patch 1751 RMD160 037a37c01ba10fc0159b2bb3bd6d1bdeee994d61 SHA1 4c01180154e43d798a547b46950c926f5f17227b SHA256 97641b91b285f57b5ae6f36ece1b5469074c6909c74b8c9aa3c3563aa3264c77 -DIST gnome-documents-0.5.2.1.tar.xz 505848 RMD160 5d9e6f4cb5d84d22665e75122c8449a2d1cd77d2 SHA1 15e19eeca12982bc44cec6f1c3ae2039414e2695 SHA256 66663376fc8ae6c9b33494e3e15f32f86bf8827c996d35b29e0676e243b5ee22 -EBUILD gnome-documents-0.5.2.1.ebuild 1411 RMD160 50377a09d2a21f187e5edc8d0432d8ebcf4962e3 SHA1 d0238b221dce48eb7a5dc1bc3abdb7e1945d0997 SHA256 58c49329eb101c22e38822c72a93fdbc56d4221adf157daa2f79ff383e8a2e73 diff --git a/gnome-extra/gnome-documents/files/gnome-documents-searchspeed.patch b/gnome-extra/gnome-documents/files/gnome-documents-searchspeed.patch deleted file mode 100644 index 014c2c1..0000000 --- a/gnome-extra/gnome-documents/files/gnome-documents-searchspeed.patch +++ /dev/null @@ -1,58 +0,0 @@ -From 0596135f44b1edaaea6dd7398d109cd3662efa88 Mon Sep 17 00:00:00 2001 -From: "Owen W. Taylor" <otaylor@fishsoup.net> -Date: Mon, 26 Mar 2012 17:47:45 -0400 -Subject: [PATCH] FTS: proof of concept patch - -https://bugzilla.gnome.org/show_bug.cgi?id=672690 ---- - src/query.js | 11 +++++++++-- - src/searchbar.js | 12 ++++++++++++ - 2 files changed, 21 insertions(+), 2 deletions(-) - -diff --git a/src/query.js b/src/query.js -index 7596512..0e91131 100644 ---- a/src/query.js -+++ b/src/query.js -@@ -140,8 +140,15 @@ QueryBuilder.prototype = { - - _buildQueryInternal: function(global, flags) { - let globalSparql = -- 'WHERE { ?urn a rdfs:Resource ' + -- this._buildOptional(); -+ 'WHERE { ?urn a rdfs:Resource '; -+ -+ if ((flags & QueryFlags.UNFILTERED) == 0) { -+ let ftsclause = Global.searchMatchManager.getFTS(); -+ if (ftsclause != null) -+ globalSparql += '; ' + ftsclause + ' '; -+ } -+ -+ globalSparql += this._buildOptional(); - - if (global) { - if ((flags & QueryFlags.UNFILTERED) == 0) -diff --git a/src/searchbar.js b/src/searchbar.js -index 89c1b8b..a979074 100644 ---- a/src/searchbar.js -+++ b/src/searchbar.js -@@ -216,6 +216,18 @@ SearchMatchManager.prototype = { - this.setActiveItemById(SearchMatchStock.ALL); - }, - -+ getFTS: function() { -+ let terms = Global.searchController.getTerms(); -+ if (terms.length == 0 || (terms.length == 1 && terms[0] == '')) -+ return null; -+ -+ let starterms = []; -+ for (let i = 0; i < terms.length; i++) -+ starterms.push(terms[i] + '*'); -+ -+ return 'fts:match "' + starterms.join(' ') + '"'; -+ }, -+ - getFilter: function() { - let terms = Global.searchController.getTerms(); - let filters = []; --- -1.7.9.3
\ No newline at end of file diff --git a/gnome-extra/gnome-documents/gnome-documents-0.5.2.1.ebuild b/gnome-extra/gnome-documents/gnome-documents-0.5.2.1.ebuild deleted file mode 100644 index beb4753..0000000 --- a/gnome-extra/gnome-documents/gnome-documents-0.5.2.1.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI="4" -GCONF_DEBUG="no" -GNOME2_LA_PUNT="yes" - -inherit gnome2 eutils -if [[ ${PV} = 9999 ]]; then - inherit gnome2-live -fi - -DESCRIPTION="GNOME document manager" -HOMEPAGE="https://live.gnome.org/Design/Apps/Documents" - -LICENSE="GPL-2" -SLOT="0" -IUSE="" -if [[ ${PV} = 9999 ]]; then - KEYWORDS="" -else - KEYWORDS="~amd64 ~x86" -fi - -# Need gdk-pixbuf-2.25 for gdk_pixbuf_get_pixels_with_length -COMMON_DEPEND=" - >=app-misc/tracker-0.13.1 - >=app-text/evince-3.3.0[introspection] - dev-libs/gjs - >=dev-libs/glib-2.31.6:2 - >=dev-libs/gobject-introspection-1.31.6 - >=dev-libs/libgdata-0.11.0[introspection] - >=dev-libs/libzapojit-0.0.2 - gnome-base/gnome-desktop:3 - >=media-libs/clutter-gtk-1.0.2:1.0[introspection] - >=net-libs/gnome-online-accounts-3.2.0 - net-libs/liboauth - net-libs/libsoup:2.4 - >=x11-libs/gdk-pixbuf-2.25:2[introspection] - >=x11-libs/gtk+-3.3.6:3[introspection] - x11-libs/pango[introspection]" -RDEPEND="${COMMON_DEPEND} - media-libs/clutter[introspection] - sys-apps/dbus - x11-themes/gnome-icon-theme-symbolic" -DEPEND="${COMMON_DEPEND} - >=dev-util/intltool-0.40 - >=sys-devel/gettext-0.17 - virtual/pkgconfig" - -pkg_setup() { - DOCS="AUTHORS NEWS README TODO" - G2CONF="${G2CONF} --disable-schemas-compile" -} - -src_prepare() { - gnome2_src_prepare - - epatch ${FILESDIR}/${PN}-searchspeed.patch -} |