fireplace icon indicating copy to clipboard operation
fireplace copied to clipboard

Provide AUR package

Open beatgammit opened this issue 8 years ago • 6 comments

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.

beatgammit avatar Feb 15 '17 18:02 beatgammit

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.

Drakulix avatar Feb 15 '17 21:02 Drakulix

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.

Drakulix avatar Feb 15 '17 21:02 Drakulix

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 avatar Feb 16 '17 07:02 beatgammit

@beatgammit any news?

Drakulix avatar Feb 28 '17 21:02 Drakulix

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 avatar Oct 10 '17 08:10 terlar

@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.

Drakulix avatar Oct 10 '17 14:10 Drakulix