fireplace
fireplace copied to clipboard
Provide AUR package
From what I can tell, this requires nightly due to use of feature flags in wlc
. This should be noted in the README. If fireplace
doesn't need that feature (can use unsafe-stable
), that would be much nicer.
I tried to build a package for the AUR and got tripped up here, so others may have similar problems.
It was documentated in the README
https://github.com/Drakulix/fireplace#building the last time I looked :slightly_frowning_face:
fireplace
additionally requires #[feature(specialization)]
, so it cannot work on stable sadly.
Also thanks for trying to build an AUR package. If you should find time to finish it, please send a pull request and add a link to the Installation
section, if you want. Otherwise give me a ping and I will do that for you.
Sounds good. If you don't hear back in a week, This looks like a cool project and I hope that I can help in a small way.
@beatgammit any news?
This PKGBUILD works for me:
pkgname=fireplace-git
pkgver=v3.1.2.r6.g53ac0bbd
pkgrel=1
pkgdesc="Modular wayland window manager written in rust"
arch=('i686' 'x86_64')
url="https://github.com/Drakulix/fireplace"
license=('MIT')
depends=('wlc' 'pixman' 'wayland' 'wayland-protocols' 'libxkbcommon' 'systemd' 'libinput' 'libx11' 'libxcb' 'mesa' 'libdrm' 'fontconfig' 'freetype2')
makedepends=('cargo' 'rust' 'git' 'clang')
provides=('fireplace')
conflicts=('fireplace')
source=("${pkgname}::git+https://github.com/Drakulix/fireplace.git")
md5sums=('SKIP')
pkgver() {
cd "$pkgname"
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
prepare() {
cd "$srcdir/$pkgname"
rm Cargo.lock
}
build() {
cd "$srcdir/$pkgname"
cargo build --release
}
package() {
cd "$srcdir/$pkgname"
mkdir -p "$pkgdir/usr/bin"
mv "target/release/fireplace" "$pkgdir/usr/bin"
mkdir -p "$pkgdir/usr/share/wayland-sessions"
cp "$srcdir/$pkgname/fireplace.desktop" "$pkgdir/usr/share/wayland-sessions"
}
@terlar Thanks for you comment, but I do not think I will use that just now.
I do plan to release an AUR package once fireplace made the transition over to smithay
as it's foundation library. At this point it should work much better and newer feature will be far easier to develop.