[Bug 1342031] Re: Rename QML modules to follow qml-module-foo naming

Timo Jyrinki 1342031 at bugs.launchpad.net
Wed Apr 5 11:21:39 UTC 2017


** Description changed:

- UPDATE: This would be a nice to have for Ubuntu 16.04 LTS, since
- otherwise we will need to keep the transitional packages until 2018.
- 
+ UPDATE: This would be a nice to have for Ubuntu 16.04 LTS, since otherwise we will need to keep the transitional packages until 2018.
+ UPDATE2: This would be a nice to have for Ubuntu 18.04 LTS, since otherwise we will need to keep the transitional packages until 2020.
  
  ===
  
  The package names of QML modules should be of the format qml-
  module-{$modulename}[version], a transition that was started during Qt
  5.3 preparation in Ubuntu. For example this could be qml-module-qtquick-
  localstorage or qml-module-qtsysteminfo for non versioned modules, and
  qml-module-ubuntu-webthing0.3 for versioned/co-installable modules.
  
  Further details in Debian e-mail:
  http://lists.alioth.debian.org/pipermail/pkg-kde-
  talk/2014-March/001889.html
  
  For Ubuntu, transitional packages should be put in place for smooth distribution upgrades, since we're shipping with the old names in previous Ubuntus. An example of that is at http://bazaar.launchpad.net/~kubuntu-packagers/kubuntu-packaging/qtsystems-opensource-src/revision/31 - in other words:
  - Make the old package a transitional oldlibs package that depends on the new package
  - Add Breaks/Replaces to the new package for the old non-transitional packages (be careful about the version number specification)
  - Keep Multi-Arch: same and Architecture: any for the transitional package
  - Write "QML module" instead of "QML plugin"
  - Rename also the *.install files
  
  ---
  One more example on naming:
  
  For example, the "test" (qtdeclarative5-test-plugin) in the old
  qtdeclarative5-style package naming became "qttest" (qml-module-qttest)
  in the new naming since the path is actually under
  /usr/lib/*/qt5/qml/QtTest/
  
  qml-module-qtquick-xmllistmodel has path
  /usr/lib/*/qt5/qml/QtQuick/XmlListModel, as an example if you have more
  than one subdir. /usr/lib/*/qt5/qml/Ubuntu/Connectivity/ would be qml-
  module-ubuntu-connectivity.

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to solid in Ubuntu.
https://bugs.launchpad.net/bugs/1342031

Title:
  Rename QML modules to follow qml-module-foo naming

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/accounts-qml-module/+bug/1342031/+subscriptions




More information about the kubuntu-bugs mailing list