Skip to content

xorg: fix installation paths (branch yem/xorg)

Yann E. MORIN buildroot 3 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest posting 2/20 of 3 patches 0 repliesNew
  2. v2 posting 1/23 patches 0 repliesSuperseded
  3. v1 RFC0 of 4 patches 0 repliesSuperseded

Patches in v2 posting 2/2 No applies recorded yet

None of the 3 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [Buildroot] [PATCH 0/3 v2] xorg: fix installation paths (branch yem/xorg)

Thomas, All,

On 2016-04-21 22:01 +0200, Thomas Petazzoni spake thusly:

Quoted 8 lines · Yann E. MORIN
Quoted 7 lines

This series is an attempt to fix the installation paths of many Xorg-related packages.

The new pkconf bumped in d7f6d320 introduced a change in behaviour: all path variables returned by pkgconf are now prefixed with the sysroot directory.

Quoted 7 lines
Quoted 4 lines

This has an impact on a lot of Xorg packages (and maybe others as well), since they use such paths verbatim to install files in either of:

    $(STAGING_DIR)/$(SYSROOT_DIR)/some/path
    $(TARGET_DIR)/$(SYSROOT_DIR)/some/path

One important thing that this cover letter doesn't explain is why we don't fix pkg-config instead?

(trying to reconnect the dots...)

Right. But in turns out that pkg-config has been fixed, yet there still are errors, because the Xorg packages define an "sdk_dir" (or so) variable, and use that to prefix a lot of directories, of which the runtime directories.

So, it's not about a pkg-config issue, but mainly because all of the Xorg packages are bran-damaged and try (and fail) to circumvent pkg-config functionality by setting variables that are not common pkg-config variables.

I did not correctly update the cover letter from the previous iteration, sorry... I can rewrite it and respin the series, but the patches will not change.

Regards,
Yann E. MORIN.

Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'