[DO-971] ffmpeg recipe with requirements (!9)
Co-authored-by: aleksandr.vodyanov <aleksandr.vodyanov@avroid.tech> Reviewed-on: https://git.avroid.tech/Conan/conan_build/pulls/9
This commit is contained in:
26
recipes/xorg/all/test_package/test_package.c
Normal file
26
recipes/xorg/all/test_package/test_package.c
Normal file
@@ -0,0 +1,26 @@
|
||||
#include <X11/Xlib.h>
|
||||
#include <X11/Xutil.h>
|
||||
|
||||
#include <X11/Xauth.h>
|
||||
|
||||
#include <X11/SM/SMlib.h>
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
int main() {
|
||||
Display *display = XOpenDisplay(NULL);
|
||||
|
||||
if (!display) {
|
||||
printf("XOpenDisplay failed\n");
|
||||
return 0;
|
||||
}
|
||||
|
||||
{
|
||||
char *xau_file_name = XauFileName();
|
||||
if (xau_file_name)
|
||||
printf("XauFileName: %s\n", xau_file_name);
|
||||
}
|
||||
|
||||
XCloseDisplay(display);
|
||||
SmcSetErrorHandler(NULL);
|
||||
}
|
||||
Reference in New Issue
Block a user