Package Details: g2 0.72-4

Git Clone URL: (read-only)
Package Base: g2
Description: 2D graphics library; can be used with C, C++, Fortran to generate flow charts.
Upstream URL:
Licenses: GPL
Submitter: None
Maintainer: haawda
Last Packager: haawda
Votes: 5
Popularity: 0.000000
First Submitted: 2005-08-17 13:41
Last Updated: 2015-06-08 22:22

Latest Comments

aggraef commented on 2017-04-08 18:50

0.72 source is available at

noogar commented on 2017-04-08 10:44

upstream and source do not work, error 404

haawda commented on 2014-09-16 18:13

Thanks, fixed.

aggraef commented on 2014-09-16 15:39

Stopped working again (fails in configure). Needs a minor fix in the build routine of the PKGBUILD to make it work again:

./configure --prefix=/usr CFLAGS="-fPIC"

aggraef commented on 2013-09-06 23:14

Works, thanks!

haawda commented on 2013-09-06 17:52

Thanks for the patch. It was applied.

aggraef commented on 2013-09-06 13:54

I've uploaded a source package with updated pkgbuild and minimal patch here:

aggraef commented on 2013-09-06 08:03

Alas, this build doesn't work for me. At the very least, you should patch to include @LIBS@ in the link command (

libg2.@LD_SHARED_EXT@: $(OBJ)

Otherwise the shared library cannot be loaded by dlopen without manually loading all the libraries in @LIBS@ first, which is really awkward.

Also, you need to fix up the last two commands in package() as follows:

install -Dm755$pkgver $pkgdir/usr/lib/$pkgver
ln -s /usr/lib/$pkgver $pkgdir/usr/lib/

The execute bit isn't really essential, but the link definitely needs to go to the *real* /usr/lib directory, not the staged $(pkgdir)/usr/lib directory.

With these changes in place your package works for me.

haawda commented on 2013-09-05 19:23

Please test $pkgrel -2. I think we do not need a patchfile here.

aggraef commented on 2013-09-04 21:27

Hi Stefan, would you consider updating this package so that it also installs libg2 as a shared library? I need this for the pure-g2 module of my Pure programming language which also has packages here on AUR. For the time being, I've uploaded an updated package here: But of course it would be nice if you could update your package instead.