Loading...
  OR  Zero-K Name:    Password:   

Post edit history

Help make portable zip with spring engine for Linux

To display differences between versions, select one or more edits in the list using checkboxes and click "diff selected"
Post edit history
Date Editor Before After
7/14/2012 10:00:41 PMCZrankAdminLicho before revert after revert
Before After
1 As you know Zero-K lobby supports multiple engine versions on windows and downloads them as needed. 1 As you know Zero-K lobby supports multiple engine versions on windows and downloads them as needed.
2 \n 2 \n
3 We would like to achieve same on linux, however atm spring engine uses lots of .so dependencies. 3 We would like to achieve same on linux, however atm spring engine uses lots of .so dependencies.
4 \n 4 \n
5 If you got help we would like to test if such zip can be created and what libs must it include to work on most distros. 5 If you want to help, we would like to test if such zip can be created and what libs must it include to work on most distros.
6 \n 6 \n
7 You can use something like 7 You can use something like
8 \n 8 \n
9 ldd /usr/games/spring | sed -rn "s/.*=> ([^ ]+).*/\1/p" 9 ldd /usr/games/spring | sed -rn "s/.*=> ([^ ]+).*/\1/p"
10 \n 10 \n
11 or 11 or
12 \n 12 \n
13 ldd /usr/games/spring | sed -rn "s/.*=> ([^ ]+).*/\1/p" | egrep -i "libboost|libfreetype|libpng|libstdc++"/usr/lib/x86_64-linux-gnu/libfreetype.so.6 13 ldd /usr/games/spring | sed -rn "s/.*=> ([^ ]+).*/\1/p" | egrep -i "libboost|libfreetype|libpng|libstdc++"/usr/lib/x86_64-linux-gnu/libfreetype.so.6
14 \n 14 \n
15 to pick likely candidates. 15 to pick likely candidates.
16 \n 16 \n
17 Resulting spring binary + .so should be copied to machine without spring and tested. 17 Resulting spring binary + .so should be copied to machine without spring and tested.
18 \n 18 \n
19 If it works, automated script should be created for buildbot so that new engine versions are packed automatically. 19 If it works, automated script should be created for buildbot so that new engine versions are packed automatically.
20 \n 20 \n
21 It would be great if someone could help us test that out. None of the devs uses liunx. 21 It would be great if someone could help us test that out. None of the devs uses liunx.
22 \n 22 \n
23 If this works we can make ZKL work on linux and take advantage of this. 23 If this works we can make ZKL work on linux and take advantage of this.
24 \n 24 \n
25 \n 25 \n