intfiction.org

The Interactive Fiction Community Forum
It is currently Sat Jan 19, 2019 5:02 pm

All times are UTC - 6 hours [ DST ]




Post new topic Reply to topic  [ 5 posts ] 
Author Message
PostPosted: Mon Dec 31, 2018 2:24 am 
Offline
User avatar

Joined: Sun Nov 16, 2008 1:04 am
Posts: 76
Location: U.S.A.
I've been resurrecting an old Inform 6 project (using the latest Inform 6 sources from GitHub and testing with the latest sfrotz sources from GitLab.com) and I thought I'd also install GNOME Inform 7, because for some reason I hadn't done that on this Fedora 29 system yet, but to my dismay I found I can't easily install or compile it because the dependencies are deprecated -- particularly webkitgtk, which is no longer available from the Fedora repos because of security concerns. (Developers are now supposed to use webkit2gtk3, I think, but gnome-inform7 is on gtk2.) And when I managed to grab an old webkitgtk RPM, I couldn't install it because it depended on an outdated version of libicu, and installing that version of libicu would require downgrading or uninstalling a bunch of other software I have. So at this point, I think my best bet for running GNOME Inform 7 6M62 is to use a VirtualBox VM -- especially because the Inform 7 compiler hasn't worked on the latest Linux kernels in over a year.

But this looks like it might end up being a decent case for containerization. When I encountered broken dependencies installing Spotify or Signal Desktop on Fedora, for example, I ended up installing them as Flatpak apps from Flathub and have used them happily without an impact on the rest of my apps ever since. Flatpak also works the same way across any distro on which it's available, so targeting Flatpak would benefit users of other popular distros as well. I've suggested packaging gnome-inform7 for Flatpak on the Inform7 UserVoice forum.

Anyhow, if anyone's got an easier short-term solution for running Inform 7 on recent Linux distros (without using a VM) let me know.


Top
 Profile Send private message  
Reply with quote  
PostPosted: Tue Jan 01, 2019 1:19 pm 
Offline
User avatar

Joined: Fri Jul 11, 2014 12:50 pm
Posts: 125
Someone I know encountered a similar problem recently, on Ubuntu. The installer was complaining about the "libgoocanvas3" that could not be installed. I know almost nothing about Linux, but I tried to install GNOME Inform on my Linux Mint virtual machine and I had the same issue.

To solve it, I had to manually download the missing dependency at
https://packages.ubuntu.com/xenial/all/ ... n/download
and
https://packages.ubuntu.com/xenial/libgoocanvas3

As I said, I don't know much about Linux, but I suppose more precision can help.

_________________
Maintainer of the Inform 7 French extension


Top
 Profile Send private message  
Reply with quote  
PostPosted: Tue Jan 01, 2019 7:56 pm 
Offline
User avatar

Joined: Sun Nov 16, 2008 1:04 am
Posts: 76
Location: U.S.A.
I think both of these dependencies issues point to a larger problem: while Inform 7 is fairly stable software at this point, and three or four years between releases is probably a reasonable schedule to keep, the Linux UI depends on shared libraries (whereas the norm on Windows is to bundle an application with its library dependencies included as DLLs), and major Linux distributions have changed a lot since 2015, and this is reflected in the availability of certain libraries in the official repositores of major distributions. In particular, active development has moved away from GTK2 in favor of GTK3, but other minor changes occur frequently as the maintainers of these repositores make decisions about what they can continue to support in new releases, and many of these folks move to a new release every six months. The idea behind my Flatpak suggestion is to avoid this whole problem by not depending on shared libraries provided by the distribution's package repositories in the first place, so GNOME Inform 7 can be packaged once for many distributions (and future versions of them) every time a new version of Inform 7 is ready.


Top
 Profile Send private message  
Reply with quote  
PostPosted: Sat Jan 05, 2019 11:08 pm 
Offline
User avatar

Joined: Sun Nov 16, 2008 1:04 am
Posts: 76
Location: U.S.A.
Building the current version of gnome-inform7 for Flatpak is turning out to be difficult because the only versions of the GNOME runtimes I could find didn't come with a GTK2-compatible version of WebKit.

However, it turns out installing it in a Docker container with a Fedora 22 base image is pretty easy -- if you already know how to use Docker. But I don't expect that to address the problem with the compiler, because containers run on the host kernel just like any other process.

Actually, turns out the RPM currently available from the Inform 7 downloads page was updated to contain a compiler that works with recent kernels.


Top
 Profile Send private message  
Reply with quote  
PostPosted: Tue Jan 08, 2019 7:47 am 
Offline

Joined: Sat Oct 17, 2015 5:48 am
Posts: 97
Albeit is true that I work on and off on IF, currently Gnome-I7 runs fine on this customised Debian box, and the lone serious issue I haved was traced to ni (the actual compiler) segfaulting in disagreement with a library, problem later solved.

OTOH, another issue (invisible menus and/or icons) was traced to the window decoration, solved with changing the windowing style (I currently use MATE)

Best regards from Italy,
dott. Piergiorgio.


Top
 Profile Send private message  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC - 6 hours [ DST ]


Who is online

Users browsing this forum: Eriorg, lft, necrodeath and 17 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group