1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-18 10:56:53 +00:00
Commit graph

12 commits

Author SHA1 Message Date
Jörg Thalheim f9c06d41dd
yabar-unstable: patch for playerctl-2.0 support 2018-12-20 10:59:57 +01:00
Maximilian Bosch 2ae32923ed
yabar: fix build
The stable build for `yabar` is currently broken: https://hydra.nixos.org/build/75989172

Main reason is that the inline function `ya_setup_prefix_suffix` is
supposed to be an inline function, but was insufficiently declared as
such which broke the compiler recently with the following message:

```
gcc -std=c99 -Iinclude -pedantic -Wall -Os `pkg-config --cflags pango pangocairo libconfig` -DVERSION=\"0.4.0\" -D_POSIX_C_SOURCE=199309L -DYA_INTERNAL -DYA_DYN_COL -DYA_ENV_VARS -DYA_INTERNAL_EWMH  -c -o src/intern_blks/ya_intern.o src/intern_blks/ya_intern.c
gcc -o yabar src/ya_main.o src/ya_draw.o src/ya_exec.o src/ya_parse.o src/intern_blks/ya_intern.o -lxcb -lpthread -lxcb-randr -lxcb-ewmh `pkg-config --libs pango pangocairo libconfig`
src/intern_blks/ya_intern.o: In function `ya_int_date':
ya_intern.c:(.text+0x49): undefined reference to `ya_setup_prefix_suffix'
src/intern_blks/ya_intern.o: In function `ya_int_uptime':
ya_intern.c:(.text+0xf4): undefined reference to `ya_setup_prefix_suffix'
src/intern_blks/ya_intern.o: In function `ya_int_brightness':
ya_intern.c:(.text+0x1d8): undefined reference to `ya_setup_prefix_suffix'
src/intern_blks/ya_intern.o: In function `ya_int_bandwidth':
ya_intern.c:(.text+0x377): undefined reference to `ya_setup_prefix_suffix'
src/intern_blks/ya_intern.o: In function `ya_int_cpu':
ya_intern.c:(.text+0x6de): undefined reference to `ya_setup_prefix_suffix'
src/intern_blks/ya_intern.o:ya_intern.c:(.text+0x924): more undefined references to `ya_setup_prefix_suffix' follow
collect2: error: ld returned 1 exit status
make: *** [Makefile:18: yabar] Error 1
```

This issue has been fixed on master (see
9779a5e04b)
which is why `nixos.yabar-unstable` remained functional.
2018-06-21 23:38:13 +02:00
Maximilian Bosch 0b5a36f207
yabar-unstable: 2018-01-02 -> 2018-01-18
The following changes landed in master:

- Reset colors unconditionally (2f1ee69d4c75e210265dca732ff6c2ddd7f440f2)
- Document NixOS support (993f1b5a7bc2a41a353a104cff0763860c053c92)
- ya_int_song: improve configuration of playerctl properties (1f776cd5f1f4e89e6ebca3ca09feb7e09f79e79e)
2018-01-22 12:52:23 +01:00
Maximilian Bosch bd40601acb
yabar-unstable: 2017-10-12 -> 2018-01-02
The unstable branch of `yabar` received some minor useful changes:

- Fixed missprint (f1b1eff481)
- Update information on Debian installation (ce20fe75f7)
- Add indicator to show current indicator using `libxkbcommon` (5aa1fb5eb5)

The last change requires a `libxkbcommon` as additional build input.

Furthermore I thought that it might be better to add the dependencies of
unstable (namely `playerctl` and `libxkbcommon`) to the `unstable.nix`
to reduce the closure size of the stable build.
2018-01-02 10:30:49 +01:00
Maximilian Bosch b23b545942
yabar-unstable: 2017-09-09 -> 2017-10-12 2017-10-12 09:08:08 +02:00
John Ericson 1055c43200 yabar: pkg-config should be a native build input 2017-09-14 13:40:24 -04:00
Maximilian Bosch 178251001a
yabar: add unstable package 2017-09-12 22:05:13 +02:00
Maximilian Bosch 12e79f1358
yabar: add optional configFile value to derivation 2017-09-11 18:27:11 +02:00
Maximilian Bosch 0761e74c38
yabar: cleanup derivation
The latest changes from `yabar` require several
changes in the derivation to build the
package successfully.
2017-09-11 18:26:34 +02:00
Christian Lask 2d524a37f8 Remove myself as maintainer. 2016-11-03 11:54:54 +01:00
Robin Gloster b9152cf5a0 yabar: disable format hardening 2016-08-02 15:40:37 +00:00
Christian Lask 093c42161f yabar: init at 0.4.0
Closes #15945
2016-06-08 16:59:29 +01:00