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

2016-06-21 Thread Marko Lindqvist
Update of bug #18228 (project freeciv):

 Assigned to:   cazfi => None   


___

Reply to this item at:

  

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


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


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

2012-09-28 Thread Gilles J. Seguin
On Wed, 2012-09-19 at 22:13 +0200, David Lowe wrote:
 Follow-up Comment #11, bug #18228 (project freeciv):
 
 Fortunately my father speaks M4, and he was able to add in the necessary
 functionality.  He had to shuffle some original lines around before it even
 made sense, though.  Therefore the attached patch will be larger than
 indicated by the roughly 30 lines of new code.
 
 Notes: 1) This has been tested to work on my Snow Leopard rig and also that it
 doesn't break SDL detection on a Debian system.  However, i realize that is
 far from exhaustive, so feedback is welcome.
 
 2) This only provides for detection of the main SDL library, sdl_image will
 have to be dealt with elsewhere.  That could be sdl-client.m4 or its
 dependencies [namely, AC_CHECK_LIB  AC_CHECK_HEADER].  I suppose that should
 be a separate tracker item?
 
 3) After that is working we will probably still need to modify compiler flags
 to correctly use the frameworks.
 
 (file #16592)
 ___
 
 Additional Item Attachment:
 
 File name: with_framework.patch   Size:13 KB

- you are modifying sdl.m4 that is linux dependant
- you oblige linux developers to check why sdl.m4 has been modifyied
- since diff is line check tools very tough thing

this m4 file is from sound.m4
supposing DARWIN macro exist

if test x$DARWIN = xyes; then
would be more appropriate for inclusion of the specific m4 file,
like sdl-darwin.m4
 very not sure of the
SDL_LIBS=-L$fw_loc -lSDL -lpthread
we should have pthread.m4 to test if we have
that it is, go crazy freeciv developers
from warciv developer
continue color changes



___
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

2012-09-19 Thread David Lowe
Follow-up Comment #11, bug #18228 (project freeciv):

Fortunately my father speaks M4, and he was able to add in the necessary
functionality.  He had to shuffle some original lines around before it even
made sense, though.  Therefore the attached patch will be larger than
indicated by the roughly 30 lines of new code.

Notes: 1) This has been tested to work on my Snow Leopard rig and also that it
doesn't break SDL detection on a Debian system.  However, i realize that is
far from exhaustive, so feedback is welcome.

2) This only provides for detection of the main SDL library, sdl_image will
have to be dealt with elsewhere.  That could be sdl-client.m4 or its
dependencies [namely, AC_CHECK_LIB  AC_CHECK_HEADER].  I suppose that should
be a separate tracker item?

3) After that is working we will probably still need to modify compiler flags
to correctly use the frameworks.

(file #16592)
___

Additional Item Attachment:

File name: with_framework.patch   Size:13 KB


___

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 #18228] Configure does not support Mac OS Framework-style SDL installation

2012-08-03 Thread David Lowe
Follow-up Comment #10, bug #18228 (project freeciv):

After *way* too long, i think i'm closing in on a possible fix.  First off:
gnu automake has no responsibility for AM_PATH_SDL, that actually comes from
libSDL project.  Sam Lantinga said he would take a patch to sdl.m4 but i'm
clueless as to how exactly to modify it to do what i want to try.  We might
end up patching something else instead, but i don't have enough background to
suggest where that might be.

Will somebody please explain to me how m4/sdl.m4 and sdl-client.m4 really
work?  There's not much useful comments to these.  Anyway, my pseudocode looks
like this:

IF exists /Library/Frameworks/SDL.framework/Versions
 THEN {
 -I = /Library/Frameworks/SDL.framework/Versions/A/Headers/
-L = /Library/Frameworks/SDL.framework/Versions/A/SDL
 }
 
IF exists ~/Library/Frameworks/SDL.framework/Versions
 THEN {
 -I = ~/Library/Frameworks/SDL.framework/Versions/A/Headers/
-L = ~/Library/Frameworks/SDL.framework/Versions/A/SDL
 }

It's entirely possible that a Mac might have frameworks in both places, in
which case the one in HOME should probably take priority.  I have seen a
framework coexisting with unixey dylibs, in which case we can give priority to
the dylib - this is already well covered by our existing processes.

___

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 #18228] Configure does not support Mac OS Framework-style SDL installation

2012-07-02 Thread Marko Lindqvist
Update of bug #18228 (project freeciv):

 Planned Release:   2.4.0 =

___

Follow-up Comment #8:

Stalled since David never answered to latest question (this was getting quite
desperate attempts to debug over email anyway)

___

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 #18228] Configure does not support Mac OS Framework-style SDL installation

2012-07-02 Thread David Lowe
Follow-up Comment #9, bug #18228 (project freeciv):

Um, which question still needs an answer?  Regrettably i no longer have older
emails.

___

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 #18228] Configure does not support Mac OS Framework-style SDL installation

2012-06-17 Thread Jacob Nevins
Follow-up Comment #7, bug #18228 (project freeciv):

This has a release target of 2.4.0, but I see no evidence of regression
compared to S2_3, so since this hasn't moved for a year, I plan to remove that
target.

___

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 #18228] Configure does not support Mac OS Framework-style SDL installation

2011-06-16 Thread Marko Lindqvist

Follow-up Comment #5, bug #18228 (project freeciv):

Could you report this to automake, David? They may want to improve
AM_PATH_SDL to handle Mac OS framework installations. That would be better
than us handling it specifically in freeciv configure since then all packages
using AM_PATH_SDL would benefit, not just freeciv.

In addition to main SDL, freeciv sdl-client depends also on SDL_image. There
is separate configure check for it (not part of AM_PATH_SDL). Does your SDL
framework include it, or is it something you have to install separately, and
how?

___

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 #18228] Configure does not support Mac OS Framework-style SDL installation

2011-06-16 Thread David Lowe

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

Could you report this to automake, David?  Will do.  What are the keywords
i should use [you can put some words in my mouth for this one]?

Does your SDL framework include it, or is it something you have to install
separately, and how?  SDL_image is a separate package from a separate site -
i don't even think the same people are involved.  However, that download also
gives a naked framework.

___

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 #18228] Configure does not support Mac OS Framework-style SDL installation

2011-06-15 Thread David Lowe

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

I've attached the log, and [for completeness] the result of ls -R 
framework-listing.txt /Library/Frameworks/SDL.framework.  FWIW, the wiki at
libsdl.org has this to say:

When installed as a Framework, all SDL files (the library and the header
files) are aggregated into a .framework bundle, and installed together into
/Library/Frameworks/ or ~/Library/Frameworks/. There, Xcode can find it. But
packages which want to use SDL but employ a UNIX style build system are
usually not able to find SDL there (there are a few exceptions where people
hand modified their configure scripts to allow using Frameworks on OSX, but
those are rare).

(file #13209, file #13210)
___

Additional Item Attachment:

File name: config.log Size:62 KB
File name: framework-listing.txt  Size:0 KB


___

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 #18228] Configure does not support Mac OS Framework-style SDL installation

2011-06-15 Thread Marko Lindqvist

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

Yes, we are not even implementing sdl-check ourselves, but depend on macro
AM_PATH_SDL that is part of automake. It in turn depends on sdl-config
-program of sdl. Config.log shows that sdl-config is not found. Can you check
if it's somewhere in your system, or does Framework-style install of sdl
completely lack it?

___

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 #18228] Configure does not support Mac OS Framework-style SDL installation

2011-06-15 Thread David Lowe

Follow-up Comment #4, bug #18228 (project freeciv):

The OSX binary image of SDL doesn't even have an install script.  It is
simply the framework for dragging and dropping, along with some explanatory
text.  I see that it contains SDL_config headers [amongst the rest], and more
of those mysterious .nib files.

___

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 #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 #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