Package Details: qman-git 1.3.1.r28.gb461fb9-1

Git Clone URL: https://aur.archlinux.org/qman-git.git (read-only, click to copy)
Package Base: qman-git
Description: A more modern manual page viewer for our terminals
Upstream URL: https://github.com/plp13/qman
Licenses: BSD-2-Clause
Conflicts: qman
Provides: qman
Submitter: plp
Maintainer: intelfx
Last Packager: intelfx
Votes: 2
Popularity: 0.44
First Submitted: 2023-12-19 19:00 (UTC)
Last Updated: 2025-03-25 10:37 (UTC)

Latest Comments

1 2 Next › Last »

plp commented on 2025-04-04 12:38 (UTC) (edited on 2025-04-04 12:39 (UTC) by plp)

I tried to copy/paste your solution into my qman, but it didn't work. I also searched online for if check_option check y and I couldn't find any mention of it.

In the end, I managed to replicate the functionality by leaving tests disabled in build(), and adding

arch-meson build "${pkgname}-${pkgver}" --reconfigure -Dtests=enabled

at the top of check().

Also check out the complete list of opts I added to my build(). You may want to use them for qman-git as well.

intelfx commented on 2025-03-25 22:18 (UTC)

Yeah, since that comment I've added a small hack to append -Dtests=disabled if !check.

plp commented on 2025-03-25 21:04 (UTC) (edited on 2025-03-25 21:11 (UTC) by plp)

It works correctly for me.

makepkg pulls cunit as a dependency, and makepkg --nocheck doesn't.

Similarly, yay -S qman-git pulls cunit and yay --mflags="--nocheck" -S qman-git doesn't.

In all cases, build is successful.

intelfx commented on 2025-03-25 10:29 (UTC)

Hmm. Are you building with --nocheck?

patlefort commented on 2025-03-24 22:11 (UTC)

cunit should be a make depends or it will fail to build with qman/src/meson.build:58:10: ERROR: Dependency "cunit" not found, tried pkgconfig.

intelfx commented on 2025-03-24 21:22 (UTC)

@plp: Done. I've added support for actually running the tests, and pulled the changes from your main PKGBUILD. Thanks for the heads-up, and sorry for the delay!

plp commented on 2025-03-18 12:49 (UTC)

Please add cunit to makedepends.

Or, alternatively, change arch-meson build qman to arch-meson -Dtests=disabled build qman.

Sorry about bothering you with this again. I can re-take ownership of the package if it's becoming too much trouble.

plp commented on 2025-02-24 19:38 (UTC) (edited on 2025-02-24 19:57 (UTC) by plp)

Please update the PKGBUILD as follows:

# Maintainer: Ivan Shapovalov <intelfx@intelfx.name>
# Contributor: Pantelis Panayiotou <p.panayiotou@gmail.com>

pkgname=qman-git
pkgver=1.3.1.r5.gd21ef51
pkgrel=2
pkgdesc="A more modern manual page viewer for our terminals"
arch=("x86_64" "aarch64")
url="https://github.com/plp13/qman"
license=("BSD-2-Clause")
depends=("ncurses" "libinih" "zlib" "bzip2" "xz" "man-db")
makedepends=("git" "meson" "python-cogapp")
provides=("qman")
conflicts=("qman")
source=("git+https://github.com/plp13/qman.git#branch=devel")
sha256sums=("SKIP")

pkgver() {
  cd qman
  git describe --long --tags | sed 's/^v//;s/[^-]*-g/r&/;s/-/./g'
}

prepare() {
  cd qman
  sed -r "s|install_dir: 'man/man1'|install_dir: 'share/man/man1'|g" \
      -i man/meson.build
}

build() {
  arch-meson build qman
  meson compile -C build
}

package() {
  meson install --destdir "${pkgdir}" -C build
  cd qman
  install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
}

Rationale:

  • As of today, Qman supports man pages compressed with xz

  • As per our email discussion with @intelfx, bzip2 should be in depends, not optdepends

  • EDIT: I also received confirmation that it works on aarch64

plp commented on 2025-02-22 17:59 (UTC)

@intelfx I won't be using qman-git, because I work directly on my local copy of the repo. So, if you are willing to take over and keep it alive, you are welcome :-)

Important: You should change it to pull from devel, since that's where development happens. main contains stable code, typically the latest release, plus the occasional bug fix that hasn't made it into a release yet.

intelfx commented on 2025-02-22 15:52 (UTC)

No, you should not try to get this package merged into qman. These packages are not equivalent: one tracks releases, the other tracks the git master branch (i.e., unreleased revisions). This is permitted in AUR.

If you do not wish to maintain the -git package, disown it and I'll take over the maintenance.