Re: [Flightgear-devel] FGCom - cmake

2012-07-11 Thread ys
Hi Martin

Did you pull, compile and test, any real feedback?

Cheers, Yves

Ps. We are aware of the next monster, thanks. Fgcom 1.2ff is working and still 
a nice piece. I guess you will find a lot of latest development from Holger 
Wirtz and Charles Ingels at sourceforge. I don't know if Holger Wirtz would 
find the time to guide someone trough the latest steps. And it's problematic 
anyway: Some newer fgcom code works a) with another license and/or b) still 
with iaxclient (which really is the most problematic part).

PPS. Most wanted is still a proper asterisk/fgcom configuration like Csaba (?) 
runs it on fgcom server. Without such a configuration we are not aware of 
following the latest development steps anyway because we can't setup a test 
environment.




Am 10.07.2012 um 21:06 schrieb Martin Spott martin.sp...@mgras.net:

 ThorstenB wrote:
 
 Schön wieder Fortschritte bei fgcom zu sehen. Und schön CMake + Git zu 
 sehen ;-). Habt ihr auch mal Holger Wirtz kontaktiert?
 
 Unfortunately Holger is unable to contribute to FGCom any more, but
 with a bit of luck he'll probably give access to his latest state of
 develoment (which, as far as I know, is different from what's available
 on Sourceforge).
 
 Cheers,
Martin.
 -- 
 Unix _IS_ user friendly - it's just selective about who its friends are !
 --
 
 --
 Live Security Virtual Conference
 Exclusive live event will cover all the ways today's security and 
 threat landscape has changed and how IT managers can respond. Discussions 
 will include endpoint security, mobile security and the latest in malware 
 threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
 ___
 Flightgear-devel mailing list
 Flightgear-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/flightgear-devel

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] FGCom - cmake

2012-07-11 Thread HB-GRAL
Hi Thorsten

Many thanks for your patch. Yes, it is thought as external cmake option 
and your patch is just one step ahead ;-)

Cheers, Yves

Am 10.07.12 20:52, schrieb ThorstenB:
 Am 10.07.2012 15:27, schrieb HB-GRAL:
 The last weeks Geoff McLane and me forked fgcom temporary at gitorious
 (http://www.gitorious.org/fgcom) and made some significant changes.
 Origin source is still available at
 http://sourceforge.net/projects/fgcom/

 Schön wieder Fortschritte bei fgcom zu sehen. Und schön CMake + Git zu
 sehen ;-). Habt ihr auch mal Holger Wirtz kontaktiert? Wäre vielleicht
 ganz gut. Er ist beim LinuxTag in Berlin immer mit dabei - hat aber
 ansonsten wohl viel anderes zu tun.

 - In CMakeLists you can see that is possible now to set paths to
 positions and frequencies files with:
 -DSPECIAL_FREQUENCIES_FILE=fgcom-data/special_frequencies.txt
 -DDEFAULT_POSITIONS_FILE=fgcom-data/positions.txt

 Super wäre es, wenn diese auch als CMake Optionen von außen gesetzt
 werden können - damit man das an sein System anpassen kann, ohne an den
 Sourcen zu schrauben. Siehe Patch im Anhang.

 Ansonsten habe ich für Linux noch die pthread Library hinzufügen
 müssen. Eine saubere Lösung wäre wohl das irgendwie zu detektieren -
 ggf. mal in die FG CMake Files reinschauen, und irgendwie abkupfern.

 Mit dem Patch im Anhang hat es bei mir direkt funktioniert und fgcom
 läuft einwandfrei. Das alte fgcom konnte ich nur auf meinem alten
 Rechner laufen lassen (lansgsamer single core) - auf meiner modernen
 6core Maschine lief das alte fgcom irgendwie nicht.

 Gruß,
 Thorsten


 --
 Live Security Virtual Conference
 Exclusive live event will cover all the ways today's security and
 threat landscape has changed and how IT managers can respond. Discussions
 will include endpoint security, mobile security and the latest in malware
 threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/



 ___
 Flightgear-devel mailing list
 Flightgear-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/flightgear-devel


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] FGCom - cmake

2012-07-11 Thread HB-GRAL
Am 10.07.12 20:50, schrieb Christian Schmitt:
 Awesome! I waited for just that, because current fgcom has not seen any
 change for a long time. Alreadey did a quick test and I think you will get
 some merge requests soon :)

 Cheers,
 Chris

Hi Chris

I can also add you as contributor and you can push to a new branch. 
Dealing with merge requests takes to much time for us ;-)

Just let me know.

Cheeers, Yves

PS. This applies also for all other contributors of course who want to 
help to improve this fork at the moment.

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


[Flightgear-devel] FGCom - cmake

2012-07-10 Thread HB-GRAL
Hi all

The last weeks Geoff McLane and me forked fgcom temporary at gitorious 
(http://www.gitorious.org/fgcom) and made some significant changes. 
Origin source is still available at http://sourceforge.net/projects/fgcom/

- Most important change is moving fgcom to cmake build and trying to get 
fgcom compiling on all platforms again.

- updated perl scripts to generate positions and freqs files with recent 
apt.dat/nav.dat

- In CMakeLists you can see that is possible now to set paths to 
positions and frequencies files with:
-DSPECIAL_FREQUENCIES_FILE=fgcom-data/special_frequencies.txt
-DDEFAULT_POSITIONS_FILE=fgcom-data/positions.txt

- Some minor changes for OSX: clenaing here and there, 10.5/6 
i386/x86_64 universal support, individual (or macports) plib 
1.8.5/PLIB.framework support, skipping osx 10.4 support, update 
iaxclient thread policy etc.

Most work have been done by Geoff McLane with this cmake support now, 
many thanks to Geoff working on all this stuff and help to incorporate 
my osx changes to ONE single branch for all platforms. fgcomx as another 
fork on gitorious have been deleted.

Now we need some testers and reporters for all platforms. When you want 
to help please checkout master and compile fgcom for your platform, 
install it and make echo tests or use it with your flightgear version. 
You will need current simgear and other dependencies of course (see 
readme, cmake 2.8, plib, OpenAL and current simgear needed).

Thanks a lot, Yves

PS. For next macflightgear release I would recommend to skip the old and 
buggy fgcom shipped with and replace it with a new build from this fork. 
After successful testing of course.


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] FGCom - cmake

2012-07-10 Thread Christian Schmitt
Awesome! I waited for just that, because current fgcom has not seen any 
change for a long time. Alreadey did a quick test and I think you will get 
some merge requests soon :)

Cheers,
Chris


HB-GRAL wrote:

 Hi all
 
 The last weeks Geoff McLane and me forked fgcom temporary at gitorious
 (http://www.gitorious.org/fgcom) and made some significant changes.
 Origin source is still available at http://sourceforge.net/projects/fgcom/
 
 - Most important change is moving fgcom to cmake build and trying to get
 fgcom compiling on all platforms again.
 
 - updated perl scripts to generate positions and freqs files with recent
 apt.dat/nav.dat
 
 - In CMakeLists you can see that is possible now to set paths to
 positions and frequencies files with:
 -DSPECIAL_FREQUENCIES_FILE=fgcom-data/special_frequencies.txt
 -DDEFAULT_POSITIONS_FILE=fgcom-data/positions.txt
 
 - Some minor changes for OSX: clenaing here and there, 10.5/6
 i386/x86_64 universal support, individual (or macports) plib
 1.8.5/PLIB.framework support, skipping osx 10.4 support, update
 iaxclient thread policy etc.
 
 Most work have been done by Geoff McLane with this cmake support now,
 many thanks to Geoff working on all this stuff and help to incorporate
 my osx changes to ONE single branch for all platforms. fgcomx as another
 fork on gitorious have been deleted.
 
 Now we need some testers and reporters for all platforms. When you want
 to help please checkout master and compile fgcom for your platform,
 install it and make echo tests or use it with your flightgear version.
 You will need current simgear and other dependencies of course (see
 readme, cmake 2.8, plib, OpenAL and current simgear needed).
 
 Thanks a lot, Yves
 
 PS. For next macflightgear release I would recommend to skip the old and
 buggy fgcom shipped with and replace it with a new build from this fork.
 After successful testing of course.
 
 
 
--
 Live Security Virtual Conference
 Exclusive live event will cover all the ways today's security and
 threat landscape has changed and how IT managers can respond. Discussions
 will include endpoint security, mobile security and the latest in malware
 threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] FGCom - cmake

2012-07-10 Thread ThorstenB

Am 10.07.2012 15:27, schrieb HB-GRAL:

The last weeks Geoff McLane and me forked fgcom temporary at gitorious
(http://www.gitorious.org/fgcom) and made some significant changes.
Origin source is still available at http://sourceforge.net/projects/fgcom/


Schön wieder Fortschritte bei fgcom zu sehen. Und schön CMake + Git zu 
sehen ;-). Habt ihr auch mal Holger Wirtz kontaktiert? Wäre vielleicht 
ganz gut. Er ist beim LinuxTag in Berlin immer mit dabei - hat aber 
ansonsten wohl viel anderes zu tun.



- In CMakeLists you can see that is possible now to set paths to
positions and frequencies files with:
-DSPECIAL_FREQUENCIES_FILE=fgcom-data/special_frequencies.txt
-DDEFAULT_POSITIONS_FILE=fgcom-data/positions.txt


Super wäre es, wenn diese auch als CMake Optionen von außen gesetzt 
werden können - damit man das an sein System anpassen kann, ohne an den 
Sourcen zu schrauben. Siehe Patch im Anhang.


Ansonsten habe ich für Linux noch die pthread Library hinzufügen 
müssen. Eine saubere Lösung wäre wohl das irgendwie zu detektieren - 
ggf. mal in die FG CMake Files reinschauen, und irgendwie abkupfern.


Mit dem Patch im Anhang hat es bei mir direkt funktioniert und fgcom 
läuft einwandfrei. Das alte fgcom konnte ich nur auf meinem alten 
Rechner laufen lassen (lansgsamer single core) - auf meiner modernen 
6core Maschine lief das alte fgcom irgendwie nicht.


Gruß,
Thorsten
diff --git a/CMakeLists.txt b/CMakeLists.txt
index d599aae..63fd5dc 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -298,8 +298,11 @@ add_definitions( -DSVN_REV=261 )
 add_definitions( -DLIBVER=SVN 261 )
 
 # for now follow like in OSX, in fgcom-data in the 'install' directory
-add_definitions( -DSPECIAL_FREQUENCIES_FILE=fgcom-data/special_frequencies.txt )
-add_definitions( -DDEFAULT_POSITIONS_FILE=fgcom-data/positions.txt )
+option( SPECIAL_FREQUENCIES_FILE Path to 'special frequencies' file. /usr/share/fgcom/special_frequencies.txt )
+option( DEFAULT_POSITIONS_FILE Path to 'default positions' file. /usr/share/fgcom/positions.txt  )
+add_definitions( -DSPECIAL_FREQUENCIES_FILE=${SPECIAL_FREQUENCIES_FILE} )
+add_definitions( -DDEFAULT_POSITIONS_FILE=${DEFAULT_POSITIONS_FILE} )
+
 
 if(ADD_DEBUG_OUTPUT)
add_definitions( -DDEBUG )
@@ -358,6 +361,7 @@ else(WIN32)
 # DYNLIB=libiaxclient.dylib
 else(APPLE)
 if(UNIX)
+set( win_LIBS pthread )
 # CFLAGS:= $(CFLAGS) -Iportaudio/src/os/unix
 # DYNCFLAGS=-fPIC
 # DYNLIB=libiaxclient.so
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] FGCom - cmake

2012-07-10 Thread ThorstenB
Ah well. You guessed the obvious... This was mainly meant for HB-GRAL.
Anyway, an opportunity to learn some German! ;-)

cheers,
Thorsten

Am 10.07.2012 20:52, schrieb ThorstenB:
 Am 10.07.2012 15:27, schrieb HB-GRAL:
 The last weeks Geoff McLane and me forked fgcom temporary at gitorious
 (http://www.gitorious.org/fgcom) and made some significant changes.
 Origin source is still available at
 http://sourceforge.net/projects/fgcom/

 Schön wieder Fortschritte bei fgcom zu sehen. Und schön CMake + Git zu
 sehen ;-). Habt ihr auch mal Holger Wirtz kontaktiert? Wäre vielleicht
 ganz gut. Er ist beim LinuxTag in Berlin immer mit dabei - hat aber
 ansonsten wohl viel anderes zu tun.

 - In CMakeLists you can see that is possible now to set paths to
 positions and frequencies files with:
 -DSPECIAL_FREQUENCIES_FILE=fgcom-data/special_frequencies.txt
 -DDEFAULT_POSITIONS_FILE=fgcom-data/positions.txt

 Super wäre es, wenn diese auch als CMake Optionen von außen gesetzt
 werden können - damit man das an sein System anpassen kann, ohne an den
 Sourcen zu schrauben. Siehe Patch im Anhang.

 Ansonsten habe ich für Linux noch die pthread Library hinzufügen
 müssen. Eine saubere Lösung wäre wohl das irgendwie zu detektieren -
 ggf. mal in die FG CMake Files reinschauen, und irgendwie abkupfern.

 Mit dem Patch im Anhang hat es bei mir direkt funktioniert und fgcom
 läuft einwandfrei. Das alte fgcom konnte ich nur auf meinem alten
 Rechner laufen lassen (lansgsamer single core) - auf meiner modernen
 6core Maschine lief das alte fgcom irgendwie nicht.

 Gruß,
 Thorsten



--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] FGCom - cmake

2012-07-10 Thread Martin Spott
ThorstenB wrote:

 Schön wieder Fortschritte bei fgcom zu sehen. Und schön CMake + Git zu 
 sehen ;-). Habt ihr auch mal Holger Wirtz kontaktiert?

Unfortunately Holger is unable to contribute to FGCom any more, but
with a bit of luck he'll probably give access to his latest state of
develoment (which, as far as I know, is different from what's available
on Sourceforge).

Cheers,
Martin.
-- 
 Unix _IS_ user friendly - it's just selective about who its friends are !
--

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel