Package Details: gerbv 2.10.0-1

Git Clone URL: https://aur.archlinux.org/gerbv.git (read-only, click to copy)
Package Base: gerbv
Description: An open source Gerber file (RS-274X only) viewer
Upstream URL: http://gerbv.geda-project.org/
Keywords: design electronic gerber pcb viewer
Licenses: GPL
Submitter: arojas
Maintainer: thienandangthanh
Last Packager: thienandangthanh
Votes: 4
Popularity: 0.90
First Submitted: 2023-04-01 08:15 (UTC)
Last Updated: 2023-08-21 07:49 (UTC)

Dependencies (3)

Required by (1)

Sources (1)

Latest Comments

s-ol commented on 2025-01-07 16:08 (UTC) (edited on 2025-01-07 16:15 (UTC) by s-ol)

This builds and runs fine but the package config file is broken:

prefix=/usr
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include
pkgincludedir=${prefix}/include/gerbv-2.10.0~2ad3fd

Name: libgerbv
Description: Core library for gerbv
Requires: glib-2.0 gtk+-2.0
Version: 2.10.0~2ad3fd
Libs: -L${libdir} -lgerbv
Cflags: -I${pkgincludedir}

note the ~2ad3fd suffix in the version field and pkgincludedir. This results in pkg-config --cflags-only-I libgerbv reporting -I/usr/include/gerbv-2.10.0~2ad3fd whereas the directory on disk is called /usr/include/gerv-2.1.0; as a result projects depending on gerbv will faile to build with fatal error: gerbv.h: No such file or directory.

gerbv-git solves this using this line in prepare():

  sed -i -e "s/m4_esyscmd(utils\/git-version-gen.sh [0-9.]*)/$pkgver/" configure.ac

micwoj92 commented on 2024-11-03 11:56 (UTC)

Please use spdx license identifier.

jensenr30 commented on 2023-06-29 20:41 (UTC)

It looks like the PKGBUILD was been updated. Version 2.9.8 built for me with no issues. Program runs as expected!

daprutser commented on 2023-06-11 05:12 (UTC)

This PKGBUILD does not build the latest git version, instead it builds tag 2.9.5.