Merge lp:~timo-jyrinki/qtcreator-plugin-ubuntu/packaging into lp:~zeller-benjamin/qtcreator-plugin-ubuntu/sdk-refactor2

Proposed by Timo Jyrinki
Status: Merged
Merged at revision: 380
Proposed branch: lp:~timo-jyrinki/qtcreator-plugin-ubuntu/packaging
Merge into: lp:~zeller-benjamin/qtcreator-plugin-ubuntu/sdk-refactor2
Diff against target: 65 lines (+6/-16)
5 files modified
debian/qtcreator-plugin-ubuntu-autopilot.install (+1/-1)
debian/qtcreator-plugin-ubuntu-common.install (+1/-11)
debian/qtcreator-plugin-ubuntu.install (+1/-2)
debian/rules (+2/-1)
src/plugin.pri (+1/-1)
To merge this branch: bzr merge lp:~timo-jyrinki/qtcreator-plugin-ubuntu/packaging
Reviewer Review Type Date Requested Status
Benjamin Zeller Pending
Review via email: mp+261466@code.launchpad.net

Commit message

Make packaging produce functional packages (but do a hack for initial configure), install lib under arch triplet dir and adjust plugin directory, enable parallel build.

To post a comment you must log in.
379. By Timo Jyrinki

Merge trunk.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/qtcreator-plugin-ubuntu-autopilot.install'
2--- debian/qtcreator-plugin-ubuntu-autopilot.install 2014-09-30 11:23:06 +0000
3+++ debian/qtcreator-plugin-ubuntu-autopilot.install 2015-06-09 06:56:41 +0000
4@@ -1,2 +1,2 @@
5 usr/share/polkit-1/actions
6-usr/lib/*/dist-packages/qtcreator_plugin_ubuntu/*
7+usr/lib/python3/dist-packages/qtcreator_plugin_ubuntu/*
8
9=== modified file 'debian/qtcreator-plugin-ubuntu-common.install'
10--- debian/qtcreator-plugin-ubuntu-common.install 2015-01-16 22:15:55 +0000
11+++ debian/qtcreator-plugin-ubuntu-common.install 2015-06-09 06:56:41 +0000
12@@ -1,13 +1,3 @@
13 usr/bin/ubuntu-sdk
14-usr/share/qtcreator/templates/wizards/ubuntu/backend-app-cmake
15-usr/share/qtcreator/templates/wizards/ubuntu/backend-app-qmake
16-usr/share/qtcreator/templates/wizards/ubuntu/goproject
17-usr/share/qtcreator/templates/wizards/ubuntu/html5-simple
18-usr/share/qtcreator/templates/wizards/ubuntu/qtquick-app-qmake
19-usr/share/qtcreator/templates/wizards/ubuntu/scope
20-usr/share/qtcreator/templates/wizards/ubuntu/share
21-usr/share/qtcreator/templates/wizards/ubuntu/simple-app-qmake
22-usr/share/qtcreator/templates/wizards/ubuntu/simple-app-qmlproject
23-usr/share/qtcreator/templates/wizards/ubuntu/simple-i18n-cmake
24-usr/share/qtcreator/templates/wizards/ubuntu/webapp
25+usr/share/qtcreator/templates/wizards/ubuntu/
26 usr/share/qtcreator/ubuntu
27
28=== modified file 'debian/qtcreator-plugin-ubuntu.install'
29--- debian/qtcreator-plugin-ubuntu.install 2014-12-12 13:42:11 +0000
30+++ debian/qtcreator-plugin-ubuntu.install 2015-06-09 06:56:41 +0000
31@@ -1,5 +1,4 @@
32 debian/ubuntusdk.desktop usr/share/applications
33 ubuntu-qtcreator.png usr/share/icons
34-usr/lib/*/qtcreator/plugins/Canonical/Ubuntu.pluginspec
35-usr/lib/*/qtcreator/plugins/Canonical/libUbuntu.so
36+usr/lib/*/qtcreator/plugins/libUbuntu.so
37 usr/bin/click-chroot-agent
38
39=== modified file 'debian/rules'
40--- debian/rules 2015-06-05 09:16:05 +0000
41+++ debian/rules 2015-06-09 06:56:41 +0000
42@@ -16,10 +16,11 @@
43 dh $@ --fail-missing --parallel
44
45 override_dh_auto_configure:
46+ # Crude hack, the project needs to be fixed to not require hard coded path name
47 mkdir -p builddir
48 rm -rf ../ubuntu
49 mv ../qtcreator-plugin-ubuntu-* ../ubuntu
50- IDE_LIBRARY_BASENAME=lib/$(DEB_HOST_MULTIARCH) qmake -r ubuntu.pro
51+ dh_auto_configure -- IDE_LIBRARY_BASENAME=lib/$(DEB_HOST_MULTIARCH)
52
53 override_dh_auto_test:
54 LD_LIBRARY_PATH=/usr/lib/$(DEB_HOST_MULTIARCH)/qtcreator:/usr/lib/$(DEB_HOST_MULTIARCH)/qtcreator/plugins/QtProject make check
55
56=== modified file 'src/plugin.pri'
57--- src/plugin.pri 2015-05-26 14:35:05 +0000
58+++ src/plugin.pri 2015-06-09 06:56:41 +0000
59@@ -69,5 +69,5 @@
60 LIBS += -L$$DESTDIRBASE/QtProject/$$DESTDIRAPPNAME/plugins/$$QTCREATOR_VERSION/QtProject
61 }
62 LIBS += -L$$[QT_INSTALL_LIBS]/qtcreator
63- LIBS += -L$$[QT_INSTALL_LIBS]/qtcreator/plugins/QtProject
64+ LIBS += -L$$[QT_INSTALL_LIBS]/qtcreator/plugins
65 }

Subscribers

People subscribed via source and target branches

to all changes: