Skip to content

Unable to build dunst with WAYLAND=0 #938

@eleksir

Description

@eleksir
  • Version: Dunst - A customizable and lightweight notification-daemon 1.7.0 (????-??-??)
  • Install type: Not applicable
  • Distro and version: Slackware64 14.2

Build command

make DESTDIR=/tmp/SBo/package-dunst \                                                                                                                                                          
  WAYLAND=0 \                                                                                                                                                                
  SYSTEMD=0 \                                                                                                                                                                
  PREFIX=/usr \                                                                                                                                                              
  MANPREFIX=/usr/man \                                                                                                                                                       
  all install

gives

sed "s|##SYSCONFDIR##|/usr/etc/xdg|" docs/dunst.1.pod | pod2man --name=dunst -c "Dunst Reference" --section=1 --release="1.7.0 (2021-10-19)" > docs/dunst.1
pod2man --name=dunst -c "Dunst Reference" --section=5 --release="1.7.0 (2021-10-19)" docs/dunst.5.pod > docs/dunst.5
pod2man --name=dunstctl -c "dunstctl reference" --section=1 --release="1.7.0 (2021-10-19)" docs/dunstctl.pod > docs/dunstctl.1
cc -o src/dbus.o -c src/dbus.c -D_DEFAULT_SOURCE -DVERSION=\""1.7.0 (2021-10-19)"\" -DSYSCONFDIR=\"/usr/etc/xdg\"  -g -std=gnu99 -pedantic -Wall -Wno-overlength-strings -Os   -O2 -fPIC -pthread -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -MMD -MP
In file included from src/dbus.c:14:0:
src/settings.h:37:27: error: ‘ZWLR_LAYER_SURFACE_V1_ANCHOR_TOP’ undeclared here (not in a function)
         ORIGIN_TOP_LEFT = ZWLR_LAYER_SURFACE_V1_ANCHOR_TOP | ZWLR_LAYER_SURFACE_V1_ANCHOR_LEFT,
                           ^
src/settings.h:37:62: error: ‘ZWLR_LAYER_SURFACE_V1_ANCHOR_LEFT’ undeclared here (not in a function)
         ORIGIN_TOP_LEFT = ZWLR_LAYER_SURFACE_V1_ANCHOR_TOP | ZWLR_LAYER_SURFACE_V1_ANCHOR_LEFT,
                                                              ^
src/settings.h:39:63: error: ‘ZWLR_LAYER_SURFACE_V1_ANCHOR_RIGHT’ undeclared here (not in a function)
         ORIGIN_TOP_RIGHT = ZWLR_LAYER_SURFACE_V1_ANCHOR_TOP | ZWLR_LAYER_SURFACE_V1_ANCHOR_RIGHT,
                                                               ^
src/settings.h:40:30: error: ‘ZWLR_LAYER_SURFACE_V1_ANCHOR_BOTTOM’ undeclared here (not in a function)
         ORIGIN_BOTTOM_LEFT = ZWLR_LAYER_SURFACE_V1_ANCHOR_BOTTOM | ZWLR_LAYER_SURFACE_V1_ANCHOR_LEFT,
                              ^
Makefile:62: recipe for target 'src/dbus.o' failed

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions