Package Details: gpxviewer-git r369.dd78678-1

Git Clone URL: https://aur.archlinux.org/gpxviewer-git.git (read-only, click to copy)
Package Base: gpxviewer-git
Description: a simple program to visualize a gpx file (git)
Upstream URL: https://github.com/DaveDavenport/gpx-viewer
Licenses: GPL2
Conflicts: gpxviewer
Replaces: gpxviewer
Submitter: jose1711
Maintainer: jose1711
Last Packager: jose1711
Votes: 0
Popularity: 0.000000
First Submitted: 2020-06-20 21:18 (UTC)
Last Updated: 2023-07-31 20:53 (UTC)

Dependencies (6)

Required by (0)

Sources (1)

Latest Comments

OndraM commented on 2024-08-18 20:06 (UTC)

I can confirm the build fails.

../src/gpx-viewer.c: In function ‘save_as_gpx_file’:
../src/gpx-viewer.c:1809:13: error: format not a string literal and no format arguments [-Werror=format-security]
 1809 |             printf(filename);
      |             ^~~~~~
../src/gpx-viewer.c: In function ‘open_gpx_file’:
../src/gpx-viewer.c:1879:27: warning: unused variable ‘model’ [-Wunused-variable]
 1879 |             GtkTreeModel *model = (GtkTreeModel *) gtk_builder_get_object(priv->builder, "routes_store");
      |                           ^~~~~
cc1: some warnings being treated as errors
ninja: build stopped: subcommand failed.

simona commented on 2024-04-30 09:05 (UTC)

ninja: build stopped: subcommand failed.

jose1711 commented on 2023-07-31 20:53 (UTC)

@dreieck thank you, updated

dreieck commented on 2023-07-31 16:24 (UTC) (edited on 2023-07-31 16:24 (UTC) by dreieck)

The build issue reported on 2023-07-28 has been ↗ fixed upstream.

dreieck commented on 2023-07-28 08:58 (UTC)

Can you please add provides=("gpxviewer"), conflicts=('gpxviewer')?

Regards!

dreieck commented on 2023-07-28 08:50 (UTC) (edited on 2023-07-28 08:56 (UTC) by dreieck)

Build fails for me with
gpx-viewer-path-layer.vala:259.3-259.31: error: overriding method `Gpx.Viewer.PathLayer.set_view' is incompatible with base method `void Champlain.Layer.set_view (Champlain.View?)': incompatible type of parameter 1.:

[...]
[15/33] Compiling Vala source ../libgpx/gpx-parser-fit.vala ../libgpx/gpx-con....vala ../libgpx/gpx-viewer-map-view.vala ../libgpx/gpx-viewer-path-layer.vala
FAILED: libgpx/libgpx.a.p/gpx-parser-fit.c libgpx/libgpx.a.p/gpx-convert.c libgpx/libgpx.a.p/gpx-file-base.c libgpx/libgpx.a.p/gpx-graph.c libgpx/libgpx.a.p/gpx-parser-xml.c libgpx/libgpx.a.p/gpx-parser-json.c libgpx/libgpx.a.p/gpx-point.c libgpx/libgpx.a.p/gpx-playback.c libgpx/libgpx.a.p/gpx-settings.c libgpx/libgpx.a.p/gpx-track.c libgpx/libgpx.a.p/gpx-track-treemodel.c libgpx/libgpx.a.p/gpx-viewer-map-view.c libgpx/libgpx.a.p/gpx-viewer-path-layer.c libgpx/gpx.h libgpx/gpx.vapi 
valac -C --vapidir /home/[...]/.cache/yay/gpxviewer-git/src/gpxviewer-git/vapi --pkg config --use-header --disable-assert --pkg clutter-gtk-1.0 --pkg champlain-gtk-0.12 --pkg champlain-0.12 --pkg gdl-3.0 --pkg libxml-2.0 --pkg gtk+-3.0 --pkg gmodule-2.0 --color=always --directory libgpx/libgpx.a.p --basedir ../libgpx --library gpx --header libgpx/gpx.h --vapi ../gpx.vapi ../libgpx/gpx-parser-fit.vala ../libgpx/gpx-convert.vala ../libgpx/gpx-file-base.vala ../libgpx/gpx-graph.vala ../libgpx/gpx-parser-xml.vala ../libgpx/gpx-parser-json.vala ../libgpx/gpx-point.vala ../libgpx/gpx-playback.vala ../libgpx/gpx-settings.vala ../libgpx/gpx-track.vala ../libgpx/gpx-track-treemodel.vala ../libgpx/gpx-viewer-map-view.vala ../libgpx/gpx-viewer-path-layer.vala
Command-line option `--use-header` is deprecated and will be ignored
../libgpx/gpx-parser-xml.vala:86.13-86.23: warning: `null' incompatible with return type `Gpx.Point'
   86 |             return null;
      |             ^~~~~~~~~~~ 
../libgpx/gpx-graph.vala:354.10-354.19: warning: `Gtk.Menu.popup' has been deprecated since 3.22
  354 |                         menu.popup (null, null, null, event.button, event.time);
      |                         ^~~~~~~~~~                                              
../libgpx/gpx-graph.vala:678.14-678.29: warning: `Gdk.cairo_create' has been deprecated since 3.22
  678 |             var ctx = Gdk.cairo_create(win.get_window());
      |                       ^~~~~~~~~~~~~~~~                   
../libgpx/gpx-viewer-path-layer.vala:111.3-111.33: warning: `Clutter.CairoTexture' has been deprecated since 1.12
  111 |         Clutter.CairoTexture path_actor;
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
../libgpx/gpx-viewer-path-layer.vala:132.4-132.22: warning: `Clutter.Actor.paint' has been deprecated since 1.12
  132 |             content_group.paint ();
      |             ^~~~~~~~~~~~~~~~~~~    
../libgpx/gpx-viewer-path-layer.vala:138.4-138.22: warning: `Clutter.Actor.paint' has been deprecated since 1.12
  138 |             content_group.paint ();
      |             ^~~~~~~~~~~~~~~~~~~    
../libgpx/gpx-viewer-path-layer.vala:259.3-259.31: error: overriding method `Gpx.Viewer.PathLayer.set_view' is incompatible with base method `void Champlain.Layer.set_view (Champlain.View?)': incompatible type of parameter 1.
  259 |         public override void set_view (Champlain.View view)
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~                      
../libgpx/gpx-viewer-path-layer.vala:80.3-80.21: warning: Gpx.Viewer.PathLayer.visible hides inherited property `Clutter.Actor.visible'. Use the `new' keyword if hiding was intentional
   80 |         public bool visible {
      |         ^~~~~~~~~~~~~~~~~~~  
../libgpx/gpx-viewer-path-layer.vala:208.13-208.29: warning: `Clutter.CairoTexture.create' has been deprecated since 1.8
  208 |             var cr = path_actor.create ();
      |                      ^~~~~~~~~~~~~~~~~    
../libgpx/gpx-viewer-path-layer.vala:176.5-176.26: warning: `Clutter.Actor.unparent' has been deprecated since 1.10
  176 |                 content_group.unparent ();
      |                 ^~~~~~~~~~~~~~~~~~~~~~    
../libgpx/gpx-viewer-path-layer.vala:122.20-122.39: warning: `Clutter.Group.new' has been deprecated since 1.10
  122 |             content_group = new Clutter.Group ();
      |                             ^~~~~~~~~~~~~~~~~~~~ 
../libgpx/gpx-viewer-path-layer.vala:123.4-123.27: warning: `Clutter.Actor.set_parent' has been deprecated since 1.10
  123 |             content_group.set_parent (this);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~        
../libgpx/gpx-viewer-path-layer.vala:124.21-124.40: warning: `Clutter.CairoTexture' has been deprecated since 1.12
  124 |             path_actor = new Clutter.CairoTexture (256, 256);
      |                              ^~~~~~~~~~~~~~~~~~~~            
../libgpx/gpx-viewer-path-layer.vala:125.4-125.26: warning: `Clutter.Container.add_actor' has been deprecated since 1.10
  125 |             content_group.add_actor (path_actor);
      |             ^~~~~~~~~~~~~~~~~~~~~~~              
Compilation failed: 1 error(s), 13 warning(s)
ninja: build stopped: subcommand failed.

↗ Upstream bug report.

Regards!