Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Sil

Reply
 
Thread Tools Display Modes
Old February 4, 2013, 11:41   #1
magikmw
Rookie
 
Join Date: Jan 2013
Posts: 3
magikmw is on a distinguished road
Sil for Linux (+ Arch PKGBUILD)

I'm trying to create a working Arch Linux Sil PKGBUILD to submit to Arch User Repository at the moment.
I've managed to compile Sil fine following instructions from the 'compile.txt' file.

However I've got a couple of problems:
The only way I found so far of using the multiple window interface is to use the commandline option 'sil -mx11 -- -n*' where * is the number of windows. Doesn't seem like there is any other way to configure those, or change their amount/fontsize/etc after starting the game. The character sheet font is almost undreadable for me.
Only one compile variant (gtk if I recall correctly) offer a File/Options window menu, but that one doesn't have any options for other windows beside main.
Resizing windows (like equipment) makes data disappear. I can't make the equipment weight to show up after resizing the window. - Moving fixes that apparently.
The windows' positions and size are not saved on quit. No idea what to do about that.

Are any of these problems known/fixed? I may be doing something wrong.
I've already had pretty bad problems trying to build Angband on Linux before, so I expected this.

PKGBUILD if any Arch users want to test it before I submit it to AUR: link

Last edited by magikmw; February 4, 2013 at 11:49.
magikmw is offline   Reply With Quote
Old February 4, 2013, 12:25   #2
SaThaRiel
Adept
 
SaThaRiel's Avatar
 
Join Date: Nov 2009
Posts: 173
SaThaRiel is on a distinguished road
Hey,

thanks for supporting *band ports in Arch Linux - i felt a bit alone

Honestly don't worry too much about X11 interfaces and stuff. Most users (the few that there are) using the terminal version or standard X11. Some may use SDL or GTK but usually the "normal" way - so not too much windows and so on. Many Arch Users use Tiling Window managers and so on...multiple windows are not welcome

From my experience, the Linux versions of *bands don't offer the same options in game like the Windows versions. But maybe i am wrong here. But i never really cared as long as the version runs without errors.

I will try your PKGBUILD later, if i have time.
__________________
Proud candidate for the Angband Darwin Award!
SaThaRiel is offline   Reply With Quote
Old February 4, 2013, 13:17   #3
magikmw
Rookie
 
Join Date: Jan 2013
Posts: 3
magikmw is on a distinguished road
Quote:
Originally Posted by SaThaRiel View Post
Honestly don't worry too much about X11 interfaces and stuff. Most users (the few that there are) using the terminal version or standard X11. Some may use SDL or GTK but usually the "normal" way - so not too much windows and so on. Many Arch Users use Tiling Window managers and so on...multiple windows are not welcome
Yes, well the standard build variant I used gives you the option of running it in X11 window and terminal-curses alike. I could just make a curses-built package and be done with it (experimenting with X11 in the mean time). It's an option I'm willing to take.

Quote:
Originally Posted by SaThaRiel View Post
From my experience, the Linux versions of *bands don't offer the same options in game like the Windows versions. But maybe i am wrong here. But i never really cared as long as the version runs without errors.
I mostly bother because I've only played Sil on Windows so far, and I really like having couple of windows open so I can quickly judge changes in equipment, etc.
(Instead of switching eq->char->inv->eq->char I can just (w)ear and see changes in the separate window). I would love having the same option on Linux, where I use xfce4 (I like the flexibility, never managed to get tiling wms to work for me).
Sil does work with Wine for me fine, the only thing that bother me are 'wine-windows' instead of properly themed ones. And I don't really like using wine if I can help it.

Let me know how the PKGBUILD works for you.
magikmw is offline   Reply With Quote
Old February 4, 2013, 13:50   #4
jdh
Rookie
 
Join Date: Jan 2013
Posts: 10
jdh is on a distinguished road
Quote:
Originally Posted by magikmw View Post
The only way I found so far of using the multiple window interface is to use the commandline option 'sil -mx11 -- -n*' where * is the number of windows. Doesn't seem like there is any other way to configure those, or change their amount/fontsize/etc after starting the game. The character sheet font is almost undreadable for me.

...

The windows' positions and size are not saved on quit. No idea what to do about that.

...

Are any of these problems known/fixed? I may be doing something wrong.
I've already had pretty bad problems trying to build Angband on Linux before, so I expected this.
I believe these are by design, currently. Take a look at the silx script in the source for how to set different fonts and positions (on startup, though, not after starting the game). It probably wouldn't be a bad idea to add options for showing/hiding the various windows to the generic options menu instead of making them specific to the UI code, but I don't believe it's been done yet.
jdh is offline   Reply With Quote
Old February 12, 2013, 15:44   #5
SaThaRiel
Adept
 
SaThaRiel's Avatar
 
Join Date: Nov 2009
Posts: 173
SaThaRiel is on a distinguished road
The Build Script works without problems on x86_64 architechture, i get a running game afterwards I don't kow if there maybe some missing dependencies, because i have a lot of *bands installed which require the common ones.

Just upload the PKGBUILD, if there is something wrong, someone will complain and you can fix it Thats the way it works. None will use it for a production environment, i hope.
__________________
Proud candidate for the Angband Darwin Award!
SaThaRiel is offline   Reply With Quote
Old February 23, 2013, 12:56   #6
magikmw
Rookie
 
Join Date: Jan 2013
Posts: 3
magikmw is on a distinguished road
I've uploaded the package to AUR - please comment there if anything is out of order (I might have missed dependencies, for example).

Here's the link - https://aur.archlinux.org/packages/sil/
magikmw is offline   Reply With Quote
Old February 28, 2013, 16:40   #7
SaThaRiel
Adept
 
SaThaRiel's Avatar
 
Join Date: Nov 2009
Posts: 173
SaThaRiel is on a distinguished road
Well, after the latest update of lvm2 and the kernel my system won't boot anymore. After some fiddling i decided that this was the last reason i needed to drop Archlinux. I am not happy with the latest changes (like systemd) and so i don't use Archlinux anymore except on my work notebook - where i hadn't the time to install something else.
Good luck with you package - i am sure it will run fine. There are some *bang enthusiasts using Arch - so if there are problems people will report them and, the Arch-way, maybe also supplying fixes.

Oh, btw.. if you would like to take over some of my packages just send me a pm (i don't check in here too often). I will orphan them all in some days

https://aur.archlinux.org/packages.p...=m&K=SaThaRiel
__________________
Proud candidate for the Angband Darwin Award!
SaThaRiel is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sil 1.1.1 half Sil 99 March 6, 2013 09:25
Sil 1.1 half Sil 360 January 2, 2013 22:44
Sil 1.0.2 half Sil 282 September 1, 2012 21:38
Sil 1.0.1 half Sil 169 April 6, 2012 02:57
Some nice news from Arch Linux krugar Vanilla 3 September 15, 2010 15:39


All times are GMT +1. The time now is 09:19.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.