Package Details: wayfire-git 0.8.0.r102.g906a3105-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, wlroots-git
Provides: libwlroots.so, wayfire, wlroots, wlroots-git
Submitter: SolarAquarion
Maintainer: SolarAquarion (kaneki)
Last Packager: SolarAquarion
Votes: 10
Popularity: 0.001582
First Submitted: 2018-06-28 12:32 (UTC)
Last Updated: 2024-02-18 20:59 (UTC)

Required by (142)

Sources (1)

Latest Comments

« First ‹ Previous 1 2 3 4 5 Next › Last »

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.

kode54 commented on 2021-11-27 23:18 (UTC)

@cock Check /usr/bin/arch-meson, which this PKGBUILD uses, which already selects a buildtype appropriate for packaging.

cock commented on 2021-11-27 19:43 (UTC) (edited on 2021-11-27 19:45 (UTC) by cock)

can you please add: buildtype=release or otherwise starting wayfire takes ages(confirmed the problem is this) because it's a debug build

(please do this in your other packages too)

kaneki commented on 2021-11-18 20:56 (UTC)

Yup, the repo has been changed back to the original url.

CrezyDud commented on 2021-11-17 13:27 (UTC)

you can change the git repo back to 'git+https://github.com/WayfireWM/wayfire.git' changes for wlroots have been merged

CrezyDud commented on 2021-10-30 13:31 (UTC)

version number is wrong keeps updating over and over, because the version number doesn't update

PedroHLC commented on 2021-10-19 18:14 (UTC)

The 0.7.x branch contains more commits to keep compatibility with wlroots 0.12, they are not meant for master.

https://github.com/WayfireWM/wayfire/pull/1069

That's why master is still tagging as 0.6.0.

SolarAquarion commented on 2021-09-30 17:22 (UTC)

Basically my feeling is that wayfire master wasn't tagged, only the 0.7.x branch is tagged

iTux commented on 2021-06-30 09:03 (UTC)

@ErikR: There is an open issue on the github repo: https://github.com/WayfireWM/wayfire/issues/1175

ErikR commented on 2021-06-26 11:09 (UTC) (edited on 2021-06-26 11:12 (UTC) by ErikR)

I'm unable to build ERROR: Dependencies must be external dependencies. I've got wlroots-git installed for my sway session if that helps in any way.

Edit: The error doesn't appear when disabling -Duse_system_wlroots but conflicts with the system wlroots