Package Details: wayfire-git 0.7.4.r214.gda7a929c-1

Git Clone URL: https://aur.archlinux.org/wayfire-git.git (read-only, click to copy)
Package Base: wayfire-git
Description: 3D wayland compositor
Upstream URL: https://github.com/WayfireWM/wayfire
Keywords: compositor wayfire wayland wm
Licenses: MIT
Conflicts: wayfire-git, wf-config, wf-config-git, wlroots, wlroots-git
Provides: libwlroots.so, wayfire, wf-config, wf-config-git, wlroots, wlroots-git
Submitter: SolarAquarion
Maintainer: SolarAquarion (kugelblitz)
Last Packager: SolarAquarion
Votes: 10
Popularity: 0.58
First Submitted: 2018-06-28 12:32 (UTC)
Last Updated: 2022-09-09 12:22 (UTC)

Required by (94)

Sources (1)

Latest Comments

1 2 3 4 Next › Last »

UltraBlack commented on 2023-01-04 09:22 (UTC)

Could you add -Db_sanitize=address to the meson arguments? Makes it easier to debug a crash once a new one appears.

This is also required if you want to report a bug over at wayfire.

Anomalocaris commented on 2022-08-17 17:11 (UTC) (edited on 2022-08-17 18:08 (UTC) by Anomalocaris)

Would you mind adding wlroots to the provides array? Otherwise you can't install this along with packages that rely on wlroots, but not specifically wlroots-git.

Edit: Please also add libwlroots.so and wf-config since those seem to be provided as well.

luluco250 commented on 2022-05-26 23:18 (UTC)

Build fails if nlohmann-json is not found, apparently it's a runtime dependency, so I think it should be added as a dependency. It worked for me after I installed it.

tombh commented on 2022-05-19 13:48 (UTC) (edited on 2022-05-19 14:12 (UTC) by tombh)

It seems we can't use arch-meson to build at the moment? I'm getting the error: plugins/ipc/meson.build:7:2: ERROR: Automatic wrap-based subproject downloading is disabled. I'm using a hack I found in the mangohud-git AUR package to fix it. Just add this function to the PKGBUILD:

arch-meson() {
    /usr/bin/arch-meson --wrap-mode default "$@"
}

HVLife commented on 2022-05-03 14:06 (UTC)

Here is pkgbuild, if you want to install wayfire-git with wlroots package and wf-config-git. Just because I have sway on my system...


# Maintainer: Solomon Choina <shlomochoina@gmail.com>
# Co-Maintainer: Frank Tao <frank.tao@uwaterloo.ca>
pkgname=wayfire-git
pkgver=0.7.2.r191.g9458f589
pkgrel=1
pkgdesc="3D wayland compositor"
arch=('x86_64')
url="https://github.com/WayfireWM/wayfire"
license=('MIT')
depends=('cairo' 'pango' 'doctest' 'freetype2' 'glm' 'libdrm' 'libevdev' 'libglvnd' 'libinput' 'libjpeg' 'libpng' 'libxkbcommon' 'libxml2' 'pixman' 'polkit' 'pkgconf' 'seatd' 'xcb-util-errors' 'xcb-util-renderutil' 'xcb-util-wm' 'xorg-xwayland' 'wayland' 'wayland-protocols')
makedepends=('git' 'glslang' 'meson' 'ninja' 'cmake' 'vulkan-headers')
optdepends=('xorg-xeyes')
provides=()
conflicts=()
replaces=()
options=()

source=('git+https://github.com/WayfireWM/wayfire')
sha256sums=('SKIP')

pkgver() {
    cd "$srcdir/wayfire"
  tag=$(git tag -l | awk '/^[0-9.]+$/ {print $0} /^v{1}[0-9.]+$/ {print substr($0,2)}'|sort -n|tail -n1)
  printf "$tag.r%s.g%s" "$(git rev-list --count v${tag}..HEAD)" "$(git rev-parse --short HEAD)"
}

build() {
    cd "$srcdir/wayfire/"
    arch-meson \
        --buildtype=release \
        -Dxwayland=auto \
        -Duse_system_wlroots=enabled \
        -Duse_system_wfconfig=enabled \
        -Db_lto=true \
        -Db_pie=true \
        build
    ninja -C build
    sed "/WF_SRC_DIR/d" -i build/config.h
}


package() {
    cd "$srcdir/wayfire"
    DESTDIR="$pkgdir/" ninja -C build install
    install -Dm644 wayfire.desktop $pkgdir/usr/share/wayland-sessions/wayfire.desktop 
    cp wayfire.ini $pkgdir/usr/share
}

mr_spuck commented on 2022-01-30 00:38 (UTC)

Could you please also add 'wlroots' to the provides array ?

nuc commented on 2022-01-25 04:11 (UTC)

I have the same issue as @Tom_B

Tom_B commented on 2022-01-08 18:32 (UTC)

This conflicts with wlroots but wlroots is a dependency for wf-shell-git which means we can't currently install wayfire-git and wf-shell-git at the same time. What is the best way to solve this conflict?

kugelblitz commented on 2022-01-03 14:13 (UTC)

@lama_reborn your requests have been implemented.

lama_reborn commented on 2021-12-02 17:24 (UTC) (edited on 2021-12-02 17:32 (UTC) by lama_reborn)

I would to point out a minor issue here. If you use wlroots-git package you might end up not being able to compile wayfire. Reason is stated on wayfire.org webpage - they are not able to precisely keep up with upstream wlroots project. For that reason they created git subproject in wayfire git that points to the latest wlroots commit wayfire functions with. Here you can see it: https://github.com/WayfireWM/wayfire/tree/master/subprojects

After finding that out and not being entirely happy about this package I prepared another AUR package that compiles with build-type=release (which turns on compiler optimizations), compiles wlroots subproject and wf-config subproject and has X11 as optional dependency. Since it was promptly marked as duplicate and deleted from AUR I am not going to bother arguing that and will just put the changes here. Feel free to adopt parts of it or nothing at all.

pkgname=wayfire-bundle-git
pkgver=0
pkgrel=1
pkgdesc="OpenGL wayland compositor - build with wayfire specific wlroots"
arch=('x86_64')
url="https://wayfire.org"
license=('MIT')
conflicts=("$pkgname" wayfire wayfire-git wlroots wlroots-git wf-config wf-config-git)
depends=('cairo' 'pango' 'freetype2' 'glm' \
'libdrm' 'libevdev' 'libglvnd' 'libinput' 'libjpeg' 'libpng' 'libxkbcommon' 'libxml2' \
'pixman' 'pkgconf' 'seatd' 'wayland' 'wayland-protocols')
makedepends=('git' 'meson' 'ninja' 'cmake')
optdepends=('xcb-util' 'xcb-util-renderutil' 'xcb-util-errors' 'xcb-util-wm' 'xorg-xwayland')
provides=("$pkgname" wlroots-git wf-config-git)
source=('git+https://github.com/WayfireWM/wayfire')
sha512sums=('SKIP')

pkgver() {
    cd "$srcdir/wayfire"
    #ugly hack for getting version since the target repo is not very tidy
    git tag -l|awk '/^[0-9.]+$/ {print $0} /^v{1}[0-9.]+$/ {print substr($0,2)}'|sort -n|tail -n1

}

build() {
    cd "$srcdir/wayfire/"
    #using meson with almost all arch-meson opts because we need to pull wlroots from it's git and do not want auto-features enabled
    meson setup --prefix /usr \
            --libexecdir lib \
            --sbindir bin \
            --buildtype=release \
            -Dxwayland=auto \
            -Duse_system_wlroots=disabled \
            -Duse_system_wfconfig=disabled \
            -Db_lto=true \
            -Db_pie=true \
            build
    ninja -C build
    #remove reference to build dir as pkgbuild complains about it
    sed "/WF_SRC_DIR/d" -i build/config.h
}

package() {
    cd "$srcdir/wayfire"
    DESTDIR="$pkgdir/" ninja -C build install
    install -Dm644 wayfire.desktop $pkgdir/usr/share/wayland-sessions/wayfire.desktop 
    cp wayfire.ini $pkgdir/usr/share
}

Also thanks for maintaining this.