Skip to content
This repository was archived by the owner on Apr 15, 2020. It is now read-only.

Comments

Update drm, xcb, xcb-proto and xshmfence#1524

Merged
ruslo merged 5 commits intoruslo:masterfrom
dan-42:update_drm_xcb_xshmfence
Aug 27, 2018
Merged

Update drm, xcb, xcb-proto and xshmfence#1524
ruslo merged 5 commits intoruslo:masterfrom
dan-42:update_drm_xcb_xshmfence

Conversation

@dan-42
Copy link
Contributor

@dan-42 dan-42 commented Aug 26, 2018

Hey this updates the packages
drm, xcb, xcb-proto and xshmfence

They run with out a problem on my system, but I have not got travis or appveyer working.
I'll update the PR when I have.

Note to xcb

the files libxcb-xevie.* and libxcb-xprint.* ``` are no longer provided. This might break an old toolchain?

I want to get qt 5.11 to run, so beside otherstuff I still need to figure out,
these packages must be updated to compile qt 5.11 with gcc 8.1 on ArchLinux.

)

set(_xcb_text_files "")
foreach(_x composite damage dpms dri2 dri3 glx present randr record render res screensaver shape shm sync xevie xf86dri xfixes xinerama xkb xprint xtest xv xvmc)
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This configuration should work for both 1.11 and 1.13, hence list should be formed based on analysis of HUNTER_xcb_VERSION variable.

@dan-42
Copy link
Contributor Author

dan-42 commented Aug 26, 2018

This Ok? Otherwise is there a nicer way to make is less(<) compare with the version-string? and use it?

98199b6054750a06cddd4e77baa4354af547ce6f
)

list(APPEND _xcb_text_file_tpl composite damage dpms dri2 dri3 glx present randr record render res screensaver shape shm sync xf86dri xfixes xinerama xkb xtest xv xvmc)
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This file can be loaded few times, please use set(_xcb_text_file_tpl composite damage dpms ...) instead.

list(APPEND _xcb_text_file_tpl composite damage dpms dri2 dri3 glx present randr record render res screensaver shape shm sync xf86dri xfixes xinerama xkb xtest xv xvmc)

# xcb 1.8.* or 1.11.*
if(HUNTER_xcb_VERSION MATCHES "^1\\.11\\." OR HUNTER_xcb_VERSION MATCHES "^1\\.8\\.")
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if(HUNTER_xcb_VERSION VERSION_LESS "1.13")?

@ruslo ruslo merged commit 8913168 into ruslo:master Aug 27, 2018
@ruslo
Copy link
Owner

ruslo commented Aug 27, 2018

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants