Latest Posts

Topic: How to try current dev version on Debian?

PkK

Topic Opener
Joined: 2012-01-06, 11:19
Posts: 236
Ranking
Widelands-Forum-Junkie
Posted at: 2020-04-13, 18:29

I'd like to play the current development version on Debian. Is that possible?

In the past I always just compiled it myself, but now bug #3783 prevents me from doing so.

So I tried the recommended method from https://www.widelands.org/wiki/DownloadPage/#debianubuntu with the widelands-dev ppa, but on apt-get update, I get "E: Das Depot »http://ppa.launchpad.net/widelands-dev/widelands-daily/ubuntu focal Release« enthält keine Release-Datei. N: Eine Aktualisierung von solch einem Depot kann nicht auf eine sichere Art durchgeführt werden, daher ist es standardmäßig deaktiviert." and subsequent apt-get install will install the package from the Debian servers, i.e. build 20.


Top Quote
Nordfriese
Avatar
Joined: 2017-01-17, 17:07
Posts: 1949
OS: Debian Testing
Version: Latest master
Ranking
One Elder of Players
Location: 0x55555d3a34c0
Posted at: 2020-04-13, 18:34

I wasn't aware that Ubuntu Focal was already released? Currently the PPA supports only: Bionic Disco Eoan Trusty Xenial.
I now added Focal to the build targets, we'll have to wait though whether it will work straight away. (in the past adding a new distro often required some experiments until it built correctly)

Edit: Build is running…

Edited: 2020-04-13, 18:53

Top Quote
Nordfriese
Avatar
Joined: 2017-01-17, 17:07
Posts: 1949
OS: Debian Testing
Version: Latest master
Ranking
One Elder of Players
Location: 0x55555d3a34c0
Posted at: 2020-04-13, 18:59

No, of course it's not working straight away. The buildlog reports missing dependencies. Unfortunately I have no clue whatsoever where in the repo this needs to be fixed…


Top Quote
Nordfriese
Avatar
Joined: 2017-01-17, 17:07
Posts: 1949
OS: Debian Testing
Version: Latest master
Ranking
One Elder of Players
Location: 0x55555d3a34c0
Posted at: 2020-04-13, 19:09

Okay supposedly python2 has reached the end of its lifetime and that's why Focal has dropped support for it. I will try to just replace it with python3 and I hope that I will not break support for older distros with this…


Top Quote
simplypeachy

Joined: 2009-04-23, 11:42
Posts: 153
Ranking
At home in WL-forums
Location: Hampshire, UK
Posted at: 2020-04-13, 23:56

PkK, I clone the GitHub repo and build from there. The repo has the build scripts you need and the prerequisites are few, and easily installed.


WARNING: New-style view packet not found. There may be strange effects regarding unseen areas.
_aD on IRC

Top Quote
PkK

Topic Opener
Joined: 2012-01-06, 11:19
Posts: 236
Ranking
Widelands-Forum-Junkie
Posted at: 2020-04-14, 07:20

simplypeachy wrote:

PkK, I clone the GitHub repo and build from there. The repo has the build scripts you need and the prerequisites are few, and easily installed.

That only works with an old SDL. If you have a current SDL installed, it fails due to widelands bug #3783.

P.S.: AFAIK Debian has a patch for bug #3783, used to build the Debian package, but I didn't try merging that patch on an upstream widelands source yet.

Edited: 2020-04-14, 07:26

Top Quote
PkK

Topic Opener
Joined: 2012-01-06, 11:19
Posts: 236
Ranking
Widelands-Forum-Junkie
Posted at: 2020-04-14, 07:25

Apparently the instructions at https://www.widelands.org/wiki/Download/ resulting in unattended-upgrades being enabled on Debian. This morning I found my fans running high with an unattended-upgrades process taking 100% of a CPU core.

Is there some way to just find the .deb behind that weird PPA stuff, so I can just install it via dpkg and avoid all those problems of having to deal with the PPA?


Top Quote
Nordfriese
Avatar
Joined: 2017-01-17, 17:07
Posts: 1949
OS: Debian Testing
Version: Latest master
Ranking
One Elder of Players
Location: 0x55555d3a34c0
Posted at: 2020-04-14, 08:29

The reason why the PPA doesn't seem to be working for you is that your operating system is to recent. It tries to download a Widelands version compiled for 20.04 (Focal) which is not supported yet. I'm now trying to get that running, I'll ping you here when I succeed, then the daily PPA should work for you again.

Edit: Alternatively you can go to The PPA here and download a package for an older distro, e.g. eoan

Edited: 2020-04-14, 08:30

Top Quote