Skip to content
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

libdecor: Add recipe #22387

Open
wants to merge 25 commits into
base: master
Choose a base branch
from
Open

libdecor: Add recipe #22387

wants to merge 25 commits into from

Conversation

jwillikers
Copy link
Contributor

@jwillikers jwillikers commented Jan 16, 2024

Specify library name and version: libdecor/0.2.2

libdecor is a library for adding client-side decorations in Wayland.

This package is a dependency for mesa-demos and version 3.3.9 of GLFW.

Requires:


@conan-center-bot

This comment has been minimized.

@jwillikers
Copy link
Contributor Author

Blocked until #20795 can be merged.

@conan-center-bot

This comment has been minimized.

@jwillikers jwillikers mentioned this pull request Jan 17, 2024
4 tasks
@conan-center-bot

This comment has been minimized.

@conan-center-bot conan-center-bot added the Version conflict There is a version conflict when solving the dependencies graph label Jan 31, 2024
@conan-center-bot

This comment has been minimized.

@jwillikers
Copy link
Contributor Author

Blocked by libxft, requires #17485

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@jwillikers
Copy link
Contributor Author

Requires #22920 and #22696 to fix dependency conflicts.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

Copy link
Contributor

@valgur valgur left a comment

Choose a reason for hiding this comment

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

LGTM

recipes/libdecor/all/conanfile.py Outdated Show resolved Hide resolved
if self.options.get_safe("with_dbus"):
self.requires("dbus/1.15.8")
if self.options.get_safe("with_gtk"):
self.requires("gtk/system")
Copy link
Contributor

Choose a reason for hiding this comment

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

Why not a non-system version?

Copy link
Contributor Author

@jwillikers jwillikers May 7, 2024

Choose a reason for hiding this comment

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

I don't think those are maintained, are they? I tried using those ones first but ran into a lot of problems.

recipes/libdecor/all/conanfile.py Show resolved Hide resolved
recipes/libdecor/all/conanfile.py Show resolved Hide resolved
recipes/libdecor/all/test_package/meson.build Outdated Show resolved Hide resolved
jwillikers and others added 2 commits May 7, 2024 13:51
Co-authored-by: Martin Valgur <martin.valgur@gmail.com>
Co-authored-by: Martin Valgur <martin.valgur@gmail.com>
@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@AbrilRBS AbrilRBS self-assigned this May 8, 2024
Copy link
Member

@AbrilRBS AbrilRBS left a comment

Choose a reason for hiding this comment

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

Thanks!

I'm having problems compiling with the opposite options:

conan create . --version=0.2.2 -b=missing -o="with_dbus=False" -o="with_gtk=True"

======== Exporting recipe to the cache ========
libdecor/0.2.2: Exporting package recipe: /libdecor/all/conanfile.py
libdecor/0.2.2: exports: File 'conandata.yml' found. Exporting it...
libdecor/0.2.2: Calling export_sources()
libdecor/0.2.2: Copied 1 '.yml' file: conandata.yml
libdecor/0.2.2: Copied 1 '.py' file: conanfile.py
libdecor/0.2.2: Copied 1 '.patch' file: 0.2.2-0001-Rename-os_create_anonymous_file-to-avoid-a-conflict-.patch
libdecor/0.2.2: Exported to cache folder: /root/.conan2/p/libdeacda7bd203b01/e
libdecor/0.2.2: Exported: libdecor/0.2.2#d1a3b9e62b86ee61ffb027ee30f1a2f6 (2024-05-08 12:36:48 UTC)

======== Input profiles ========
Profile host:
[settings]
arch=armv8
build_type=Release
compiler=gcc
compiler.cppstd=gnu17
compiler.libcxx=libstdc++11
compiler.version=11
os=Linux
[options]
with_dbus=False
with_gtk=True
[platform_tool_requires]
cmake/*: cmake/3.28.1
[conf]
tools.files.download:verify=False
tools.system.package_manager:mode=install

Profile build:
[settings]
arch=armv8
build_type=Release
compiler=gcc
compiler.cppstd=gnu17
compiler.libcxx=libstdc++11
compiler.version=11
os=Linux
[platform_tool_requires]
cmake/*: cmake/3.28.1
[conf]
tools.files.download:verify=False
tools.system.package_manager:mode=install


======== Computing dependency graph ========
Graph root
    cli
Requirements
    brotli/1.1.0#d56d7bb9ca722942aba17369cb5c0519 - Cache
    bzip2/1.0.8#457c272f7da34cb9c67456dd217d36c4 - Cache
    cairo/1.18.0#6133b44d7bf4cf69c5361cbc864f6a58 - Cache
    expat/2.6.2#2d385d0d50eb5561006a7ff9e356656b - Cache
    fontconfig/2.15.0#e0b660ff9389f08e1aca1a67d748d737 - Cache
    freetype/2.13.2#7934d59c447d72edcd56025dc60e1aeb - Cache
    fribidi/1.0.13#861199a83fa19c194beeb7f6234d9d51 - Cache
    glib/2.78.3#0cd1865c8603d90b3bc5858065e16d01 - Cache
    gtk/system#3671596ecc796ec65f881b2cad66ce26 - Cache
    harfbuzz/8.3.0#c83405ed297bad6c9e9587e2a19c686a - Cache
    libdecor/0.2.2#d1a3b9e62b86ee61ffb027ee30f1a2f6 - Cache
    libelf/0.8.13#4f70a3555809ae50cc8add44f0f84288 - Cache
    libffi/3.4.4#35eb63842b505824b70aedc1baefc916 - Cache
    libiconv/1.17#73fefc1b696e069df90fd1d18aa63edd - Cache
    libmount/2.39#8a95198b2547a8ca7685eb7a1d002903 - Cache
    libpng/1.6.43#c219d8f01983bac10c404fc613605eef - Cache
    libselinux/3.5#776f35e238362c6b893220f437cb89ae - Cache
    libxft/2.3.8#5a86906f15dcf469406c4b186410bf0b - Cache
    libxml2/2.12.6#8ccbdd478490cff58659863997f679f3 - Cache
    lzo/2.10#5725914235423c771cb1c6b607109b45 - Cache
    pango/1.51.0#51bdca265f868487aad6069d1944f16d - Cache
    pcre2/10.42#a7a2c122056510509a7525c83d6a6695 - Cache
    pixman/0.43.4#17a592b79b264d61abeec594cc331e58 - Cache
    util-linux-libuuid/2.39.2#339f80aea7e5cf507b5b9839a128909f - Cache
    wayland/1.22.0#284b56bdbe57868770f46100784e3b4d - Cache
    xorg/system#f626cbdd0ba57d9c53bce2d8b9362fad - Cache
    zlib/1.3.1#f52e03ae3d251dec704634230cd806a2 - Cache
Build requirements
    autoconf/2.71#f9307992909d7fb3df459340f1932809 - Cache
    automake/1.16.5#058bda3e21c36c9aa8425daf3c1faf50 - Cache
    bzip2/1.0.8#457c272f7da34cb9c67456dd217d36c4 - Cache
    expat/2.6.2#2d385d0d50eb5561006a7ff9e356656b - Cache
    flex/2.6.4#e35bc44b3fcbcd661e0af0dc5b5b1ad4 - Cache
    glib/2.78.3#0cd1865c8603d90b3bc5858065e16d01 - Cache
    gnu-config/cci.20210814#dc430d754f465e8c74463019672fb97b - Cache
    gperf/3.1#1d622ad9717e9348ed3685c9994ad0b9 - Cache
    libelf/0.8.13#4f70a3555809ae50cc8add44f0f84288 - Cache
    libffi/3.4.4#35eb63842b505824b70aedc1baefc916 - Cache
    libiconv/1.17#73fefc1b696e069df90fd1d18aa63edd - Cache
    libmount/2.39#8a95198b2547a8ca7685eb7a1d002903 - Cache
    libselinux/3.5#776f35e238362c6b893220f437cb89ae - Cache
    libtool/2.4.7#08316dad5c72c541ed21e039e4cf217b - Cache
    libxml2/2.12.6#8ccbdd478490cff58659863997f679f3 - Cache
    m4/1.4.19#b38ced39a01e31fef5435bc634461fd2 - Cache
    meson/1.2.1#f641f02771e4660c772354736da0b9c6 - Cache
    meson/1.2.2#04bdfb85d665c82b08a3510aee3ffd19 - Cache
    meson/1.3.0#67eebe98438326590a9285377c37cea2 - Cache
    meson/1.3.2#d1125ba555ec1a94f165a3412fdf7f88 - Cache
    meson/1.4.0#024dfac41ea5570cb1aec3ea6fe34d0a - Cache
    ninja/1.11.1#77587f8c8318662ac8e5a7867eb4be21 - Cache
    pcre2/10.42#a7a2c122056510509a7525c83d6a6695 - Cache
    pkgconf/2.0.3#f996677e96e61e6552d85e83756c328b - Cache
    pkgconf/2.1.0#27f44583701117b571307cf5b5fe5605 - Cache
    pkgconf/2.2.0#6462942a22803086372db44689ba825f - Cache
    wayland/1.22.0#284b56bdbe57868770f46100784e3b4d - Cache
    wayland-protocols/1.33#b9e56b7662c2a25f30bfb4eb72df9ad6 - Cache
    xorg-macros/1.20.0#b721d2f8ca6804d072820cb551d8c4fa - Cache
    zlib/1.3.1#f52e03ae3d251dec704634230cd806a2 - Cache
Resolved version ranges
    expat/[>=2.6.2 <3]: expat/2.6.2
    libpng/[>=1.6 <2]: libpng/1.6.43
    libxml2/[>=2.12.5 <3]: libxml2/2.12.6
    zlib/[>=1.2.11 <2]: zlib/1.3.1

======== Computing necessary packages ========
Requirements
    brotli/1.1.0#d56d7bb9ca722942aba17369cb5c0519:6b4423c6dc5df285236de5d07e7d22259733ec24#e23008dbd395c3538498c33f897505f3 - Cache
    bzip2/1.0.8#457c272f7da34cb9c67456dd217d36c4:2fd048f27ed7ba7c528a5914cab783bbab9fa0b5#98b08e3ee3dc44943163ad4f43b6509a - Cache
    cairo/1.18.0#6133b44d7bf4cf69c5361cbc864f6a58:d3a55c52cc342faad12307e744ba547808607095#ebd53ef586001bdd9c3d3566f6c04317 - Cache
    expat/2.6.2#2d385d0d50eb5561006a7ff9e356656b:edf5051da84e2c037334b0a60f999743f4115899#d7d3a8f777d7e7b8a4cca3bb8f8a6ffc - Cache
    fontconfig/2.15.0#e0b660ff9389f08e1aca1a67d748d737:a4da501b4f9e09dca533d7d3e0c1ca0c03f4ba03#661f78fa90cf0ceed4f5eaf6e3536590 - Cache
    freetype/2.13.2#7934d59c447d72edcd56025dc60e1aeb:e2dd2460ca67f242643d688af7bf376368a8545a#f567055719e57b26728c7699b5a51aa9 - Cache
    fribidi/1.0.13#861199a83fa19c194beeb7f6234d9d51:e80621978d722fddc470ae5b2514652aec1eb225#7dd5f7e1a68ecf0e4bc4efa644b1a098 - Cache
    glib/2.78.3#0cd1865c8603d90b3bc5858065e16d01:b471f09274e44fb81e642bb577ab1f0143225776#b3c7ff215bdd4ef171310eda8dc8f8b5 - Cache
    gtk/system#3671596ecc796ec65f881b2cad66ce26:b393f04ef5ca6a89590f29f8ca7eda026c148049#3d742b429533a316c8e6f3ea841ac0ae - Cache
    harfbuzz/8.3.0#c83405ed297bad6c9e9587e2a19c686a:d86eb540509c902c2dce31b62b8610684a1b3131#7656f0e5f11f8accc997977f52b5d27e - Cache
    libdecor/0.2.2#d1a3b9e62b86ee61ffb027ee30f1a2f6:2c4bb3f6384332e3bb655a66898b01fb629fb938 - Build
    libelf/0.8.13#4f70a3555809ae50cc8add44f0f84288:31ae95bed32b612c7c18c2732aec878920f35b7f#36dec7eea27c751bc64b3883bcc0cab6 - Cache
    libffi/3.4.4#35eb63842b505824b70aedc1baefc916:31ae95bed32b612c7c18c2732aec878920f35b7f#a5a696cee487e38044848d47341c0739 - Cache
    libiconv/1.17#73fefc1b696e069df90fd1d18aa63edd:31ae95bed32b612c7c18c2732aec878920f35b7f#a57b509747b11315af5f51668e428215 - Cache
    libmount/2.39#8a95198b2547a8ca7685eb7a1d002903:31ae95bed32b612c7c18c2732aec878920f35b7f#bc99842e916d5ab69234b2fcae627434 - Cache
    libpng/1.6.43#c219d8f01983bac10c404fc613605eef:04cca227fdab3f9bfc797d87f314f9d297384d6b#c4943269791ad26243dcfd9a99f83c24 - Cache
    libselinux/3.5#776f35e238362c6b893220f437cb89ae:faafc3d3b3bca8067e660d7f3ddd76b7d332d595#95939dd39b79851f535cbef2974fd603 - Cache
    libxft/2.3.8#5a86906f15dcf469406c4b186410bf0b:a61e230788bdfe3ac3ee0bb7bd2770f6157a846f#c66e5b13fe854bdc86c7d60de5af091c - Cache
    libxml2/2.12.6#8ccbdd478490cff58659863997f679f3:89efa1543fd2e21e2c97ce5499dca0fc4b60ed64#4b00d9ebb1f0be43a6f52b750a5106e9 - Cache
    lzo/2.10#5725914235423c771cb1c6b607109b45:31ae95bed32b612c7c18c2732aec878920f35b7f#5cf58a89449c2ceb6e17e8c4cb521602 - Cache
    pango/1.51.0#51bdca265f868487aad6069d1944f16d:610615aede7242a1c7a9c908f6d6aa99307fce5c#cb3f4201a1c4192be2aca6e20e402366 - Cache
    pcre2/10.42#a7a2c122056510509a7525c83d6a6695:42c37ac5227b2dfb175f667242323d539ef3dc65#8a365812867be5649a454680777e9716 - Cache
    pixman/0.43.4#17a592b79b264d61abeec594cc331e58:31ae95bed32b612c7c18c2732aec878920f35b7f#9c1eecfa2fb3df7be877cf44a46c0edc - Cache
    util-linux-libuuid/2.39.2#339f80aea7e5cf507b5b9839a128909f:31ae95bed32b612c7c18c2732aec878920f35b7f#85662206c031df4ae9c69d607e3509c2 - Cache
    wayland/1.22.0#284b56bdbe57868770f46100784e3b4d:7b0953646492b8308777eb15e346954fdcf2c312#09445ad6e56f598e31c9e0bdef391f4b - Cache
    xorg/system#f626cbdd0ba57d9c53bce2d8b9362fad:da39a3ee5e6b4b0d3255bfef95601890afd80709#0ba8627bd47edc3a501e8f0eb9a79e5e - Cache
    zlib/1.3.1#f52e03ae3d251dec704634230cd806a2:31ae95bed32b612c7c18c2732aec878920f35b7f#142eb5cf2c351c16ca4ff2773567c239 - Cache
Build requirements
    meson/1.4.0#024dfac41ea5570cb1aec3ea6fe34d0a:da39a3ee5e6b4b0d3255bfef95601890afd80709#91b870cdcf4edb1a302a2ef7a0514791 - Cache
    ninja/1.11.1#77587f8c8318662ac8e5a7867eb4be21:85c999356992c5713d308db1a4d7bab6bf572f27#8c0a5588d6a258d1a1efb96d5f9ea711 - Cache
    pkgconf/2.2.0#6462942a22803086372db44689ba825f:a93744abf7ebe27c68ffd5c57b1f7f21ff754b90#e219d4c619ac3b43062aa0845b34d488 - Cache
    wayland-protocols/1.33#b9e56b7662c2a25f30bfb4eb72df9ad6:da39a3ee5e6b4b0d3255bfef95601890afd80709#f85f08cf8936bf98a464db0e7a468e8f - Cache
    wayland/1.22.0#284b56bdbe57868770f46100784e3b4d:7b0953646492b8308777eb15e346954fdcf2c312#09445ad6e56f598e31c9e0bdef391f4b - Cache
Skipped binaries
    autoconf/2.71, automake/1.16.5, bzip2/1.0.8, expat/2.6.2, flex/2.6.4, glib/2.78.3, gnu-config/cci.20210814, gperf/3.1, libelf/0.8.13, libffi/3.4.4, libiconv/1.17, libmount/2.39, libselinux/3.5, libtool/2.4.7, libxml2/2.12.6, m4/1.4.19, meson/1.2.1, meson/1.2.2, meson/1.3.0, meson/1.3.2, pcre2/10.42, pkgconf/2.0.3, pkgconf/2.1.0, xorg-macros/1.20.0, zlib/1.3.1
gtk/system: System requirements:  already installed
xorg/system: System requirements:  already installed
xorg/system: System requirements:  already installed

======== Installing packages ========
brotli/1.1.0: Already installed! (1 of 31)
bzip2/1.0.8: Already installed! (2 of 31)
expat/2.6.2: Already installed! (3 of 31)
gtk/system: Already installed! (4 of 31)
libffi/3.4.4: Already installed! (5 of 31)
libiconv/1.17: Already installed! (6 of 31)
libmount/2.39: Already installed! (7 of 31)
lzo/2.10: Already installed! (8 of 31)
ninja/1.11.1: Already installed! (9 of 31)
util-linux-libuuid/2.39.2: Already installed! (10 of 31)
xorg/system: Already installed! (11 of 31)
zlib/1.3.1: Already installed! (12 of 31)
fribidi/1.0.13: Already installed! (13 of 31)
libelf/0.8.13: Already installed! (14 of 31)
pixman/0.43.4: Already installed! (15 of 31)
pkgconf/2.2.0: Already installed! (16 of 31)
pkgconf/2.2.0: WARN: The use of 'unix_path_legacy_compat' is deprecated in Conan 2.0 and does not perform path conversions. This is retained for compatibility with Conan 1.x and will be removed in a future version.
wayland-protocols/1.33: Already installed! (17 of 31)
libpng/1.6.43: Already installed! (18 of 31)
meson/1.4.0: Already installed! (19 of 31)
pcre2/10.42: Already installed! (20 of 31)
pcre2/10.42: Appending PATH environment variable: /root/.conan2/p/b/pcre2a021b9c3977bd/p/bin
libxml2/2.12.6: Already installed! (21 of 31)
libxml2/2.12.6: Appending PATH environment variable: /root/.conan2/p/b/libxm0a0c9e20e1789/p/bin
freetype/2.13.2: Already installed! (22 of 31)
libselinux/3.5: Already installed! (23 of 31)
wayland/1.22.0: Already installed! (24 of 31)
fontconfig/2.15.0: Already installed! (25 of 31)
glib/2.78.3: Already installed! (26 of 31)
cairo/1.18.0: Already installed! (27 of 31)
harfbuzz/8.3.0: Already installed! (28 of 31)
libxft/2.3.8: Already installed! (29 of 31)
pango/1.51.0: Already installed! (30 of 31)

-------- Installing package libdecor/0.2.2 (31 of 31) --------
libdecor/0.2.2: Building from source
libdecor/0.2.2: Package libdecor/0.2.2:2c4bb3f6384332e3bb655a66898b01fb629fb938
libdecor/0.2.2: Copying sources to build folder
libdecor/0.2.2: Building your package in /root/.conan2/p/b/libde2cb6987e3c803/b
libdecor/0.2.2: Calling generate()
libdecor/0.2.2: Generators folder: /root/.conan2/p/b/libde2cb6987e3c803/b/build-release/conan
libdecor/0.2.2: Generating aggregated env files
libdecor/0.2.2: Generated aggregated env files: ['conanbuild.sh', 'conanrun.sh']
libdecor/0.2.2: Calling build()
libdecor/0.2.2: Apply patch (portability): Rename os_create_anonymous_file to avoid a conflict in wayland-cursor
libdecor/0.2.2: Meson configure cmd: meson setup --native-file "/root/.conan2/p/b/libde2cb6987e3c803/b/build-release/conan/conan_meson_native.ini" "/root/.conan2/p/b/libde2cb6987e3c803/b/build-release" "/root/.conan2/p/b/libde2cb6987e3c803/b/src" --prefix=/
libdecor/0.2.2: RUN: meson setup --native-file "/root/.conan2/p/b/libde2cb6987e3c803/b/build-release/conan/conan_meson_native.ini" "/root/.conan2/p/b/libde2cb6987e3c803/b/build-release" "/root/.conan2/p/b/libde2cb6987e3c803/b/src" --prefix=/
The Meson build system
Version: 1.4.0
Source dir: /root/.conan2/p/b/libde2cb6987e3c803/b/src
Build dir: /root/.conan2/p/b/libde2cb6987e3c803/b/build-release
Build type: native build
Project name: libdecor
Project version: 0.2.2
C compiler for the host machine: gcc (gcc 11.4.0 "gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0")
C linker for the host machine: gcc ld.bfd 2.38
Host machine cpu family: aarch64
Host machine cpu: aarch64
Compiler for C supports arguments -Wno-unused-parameter: YES 
Compiler for C supports arguments -Wno-missing-field-initializers: YES 
Found pkg-config: YES (/root/.conan2/p/b/pkgco8e87fe641e22f/p/bin/pkgconf) 2.2.0
Run-time dependency wayland-client found: YES 1.22.0
Run-time dependency wayland-protocols found: YES 1.33
Library dl found: YES
Dependency dbus-1 skipped: feature dbus disabled
Checking for function "asprintf" : YES 
Checking for function "mkostemp" : NO 
Checking for function "posix_fallocate" : YES 
Checking for function "memfd_create" : YES 
Configuring config.h using configuration
Program wayland-scanner found: YES (/root/.conan2/p/b/waylaeaf5149fa3f36/p/bin/wayland-scanner)
Run-time dependency gtk found: YES system
Run-time dependency cairo found: YES 1.18.0
Library m found: YES
Run-time dependency pangocairo found: YES 1.51.0
Run-time dependency wayland-cursor found: YES 1.22.0
Dependency wayland-cursor found: YES 1.22.0 (cached)
Build targets in project: 11
NOTICE: Future-deprecated features used:
 * 0.56.0: {'dependency.get_pkgconfig_variable'}

libdecor 0.2.2

  User defined options
    Native files: /root/.conan2/p/b/libde2cb6987e3c803/b/build-release/conan/conan_meson_native.ini
    prefix      : /

Found ninja-1.11.1 at /root/.conan2/p/b/ninjad3b18389e6336/p/bin/ninja

libdecor/0.2.2: Meson build cmd: meson compile -C "/root/.conan2/p/b/libde2cb6987e3c803/b/build-release" -j12
libdecor/0.2.2: RUN: meson compile -C "/root/.conan2/p/b/libde2cb6987e3c803/b/build-release" -j12
INFO: autodetecting backend as ninja
INFO: calculating backend command to run: /root/.conan2/p/b/ninjad3b18389e6336/p/bin/ninja -j 12
[19/22] Compiling C object src/plugins/cairo/libdecor-cairo.so.p/libdecor-cairo.c.o
In file included from /root/.conan2/p/b/waylaeaf5149fa3f36/p/include/wayland-client.h:40,
                 from ../src/src/libdecor.h:32,
                 from ../src/src/libdecor-plugin.h:31,
                 from ../src/src/plugins/cairo/libdecor-cairo.c:40:
../src/src/plugins/cairo/libdecor-cairo.c: In function ‘draw_border_component’:
/root/.conan2/p/b/waylaeaf5149fa3f36/p/include/wayland-client-protocol.h:6135:9: warning: ‘component_y’ may be used uninitialized in this function [-Wmaybe-uninitialized]
 6135 |         wl_proxy_marshal_flags((struct wl_proxy *) wl_subsurface,
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 6136 |                          WL_SUBSURFACE_SET_POSITION, NULL, wl_proxy_get_version((struct wl_proxy *) wl_subsurface), 0, x, y);
      |                          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/src/plugins/cairo/libdecor-cairo.c:1570:13: note: ‘component_y’ was declared here
 1570 |         int component_y;
      |             ^~~~~~~~~~~
In file included from /root/.conan2/p/b/waylaeaf5149fa3f36/p/include/wayland-client.h:40,
                 from ../src/src/libdecor.h:32,
                 from ../src/src/libdecor-plugin.h:31,
                 from ../src/src/plugins/cairo/libdecor-cairo.c:40:
/root/.conan2/p/b/waylaeaf5149fa3f36/p/include/wayland-client-protocol.h:6135:9: warning: ‘component_x’ may be used uninitialized in this function [-Wmaybe-uninitialized]
 6135 |         wl_proxy_marshal_flags((struct wl_proxy *) wl_subsurface,
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 6136 |                          WL_SUBSURFACE_SET_POSITION, NULL, wl_proxy_get_version((struct wl_proxy *) wl_subsurface), 0, x, y);
      |                          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/src/plugins/cairo/libdecor-cairo.c:1569:13: note: ‘component_x’ was declared here
 1569 |         int component_x;
      |             ^~~~~~~~~~~
[21/22] Compiling C object src/plugins/gtk/libdecor-gtk.so.p/libdecor-gtk.c.o
FAILED: src/plugins/gtk/libdecor-gtk.so.p/libdecor-gtk.c.o 
gcc -Isrc/plugins/gtk/libdecor-gtk.so.p -Isrc/plugins/gtk -I../src/src/plugins/gtk -I. -I../src -Isrc -I../src/src -Isrc/plugins -I../src/src/plugins -I/root/.conan2/p/b/waylaeaf5149fa3f36/p/include -I/root/.conan2/p/b/libff6427f442ecc54/p/include -I/root/.conan2/p/b/cairo46db0cd04e12b/p/include/cairo -I/root/.conan2/p/b/cairo46db0cd04e12b/p/include -I/root/.conan2/p/b/lzof90728855b0fd/p/include -I/root/.conan2/p/b/lzof90728855b0fd/p/include/lzo -I/root/.conan2/p/b/pixma426e52f45d672/p/include -I/root/.conan2/p/b/pixma426e52f45d672/p/include/pixman-1 -I/root/.conan2/p/b/fontc852dbcca88d5c/p/include -I/root/.conan2/p/b/expat24276e099a9eb/p/include -I/root/.conan2/p/b/freeta696b217b8ec4/p/include -I/root/.conan2/p/b/freeta696b217b8ec4/p/include/freetype2 -I/root/.conan2/p/b/libpncc0d7849f5c3f/p/include -I/root/.conan2/p/b/brotlbdcbf0e0c32f9/p/include -I/root/.conan2/p/b/brotlbdcbf0e0c32f9/p/include/brotli -I/root/.conan2/p/b/bzip20f2259caebc50/p/include -I/root/.conan2/p/b/zlib2ccc819857e42/p/include -I/usr/include/gtk-2.0 -I/usr/lib/aarch64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/harfbuzz -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c99 -O3 -D_GNU_SOURCE -Wno-unused-parameter -Wno-missing-field-initializers -fPIC -pthread -DXML_STATIC -DFFI_BUILDING -MD -MQ src/plugins/gtk/libdecor-gtk.so.p/libdecor-gtk.c.o -MF src/plugins/gtk/libdecor-gtk.so.p/libdecor-gtk.c.o.d -o src/plugins/gtk/libdecor-gtk.so.p/libdecor-gtk.c.o -c ../src/src/plugins/gtk/libdecor-gtk.c
In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37,
                 from /usr/include/gtk-2.0/gtk/gtkwidget.h:36,
                 from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35,
                 from /usr/include/gtk-2.0/gtk/gtkbin.h:35,
                 from /usr/include/gtk-2.0/gtk/gtkwindow.h:36,
                 from /usr/include/gtk-2.0/gtk/gtkdialog.h:35,
                 from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32,
                 from /usr/include/gtk-2.0/gtk/gtk.h:33,
                 from ../src/src/plugins/gtk/libdecor-gtk.c:49:
/usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: ‘GTypeDebugFlags’ is deprecated [-Wdeprecated-declarations]
  236 | void            gtk_type_init   (GTypeDebugFlags    debug_flags);
      | ^~~~
In file included from /usr/include/glib-2.0/gobject/gobject.h:24,
                 from /usr/include/glib-2.0/gobject/gbinding.h:29,
                 from /usr/include/glib-2.0/glib-object.h:22,
                 from /usr/include/glib-2.0/gio/gioenums.h:28,
                 from /usr/include/glib-2.0/gio/giotypes.h:28,
                 from /usr/include/glib-2.0/gio/gio.h:26,
                 from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
                 from /usr/include/gtk-2.0/gdk/gdk.h:32,
                 from /usr/include/gtk-2.0/gtk/gtk.h:32,
                 from ../src/src/plugins/gtk/libdecor-gtk.c:49:
/usr/include/glib-2.0/gobject/gtype.h:698:1: note: declared here
  698 | {
      | ^
In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31,
                 from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30,
                 from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30,
                 from /usr/include/gtk-2.0/gtk/gtk.h:126,
                 from ../src/src/plugins/gtk/libdecor-gtk.c:49:
/usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
   73 |   GTimeVal last_popdown;
      |   ^~~~~~~~
In file included from /usr/include/glib-2.0/glib/galloca.h:32,
                 from /usr/include/glib-2.0/glib.h:30,
                 from /usr/include/glib-2.0/gobject/gbinding.h:28,
                 from /usr/include/glib-2.0/glib-object.h:22,
                 from /usr/include/glib-2.0/gio/gioenums.h:28,
                 from /usr/include/glib-2.0/gio/giotypes.h:28,
                 from /usr/include/glib-2.0/gio/gio.h:26,
                 from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
                 from /usr/include/gtk-2.0/gdk/gdk.h:32,
                 from /usr/include/gtk-2.0/gtk/gtk.h:32,
                 from ../src/src/plugins/gtk/libdecor-gtk.c:49:
/usr/include/glib-2.0/glib/gtypes.h:553:8: note: declared here
  553 | struct _GTimeVal
      |        ^~~~~~~~~
../src/src/plugins/gtk/libdecor-gtk.c:78:9: error: unknown type name ‘GtkStateFlags’
   78 |         GtkStateFlags state;
      |         ^~~~~~~~~~~~~
../src/src/plugins/gtk/libdecor-gtk.c: In function ‘find_widget_by_name’:
../src/src/plugins/gtk/libdecor-gtk.c:85:35: warning: implicit declaration of function ‘gtk_style_context_to_string’; did you mean ‘gtk_tree_path_to_string’? [-Wimplicit-function-declaration]
   85 |                 char *style_ctx = gtk_style_context_to_string(
      |                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                   gtk_tree_path_to_string
../src/src/plugins/gtk/libdecor-gtk.c:86:43: warning: implicit declaration of function ‘gtk_widget_get_style_context’; did you mean ‘gtk_widget_get_pango_context’? [-Wimplicit-function-declaration]
   86 |                                           gtk_widget_get_style_context(widget),
      |                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                           gtk_widget_get_pango_context
../src/src/plugins/gtk/libdecor-gtk.c:87:43: error: ‘GTK_STYLE_CONTEXT_PRINT_SHOW_STYLE’ undeclared (first use in this function)
   87 |                                           GTK_STYLE_CONTEXT_PRINT_SHOW_STYLE);
      |                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/src/plugins/gtk/libdecor-gtk.c:87:43: note: each undeclared identifier is reported only once for each function it appears in
../src/src/plugins/gtk/libdecor-gtk.c: At top level:
../src/src/plugins/gtk/libdecor-gtk.c:139:24: error: unknown type name ‘GtkHeaderBar’
  139 | get_header_focus(const GtkHeaderBar *header_bar, const int x, const int y)
      |                        ^~~~~~~~~~~~
../src/src/plugins/gtk/libdecor-gtk.c: In function ‘get_header_focus’:
../src/src/plugins/gtk/libdecor-gtk.c:151:39: warning: passing argument 1 of ‘in_region’ from incompatible pointer type [-Wincompatible-pointer-types]
  151 |                         if (in_region(&allocation, &x, &y))
      |                                       ^~~~~~~~~~~
      |                                       |
      |                                       GtkAllocation * {aka struct _GdkRectangle *}
../src/src/plugins/gtk/libdecor-gtk.c:132:40: note: expected ‘const cairo_rectangle_int_t *’ {aka ‘const struct _cairo_rectangle_int *’} but argument is of type ‘GtkAllocation *’ {aka ‘struct _GdkRectangle *’}
  132 | in_region(const cairo_rectangle_int_t *rect, const int *x, const int *y)
      |           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
../src/src/plugins/gtk/libdecor-gtk.c: In function ‘ensure_title_bar_surfaces’:
../src/src/plugins/gtk/libdecor-gtk.c:889:9: error: unknown type name ‘GtkStyleContext’; did you mean ‘GtkPrintContext’?
  889 |         GtkStyleContext *context_hdr;
      |         ^~~~~~~~~~~~~~~
      |         GtkPrintContext
../src/src/plugins/gtk/libdecor-gtk.c:911:29: warning: implicit declaration of function ‘gtk_header_bar_new’; did you mean ‘gtk_menu_bar_new’? [-Wimplicit-function-declaration]
  911 |         frame_gtk->header = gtk_header_bar_new();
      |                             ^~~~~~~~~~~~~~~~~~
      |                             gtk_menu_bar_new
../src/src/plugins/gtk/libdecor-gtk.c:911:27: warning: assignment to ‘GtkWidget *’ {aka ‘struct _GtkWidget *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
  911 |         frame_gtk->header = gtk_header_bar_new();
      |                           ^
../src/src/plugins/gtk/libdecor-gtk.c:923:21: warning: assignment to ‘int *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
  923 |         context_hdr = gtk_widget_get_style_context(frame_gtk->header);
      |                     ^
../src/src/plugins/gtk/libdecor-gtk.c:924:9: warning: implicit declaration of function ‘gtk_style_context_add_class’ [-Wimplicit-function-declaration]
  924 |         gtk_style_context_add_class(context_hdr, GTK_STYLE_CLASS_TITLEBAR);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/src/plugins/gtk/libdecor-gtk.c:924:50: error: ‘GTK_STYLE_CLASS_TITLEBAR’ undeclared (first use in this function)
  924 |         gtk_style_context_add_class(context_hdr, GTK_STYLE_CLASS_TITLEBAR);
      |                                                  ^~~~~~~~~~~~~~~~~~~~~~~~
../src/src/plugins/gtk/libdecor-gtk.c:927:9: warning: implicit declaration of function ‘gtk_window_set_titlebar’; did you mean ‘gtk_window_set_title’? [-Wimplicit-function-declaration]
  927 |         gtk_window_set_titlebar(GTK_WINDOW(frame_gtk->window), frame_gtk->header);
      |         ^~~~~~~~~~~~~~~~~~~~~~~
      |         gtk_window_set_title
../src/src/plugins/gtk/libdecor-gtk.c:928:9: warning: implicit declaration of function ‘gtk_header_bar_set_show_close_button’ [-Wimplicit-function-declaration]
  928 |         gtk_header_bar_set_show_close_button(GTK_HEADER_BAR(frame_gtk->header), TRUE);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/src/plugins/gtk/libdecor-gtk.c:928:46: warning: implicit declaration of function ‘GTK_HEADER_BAR’; did you mean ‘GTK_MENU_BAR’? [-Wimplicit-function-declaration]
  928 |         gtk_header_bar_set_show_close_button(GTK_HEADER_BAR(frame_gtk->header), TRUE);
      |                                              ^~~~~~~~~~~~~~
      |                                              GTK_MENU_BAR
../src/src/plugins/gtk/libdecor-gtk.c: In function ‘calculate_component_size’:
../src/src/plugins/gtk/libdecor-gtk.c:950:19: warning: implicit declaration of function ‘gtk_widget_get_allocated_height’; did you mean ‘gtk_widget_get_allocation’? [-Wimplicit-function-declaration]
  950 |                 ? gtk_widget_get_allocated_height(frame_gtk->header) : 0;
      |                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                   gtk_widget_get_allocation
../src/src/plugins/gtk/libdecor-gtk.c:969:36: warning: implicit declaration of function ‘gtk_widget_get_allocated_width’; did you mean ‘gtk_widget_get_allocation’? [-Wimplicit-function-declaration]
  969 |                 *component_width = gtk_widget_get_allocated_width(frame_gtk->header);
      |                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                    gtk_widget_get_allocation
../src/src/plugins/gtk/libdecor-gtk.c: In function ‘draw_header_background’:
../src/src/plugins/gtk/libdecor-gtk.c:992:9: error: unknown type name ‘GtkStyleContext’; did you mean ‘GtkPrintContext’?
  992 |         GtkStyleContext* style;
      |         ^~~~~~~~~~~~~~~
      |         GtkPrintContext
../src/src/plugins/gtk/libdecor-gtk.c:995:15: warning: assignment to ‘int *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
  995 |         style = gtk_widget_get_style_context(frame_gtk->header);
      |               ^
../src/src/plugins/gtk/libdecor-gtk.c:996:9: warning: implicit declaration of function ‘gtk_render_background’; did you mean ‘draw_header_background’? [-Wimplicit-function-declaration]
  996 |         gtk_render_background(style, cr, allocation.x, allocation.y, allocation.width, allocation.height);
      |         ^~~~~~~~~~~~~~~~~~~~~
      |         draw_header_background
../src/src/plugins/gtk/libdecor-gtk.c: In function ‘draw_header_title’:
../src/src/plugins/gtk/libdecor-gtk.c:1019:32: warning: passing argument 2 of ‘gtk_widget_draw’ from incompatible pointer type [-Wincompatible-pointer-type]
 1019 |         gtk_widget_draw(label, cr);
      |                                ^~
      |                                |
      |                                cairo_t * {aka struct _cairo *}
In file included from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35,
                 from /usr/include/gtk-2.0/gtk/gtkbin.h:35,
                 from /usr/include/gtk-2.0/gtk/gtkwindow.h:36,
                 from /usr/include/gtk-2.0/gtk/gtkdialog.h:35,
                 from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32,
                 from /usr/include/gtk-2.0/gtk/gtk.h:33,
                 from ../src/src/plugins/gtk/libdecor-gtk.c:49:
/usr/include/gtk-2.0/gtk/gtkwidget.h:884:65: note: expected ‘const GdkRectangle *’ {aka ‘const struct _GdkRectangle *’} but argument is of type ‘cairo_t *’ {aka ‘struct _cairo *’}
  884 |                                            const GdkRectangle  *area);
      |                                            ~~~~~~~~~~~~~~~~~~~~~^~~~
../src/src/plugins/gtk/libdecor-gtk.c: In function ‘draw_header_button’:
../src/src/plugins/gtk/libdecor-gtk.c:1033:9: error: unknown type name ‘GtkStyleContext’; did you mean ‘GtkPrintContext’?
 1033 |         GtkStyleContext* button_style;
      |         ^~~~~~~~~~~~~~~
      |         GtkPrintContext
../src/src/plugins/gtk/libdecor-gtk.c:1034:9: error: unknown type name ‘GtkStateFlags’; did you mean ‘GtkScaleClass’?
 1034 |         GtkStateFlags style_state;
      |         ^~~~~~~~~~~~~
      |         GtkScaleClass
../src/src/plugins/gtk/libdecor-gtk.c:1062:22: warning: assignment to ‘int *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
 1062 |         button_style = gtk_widget_get_style_context(button);
      |                      ^
../src/src/plugins/gtk/libdecor-gtk.c:1067:32: error: ‘GTK_STATE_FLAG_BACKDROP’ undeclared (first use in this function)
 1067 |                 style_state |= GTK_STATE_FLAG_BACKDROP;
      |                                ^~~~~~~~~~~~~~~~~~~~~~~
../src/src/plugins/gtk/libdecor-gtk.c:1070:32: error: ‘GTK_STATE_FLAG_PRELIGHT’ undeclared (first use in this function); did you mean ‘GTK_STATE_PRELIGHT’?
 1070 |                 style_state |= GTK_STATE_FLAG_PRELIGHT;
      |                                ^~~~~~~~~~~~~~~~~~~~~~~
      |                                GTK_STATE_PRELIGHT
../src/src/plugins/gtk/libdecor-gtk.c:1071:50: error: ‘GTK_STATE_FLAG_ACTIVE’ undeclared (first use in this function); did you mean ‘GTK_STATE_ACTIVE’?
 1071 |                 if (frame_gtk->hdr_focus.state & GTK_STATE_FLAG_ACTIVE) {
      |                                                  ^~~~~~~~~~~~~~~~~~~~~
      |                                                  GTK_STATE_ACTIVE
../src/src/plugins/gtk/libdecor-gtk.c:1077:9: warning: implicit declaration of function ‘gtk_widget_get_clip’; did you mean ‘gtk_widget_get_action’? [-Wimplicit-function-declaration]
 1077 |         gtk_widget_get_clip(button, &allocation);
      |         ^~~~~~~~~~~~~~~~~~~
      |         gtk_widget_get_action
../src/src/plugins/gtk/libdecor-gtk.c:1079:9: warning: implicit declaration of function ‘gtk_style_context_save’; did you mean ‘gtk_style_get_type’? [-Wimplicit-function-declaration]
 1079 |         gtk_style_context_save(button_style);
      |         ^~~~~~~~~~~~~~~~~~~~~~
      |         gtk_style_get_type
../src/src/plugins/gtk/libdecor-gtk.c:1080:9: warning: implicit declaration of function ‘gtk_style_context_set_state’; did you mean ‘gtk_print_context_get_type’? [-Wimplicit-function-declaration]
 1080 |         gtk_style_context_set_state(button_style, style_state);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~
      |         gtk_print_context_get_type
../src/src/plugins/gtk/libdecor-gtk.c:1084:9: warning: implicit declaration of function ‘gtk_render_frame’; did you mean ‘gtk_border_free’? [-Wimplicit-function-declaration]
 1084 |         gtk_render_frame(button_style, cr,
      |         ^~~~~~~~~~~~~~~~
      |         gtk_border_free
../src/src/plugins/gtk/libdecor-gtk.c:1087:9: warning: implicit declaration of function ‘gtk_style_context_restore’; did you mean ‘gtk_im_context_reset’? [-Wimplicit-function-declaration]
 1087 |         gtk_style_context_restore(button_style);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
      |         gtk_im_context_reset
../src/src/plugins/gtk/libdecor-gtk.c:1120:21: warning: implicit declaration of function ‘gtk_icon_theme_lookup_icon_for_scale’; did you mean ‘gtk_icon_theme_lookup_icon’? [-Wimplicit-function-declaration]
 1120 |         icon_info = gtk_icon_theme_lookup_icon_for_scale(
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                     gtk_icon_theme_lookup_icon
../src/src/plugins/gtk/libdecor-gtk.c:1120:19: warning: assignment to ‘GtkIconInfo *’ {aka ‘struct _GtkIconInfo *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
 1120 |         icon_info = gtk_icon_theme_lookup_icon_for_scale(
      |                   ^
../src/src/plugins/gtk/libdecor-gtk.c:1127:23: warning: implicit declaration of function ‘gtk_icon_info_load_symbolic_for_context’ [-Wimplicit-function-declaration]
 1127 |         icon_pixbuf = gtk_icon_info_load_symbolic_for_context(
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/src/plugins/gtk/libdecor-gtk.c:1127:21: warning: assignment to ‘GdkPixbuf *’ {aka ‘struct _GdkPixbuf *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
 1127 |         icon_pixbuf = gtk_icon_info_load_symbolic_for_context(
      |                     ^
../src/src/plugins/gtk/libdecor-gtk.c:1129:24: warning: implicit declaration of function ‘gdk_cairo_surface_create_from_pixbuf’; did you mean ‘cairo_surface_create_for_image’? [-Wimplicit-function-declaration]
 1129 |         icon_surface = gdk_cairo_surface_create_from_pixbuf(icon_pixbuf, scale, NULL);
      |                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                        cairo_surface_create_for_image
../src/src/plugins/gtk/libdecor-gtk.c:1129:22: warning: assignment to ‘cairo_surface_t *’ {aka ‘struct _cairo_surface *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
 1129 |         icon_surface = gdk_cairo_surface_create_from_pixbuf(icon_pixbuf, scale, NULL);
      |                      ^
../src/src/plugins/gtk/libdecor-gtk.c:1133:9: warning: implicit declaration of function ‘gtk_style_context_get’; did you mean ‘gdk_pango_context_get’? [-Wimplicit-function-declaration]
 1133 |         gtk_style_context_get(button_style, gtk_style_context_get_state(button_style),
      |         ^~~~~~~~~~~~~~~~~~~~~
      |         gdk_pango_context_get
../src/src/plugins/gtk/libdecor-gtk.c:1133:45: warning: implicit declaration of function ‘gtk_style_context_get_state’; did you mean ‘gtk_print_context_get_type’? [-Wimplicit-function-declaration]
 1133 |         gtk_style_context_get(button_style, gtk_style_context_get_state(button_style),
      |                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                             gtk_print_context_get_type
../src/src/plugins/gtk/libdecor-gtk.c:1141:9: warning: implicit declaration of function ‘gtk_style_context_get_border’ [-Wimplicit-function-declaration]
 1141 |         gtk_style_context_get_border(button_style, gtk_style_context_get_state(button_style), &border);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/src/plugins/gtk/libdecor-gtk.c:1147:9: warning: implicit declaration of function ‘gtk_style_context_get_padding’; did you mean ‘gtk_alignment_get_padding’? [-Wimplicit-function-declaration]
 1147 |         gtk_style_context_get_padding(button_style, gtk_style_context_get_state(button_style), &padding);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |         gtk_alignment_get_padding
../src/src/plugins/gtk/libdecor-gtk.c:1156:9: warning: implicit declaration of function ‘gtk_render_icon_surface’ [-Wimplicit-function-declaration]
 1156 |         gtk_render_icon_surface(gtk_widget_get_style_context(icon_widget),
      |         ^~~~~~~~~~~~~~~~~~~~~~~
../src/src/plugins/gtk/libdecor-gtk.c: In function ‘draw_title_bar’:
../src/src/plugins/gtk/libdecor-gtk.c:1368:9: error: unknown type name ‘GtkStyleContext’; did you mean ‘GtkPrintContext’?
 1368 |         GtkStyleContext *style;
      |         ^~~~~~~~~~~~~~~
      |         GtkPrintContext
../src/src/plugins/gtk/libdecor-gtk.c:1373:15: warning: assignment to ‘int *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
 1373 |         style = gtk_widget_get_style_context(frame_gtk->window);
      |               ^
../src/src/plugins/gtk/libdecor-gtk.c:1376:17: warning: implicit declaration of function ‘gtk_widget_set_state_flags’; did you mean ‘gtk_widget_set_state’? [-Wimplicit-function-declaration]
 1376 |                 gtk_widget_set_state_flags(frame_gtk->window, GTK_STATE_FLAG_BACKDROP, true);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~
      |                 gtk_widget_set_state
../src/src/plugins/gtk/libdecor-gtk.c:1376:63: error: ‘GTK_STATE_FLAG_BACKDROP’ undeclared (first use in this function)
 1376 |                 gtk_widget_set_state_flags(frame_gtk->window, GTK_STATE_FLAG_BACKDROP, true);
      |                                                               ^~~~~~~~~~~~~~~~~~~~~~~
../src/src/plugins/gtk/libdecor-gtk.c:1378:17: warning: implicit declaration of function ‘gtk_widget_unset_state_flags’; did you mean ‘gtk_widget_set_state’? [-Wimplicit-function-declaration]
 1378 |                 gtk_widget_unset_state_flags(frame_gtk->window, GTK_STATE_FLAG_BACKDROP);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                 gtk_widget_set_state
../src/src/plugins/gtk/libdecor-gtk.c:1382:17: warning: implicit declaration of function ‘gtk_style_context_remove_class’ [-Wimplicit-function-declaration]
 1382 |                 gtk_style_context_remove_class(style, "maximized");
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/src/plugins/gtk/libdecor-gtk.c:1390:9: warning: implicit declaration of function ‘gtk_header_bar_set_title’; did you mean ‘gtk_combo_box_set_title’? [-Wimplicit-function-declaration]
 1390 |         gtk_header_bar_set_title(GTK_HEADER_BAR(frame_gtk->header), "");
      |         ^~~~~~~~~~~~~~~~~~~~~~~~
      |         gtk_combo_box_set_title
../src/src/plugins/gtk/libdecor-gtk.c:1391:9: warning: implicit declaration of function ‘gtk_widget_get_preferred_width’; did you mean ‘gtk_widget_get_parent_window’? [-Wimplicit-function-declaration]
 1391 |         gtk_widget_get_preferred_width(frame_gtk->header, NULL, &pref_width);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |         gtk_widget_get_parent_window
../src/src/plugins/gtk/libdecor-gtk.c:1413:9: warning: implicit declaration of function ‘gtk_widget_get_preferred_height’; did you mean ‘gtk_widget_get_receives_default’? [-Wimplicit-function-declaration]
 1413 |         gtk_widget_get_preferred_height(frame_gtk->header, NULL, &allocation.height);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |         gtk_widget_get_receives_default
../src/src/plugins/gtk/libdecor-gtk.c: In function ‘pointer_motion’:
../src/src/plugins/gtk/libdecor-gtk.c:2148:43: warning: passing argument 1 of ‘get_header_focus’ makes pointer from integer without a cast [-Wint-conversio]
 2148 |                                           GTK_HEADER_BAR(frame_gtk->header),
      |                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                           |
      |                                           int
../src/src/plugins/gtk/libdecor-gtk.c:139:38: note: expected ‘const int *’ but argument is of type ‘int’
  139 | get_header_focus(const GtkHeaderBar *header_bar, const int x, const int y)
      |                  ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
../src/src/plugins/gtk/libdecor-gtk.c:2154:47: error: ‘GTK_STATE_FLAG_PRELIGHT’ undeclared (first use in this function); did you mean ‘GTK_STATE_PRELIGHT’?
 2154 |                 frame_gtk->hdr_focus.state |= GTK_STATE_FLAG_PRELIGHT;
      |                                               ^~~~~~~~~~~~~~~~~~~~~~~
      |                                               GTK_STATE_PRELIGHT
../src/src/plugins/gtk/libdecor-gtk.c: In function ‘pointer_button’:
../src/src/plugins/gtk/libdecor-gtk.c:2197:71: error: ‘GTK_STATE_FLAG_ACTIVE’ undeclared (first use in this function); did you mean ‘GTK_STATE_ACTIVE’?
 2197 |                                         frame_gtk->hdr_focus.state |= GTK_STATE_FLAG_ACTIVE;
      |                                                                       ^~~~~~~~~~~~~~~~~~~~~
      |                                                                       GTK_STATE_ACTIVE
../src/src/plugins/gtk/libdecor-gtk.c: In function ‘update_touch_focus’:
../src/src/plugins/gtk/libdecor-gtk.c:2302:43: warning: passing argument 1 of ‘get_header_focus’ makes pointer from integer without a cast [-Wint-conversio]
 2302 |                                           GTK_HEADER_BAR(frame_gtk->header),
      |                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                           |
      |                                           int
../src/src/plugins/gtk/libdecor-gtk.c:139:38: note: expected ‘const int *’ but argument is of type ‘int’
  139 | get_header_focus(const GtkHeaderBar *header_bar, const int x, const int y)
      |                  ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
../src/src/plugins/gtk/libdecor-gtk.c:2308:47: error: ‘GTK_STATE_FLAG_PRELIGHT’ undeclared (first use in this function); did you mean ‘GTK_STATE_PRELIGHT’?
 2308 |                 frame_gtk->hdr_focus.state |= GTK_STATE_FLAG_PRELIGHT;
      |                                               ^~~~~~~~~~~~~~~~~~~~~~~
      |                                               GTK_STATE_PRELIGHT
../src/src/plugins/gtk/libdecor-gtk.c: In function ‘touch_down’:
../src/src/plugins/gtk/libdecor-gtk.c:2363:55: error: ‘GTK_STATE_FLAG_ACTIVE’ undeclared (first use in this function); did you mean ‘GTK_STATE_ACTIVE’?
 2363 |                         frame_gtk->hdr_focus.state |= GTK_STATE_FLAG_ACTIVE;
      |                                                       ^~~~~~~~~~~~~~~~~~~~~
      |                                                       GTK_STATE_ACTIVE
../src/src/plugins/gtk/libdecor-gtk.c: In function ‘touch_up’:
../src/src/plugins/gtk/libdecor-gtk.c:2438:48: error: ‘GTK_STATE_FLAG_ACTIVE’ undeclared (first use in this function); did you mean ‘GTK_STATE_ACTIVE’?
 2438 |                 frame_gtk->hdr_focus.state &= ~GTK_STATE_FLAG_ACTIVE;
      |                                                ^~~~~~~~~~~~~~~~~~~~~
      |                                                GTK_STATE_ACTIVE
../src/src/plugins/gtk/libdecor-gtk.c: In function ‘libdecor_plugin_new’:
../src/src/plugins/gtk/libdecor-gtk.c:2811:9: warning: implicit declaration of function ‘gdk_set_allowed_backends’ [-Wimplicit-function-declaration]
 2811 |         gdk_set_allowed_backends("wayland");
      |         ^~~~~~~~~~~~~~~~~~~~~~~~
ninja: build stopped: subcommand failed.

libdecor/0.2.2: ERROR: 
Package '2c4bb3f6384332e3bb655a66898b01fb629fb938' build failed
libdecor/0.2.2: WARN: Build folder /root/.conan2/p/b/libde2cb6987e3c803/b/build-release
ERROR: libdecor/0.2.2: Error in build() method, line 121
	meson.build()
	ConanException: Error 1 while executing

Any idea what's going? :)

recipes/libdecor/all/conandata.yml Show resolved Hide resolved
@jwillikers
Copy link
Contributor Author

@RubenRBS Oh, I didn't realize that the gtk/system recipe defaults to version 2. I bet it has something to do with that.

I disabled with_gtk previously due to CI issues, but likely it was just using the wrong version of GTK.
@conan-center-bot conan-center-bot added Failed Missing dependencies Build failed due missing dependencies in Conan Center labels May 8, 2024
@conan-center-bot

This comment has been minimized.

@joakimono
Copy link
Contributor

This library can be a dependency in SDL, so it would be beneficial to get it approved. I see that it hangs due to missing gtk/system binary. Can the package live well and prosper with it disabled? SDL will use with_dbus=True and do not need gtk.

@jwillikers
Copy link
Contributor Author

This library can be a dependency in SDL, so it would be beneficial to get it approved. I see that it hangs due to missing gtk/system binary. Can the package live well and prosper with it disabled? SDL will use with_dbus=True and do not need gtk.

I think getting a team member review is likely a bigger blocker than the missing dependency for gtk, which is likely fairly trivial to fix on the CCI side.

Copy link
Member

@AbrilRBS AbrilRBS left a comment

Choose a reason for hiding this comment

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

Thanks for your patience while we circled back to this - There's one minor think I need to check with the team regarding which flavour of dep option configuration we prefer here, but other than that this looks good, will let you know tomorrow once I ask the team :)

Will build the missing binary meanwhile

@AbrilRBS
Copy link
Member

AbrilRBS commented Jun 3, 2024

Oh right, just realized that this mising binary will be a bit hard to implement with the current pipeline, as it only builds the default options! So it's a bit hard to move forward with the gtk version 3 requirement, but will also ask around, see what can be done!

@jwillikers
Copy link
Contributor Author

@AbrilRBS I've defaulted the with_gtk option to False for CCI.

@conan-center-bot conan-center-bot removed Failed Missing dependencies Build failed due missing dependencies in Conan Center labels Jul 11, 2024
@conan-center-bot
Copy link
Collaborator

Conan v1 pipeline ✔️

All green in build 20 (00ac9a7cfea6734b37912fddbee885bf399073d5):

  • libdecor/0.2.2:
    All packages built successfully! (All logs)

Conan v2 pipeline ✔️

Note: Conan v2 builds are now mandatory. Please read our discussion about it.

All green in build 20 (00ac9a7cfea6734b37912fddbee885bf399073d5):

  • libdecor/0.2.2:
    All packages built successfully! (All logs)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants