QmlPlugins macros force installation in LIBDIR

Bug #1539314 reported by Michał Sawicz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cmake-extras (Ubuntu)
Fix Released
High
Pete Woods

Bug Description

The original QmlPlugins macros required one to set DESTINATION for a plugin to be installed at all.

Today they force it to be $LIBDIR/qt5/qml:

http://bazaar.launchpad.net/~cmake-extras/cmake-extras/trunk/view/head:/src/QmlPlugins.cmake#L110

This prevents usage of QmlPlugins for private or mock plugins that need to be installed into a private import path, if at all.

DESTINATION needs to be respected, and if it needs to default to ↑, there needs to be a new option to disable installation.

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: cmake-extras 0.5+16.04.20160113-0ubuntu1
ProcVersionSignature: Ubuntu 4.3.0-7.18-generic 4.3.3
Uname: Linux 4.3.0-7-generic x86_64
ApportVersion: 2.19.4-0ubuntu1
Architecture: amd64
CurrentDesktop: Unity
Date: Fri Jan 29 01:06:42 2016
Dependencies:

PackageArchitecture: all
SourcePackage: cmake-extras
UpgradeStatus: Upgraded to xenial on 2015-10-28 (92 days ago)

Related branches

Revision history for this message
Michał Sawicz (saviq) wrote :
Revision history for this message
Pete Woods (pete-woods) wrote :

Something like this?

Changed in cmake-extras (Ubuntu):
status: New → In Progress
Revision history for this message
Pete Woods (pete-woods) wrote :

Attempt #2 in the indicator.

Revision history for this message
Pete Woods (pete-woods) wrote :

MR, even. Seems my brain is so broken I switch random words with "indicator" now.

Changed in cmake-extras (Ubuntu):
importance: Undecided → High
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package cmake-extras - 0.6+16.04.20160215-0ubuntu1

---------------
cmake-extras (0.6+16.04.20160215-0ubuntu1) xenial; urgency=medium

  [ Pete Woods ]
  * Add NO_INSTALL option to QmlPlugins.cmake (LP: #1539314).
  * Respect DESTINATION parameter in QmlPlugins.cmake (LP: #1539314).

  [ CI Train Bot ]
  * No-change rebuild.

 -- Pete Woods <email address hidden> Mon, 15 Feb 2016 15:22:58 +0000

Changed in cmake-extras (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.