| Summary: | neverball missing all levels and data? | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Samuel Verschelde <stormi-mageia> |
| Component: | RPM Packages | Assignee: | José Jorge <lists.jjorge> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | critical | ||
| Priority: | Normal | CC: | cae, lists.jjorge |
| Version: | Cauldron | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | neverball | CVE: | |
| Status comment: | |||
|
Description
Samuel Verschelde
2016-09-28 22:34:39 CEST
Note that I've pushed two small changes to SVN but which do not solve this issue (nor cause it, as it was there before my changes). The bug itself is a bit weird, as the data dir is properly defined, and the "missing" files are actually present. Could be an issue with physfs. It's a permission issue.
For what ever reason when installed many of the files in %{_gamesdatadir}/%{name}/
are unreadable.
I fixed it in a test build by adding
chmod -R a+rX * %{buildroot}%{_gamesdatadir}/%{name}/
Here is the diff on the current svn spec
--- neverball.spec~ 2016-09-29 06:15:49.000000000 -0400
+++ neverball.spec 2016-09-29 06:17:14.000000000 -0400
@@ -44,6 +44,7 @@
# .map files are the sources for the levels generated by the buildsystem
rm -fr data/map-*/*.map
cp -a data/* %{buildroot}%{_gamesdatadir}/%{name}/
+chmod -R a+rX * %{buildroot}%{_gamesdatadir}/%{name}/
mkdir -p %{buildroot}%{_datadir}/applications
install -m 644 dist/*.desktop %{buildroot}%{_datadir}/applications
After building with the change the games runs without issue for me.CC:
(none) =>
cae Gentle ping Sorry I wasn't in the cc list. I have no cauldron system for now so I apply this patch without testing. Still, I wonder how this can have changed without changing the source tarball? Status:
NEW =>
RESOLVED |