Package Details: grace 5.1.25-12

Git Clone URL: https://aur.archlinux.org/grace.git (read-only, click to copy)
Package Base: grace
Description: 2D plotting tool
Upstream URL: http://plasma-gate.weizmann.ac.il/Grace/
Licenses: GPL
Submitter: Barthalion
Maintainer: arcanis
Last Packager: arcanis
Votes: 6
Popularity: 0.028431
First Submitted: 2018-01-06 20:54 (UTC)
Last Updated: 2024-08-21 18:44 (UTC)

Latest Comments

1 2 3 Next › Last »

aboliveira commented on 2024-08-21 13:42 (UTC)

Perhaps include debian patch files along with the PKGBUILD rather than point to the debian page? This would also solve the debian_version variable (which I dislike).

Sophon96 commented on 2024-08-21 08:37 (UTC)

The Debian version is now 5.1.25-16, by the way.

arcanis commented on 2024-08-05 12:59 (UTC)

I don't think following debian versioning is a good idea, because in this case we won't be able to bump pkgrel on our own (e.g. if we need to update dependencies list)

gerson commented on 2024-07-16 17:57 (UTC)

Debian links are broken. Debian version should be _debian_version="5.1.25-15". I've tested by changing this var and replacing the sha512sums with SKIP for now and it works fine.

Also, if Debian labels as 5.1.25-10, should the pkgrel here also be increased to 15?

frankspace commented on 2024-07-05 16:10 (UTC)

I can confirm what @ahanlon found.

I tried adding '!lto' to the options array, and that seems to have cured it (at least based on just blindly running nm /usr/lib/libgrace_np.a and looking at the output).

ahanlon commented on 2024-06-12 22:52 (UTC)

With the latest version here, I am no longer able to successfully link to the static library file produced from this package. Specifically, there are undefined reference errors (e.g. undefined references to GraceClose). When I attempt to look at the symbols inside the static library, I get this output

> nm libgrace_np.a

grace_np.o:
nm: grace_np.o: plugin needed to handle lto object
0000000000000001 C __gnu_lto_slim

gracef_np.o:
0000000000000001 C __gnu_lto_slim

gracef_np_.o:
0000000000000001 C __gnu_lto_slim

which is much smaller than expected, and suggests that many things are missing. I've compared this to the old static library file produced (which contains all the needed objects).

aboliveira commented on 2024-06-03 14:10 (UTC)

Wow, it builds now. That was fast. Voting right now :-)

aboliveira commented on 2024-06-02 02:56 (UTC)

It fails to build. Meanwhile I'm using qtgrace...

kbk commented on 2024-05-31 17:16 (UTC)

A new patch is available on debian, it is like this one on macports: https://sources.debian.org/data/main/g/grace/1:5.1.25-14/debian/patches/configure-implicit-declarations.diff

This time I face an other error with T1lib :(

In file included from regions.c:50:
regions.c: In function ‘t1_ChangeDirection’:
regions.h:48:49: error: type of ‘x2’ defaults to ‘int’ [-Wimplicit-int]
   48 | #define   ChangeDirection(type,R,x,y,dy,x2,y2)  t1_ChangeDirection(type,R,x,y,dy,x2,y2)
      |                                                 ^~~~~~~~~~~~~~~~~~
regions.c:602:6: note: in expansion of macro ‘ChangeDirection’
  602 | void ChangeDirection(type, R, x, y, dy, x2, y2)
      |      ^~~~~~~~~~~~~~~
regions.h:48:49: error: type of ‘y2’ defaults to ‘int’ [-Wimplicit-int]
   48 | #define   ChangeDirection(type,R,x,y,dy,x2,y2)  t1_ChangeDirection(type,R,x,y,dy,x2,y2)
      |                                                 ^~~~~~~~~~~~~~~~~~
regions.c:602:6: note: in expansion of macro ‘ChangeDirection’
  602 | void ChangeDirection(type, R, x, y, dy, x2, y2)
      |      ^~~~~~~~~~~~~~~
make[2]: *** [<builtin>: regions.o] Error 1
make[2]: Leaving directory '/home/hkh/.cache/yay/grace/src/grace-5.1.25/T1lib/type1'
make[1]: *** [Makefile:96: type1/arith.o] Error 2
make[1]: Leaving directory '/home/hkh/.cache/yay/grace/src/grace-5.1.25/T1lib'
make: *** [Makefile:10: subdirs] Error 1
==> ERROR: A failure occurred in build().
    Aborting...

Not sure what to do, so I dozngrade -Wno-implicit-int errors to a warning with CFLAGS='-Wno-error=implicit-int' ( see gcc docs here) ... and it build and install successfully :)

This is a rapid hack to get grace working, as I urgently need it!

Please help to fix and keep this package working.

kbk commented on 2024-05-29 07:53 (UTC)

grace fails to build with

...
checking for X11/xpm.h... yes
checking for a Motif >= 1002 compatible API... no
configure: error: M*tif has not been found
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: grace-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
grace - exit status 4