Hello community, here is the log from the commit of package baloo5 for openSUSE:Factory checked in at 2016-03-26 15:21:20 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/baloo5 (Old) and /work/SRC/openSUSE:Factory/.baloo5.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "baloo5" Changes: -------- --- /work/SRC/openSUSE:Factory/baloo5/baloo5.changes 2016-03-16 10:27:08.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.baloo5.new/baloo5.changes 2016-03-26 15:21:22.000000000 +0100 @@ -1,0 +2,7 @@ +Tue Mar 22 12:06:39 UTC 2016 - [email protected] + +- Added Do-not-block-indexing-of-text-plain-files-without-txt-extension.patch + from upstream: fixes indexing of text/plain files without .txt + extension (kde#358098) + +------------------------------------------------------------------- New: ---- Do-not-block-indexing-of-text-plain-files-without-txt-extension.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ baloo5.spec ++++++ --- /var/tmp/diff_new_pack.YOfInl/_old 2016-03-26 15:21:23.000000000 +0100 +++ /var/tmp/diff_new_pack.YOfInl/_new 2016-03-26 15:21:23.000000000 +0100 @@ -31,6 +31,8 @@ Source99: %{name}-rpmlintrc # PATCH-FIX-OPENSUSE fix-cmakelists-comments.diff -- Change cmake 3.0 block comments to work in cmake 2.x Patch1: fix-cmakelists-comments.diff +# PATCH-FIX-UPSTREAM Do-not-block-indexing-of-text-plain-files-without-txt-extension.patch (kde#358098) -- fixes indexing of text/plain files without .txt extension +Patch2: Do-not-block-indexing-of-text-plain-files-without-txt-extension.patch BuildRequires: extra-cmake-modules >= %{_tar_path} BuildRequires: kf5-filesystem BuildRequires: libattr-devel @@ -146,6 +148,7 @@ %prep %setup -q -n baloo-%{version} %patch1 -p1 +%patch2 -p1 %build %cmake_kf5 -d build -- -DCMAKE_INSTALL_LOCALEDIR=share/locale/kf5 ++++++ Do-not-block-indexing-of-text-plain-files-without-txt-extension.patch ++++++ From: Priya Satbhaya <[email protected]> Date: Mon, 14 Mar 2016 07:44:57 +0000 Subject: Remove code blocking indexing of text/plain files without .txt extension X-Git-Url: http://quickgit.kde.org/?p=baloo.git&a=commitdiff&h=06efd6c05c15a64b53daac9e598666af584488ec --- Remove code blocking indexing of text/plain files without .txt extension REVIEW: 127362 BUG: 358098 --- --- a/src/file/extractor/app.cpp +++ b/src/file/extractor/app.cpp @@ -135,18 +135,6 @@ return; } - // - // HACK: We only want to index plain text files which end with a .txt - // - if (mimetype == QLatin1String("text/plain")) { - if (!url.endsWith(QLatin1String(".txt"))) { - qCDebug(BALOO) << "text/plain does not end with .txt. Ignoring"; - tr->removePhaseOne(id); - return; - } - } - - // // HACK: Also, we're ignoring ttext files which are greater tha 10 Mb as we // have trouble processing them //
