PHP-Mapscript via SWIG

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

PHP-Mapscript via SWIG

Alexander Gabriel

Hi together,

 

i prepared my patches to be merged into master branch: https://github.com/mapserver/mapserver/pull/5675

 

There are a few issues in the moment which prevent testing my patches with AppVeyor (https://gitlab.kitware.com/cmake/cmake/issues/18421) and building it Thread-Safe on Windows (https://github.com/swig/swig/commit/224bb9e0232a219b7cefd23472b592b39e277f46) so only users that use current development state of SWIG and current development state of CMake will be able to compile this on Windows for Thread-Safe PHP (CMakeLists.txt checks for correct versions).

 

Because i think, there are more people waiting for PHP/Mapscript on Linux than on Windows, it would be good to merge this, don't advertise Mapscript for Windows as supported, wait until SWIG 4.0 and CMake 3.13 get released and then look for supporting Windows again.

 

I'm interessted in feedback. If you have any suggestions, ideas or any other feedback, please let me know. Seth (@geographika) offered to merge in a few days if there are no suggested changes.

 

Thank you.

 

 

Kind regards,

Alex

 

 

 

Von: mapserver-dev [mailto:[hidden email]] Im Auftrag von Lime, Steve D (MNIT)
Gesendet: Montag, 25. Juni 2018 16:35
An: [hidden email]
Betreff: [mapserver-dev] 7.2 release... and a question...

 

While PHP support for 7.2 was omitted  because of confusion on RFC status, I’ve been watching Alexander (@AlexanderGabriel) has been working hard the last 10 days to resurrect the SWIG/PHP work. See ticket https://github.com/mapserver/mapserver/issues/5252 and the pull request https://github.com/mapserver/mapserver/pull/5623.

 

Given the SWIG/PHP support is brand new and wouldn’t have any backwards compatibility issues. So, do we include it and have one more beta?

 

--Steve


_______________________________________________
mapserver-dev mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/mapserver-dev
Reply | Threaded
Open this post in threaded view
|

Re: PHP-Mapscript via SWIG

Seth G-2
Hi Alex,

There don't seem to be any objections or concerns, and as Steve pointed out as this is brand new it won't break anything. 
I've merged to master, and will be following up with several other mapscript related changes (mainly Python). 
Perhaps this can form the basis of a 7.4 release?

Seth

--
web:http://geographika.co.uk
twitter: @geographika


On Tue, Oct 9, 2018, at 5:33 PM, Alexander Gabriel wrote:

Hi together,

 

i prepared my patches to be merged into master branch: https://github.com/mapserver/mapserver/pull/5675

 

There are a few issues in the moment which prevent testing my patches with AppVeyor (https://gitlab.kitware.com/cmake/cmake/issues/18421) and building it Thread-Safe on Windows (https://github.com/swig/swig/commit/224bb9e0232a219b7cefd23472b592b39e277f46) so only users that use current development state of SWIG and current development state of CMake will be able to compile this on Windows for Thread-Safe PHP (CMakeLists.txt checks for correct versions).

 

Because i think, there are more people waiting for PHP/Mapscript on Linux than on Windows, it would be good to merge this, don't advertise Mapscript for Windows as supported, wait until SWIG 4.0 and CMake 3.13 get released and then look for supporting Windows again.

 

I'm interessted in feedback. If you have any suggestions, ideas or any other feedback, please let me know. Seth (@geographika) offered to merge in a few days if there are no suggested changes.

 

Thank you.

 

 

Kind regards,

Alex

 

 

 

Von: mapserver-dev [mailto:[hidden email]] Im Auftrag von Lime, Steve D (MNIT)
Gesendet: Montag, 25. Juni 2018 16:35
An: [hidden email]
Betreff: [mapserver-dev] 7.2 release... and a question...

 

While PHP support for 7.2 was omitted  because of confusion on RFC status, I’ve been watching Alexander (@AlexanderGabriel) has been working hard the last 10 days to resurrect the SWIG/PHP work. See ticket https://github.com/mapserver/mapserver/issues/5252 and the pull request https://github.com/mapserver/mapserver/pull/5623.

 

Given the SWIG/PHP support is brand new and wouldn’t have any backwards compatibility issues. So, do we include it and have one more beta?

 

--Steve

_______________________________________________
mapserver-dev mailing list


_______________________________________________
mapserver-dev mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/mapserver-dev
Reply | Threaded
Open this post in threaded view
|

Re: PHP-Mapscript via SWIG

Lime, Steve D (MNIT)

Definitely cause for a 7.4 release. Maybe sooner rather than later. There’s also a PHP/MapScript for PHP7 out there – native PHP, no Swig out there (https://github.com/bjoernboldt/mapscript-php7, https://github.com/mapserver/mapserver/pull/5461). I’m curious if folks think both should be part of a 7.4 release. Do we want both interfaces or do we focus on SWIG only moving foward?

 

--Steve

 

From: mapserver-dev [mailto:[hidden email]] On Behalf Of Seth G
Sent: Thursday, October 11, 2018 3:41 PM
To: [hidden email]
Subject: Re: [mapserver-dev] PHP-Mapscript via SWIG

 

Hi Alex,

 

There don't seem to be any objections or concerns, and as Steve pointed out as this is brand new it won't break anything. 

I've merged to master, and will be following up with several other mapscript related changes (mainly Python). 

Perhaps this can form the basis of a 7.4 release?

 

Seth

 

--

web:http://geographika.co.uk

twitter: @geographika

 

 

On Tue, Oct 9, 2018, at 5:33 PM, Alexander Gabriel wrote:

Hi together,

 

i prepared my patches to be merged into master branch: https://github.com/mapserver/mapserver/pull/5675

 

There are a few issues in the moment which prevent testing my patches with AppVeyor (https://gitlab.kitware.com/cmake/cmake/issues/18421) and building it Thread-Safe on Windows (https://github.com/swig/swig/commit/224bb9e0232a219b7cefd23472b592b39e277f46) so only users that use current development state of SWIG and current development state of CMake will be able to compile this on Windows for Thread-Safe PHP (CMakeLists.txt checks for correct versions).

 

Because i think, there are more people waiting for PHP/Mapscript on Linux than on Windows, it would be good to merge this, don't advertise Mapscript for Windows as supported, wait until SWIG 4.0 and CMake 3.13 get released and then look for supporting Windows again.

 

I'm interessted in feedback. If you have any suggestions, ideas or any other feedback, please let me know. Seth (@geographika) offered to merge in a few days if there are no suggested changes.

 

Thank you.

 

 

Kind regards,

Alex

 

 

 

Von: mapserver-dev [[hidden email]] Im Auftrag von Lime, Steve D (MNIT)
Gesendet: Montag, 25. Juni 2018 16:35
An: [hidden email]
Betreff: [mapserver-dev] 7.2 release... and a question...

 

While PHP support for 7.2 was omitted  because of confusion on RFC status, I’ve been watching Alexander (@AlexanderGabriel) has been working hard the last 10 days to resurrect the SWIG/PHP work. See ticket https://github.com/mapserver/mapserver/issues/5252 and the pull request https://github.com/mapserver/mapserver/pull/5623.

 

Given the SWIG/PHP support is brand new and wouldn’t have any backwards compatibility issues. So, do we include it and have one more beta?

 

--Steve

_______________________________________________

mapserver-dev mailing list

 


_______________________________________________
mapserver-dev mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/mapserver-dev
Reply | Threaded
Open this post in threaded view
|

Re: PHP-Mapscript via SWIG

Alexander Gabriel

Havgin both for some kind of transition-period is not a bad idea.

I tried several hours to get the patch from bjoern running on windows (it works fine on linux) but failed and got stuck so i focused on swig.

 

Alex

 

 

Von: mapserver-dev [mailto:[hidden email]] Im Auftrag von Lime, Steve D (MNIT)
Gesendet: Donnerstag, 11. Oktober 2018 23:11
An: Seth G; [hidden email]
Betreff: Re: [mapserver-dev] PHP-Mapscript via SWIG

 

Definitely cause for a 7.4 release. Maybe sooner rather than later. There’s also a PHP/MapScript for PHP7 out there – native PHP, no Swig out there (https://github.com/bjoernboldt/mapscript-php7, https://github.com/mapserver/mapserver/pull/5461). I’m curious if folks think both should be part of a 7.4 release. Do we want both interfaces or do we focus on SWIG only moving foward?

 

--Steve

 

From: mapserver-dev [mailto:[hidden email]] On Behalf Of Seth G
Sent: Thursday, October 11, 2018 3:41 PM
To: [hidden email]
Subject: Re: [mapserver-dev] PHP-Mapscript via SWIG

 

Hi Alex,

 

There don't seem to be any objections or concerns, and as Steve pointed out as this is brand new it won't break anything. 

I've merged to master, and will be following up with several other mapscript related changes (mainly Python). 

Perhaps this can form the basis of a 7.4 release?

 

Seth

 

--

web:http://geographika.co.uk

twitter: @geographika

 

 

On Tue, Oct 9, 2018, at 5:33 PM, Alexander Gabriel wrote:

Hi together,

 

i prepared my patches to be merged into master branch: https://github.com/mapserver/mapserver/pull/5675

 

There are a few issues in the moment which prevent testing my patches with AppVeyor (https://gitlab.kitware.com/cmake/cmake/issues/18421) and building it Thread-Safe on Windows (https://github.com/swig/swig/commit/224bb9e0232a219b7cefd23472b592b39e277f46) so only users that use current development state of SWIG and current development state of CMake will be able to compile this on Windows for Thread-Safe PHP (CMakeLists.txt checks for correct versions).

 

Because i think, there are more people waiting for PHP/Mapscript on Linux than on Windows, it would be good to merge this, don't advertise Mapscript for Windows as supported, wait until SWIG 4.0 and CMake 3.13 get released and then look for supporting Windows again.

 

I'm interessted in feedback. If you have any suggestions, ideas or any other feedback, please let me know. Seth (@geographika) offered to merge in a few days if there are no suggested changes.

 

Thank you.

 

 

Kind regards,

Alex

 

 

 

Von: mapserver-dev [[hidden email]] Im Auftrag von Lime, Steve D (MNIT)
Gesendet: Montag, 25. Juni 2018 16:35
An: [hidden email]
Betreff: [mapserver-dev] 7.2 release... and a question...

 

While PHP support for 7.2 was omitted  because of confusion on RFC status, I’ve been watching Alexander (@AlexanderGabriel) has been working hard the last 10 days to resurrect the SWIG/PHP work. See ticket https://github.com/mapserver/mapserver/issues/5252 and the pull request https://github.com/mapserver/mapserver/pull/5623.

 

Given the SWIG/PHP support is brand new and wouldn’t have any backwards compatibility issues. So, do we include it and have one more beta?

 

--Steve

_______________________________________________

mapserver-dev mailing list

 


_______________________________________________
mapserver-dev mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/mapserver-dev
Reply | Threaded
Open this post in threaded view
|

Re: PHP-Mapscript via SWIG

Lime, Steve D (MNIT)

I think Windows is key since Swig can’t help either.

 

From: Alexander Gabriel [mailto:[hidden email]]
Sent: Thursday, October 11, 2018 4:39 PM
To: Lime, Steve D (MNIT) <[hidden email]>; Seth G <[hidden email]>; [hidden email]
Subject: AW: [mapserver-dev] PHP-Mapscript via SWIG

 

Havgin both for some kind of transition-period is not a bad idea.

I tried several hours to get the patch from bjoern running on windows (it works fine on linux) but failed and got stuck so i focused on swig.

 

Alex

 

 

Von: mapserver-dev [[hidden email]] Im Auftrag von Lime, Steve D (MNIT)
Gesendet: Donnerstag, 11. Oktober 2018 23:11
An: Seth G; [hidden email]
Betreff: Re: [mapserver-dev] PHP-Mapscript via SWIG

 

Definitely cause for a 7.4 release. Maybe sooner rather than later. There’s also a PHP/MapScript for PHP7 out there – native PHP, no Swig out there (https://github.com/bjoernboldt/mapscript-php7, https://github.com/mapserver/mapserver/pull/5461). I’m curious if folks think both should be part of a 7.4 release. Do we want both interfaces or do we focus on SWIG only moving foward?

 

--Steve

 

From: mapserver-dev [[hidden email]] On Behalf Of Seth G
Sent: Thursday, October 11, 2018 3:41 PM
To: [hidden email]
Subject: Re: [mapserver-dev] PHP-Mapscript via SWIG

 

Hi Alex,

 

There don't seem to be any objections or concerns, and as Steve pointed out as this is brand new it won't break anything. 

I've merged to master, and will be following up with several other mapscript related changes (mainly Python). 

Perhaps this can form the basis of a 7.4 release?

 

Seth

 

--

web:http://geographika.co.uk

twitter: @geographika

 

 

On Tue, Oct 9, 2018, at 5:33 PM, Alexander Gabriel wrote:

Hi together,

 

i prepared my patches to be merged into master branch: https://github.com/mapserver/mapserver/pull/5675

 

There are a few issues in the moment which prevent testing my patches with AppVeyor (https://gitlab.kitware.com/cmake/cmake/issues/18421) and building it Thread-Safe on Windows (https://github.com/swig/swig/commit/224bb9e0232a219b7cefd23472b592b39e277f46) so only users that use current development state of SWIG and current development state of CMake will be able to compile this on Windows for Thread-Safe PHP (CMakeLists.txt checks for correct versions).

 

Because i think, there are more people waiting for PHP/Mapscript on Linux than on Windows, it would be good to merge this, don't advertise Mapscript for Windows as supported, wait until SWIG 4.0 and CMake 3.13 get released and then look for supporting Windows again.

 

I'm interessted in feedback. If you have any suggestions, ideas or any other feedback, please let me know. Seth (@geographika) offered to merge in a few days if there are no suggested changes.

 

Thank you.

 

 

Kind regards,

Alex

 

 

 

Von: mapserver-dev [[hidden email]] Im Auftrag von Lime, Steve D (MNIT)
Gesendet: Montag, 25. Juni 2018 16:35
An: [hidden email]
Betreff: [mapserver-dev] 7.2 release... and a question...

 

While PHP support for 7.2 was omitted  because of confusion on RFC status, I’ve been watching Alexander (@AlexanderGabriel) has been working hard the last 10 days to resurrect the SWIG/PHP work. See ticket https://github.com/mapserver/mapserver/issues/5252 and the pull request https://github.com/mapserver/mapserver/pull/5623.

 

Given the SWIG/PHP support is brand new and wouldn’t have any backwards compatibility issues. So, do we include it and have one more beta?

 

--Steve

_______________________________________________

mapserver-dev mailing list

 


_______________________________________________
mapserver-dev mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/mapserver-dev
Reply | Threaded
Open this post in threaded view
|

Re: PHP-Mapscript via SWIG

Alexander Gabriel

Hi again,

 

not sure what i did wrong in summer - or now ;) - but i was able to build with PHP 7.2.11 x64 NTS on Windows.

Maybe we can get this running.

Will continue tomorrow or on the weekend :)

 

How is the roadmap for 7.4?

Is there already a release-date?

 

 

Alex

 

 

Von: Lime, Steve D (MNIT) [mailto:[hidden email]]
Gesendet: Freitag, 12. Oktober 2018 00:02
An: Alexander Gabriel; Seth G; [hidden email]
Betreff: RE: [mapserver-dev] PHP-Mapscript via SWIG

 

I think Windows is key since Swig can’t help either.

 

From: Alexander Gabriel [mailto:[hidden email]]
Sent: Thursday, October 11, 2018 4:39 PM
To: Lime, Steve D (MNIT) <[hidden email]>; Seth G <[hidden email]>; [hidden email]
Subject: AW: [mapserver-dev] PHP-Mapscript via SWIG

 

Havgin both for some kind of transition-period is not a bad idea.

I tried several hours to get the patch from bjoern running on windows (it works fine on linux) but failed and got stuck so i focused on swig.

 

Alex

 

 

Von: mapserver-dev [[hidden email]] Im Auftrag von Lime, Steve D (MNIT)
Gesendet: Donnerstag, 11. Oktober 2018 23:11
An: Seth G; [hidden email]
Betreff: Re: [mapserver-dev] PHP-Mapscript via SWIG

 

Definitely cause for a 7.4 release. Maybe sooner rather than later. There’s also a PHP/MapScript for PHP7 out there – native PHP, no Swig out there (https://github.com/bjoernboldt/mapscript-php7, https://github.com/mapserver/mapserver/pull/5461). I’m curious if folks think both should be part of a 7.4 release. Do we want both interfaces or do we focus on SWIG only moving foward?

 

--Steve

 

From: mapserver-dev [[hidden email]] On Behalf Of Seth G
Sent: Thursday, October 11, 2018 3:41 PM
To: [hidden email]
Subject: Re: [mapserver-dev] PHP-Mapscript via SWIG

 

Hi Alex,

 

There don't seem to be any objections or concerns, and as Steve pointed out as this is brand new it won't break anything. 

I've merged to master, and will be following up with several other mapscript related changes (mainly Python). 

Perhaps this can form the basis of a 7.4 release?

 

Seth

 

--

web:http://geographika.co.uk

twitter: @geographika

 

 

On Tue, Oct 9, 2018, at 5:33 PM, Alexander Gabriel wrote:

Hi together,

 

i prepared my patches to be merged into master branch: https://github.com/mapserver/mapserver/pull/5675

 

There are a few issues in the moment which prevent testing my patches with AppVeyor (https://gitlab.kitware.com/cmake/cmake/issues/18421) and building it Thread-Safe on Windows (https://github.com/swig/swig/commit/224bb9e0232a219b7cefd23472b592b39e277f46) so only users that use current development state of SWIG and current development state of CMake will be able to compile this on Windows for Thread-Safe PHP (CMakeLists.txt checks for correct versions).

 

Because i think, there are more people waiting for PHP/Mapscript on Linux than on Windows, it would be good to merge this, don't advertise Mapscript for Windows as supported, wait until SWIG 4.0 and CMake 3.13 get released and then look for supporting Windows again.

 

I'm interessted in feedback. If you have any suggestions, ideas or any other feedback, please let me know. Seth (@geographika) offered to merge in a few days if there are no suggested changes.

 

Thank you.

 

 

Kind regards,

Alex

 

 

 

Von: mapserver-dev [[hidden email]] Im Auftrag von Lime, Steve D (MNIT)
Gesendet: Montag, 25. Juni 2018 16:35
An: [hidden email]
Betreff: [mapserver-dev] 7.2 release... and a question...

 

While PHP support for 7.2 was omitted  because of confusion on RFC status, I’ve been watching Alexander (@AlexanderGabriel) has been working hard the last 10 days to resurrect the SWIG/PHP work. See ticket https://github.com/mapserver/mapserver/issues/5252 and the pull request https://github.com/mapserver/mapserver/pull/5623.

 

Given the SWIG/PHP support is brand new and wouldn’t have any backwards compatibility issues. So, do we include it and have one more beta?

 

--Steve

_______________________________________________

mapserver-dev mailing list

 


_______________________________________________
mapserver-dev mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/mapserver-dev
Reply | Threaded
Open this post in threaded view
|

Re: PHP-Mapscript via SWIG

Lime, Steve D (MNIT)
I don’t want to sit on PHP7 and the other MapScript improvements and would vote for something sooner rather than later. Those are enough for 7.4 IMHO.

Planning for an 8.0 release should be more comprehensive. A good sprint activity...

—Steve



From: Alexander Gabriel <[hidden email]>
Sent: Thursday, October 11, 2018 6:01:21 PM
To: Lime, Steve D (MNIT); Seth G; [hidden email]
Subject: AW: [mapserver-dev] PHP-Mapscript via SWIG
 

Hi again,

 

not sure what i did wrong in summer - or now ;) - but i was able to build with PHP 7.2.11 x64 NTS on Windows.

Maybe we can get this running.

Will continue tomorrow or on the weekend :)

 

How is the roadmap for 7.4?

Is there already a release-date?

 

 

Alex

 

 

Von: Lime, Steve D (MNIT) [mailto:[hidden email]]
Gesendet: Freitag, 12. Oktober 2018 00:02
An: Alexander Gabriel; Seth G; [hidden email]
Betreff: RE: [mapserver-dev] PHP-Mapscript via SWIG

 

I think Windows is key since Swig can’t help either.

 

From: Alexander Gabriel [mailto:[hidden email]]
Sent: Thursday, October 11, 2018 4:39 PM
To: Lime, Steve D (MNIT) <[hidden email]>; Seth G <[hidden email]>; [hidden email]
Subject: AW: [mapserver-dev] PHP-Mapscript via SWIG

 

Havgin both for some kind of transition-period is not a bad idea.

I tried several hours to get the patch from bjoern running on windows (it works fine on linux) but failed and got stuck so i focused on swig.

 

Alex

 

 

Von: mapserver-dev [[hidden email]] Im Auftrag von Lime, Steve D (MNIT)
Gesendet: Donnerstag, 11. Oktober 2018 23:11
An: Seth G; [hidden email]
Betreff: Re: [mapserver-dev] PHP-Mapscript via SWIG

 

Definitely cause for a 7.4 release. Maybe sooner rather than later. There’s also a PHP/MapScript for PHP7 out there – native PHP, no Swig out there (https://github.com/bjoernboldt/mapscript-php7, https://github.com/mapserver/mapserver/pull/5461). I’m curious if folks think both should be part of a 7.4 release. Do we want both interfaces or do we focus on SWIG only moving foward?

 

--Steve

 

From: mapserver-dev [[hidden email]] On Behalf Of Seth G
Sent: Thursday, October 11, 2018 3:41 PM
To: [hidden email]
Subject: Re: [mapserver-dev] PHP-Mapscript via SWIG

 

Hi Alex,

 

There don't seem to be any objections or concerns, and as Steve pointed out as this is brand new it won't break anything. 

I've merged to master, and will be following up with several other mapscript related changes (mainly Python). 

Perhaps this can form the basis of a 7.4 release?

 

Seth

 

--

web:http://geographika.co.uk

twitter: @geographika

 

 

On Tue, Oct 9, 2018, at 5:33 PM, Alexander Gabriel wrote:

Hi together,

 

i prepared my patches to be merged into master branch: https://github.com/mapserver/mapserver/pull/5675

 

There are a few issues in the moment which prevent testing my patches with AppVeyor (https://gitlab.kitware.com/cmake/cmake/issues/18421) and building it Thread-Safe on Windows (https://github.com/swig/swig/commit/224bb9e0232a219b7cefd23472b592b39e277f46) so only users that use current development state of SWIG and current development state of CMake will be able to compile this on Windows for Thread-Safe PHP (CMakeLists.txt checks for correct versions).

 

Because i think, there are more people waiting for PHP/Mapscript on Linux than on Windows, it would be good to merge this, don't advertise Mapscript for Windows as supported, wait until SWIG 4.0 and CMake 3.13 get released and then look for supporting Windows again.

 

I'm interessted in feedback. If you have any suggestions, ideas or any other feedback, please let me know. Seth (@geographika) offered to merge in a few days if there are no suggested changes.

 

Thank you.

 

 

Kind regards,

Alex

 

 

 

Von: mapserver-dev [[hidden email]] Im Auftrag von Lime, Steve D (MNIT)
Gesendet: Montag, 25. Juni 2018 16:35
An: [hidden email]
Betreff: [mapserver-dev] 7.2 release... and a question...

 

While PHP support for 7.2 was omitted  because of confusion on RFC status, I’ve been watching Alexander (@AlexanderGabriel) has been working hard the last 10 days to resurrect the SWIG/PHP work. See ticket https://github.com/mapserver/mapserver/issues/5252 and the pull request https://github.com/mapserver/mapserver/pull/5623.

 

Given the SWIG/PHP support is brand new and wouldn’t have any backwards compatibility issues. So, do we include it and have one more beta?

 

--Steve

_______________________________________________

mapserver-dev mailing list

 


_______________________________________________
mapserver-dev mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/mapserver-dev