Dependencies version in different distirbutives

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

Moderator: Committer

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

Dependencies version in different distirbutives

#1 Post by o01eg »

I've managed to see some dependencies version:
Version SDK v12 Ubuntu 18.04 LTS Ubuntu 20.04 LTS Ubuntu 21.04 Debian 10 stable Debian 11 testing CentOS 8 Fedora 30 Fedora 31 Fedora 32 Fedora 33 Fedora 34 openSUSE 15.2 openSUSE 15.3 Android
Cmake - 3.10 3.16.3 3.18.4 3.13 3.18.4 3.11 3.14 3.14 3.17 3.18 3.19 3.17 3.17 3.10 (or system any)
Python 3.6 3.6 3.8.2 3.9.2 3.7 3.9.2 3.6 3.7 3.7 3.8.2 3.9.0 3.9.4 3.6 3.6 3.6
Boost 1.74 1.65 1.71.0 1.74.0 1.67 1.74.0 1.66 1.69 1.69 1.69 1.73 1.75 1.66 1.75 1.74
SDL 2.0.8 2.0.8 2.0.10 2.0.14 2.0.9 2.0.14 2.0.8 2.0.9 2.0.10 2.0.12 2.0.12 2.0.12 2.0.8 2.0.8 -
What about to raise minimum required boost version to 1.62 ?
Last edited by o01eg on Tue Apr 27, 2021 4:54 am, edited 6 times in total.
Gentoo Linux x64, gcc-10.2, boost-1.75.0
Ubuntu Server 20.04 x64, gcc-9.3, boost-1.71.0
Welcome to the slow multiplayer game at freeorion-lt.dedyn.io.Version 0.4.10.1.
Donations are welcome: BTC:14XLekD9ifwqLtZX4iteepvbLQNYVG87zK

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

Re: Dependencies version in different distirbutives

#2 Post by Ophiuchus »

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.

Look, ma... four combat bouts!

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

Re: Dependencies version in different distirbutives

#3 Post by raptor »

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: 12971
Joined: Wed Oct 08, 2003 1:33 am
Location: Munich

Re: Dependencies version in different distirbutives

#4 Post by Geoff the Medio »

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

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

Re: Dependencies version in different distirbutives

#5 Post by adrian_broher »

> 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: 1181
Joined: Sat Dec 10, 2011 5:46 am

Re: Dependencies version in different distirbutives

#6 Post by o01eg »

At least we can remove some compatibility code. Moreover CI doesn't test for boost below 1.62.
Gentoo Linux x64, gcc-10.2, boost-1.75.0
Ubuntu Server 20.04 x64, gcc-9.3, boost-1.71.0
Welcome to the slow multiplayer game at freeorion-lt.dedyn.io.Version 0.4.10.1.
Donations are welcome: BTC:14XLekD9ifwqLtZX4iteepvbLQNYVG87zK

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

Re: Dependencies version in different distirbutives

#7 Post by Geoff the Medio »

o01eg wrote: Tue Mar 17, 2020 5:50 amAt 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: 1181
Joined: Sat Dec 10, 2011 5:46 am

Re: Dependencies version in different distirbutives

#8 Post by o01eg »

Geoff the Medio wrote: Wed Mar 18, 2020 9:47 am
o01eg wrote: Tue Mar 17, 2020 5:50 amAt 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-10.2, boost-1.75.0
Ubuntu Server 20.04 x64, gcc-9.3, boost-1.71.0
Welcome to the slow multiplayer game at freeorion-lt.dedyn.io.Version 0.4.10.1.
Donations are welcome: BTC:14XLekD9ifwqLtZX4iteepvbLQNYVG87zK

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

Re: Dependencies version in different distirbutives

#9 Post by o01eg »

Updated distros tables and removed those with python 3.5.
Gentoo Linux x64, gcc-10.2, boost-1.75.0
Ubuntu Server 20.04 x64, gcc-9.3, boost-1.71.0
Welcome to the slow multiplayer game at freeorion-lt.dedyn.io.Version 0.4.10.1.
Donations are welcome: BTC:14XLekD9ifwqLtZX4iteepvbLQNYVG87zK

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

Re: Dependencies version in different distirbutives

#10 Post by o01eg »

I think we could raise minimal cmake to 3.10 and maybe even boost to 1.65.
Gentoo Linux x64, gcc-10.2, boost-1.75.0
Ubuntu Server 20.04 x64, gcc-9.3, boost-1.71.0
Welcome to the slow multiplayer game at freeorion-lt.dedyn.io.Version 0.4.10.1.
Donations are welcome: BTC:14XLekD9ifwqLtZX4iteepvbLQNYVG87zK

Post Reply