Hello, I've build and run the package for aarch64. It works perfectly, I suppose the arch can be set to any
![]() |
VOOZH | about |
| Git Clone URL: | https://aur.archlinux.org/rofi-git.git (read-only, click to copy) |
|---|---|
| Package Base: | rofi-git |
| Description: | A window switcher, run dialog and dmenu replacement |
| Upstream URL: | https://github.com/DaveDavenport/rofi/ |
| Licenses: | MIT |
| Conflicts: | rofi |
| Provides: | rofi, rofi-wayland |
| Replaces: | rofi-wayland |
| Submitter: | 1ace |
| Maintainer: | orestisf (0x647262) |
| Last Packager: | orestisf |
| Votes: | 68 |
| Popularity: | 0.000066 |
| First Submitted: | 2014-03-03 00:41 (UTC) |
| Last Updated: | 2026-02-13 10:30 (UTC) |
Hello, I've build and run the package for aarch64. It works perfectly, I suppose the arch can be set to any
Hi,
During the build got error because unusual versioning came from git repo, so I added more bulletproof version extraction to pkgver() ->
diff --git a/PKGBUILD b/PKGBUILD
index 05f7d6e..e19a591 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,7 +7,7 @@
# Contributor: SanskritFritz (gmail)
pkgname=rofi-git
-pkgver=1.7.9.1.r2.g4bcbe12c
+pkgver=2.0.0.beta1.r0.g40224d32
pkgrel=1
pkgdesc='A window switcher, run dialog and dmenu replacement'
arch=('x86_64')
@@ -52,9 +52,7 @@ sha256sums=('SKIP' 'SKIP' 'SKIP')
pkgver() {
cd "${pkgname/-git/}"
-
- git describe --long --tags |
- sed 's/-/.r/;s/-/./'
+ git describe --long --tags | sed 's/([^-]*-g)/r\1/;s/-/./g'
}
prepare() {
I get the following while building in a chroot:
rofi/meson.build:108:2: ERROR: Dependency "wayland-client" not found, tried pkgconfig
Adding wayland to makedepends fixed it.
Thanks @cysp74, from the meson file it seems that wayland support during build is optional and can be disabled by a flag. However, the approach of adding it as a makedepend seems simpler so I followed that.
diff --git a/PKGBUILD b/PKGBUILD
index dec78d3..05f7d6e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,7 +7,7 @@
# Contributor: SanskritFritz (gmail)
pkgname=rofi-git
-pkgver=1.7.8.r1.g56fbb62b
+pkgver=1.7.9.1.r2.g4bcbe12c
pkgrel=1
pkgdesc='A window switcher, run dialog and dmenu replacement'
arch=('x86_64')
@@ -39,7 +39,7 @@ depends=(
'xcb-util-wm'
'xcb-util-xrm'
)
-makedepends=('git' 'meson')
+makedepends=('git' 'meson' 'wayland-protocols')
checkdepends=('check')
provides=("${pkgname/-git/}")
conflicts=("${pkgname/-git/}")
Hi,
wayland-protocols is needed for building the package from now on.
xcb-imdkit should be added as a dependency.
Fails to build in a clean chroot without xcb-util-keysyms.
diff --git c/PKGBUILD w/PKGBUILD
index b9bdeb7..ee81cae 100644
--- c/PKGBUILD
+++ w/PKGBUILD
@@ -29,6 +29,7 @@ depends=(
'startup-notification'
'xcb-util'
'xcb-util-cursor'
+ 'xcb-util-keysyms'
'xcb-util-wm'
'xcb-util-xrm'
)
Done, thanks
It seems like a dependency on xcb-util-cursor is missing. Building in a clean root without that I get the following error:
rofi/meson.build:68:0: ERROR: Dependency "xcb-cursor" not found, tried pkgconfig