Package Details: gtklife 5.3-1

Git Clone URL: https://aur.archlinux.org/gtklife.git (read-only, click to copy)
Package Base: gtklife
Description: Fast, featureful, open-source Conway's Life program for *nix
Upstream URL: https://homeforaday.org/gtklife/
Licenses: GPL
Submitter: Allan
Maintainer: beej
Last Packager: beej
Votes: 19
Popularity: 0.000000
First Submitted: 2008-12-28 12:58 (UTC)
Last Updated: 2023-12-23 18:08 (UTC)

Latest Comments

patlefort commented on 2023-12-23 19:43 (UTC)

Patch to fix some issues:

diff --git a/PKGBUILD b/PKGBUILD
index f2e906c..82b79a9 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,10 +3,10 @@

 pkgname=gtklife
 pkgver=5.3
-pkgrel=1
+pkgrel=2
 pkgdesc="Fast, featureful, open-source Conway's Life program for *nix"
 arch=("i686" "x86_64")
-depends=('gtk2')
+depends=('gtk2' 'libx11')
 url="https://homeforaday.org/gtklife/"
 license=("GPL")
 source=(
@@ -20,13 +20,14 @@ sha1sums=('8fec9c3c84adead4a3dc28dbecd7cd29f4c52bc3'
 prepare() {
   cd $srcdir/$pkgname-$pkgver

-  ./configure --with-gtk2 --prefix=/usr --with-docdir=$pkgdir/usr/share/doc/${pkgname}
+  sed -i 's/fprintf(f, newline);/fputs(newline, f);/' 'loadsave.c'
 }

 build() {
   cd $srcdir/$pkgname-$pkgver

-  LDFLAGS="-lX11 -lm" make
+  ./configure --with-gtk2 --prefix=/usr --with-docdir=$pkgdir/usr/share/doc/${pkgname}
+  LDFLAGS+=" -lX11 -lm" make
 }

 package() {
  • Fix error when using -Werror=format-security
  • Move configure to build step.
  • Add missing X11 dependency.
  • Add to instead of overriding LDFLAGS.

6arms1leg commented on 2012-10-14 09:37 (UTC)

yes, works again. thanks alot!

beej commented on 2012-10-13 19:08 (UTC)

6arms1leg: Give it a shot now. I think I hackishly fixed it in the PKGBUILD.

beej commented on 2012-10-13 18:56 (UTC)

6arms1leg: looks like it rotted. I'll see if I can find an answer for it.

6arms1leg commented on 2012-10-13 17:19 (UTC)

i cant build the package. i get the following error: /usr/bin/ld: ewmh.o: undefined reference to symbol 'XInternAtom' /usr/bin/ld: note: 'XInternAtom' is defined in DSO /usr/lib/libX11.so.6 so try adding it to the linker command line /usr/lib/libX11.so.6: could not read symbols: Invalid operation collect2: error: ld returned 1 exit status make: *** [gtklife] Error 1 ==> ERROR: A failure occurred in build(). Aborting...

beej commented on 2010-12-03 01:08 (UTC)

@mariobl I went ahead and did that, but if I get complaints, I might have to change it back since technically it was up-to-date and working with GTK.

mariobl commented on 2010-12-02 21:24 (UTC)

Gtklife compiles with gtk2, too. Please add the switch --with-gtk2 to the configure call and change the dependencies to gtk2.