openspades
openspades copied to clipboard
Real Snapcraft support
- [ ] Update the Snapcraft package to the latest version
- [ ] Disable automatic update checking on certain distribution channels that provide automatic updates by themselves
- [ ] Automate the deploy process
Thanks for this. It is just what I need. Will wait for this before updating.
I'm now use this script. For easy install latest version:
#!/bin/bash
sudo apt install pkg-config libglew-dev libcurl3-openssl-dev libsdl2-dev libsdl2-image-dev libalut-dev xdg-utils libfreetype6-dev libopus-dev libopusfile-dev cmake
git clone https://github.com/yvt/openspades.git
cd openspades
mkdir openspades.mk
cd openspades.mk
cmake .. -DCMAKE_BUILD_TYPE=RelWithDebInfo
make
sudo make install
sudo apt autoremove libglew-dev libcurl3-openssl-dev libsdl2-dev libsdl2-image-dev libalut-dev libfreetype6-dev libopus-dev libopusfile-dev
sudo apt install libglew1.13 libcurl3 libsdl2-2.0-0 libsdl2-image-2.0-0 libalut0 libfreetype6 libopus0 libopusfile0
Note that this script installs the current git development version which might have errors or might not even compile. It is really better to either clone the correct tag like this: git clone --branch v0.1.2
or to fetch the tar.gz of the latest release via wget
I get this error when doing 'make':
/home/barney/openspades/Sources/Core/SettingSet.cpp: In constructor ‘spades::SettingSet::ItemHandle::ItemHandle(spades::SettingSet&, const string&, spades::SettingSet::ItemFlags)’:
/home/barney/openspades/Sources/Core/SettingSet.cpp:25:68: error: invalid initialization of non-const reference of type ‘spades::SettingSet&’ from an rvalue of type ‘
Is that the development branch? You can get a stable branch with something like git clone --branch v0.1.2
as above.
(Also, you can surround code blocks with three backticks (```
) on their own line for better readability.)
/home/barney/openspades/Sources/Core/SettingSet.cpp: In constructor ‘spades::SettingSet::ItemHandle::ItemHandle(spades::SettingSet&, const string&, spades::SettingSet::ItemFlags)’:
/home/barney/openspades/Sources/Core/SettingSet.cpp:25:68: error: invalid initialization of non-const reference of type ‘spades::SettingSet&’ from an rvalue of type ‘’
: set{set}, handle{name, nullptr}, flags{flags}, modified{true} {
^
make[2]: *** [Sources/CMakeFiles/OpenSpades.dir/Core/SettingSet.cpp.o] Error 1
make[1]: *** [Sources/CMakeFiles/OpenSpades.dir/all] Error 2
make: *** [all] Error 2
)
So does this mean that the snap package will be updated to the latest version? (0.1.5) I can't wait! Thanks yvt!
No, this means adding Snapcraft support has been on a wish list for years.