Nightly flatpak builds

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

Moderator: Forum Moderators

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

Nightly flatpak builds

Post by loonycyborg »

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
Project Manager
Posts: 5496
Joined: March 22nd, 2009, 10:50 pm
Location: Earth (occasionally)

Re: Nightly flatpak builds

Post by Pentarctagon »

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: 295
Joined: April 1st, 2008, 4:45 pm
Location: Russia/Moscow

Re: Nightly flatpak builds

Post by loonycyborg »

Hmm interesting, seems to be specific to flatpak build. Will investigate.
"meh." - zookeeper
User avatar
loonycyborg
Windows Packager
Posts: 295
Joined: April 1st, 2008, 4:45 pm
Location: Russia/Moscow

Re: Nightly flatpak builds

Post by loonycyborg »

Should be fixed now.
"meh." - zookeeper
User avatar
Pentarctagon
Project Manager
Posts: 5496
Joined: March 22nd, 2009, 10:50 pm
Location: Earth (occasionally)

Re: Nightly flatpak builds

Post by Pentarctagon »

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: 15
Joined: February 4th, 2018, 12:31 pm

Re: Nightly flatpak builds

Post by phocasbyz »

nice job

it could be fine to add this there
https://wiki.wesnoth.org/WesnothBinariesLinux
User avatar
Pentarctagon
Project Manager
Posts: 5496
Joined: March 22nd, 2009, 10:50 pm
Location: Earth (occasionally)

Re: Nightly flatpak builds

Post by Pentarctagon »

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: 851
Joined: February 24th, 2011, 4:20 am

Re: Nightly flatpak builds

Post by Crow_T »

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 »

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: 295
Joined: April 1st, 2008, 4:45 pm
Location: Russia/Moscow

Re: Nightly flatpak builds

Post by loonycyborg »

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 »

That works, thanks!
phocasbyz
Posts: 15
Joined: February 4th, 2018, 12:31 pm

Re: Nightly flatpak builds

Post by phocasbyz »

hello

is there any hope to get the 15.2 in a nightly or beta flatpak ?
User avatar
Pentarctagon
Project Manager
Posts: 5496
Joined: March 22nd, 2009, 10:50 pm
Location: Earth (occasionally)

Re: Nightly flatpak builds

Post by Pentarctagon »

phocasbyz wrote: January 22nd, 2020, 9:36 am hello

is there any hope to get the 15.2 in a nightly or beta flatpak ?
The nightly flatpak instructions can be found here: https://wiki.wesnoth.org/WesnothBinariesLinux#Flatpak
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: 15
Joined: February 4th, 2018, 12:31 pm

Re: Nightly flatpak builds

Post by phocasbyz »

Pentarctagon wrote: January 22nd, 2020, 1:31 pm The nightly flatpak instructions can be found here: https://wiki.wesnoth.org/WesnothBinariesLinux#Flatpak
it's only a link to THIS post, seems we have a deadlock here :roll:
Note that flatpak of latest stable release is available on flathub now: https://flathub.org/apps/details/org.wesnoth.Wesnoth
only show "September 22, 2019 1.14.9" not the 1.15.2

Code: Select all

 $ flatpak list
La Bataille pour Wesnoth                             org.wesnoth.Wesnoth                       1.14.9       stable     system
i thought 1.15.2 was the new stable release

...

i removed the main flatpak to reinstall

Code: Select all

 flatpak install --from http://files.wesnoth.org/wesnoth-nightly.flatpakref
...
$ flatpak list
La Bataille pour Wesnoth                          org.wesnoth.Wesnoth                              master  wesnoth-origin  system
we have no version number in the new list
but after launch it shows 1.15.2 version dev

thanks for the hints
User avatar
Pentarctagon
Project Manager
Posts: 5496
Joined: March 22nd, 2009, 10:50 pm
Location: Earth (occasionally)

Re: Nightly flatpak builds

Post by Pentarctagon »

Even numbered releases (1.12.x, 1.14.x, etc) are stable releases, odd numbered releases (1.13.x, 1.15.x, etc) are development releases.
99 little bugs in the code, 99 little bugs
take one down, patch it around
-2,147,483,648 little bugs in the code
Post Reply