Package Details: swappy 1.2.1-1

Git Clone URL: https://aur.archlinux.org/swappy.git (read-only, click to copy)
Package Base: swappy
Description: Grab and edit screenshots from a Wayland compositor
Upstream URL: https://github.com/jtheoof/swappy
Licenses: MIT
Submitter: jtheoof
Maintainer: jtheoof
Last Packager: jtheoof
Votes: 7
Popularity: 2.96
First Submitted: 2020-06-21 01:50
Last Updated: 2020-07-11 16:29

Latest Comments

jtheoof commented on 2020-07-11 16:34

All right @aorth, I fixed the PKGBUILD and released 1.2.1. It should now build properly without libnotify installed. If you don't receive any notifications (with libnotify installed), I invite you to write a detailed issue on the repo issue tracker. Thanks.

aorth commented on 2020-07-11 07:40

@jtheoof yes the swappy-git package builds and runs, but note that I've never received notifications with swappy, neither nor or before. Cheers.

jtheoof commented on 2020-07-11 03:04

Thanks for reporting this @aorth and putting me on the right track @maximbaz. I pushed an update in swappy-git PKGBUILD to override the default: arch-meson: auto-features=enabled flag. Now it's set to auto which should fix the issue.

Do you mind trying it out and reporting back here if it works?

maximbaz commented on 2020-07-10 09:41

aorth: use arch-meson -D libnotify=disabled build if you don't want notifications, or add libnotify to makedepends if you do.

I guess would make sense to add libnotify to makedepends by default in PKGBUILD, since arch-meson enables all features by default.

aorth commented on 2020-07-09 05:42

Getting a build error about libnotify on 1.2.0:

+ exec meson setup --prefix /usr --libexecdir lib --sbindir bin --buildtype plain --auto-features enabled --wrap-mode nodownload -D b_lto=true -D b_pie=true build
The Meson build system
Version: 0.54.3
Source dir: /build/swappy/src/swappy-1.2.0
Build dir: /build/swappy/src/swappy-1.2.0/build
Build type: native build
Project name: swappy
Project version: 1.2.0
Using 'CFLAGS' from environment with value: '-march=x86-64 -mtune=generic -O2 -pipe -fno-plt'
Using 'LDFLAGS' from environment with value: '-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now'
Using 'CPPFLAGS' from environment with value: '-D_FORTIFY_SOURCE=2'
Using 'CFLAGS' from environment with value: '-march=x86-64 -mtune=generic -O2 -pipe -fno-plt'
Using 'LDFLAGS' from environment with value: '-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now'
Using 'CPPFLAGS' from environment with value: '-D_FORTIFY_SOURCE=2'
C compiler for the host machine: ccache cc (gcc 10.1.0 "cc (GCC) 10.1.0")
C linker for the host machine: cc ld.bfd 2.34.0
Host machine cpu family: x86_64
Host machine cpu: x86_64
Program git found: YES (/usr/bin/git)
Found pkg-config: /usr/bin/pkg-config (1.7.3)
Run-time dependency cairo found: YES 1.17.3
Run-time dependency pango found: YES 1.44.7
Library m found: YES
Run-time dependency gtk+-3.0 found: YES 3.24.21
Run-time dependency gio-2.0 found: YES 2.64.4
Did not find CMake 'cmake'
Found CMake: NO
Run-time dependency libnotify found: NO (tried pkgconfig)

meson.build:46:0: ERROR: Dependency "libnotify" not found, tried pkgconfig