Linux Settings Tool - Page 2

Linux Settings Tool

Discuss everything related to running Spring on your chosen distribution of Linux.

Moderator: Moderators

YokoZar
Posts: 883
Joined: 15 Jul 2007, 22:02

Post by YokoZar »

Perhaps I'm using an old version, but I cannot find a "Use LUA Widgets" checkbox - this still needs to be edited by hand.
Kloot
Spring Developer
Posts: 1867
Joined: 08 Oct 2006, 16:58

Post by Kloot »

That's because I wrote Settings++ before the Lua* handlers were added to Spring (note the date of the first post), and since haven't updated it due to lack of demand.
User avatar
clericvash
Posts: 1394
Joined: 05 Oct 2004, 01:05

Post by clericvash »

If you tell me how to compile it (i am still new to programming this stuff) then i will add in the option for people to use LUA UI.
User avatar
LordMatt
Posts: 3393
Joined: 15 May 2005, 04:26

Post by LordMatt »

I think settings++ is not setting the minimap left/right for dual screen mode. It creates and changes a setting in .springrc called MinimapOnLeft=1 when it is supposed to be modifying DualScreenMiniMapOnLeft=1. Also I think it is confusing dynamic and refractive water modes.
User avatar
Agon
Posts: 527
Joined: 16 May 2007, 18:33

Post by Agon »

LordMatt wrote:I think settings++ is not setting the minimap left/right for dual screen mode. It creates and changes a setting in .springrc called MinimapOnLeft=1 when it is supposed to be modifying DualScreenMiniMapOnLeft=1. Also I think it is confusing dynamic and refractive water modes.
Yup, I think I had the same problem. And a make file would be good, so I can create a rpm package easily.
YokoZar
Posts: 883
Joined: 15 Jul 2007, 22:02

Post by YokoZar »

I just realized that working source code for this will be pretty important for the Ubuntu package I need to make by the 30th.

See this thread: http://spring.clan-sy.com/phpbb/viewtopic.php?t=11540
Kloot
Spring Developer
Posts: 1867
Joined: 08 Oct 2006, 16:58

Post by Kloot »

@Matt:

Fixed both of those issues, thanks for reporting them!

@Agon, Yoko:

Source and makefile are included in the latest version (1.2) available on UF.


edit: the "mini-map on left (single scr.)" checkbox doesn't actually have a function, just don't ever touch it ;)
User avatar
Agon
Posts: 527
Joined: 16 May 2007, 18:33

Post by Agon »

@Kloot: Thanks.
User avatar
tc-
Lobby Developer
Posts: 152
Joined: 19 Apr 2007, 20:15

Post by tc- »

Kloot: You don't mind if we integrate this tool in SpringLobby?
User avatar
Agon
Posts: 527
Joined: 16 May 2007, 18:33

Post by Agon »

I get errors: http://pastebin.com/m6fba9a12
wxGTK is installed:
installing wxGTK-2.8.4.0-2.5
installing wxGTK-gl-2.8.4.0-2.5
installing gtk2-devel-2.10.6-13
installing wxGTK-devel-2.8.4.0-2.5
Kloot
Spring Developer
Posts: 1867
Joined: 08 Oct 2006, 16:58

Post by Kloot »

tc: not at all!

Agon: looks like it can't find the main wxwidgets header (wx.h), which on my machine lives in /usr/local/include/wx-2.8/wx/ but gets installed in another location by default IIRC, you'll have to hack around a bit with the include path.
User avatar
BrainDamage
Lobby Developer
Posts: 1164
Joined: 25 Sep 2006, 13:56

Post by BrainDamage »

Code: Select all

wx-configure --cxxflags
for the include paths

and

Code: Select all

wx-configure --libs
for the static objects to link ;)
User avatar
Agon
Posts: 527
Joined: 16 May 2007, 18:33

Post by Agon »

I changed: iflags=
to: iflags=/usr/include/wx-2.8/wx
And there is the wx.h file: /usr/include/wx-2.8/wx/wx.h
But I still get errors.
Kloot
Spring Developer
Posts: 1867
Joined: 08 Oct 2006, 16:58

Post by Kloot »

Drop the /wx from iflags, ie.

Code: Select all

iflags=/usr/include/wx-2.8/
Failing that, try:

Code: Select all

iflags='wx-configure --cxxflags'
User avatar
Agon
Posts: 527
Joined: 16 May 2007, 18:33

Post by Agon »

I tryed the first one: http://pastebin.com/m1e3e2845
The seond one gives me the same errors as first, no file was found.
User avatar
BrainDamage
Lobby Developer
Posts: 1164
Joined: 25 Sep 2006, 13:56

Post by BrainDamage »

whoops my bad, it's wx-config, not wx-configure :oops:

if

Code: Select all

wx-config --cxxflags
doesn't work (c++ includes)
try

Code: Select all

wx-config --cflags
(normal c includes)
User avatar
Agon
Posts: 527
Joined: 16 May 2007, 18:33

Post by Agon »

Code: Select all

cc=g++
cflags=-Wall -Wextra  -D __WXGTK__  -D _LARGE_FILES  -D _FILE_OFFSET_BITS=64  -pthread
iflags='wx-config --cxxflags'
lflags=-l gtk-x11-2.0  -l gdk-x11-2.0  -l gthread-2.0  -l Xt  -l wx_gtk2-2.8
target=Settings++
This gives the first error.
And the other one does not work, too.
Rudirogdt
Posts: 82
Joined: 18 May 2006, 18:00

Post by Rudirogdt »

Image


:(
skoruppa
Posts: 2
Joined: 31 Aug 2007, 23:00

Post by skoruppa »

Window is to big for 1024x768 resolution.
User avatar
Tim Blokdijk
Posts: 1242
Joined: 29 May 2005, 11:18

Post by Tim Blokdijk »

This guy made a Chinese settings translation maybe his work can be interoperated?
Post Reply

Return to “Linux”