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)

Required by (1)

Sources (2)

Latest Comments

1 2 Next › Last »

micwoj92 commented on 2025-12-01 01:52 (UTC)

Build fails:

src/g2_ui_device.c: In function ‘g2_close’:
src/g2_ui_device.c:51:9: error: too many arguments to function ‘(devp->d.pd->ff + 16)->fun’; expected 0, have 2
   51 |         devp->d.pd->ff[g2_Delete].fun(devp->d.pd->pid,
      |         ^~~~                          ~~~~~~~~~~~~~~~
In file included from src/g2_device.h:22,
                 from src/g2_ui_device.c:23:
src/g2_physical_device.h:33:17: note: declared here
   33 |     int       (*fun)();               /* pointer to function */
      |                 ^~~
make: *** [Makefile:82: src/g2_ui_device.o] Error 1
make: *** Waiting for unfinished jobs....

aggraef commented on 2018-01-31 08:39 (UTC)

Works, thanks!

haawda commented on 2018-01-30 23:10 (UTC)

http://downloads.sourceforge.net/sourceforge/g2gl/$pkgname-$pkgver.tar.gz does not work for me (well, it downloads something, but not a tarball), but the github tarball works. Thanks!

aggraef commented on 2018-01-12 01:20 (UTC)

The download link is still broken, can you please fix this? You can use, e.g., http://downloads.sourceforge.net/sourceforge/g2gl/$pkgname-$pkgver.tar.gz.

aggraef commented on 2017-04-08 18:50 (UTC)

0.72 source is available at https://github.com/danielrmeyer/g2

raspher commented on 2017-04-08 10:44 (UTC)

upstream and source do not work, error 404

haawda commented on 2014-09-16 18:13 (UTC)

Thanks, fixed.

aggraef commented on 2014-09-16 15:39 (UTC)

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 (UTC)

Works, thanks!

haawda commented on 2013-09-06 17:52 (UTC)

Thanks for the patch. It was applied.