-
Notifications
You must be signed in to change notification settings - Fork 47
vglass: replace surfman/input-server with vglass #1382
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
dd6c87b
a824a0c
ec2ebbb
0c66f04
8f82bbb
12213df
b4426a4
cd4cfa1
e9730dc
37df8f3
321bf90
5072717
d77f6c6
36f7bc3
f2e6def
45c54bf
e20d83b
2c85f96
9c67f4f
3bfc716
abdf92f
0081d6c
ad00c30
3487874
81d94b0
714bdec
78d7a87
bf48cc2
2370bd7
1ec4b9f
763ec4f
a4d659f
e0b801f
eb9d550
21a012c
eded591
fbe5458
401e525
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -42,4 +42,5 @@ LAYERDEPENDS_xenclient-oe = " \ | |
| meta-python \ | ||
| openembedded-layer \ | ||
| core \ | ||
| vglass \ | ||
| " | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -11,8 +11,6 @@ PREFERRED_PROVIDER_libgl1 = "nvidia-lib" | |
| MACHINE_FEATURES = "screen keyboard ethernet pci usbhost acpi ext2 x86" | ||
| MACHINE_FEATURES += "rtc" | ||
|
|
||
| module_conf_i915 = "options i915 enable_psr=0" | ||
|
|
||
| KERNEL_MODULE_PROBECONF += " \ | ||
| i915 \ | ||
| " | ||
|
|
@@ -22,3 +20,5 @@ KERNEL_MODULE_AUTOLOAD += " \ | |
| hid-multitouch \ | ||
| txt \ | ||
| " | ||
|
|
||
| PREFERRED_PROVIDER_virtual/libivc = "libivc2" | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I was hoping that dependencies could handle this, but libpvglass depends on virtual/libivc, so we can't just make vglass depend on libvc2 and qemu depend on libivc, right?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes that is why I ended up defining a prefered per-machine provider, which in turns comes from libpvbackendhelper/libpvdisplayhelper, aka recipe libpvglass, exporting the same public headers, OE rightfully reports one can overwrite the other if they are provided by two different recipes. |
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -45,8 +45,8 @@ XSERVER = " \ | |
| xserver-xorg \ | ||
| xf86-input-evdev \ | ||
| xf86-input-mouse \ | ||
| xf86-video-fbdev \ | ||
| xf86-input-keyboard \ | ||
| xf86-video-openxtfb \ | ||
| " | ||
|
|
||
| IMAGE_INSTALL += "\ | ||
|
|
@@ -55,7 +55,6 @@ IMAGE_INSTALL += "\ | |
| packagegroup-xenclient-xfce-minimal \ | ||
| openssh \ | ||
| packagegroup-base \ | ||
| xenfb2 \ | ||
| kernel-modules \ | ||
| argo-module \ | ||
| libargo \ | ||
|
|
@@ -89,7 +88,6 @@ IMAGE_INSTALL += "\ | |
| glibc-gconv-libjis \ | ||
| glibc-gconv-euc-jp \ | ||
| mobile-broadband-provider-info \ | ||
| shutdown-screen \ | ||
| ttf-dejavu-sans \ | ||
| ttf-dejavu-sans-mono \ | ||
| uim \ | ||
|
|
@@ -98,6 +96,7 @@ IMAGE_INSTALL += "\ | |
| anthy \ | ||
| matchbox-keyboard \ | ||
| matchbox-keyboard-im \ | ||
| kernel-module-openxtfb \ | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This seems like it's in the wrong commit 761aed3
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It is indeed. |
||
| " | ||
|
|
||
| require xenclient-version.inc | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,47 @@ | ||
| --- a/configure | ||
| +++ b/configure | ||
| @@ -486,6 +486,7 @@ docker="no" | ||
| debug_mutex="no" | ||
| libpmem="" | ||
| libudev="no" | ||
| +libargo="no" | ||
|
|
||
| # cross compilers defaults, can be overridden with --cross-cc-ARCH | ||
| cross_cc_aarch64="aarch64-linux-gnu-gcc" | ||
| @@ -5686,6 +5687,16 @@ if test "$libudev" != "no" ; then | ||
| fi | ||
| fi | ||
|
|
||
| +########################################## | ||
| +# argo support probe | ||
| +if test "$libargo" = "yes"; then | ||
| + libargo_cflags=$($pkg_config --cflags libargo) | ||
| + libargo_libs=$($pkg_config --libs libargo) | ||
| + if ! compile_prog "$libargo_cflags" "$libargo_libs"; then | ||
| + feature_not_found "libargo" "Install libargo devel" | ||
| + fi | ||
| +fi | ||
| + | ||
| # Now we've finished running tests it's OK to add -Werror to the compiler flags | ||
| if test "$werror" = "yes"; then | ||
| QEMU_CFLAGS="-Werror $QEMU_CFLAGS" | ||
| @@ -6122,6 +6133,7 @@ echo "capstone $capstone" | ||
| echo "docker $docker" | ||
| echo "libpmem support $libpmem" | ||
| echo "libudev $libudev" | ||
| +echo "libargo $libargo" | ||
|
|
||
| if test "$sdl_too_old" = "yes"; then | ||
| echo "-> Your SDL version is too old - please upgrade to have SDL support" | ||
| @@ -6997,6 +7009,11 @@ if test "$libudev" != "no"; then | ||
| echo "LIBUDEV_LIBS=$libudev_libs" >> $config_host_mak | ||
| fi | ||
|
|
||
| +if test "$libargo" = "yes" ; then | ||
| + echo "LIBARGO_CFLAGS=$libargo_cflags" >> $config_host_mak | ||
| + echo "LIBARGO_LIBS=$libargo_libs" >> $config_host_mak | ||
| +fi | ||
| + | ||
| # use included Linux headers | ||
| if test "$linux" = "yes" ; then | ||
| mkdir -p linux-headers |
Uh oh!
There was an error while loading. Please reload this page.