phuhl/linux_notification_center

Makefile missing `DEST_DIR` for `XDG_CONFIG_SYSTEM`

Closed this issue · 4 comments

alok0 commented

references to XDG_CONFIG_SYSTEM appear to be missing DEST_DIR

phuhl commented

Thanks for reporting. Under which circumstances would that make a difference? It might then also need a code change as currently the XDG-system dir is hardcoded in https://github.com/phuhl/linux_notification_center/blob/master/src/NotificationCenter.hs

alok0 commented

It fails the PKGBUILD, (and i'm assuming any other packaging system) where a temporary directory is used to build the package.

phuhl commented

Can you post logs of it failing? It does not fail on my system

alok0 commented
==> Starting package()...
mkdir -p /tmp/deadd-notification-center-bin/pkg/deadd-notification-center-bin/usr/bin
mkdir -p /tmp/deadd-notification-center-bin/pkg/deadd-notification-center-bin/usr/lib/systemd/user
mkdir -p /tmp/deadd-notification-center-bin/pkg/deadd-notification-center-bin/usr/share/locale/bn_BD/LC_MESSAGES
install -Dm755 .out/deadd-notification-center /tmp/deadd-notification-center-bin/pkg/deadd-notification-center-bin/usr/bin
mkdir -p /etc/xdg/deadd
install -Dm644 deadd-notification-center.service /tmp/deadd-notification-center-bin/pkg/deadd-notification-center-bin/usr/lib/systemd/user
mkdir -p /tmp/deadd-notification-center-bin/pkg/deadd-notification-center-bin/usr/share/locale/de/LC_MESSAGES
mkdir: cannot create directory ‘/etc/xdg/deadd’: Permission denied
make: *** [Makefile:74: install-config] Error 1
make: *** Waiting for unfinished jobs....
mkdir -p /tmp/deadd-notification-center-bin/pkg/deadd-notification-center-bin/usr/share/locale/en/LC_MESSAGES
mkdir -p /tmp/deadd-notification-center-bin/pkg/deadd-notification-center-bin/usr/share/locale/tr/LC_MESSAGES
install -Dm644 translation/bn_BD/LC_MESSAGES/deadd-notification-center.mo /tmp/deadd-notification-center-bin/pkg/deadd-notification-center-bin/usr/share/locale/bn_BD/LC_MESSAGES/deadd-notification-center.mo
install -Dm644 translation/de/LC_MESSAGES/deadd-notification-center.mo /tmp/deadd-notification-center-bin/pkg/deadd-notification-center-bin/usr/share/locale/de/LC_MESSAGES/deadd-notification-center.mo
install -Dm644 translation/en/LC_MESSAGES/deadd-notification-center.mo /tmp/deadd-notification-center-bin/pkg/deadd-notification-center-bin/usr/share/locale/en/LC_MESSAGES/deadd-notification-center.mo
install -Dm644 translation/tr/LC_MESSAGES/deadd-notification-center.mo /tmp/deadd-notification-center-bin/pkg/deadd-notification-center-bin/usr/share/locale/tr/LC_MESSAGES/deadd-notification-center.mo
mkdir -p /tmp/deadd-notification-center-bin/pkg/deadd-notification-center-bin/usr/share/man/man1
install -Dm644 docs/linux-notification-center.man /tmp/deadd-notification-center-bin/pkg/deadd-notification-center-bin/usr/share/man/man1/deadd-notification-center.1
install -Dm644 LICENSE /tmp/deadd-notification-center-bin/pkg/deadd-notification-center-bin/usr/share/licenses/deadd-notification-center/LICENSE
==> ERROR: A failure occurred in package().
    Aborting...