libplatform-api-headers needs to make its headers accessible through #include <ubuntu/*.h>
Bug #1202309 reported by
Łukasz Zemczak
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
platform-api |
Fix Committed
|
High
|
Thomas Voß | ||
platform-api (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Currently. the approach is to install libplatform-
There should be a different way of solving it. xnox recommended:
18:47 < xnox> tvoss_: didrocks: instead, configury / cmake /pkgconfig can point to -I/usr/
(...)
18:48 < xnox> tvoss_: didrocks: throught magic of gcc -isystem they can be anywhere, even in a local dir / repo /checkout / anywhere on filesystem.
Related branches
lp:~thomas-voss/platform-api/fix-1202309
- Łukasz Zemczak: Approve
- Dimitri John Ledkov: Approve
- PS Jenkins bot: Approve (continuous-integration)
-
Diff: 147 lines (+15/-16)13 files modifieddata/ubuntu-platform-api.pc.in (+1/-1)
debian/libplatform-api-headers.install (+4/-4)
debian/libplatform-api-headers.links (+0/-1)
debian/libplatform-hardware-api-headers.install (+1/-1)
include/ubuntu/CMakeLists.txt (+1/-1)
include/ubuntu/application/CMakeLists.txt (+1/-1)
include/ubuntu/application/sensors/CMakeLists.txt (+1/-1)
include/ubuntu/application/sensors/event/CMakeLists.txt (+1/-1)
include/ubuntu/application/ui/CMakeLists.txt (+1/-1)
include/ubuntu/application/ui/input/CMakeLists.txt (+1/-1)
include/ubuntu/hardware/CMakeLists.txt (+1/-1)
include/ubuntu/ui/CMakeLists.txt (+1/-1)
src/mirserver/CMakeLists.txt (+1/-1)
To post a comment you must log in.
usr/include/ubuntu for example can be a symlink to the current default level of the sdk for compatability reasons / ease of building against the deefault, e.g.:
usr/include/ubuntu -> usr/include/ ubuntu- <version> /ubuntu
The real headers are shipped in: usr/include/ ubuntu- <version> /ubuntu/ *.h
Then we need to have: sdk-<version> .pc which define -I /usr/include/ ubuntu- <version> sdk-<version> .pc.
ubuntu-
and a default
ubuntu-sdk.pc a symlink to current ubuntu-
The ubuntu-sdk-default package will then be the one that ships symlinks only to the current ubuntu- sdk-<version>
This is very similar to how boost-dev, python, python3, etc... are all "dummy" default symlink only packages, depending on the "versioned" default one.