Package Details: rofi-git 1.7.9.1.r2.g4bcbe12c-1

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
Submitter: 1ace
Maintainer: orestisf (0x647262)
Last Packager: orestisf
Votes: 69
Popularity: 0.023186
First Submitted: 2014-03-03 00:41 (UTC)
Last Updated: 2025-06-15 06:51 (UTC)

Required by (206)

Sources (3)

Latest Comments

1 2 3 4 5 6 7 Next › Last »

orestisf commented on 2025-06-15 06:53 (UTC)

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.

cysp74 commented on 2025-06-15 06:24 (UTC) (edited on 2025-06-15 06:25 (UTC) by cysp74)


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/}")

cysp74 commented on 2025-06-15 06:23 (UTC)

Hi,

wayland-protocols is needed for building the package from now on.

yusufaktepe commented on 2025-01-19 21:31 (UTC)

xcb-imdkit should be added as a dependency.

Neurognostic commented on 2024-12-10 17:29 (UTC)

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'
 )

orestisf commented on 2023-01-13 13:49 (UTC)

Done, thanks

BifbofII commented on 2023-01-13 09:38 (UTC)

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

orestisf commented on 2021-09-21 10:46 (UTC)

@scry3r I don't think we want to checkout a specific tag, this is a -git package, meant to always build from the latest main branch

scry3r commented on 2021-09-18 00:14 (UTC)

Hello

I make some changes in PKGBUILD file

# Maintainer: Orestis Floros <orestisf1993@gmail.com>
# Maintainer: Dan Beste <dan.ray.beste@gmail.com>
# Contributor: Benjamin Chrétien <chretien+aur [at] lirmm [dot] fr>
# Contributor: Eric Engestrom <aur [at] engestrom [dot] ch>
# Contributor: Rasi <rasi@xssn.at>
# Contributor: Sean Pringle <sean.pringle@gmail.com>
# Contributor: SanskritFritz (gmail)

pkgname=rofi-git
pkgver=1.6.1
pkgrel=1
pkgdesc='A window switcher, run dialog and dmenu replacement'
arch=('x86_64')
url='https://github.com/DaveDavenport/rofi/'
license=('MIT')
depends=(
  'cairo' 'flex' 'freetype2' 'libjpeg' 'librsvg' 'libx11' 'libxcb'
  'libxdg-basedir' 'libxft' 'libxkbcommon' 'libxkbcommon-x11' 'pango'
  'startup-notification' 'xcb-util' 'xcb-util-wm' 'xcb-util-xrm'
)
makedepends=('git' 'meson' 'ninja')
checkdepends=('check')
provides=("${pkgname/-git}")
conflicts=("${pkgname/-git}")
source=(
  'git+https://github.com/DaveDavenport/rofi#branch=next'
  'git+https://github.com/sardemff7/libgwater'
  'git+https://github.com/sardemff7/libnkutils'
)
sha256sums=('SKIP' 'SKIP' 'SKIP')

pkgver() {
  cd "${pkgname/-git}"

  git describe --long --tags \
    | sed 's/-/.r/;s/-/./'
}

prepare() {
  cd "${pkgname/-git}"
  git checkout ${pkgver}
  git submodule init
  git submodule update
  cd "${srcdir}"

  meson setup "${pkgname/-git}" build \
    --buildtype release               \
    --prefix /usr
}

build() {
  ninja -C build
}

check() {
  ninja -C build test
}

package() {
  DESTDIR="${pkgdir}" ninja -C build install

  cd "${pkgname/-git}"
  install -Dm644 COPYING "${pkgdir}/usr/share/licenses/rofi/COPYING"
  install -Dm755 Examples/*.sh -t "${pkgdir}/usr/share/doc/rofi/examples"
}

# vim: ts=2 sw=2 et:

orestisf commented on 2021-06-15 09:51 (UTC)

@Ferdi265 rofi's CI on GitHub is broken as well (starting on the exact commit you mentioned), I believe that they will resolve the issue eventually.