lew
Kai Lord
Posts: 6
|
Post by lew on Jan 5, 2012 22:00:47 GMT
Hi folks,
I compiled Seventh Sense successfully on a machine with an actual Ubuntu as operating system. I had to do this to install the necessary packages for compilation:
apt-get install libsdl1.2-dev libsdl-ttf2.0-dev libphysfs-dev libcurl4-gnutls-dev libsdl-image1.2-dev
It would be great to provide precompiled Debian/Ubuntu-packages – and maybe RPMs, too. Does someone want to assemble such packages, or should I do that?
Greetings from Berlin, Lew
|
|
|
Post by Dave on Jan 6, 2012 3:09:27 GMT
You have a machine which uses an African ethical philosophy as an operating system? Sweet! Seriously, I tihnk it would be great to have some kind of precompiled Ubuntu package, since if I were to use linux, it would be Ubuntu linux, and I think it's probably one of the most (if not *the* most) popular linux distribution among end-users. I would really appreciate it, Lew, if you were to create such a package. (I'm ignorant enough, I don't know what a RPM is... )
|
|
|
Post by John Bryntze on Jan 6, 2012 8:15:54 GMT
RPM is round per minutes.. and a Linux term to calculate how many Lone Wolf battle rounds you can do in a minute No Linux got basically 3 ways to install.. one is to compile the source code each time or use one of the 2 package formats.. APT (I think it is) used by Debian and Ubuntu etc... then you got RPM which I think the R stands for RedHat but it is used by the others. I used mostly Fedora which comes from RedHat so I'm more used to RPM but understood it isn't the best format.
|
|
lew
Kai Lord
Posts: 6
|
Post by lew on Jan 9, 2012 16:56:40 GMT
Hi,
well, I see, there is some interest in Linux packages.
Since my last post I compiled Seventh Sense for both 32-bit and 64-bit Ubuntu systems and it worked mostly great. I played the first 5 books on 32-bit Ubuntu and had 3 non-repeatable crashes (one segfault), which is not too bad for a little tested platform, I think. But debugging is another story.
My impression: great books, great software, three thumbs up for the Linux support!
User data in Linux should not be stored in "~/Documents/Seventh Sense/" but in "~/.seventhsense/". I'll patch that and try to create well working deb-packages with correct dependencies. And then? Where should I upload it?
Greetings, Lew
|
|
sco
Kai Lord
Posts: 3
|
Post by sco on Jan 12, 2012 10:38:37 GMT
There is actually a ~/Documents in ubuntu.
Though to be honest i'm not so hot on the ~/.appdir convention. The problem is upgrades, that more or less require re installation or nuking of most ~/.xxxx files to work ok, leading to some manual work to figure out what settings files corresponds with what and if you want to keep it in upgrade (for instance, firefox database of passwords)*.
There is a difference between persistent data (hopefully) and config files that Unix separated into dirs spread over the file tree, and that "modern" linux user programs tend to punt to ~/
*By mounting ~ on a separate partition you can upgrade the system and keep data from selected programs except if ~/.xxx files are [fudgeing] up your new versions.
Me? I just package games and such in zip+sh files and use wine. Did the same for Seventh Sense. Then on upgrade i keep ~/.mozilla ~/.ssh and the keystore thing and delete everything else hidden in the home.
|
|
|
Post by ghoost82 on Jun 27, 2012 8:54:31 GMT
Hi, I extend the code from version 1.12.7 for a better Linux compatibility. The patch can be found on pastebin.com. First I extend the Makefile, it now contains separate targets for Debug EDITOR and STANDALONE. There are also install and uninstall targets. At the moment the default installation directory will be /usr/local/share/seventhsense/ for the data files and /usr/local/bin for the LoneWolf binary. To use these directories under Linux there are some new preprocessor directives in the loader code. Also I thing that ~/.seventhsense is a much better place for the user data. Hope this patch helps.
|
|
lew
Kai Lord
Posts: 6
|
Post by lew on Jun 27, 2012 11:15:45 GMT
Hi All, Hi, I extend the code from version 1.12.7 for a better Linux compatibility. The patch can be found on pastebin.com. thanks a lot, ghoost82! You did exactly what I wanted to do – but I was too lazy. Or my laundry list of things to do was too long. Now you spurred me on to create Debian packages with your patch. Dave, if it works without bugs: please include these changes into your official source file. Greetings, Lew
|
|
|
Post by Dave on Jun 28, 2012 0:10:44 GMT
Fabulous! Thanks, guys, for the work on this. Since I don't use Linux, I have to rely on folks like you to supply me with any needed patches for that OS. I'm happy to put them in the official source package. (I'll test first, of course, but can't see any reason why it wouldn't work...)
|
|
|
Post by alarion on Sept 18, 2012 0:55:33 GMT
Hi All, Hi, I extend the code from version 1.12.7 for a better Linux compatibility. The patch can be found on pastebin.com. thanks a lot, ghoost82! You did exactly what I wanted to do – but I was too lazy. Or my laundry list of things to do was too long. Now you spurred me on to create Debian packages with your patch. Dave, if it works without bugs: please include these changes into your official source file. Greetings, Lew I am a Debian developer, so if there's interest in making this program available in Debian and other Debian derivatives (such as Ubuntu) I can help out.
|
|
|
Post by Dave on Oct 4, 2012 21:59:18 GMT
I'm certainly interested in that, alarion. I'm not entirely sure what you are suggesting, though... A pre-compiled package for Debian? Or on one of those "apt-get" repositories or something? You can tell I'm not a Linux guy... Let me know what you're thinking of, and what I'd need to do to help make it happen. Thanks!
|
|
|
Post by numbtie on Apr 23, 2013 11:00:54 GMT
Great to see a Linux version out there, I am attempting to install but cannot get Makefile to run...? pls help...
Ran the apt-get line for all the dependencies - next command would be great!
|
|
lew
Kai Lord
Posts: 6
|
Post by lew on Apr 28, 2013 1:09:30 GMT
Hi numbtie, Great to see a Linux version out there, I am attempting to install but cannot get Makefile to run...? pls help... Ran the apt-get line for all the dependencies - next command would be great! first of all I must apologize for not making an Ubuntu / Debian package until now. It's on my todo-list, I swear! About your question: Dave created a Makefile for us disciples. After unpacking the source code you should start a shell, cd to the source code directory, and try: sudo apt-get install libsdl1.2-dev libsdl-ttf2.0-dev libphysfs-dev libcurl4-gnutls-dev libsdl-image1.2-dev make -j5 ./LoneWolf
Greetings, Lew
|
|
|
Post by numbtie on Jan 21, 2014 18:58:03 GMT
Thanks - it has been ages I checked here, really appreciate the further detail. All looks ok running on 13.10 64bit.
Numbtie
|
|