Portable Golly for Linux (please test)

For general discussion about Conway's Game of Life.
Post Reply
User avatar
Andrew
Moderator
Posts: 927
Joined: June 2nd, 2009, 2:08 am
Location: Melbourne, Australia
Contact:

Portable Golly for Linux (please test)

Post by Andrew » December 24th, 2019, 9:38 pm

Thanks to some excellent work by Scorbie, we're hoping that future distributions of Golly will work on most Linux systems. I've uploaded experimental builds to my website for people to try:

http://www.trevorrow.com/golly/golly-3. ... ble.tar.gz (for 32-bit systems)
http://www.trevorrow.com/golly/golly-3. ... ble.tar.gz (for 64-bit systems)

If you use Linux please try the appropriate build and let us know if it works.
Also tell us which flavor and version of Linux you use.

(Note: These builds include most of the required shared libraries in a hidden directory called .local. In the final version that directory probably won't be hidden.)
Use Glu to explore CA rules on non-periodic tilings: DominoLife and HatLife

thunk
Posts: 170
Joined: October 3rd, 2015, 8:50 pm
Location: Central USA

Re: Portable Golly for Linux (please test)

Post by thunk » January 25th, 2020, 11:33 pm

Seems to work just fine on 64-bit Arch (Kernel 5.4.13).
The non-saved work icon is missing though.
"What's purple and commutes?
The Evanston Express."

User avatar
Andrew
Moderator
Posts: 927
Joined: June 2nd, 2009, 2:08 am
Location: Melbourne, Australia
Contact:

Re: Portable Golly for Linux (please test)

Post by Andrew » January 26th, 2020, 3:50 am

thunk wrote:
January 25th, 2020, 11:33 pm
Seems to work just fine on 64-bit Arch (Kernel 5.4.13).
Thanks for the report (I was beginning to think nobody here uses Linux).
The non-saved work icon is missing though.
Please provide more details. I don't really know what you mean.
Use Glu to explore CA rules on non-periodic tilings: DominoLife and HatLife

User avatar
rowett
Moderator
Posts: 3815
Joined: January 31st, 2013, 2:34 am
Location: UK
Contact:

Re: Portable Golly for Linux (please test)

Post by rowett » January 26th, 2020, 5:23 am

Is this distro meant to include Python?

I tested the 64bit build on elementary OS 5.1 Hera which is built on Ubuntu 18.04.3 LTS, Linux 4.15.0-74-generic. Apart from missing Python it worked. There were some warnings on startup but I don't know if they're important:

Code: Select all

Gtk-Message: 09:39:23.596: Failed to load module "atk-bridge"

(golly:2900): Gtk-WARNING **: 09:39:23.607: Unable to locate theme engine in module_path: "pixmap",

(golly:2900): Gtk-WARNING **: 09:39:23.607: Unable to locate theme engine in module_path: "pixmap",

(golly:2900): Gtk-WARNING **: 09:39:23.607: Unable to locate theme engine in module_path: "pixmap",

(golly:2900): Gtk-WARNING **: 09:39:23.607: Unable to locate theme engine in module_path: "pixmap",
Gtk-Message: 09:39:23.608: Failed to load module "canberra-gtk-module"

User avatar
Andrew
Moderator
Posts: 927
Joined: June 2nd, 2009, 2:08 am
Location: Melbourne, Australia
Contact:

Re: Portable Golly for Linux (please test)

Post by Andrew » January 26th, 2020, 6:41 am

rowett wrote:
January 26th, 2020, 5:23 am
Is this distro meant to include Python?
No, you still have to install Python (preferably 2.7.x).

Hopefully Scorbie or someone can find a way to avoid those startup warnings.
Use Glu to explore CA rules on non-periodic tilings: DominoLife and HatLife

thunk
Posts: 170
Joined: October 3rd, 2015, 8:50 pm
Location: Central USA

Re: Portable Golly for Linux (please test)

Post by thunk » January 26th, 2020, 7:48 am

Various icons seem to be missing on the lefthand menu. Also it hanged on me when I tried to start a new pattern without saving (from the menu, in the state whose picture was taken below). Ordinarily, that would produce a dialog, whose icon is also missing.
Attachments
Screenshot_20200126_114624.png
Screenshot_20200126_114624.png (151.59 KiB) Viewed 4951 times
"What's purple and commutes?
The Evanston Express."

User avatar
Scorbie
Posts: 1692
Joined: December 7th, 2013, 1:05 am

Re: Portable Golly for Linux (please test)

Post by Scorbie » January 27th, 2020, 10:13 pm

Apologies for the late reply, Lunar new years day endeavors here...
rowett wrote:
January 26th, 2020, 5:23 am
Is this distro meant to include Python?

Unfortunately no, although I could try that if that's wanted by many on Linux and Windows.
The word "Portable" is as in apps that work on all Linux distros (as opposed to one that you get from your package manager.)

@thunk @rowett
0. Could you run the following command and post the output?

Code: Select all

ldd golly | grep "not found"
rowett wrote:
January 26th, 2020, 5:23 am
There were some warnings on startup but I don't know if they're important:
1. The "missing pixbuf" errors seem fairly trivial (I think I've been there, doesn't the app have a "retro" theme?) and you need to install the necessary gtk2 engines from your package manager. Seems like Elementary OS is using apt-get so an apt-get install gtk2-engines should do. (actually just have to install 2 of them if you don't like bloat. One is gtk2-engines-pixbuf and other I forgot) I haven't had any serious issues while testing the application without it though.
2. The atk-bridge and canberra-gtk-module, not so much, would like to see the output of 0.
thunk wrote:
January 26th, 2020, 7:48 am
Various icons seem to be missing on the lefthand menu.
Do you mean the menu that shows the files and directories? I can't see any difference from my Golly build apart from that.
golly.png
golly.png (60.06 KiB) Viewed 4908 times
thunk wrote:
January 26th, 2020, 7:48 am
Also it hanged on me when I tried to start a new pattern without saving
If the error is reproducible, could you launch golly from the command line and see if that generates any error messages?
thunk wrote:
January 26th, 2020, 7:48 am
Ordinarily, that would produce a dialog, whose icon is also missing.
You mean (1) On error, there isn't a dialog (2) On not-error-but-launching-dialog, the icons are missing?

User avatar
rowett
Moderator
Posts: 3815
Joined: January 31st, 2013, 2:34 am
Location: UK
Contact:

Re: Portable Golly for Linux (please test)

Post by rowett » January 28th, 2020, 2:43 am

Scorbie wrote:
January 27th, 2020, 10:13 pm
rowett wrote:
January 26th, 2020, 5:23 am
Is this distro meant to include Python?

Unfortunately no, although I could try that if that's wanted by many on Linux and Windows.
That's fine, I just copied libpython2.7.so into .local/lib.
Scorbie wrote:
January 27th, 2020, 10:13 pm
0. Could you run the following command and post the output?

Code: Select all

ldd golly | grep "not found"
No output. There's nothing "not found".
Scorbie wrote:
January 27th, 2020, 10:13 pm
rowett wrote:
January 26th, 2020, 5:23 am
There were some warnings on startup but I don't know if they're important:
1. The "missing pixbuf" errors seem fairly trivial and you need to install the necessary gtk2 engines from your package manager.
This worked, thanks.
Scorbie wrote:
January 27th, 2020, 10:13 pm
2. The atk-bridge and canberra-gtk-module, not so much
Installing libcanberra-gtk-module removed one message. I haven't managed to find out how to remove the atk-bridge message. Neither appear to affect Golly.

User avatar
Scorbie
Posts: 1692
Joined: December 7th, 2013, 1:05 am

Re: Portable Golly for Linux (please test)

Post by Scorbie » January 29th, 2020, 12:09 am

@rowett thank you for testing!
installing libatk-adaptor may make the error disappear.
I wish I could debug it better than just monkeypatching missing packages, but there aren't a lot of resources to look from...

Post Reply