Port GooCanvas to native GTK3/Cairo drawing#390
Merged
csete merged 1 commit intocsete:masterfrom Feb 2, 2026
Merged
Conversation
Replace all GooCanvas-based canvas widgets with GtkDrawingArea and Cairo for rendering satellite tracking visualizations: - gtk-polar-view: Polar plot for real-time satellite tracking - gtk-polar-plot: Polar plot for pass visualization - gtk-azel-plot: Azimuth/Elevation time plot - gtk-sat-map: World map with satellite positions and ground tracks - gtk-sky-glance: Timeline view of upcoming passes Key changes: - Replace GooCanvasItemModel objects with coordinate fields in structs - Implement on_draw() callbacks using Cairo API for all rendering - Add manual hit testing for mouse interactions - Store render state (points, colors, positions) in widget structures - Use gtk_widget_queue_draw() to trigger redraws Build system updates: - Remove goocanvas-2.0/3.0 pkg-config checks from configure.ac - Add explicit gtk+-3.0 dependency check - Update CI workflows and snap This eliminates the external GooCanvas library dependency, reducing build complexity and improving portability. The application now only requires GTK+ 3.0 and standard system libraries. Fixes: #369
Owner
|
Thank you much @bgermann - this is a huge help :) I am going to merge it into the master branch. Although I noticed a few things that will have to be fixed, I think it is best to move ahead based on this work. Thanks again! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Replace all GooCanvas-based canvas widgets with GtkDrawingArea and Cairo for rendering satellite tracking visualizations:
Key changes:
Build system updates:
This eliminates the external GooCanvas library dependency, reducing build complexity and improving portability. The application now only requires GTK+ 3.0 and standard system libraries.
Fixes: #369