diff -Nru unity-lens-video-0.3.12/debian/changelog unity-lens-video-0.3.14/debian/changelog --- unity-lens-video-0.3.12/debian/changelog 2012-11-06 20:13:56.000000000 +0000 +++ unity-lens-video-0.3.14/debian/changelog 2012-11-06 20:13:57.000000000 +0000 @@ -1,3 +1,12 @@ +unity-lens-video (0.3.14-0ubuntu1) quantal-proposed; urgency=low + + * New upstream release. + - Cherry-picked fixes included + - Replace spaces in search string by * to improve locate search + (LP: #1067304) + + -- Timo Jyrinki Tue, 16 Oct 2012 15:16:09 +0300 + unity-lens-video (0.3.12-0ubuntu3) quantal; urgency=low * Cherry-picked from upstream: diff -Nru unity-lens-video-0.3.12/setup.py unity-lens-video-0.3.14/setup.py --- unity-lens-video-0.3.12/setup.py 2012-10-02 14:57:43.000000000 +0000 +++ unity-lens-video-0.3.14/setup.py 2012-10-16 12:15:08.000000000 +0000 @@ -4,7 +4,7 @@ from DistUtilsExtra.command import * setup(name="unity-lens-video", - version="0.3.12", + version="0.3.14", author="David Calle", author_email="davidc@framli.eu", url="http://launchpad.net/~davidc3", diff -Nru unity-lens-video-0.3.12/src/unity-lens-video unity-lens-video-0.3.14/src/unity-lens-video --- unity-lens-video-0.3.12/src/unity-lens-video 2012-11-06 20:13:56.000000000 +0000 +++ unity-lens-video-0.3.14/src/unity-lens-video 2012-10-16 12:15:08.000000000 +0000 @@ -257,7 +257,7 @@ results = GLib.spawn_sync(None, ['/usr/bin/locate', '-id', CACHE+'/'+DB, - FOLDER+'*'+search+'*' ], + FOLDER+'*'+search.replace (" ","*")+'*' ], None, 0, None, None) except GLib.GError: results = None diff -Nru unity-lens-video-0.3.12/tests/manual/local-video-search.txt unity-lens-video-0.3.14/tests/manual/local-video-search.txt --- unity-lens-video-0.3.12/tests/manual/local-video-search.txt 1970-01-01 00:00:00.000000000 +0000 +++ unity-lens-video-0.3.14/tests/manual/local-video-search.txt 2012-10-16 12:15:08.000000000 +0000 @@ -0,0 +1,14 @@ +Search a local video file +--------------------------- +Test that local video files in the ~/Videos folder are easily found + +Setup: +Have some video files available in ~/Videos folder. + +Actions: +1. Open the Dash and switch to the video lens. +2. Make sure some video files from ~/Videos folder are displayed. +3. Search for multiple consecutive substrings of a video file name. + +Expected Result: +Results matching the search should be displayed. For example, searching for "ubuntu 1" should returns "ubuntu_video1.avi".