← Back to team overview

ubuntu-sdk-bugs team mailing list archive

[Bug 1280352] Re: Create Fat packages with creator

 

** No longer affects: qtcreator-plugin-ubuntu

-- 
You received this bug notification because you are a member of Ubuntu
SDK bug tracking, which is subscribed to qtcreator-plugin-ubuntu in
Ubuntu.
https://bugs.launchpad.net/bugs/1280352

Title:
  Create Fat packages with creator

Status in “qtcreator-plugin-ubuntu” package in Ubuntu:
  Confirmed

Bug description:
  QtCreator should have a option to create a so called "fat" package
  containing multiple architectures

  I attach a conversation i had with tedg on how the internal structure
  should look like

  <zbenjamin> tedg: i got pointed to you by jdstrand i think, because i was asking about how a fat click package should look like internally and how it will work with the desktop files EXEC property
  <zbenjamin> i'm working on the qtcreator ubuntu plugin and we would like to integrate fat packaging :)
  <tedg> zbenjamin, Yup, so what we're doing is adding an arch dependent directory to the path.  So that way you can put an executable name in the Exec line and it'll find the arch dependent one.
  <zbenjamin> tedg: ok but do i need a own desktop file per architecture in the package then?
  <tedg> zbenjamin, Nope, so the desktop file can have "Exec=foo-bar" and the package would have a $(dir)/lib/$(arch)/bin/foo-bar for each arch.
  <zbenjamin> tedg: ok and the path will be set correctly so it will be found 
  <tedg> zbenjamin, Yup, for some examples there are the exec-test* file in the tests directory here: http://bazaar.launchpad.net/~indicator-applet-developers/upstart-app-launch/trunk.14.04/files/head:/tests/
  <zbenjamin> tedg: and for things like : Exec=qmlscene $@ -I ./lib/arm-linux-gnueabihf/qt5/qml   share/qml/cmake1/cmake1.qml
  <Devastatr> stgraber I understand that and I agree, when you have some time, can you ping me? I want to discuss if I wanted to design something to replace ifupdown, together with you and Andrew, where to start
  <tedg> zbenjamin, We're also setting the QML2_IMPORT_PATH to be $(dir)/lib/$(arch)
  <zbenjamin> tedg: do you have any docs on which directories have to be where?   
  <tedg> zbenjamin, Uhm, not really.  Not really sure where that belongs.
  <zbenjamin> tedg: ok so lets recap, i put a arch into the manifest , lets say armhf, then click wants to have executables in APP_DIR/bin/armhf  and libs in APP_DIR/lib/armhf
  <zbenjamin> or is it arm-linux-gnueabihf
  <tedg> zbenjamin, It's the triplet, and not /bin, but /lib/$arch/bin
  <zbenjamin> tedg: or maybe you could point me to the code that sets up the env
  <tedg> zbenjamin, Sure, I'm not sure that's as helpful as the tests are though.  http://bazaar.launchpad.net/~indicator-applet-developers/upstart-app-launch/trunk.14.04/view/head:/exec-line-exec.c#L62

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtcreator-plugin-ubuntu/+bug/1280352/+subscriptions