Merge lp:~townsend/libertine-scope/release-1.3.1 into lp:libertine-scope/release

Proposed by Christopher Townsend
Status: Merged
Approved by: Larry Price
Approved revision: 52
Merged at revision: 52
Proposed branch: lp:~townsend/libertine-scope/release-1.3.1
Merge into: lp:libertine-scope/release
Diff against target: 1329 lines (+222/-423)
46 files modified
CMakeLists.txt (+38/-24)
README.md (+1/-12)
data/CMakeLists.txt (+2/-16)
data/libertine-scope.ini.in (+0/-7)
debian/changelog (+13/-0)
debian/control (+1/-1)
debian/rules (+3/-1)
libertine-scope.apparmor (+1/-1)
manifest.json.in (+1/-1)
po/CMakeLists.txt (+12/-8)
po/POTFILES.in.in (+1/-1)
po/en_AU.po (+5/-31)
po/en_GB.po (+5/-31)
po/es.po (+5/-31)
po/fi.po (+5/-31)
po/fr.po (+5/-31)
po/gl.po (+4/-30)
po/libertine-scope.pot (+22/-18)
po/ms.po (+5/-31)
po/pt.po (+5/-31)
po/uk.po (+5/-31)
scope/CMakeLists.txt (+2/-0)
scope/apps/CMakeLists.txt (+28/-13)
scope/apps/action.cpp (+6/-5)
scope/apps/action.h (+1/-1)
scope/apps/applauncher.cpp (+1/-1)
scope/apps/blacklist.cpp (+1/-1)
scope/apps/config.h.in (+0/-1)
scope/apps/container.cpp (+1/-1)
scope/apps/container.h (+1/-1)
scope/apps/hidden_apps.cpp (+1/-1)
scope/apps/libertine-scope.ubuntu_libertine-scope.ini.in.in (+11/-0)
scope/apps/libertine.cpp (+2/-2)
scope/apps/preview.cpp (+2/-2)
scope/apps/query.cpp (+8/-8)
scope/apps/query.h (+3/-3)
scope/apps/scope.cpp (+5/-5)
scope/apps/scope.h (+1/-1)
tests/CMakeLists.txt (+1/-1)
tests/fake_container.h (+1/-1)
tests/fake_libertine.h (+1/-1)
tests/scopefixture.h (+1/-1)
tests/test_blacklist.cpp (+1/-1)
tests/test_hidden_apps.cpp (+1/-1)
tests/test_preview.cpp (+1/-1)
tests/test_query.cpp (+2/-2)
To merge this branch: bzr merge lp:~townsend/libertine-scope/release-1.3.1
Reviewer Review Type Date Requested Status
Larry Price Approve
Review via email: mp+300651@code.launchpad.net

Commit message

* Rename the scope to "Desktop Apps" per product management and design. (LP: #1602393)
* Fix parallel make and prevent generation of translations except during debuild.
* Suppress compiler warnings for header files included from libubuntu-app-launch.
* Restructure libertine-scope in preparation for adding the store scope.

To post a comment you must log in.
51. By Christopher Townsend

Merge lp:libertine-scope to fix some package name issues.

52. By Christopher Townsend

Merge lp:libertine-scope to add wildcard for matching lttng-ust-wait to avoid the apparmor spam in syslog.

Revision history for this message
Larry Price (larryprice) wrote :

lgtm!

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'CMakeLists.txt'
2--- CMakeLists.txt 2016-06-16 14:32:09 +0000
3+++ CMakeLists.txt 2016-07-22 13:46:06 +0000
4@@ -1,6 +1,8 @@
5-cmake_minimum_required(VERSION 3.0)
6+cmake_minimum_required(VERSION 3.0.2)
7+cmake_policy(SET CMP0048 NEW)
8+
9 project(libertine-scope
10- VERSION 1.3
11+ VERSION 1.3.1
12 LANGUAGES CXX)
13
14 # We require at least g++ 4.9, to avoid ABI breakage with earlier versions.
15@@ -24,40 +26,47 @@
16
17 # Search for our dependencies
18 include(GNUInstallDirs)
19-find_package(PkgConfig)
20+find_package(PkgConfig REQUIRED)
21 find_package(Intltool)
22 find_package(Qt5Core REQUIRED)
23-find_package(Qt5Gui REQUIRED)
24-
25-pkg_check_modules(SCOPE libunity-scopes>=0.6.0 REQUIRED)
26-pkg_check_modules(UAL ubuntu-app-launch-2>=0.5.0 REQUIRED)
27-pkg_check_modules(LIBERTINE libertine REQUIRED)
28+find_program(INTLTOOL_MERGE intltool-merge)
29+
30+# useful variables
31+set(APPS_LIB_DIR ${CMAKE_INSTALL_FULL_LIBDIR}/unity-scopes/libertine-scope/)
32+set(APPS_DATA_DIR ${CMAKE_INSTALL_FULL_DATADIR}/unity/scopes/libertine-scope/)
33+set(SCOPE_NAME "libertine-scope")
34+set(SCOPE_DISPLAY_NAME "Desktop Apps")
35+set(PACKAGE_NAME "libertine-scope.ubuntu")
36+set(FULLY_QUALIFIED_NAME "${PACKAGE_NAME}_${SCOPE_NAME}")
37+option(CLICK_MODE "Installs to a contained location" off)
38+
39+add_definitions(-DSCOPE_NAME="${SCOPE_NAME}")
40+add_definitions(-DGETTEXT_PACKAGE="${SCOPE_NAME}")
41+
42+pkg_check_modules(SCOPE libunity-scopes>=1.0.0 REQUIRED)
43+pkg_check_modules(UAL ubuntu-app-launch-2>=0.9.0 REQUIRED)
44+pkg_check_modules(LIBERTINE libertine>=0.99 REQUIRED)
45
46 # Add our dependencies to the include paths
47 include_directories(
48 ${CMAKE_SOURCE_DIR}
49- ${CMAKE_SOURCE_DIR}/libertine-scope
50 ${SCOPE_INCLUDE_DIRS}
51- ${UAL_INCLUDE_DIRS}
52+ SYSTEM ${UAL_INCLUDE_DIRS}
53 ${LIBERTINE_INCLUDE_DIRS}
54 )
55
56-set(PACKAGE_NAME "libertine-scope.ubuntu")
57 set(APP ${PROJECT})
58
59 # Important project paths
60-# Use this SCOPE_INSTALL_DIR when building the debian
61-set(SCOPE_INSTALL_DIR ${CMAKE_INSTALL_FULL_LIBDIR}/unity-scopes/libertine-scope/)
62-# USE this when building the click
63-#set(SCOPE_INSTALL_DIR "/libertine-scope")
64+if (CLICK_MODE)
65+ set(SCOPE_INSTALL_DIR "/libertine-scope")
66+else()
67+ set(SCOPE_INSTALL_DIR ${CMAKE_INSTALL_FULL_LIBDIR}/unity-scopes/libertine-scope/)
68+endif(CLICK_MODE)
69+
70 set(SCOPE_NAME "libertine-scope")
71 set(GETTEXT_PACKAGE "${SCOPE_NAME}")
72
73-# If we need to refer to the scope's name or package in code, these definitions will help
74-add_definitions(-DPACKAGE_NAME="${PACKAGE_NAME}")
75-add_definitions(-DSCOPE_NAME="${SCOPE_NAME}")
76-add_definitions(-DGETTEXT_PACKAGE="${GETTEXT_PACKAGE}")
77-
78 # This command figures out the target architecture and puts it into the manifest file
79 execute_process(COMMAND dpkg-architecture -qDEB_HOST_ARCH
80 OUTPUT_VARIABLE CLICK_ARCH
81@@ -66,15 +75,20 @@
82
83 # Configure and install the click manifest and apparmor files
84 configure_file(manifest.json.in ${CMAKE_CURRENT_BINARY_DIR}/manifest.json)
85-install(FILES
86+if (CLICK_MODE)
87+ install(FILES
88+ ${CMAKE_CURRENT_BINARY_DIR}/manifest.json
89+ "libertine-scope.apparmor"
90+ DESTINATION "/")
91+else()
92+ install(FILES
93 ${CMAKE_CURRENT_BINARY_DIR}/manifest.json
94 "libertine-scope.apparmor"
95 DESTINATION ${SCOPE_INSTALL_DIR})
96-#Use this DESTINATION when building click
97-# DESTINATION "/")
98+endif()
99
100 # Add our main directories
101-add_subdirectory(libertine-scope)
102+add_subdirectory(scope)
103 add_subdirectory(data)
104 add_subdirectory(po)
105
106
107=== modified file 'README.md'
108--- README.md 2016-01-06 14:55:03 +0000
109+++ README.md 2016-07-22 13:46:06 +0000
110@@ -19,18 +19,7 @@
111 Testinmg the Scope
112 ------------------
113
114-To test the built scope, it needs to be be installed into a staging area first.
115-That's because the Unity test tools have rigid assumptions about the layout of various
116-installed data files, and the division between the sources and the built
117-artifacts that the CMake toolchain delivers do not meet those assumptions. SO
118-be it: installing into a staging area is no great hassle, but if you forget to
119-do it in your compile/install/run cycle you will meet with frustration.
120-
121 Without system installation, you can test the scope using the unity-scope-tool
122 package available in the Ubuntu archives.
123
124-Here's the typical build/install/test cycle.
125-
126- make install DESTDIR=/tmpstaging/
127- unity-scope-tool /tmp/staging/usr/local/lib/unity-scopes/libertine-scope/libertine-scope.ini
128-
129+ unity-scope-tool build/scope/apps/libertine-scope.ubuntu_libertine-scope.ini
130
131=== modified file 'data/CMakeLists.txt'
132--- data/CMakeLists.txt 2016-06-13 18:06:36 +0000
133+++ data/CMakeLists.txt 2016-07-22 13:46:06 +0000
134@@ -1,26 +1,12 @@
135 # Put the ini files in the build directory next to the scope
136 # .so file so that the test tools can find them.
137-intltool_merge_translations(
138- "libertine-scope.ini.in"
139- "${CMAKE_CURRENT_BINARY_DIR}/${PACKAGE_NAME}_${SCOPE_NAME}.ini"
140- ALL
141- UTF8
142-)
143-
144-# Install the scope ini files
145-install(
146- FILES
147- "${CMAKE_CURRENT_BINARY_DIR}/${PACKAGE_NAME}_${SCOPE_NAME}.ini"
148- DESTINATION
149- ${SCOPE_INSTALL_DIR}
150-)
151
152 # Install the scope images
153 install(
154 FILES
155- "icon.png"
156+ "apps.png"
157 DESTINATION
158- ${SCOPE_INSTALL_DIR}
159+ ${APPS_DATA_DIR}
160 )
161
162 install(
163
164=== renamed file 'data/icon.png' => 'data/apps.png'
165=== renamed file 'data/icon.svg' => 'data/apps.svg'
166=== removed file 'data/libertine-scope.ini.in'
167--- data/libertine-scope.ini.in 2016-06-02 16:56:29 +0000
168+++ data/libertine-scope.ini.in 1970-01-01 00:00:00 +0000
169@@ -1,7 +0,0 @@
170-[ScopeConfig]
171-_DisplayName=XApps
172-_Description=Surface and launch DEB-packaged X11-based applications.
173-Art=screenshot.png
174-Author=The Canonical Libertine Team <libertine-team@lists.launchpad.net>
175-Icon=icon.png
176-Keywords=apps
177
178=== modified file 'debian/changelog'
179--- debian/changelog 2016-06-16 14:59:30 +0000
180+++ debian/changelog 2016-07-22 13:46:06 +0000
181@@ -1,3 +1,16 @@
182+libertine-scope (1.3.1-0ubuntu1) UNRELEASED; urgency=medium
183+
184+ [ Chris Townsend ]
185+ * Rename the scope to "Desktop Apps" per product management and design.
186+ (LP: #1602393)
187+
188+ [ Larry Price ]
189+ * Fix parallel make and prevent generation of translations except during debuild.
190+ * Suppress compiler warnings for header files included from libubuntu-app-launch.
191+ * Restructure libertine-scope in preparation for adding the store scope.
192+
193+ -- Chris Townsend <christopher.townsend@canonical.com> Wed, 20 Jul 2016 09:58:17 -0400
194+
195 libertine-scope (1.3+16.10.20160616-0ubuntu1) yakkety; urgency=medium
196
197 [ Chris Townsend ]
198
199=== modified file 'debian/control'
200--- debian/control 2016-05-04 14:37:57 +0000
201+++ debian/control 2016-07-22 13:46:06 +0000
202@@ -9,7 +9,7 @@
203 dh-translations,
204 google-mock,
205 intltool,
206- libunity-scopes-dev (>= 0.6.0),
207+ libunity-scopes-dev (>= 1.0.0),
208 liburl-dispatcher1-dev,
209 libubuntu-app-launch2-dev,
210 liblibertine-dev,
211
212=== modified file 'debian/rules'
213--- debian/rules 2016-02-03 19:45:47 +0000
214+++ debian/rules 2016-07-22 13:46:06 +0000
215@@ -1,5 +1,7 @@
216 #!/usr/bin/make -f
217
218 %:
219- dh $@ --with translations
220+ dh $@
221
222+override_dh_auto_build:
223+ dh_auto_build -- all translations
224
225=== modified file 'libertine-scope.apparmor'
226--- libertine-scope.apparmor 2016-06-09 11:58:58 +0000
227+++ libertine-scope.apparmor 2016-07-22 13:46:06 +0000
228@@ -8,7 +8,7 @@
229 "@{CLICK_DIR}/*puritine*/"
230 ],
231 "write_path": [
232- "/{dev,run}/shm/lttng-ust-wait-5*"
233+ "/{dev,run}/shm/lttng-ust-wait-*"
234 ]
235 }
236
237
238=== modified file 'manifest.json.in'
239--- manifest.json.in 2016-06-03 13:50:46 +0000
240+++ manifest.json.in 2016-07-22 13:46:06 +0000
241@@ -10,6 +10,6 @@
242 },
243 "maintainer": "Ubuntu Libertine Team <libertine-team@lists.launchpad.net>",
244 "name": "@PACKAGE_NAME@",
245- "title": "@SCOPE_NAME@",
246+ "title": "Desktop Apps",
247 "version": "@PROJECT_VERSION@"
248 }
249
250=== modified file 'po/CMakeLists.txt'
251--- po/CMakeLists.txt 2016-06-09 16:25:23 +0000
252+++ po/CMakeLists.txt 2016-07-22 13:46:06 +0000
253@@ -1,21 +1,25 @@
254 intltool_update_potfile(
255- ALL
256 KEYWORDS "_" "_:1,2" "N_" "N_:1,2"
257 POTFILES_TEMPLATE POTFILES.in.in
258+ COPYRIGHT_HOLDER "Canonical Ltd."
259 GETTEXT_PACKAGE ${GETTEXT_PACKAGE}
260 )
261
262-intltool_install_translations(
263- ALL
264- GETTEXT_PACKAGE ${GETTEXT_PACKAGE}
265-)
266+if (CLICK_MODE)
267+ intltool_install_translations(
268+ ALL
269+ GETTEXT_PACKAGE ${GETTEXT_PACKAGE}
270+ )
271+else()
272+ intltool_install_translations(
273+ GETTEXT_PACKAGE ${GETTEXT_PACKAGE}
274+ )
275+endif(CLICK_MODE)
276
277 file(GLOB_RECURSE ALL_POFILES "*.po")
278
279 add_custom_target(potfiles
280- ALL
281 SOURCES
282 POTFILES.in.in
283 ${GETTEXT_PACKAGE}.pot
284- ${ALL_POFILES}
285-)
286+ ${ALL_POFILES})
287
288=== modified file 'po/POTFILES.in.in'
289--- po/POTFILES.in.in 2016-02-27 03:27:46 +0000
290+++ po/POTFILES.in.in 2016-07-22 13:46:06 +0000
291@@ -1,2 +1,2 @@
292-[type: gettext/ini] data/libertine-scope.ini.in
293+[type: gettext/ini] scope/apps/libertine-scope.ubuntu_libertine-scope.ini.in.in
294 @GENERATED_POTFILES@
295
296=== modified file 'po/en_AU.po'
297--- po/en_AU.po 2016-07-21 06:09:37 +0000
298+++ po/en_AU.po 2016-07-22 13:46:06 +0000
299@@ -7,46 +7,20 @@
300 msgstr ""
301 "Project-Id-Version: libertine-scope\n"
302 "Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
303-"POT-Creation-Date: 2016-07-20 12:38-0400\n"
304+"POT-Creation-Date: 2016-07-15 15:47-0400\n"
305 "PO-Revision-Date: 2016-05-21 11:19+0000\n"
306 "Last-Translator: Jared Norris <jarednorris@ubuntu.com>\n"
307 "Language-Team: English (Australia) <en_AU@li.org>\n"
308 "MIME-Version: 1.0\n"
309 "Content-Type: text/plain; charset=UTF-8\n"
310 "Content-Transfer-Encoding: 8bit\n"
311-"X-Launchpad-Export-Date: 2016-07-21 06:09+0000\n"
312-"X-Generator: Launchpad (build 18147)\n"
313+"X-Launchpad-Export-Date: 2016-07-17 06:22+0000\n"
314+"X-Generator: Launchpad (build 18140)\n"
315
316-#: ../scope/apps/libertine-scope.ubuntu_libertine-scope.ini.in.in.h:1
317-#: ../scope/apps/query.cpp:38
318+#: ../data/libertine-scope.ini.in.h:1
319 msgid "Desktop Apps"
320 msgstr ""
321
322-#: ../scope/apps/libertine-scope.ubuntu_libertine-scope.ini.in.in.h:2
323+#: ../data/libertine-scope.ini.in.h:2
324 msgid "Surface and launch DEB-packaged X11-based applications."
325 msgstr ""
326-
327-#: ../scope/apps/libertine-scope.ubuntu_libertine-scope.ini.in.in.h:3
328-msgid "Search apps"
329-msgstr ""
330-
331-#: ../scope/apps/query.cpp:39
332-msgid "Hidden Desktop Apps"
333-msgstr ""
334-
335-#: ../scope/apps/query.cpp:43
336-msgid "Exclude Apps: "
337-msgstr ""
338-
339-#. anonymous namespace
340-#: ../scope/apps/query.cpp:113
341-msgid ""
342-"No applications available. Install new applications with the Libertine "
343-"Manager."
344-msgstr ""
345-
346-#: ../scope/apps/query.cpp:114
347-msgid ""
348-"All applications hidden. Reset filters or check the Hidden Desktop Apps "
349-"department."
350-msgstr ""
351
352=== modified file 'po/en_GB.po'
353--- po/en_GB.po 2016-07-21 06:09:37 +0000
354+++ po/en_GB.po 2016-07-22 13:46:06 +0000
355@@ -7,46 +7,20 @@
356 msgstr ""
357 "Project-Id-Version: libertine-scope\n"
358 "Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
359-"POT-Creation-Date: 2016-07-20 12:38-0400\n"
360+"POT-Creation-Date: 2016-07-15 15:47-0400\n"
361 "PO-Revision-Date: 2016-05-20 16:47+0000\n"
362 "Last-Translator: Andi Chandler <Unknown>\n"
363 "Language-Team: English (United Kingdom) <en_GB@li.org>\n"
364 "MIME-Version: 1.0\n"
365 "Content-Type: text/plain; charset=UTF-8\n"
366 "Content-Transfer-Encoding: 8bit\n"
367-"X-Launchpad-Export-Date: 2016-07-21 06:09+0000\n"
368-"X-Generator: Launchpad (build 18147)\n"
369+"X-Launchpad-Export-Date: 2016-07-17 06:22+0000\n"
370+"X-Generator: Launchpad (build 18140)\n"
371
372-#: ../scope/apps/libertine-scope.ubuntu_libertine-scope.ini.in.in.h:1
373-#: ../scope/apps/query.cpp:38
374+#: ../data/libertine-scope.ini.in.h:1
375 msgid "Desktop Apps"
376 msgstr ""
377
378-#: ../scope/apps/libertine-scope.ubuntu_libertine-scope.ini.in.in.h:2
379+#: ../data/libertine-scope.ini.in.h:2
380 msgid "Surface and launch DEB-packaged X11-based applications."
381 msgstr ""
382-
383-#: ../scope/apps/libertine-scope.ubuntu_libertine-scope.ini.in.in.h:3
384-msgid "Search apps"
385-msgstr ""
386-
387-#: ../scope/apps/query.cpp:39
388-msgid "Hidden Desktop Apps"
389-msgstr ""
390-
391-#: ../scope/apps/query.cpp:43
392-msgid "Exclude Apps: "
393-msgstr ""
394-
395-#. anonymous namespace
396-#: ../scope/apps/query.cpp:113
397-msgid ""
398-"No applications available. Install new applications with the Libertine "
399-"Manager."
400-msgstr ""
401-
402-#: ../scope/apps/query.cpp:114
403-msgid ""
404-"All applications hidden. Reset filters or check the Hidden Desktop Apps "
405-"department."
406-msgstr ""
407
408=== modified file 'po/es.po'
409--- po/es.po 2016-07-21 06:09:37 +0000
410+++ po/es.po 2016-07-22 13:46:06 +0000
411@@ -7,47 +7,21 @@
412 msgstr ""
413 "Project-Id-Version: libertine-scope\n"
414 "Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
415-"POT-Creation-Date: 2016-07-20 12:38-0400\n"
416+"POT-Creation-Date: 2016-07-15 15:47-0400\n"
417 "PO-Revision-Date: 2016-06-21 12:46+0000\n"
418 "Last-Translator: Víctor R. Ruiz <Unknown>\n"
419 "Language-Team: Spanish <es@li.org>\n"
420 "MIME-Version: 1.0\n"
421 "Content-Type: text/plain; charset=UTF-8\n"
422 "Content-Transfer-Encoding: 8bit\n"
423-"X-Launchpad-Export-Date: 2016-07-21 06:09+0000\n"
424-"X-Generator: Launchpad (build 18147)\n"
425+"X-Launchpad-Export-Date: 2016-07-17 06:22+0000\n"
426+"X-Generator: Launchpad (build 18140)\n"
427
428-#: ../scope/apps/libertine-scope.ubuntu_libertine-scope.ini.in.in.h:1
429-#: ../scope/apps/query.cpp:38
430+#: ../data/libertine-scope.ini.in.h:1
431 msgid "Desktop Apps"
432 msgstr ""
433
434-#: ../scope/apps/libertine-scope.ubuntu_libertine-scope.ini.in.in.h:2
435+#: ../data/libertine-scope.ini.in.h:2
436 msgid "Surface and launch DEB-packaged X11-based applications."
437 msgstr ""
438 "Mostrar y ejecutar aplicaciones basadas en X11 y empaquetadas en DEB."
439-
440-#: ../scope/apps/libertine-scope.ubuntu_libertine-scope.ini.in.in.h:3
441-msgid "Search apps"
442-msgstr ""
443-
444-#: ../scope/apps/query.cpp:39
445-msgid "Hidden Desktop Apps"
446-msgstr ""
447-
448-#: ../scope/apps/query.cpp:43
449-msgid "Exclude Apps: "
450-msgstr ""
451-
452-#. anonymous namespace
453-#: ../scope/apps/query.cpp:113
454-msgid ""
455-"No applications available. Install new applications with the Libertine "
456-"Manager."
457-msgstr ""
458-
459-#: ../scope/apps/query.cpp:114
460-msgid ""
461-"All applications hidden. Reset filters or check the Hidden Desktop Apps "
462-"department."
463-msgstr ""
464
465=== modified file 'po/fi.po'
466--- po/fi.po 2016-07-21 06:09:37 +0000
467+++ po/fi.po 2016-07-22 13:46:06 +0000
468@@ -7,46 +7,20 @@
469 msgstr ""
470 "Project-Id-Version: libertine-scope\n"
471 "Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
472-"POT-Creation-Date: 2016-07-20 12:38-0400\n"
473+"POT-Creation-Date: 2016-07-15 15:47-0400\n"
474 "PO-Revision-Date: 2016-05-30 07:34+0000\n"
475 "Last-Translator: Jiri Grönroos <Unknown>\n"
476 "Language-Team: Finnish <fi@li.org>\n"
477 "MIME-Version: 1.0\n"
478 "Content-Type: text/plain; charset=UTF-8\n"
479 "Content-Transfer-Encoding: 8bit\n"
480-"X-Launchpad-Export-Date: 2016-07-21 06:09+0000\n"
481-"X-Generator: Launchpad (build 18147)\n"
482+"X-Launchpad-Export-Date: 2016-07-17 06:22+0000\n"
483+"X-Generator: Launchpad (build 18140)\n"
484
485-#: ../scope/apps/libertine-scope.ubuntu_libertine-scope.ini.in.in.h:1
486-#: ../scope/apps/query.cpp:38
487+#: ../data/libertine-scope.ini.in.h:1
488 msgid "Desktop Apps"
489 msgstr ""
490
491-#: ../scope/apps/libertine-scope.ubuntu_libertine-scope.ini.in.in.h:2
492+#: ../data/libertine-scope.ini.in.h:2
493 msgid "Surface and launch DEB-packaged X11-based applications."
494 msgstr ""
495-
496-#: ../scope/apps/libertine-scope.ubuntu_libertine-scope.ini.in.in.h:3
497-msgid "Search apps"
498-msgstr ""
499-
500-#: ../scope/apps/query.cpp:39
501-msgid "Hidden Desktop Apps"
502-msgstr ""
503-
504-#: ../scope/apps/query.cpp:43
505-msgid "Exclude Apps: "
506-msgstr ""
507-
508-#. anonymous namespace
509-#: ../scope/apps/query.cpp:113
510-msgid ""
511-"No applications available. Install new applications with the Libertine "
512-"Manager."
513-msgstr ""
514-
515-#: ../scope/apps/query.cpp:114
516-msgid ""
517-"All applications hidden. Reset filters or check the Hidden Desktop Apps "
518-"department."
519-msgstr ""
520
521=== modified file 'po/fr.po'
522--- po/fr.po 2016-07-21 06:09:37 +0000
523+++ po/fr.po 2016-07-22 13:46:06 +0000
524@@ -7,46 +7,20 @@
525 msgstr ""
526 "Project-Id-Version: libertine-scope\n"
527 "Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
528-"POT-Creation-Date: 2016-07-20 12:38-0400\n"
529+"POT-Creation-Date: 2016-07-15 15:47-0400\n"
530 "PO-Revision-Date: 2016-05-21 12:23+0000\n"
531 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
532 "Language-Team: French <fr@li.org>\n"
533 "MIME-Version: 1.0\n"
534 "Content-Type: text/plain; charset=UTF-8\n"
535 "Content-Transfer-Encoding: 8bit\n"
536-"X-Launchpad-Export-Date: 2016-07-21 06:09+0000\n"
537-"X-Generator: Launchpad (build 18147)\n"
538+"X-Launchpad-Export-Date: 2016-07-17 06:22+0000\n"
539+"X-Generator: Launchpad (build 18140)\n"
540
541-#: ../scope/apps/libertine-scope.ubuntu_libertine-scope.ini.in.in.h:1
542-#: ../scope/apps/query.cpp:38
543+#: ../data/libertine-scope.ini.in.h:1
544 msgid "Desktop Apps"
545 msgstr ""
546
547-#: ../scope/apps/libertine-scope.ubuntu_libertine-scope.ini.in.in.h:2
548+#: ../data/libertine-scope.ini.in.h:2
549 msgid "Surface and launch DEB-packaged X11-based applications."
550 msgstr ""
551-
552-#: ../scope/apps/libertine-scope.ubuntu_libertine-scope.ini.in.in.h:3
553-msgid "Search apps"
554-msgstr ""
555-
556-#: ../scope/apps/query.cpp:39
557-msgid "Hidden Desktop Apps"
558-msgstr ""
559-
560-#: ../scope/apps/query.cpp:43
561-msgid "Exclude Apps: "
562-msgstr ""
563-
564-#. anonymous namespace
565-#: ../scope/apps/query.cpp:113
566-msgid ""
567-"No applications available. Install new applications with the Libertine "
568-"Manager."
569-msgstr ""
570-
571-#: ../scope/apps/query.cpp:114
572-msgid ""
573-"All applications hidden. Reset filters or check the Hidden Desktop Apps "
574-"department."
575-msgstr ""
576
577=== modified file 'po/gl.po'
578--- po/gl.po 2016-07-21 06:09:37 +0000
579+++ po/gl.po 2016-07-22 13:46:06 +0000
580@@ -7,47 +7,21 @@
581 msgstr ""
582 "Project-Id-Version: libertine-scope\n"
583 "Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
584-"POT-Creation-Date: 2016-07-20 12:38-0400\n"
585+"POT-Creation-Date: 2016-07-15 15:47-0400\n"
586 "PO-Revision-Date: 2016-07-19 18:41+0000\n"
587 "Last-Translator: Marcos Lans <Unknown>\n"
588 "Language-Team: Galician <gl@li.org>\n"
589 "MIME-Version: 1.0\n"
590 "Content-Type: text/plain; charset=UTF-8\n"
591 "Content-Transfer-Encoding: 8bit\n"
592-"X-Launchpad-Export-Date: 2016-07-21 06:09+0000\n"
593+"X-Launchpad-Export-Date: 2016-07-20 06:12+0000\n"
594 "X-Generator: Launchpad (build 18147)\n"
595
596-#: ../scope/apps/libertine-scope.ubuntu_libertine-scope.ini.in.in.h:1
597-#: ../scope/apps/query.cpp:38
598+#: ../data/libertine-scope.ini.in.h:1
599 msgid "Desktop Apps"
600 msgstr "Aplicativos de escritorio"
601
602-#: ../scope/apps/libertine-scope.ubuntu_libertine-scope.ini.in.in.h:2
603+#: ../data/libertine-scope.ini.in.h:2
604 msgid "Surface and launch DEB-packaged X11-based applications."
605 msgstr ""
606 "Inicia e executa aplicativos baseados en X11 empaquetados en formato DEB."
607-
608-#: ../scope/apps/libertine-scope.ubuntu_libertine-scope.ini.in.in.h:3
609-msgid "Search apps"
610-msgstr ""
611-
612-#: ../scope/apps/query.cpp:39
613-msgid "Hidden Desktop Apps"
614-msgstr ""
615-
616-#: ../scope/apps/query.cpp:43
617-msgid "Exclude Apps: "
618-msgstr ""
619-
620-#. anonymous namespace
621-#: ../scope/apps/query.cpp:113
622-msgid ""
623-"No applications available. Install new applications with the Libertine "
624-"Manager."
625-msgstr ""
626-
627-#: ../scope/apps/query.cpp:114
628-msgid ""
629-"All applications hidden. Reset filters or check the Hidden Desktop Apps "
630-"department."
631-msgstr ""
632
633=== modified file 'po/libertine-scope.pot'
634--- po/libertine-scope.pot 2016-06-16 12:43:33 +0000
635+++ po/libertine-scope.pot 2016-07-22 13:46:06 +0000
636@@ -1,5 +1,5 @@
637 # SOME DESCRIPTIVE TITLE.
638-# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
639+# Copyright (C) YEAR Canonical Ltd.
640 # This file is distributed under the same license as the PACKAGE package.
641 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
642 #
643@@ -8,7 +8,7 @@
644 msgstr ""
645 "Project-Id-Version: PACKAGE VERSION\n"
646 "Report-Msgid-Bugs-To: \n"
647-"POT-Creation-Date: 2016-06-16 08:41-0400\n"
648+"POT-Creation-Date: 2016-07-20 12:38-0400\n"
649 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
650 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
651 "Language-Team: LANGUAGE <LL@li.org>\n"
652@@ -17,32 +17,36 @@
653 "Content-Type: text/plain; charset=CHARSET\n"
654 "Content-Transfer-Encoding: 8bit\n"
655
656-#: ../data/libertine-scope.ini.in.h:1
657-msgid "XApps"
658+#: ../scope/apps/libertine-scope.ubuntu_libertine-scope.ini.in.in.h:1
659+#: ../scope/apps/query.cpp:38
660+msgid "Desktop Apps"
661 msgstr ""
662
663-#: ../data/libertine-scope.ini.in.h:2
664+#: ../scope/apps/libertine-scope.ubuntu_libertine-scope.ini.in.in.h:2
665 msgid "Surface and launch DEB-packaged X11-based applications."
666 msgstr ""
667
668-#: ../libertine-scope/query.cpp:38
669-msgid "X Apps"
670-msgstr ""
671-
672-#: ../libertine-scope/query.cpp:39
673-msgid "Hidden X Apps"
674-msgstr ""
675-
676-#: ../libertine-scope/query.cpp:43
677+#: ../scope/apps/libertine-scope.ubuntu_libertine-scope.ini.in.in.h:3
678+msgid "Search apps"
679+msgstr ""
680+
681+#: ../scope/apps/query.cpp:39
682+msgid "Hidden Desktop Apps"
683+msgstr ""
684+
685+#: ../scope/apps/query.cpp:43
686 msgid "Exclude Apps: "
687 msgstr ""
688
689 #. anonymous namespace
690-#: ../libertine-scope/query.cpp:113
691+#: ../scope/apps/query.cpp:113
692 msgid ""
693-"No XApps available. Install new applications with the Libertine Manager."
694+"No applications available. Install new applications with the Libertine "
695+"Manager."
696 msgstr ""
697
698-#: ../libertine-scope/query.cpp:114
699-msgid "All XApps hidden. Reset filters or check the Hidden XApps department."
700+#: ../scope/apps/query.cpp:114
701+msgid ""
702+"All applications hidden. Reset filters or check the Hidden Desktop Apps "
703+"department."
704 msgstr ""
705
706=== modified file 'po/ms.po'
707--- po/ms.po 2016-07-21 06:09:37 +0000
708+++ po/ms.po 2016-07-22 13:46:06 +0000
709@@ -7,46 +7,20 @@
710 msgstr ""
711 "Project-Id-Version: libertine-scope\n"
712 "Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
713-"POT-Creation-Date: 2016-07-20 12:38-0400\n"
714+"POT-Creation-Date: 2016-07-15 15:47-0400\n"
715 "PO-Revision-Date: 2016-05-22 00:24+0000\n"
716 "Last-Translator: abuyop <Unknown>\n"
717 "Language-Team: Malay <ms@li.org>\n"
718 "MIME-Version: 1.0\n"
719 "Content-Type: text/plain; charset=UTF-8\n"
720 "Content-Transfer-Encoding: 8bit\n"
721-"X-Launchpad-Export-Date: 2016-07-21 06:09+0000\n"
722-"X-Generator: Launchpad (build 18147)\n"
723+"X-Launchpad-Export-Date: 2016-07-17 06:22+0000\n"
724+"X-Generator: Launchpad (build 18140)\n"
725
726-#: ../scope/apps/libertine-scope.ubuntu_libertine-scope.ini.in.in.h:1
727-#: ../scope/apps/query.cpp:38
728+#: ../data/libertine-scope.ini.in.h:1
729 msgid "Desktop Apps"
730 msgstr ""
731
732-#: ../scope/apps/libertine-scope.ubuntu_libertine-scope.ini.in.in.h:2
733+#: ../data/libertine-scope.ini.in.h:2
734 msgid "Surface and launch DEB-packaged X11-based applications."
735 msgstr ""
736-
737-#: ../scope/apps/libertine-scope.ubuntu_libertine-scope.ini.in.in.h:3
738-msgid "Search apps"
739-msgstr ""
740-
741-#: ../scope/apps/query.cpp:39
742-msgid "Hidden Desktop Apps"
743-msgstr ""
744-
745-#: ../scope/apps/query.cpp:43
746-msgid "Exclude Apps: "
747-msgstr ""
748-
749-#. anonymous namespace
750-#: ../scope/apps/query.cpp:113
751-msgid ""
752-"No applications available. Install new applications with the Libertine "
753-"Manager."
754-msgstr ""
755-
756-#: ../scope/apps/query.cpp:114
757-msgid ""
758-"All applications hidden. Reset filters or check the Hidden Desktop Apps "
759-"department."
760-msgstr ""
761
762=== modified file 'po/pt.po'
763--- po/pt.po 2016-07-21 06:09:37 +0000
764+++ po/pt.po 2016-07-22 13:46:06 +0000
765@@ -7,46 +7,20 @@
766 msgstr ""
767 "Project-Id-Version: libertine-scope\n"
768 "Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
769-"POT-Creation-Date: 2016-07-20 12:38-0400\n"
770+"POT-Creation-Date: 2016-07-15 15:47-0400\n"
771 "PO-Revision-Date: 2016-05-20 16:05+0000\n"
772 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
773 "Language-Team: Portuguese <pt@li.org>\n"
774 "MIME-Version: 1.0\n"
775 "Content-Type: text/plain; charset=UTF-8\n"
776 "Content-Transfer-Encoding: 8bit\n"
777-"X-Launchpad-Export-Date: 2016-07-21 06:09+0000\n"
778-"X-Generator: Launchpad (build 18147)\n"
779+"X-Launchpad-Export-Date: 2016-07-17 06:22+0000\n"
780+"X-Generator: Launchpad (build 18140)\n"
781
782-#: ../scope/apps/libertine-scope.ubuntu_libertine-scope.ini.in.in.h:1
783-#: ../scope/apps/query.cpp:38
784+#: ../data/libertine-scope.ini.in.h:1
785 msgid "Desktop Apps"
786 msgstr ""
787
788-#: ../scope/apps/libertine-scope.ubuntu_libertine-scope.ini.in.in.h:2
789+#: ../data/libertine-scope.ini.in.h:2
790 msgid "Surface and launch DEB-packaged X11-based applications."
791 msgstr ""
792-
793-#: ../scope/apps/libertine-scope.ubuntu_libertine-scope.ini.in.in.h:3
794-msgid "Search apps"
795-msgstr ""
796-
797-#: ../scope/apps/query.cpp:39
798-msgid "Hidden Desktop Apps"
799-msgstr ""
800-
801-#: ../scope/apps/query.cpp:43
802-msgid "Exclude Apps: "
803-msgstr ""
804-
805-#. anonymous namespace
806-#: ../scope/apps/query.cpp:113
807-msgid ""
808-"No applications available. Install new applications with the Libertine "
809-"Manager."
810-msgstr ""
811-
812-#: ../scope/apps/query.cpp:114
813-msgid ""
814-"All applications hidden. Reset filters or check the Hidden Desktop Apps "
815-"department."
816-msgstr ""
817
818=== modified file 'po/uk.po'
819--- po/uk.po 2016-07-21 06:09:37 +0000
820+++ po/uk.po 2016-07-22 13:46:06 +0000
821@@ -7,46 +7,20 @@
822 msgstr ""
823 "Project-Id-Version: libertine-scope\n"
824 "Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
825-"POT-Creation-Date: 2016-07-20 12:38-0400\n"
826+"POT-Creation-Date: 2016-07-15 15:47-0400\n"
827 "PO-Revision-Date: 2016-05-20 15:56+0000\n"
828 "Last-Translator: Yuri Chornoivan <yurchor@gmail.com>\n"
829 "Language-Team: Ukrainian <uk@li.org>\n"
830 "MIME-Version: 1.0\n"
831 "Content-Type: text/plain; charset=UTF-8\n"
832 "Content-Transfer-Encoding: 8bit\n"
833-"X-Launchpad-Export-Date: 2016-07-21 06:09+0000\n"
834-"X-Generator: Launchpad (build 18147)\n"
835+"X-Launchpad-Export-Date: 2016-07-17 06:22+0000\n"
836+"X-Generator: Launchpad (build 18140)\n"
837
838-#: ../scope/apps/libertine-scope.ubuntu_libertine-scope.ini.in.in.h:1
839-#: ../scope/apps/query.cpp:38
840+#: ../data/libertine-scope.ini.in.h:1
841 msgid "Desktop Apps"
842 msgstr ""
843
844-#: ../scope/apps/libertine-scope.ubuntu_libertine-scope.ini.in.in.h:2
845+#: ../data/libertine-scope.ini.in.h:2
846 msgid "Surface and launch DEB-packaged X11-based applications."
847 msgstr ""
848-
849-#: ../scope/apps/libertine-scope.ubuntu_libertine-scope.ini.in.in.h:3
850-msgid "Search apps"
851-msgstr ""
852-
853-#: ../scope/apps/query.cpp:39
854-msgid "Hidden Desktop Apps"
855-msgstr ""
856-
857-#: ../scope/apps/query.cpp:43
858-msgid "Exclude Apps: "
859-msgstr ""
860-
861-#. anonymous namespace
862-#: ../scope/apps/query.cpp:113
863-msgid ""
864-"No applications available. Install new applications with the Libertine "
865-"Manager."
866-msgstr ""
867-
868-#: ../scope/apps/query.cpp:114
869-msgid ""
870-"All applications hidden. Reset filters or check the Hidden Desktop Apps "
871-"department."
872-msgstr ""
873
874=== added directory 'scope'
875=== added file 'scope/CMakeLists.txt'
876--- scope/CMakeLists.txt 1970-01-01 00:00:00 +0000
877+++ scope/CMakeLists.txt 2016-07-22 13:46:06 +0000
878@@ -0,0 +1,2 @@
879+# add_subdirectory(libertine-store)
880+add_subdirectory(apps)
881
882=== renamed directory 'libertine-scope' => 'scope/apps'
883=== modified file 'scope/apps/CMakeLists.txt'
884--- libertine-scope/CMakeLists.txt 2016-06-07 21:09:04 +0000
885+++ scope/apps/CMakeLists.txt 2016-07-22 13:46:06 +0000
886@@ -1,26 +1,25 @@
887-SET (CMAKE_AUTOMOC ON)
888+set (CMAKE_INCLUDE_CURRENT_DIR ON)
889+set (CMAKE_AUTOMOC ON)
890
891 pkg_check_modules(URL_DISPATCHER REQUIRED url-dispatcher-1)
892
893 # Find all the sources
894-file(GLOB_RECURSE
895- SCOPE_SOURCES
896+file(GLOB_RECURSE SCOPE_SOURCES
897 "*.cpp"
898 "*.h"
899 )
900
901-add_library(scope SHARED
902+add_library(apps SHARED
903 ${SCOPE_SOURCES}
904 )
905
906 include_directories(${URL_DISPATCHER_INCLUDE_DIRS})
907
908-target_link_libraries(scope
909+target_link_libraries(apps
910 ${SCOPE_LDFLAGS}
911 ${UAL_LDFLAGS}
912 ${LIBERTINE_LDFLAGS}
913 Qt5::Core
914- Qt5::Gui
915 ${URL_DISPATCHER_LIBRARIES}
916 )
917
918@@ -29,11 +28,27 @@
919 "${CMAKE_CURRENT_SOURCE_DIR}/config.h"
920 )
921
922-set_target_properties(scope
923+set_target_properties(apps
924 PROPERTIES
925- OUTPUT_NAME "${PACKAGE_NAME}_${SCOPE_NAME}"
926-)
927-install(TARGETS scope
928- LIBRARY DESTINATION ${SCOPE_INSTALL_DIR}
929-)
930-
931+ OUTPUT_NAME ${FULLY_QUALIFIED_NAME}
932+)
933+
934+install(TARGETS apps
935+ LIBRARY DESTINATION "${APPS_LIB_DIR}"
936+)
937+
938+set(APPS_INI_TARGET ${FULLY_QUALIFIED_NAME}.ini)
939+configure_file(
940+ ${APPS_INI_TARGET}.in.in
941+ ${APPS_INI_TARGET}.in
942+)
943+
944+add_custom_target(${APPS_INI_TARGET} ALL
945+ COMMENT "Merging translations into ${APPS_INI_TARGET}"
946+ COMMAND LC_ALL=C ${INTLTOOL_MERGE} -d -u ${CMAKE_SOURCE_DIR}/po ${APPS_INI_TARGET}.in ${APPS_INI_TARGET} >/dev/null
947+)
948+
949+install(
950+ FILES "${CMAKE_CURRENT_BINARY_DIR}/${APPS_INI_TARGET}"
951+ DESTINATION "${APPS_LIB_DIR}"
952+)
953
954=== modified file 'scope/apps/action.cpp'
955--- libertine-scope/action.cpp 2016-06-13 20:47:13 +0000
956+++ scope/apps/action.cpp 2016-07-22 13:46:06 +0000
957@@ -16,9 +16,9 @@
958 * Kyle Nitzsche <kyle.nitzsche@canonical.com>
959 */
960
961-#include "libertine-scope/action.h"
962-#include "libertine-scope/config.h"
963-#include "libertine-scope/hidden_apps.h"
964+#include "scope/apps/action.h"
965+#include "scope/apps/config.h"
966+#include "scope/apps/hidden_apps.h"
967 #include <unity/scopes/ActivationResponse.h>
968 #include <unity/scopes/CannedQuery.h>
969 #include <url-dispatcher.h>
970@@ -40,6 +40,7 @@
971 {
972 }
973
974+
975 usc::ActivationResponse
976 Action::activate()
977 {
978@@ -52,14 +53,14 @@
979 {
980 hidden_->add(QString::fromStdString(result()["app_id"].get_string()));
981
982- usc::CannedQuery cq(SCOPE_PKG + "_" + SCOPE_APP);
983+ usc::CannedQuery cq(SCOPE_PKG);
984 return usc::ActivationResponse(cq);
985 }
986 else if (action_id_ == "show")
987 {
988 hidden_->remove(QString::fromStdString(result()["app_id"].get_string()));
989
990- usc::CannedQuery cq(SCOPE_PKG + "_" + SCOPE_APP);
991+ usc::CannedQuery cq(SCOPE_PKG);
992 return usc::ActivationResponse(cq);
993 }
994 return usc::ActivationResponse(usc::ActivationResponse::Status::NotHandled);
995
996=== modified file 'scope/apps/action.h'
997--- libertine-scope/action.h 2016-06-13 20:47:13 +0000
998+++ scope/apps/action.h 2016-07-22 13:46:06 +0000
999@@ -19,7 +19,7 @@
1000 #ifndef SCOPE_ACTION_H_
1001 #define SCOPE_ACTION_H_
1002
1003-#include "libertine-scope/scope.h"
1004+#include "scope/apps/scope.h"
1005 #include <unity/scopes/ActionMetadata.h>
1006 #include <unity/scopes/ActivationQueryBase.h>
1007 #include <unity/scopes/ActivationResponse.h>
1008
1009=== modified file 'scope/apps/applauncher.cpp'
1010--- libertine-scope/applauncher.cpp 2016-05-04 17:56:13 +0000
1011+++ scope/apps/applauncher.cpp 2016-07-22 13:46:06 +0000
1012@@ -14,7 +14,7 @@
1013 * along with this program. If not, see <http://www.gnu.org/licenses/>.
1014 */
1015
1016-#include "libertine-scope/applauncher.h"
1017+#include "scope/apps/applauncher.h"
1018 #include <ubuntu-app-launch/registry.h>
1019
1020
1021
1022=== modified file 'scope/apps/blacklist.cpp'
1023--- libertine-scope/blacklist.cpp 2016-06-13 20:47:13 +0000
1024+++ scope/apps/blacklist.cpp 2016-07-22 13:46:06 +0000
1025@@ -13,7 +13,7 @@
1026 * You should have received a copy of the GNU General Public License
1027 * along with this program. If not, see <http://www.gnu.org/licenses/>.
1028 */
1029-#include "libertine-scope/blacklist.h"
1030+#include "scope/apps/blacklist.h"
1031
1032 #include <QFile>
1033 #include <QTextStream>
1034
1035=== modified file 'scope/apps/config.h.in'
1036--- libertine-scope/config.h.in 2016-06-08 15:45:39 +0000
1037+++ scope/apps/config.h.in 2016-07-22 13:46:06 +0000
1038@@ -17,7 +17,6 @@
1039 #define LIBERTINE_SCOPE_CONFIG_H_
1040
1041 const std::string SCOPE_PKG = "@PACKAGE_NAME@";
1042-const std::string SCOPE_APP = "@SCOPE_NAME@";
1043 const std::string ROOT_DEPT_ID = "root_dept";
1044 const std::string HIDDEN_DEPT_ID = "hidden_dept";
1045
1046
1047=== modified file 'scope/apps/container.cpp'
1048--- libertine-scope/container.cpp 2016-05-04 17:56:13 +0000
1049+++ scope/apps/container.cpp 2016-07-22 13:46:06 +0000
1050@@ -14,7 +14,7 @@
1051 * along with this program. If not, see <http://www.gnu.org/licenses/>.
1052 */
1053
1054-#include "libertine-scope/container.h"
1055+#include "scope/apps/container.h"
1056
1057
1058 Container::
1059
1060=== modified file 'scope/apps/container.h'
1061--- libertine-scope/container.h 2016-05-04 17:56:13 +0000
1062+++ scope/apps/container.h 2016-07-22 13:46:06 +0000
1063@@ -17,7 +17,7 @@
1064 #define LIBERTINE_SCOPE_CONTAINER_H
1065
1066
1067-#include "libertine-scope/applauncher.h"
1068+#include "scope/apps/applauncher.h"
1069 #include <string>
1070 #include <vector>
1071
1072
1073=== modified file 'scope/apps/hidden_apps.cpp'
1074--- libertine-scope/hidden_apps.cpp 2016-06-14 13:07:51 +0000
1075+++ scope/apps/hidden_apps.cpp 2016-07-22 13:46:06 +0000
1076@@ -13,7 +13,7 @@
1077 * You should have received a copy of the GNU General Public License
1078 * along with this program. If not, see <http://www.gnu.org/licenses/>.
1079 */
1080-#include "libertine-scope/hidden_apps.h"
1081+#include "scope/apps/hidden_apps.h"
1082
1083 #include <QFile>
1084 #include <QTextStream>
1085
1086=== added file 'scope/apps/libertine-scope.ubuntu_libertine-scope.ini.in.in'
1087--- scope/apps/libertine-scope.ubuntu_libertine-scope.ini.in.in 1970-01-01 00:00:00 +0000
1088+++ scope/apps/libertine-scope.ubuntu_libertine-scope.ini.in.in 2016-07-22 13:46:06 +0000
1089@@ -0,0 +1,11 @@
1090+[ScopeConfig]
1091+_DisplayName=Desktop Apps
1092+_Description=Surface and launch DEB-packaged X11-based applications.
1093+Art=screenshot.png
1094+Author=The Canonical Libertine Team <libertine-team@lists.launchpad.net>
1095+Icon=@APPS_DATA_DIR@/apps.png
1096+_SearchHint=Search apps
1097+Keywords=apps
1098+
1099+[Appearance]
1100+LogoOverlayColor=#ffffffff
1101
1102=== modified file 'scope/apps/libertine.cpp'
1103--- libertine-scope/libertine.cpp 2016-06-04 20:23:12 +0000
1104+++ scope/apps/libertine.cpp 2016-07-22 13:46:06 +0000
1105@@ -14,8 +14,8 @@
1106 * along with this program. If not, see <http://www.gnu.org/licenses/>.
1107 */
1108
1109-#include "libertine-scope/libertine.h"
1110-#include "libertine-scope/container.h"
1111+#include "scope/apps/libertine.h"
1112+#include "scope/apps/container.h"
1113 #include <liblibertine/libertine.h>
1114 #include <glib.h>
1115
1116
1117=== modified file 'scope/apps/preview.cpp'
1118--- libertine-scope/preview.cpp 2016-06-10 15:11:56 +0000
1119+++ scope/apps/preview.cpp 2016-07-22 13:46:06 +0000
1120@@ -14,8 +14,8 @@
1121 * along with this program. If not, see <http://www.gnu.org/licenses/>.
1122 */
1123
1124-#include "libertine-scope/preview.h"
1125-#include "libertine-scope/config.h"
1126+#include "scope/apps/preview.h"
1127+#include "scope/apps/config.h"
1128 #include <unity/scopes/PreviewReply.h>
1129 #include <unity/scopes/Variant.h>
1130 #include <unity/scopes/VariantBuilder.h>
1131
1132=== modified file 'scope/apps/query.cpp'
1133--- libertine-scope/query.cpp 2016-06-14 16:49:24 +0000
1134+++ scope/apps/query.cpp 2016-07-22 13:46:06 +0000
1135@@ -14,10 +14,10 @@
1136 * along with this program. If not, see <http://www.gnu.org/licenses/>.
1137 */
1138
1139-#include "libertine-scope/query.h"
1140-#include "libertine-scope/container.h"
1141-#include "libertine-scope/config.h"
1142-#include "libertine-scope/localization.h"
1143+#include "scope/apps/query.h"
1144+#include "scope/apps/container.h"
1145+#include "scope/apps/config.h"
1146+#include "scope/apps/localization.h"
1147 #include <unity/scopes/CategorisedResult.h>
1148 #include <unity/scopes/CategoryRenderer.h>
1149 #include <unity/scopes/QueryBase.h>
1150@@ -35,8 +35,8 @@
1151
1152 namespace
1153 {
1154-static const auto ROOT_DEPT_TITLE = _("X Apps");
1155-static const auto HIDDEN_DEPT_TITLE = _("Hidden X Apps");
1156+static const auto ROOT_DEPT_TITLE = _("Desktop Apps");
1157+static const auto HIDDEN_DEPT_TITLE = _("Hidden Desktop Apps");
1158 static const auto DESCRIPTION_FIELD = "description";
1159 static const auto APP_ID_FIELD = "app_id";
1160 static const auto DEPARTMENT_ID_FIELD = "department_id";
1161@@ -110,8 +110,8 @@
1162 } // anonymous namespace
1163
1164
1165-std::string const Query::NO_RESULTS_HINT = _("No XApps available. Install new applications with the Libertine Manager.");
1166-std::string const Query::ALL_RESULTS_FILTERED_HINT = _("All XApps hidden. Reset filters or check the Hidden XApps department.");
1167+std::string const Query::NO_RESULTS_HINT = _("No applications available. Install new applications with the Libertine Manager.");
1168+std::string const Query::ALL_RESULTS_FILTERED_HINT = _("All applications hidden. Reset filters or check the Hidden Desktop Apps department.");
1169
1170
1171 Query::
1172
1173=== modified file 'scope/apps/query.h'
1174--- libertine-scope/query.h 2016-06-14 16:49:24 +0000
1175+++ scope/apps/query.h 2016-07-22 13:46:06 +0000
1176@@ -16,9 +16,9 @@
1177 #ifndef LIBERTINE_SCOPE_QUERY_H_
1178 #define LIBERTINE_SCOPE_QUERY_H_
1179
1180-#include "libertine-scope/libertine.h"
1181-#include "libertine-scope/blacklist.h"
1182-#include "libertine-scope/hidden_apps.h"
1183+#include "scope/apps/libertine.h"
1184+#include "scope/apps/blacklist.h"
1185+#include "scope/apps/hidden_apps.h"
1186 #include <unity/scopes/ReplyProxyFwd.h>
1187 #include <unity/scopes/SearchQueryBase.h>
1188 #include <QStringList>
1189
1190=== modified file 'scope/apps/scope.cpp'
1191--- libertine-scope/scope.cpp 2016-06-13 20:47:13 +0000
1192+++ scope/apps/scope.cpp 2016-07-22 13:46:06 +0000
1193@@ -13,12 +13,12 @@
1194 * You should have received a copy of the GNU General Public License
1195 * along with this program. If not, see <http://www.gnu.org/licenses/>.
1196 */
1197-#include "libertine-scope/scope.h"
1198+#include "scope/apps/scope.h"
1199
1200-#include "libertine-scope/preview.h"
1201-#include "libertine-scope/query.h"
1202-#include "libertine-scope/action.h"
1203-#include "libertine-scope/localization.h"
1204+#include "scope/apps/preview.h"
1205+#include "scope/apps/query.h"
1206+#include "scope/apps/action.h"
1207+#include "scope/apps/localization.h"
1208 #include <sstream>
1209 #include <url-dispatcher.h>
1210 #include <QFile>
1211
1212=== modified file 'scope/apps/scope.h'
1213--- libertine-scope/scope.h 2016-01-19 21:10:09 +0000
1214+++ scope/apps/scope.h 2016-07-22 13:46:06 +0000
1215@@ -16,7 +16,7 @@
1216 #ifndef LIBERTINE_SCOPE_SCOPE_H_
1217 #define LIBERTINE_SCOPE_SCOPE_H_
1218
1219-#include "libertine-scope/libertine.h"
1220+#include "scope/apps/libertine.h"
1221 #include <unity/scopes/PreviewQueryBase.h>
1222 #include <unity/scopes/QueryBase.h>
1223 #include <unity/scopes/ReplyProxyFwd.h>
1224
1225=== modified file 'tests/CMakeLists.txt'
1226--- tests/CMakeLists.txt 2016-06-13 18:06:36 +0000
1227+++ tests/CMakeLists.txt 2016-07-22 13:46:06 +0000
1228@@ -11,7 +11,7 @@
1229 )
1230
1231 target_link_libraries(${test_name}_exe
1232- scope
1233+ apps
1234 Qt5::Core
1235 gmock
1236 gmock_main
1237
1238=== modified file 'tests/fake_container.h'
1239--- tests/fake_container.h 2016-04-27 16:33:00 +0000
1240+++ tests/fake_container.h 2016-07-22 13:46:06 +0000
1241@@ -17,7 +17,7 @@
1242 #define LIBERTINE_SCOPE_FAKE_CONTAINER_H_
1243
1244
1245-#include "libertine-scope/container.h"
1246+#include "scope/apps/container.h"
1247
1248
1249 /**
1250
1251=== modified file 'tests/fake_libertine.h'
1252--- tests/fake_libertine.h 2016-06-14 16:23:32 +0000
1253+++ tests/fake_libertine.h 2016-07-22 13:46:06 +0000
1254@@ -17,7 +17,7 @@
1255 #define LIBERTINE_SCOPE_FAKE_LIBERTINE_H_
1256
1257
1258-#include "libertine-scope/libertine.h"
1259+#include "scope/apps/libertine.h"
1260
1261
1262 /**
1263
1264=== modified file 'tests/scopefixture.h'
1265--- tests/scopefixture.h 2016-04-15 12:41:58 +0000
1266+++ tests/scopefixture.h 2016-07-22 13:46:06 +0000
1267@@ -17,7 +17,7 @@
1268 #define LIBERTINE_SCOPE_SCOPEFIXTURE_H_
1269
1270 #include <functional>
1271-#include "libertine-scope/scope.h"
1272+#include "scope/apps/scope.h"
1273 //#include <unity/scopes/testing/TypedScopeFixture.h>
1274 #include "tests/fake_container_json.h"
1275 #include "tests/fake_libertine.h"
1276
1277=== modified file 'tests/test_blacklist.cpp'
1278--- tests/test_blacklist.cpp 2016-06-14 13:07:51 +0000
1279+++ tests/test_blacklist.cpp 2016-07-22 13:46:06 +0000
1280@@ -13,7 +13,7 @@
1281 * You should have received a copy of the GNU General Public License
1282 * along with this program. If not, see <http://www.gnu.org/licenses/>.
1283 */
1284-#include "libertine-scope/blacklist.h"
1285+#include "scope/apps/blacklist.h"
1286 #include <gtest/gtest.h>
1287 #include <QDir>
1288 #include <QTemporaryDir>
1289
1290=== modified file 'tests/test_hidden_apps.cpp'
1291--- tests/test_hidden_apps.cpp 2016-06-14 13:07:51 +0000
1292+++ tests/test_hidden_apps.cpp 2016-07-22 13:46:06 +0000
1293@@ -13,7 +13,7 @@
1294 * You should have received a copy of the GNU General Public License
1295 * along with this program. If not, see <http://www.gnu.org/licenses/>.
1296 */
1297-#include "libertine-scope/hidden_apps.h"
1298+#include "scope/apps/hidden_apps.h"
1299 #include <gtest/gtest.h>
1300 #include <QDir>
1301 #include <QTemporaryDir>
1302
1303=== modified file 'tests/test_preview.cpp'
1304--- tests/test_preview.cpp 2016-06-06 22:38:47 +0000
1305+++ tests/test_preview.cpp 2016-07-22 13:46:06 +0000
1306@@ -14,7 +14,7 @@
1307 * along with this program. If not, see <http://www.gnu.org/licenses/>.
1308 */
1309
1310-#include "libertine-scope/preview.h"
1311+#include "scope/apps/preview.h"
1312 #include <unity/scopes/Variant.h>
1313 #include <gtest/gtest.h>
1314 #include <unity/scopes/ActionMetadata.h>
1315
1316=== modified file 'tests/test_query.cpp'
1317--- tests/test_query.cpp 2016-06-14 16:49:24 +0000
1318+++ tests/test_query.cpp 2016-07-22 13:46:06 +0000
1319@@ -14,8 +14,8 @@
1320 * along with this program. If not, see <http://www.gnu.org/licenses/>.
1321 */
1322
1323-#include "libertine-scope/query.h"
1324-#include "libertine-scope/config.h"
1325+#include "scope/apps/query.h"
1326+#include "scope/apps/config.h"
1327 #include "tests/fake_libertine.h"
1328 #include <unity/scopes/SearchMetadata.h>
1329 #include <unity/scopes/CannedQuery.h>

Subscribers

People subscribed via source and target branches