Commit Graph

14 Commits

Author SHA1 Message Date
h7x4
8121f3559a
treewide: add mainProgram 2024-02-11 03:19:15 +01:00
Sergei Trofimovich
4e4a025818 yambar: disable blanket -Werror, fix gcc-13 build
Without the change `yambar` fails to build on `gcc-13` as:

    yambar> ../plugin.c: In function 'plugin_load':
    yambar> ../plugin.c:279:35: warning: '%s' directive argument is null [-Wformat-truncation=]
    yambar>   279 |     snprintf(path, sizeof(path), "%s_%s.so", type2str(type), name);
    yambar>       |                                   ^~

Co-authored-by: Anderson Torres <torres.anderson.85@protonmail.com>
2024-01-07 13:49:31 +00:00
Anderson Torres
e9fd5bf913 yambar: fix strictDeps compilation
Yambar uses meson as build system. Its `dependency` function uses pkg-config as
default method for finding the required dependencies.

However, as seen in their code[^1], scdoc is searched with `native` set to
true. According to Meson specs[^2], it directs the search to the _build_ machine
instead of the _host_ one. This parameter is usually needed only when finding a
tool to be used during compilation.

Because of this, `pkg-config` needs to be included at `depsBuildBuild`.

Why? Magic! Sorry, I am not so proficient in cross-compilation issues yet.

[^1] 78f7b60e13/doc/meson.build (L3)
[^2] https://mesonbuild.com/Reference-manual_functions.html#dependency_native
2023-08-03 12:29:50 +00:00
Anderson Torres
9998bf752c yambar: enable strictDeps 2023-07-27 17:47:56 -03:00
Anderson Torres
ba75ea457f yambar: 1.9.0 -> 1.10.0 2023-07-27 17:47:56 -03:00
AndersonTorres
920161999c yambar: 1.8.0 -> 1.9.0 2022-12-17 10:17:47 -03:00
AndersonTorres
9d07a91aeb yambar: mesonFeatureFlag with descriptive argument names 2022-02-16 23:59:42 -03:00
sternenseemann
efc6c8ff2f yambar: 1.7.0 -> 1.8.0
https://codeberg.org/dnkl/yambar/releases/tag/1.8.0
2022-02-05 23:27:20 +01:00
Amy de Buitléir
daa8c59404
yambar: build with dual support, both wayland and x11 (#146568)
yambar: build with dual support for X11 and Wayland by default

If by any reason a X11-only or a Wayland-only build is needed, just `override` it!
2021-11-22 19:26:27 -03:00
R. RyanTM
12259ba1b4 yambar: 1.6.2 -> 1.7.0 2021-09-12 14:38:54 +00:00
polykernel
82076fcde4 yambar: refactor derivation and split backends as separate packages
* Use fetchFromGitea instead of fetchgit, submodules are unnecessary
  as we wlr-protocols are vendored.
* Split into xorg and wayland backends based on an option flag, (By
  default, the xorg backend is used, this might be a breaking change)
* Adhere to syntax style guide for long lists.
2021-08-07 23:46:29 -04:00
AndersonTorres
db915d4cca yambar: 1.6.1 -> 1.6.2 2021-07-31 21:48:07 -03:00
AndersonTorres
e9e5f5f84d Change all alsaLib references to alsa-lib 2021-06-10 01:12:49 -03:00
AndersonTorres
6a7e9f3e11 yambar: init at 1.6.1 2021-02-10 12:46:55 -03:00