[Freeciv-Dev] [patch #2702] Gtk3 include path comments

2011-06-14 Thread Marko Lindqvist

Update of patch #2702 (project freeciv):

  Status:  Ready For Test = Done   
 Assigned to:None = cazfi  
 Open/Closed:Open = Closed 


___

Reply to this item at:

  http://gna.org/patch/?2702

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [patch #2708] Remove default ai includes from server code

2011-06-14 Thread Marko Lindqvist

Update of patch #2708 (project freeciv):

  Status:  Ready For Test = Done   
 Assigned to:None = cazfi  
 Open/Closed:Open = Closed 


___

Reply to this item at:

  http://gna.org/patch/?2708

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #18209] Compatibility with savegames without startpos.exclude information

2011-06-14 Thread Marko Lindqvist

Follow-up Comment #1, bug #18209 (project freeciv):

Actually code to save exclude info even to new savegames seems to be missing.

___

Reply to this item at:

  http://gna.org/bugs/?18209

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #18209] Compatibility with savegames without startpos.exclude information

2011-06-14 Thread Marko Lindqvist

Follow-up Comment #2, bug #18209 (project freeciv):

 Actually code to save exclude info even to new savegames seems
 to be missing.

Actually I'm just blind. It's there.

___

Reply to this item at:

  http://gna.org/bugs/?18209

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #18209] Compatibility with savegames without startpos.exclude information

2011-06-14 Thread Marko Lindqvist

Update of bug #18209 (project freeciv):

  Status:None = Ready For Test 

___

Follow-up Comment #3:

Fix

(file #13194)
___

Additional Item Attachment:

File name: ExcludeSGCompat_18209.diff Size:0 KB


___

Reply to this item at:

  http://gna.org/bugs/?18209

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #17954] Hotekys displayed twice

2011-06-14 Thread Marko Lindqvist

Update of bug #17954 (project freeciv):

  Status:  Ready For Test = Fixed  
 Open/Closed:Open = Closed 


___

Reply to this item at:

  http://gna.org/bugs/?17954

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [patch #2615] Fix double hotkeys in some menu

2011-06-14 Thread Marko Lindqvist

Update of patch #2615 (project freeciv):

  Status:None = Done   
 Assigned to:None = cazfi  
 Open/Closed:Open = Closed 


___

Reply to this item at:

  http://gna.org/patch/?2615

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [patch #2701] gtk3-client settings

2011-06-14 Thread Marko Lindqvist

Follow-up Comment #2, patch #2701 (project freeciv):

- Updated against svn

(file #13195)
___

Additional Item Attachment:

File name: Gtk3Settings_2701-3.diff.bz2   Size:7 KB


___

Reply to this item at:

  http://gna.org/patch/?2701

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #18217] variable 'xxx' set but not used

2011-06-14 Thread Marko Lindqvist

URL:
  http://gna.org/bugs/?18217

 Summary: variable 'xxx' set but not used
 Project: Freeciv
Submitted by: cazfi
Submitted on: Tue 14 Jun 2011 08:27:24 PM EEST
Category: general
Severity: 3 - Normal
Priority: 5 - Normal
  Status: In Progress
 Assigned to: cazfi
Originator Email: 
 Open/Closed: Open
 Release: 
 Discussion Lock: Any
Operating System: None
 Planned Release: 

___

Details:

After gcc update (to 4.6 series) I get a lot of new warnings of the form:
variable 'xxx' set but not used [-Wunused-but-set-variable]




___

Reply to this item at:

  http://gna.org/bugs/?18217

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [patch #2713] Include only allowed gtk3 headers

2011-06-14 Thread Marko Lindqvist

URL:
  http://gna.org/patch/?2713

 Summary: Include only allowed gtk3 headers
 Project: Freeciv
Submitted by: cazfi
Submitted on: Tue 14 Jun 2011 08:35:13 PM EEST
Category: client-gtk-3.0
Priority: 5 - Normal
  Status: Ready For Test
 Privacy: Public
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any
 Planned Release: 2.4.0

___

Details:

gtk3-programs are not allowed to directly include 'subheaders' of gtk.
Attached patch replaces such include (the only one in our codebase) with legal
gtk/gtk.h include.
Changes also gtk2-client as I saw no reason not to, and keeping codebases of
clients as similar as possible makes maintenance easier.



___

File Attachments:


---
Date: Tue 14 Jun 2011 08:35:13 PM EEST  Name: Gtk3AllowedIncludes.diff  Size:
776B   By: cazfi

http://gna.org/patch/download.php?file_id=13196

___

Reply to this item at:

  http://gna.org/patch/?2713

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #18182] Adjective of Botswana; Batswana and Bashoto nations

2011-06-14 Thread J.M. Maalderink

Update of bug #18182 (project freeciv):

  Status:  Ready For Test = Fixed  
 Open/Closed:Open = Closed 


___

Reply to this item at:

  http://gna.org/bugs/?18182

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [patch #2705] Choctaw nation

2011-06-14 Thread J.M. Maalderink

Update of patch #2705 (project freeciv):

  Status:None = In Progress


___

Reply to this item at:

  http://gna.org/patch/?2705

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [patch #2709] Japanese clans nations

2011-06-14 Thread J.M. Maalderink

Update of patch #2709 (project freeciv):

  Status:None = In Progress
 Assigned to:None = mixcoatl   

___

Follow-up Comment #1:

The flags should be in svg, and shields will be generated using the svg
image.

However, I'm not sure if we should include clans as nations. Maybe it's a
better idea to turn this into a mod? 

___

Reply to this item at:

  http://gna.org/patch/?2709

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [patch #2710] Improving Hasinay nation

2011-06-14 Thread J.M. Maalderink

Update of patch #2710 (project freeciv):

  Status:None = In Progress


___

Reply to this item at:

  http://gna.org/patch/?2710

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #18217] variable 'xxx' set but not used

2011-06-14 Thread Marko Lindqvist

Update of bug #18217 (project freeciv):

 Planned Release: = 2.2.6, 2.3.0, 2.4.0

___

Follow-up Comment #1:

Many of these warnings come deep from our macro magic. I rather don't rewrite
those parts in stable branches. Instead I propose attached patches for S2_2
and S2_3. They just disable the warning.

I have not tested this with compiler other than gcc 4.6. I'm worried that
there is something wrong with FC_C_FLAGS() as it allowd typoed version of the
commandline option to pass. If FC_C_FLAGS() really is buggy, these patches may
break build with other compilers. It would be good if people tested this and
reported results.

(file #13197, file #13198)
___

Additional Item Attachment:

File name: UnusedVarWarnDisable_18217-S2_3.diff Size:0 KB
File name: UnusedVarWarnDisable_18217-S2_2.diff Size:0 KB


___

Reply to this item at:

  http://gna.org/bugs/?18217

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [patch #2709] Japanese clans nations

2011-06-14 Thread J. M. Gorbach

Follow-up Comment #2, patch #2709 (project freeciv):

The flags should be in svg, and shields will be generated using the svg
image. 

Ok!

Maybe it's a better idea to turn this into a mod? 

Yes, it's a better idea. Thanks for reply.

___

Reply to this item at:

  http://gna.org/patch/?2709

___
  Messaggio inviato con/da Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [patch #2709] Japanese clans nations

2011-06-14 Thread Daniel Markstedt

Follow-up Comment #3, patch #2709 (project freeciv):

FYI, there's an old Japan modpack by Rob Best available from the download
server. It hasn't been updated for Freeciv 2.2 though.
http://download.gna.org/freeciv/contrib/modpacks/japan/

___

Reply to this item at:

  http://gna.org/patch/?2709

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #18217] variable 'xxx' set but not used

2011-06-14 Thread Marko Lindqvist

Follow-up Comment #2, bug #18217 (project freeciv):

One noteworthy thing about these warnings is that they don't cause failure
even with -Werror.
I don't know why that is (gcc feature or bug) and how long that will last.

___

Reply to this item at:

  http://gna.org/bugs/?18217

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [patch #1936] limit the number of units with gold upkeep a city can support

2011-06-14 Thread David Fernandez

Follow-up Comment #16, patch #1936 (project freeciv):

I'd like to test this patch.
May I install it over current trunk repository (together with update hit
point calculation for killunhomed)? Would AI handle it? or I should wait to
v2.4.0

___

Reply to this item at:

  http://gna.org/patch/?1936

___
  Mensaje enviado vía/por Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #18219] sdl-client compiler warning about possibly uninitialized widget.

2011-06-14 Thread Marko Lindqvist

URL:
  http://gna.org/bugs/?18219

 Summary: sdl-client compiler warning about possibly
uninitialized widget.
 Project: Freeciv
Submitted by: cazfi
Submitted on: Tue 14 Jun 2011 11:44:04 PM EEST
Category: client-sdl
Severity: 3 - Normal
Priority: 5 - Normal
  Status: Ready For Test
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Release: 
 Discussion Lock: Any
Operating System: None
 Planned Release: 2.3.0, 2.4.0

___

Details:

gcc 4.6 warns (and with -Werror fails):


Fix attached. Will commit immediately as compilation fix.




___

File Attachments:


---
Date: Tue 14 Jun 2011 11:44:04 PM EEST  Name: WidgetInit.diff  Size: 923B  
By: cazfi

http://gna.org/bugs/download.php?file_id=13199

___

Reply to this item at:

  http://gna.org/bugs/?18219

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [patch #1968] add players_iterate_alive()

2011-06-14 Thread Marko Lindqvist

Update of patch #1968 (project freeciv):

 Assigned to:None = cazfi  


___

Reply to this item at:

  http://gna.org/patch/?1968

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [patch #2497] Scenario downloading support for freeciv-modpack

2011-06-14 Thread Marko Lindqvist

Update of patch #2497 (project freeciv):

  Status:None = Ready For Test 

___

Follow-up Comment #1:

Untested patch to add support for modpack type Scenario that will be loaded
to ~/.freeciv/scenarios/

Version specific subdir has already been added to FREECIV_SCENARIO_PATH, so
this patch completes this ticket.

(file #13200)
___

Additional Item Attachment:

File name: MPTScenario_2497.diff  Size:2 KB


___

Reply to this item at:

  http://gna.org/patch/?2497

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [patch #2529] Configure checks for gtk3-client

2011-06-14 Thread Marko Lindqvist

Update of patch #2529 (project freeciv):

  Status: In Progress = Ready For Test 


___

Reply to this item at:

  http://gna.org/patch/?2529

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [patch #2648] Updated controls help section based on comments in mapctrl.c

2011-06-14 Thread Marko Lindqvist

Update of patch #2648 (project freeciv):

Category:None = client 
 Planned Release: = 2.3.0, 2.4.0   


___

Reply to this item at:

  http://gna.org/patch/?2648

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #18221] Crash while playing custom Ruleset

2011-06-14 Thread David Fernandez

URL:
  http://gna.org/bugs/?18221

 Summary: Crash while playing custom Ruleset
 Project: Freeciv
Submitted by: tirolalira
Submitted on: mar 14 jun 2011 21:51:25 GMT
Category: None
Severity: 3 - Normal
Priority: 5 - Normal
  Status: None
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Release: 
 Discussion Lock: Any
Operating System: Microsoft Windows
 Planned Release: 

___

Details:

Freeciv v2.2.5 crashes while playing my custom Ruleset, and I have been
unable to find the cause.

The server crashes during AI turn showing the Windows error message this
program had an error and it will be closed...
It uses to crash arround turn 200, so it is surely related to timeframe (new
techs, units, etc).
Most of the times I can continue playing if I reload the previous autosave,
but then it keeps crashing randomly.

I have been able to save a game that crashes everytime I press end turn. I
attach a .zip file including:
1- Custom Ruleset civ2-3, to install over v2.2.5
2- Savegame: press end turn to recreate the crash
3- The log file generated the first time it crashed (I was playing with spain
in AI mode). 

I played similar ruleset over v2.2.3 without problems, and I keep track of my
changes while adapting it for 2.2.5. I would thank any help to find the bug
and fix it.



___

File Attachments:


---
Date: mar 14 jun 2011 21:51:25 GMT  Name: Crash_civ2-3.zip  Size: 652kB   By:
tirolalira

http://gna.org/bugs/download.php?file_id=13201

___

Reply to this item at:

  http://gna.org/bugs/?18221

___
  Mensaje enviado vía/por Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #18221] Crash while playing custom Ruleset

2011-06-14 Thread Marko Lindqvist

Update of bug #18221 (project freeciv):

Category:None = general
  Status:None = Confirmed  
 Assigned to:None = cazfi  

___

Follow-up Comment #1:

Nicely reproducible in S2_2 head. This is assert failure caused by the fact
that player somehow gets negative balance.

Backtrace follows.


 freeciv-server: server/cityturn.c:1834:
player_balance_treasury_units_and_buildings: Assertion `0' failed.

(gdb) bt full
#0  0x7719d3d5 in raise (sig=value optimized out) at
../nptl/sysdeps/unix/sysv/linux/raise.c:64
pid = value optimized out
selftid = value optimized out
#1  0x771a0650 in abort () at abort.c:92
act = {__sigaction_handler = {sa_handler = 0x578408, sa_sigaction =
0x578408}, sa_mask = {__val = {
  140737340187112, 140737488346496, 1834, 140737488346736,
140737339251622, 206158430232, 
  140737488346752, 140737488346528, 140737339163480,
206158430256, 140737488346776, 13255024, 
  7392, 8390880602273947706, 2316873722724511593,
140737488348520}}, sa_flags = -148176321, 
  sa_restorer = 0x55ad80}
sigs = {__val = {32, 0 repeats 15 times}}
#2  0x77196581 in __assert_fail (assertion=0x578408 0, file=value
optimized out, line=1834, 
function=0x55c220 player_balance_treasury_units_and_buildings) at
assert.c:81
buf = 0xca4170 freeciv-server: server/cityturn.c:1834:
player_balance_treasury_units_and_buildings: Assertion `0' failed.n
#3  0x0044985c in player_balance_treasury_units_and_buildings
(pplayer=0x8f5c70)
at server/cityturn.c:1834
ci = {pcity = 0x23ddc70, pimprove = 0x865900}
impr_count = value optimized out
unit_count = value optimized out
sell_unit = value optimized out
#4  update_city_activities (pplayer=0x8f5c70) at server/cityturn.c:517
i = value optimized out
r = value optimized out
n = 0
gold = 2
__PRETTY_FUNCTION__ = update_city_activities
#5  0x0040a29d in end_phase () at server/srv_main.c:891
MY_i = 14
pplayer = 0x8f5c70
#6  srv_running () at server/srv_main.c:2081
save_counter = 1
is_new_turn = true
eot_timer = 0xb464b0
need_send_pending_events = false
#7  srv_main () at server/srv_main.c:2446
No locals.
#8  0x0040406f in main (argc=value optimized out,
argv=0x7fffe278)
at server/civserver.c:359
inx = 3
showhelp = value optimized out
showvers = value optimized out
option = value optimized out


___

Reply to this item at:

  http://gna.org/bugs/?18221

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #18221] Crash while playing custom Ruleset

2011-06-14 Thread Marko Lindqvist

Follow-up Comment #2, bug #18221 (project freeciv):

Well, I think that there's nothing in the code that would assert that balance
really gets positive before this failing assert(). But this is not simply
matter of removing the assert() as negative balance breaks a lot of things
then on.

Code block before the assert() is like:
while(balance  0  something_to_sell) {
  sell_something()
}
but nothing prevents balance from still being negative when everything is
sold.

One thing we may want to change in development code (probably not in stable
branches) is that upkeep for units and buildings being sold because of
negative balance would not be paid. Currently their upkeep is already paid by
the time we sell them.
In stable branches, and temporarily in trunk, I'd just make simple hack to
set balance = 0 if it's still negative after we have sold everything.

I also think that this bug can manifest itself only if upkeep of some unit or
building is higher than its selling value - otherwise selling it would always
restore balance to at least same level than it was before paying upkeep.
Original reporter may want to use that information to make to his ruleset
such temporary changes that it won't crash freeciv until this is fixed.
However, it's possible that there is some bug in how selling value (or
upkeep) is calculated causing former to be smaller than latter even if ruleset
seems not to allow that. I'll trace exact cause of this reproducible crash a
bit further.

___

Reply to this item at:

  http://gna.org/bugs/?18221

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #17906] Gold upkeep icon covers unhappiness upkeep icon

2011-06-14 Thread Jacob Nevins

Update of bug #17906 (project freeciv):

  Status:  Ready For Test = Fixed  
 Open/Closed:Open = Closed 


___

Reply to this item at:

  http://gna.org/bugs/?17906

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #18221] Not enough buildings/units sold to restore positive balance

2011-06-14 Thread Marko Lindqvist

Update of bug #18221 (project freeciv):

  Status:   Confirmed = Ready For Test 
 Planned Release: = 2.2.6, 2.3.0, 2.4.0
 Summary: Crash while playing custom Ruleset = Not enough
buildings/units sold to restore positive balance

___

Follow-up Comment #5:

Fix attached.

Don't really know any good workarounds for original reporter until fixed
version of freeciv is released.

(file #13202)
___

Additional Item Attachment:

File name: SellNeededNumberOfUnits_18221.diff Size:0 KB


___

Reply to this item at:

  http://gna.org/bugs/?18221

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [patch #2687] Chickasaw nation

2011-06-14 Thread J.M. Maalderink

Update of patch #2687 (project freeciv):

  Status: In Progress = Ready For Test 


___

Reply to this item at:

  http://gna.org/patch/?2687

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #18192] Client allocates unnecessarily memory for tile knowledge maps

2011-06-14 Thread Marko Lindqvist

Update of bug #18192 (project freeciv):

 Assigned to:None = cazfi  
 Planned Release: = 2.4.0  


___

Reply to this item at:

  http://gna.org/bugs/?18192

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #18170] md5 sum broken in trunk on sparc64

2011-06-14 Thread Jacob Nevins

Update of bug #18170 (project freeciv):

  Status:None = In Progress
 Assigned to:None = jtn


___

Reply to this item at:

  http://gna.org/bugs/?18170

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #18227] Qt-client configure check test program compilation fails

2011-06-14 Thread Marko Lindqvist

URL:
  http://gna.org/bugs/?18227

 Summary: Qt-client configure check test program compilation
fails
 Project: Freeciv
Submitted by: cazfi
Submitted on: Wed 15 Jun 2011 03:38:25 AM EEST
Category: bootstrap
Severity: 3 - Normal
Priority: 5 - Normal
  Status: Ready For Test
 Assigned to: cazfi
Originator Email: 
 Open/Closed: Open
 Release: 
 Discussion Lock: Any
Operating System: None
 Planned Release: 2.4.0

___

Details:

Splitting from bug #18200.

Even when QApplication-header is found from include path,
FC_QT_CLIENT_COMPILETEST test program compilation fails on some systems. From
config.log:

conftest.cpp: In function 'int main()':
conftest.cpp:69: error: no matching function for call to
'QApplication::QApplication(int, int)'
/Library/Frameworks/QtGUI.framework/Versions/4/Headers/qapplication.h:375:
note: candidates are: QApplication::QApplication(const QApplication)
/Library/Frameworks/QtGUI.framework/Versions/4/Headers/qapplication.h:128:
note: QApplication::QApplication(int, char**,
QApplication::Type, int)
/Library/Frameworks/QtGUI.framework/Versions/4/Headers/qapplication.h:127:
note: QApplication::QApplication(int, char**, bool, int)
/Library/Frameworks/QtGUI.framework/Versions/4/Headers/qapplication.h:126:
note: QApplication::QApplication(int, char**, int)

bug #18200 comment #7 already has one potential fix attached.





___

Reply to this item at:

  http://gna.org/bugs/?18227

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #18228] Configure does not support Mac OS Framework-style SDL installation

2011-06-14 Thread Marko Lindqvist

URL:
  http://gna.org/bugs/?18228

 Summary: Configure does not support Mac OS Framework-style
SDL installation
 Project: Freeciv
Submitted by: cazfi
Submitted on: Wed 15 Jun 2011 03:41:21 AM EEST
Category: bootstrap
Severity: 3 - Normal
Priority: 5 - Normal
  Status: None
 Assigned to: cazfi
Originator Email: 
 Open/Closed: Open
 Release: 
 Discussion Lock: Any
Operating System: Mac OS
 Planned Release: 2.4.0

___

Details:

Splitting from bug #18200

Configure should detect Mac OS Framework-style SDL installations.





___

Reply to this item at:

  http://gna.org/bugs/?18228

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #18200] Configure does not support Mac OS Framework-style Qt installation

2011-06-14 Thread Marko Lindqvist

Update of bug #18200 (project freeciv):

 Planned Release: = 2.4.0  
 Summary: Configure is unable to detect frameworks =
Configure does not support Mac OS Framework-style Qt installation

___

Follow-up Comment #8:

I've been splitting this one to several tickets. This ticket handles
configure check for Framework Qt-installation.
Attached is first related patch. Based on information I've got so far it
tries to detect and setup include paths correctly. So if it works correctly,
you don't need to set CXXFLAGS or CPPFLAGS from commandline. It also has
similar implementation for library path setting, but as we still don't know
what the correct paths are, this is more than likely not to work.

- Test program compilation failure from comment #6  comment #7 is now
handled in bug #18227. Please comment patch from comment #7 in that ticket

- Framework SDL-installation detection is handled in bug #18228


(file #13203)
___

Additional Item Attachment:

File name: QtFrameworkDetect_18200.diff   Size:1 KB


___

Reply to this item at:

  http://gna.org/bugs/?18200

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #18228] Configure does not support Mac OS Framework-style SDL installation

2011-06-14 Thread Marko Lindqvist

Update of bug #18228 (project freeciv):

  Status:None = Need Info  

___

Follow-up Comment #1:

To get started with this I'd like someone with such a system to try to
configure with --enable-client=sdl and to send error message it produces and
config.log-file generated from that configure run.

___

Reply to this item at:

  http://gna.org/bugs/?18228

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #18221] Not enough buildings/units sold to restore positive balance

2011-06-14 Thread David Fernandez

Follow-up Comment #6, bug #18221 (project freeciv):

Ok, thanks, no hurry.
For now, gold upkeep style = 1 seems to avoid the crashes.

___

Reply to this item at:

  http://gna.org/bugs/?18221

___
  Mensaje enviado vía/por Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #18058] trunk: data/nation data/flags/Makefile.am inconsistence

2011-06-14 Thread Marko Lindqvist

Follow-up Comment #3, bug #18058 (project freeciv):

I'd rather place this check_flags.sh under scripts/. Attached version has
data_dir path adjusted accordingly.

If nobody objects in 48h, I'll add this to version control.

(file #13204)
___

Additional Item Attachment:

File name: check_flags.sh Size:0 KB


___

Reply to this item at:

  http://gna.org/bugs/?18058

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev