Package Details: golly 3.0-1

Git Clone URL: https://aur.archlinux.org/golly.git (read-only)
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: kylesferrazza
Last Packager: kylesferrazza
Votes: 89
Popularity: 0.652806
First Submitted: 2008-07-25 09:19
Last Updated: 2017-09-01 01:02

Dependencies (5)

Required by (0)

Sources (2)

Latest Comments

kylesferrazza commented on 2017-08-31 11:31

Golly 3.0 has been released.
Will update tonight

maksverver commented on 2017-07-07 22:41

By the way, I think you can drop the `gendesk` make dependency if you ship the .desktop file separately.

Synchronyme commented on 2017-07-07 07:19

@kylesferrazza & @maksverver
Thanks! It installs smoothly now.

kylesferrazza commented on 2017-07-06 21:58

@maksverver
Looks good, I'll update this package within the next hour

maksverver commented on 2017-07-06 20:25

I created a PKGBUILD that links against the wxgtk package from Arch (instead of compiling the bundled source code). That's simpler and seems to work just fine.

PKGBUILD here:

https://gist.github.com/maksverver/6a9e6b902315a8bb394b0f0e35ce3946

Kyle, what do you think? Worth replacing the official PKGBUILD?

Synchronyme commented on 2017-07-06 07:26

Error while compiling:

...
ranlib /tmp/packerbuild-1000/golly/golly/src/wxWidgets-3.0.2/build-gtk/lib/libwx_baseu-3.0.a /tmp/packerbuild-1000/golly/golly/src/wxWidgets-3.0.2/build-gtk/bk-deps g++ -c -o medialib_unix_mediactrl.o -I./.pch/wxprec_medialib -D__WXGTK__ -DWXBUILDING -I../src/regex -Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy -Woverloaded-virtual -D_FILE_OFFSET_BITS=64 -I/tmp/packerbuild-1000/golly/golly/src/wxWidgets-3.0.2/build-gtk/lib/wx/include/gtk2-unicode-static-3.0 -I../include -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -D_FORTIFY_SOURCE=2 -DWX_PRECOMP -pthread -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/gtk-unix-print-2.0 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong ../src/unix/mediactrl.cpp
../src/unix/mediactrl.cpp:22:10: erreur fatale: gst/video/videooverlay.h : Aucun fichier ou dossier de ce type
#include <gst/video/videooverlay.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminée.
make: *** [Makefile:39617: medialib_unix_mediactrl.o] Error 1
==> ERREUR : Une erreur s’est produite dans build().
Abandon...
The build failed.

shmilee commented on 2017-06-30 07:27

miss makedepends: gtk2, glu

```
checking for GTK+ version...
checking for pkg-config... /usr/bin/pkg-config
checking for GTK+ - version >= 2.6.0... Package gtk+-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk+-2.0' found
no
*** Could not run GTK+ test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occurred. This usually means GTK+ is incorrectly installed.
checking for pkg-config... (cached) /usr/bin/pkg-config
checking for GTK+ - version >= 3.0.0... yes (version 3.22.16)
checking for X11/Xlib.h... yes
checking for X11/XKBlib.h... yes
checking for Xxf86vm... yes
checking for X11/extensions/xf86vmode.h... yes
checking for SM... yes
checking for OpenGL headers... found in /usr/include
checking for GL/gl.h... yes
checking for GL/glu.h... no
configure: error: OpenGL libraries not available
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Build failed
```

shmilee commented on 2017-06-30 06:55

makechrootpkg
```
==> Extracting sources...
-> Extracting golly-2.8-src.tar.gz with bsdtar
-> Extracting wxWidgets-3.0.2.tar.bz2 with bsdtar
==> Starting prepare()...
tar (child): ../wxWidgets-3.0.2.tar.bz2: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
==> ERROR: A failure occurred in prepare().
Aborting...
==> ERROR: Build failed
```
`tar jxf ../wxWidgets-${_wxver}.tar.bz2` is not needed. It has been done by makepkg, `-> Extracting wxWidgets-3.0.2.tar.bz2 with bsdtar`.

nokangaroo commented on 2017-01-25 12:27

The following PKGBUILD works for me for Golly-2.8:
https://paste.pound-python.org/show/X5HmVJab5DWGag8eVqbA/

GloW commented on 2014-01-12 01:02

wxgtk is now 3.0
dependencie should be wxgtk2.8

Hexcles commented on 2013-12-14 11:05

Golly 2.6 is out. See http://golly.sourceforge.net/Help/changes.html

nosada commented on 2013-09-23 14:27

I see. Thank you for your concise and to the point reply.

maksverver commented on 2013-09-22 23:43

nosada: this was caused by a bug in gendesk 0.5.4 which has been fixed. With the latest version of gendesk, the PKGBUILD should work again as expected.

nosada commented on 2013-09-21 15:20

I got an error on installing .desktop file:

install: cannot stat ‘golly.desktop’: No such file or directory

It seems 'gendesk -n "$startdir"/PKGBUILD' fails to generate .desktop .
According to ArchWiki, 'gendesk --pkgname "$pkgname" --pkgdesc "$pkgdesc"' is better than 'gendesk -n "$startdir"/PKGBUILD'. And there seem not to be icon file in tarball, so the option '-n' in gendesk isn't required.

(ArchWiki's article: https://wiki.archlinux.org/index.php/DeveloperWiki:Removal_of_desktop_files#gendesk)

Here is a patch for the above things.
https://gist.github.com/anonymous/6651373

stefano.facchini commented on 2013-08-29 14:15

wow I wasn't aware of the information provided in those wiki pages... thanks for pointing this out, I'd say I'm ok with the file generated by gendesk then :)

stefano.facchini commented on 2013-08-29 13:47

wow I wasn't aware of the information provided in those wiki pages... thanks for pointing this out, I'd say I'm ok with the file generated by gendesk then :)

maksverver commented on 2013-08-29 13:24

Stefano, I have to respectfully disagree. The stated goal of Arch Linux is to package software exactly as provided by upstream developers, if possible, with changes and additions made only when strictly necessary. Adding a desktop entry is already a deviation from this principle; see for example the discussion here:

https://wiki.archlinux.org/index.php/DeveloperWiki:Removal_of_desktop_files

However, generating a desktop entry using gendesk based on the metadata already provided in the PKGBUILD seems acceptable. Note that Golly itself is available in English only, so it seems reasonable to assume the desktop entry can be limited to English too. In any case, supporting additional localization should not be the job of the Arch package manager. This support should be added upstream. To bundle additional files in the Arch package violates the principles of Simplicity and Source Integrity discussed here:

https://wiki.archlinux.org/index.php/Arch_Linux#Source_Integrity

stefano.facchini commented on 2013-08-29 10:21

maksverver thanks for adding the .desktop file! but maybe it would be better to just ship it instead of generating at build time. Also, I suggested the debian .desktop file because it contains a few translations, too... not many indeed, but still :)

maksverver commented on 2013-08-28 17:20

Thanks, eworm. Apparently the instructions on the wiki are wrong. I've updated the PKGBUILD to use $startdir (despite the PKGBUILD man-page saying that it should not be used!)

maksverver commented on 2013-08-28 17:19

Thanks, eworm. Apparently the instructions on the wiki are wrong. I've updated the PKGBUILD to use $startdir (despite the PKGBUILD man-page saying that it should not be used!)

eworm commented on 2013-08-28 06:52

I get:

Could not read /var/cache/pacman/src/PKGBUILD

I think you should use ${startdir}/PKGBUILD as SRCDEST can be defined to something completly different in makepkg.conf.

maksverver commented on 2013-08-27 15:43

I've added the desktop entry (generated with gendesk) and icon (from the source tarball) to the package.

stefano.facchini commented on 2013-08-23 20:34

The package should contain a .desktop file and an icon.

Both can be borrowed from the debian package (for instance http://packages.debian.org/sid/i386/golly/download), which contains:
* usr/share/applications/golly.desktop
* usr/share/pixmaps/golly.xmp

maksverver commented on 2011-09-23 11:44

Huulivoide's suggestion allows the package to be compiled, but then Golly still can't run Perl scripts. The core problem is that Golly 2.2 doesn't support Perl 5.14. A better solution is to backport the changes from the CVS tree to add Perl 5.14 support to Golly.

Here's an update PKGBUILD+patch that does exactly that:
http://hell.student.utwente.nl/files/AUR/2011-09-23/golly.tar.gz (MD5: 41dce79c9674cd88d923e8dfb76070dd)

maksverver commented on 2011-09-21 21:46

Huulivoide's suggestion allows the package to be compiled, but then Golly still can't run Perl scripts. The core problem is that Golly 2.2 doesn't support Perl 5.14. A better solution is to backport the changes from the CVS tree to add Perl 5.14 support to Golly.

Here's an update PKGBUILD+patch that does exactly that:
http://hell.student.utwente.nl/files/AUR/2011-09-21/golly.tar.gz
(SHA256: 23db0a78c8b9d2267976a297bd4b0c6a4c4567da23198bebe9f2cf3067f31f2d)

Huulivoide commented on 2011-08-02 14:52

adding "-l/usr/lib/perl5/core_perl/CORE/libperl.so" to the failing
command will fix it, jus go to the source dir copy the g++ command
before errors and run it manually, then run make and makepkg -R

gamezelda commented on 2011-07-15 22:08

Fails to compile with:

golly-wxperl.o: In function `xs_init':
wxperl.cpp:(.text+0x6): undefined reference to `PL_thr_key'
wxperl.cpp:(.text+0x38): undefined reference to `PL_thr_key'
wxperl.cpp:(.text+0x68): undefined reference to `PL_thr_key'
wxperl.cpp:(.text+0x98): undefined reference to `PL_thr_key'
wxperl.cpp:(.text+0xc8): undefined reference to `PL_thr_key'
golly-wxperl.o:wxperl.cpp:(.text+0xf8): more undefined references to `PL_thr_key' follow

I have perl installed, the file referenced in the PKGBUILD exists, and removing the perl line from the PKGBUILD does nothing. My system is completely updated with testing and community-testing.

gamezelda commented on 2011-07-15 22:03

Didn't seem to compile with the perl option.

golly-wxperl.o: In function `xs_init':
wxperl.cpp:(.text+0x6): undefined reference to `PL_thr_key'
wxperl.cpp:(.text+0x38): undefined reference to `PL_thr_key'
wxperl.cpp:(.text+0x68): undefined reference to `PL_thr_key'
wxperl.cpp:(.text+0x98): undefined reference to `PL_thr_key'
wxperl.cpp:(.text+0xc8): undefined reference to `PL_thr_key'
golly-wxperl.o:wxperl.cpp:(.text+0xf8): more undefined references to `PL_thr_key' follow

I've been able to solve it by disabling perl scripting, removing

--with-perl-shlib=/usr/lib/perl5/core_perl/CORE/libperl.so \

from the PKGBUILD.

For the record, I have perl installed and that file existed.

Anonymous comment on 2011-05-04 14:33

Updated. Thanks maksverver and sorry it took me so long.

maksverver commented on 2010-11-22 13:40

Here's a PKGBUILD for version 2.2:
http://aur.pastebin.com/ph7JyqHG

Anonymous comment on 2010-10-24 12:35

doesn't seem to compile with python 3

pyropeter commented on 2010-08-06 16:23

Why do you install this to /opt ?