Nightly flatpak builds

Get help with compiling or installing the game, and discuss announcements of new official releases.

Moderators: Forum Moderators, Developers

Post Reply
User avatar
loonycyborg
Windows Packager
Posts: 273
Joined: April 1st, 2008, 4:45 pm
Location: Russia/Moscow

Nightly flatpak builds

Post by loonycyborg » March 2nd, 2018, 1:05 pm

A nightly build of wesnoth master branch is available as a flatpak package now.
Flatpak is a new package format for linux distros that allows distro-independent releases as well as runs applications in a sandbox for security.
You can check here how to set it up on your distro.

The procedure to install wesnoth nightly is as follows:

Code: Select all

flatpak install --from http://files.wesnoth.org/wesnoth-nightly.flatpakref
To run:

Code: Select all

flatpak run org.wesnoth.Wesnoth
To update:

Code: Select all

flatpak update
The update process can use deltas to fetch only changes between versions rather than downloading everything from scratch every time.

Note that flatpak of latest stable release is available on flathub now: https://flathub.org/apps/details/org.wesnoth.Wesnoth
"meh." - zookeeper

User avatar
Pentarctagon
Forum Administrator
Posts: 3547
Joined: March 22nd, 2009, 10:50 pm
Location: Earth (occasionally)

Re: Nightly flatpak builds

Post by Pentarctagon » March 2nd, 2018, 2:56 pm

Trying to connect to the add-ons server results in a crash, with the following printed to the terminal:

Code: Select all

20180302 08:55:32 error addons-client: add-on 'Gweddyn_the_Ruler' has an icon which cannot be found: 'units/player/rulerking.png~RC(magenta>green)'
20180302 08:55:32 error addons-client: add-on 'Water_Era' has an icon which cannot be found: 'projectiles/nagas_merman.png'
Caught general 'St8bad_cast' exception:
std::bad_cast
99 little bugs in the code, 99 little bugs
take one down, patch it around
-2,147,483,648 little bugs in the code

User avatar
loonycyborg
Windows Packager
Posts: 273
Joined: April 1st, 2008, 4:45 pm
Location: Russia/Moscow

Re: Nightly flatpak builds

Post by loonycyborg » March 2nd, 2018, 3:42 pm

Hmm interesting, seems to be specific to flatpak build. Will investigate.
"meh." - zookeeper

User avatar
loonycyborg
Windows Packager
Posts: 273
Joined: April 1st, 2008, 4:45 pm
Location: Russia/Moscow

Re: Nightly flatpak builds

Post by loonycyborg » March 2nd, 2018, 8:11 pm

Should be fixed now.
"meh." - zookeeper

User avatar
Pentarctagon
Forum Administrator
Posts: 3547
Joined: March 22nd, 2009, 10:50 pm
Location: Earth (occasionally)

Re: Nightly flatpak builds

Post by Pentarctagon » March 2nd, 2018, 8:42 pm

Yep, works for me now.
99 little bugs in the code, 99 little bugs
take one down, patch it around
-2,147,483,648 little bugs in the code

phocasbyz
Posts: 12
Joined: February 4th, 2018, 12:31 pm

Re: Nightly flatpak builds

Post by phocasbyz » March 3rd, 2018, 3:11 pm

nice job

it could be fine to add this there
https://wiki.wesnoth.org/WesnothBinariesLinux

User avatar
Pentarctagon
Forum Administrator
Posts: 3547
Joined: March 22nd, 2009, 10:50 pm
Location: Earth (occasionally)

Re: Nightly flatpak builds

Post by Pentarctagon » March 3rd, 2018, 4:02 pm

phocasbyz wrote:
March 3rd, 2018, 3:11 pm
nice job

it could be fine to add this there
https://wiki.wesnoth.org/WesnothBinariesLinux
Done.
99 little bugs in the code, 99 little bugs
take one down, patch it around
-2,147,483,648 little bugs in the code

User avatar
Crow_T
Posts: 850
Joined: February 24th, 2011, 4:20 am

Re: Nightly flatpak builds

Post by Crow_T » March 3rd, 2018, 8:02 pm

Very cool news, thanks for setting this up

Choicerer
Posts: 238
Joined: April 29th, 2017, 11:37 pm

Re: Nightly flatpak builds

Post by Choicerer » May 10th, 2018, 2:05 pm

Hi, this seems to be broken?

Code: Select all

error: GPG verification enabled, but no summary signatures found (use gpg-verify
-summary=false in remote config to disable)
If i set that to false in the config I get:

Code: Select all

error: Remote listing for org.wesnoth.Wesnoth-origin not available; server has no summary file
Check the URL passed to remote-add was valid
Edit:
I'm new to the Flatpak thing, but I'm using an obscure distro called Bodhi Linux. My remote config file for wesnoth says

Code: Select all

url=http://baldras.wesnoth.org:8080/job/Wesnoth/branch=master,compiler=flatpak-builder,label=Fedora/ws/repo
Could the problem be it thinks I'm on Fedora?

User avatar
loonycyborg
Windows Packager
Posts: 273
Joined: April 1st, 2008, 4:45 pm
Location: Russia/Moscow

Re: Nightly flatpak builds

Post by loonycyborg » May 11th, 2018, 10:01 pm

Right now flatpak builds of master are broken(it seems due to lack of GLEW in freedesktop runtime), and master itself is unplayable due to lots of WIP work in it. Releases of 1.14 as flatpaks are available at flathub: https://flathub.org/apps/details/org.wesnoth.Wesnoth
"meh." - zookeeper

Choicerer
Posts: 238
Joined: April 29th, 2017, 11:37 pm

Re: Nightly flatpak builds

Post by Choicerer » May 12th, 2018, 6:49 pm

That works, thanks!

Post Reply