Open Mercotui opened 7 months ago
By the way, in this commit https://github.com/Mercotui/conan-center-index/commit/e367d9c73bef85e63a62ba572e0e4d1fec9cb948 I also took the liberty to add GLES 3.0 as this is supported by raylib 5.0.
And I made the package test slightly more verbose, because I stared at the log message for a minute trying to figure out what it was trying to tell me... unit sphere collides with itself? That sounds like a good thing?
Description
I think raylib 5.0 for linux does not depend on X11, it can also use glfl with wayland , but the conan recipe has this:
which seems unnecessary?
I made my own version of the package here: https://github.com/Mercotui/conan-center-index/commit/e367d9c73bef85e63a62ba572e0e4d1fec9cb948 and this works fine for wayland. When using my custom raylib recipe, my consumer conanfile then looks like:
Package and Environment Details
Conan profile
[settings] arch=x86_64 build_type=Release compiler=gcc compiler.cppstd=gnu17 compiler.libcxx=libstdc++11 compiler.version=13 os=Linux
Steps to reproduce
Use a conan recipe that depends on the upstream raylib/5.0#83c5000419536fb1638444a13b209a9a on a fedora 39 installation that does not have any X11 development libraries installed:
conan install -u -pr:b=default -pr:h=default --build=missing .
Logs
Click to expand log
``` $ conan install -u -pr:b=default -pr:h=default --build=missing . ======== Input profiles ======== Profile host: [settings] arch=x86_64 build_type=Release compiler=gcc compiler.cppstd=gnu17 compiler.libcxx=libstdc++11 compiler.version=13 os=Linux Profile build: [settings] arch=x86_64 build_type=Release compiler=gcc compiler.cppstd=gnu17 compiler.libcxx=libstdc++11 compiler.version=13 os=Linux ======== Computing dependency graph ======== raylib/5.0: Checking remote: conancenter glfw/3.3.8: Checking remote: conancenter opengl/system: Checking remote: conancenter xorg/system: Checking remote: conancenter wayland/1.22.0: Checking remote: conancenter libffi/3.4.4: Checking remote: conancenter libxml2/2.12.6: Checking remote: conancenter zlib/1.3.1: Checking remote: conancenter libiconv/1.17: Checking remote: conancenter pkgconf/2.1.0: Checking remote: conancenter meson/1.2.2: Checking remote: conancenter ninja/1.11.1: Checking remote: conancenter expat/2.6.2: Checking remote: conancenter meson/1.4.0: Checking remote: conancenter xkbcommon/1.6.0: Checking remote: conancenter xkeyboard-config/system: Checking remote: conancenter meson/1.3.2: Checking remote: conancenter bison/3.8.2: Checking remote: conancenter m4/1.4.19: Checking remote: conancenter flex/2.6.4: Checking remote: conancenter wayland-protocols/1.33: Checking remote: conancenter meson/1.3.0: Checking remote: conancenter Graph root conanfile.py: /home/menno/Workspace/projectname/conanfile.py Requirements expat/2.6.2#2d385d0d50eb5561006a7ff9e356656b - Cache (conancenter) glfw/3.3.8#37f6ec0d0d007b05500d3b80fa3b158c - Cache (conancenter) libffi/3.4.4#35eb63842b505824b70aedc1baefc916 - Cache (conancenter) libiconv/1.17#73fefc1b696e069df90fd1d18aa63edd - Cache (conancenter) libxml2/2.12.6#8ccbdd478490cff58659863997f679f3 - Cache (conancenter) opengl/system#4df6fecde4084386beded3ed0e56e4ea - Cache (conancenter) raylib/5.0#83c5000419536fb1638444a13b209a9a - Cache (conancenter) wayland/1.22.0#284b56bdbe57868770f46100784e3b4d - Cache (conancenter) xkbcommon/1.6.0#71f9ce7ed3e1d3b40cbb8c449766b15f - Cache (conancenter) xkeyboard-config/system#57dd5c08e72ab06bc2ee0e756c0a2c41 - Cache (conancenter) xorg/system#f626cbdd0ba57d9c53bce2d8b9362fad - Cache (conancenter) zlib/1.3.1#f52e03ae3d251dec704634230cd806a2 - Cache (conancenter) Build requirements bison/3.8.2#ed1ba0c42d2ab7ab64fc3a62e9ecc673 - Cache (conancenter) expat/2.6.2#2d385d0d50eb5561006a7ff9e356656b - Cache (conancenter) flex/2.6.4#e35bc44b3fcbcd661e0af0dc5b5b1ad4 - Cache (conancenter) libffi/3.4.4#35eb63842b505824b70aedc1baefc916 - Cache (conancenter) libiconv/1.17#73fefc1b696e069df90fd1d18aa63edd - Cache (conancenter) libxml2/2.12.6#8ccbdd478490cff58659863997f679f3 - Cache (conancenter) m4/1.4.19#b38ced39a01e31fef5435bc634461fd2 - Cache (conancenter) meson/1.2.2#04bdfb85d665c82b08a3510aee3ffd19 - Cache (conancenter) meson/1.3.0#67eebe98438326590a9285377c37cea2 - Cache (conancenter) meson/1.3.2#d1125ba555ec1a94f165a3412fdf7f88 - Cache (conancenter) meson/1.4.0#024dfac41ea5570cb1aec3ea6fe34d0a - Cache (conancenter) ninja/1.11.1#77587f8c8318662ac8e5a7867eb4be21 - Cache (conancenter) pkgconf/2.1.0#27f44583701117b571307cf5b5fe5605 - Cache (conancenter) wayland/1.22.0#284b56bdbe57868770f46100784e3b4d - Cache (conancenter) wayland-protocols/1.33#b9e56b7662c2a25f30bfb4eb72df9ad6 - Cache (conancenter) zlib/1.3.1#f52e03ae3d251dec704634230cd806a2 - Cache (conancenter) Resolved version ranges expat/[>=2.6.2 <3]: expat/2.6.2 libxml2/[>=2.12.5 <3]: libxml2/2.12.6 zlib/[>=1.2.11 <2]: zlib/1.3.1 ======== Computing necessary packages ======== expat/2.6.2: WARN: Can't update, no package in remote libffi/3.4.4: WARN: Can't update, no package in remote libiconv/1.17: WARN: Can't update, no package in remote m4/1.4.19: Current package revision is newer than the remote one ninja/1.11.1: Current package revision is newer than the remote one opengl/system: Current package revision is newer than the remote one xkeyboard-config/system: Current package revision is newer than the remote one zlib/1.3.1: WARN: Can't update, no package in remote flex/2.6.4: WARN: Can't update, no package in remote meson/1.3.2: Current package revision is newer than the remote one meson/1.4.0: Current package revision is newer than the remote one bison/3.8.2: WARN: Can't update, no package in remote pkgconf/2.1.0: Current package revision is newer than the remote one wayland-protocols/1.33: Current package revision is newer than the remote one libxml2/2.12.6: WARN: Can't update, no package in remote wayland/1.22.0: WARN: Can't update, no package in remote xkbcommon/1.6.0: WARN: Can't update, no package in remote Requirements expat/2.6.2#2d385d0d50eb5561006a7ff9e356656b:aded8fb718ce53657d2b174704f00cbccc67d052#48859550215e0f2e4eacff31ce038b74 - Cache glfw/3.3.8#37f6ec0d0d007b05500d3b80fa3b158c:7c94bc56494db340de7a6a338c9ff63b4437a192 - Build libffi/3.4.4#35eb63842b505824b70aedc1baefc916:c81087b06d1a5beef0ad711fc32d45f7a425a8f3#b376d54ea49979ca0ab5231f072e1900 - Cache libiconv/1.17#73fefc1b696e069df90fd1d18aa63edd:c81087b06d1a5beef0ad711fc32d45f7a425a8f3#3e01a63a6c24f13a8e4ad3d71d573ac1 - Cache libxml2/2.12.6#8ccbdd478490cff58659863997f679f3:dc800073fb28e8130ad8c1e020fe19b78062867e#a4591d1fd382f6b56935f658892473fc - Cache opengl/system#4df6fecde4084386beded3ed0e56e4ea:da39a3ee5e6b4b0d3255bfef95601890afd80709#0ba8627bd47edc3a501e8f0eb9a79e5e - Cache raylib/5.0#83c5000419536fb1638444a13b209a9a:fc63344f2ca9933c759a9fa62596d7b9ddaa5e98 - Build wayland/1.22.0#284b56bdbe57868770f46100784e3b4d:03ec70e715d7fa93aeb5695bb54c912c9e0ae9c8#6386212888e33ec3650448b02a4f45d3 - Cache xkbcommon/1.6.0#71f9ce7ed3e1d3b40cbb8c449766b15f:26e6babab20a96ccf2700562fdc20d2c9d86bca5#69c98ae051ae0675df2c24a4e1956d77 - Cache xkeyboard-config/system#57dd5c08e72ab06bc2ee0e756c0a2c41:da39a3ee5e6b4b0d3255bfef95601890afd80709#0ba8627bd47edc3a501e8f0eb9a79e5e - Cache xorg/system#f626cbdd0ba57d9c53bce2d8b9362fad:da39a3ee5e6b4b0d3255bfef95601890afd80709#0ba8627bd47edc3a501e8f0eb9a79e5e - Download (conancenter) zlib/1.3.1#f52e03ae3d251dec704634230cd806a2:c81087b06d1a5beef0ad711fc32d45f7a425a8f3#762db9351b2cb5499082cd377ee83a0c - Cache Build requirements pkgconf/2.1.0#27f44583701117b571307cf5b5fe5605:c0b621fd4b3199fe05075171573398833dba85f4#74a82dec52448dda20253a19d65965c7 - Cache wayland-protocols/1.33#b9e56b7662c2a25f30bfb4eb72df9ad6:da39a3ee5e6b4b0d3255bfef95601890afd80709#f85f08cf8936bf98a464db0e7a468e8f - Cache wayland/1.22.0#284b56bdbe57868770f46100784e3b4d:03ec70e715d7fa93aeb5695bb54c912c9e0ae9c8#6386212888e33ec3650448b02a4f45d3 - Cache Skipped binaries bison/3.8.2, expat/2.6.2, flex/2.6.4, libffi/3.4.4, libiconv/1.17, libxml2/2.12.6, m4/1.4.19, meson/1.2.2, meson/1.3.0, meson/1.3.2, meson/1.4.0, ninja/1.11.1, zlib/1.3.1 libglvnd-devel-1.7.0-1.fc39.x86_64 opengl/system: System requirements: already installed xkeyboard-config-devel-2.40-1.fc39.noarch xkeyboard-config/system: System requirements: already installed libxcb-devel-1.13.1-12.fc39.x86_64 package libfontenc-devel is not installed package libXaw-devel is not installed package libXcomposite-devel is not installed package libXcursor-devel is not installed package libXdmcp-devel is not installed package libXtst-devel is not installed package libXinerama-devel is not installed package libxkbfile-devel is not installed package libXrandr-devel is not installed package libXres-devel is not installed package libXScrnSaver-devel is not installed package xcb-util-wm-devel is not installed package xcb-util-image-devel is not installed package xcb-util-keysyms-devel is not installed package xcb-util-renderutil-devel is not installed package libXdamage-devel is not installed package libXxf86vm-devel is not installed package libXv-devel is not installed package xcb-util-devel is not installed package libuuid-devel is not installed package xcb-util-cursor-devel is not installed ERROR: xorg/system: Error in system_requirements() method, line 50 dnf.install(["libxcb-devel", "libfontenc-devel", "libXaw-devel", "libXcomposite-devel", ConanException: System requirements: 'libfontenc-devel, libXaw-devel, libXcomposite-devel, libXcursor-devel, libXdmcp-devel, libXtst-devel, libXinerama-devel, libxkbfile-devel, libXrandr-devel, libXres-devel, libXScrnSaver-devel, xcb-util-wm-devel, xcb-util-image-devel, xcb-util-keysyms-devel, xcb-util-renderutil-devel, libXdamage-devel, libXxf86vm-devel, libXv-devel, xcb-util-devel, libuuid-devel, xcb-util-cursor-devel' are missing but can't install because tools.system.package_manager:mode is 'check'.Please update packages manually or set 'tools.system.package_manager:mode' to 'install' in the [conf] section of the profile, or in the command line using '-c tools.system.package_manager:mode=install' ```