Merge lp:~gang65/ubuntu-docviewer-app/ubuntu-docviewer-app-icon-fix into lp:ubuntu-docviewer-app/trunk

Proposed by Bartosz Kosiorek
Status: Merged
Approved by: David Planella
Approved revision: 154
Merged at revision: 155
Proposed branch: lp:~gang65/ubuntu-docviewer-app/ubuntu-docviewer-app-icon-fix
Merge into: lp:ubuntu-docviewer-app/trunk
Diff against target: 59 lines (+13/-4)
3 files modified
CMakeLists.txt (+1/-1)
debian/changelog (+9/-0)
po/com.ubuntu.docviewer.pot (+3/-3)
To merge this branch: bzr merge lp:~gang65/ubuntu-docviewer-app/ubuntu-docviewer-app-icon-fix
Reviewer Review Type Date Requested Status
David Planella Approve
Ubuntu Phone Apps Jenkins Bot continuous-integration Approve
Review via email: mp+262911@code.launchpad.net

Commit message

Fix missing icon for desktop: #1468418

Description of the change

Fix missing icon for desktop: #1468418

To post a comment you must log in.
Revision history for this message
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote :
review: Approve (continuous-integration)
Revision history for this message
David Planella (dpm) wrote :

Looks good, and after testing it, works well too. Thanks!

Just a couple of notes that should not block this from landing:

1) On debian/changelog, you can use the "(LP: #<bug number>)" syntax to mark bugs as closed, instead of a URL. See [1] for details.

2) While building the package, Lintian complains with the following errors and warnings:

W: ubuntu-docviewer-app source: diff-contains-bzr-control-dir .bzr
E: ubuntu-docviewer-app source: build-depends-on-metapackage build-depends: qt5-default
E: ubuntu-docviewer-app: missing-dependency-on-libc needed by usr/bin/ubuntu-docviewer-app and 2 others
W: ubuntu-docviewer-app: binary-without-manpage usr/bin/ubuntu-docviewer-app
W: ubuntu-docviewer-app: desktop-mime-but-no-exec-code usr/share/applications/com.ubuntu.docviewer.desktop

I've not looked at all of them, but I think the last one [2] could be fixed by specifying an argument to the Exec line in the .desktop file.

[1] http://packaging.ubuntu.com/html/fixing-a-bug-example.html
[2] https://lintian.debian.org/tags/desktop-mime-but-no-exec-code.html

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 2015-04-20 16:24:06 +0000
3+++ CMakeLists.txt 2015-06-24 20:52:38 +0000
4@@ -83,7 +83,7 @@
5 OUTPUT_STRIP_TRAILING_WHITESPACE
6 )
7 set(DATA_DIR ${CMAKE_INSTALL_DATADIR}/${APP_NAME})
8- set(ICON "${CMAKE_INSTALL_PREFIX}/${DATA_DIR}/${ICON}")
9+ set(ICON "${CMAKE_INSTALL_PREFIX}/${DATA_DIR}/${ICON_FILE}")
10 set(DESKTOP_DIR ${CMAKE_INSTALL_DATADIR}/applications)
11 set(APPLICATION_DIR ${CMAKE_INSTALL_DATADIR}/accounts/applications)
12 endif(CLICK_MODE)
13
14=== modified file 'debian/changelog'
15--- debian/changelog 2015-02-23 12:49:52 +0000
16+++ debian/changelog 2015-06-24 20:52:38 +0000
17@@ -1,3 +1,12 @@
18+ubuntu-docviewer-app (0.3.154) vivid; urgency=medium
19+
20+ * Fix missing icon for desktop: #1468418
21+ * Add SD Card support
22+ * Code re-factoring. http://pad.lv/1445011
23+ * Added tests. http://pad.lv/1418652
24+
25+ -- Bartosz Kosiorek <gang65@poczta.onet.pl> Wed, 24 Jun 2015 22:51:47 +0100
26+
27 ubuntu-docviewer-app (0.3.0) utopic; urgency=medium
28
29 * Improved content-hub support
30
31=== modified file 'po/com.ubuntu.docviewer.pot'
32--- po/com.ubuntu.docviewer.pot 2015-06-22 17:04:27 +0000
33+++ po/com.ubuntu.docviewer.pot 2015-06-24 20:52:38 +0000
34@@ -8,7 +8,7 @@
35 msgstr ""
36 "Project-Id-Version: \n"
37 "Report-Msgid-Bugs-To: \n"
38-"POT-Creation-Date: 2015-06-22 19:03+0200\n"
39+"POT-Creation-Date: 2015-06-24 22:48+0200\n"
40 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
41 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
42 "Language-Team: LANGUAGE <LL@li.org>\n"
43@@ -33,7 +33,7 @@
44 msgstr ""
45
46 #: ../src/app/docviewer-application.cpp:171
47-#: /home/stefano/Progetti/docviewer/build-document-page-filters-Desktop-Default/po/com.ubuntu.docviewer.desktop.in.in.h:1
48+#: /home/m/dev/core/ubuntu-docviewer-app-icon-fix/obj-x86_64-linux-gnu/po/com.ubuntu.docviewer.desktop.in.in.h:1
49 msgid "Document Viewer"
50 msgstr ""
51
52@@ -380,6 +380,6 @@
53 msgid "Open"
54 msgstr ""
55
56-#: /home/stefano/Progetti/docviewer/build-document-page-filters-Desktop-Default/po/com.ubuntu.docviewer.desktop.in.in.h:2
57+#: /home/m/dev/core/ubuntu-docviewer-app-icon-fix/obj-x86_64-linux-gnu/po/com.ubuntu.docviewer.desktop.in.in.h:2
58 msgid "documents;viewer;pdf;reader;"
59 msgstr ""

Subscribers

People subscribed via source and target branches