Package Details: g2 0.72-6

Git Clone URL: https://aur.archlinux.org/g2.git (read-only, click to copy)
Package Base: g2
Description: 2D graphics library; can be used with C, C++, Fortran to generate flow charts.
Upstream URL: https://github.com/danielrmeyer/g2
Licenses: GPL
Submitter: None
Maintainer: None
Last Packager: haawda
Votes: 6
Popularity: 0.000000
First Submitted: 2005-08-17 13:41 (UTC)
Last Updated: 2018-05-10 09:35 (UTC)

Dependencies (4)

Required by (1)

Sources (2)

Latest Comments

« First ‹ Previous 1 2

aggraef commented on 2013-09-06 08:03 (UTC)

Alas, this build doesn't work for me. At the very least, you should patch Makefile.in to include @LIBS@ in the link command (Makefile.in:97): libg2.@LD_SHARED_EXT@: $(OBJ) @LD_SHARED@ @LD_SHARED_FLAGS@ -o $@ $(OBJ) @LD_SHARED_OPT@ @LIBS@ 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 libg2.so.0.$pkgver $pkgdir/usr/lib/libg2.so.0.$pkgver ln -s /usr/lib/libg2.so.0.$pkgver $pkgdir/usr/lib/libg2.so The execute bit isn't really essential, but the libg2.so 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 (UTC)

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

aggraef commented on 2013-09-04 21:27 (UTC)

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: https://aur.archlinux.org/packages/g2-fpic/. But of course it would be nice if you could update your package instead.