Package Details: golly 4.2-2

Git Clone URL: https://aur.archlinux.org/golly.git (read-only, click to copy)
Package Base: golly
Description: A simulator for Conway's Game of Life and other cellular automata
Upstream URL: http://golly.sourceforge.net/
Keywords: automata cell cellular conway game life simulator
Licenses: GPL
Submitter: None
Maintainer: Jake
Last Packager: Jake
Votes: 110
Popularity: 0.001905
First Submitted: 2008-07-25 09:19 (UTC)
Last Updated: 2024-05-16 20:10 (UTC)

Dependencies (5)

Required by (0)

Sources (2)

Latest Comments

1 2 3 4 5 6 Next › Last »

patlefort commented on 2024-05-17 00:20 (UTC)

Missing python-setuptools in makedepends. Tested in clean container.

maksverver commented on 2024-03-04 15:51 (UTC)

As I mentioned before, Perl has not been supported by upstream for years. It's probably best to finally remove it from the PKGBUILD, to align the configuration with upstream, and make PKGBUILD maintenance easier going forward.

If someone actually uses Perl scripts in Golly (that cannot easily be ported to Lua or Python) they should probably leave a comment, but I suspect nobody cares about Perl support anymore.

For reference, here is an updated PKGBUILD for Golly 4.2 with Perl support removed: https://pastebin.com/raw/WzC9xYp6

mod20 commented on 2024-02-28 15:22 (UTC) (edited on 2024-02-28 15:23 (UTC) by mod20)

I am getting compile errors (using all latest package versions):

wxperl.cpp: In function 'void pl_help(PerlInterpreter*, CV*)':
wxperl.cpp:231:34: error: invalid conversion from 'char* (*)(PerlInterpreter*, SV*, STRLEN*, I32)' {aka 'char* (*)(interpreter*, sv*, long unsigned int*, int)'} to 'char* (*)(PerlInterpreter*, SV*, STRLEN*, U32)' {aka 'char* (*)(interpreter*, sv*, long unsigned int*, unsigned int)'} [-fpermissive]
  231 | #define Perl_sv_2pv_flags        G_Perl_sv_2pv_flags
      |                                  ^~~~~~~~~~~~~~~~~~~
      |                                  |
      |                                  char* (*)(PerlInterpreter*, SV*, STRLEN*, I32) {aka char* (*)(interpreter*, sv*, long unsigned int*, int)}
/usr/lib/perl5/5.38/core_perl/CORE/sv.h:1953:21: note: in expansion of macro 'Perl_sv_2pv_flags'
 1953 |                     Perl_sv_2pv_flags, FALSE, 0)
      |                     ^~~~~~~~~~~~~~~~~
/usr/lib/perl5/5.38/core_perl/CORE/sv.h:1972:37: note: in expansion of macro 'SvPV_flags'
 1972 | #define SvPV(sv, len)               SvPV_flags(sv, len, SV_GMAGIC)
      |                                     ^~~~~~~~~~
wxperl.cpp:3021:28: note: in expansion of macro 'SvPV'
 3021 |     const char* htmlfile = SvPV(ST(0), n_a);
      |                            ^~~~
/usr/lib/perl5/5.38/core_perl/CORE/sv_inline.h:911:27: note:   initializing argument 6 of 'char* Perl_SvPV_helper(PerlInterpreter*, SV*, STRLEN*, U32, PL_SvPVtype, char* (*)(PerlInterpreter*, SV*, STRLEN*, U32), bool, U32)'
  911 |                  char * (*non_trivial)(pTHX_ SV *, STRLEN * const, const U32),
      |                  ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

This gets repeated several times for all kinds of pl_* functions.

maksverver commented on 2023-02-09 21:52 (UTC)

Perl scripting is no longer supported in the official release, but the source code for it is still present, and the current PKGBUILD enables Perl scripting manually.

However, as it happens the current build doesn't work with the current version of Perl (5.36.0) because of a missing symbol (Perl_newSV_type). It turns out that fixing it is far from trivial because of the nonstandard way Golly uses Perl (it uses dlopen() to access libperl.so on demand, rather than having a binary dependency on libperl.so directly).

Perhaps the time has come to drop Perl support from the PKGBUILD. It does seem more consistent with the Arch Linux packaging principles as described here: https://wiki.archlinux.org/title/Arch_Linux#Simplicity

Here is an updated PKGBUILD without Perl support: https://gist.githubusercontent.com/maksverver/ebba5f944a5ac17f73774c93ce28943c/raw/b9f7f584af5a88af949f156ff591c8bd79938fdd/PKGBUILD

AlephAlpha commented on 2023-02-09 03:14 (UTC)

Is the perl dependency still required? I think Perl scripting support was removed in version 2.8.

luke2625 commented on 2023-01-20 13:45 (UTC)

makserver: Now it works, I retried just now and it installed without problems.

maksverver commented on 2023-01-20 04:01 (UTC) (edited on 2023-01-20 04:01 (UTC) by maksverver)

Luke: it works fine for me. Can you generate debug info including the command that fails? Something like:

cd src/golly-4.2-src/gui-wx
make -f makefile-gtk -d

...should print more information.

luke2625 commented on 2023-01-18 11:53 (UTC) (edited on 2023-01-18 11:53 (UTC) by luke2625)

Can't install latest version on my Arch Linux

/bin/sh: syntax error at line 1: `(' unexpected

make: *** [makefile-gtk:226: ObjGTK/wxprefs.o] Error 3

Jake commented on 2022-07-18 20:18 (UTC)

I changed it to wxwidgets-gtk3 now, because I could not get it to compile with WX_CONFIG = wx-config --toolkit=qt and the -qt5 package also has the same provides.

Let me know when there is a ways to build with Qt5/6, would be happy to support that as option.

dack commented on 2022-07-15 19:10 (UTC)

This could probably just depend on "wxwidgets" (which is provided by wxwidgets-gtk3) instead of a specific gtk version.