When I use the attached patch, the RPM build process fails on the Fedora development version:
LC_ALL=C /usr/bin/intltool-merge -d -u -c ./po/.intltool-merge-cache ./po data/gpx-viewer.desktop.in data/gpx-viewer.desktop
Generating and caching the translation database
Merging translations into data/gpx-viewer.desktop.
gpx-graph.vala:54.14-54.14: error: only automatic properties can have default values
default = 4;
^
Compilation failed: 1 error(s), 0 warning(s)
make[2]: *** [gpx_viewer_vala.stamp] Error 1
make[2]: *** Waiting for unfinished jobs....
src/gpx-viewer.c: In function 'route_playback_tick':
src/gpx-viewer.c:461: warning: passing argument 2 of 'gpx_graph_set_highlight' makes integer from pointer without a cast
./gpx.h:166: note: expected 'time_t' but argument is of type 'time_t *'
src/gpx-viewer.c:466: warning: passing argument 2 of 'gpx_graph_set_highlight' makes integer from pointer without a cast
./gpx.h:166: note: expected 'time_t' but argument is of type 'time_t *'
make[2]: Leaving directory `/home/fab/rpmbuild/BUILD/gpx-viewer-0.1.2'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/fab/rpmbuild/BUILD/gpx-viewer-0.1.2'
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.Py2Htc (%build)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.Py2Htc (%build)
When I use the attached patch, the RPM build process fails on the Fedora development version:
LC_ALL=C /usr/bin/ intltool- merge -d -u -c ./po/.intltool- merge-cache ./po data/gpx- viewer. desktop. in data/gpx- viewer. desktop viewer. desktop. vala:54. 14-54.14: error: only automatic properties can have default values vala.stamp] Error 1 playback_ tick': viewer. c:461: warning: passing argument 2 of 'gpx_graph_ set_highlight' makes integer from pointer without a cast viewer. c:466: warning: passing argument 2 of 'gpx_graph_ set_highlight' makes integer from pointer without a cast fab/rpmbuild/ BUILD/gpx- viewer- 0.1.2' fab/rpmbuild/ BUILD/gpx- viewer- 0.1.2' rpm-tmp. Py2Htc (%build)
Generating and caching the translation database
Merging translations into data/gpx-
gpx-graph.
default = 4;
^
Compilation failed: 1 error(s), 0 warning(s)
make[2]: *** [gpx_viewer_
make[2]: *** Waiting for unfinished jobs....
src/gpx-viewer.c: In function 'route_
src/gpx-
./gpx.h:166: note: expected 'time_t' but argument is of type 'time_t *'
src/gpx-
./gpx.h:166: note: expected 'time_t' but argument is of type 'time_t *'
make[2]: Leaving directory `/home/
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/
make: *** [all] Error 2
error: Bad exit status from /var/tmp/
RPM build errors: rpm-tmp. Py2Htc (%build)
Bad exit status from /var/tmp/