Dependencies version in different distirbutives

Programmers discuss here anything related to FreeOrion programming. Primarily for the developers to discuss.

Moderators: Committer, Committer

Post Reply
Message
Author
o01eg
Programmer
Posts: 735
Joined: Sat Dec 10, 2011 5:46 am

Dependencies version in different distirbutives

#1 Post by o01eg » Sun Mar 15, 2020 2:55 pm

I've managed to see some dependencies version:
VersionSDK v11Ubuntu 18.04Ubuntu 19.10Debian 9Debian 10CentOS 8Fedora 30Fedora 31openSUSE 15.1
Cmake-3.103.133.73.133.113.143.143.10
Python3.53.63.73.53.73.63.73.73.5
Boost1.701.651.671.621.671.661.691.691.66
SDL2.0.82.0.82.0.102.0.52.0.92.0.82.0.92.0.102.0.8
What about to raise minimum required boost version to 1.62 ?
Last edited by o01eg on Tue Mar 17, 2020 6:43 am, edited 1 time in total.
Gentoo Linux x64, gcc-9.2, boost-1.72.0
Ubuntu Server 18.04 x64, gcc-7.4, boost-1.65.1
Welcome to the slow multiplayer game at freeorion-lt.dedyn.io. Version 2020-03-30.025f545.
Donations are welcome: BTC:14XLekD9ifwqLtZX4iteepvbLQNYVG87zK

Ophiuchus
Programmer
Posts: 1267
Joined: Tue Sep 30, 2014 10:01 am
Location: Wall IV

Re: Dependencies version in different distirbutives

#2 Post by Ophiuchus » Sun Mar 15, 2020 4:27 pm

Debian looks well maintained stretch (Debian 9) has 0.4.6 and 0.4.8 via official backports repositories. I do not know who supports debian, but in principle if you run debian 9 you have direct access to snapd (via apt install), so in principle the debian-9 for 0.4.9 story could be: install it via snap. Should be tested though beforehand.

I base the snap builds on the long-term stable cores (core18 aka ubuntu 18.4), so a bump of minimal boost up to 1.65 would be fine for me.

I am not sure when core20 is stable (it should be in april) - as far as i can see it will have boost 1.71.
Any code or patches in anything posted here is released under the CC and GPL licences in use for the FO project.

Furthermore, I propse... we should default to four combat rounds instead of three ...for the good of playerkind.

raptor
Space Squid
Posts: 84
Joined: Sat Jun 02, 2012 11:29 pm

Re: Dependencies version in different distirbutives

#3 Post by raptor » Sun Mar 15, 2020 5:02 pm

Some others:
VersionopenSUSE 15.1openSUSE Tumbleweed
Cmake3.103.16
Python2.7 (3.5 optional)3.7
Boost1.661.71
SDL2.0.82.0.12

User avatar
Geoff the Medio
Programming, Design, Admin
Posts: 12569
Joined: Wed Oct 08, 2003 1:33 am
Location: Munich

Re: Dependencies version in different distirbutives

#4 Post by Geoff the Medio » Sun Mar 15, 2020 5:18 pm

o01eg wrote:
Sun Mar 15, 2020 2:55 pm
What about to raise minimum required boost version to 1.62 ?
What would be the advantage of doing so?

User avatar
adrian_broher
Programmer
Posts: 1123
Joined: Fri Mar 01, 2013 9:52 am
Location: Germany

Re: Dependencies version in different distirbutives

#5 Post by adrian_broher » Sun Mar 15, 2020 9:19 pm

> What about to raise minimum required boost version to 1.62 ?

Is there anything that you need from 1.62 or rather from between 1.58 and 1.62?
Resident code gremlin
Attached patches are released under GPL 2.0 or later.
Git author: Marcel Metz

o01eg
Programmer
Posts: 735
Joined: Sat Dec 10, 2011 5:46 am

Re: Dependencies version in different distirbutives

#6 Post by o01eg » Tue Mar 17, 2020 5:50 am

At least we can remove some compatibility code. Moreover CI doesn't test for boost below 1.62.
Gentoo Linux x64, gcc-9.2, boost-1.72.0
Ubuntu Server 18.04 x64, gcc-7.4, boost-1.65.1
Welcome to the slow multiplayer game at freeorion-lt.dedyn.io. Version 2020-03-30.025f545.
Donations are welcome: BTC:14XLekD9ifwqLtZX4iteepvbLQNYVG87zK

User avatar
Geoff the Medio
Programming, Design, Admin
Posts: 12569
Joined: Wed Oct 08, 2003 1:33 am
Location: Munich

Re: Dependencies version in different distirbutives

#7 Post by Geoff the Medio » Wed Mar 18, 2020 9:47 am

o01eg wrote:
Tue Mar 17, 2020 5:50 am
At least we can remove some compatibility code.
I don't see a lot of relevant cases where the boost version is checked... A quick search for "BOOST_VERSION" just found

https://github.com/freeorion/freeorion/ ... s.cpp#L515

that is testing for Boost versions less than 1.66.

o01eg
Programmer
Posts: 735
Joined: Sat Dec 10, 2011 5:46 am

Re: Dependencies version in different distirbutives

#8 Post by o01eg » Wed Mar 18, 2020 2:05 pm

Geoff the Medio wrote:
Wed Mar 18, 2020 9:47 am
o01eg wrote:
Tue Mar 17, 2020 5:50 am
At least we can remove some compatibility code.
I don't see a lot of relevant cases where the boost version is checked... A quick search for "BOOST_VERSION" just found

https://github.com/freeorion/freeorion/ ... s.cpp#L515

that is testing for Boost versions less than 1.66.
Cmake has checks for "${Boost_MAJOR_VERSION}.${Boost_MINOR_VERSION}", but I found only one checks less than 1.62 at https://github.com/freeorion/freeorion/ ... s.txt#L283
Gentoo Linux x64, gcc-9.2, boost-1.72.0
Ubuntu Server 18.04 x64, gcc-7.4, boost-1.65.1
Welcome to the slow multiplayer game at freeorion-lt.dedyn.io. Version 2020-03-30.025f545.
Donations are welcome: BTC:14XLekD9ifwqLtZX4iteepvbLQNYVG87zK

Post Reply