Merge lp:~widelands-dev/widelands/bug-1406298-campvis-file into lp:widelands

Proposed by GunChleoc
Status: Merged
Merged at revision: 8744
Proposed branch: lp:~widelands-dev/widelands/bug-1406298-campvis-file
Merge into: lp:widelands
Diff against target: 11 lines (+1/-1)
1 file modified
src/wui/load_or_save_game.cc (+1/-1)
To merge this branch: bzr merge lp:~widelands-dev/widelands/bug-1406298-campvis-file
Reviewer Review Type Date Requested Status
Klaus Halfmann Approve
Review via email: mp+346915@code.launchpad.net

Commit message

Check for campvis file with and without fix_cross_file

Description of the change

This branch is completely untested. We need to verify the bug on trunk on WIndows, then check if this branch fixes it.

To post a comment you must log in.
Revision history for this message
bunnybot (widelandsofficial) wrote :

Continuous integration builds have changed state:

Travis build 3555. State: failed. Details: https://travis-ci.org/widelands/widelands/builds/384302515.
Appveyor build 3359. State: failed. Details: https://ci.appveyor.com/project/widelands-dev/widelands/build/_widelands_dev_widelands_bug_1406298_campvis_file-3359.

Revision history for this message
Klaus Halfmann (klaus-halfmann) wrote :

Thats odd. In trunk I find the contant as:

logic/filesystem_constants.h:const std::string kCampVisFile = "save/campvis";

but here it is kCampvisFile?

The save/campvis is some properties files is used to maker later
campaings visible once there predecessor have been solved.

Revision history for this message
Klaus Halfmann (klaus-halfmann) wrote :

Fixed that typo, can test this with windows 10 only, though.

review: Needs Resubmitting
Revision history for this message
Klaus Halfmann (klaus-halfmann) wrote :

OK, can reproduce this on master-3414

Revision history for this message
bunnybot (widelandsofficial) wrote :

Continuous integration builds have changed state:

Travis build 3616. State: passed. Details: https://travis-ci.org/widelands/widelands/builds/396375715.
Appveyor build 3416. State: failed. Details: https://ci.appveyor.com/project/widelands-dev/widelands/build/_widelands_dev_widelands_bug_1406298_campvis_file-3416.

Revision history for this message
Klaus Halfmann (klaus-halfmann) wrote :

Uhhm appveyor fails when bulding the installer with:

Error on line 112 in c:\projects\widelands\utils\win32\innosetup\Widelands.iss:
Source file "C:\msys64\mingw64\bin\libicuuc58.dll" does not exist.
or "C:\msys64\mingw32\bin\libicuuc58.dll"

Who knows about that windows setup? Sound like some mingw configuration is broken?

Revision history for this message
kaputtnik (franku) wrote :

You have to merge trunk into this branch, because trunk has fixed this error. See: https://wl.widelands.org/forum/topic/4217/?page=2#post-25160

Revision history for this message
Klaus Halfmann (klaus-halfmann) wrote :

kaputtnick: thanks for the hint, lets try again.

review: Needs Resubmitting
Revision history for this message
Klaus Halfmann (klaus-halfmann) wrote :

Still no Appveyor build here?

Revision history for this message
bunnybot (widelandsofficial) wrote :

Continuous integration builds have changed state:

Travis build 3638. State: errored. Details: https://travis-ci.org/widelands/widelands/builds/401293949.
Appveyor build 3437. State: success. Details: https://ci.appveyor.com/project/widelands-dev/widelands/build/_widelands_dev_widelands_bug_1406298_campvis_file-3437.

Revision history for this message
GunChleoc (gunchleoc) wrote :

Tested under Linux and Windows. Thanks for cleaning up after me!

@bunnybot merge

Revision history for this message
bunnybot (widelandsofficial) wrote :

Refusing to merge, since Travis is not green. Use @bunnybot merge force for merging anyways.

Travis build 3638. State: errored. Details: https://travis-ci.org/widelands/widelands/builds/401293949.

Revision history for this message
Klaus Halfmann (klaus-halfmann) wrote :

One transient failure on Travis with one job only.

> WARNING: The following packages cannot be authenticated!
> zlib1g-dev zlib1g

appveyor is ok

@bunnybot merge force

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'src/wui/load_or_save_game.cc'
2--- src/wui/load_or_save_game.cc 2018-06-08 16:36:29 +0000
3+++ src/wui/load_or_save_game.cc 2018-07-07 20:12:27 +0000
4@@ -318,7 +318,7 @@
5 Widelands::GamePreloadPacket gpdp;
6
7 for (const std::string& gamefilename : gamefiles) {
8- if (gamefilename == g_fs->fix_cross_file("save/campvis")) {
9+ if (gamefilename == kCampVisFile || gamefilename == g_fs->fix_cross_file(kCampVisFile)) {
10 continue;
11 }
12

Subscribers

People subscribed via source and target branches

to status/vote changes: