Package: amide / 1.0.6-8

Metadata

Package Version Patches format
amide 1.0.6-8 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
10_configure.ac.patch | (download)

amide-current/configure.ac | 9 5 + 4 - 0 !
1 file changed, 5 insertions(+), 4 deletions(-)

 do not try linking to non-default dirs
10_Makefile.am.patch | (download)

amide-current/src/Makefile.am | 10 4 + 6 - 0 !
1 file changed, 4 insertions(+), 6 deletions(-)

 make sure -lavcodec and -lavutil
 is propagated to the linker
10_desktop.in.patch | (download)

amide-current/etc/amide.desktop.in | 3 1 + 2 - 0 !
1 file changed, 1 insertion(+), 2 deletions(-)

 avoid warning in desktop file



libav10.patch | (download)

amide-current/src/mpeg_encode.c | 4 4 + 0 - 0 !
1 file changed, 4 insertions(+)

 fix compilation against libav 10
Bug-Debian: https://bugs.debian.org/739211
remove autdated gnome macros.patch | (download)

amide-current/Makefile.am | 1 0 + 1 - 0 !
amide-current/configure.ac | 11 3 + 8 - 0 !
amide-current/help/Makefile.am | 14 7 + 7 - 0 !
amide-current/src/amide_gnome.c | 80 9 + 71 - 0 !
4 files changed, 19 insertions(+), 87 deletions(-)

 switch to yelp help system to remove gnome-common dependency
 The patch replaces the creation installation of the applicationdocumentation
 to use the yelp and changes to code to call yelp directly.
 It also disables the unused gtk-doc completely.

debian djdecode.patch | (download)

amide-current/configure.ac | 3 1 + 2 - 0 !
amide-current/src/dcmtk_interface.cc | 2 1 + 1 - 0 !
2 files changed, 2 insertions(+), 3 deletions(-)

 use debian packaged djdecode.h.
ffmpeg 5.patch | (download)

amide-current/src/mpeg_encode.c | 34 29 + 5 - 0 !
1 file changed, 29 insertions(+), 5 deletions(-)

 fix ftbfs with ffmpeg 5.0.
typos.patch | (download)

amide-current/po/zh_CN.po | 8 4 + 4 - 0 !
amide-current/po/zh_TW.po | 8 4 + 4 - 0 !
amide-current/src/amitk_study.c | 2 1 + 1 - 0 !
amide-current/src/dcmtk_interface.cc | 2 1 + 1 - 0 !
amide-current/src/fads.c | 4 2 + 2 - 0 !
amide-current/src/legacy.c | 2 1 + 1 - 0 !
amide-current/src/tb_filter.c | 2 1 + 1 - 0 !
amide-current/src/ui_study.c | 2 1 + 1 - 0 !
8 files changed, 15 insertions(+), 15 deletions(-)

 fix typos caught by lintian.
gsettings.patch | (download)

amide-current/Makefile.am | 4 4 + 0 - 0 !
amide-current/com.github.ferdymercury.amide.gschema.xml | 363 363 + 0 - 0 !
amide-current/configure.ac | 30 4 + 26 - 0 !
amide-current/src/amide.c | 10 6 + 4 - 0 !
amide-current/src/amide_gconf.c | 130 60 + 70 - 0 !
amide-current/src/amitk_preferences.c | 75 42 + 33 - 0 !
amide-current/src/raw_data_import.c | 50 25 + 25 - 0 !
amide-current/src/tb_export_data_set.c | 36 18 + 18 - 0 !
amide-current/src/tb_roi_analysis.c | 30 15 + 15 - 0 !
amide-current/src/ui_render.c | 18 9 + 9 - 0 !
amide-current/src/ui_render.h | 2 1 + 1 - 0 !
amide-current/src/ui_render_dialog.c | 6 3 + 3 - 0 !
amide-current/src/ui_series.c | 10 5 + 5 - 0 !
13 files changed, 555 insertions(+), 209 deletions(-)

 port to gsettings.
 There is no migration code; users will lose all their configuration.
 .
 I don't know why GConf was not used on Windows and macOS; I guess
gtk3+goocanvas.patch | (download)

amide-current/configure.ac | 36 10 + 26 - 0 !
amide-current/pixmaps/Makefile.am | 103 52 + 51 - 0 !
amide-current/pixmaps/icons.xml.in | 50 50 + 0 - 0 !
amide-current/po/POTFILES.in | 3 3 + 0 - 0 !
amide-current/src/Makefile.am | 24 22 + 2 - 0 !
amide-current/src/alignment_procrustes.c | 1 1 + 0 - 0 !
amide-current/src/amide.c | 370 242 + 128 - 0 !
amide-current/src/amide.h | 19 19 + 0 - 0 !
amide-current/src/amide_gconf.c | 1 1 + 0 - 0 !
amide-current/src/amitk_canvas.c | 559 297 + 262 - 0 !
amide-current/src/amitk_canvas.h | 18 9 + 9 - 0 !
amide-current/src/amitk_canvas_object.c | 101 34 + 67 - 0 !
amide-current/src/amitk_canvas_object.h | 11 3 + 8 - 0 !
amide-current/src/amitk_common.c | 93 36 + 57 - 0 !
amide-current/src/amitk_common.h | 4 2 + 2 - 0 !
amide-current/src/amitk_curve.c | 911 911 + 0 - 0 !
amide-current/src/amitk_curve.h | 101 101 + 0 - 0 !
amide-current/src/amitk_data_set.c | 1 1 + 0 - 0 !
amide-current/src/amitk_data_set_variable_type.c | 1 1 + 0 - 0 !
amide-current/src/amitk_dial.c | 260 109 + 151 - 0 !
amide-current/src/amitk_dial.h | 17 4 + 13 - 0 !
amide-current/src/amitk_filter.c | 1 1 + 0 - 0 !
amide-current/src/amitk_gamma.c | 189 189 + 0 - 0 !
amide-current/src/amitk_gamma.h | 67 67 + 0 - 0 !
amide-current/src/amitk_object_dialog.c | 607 247 + 360 - 0 !
amide-current/src/amitk_object_dialog.h | 9 2 + 7 - 0 !
amide-current/src/amitk_point.c | 1 1 + 0 - 0 !
amide-current/src/amitk_preferences.c | 38 0 + 38 - 0 !
amide-current/src/amitk_preferences.h | 21 0 + 21 - 0 !
amide-current/src/amitk_progress_dialog.c | 20 9 + 11 - 0 !
amide-current/src/amitk_raw_data.c | 1 1 + 0 - 0 !
amide-current/src/amitk_roi.c | 15 0 + 15 - 0 !
amide-current/src/amitk_roi.h | 3 0 + 3 - 0 !
amide-current/src/amitk_roi_variable_type.c | 12 1 + 11 - 0 !
amide-current/src/amitk_roi_variable_type.h | 3 0 + 3 - 0 !
amide-current/src/amitk_space.c | 1 1 + 0 - 0 !
amide-current/src/amitk_space_edit.c | 82 47 + 35 - 0 !
amide-current/src/amitk_space_edit.h | 4 2 + 2 - 0 !
amide-current/src/amitk_study.c | 71 5 + 66 - 0 !
amide-current/src/amitk_study.h | 19 1 + 18 - 0 !
amide-current/src/amitk_threshold.c | 334 167 + 167 - 0 !
amide-current/src/amitk_threshold.h | 14 7 + 7 - 0 !
amide-current/src/amitk_tree_view.c | 44 22 + 22 - 0 !
amide-current/src/amitk_window_edit.c | 35 19 + 16 - 0 !
amide-current/src/amitk_window_edit.h | 2 1 + 1 - 0 !
amide-current/src/analysis.c | 1 1 + 0 - 0 !
amide-current/src/dcmtk_interface.cc | 5 3 + 2 - 0 !
amide-current/src/fads.c | 9 1 + 8 - 0 !
amide-current/src/fads.h | 1 0 + 1 - 0 !
amide-current/src/gamma_icons.c | 323 323 + 0 - 0 !
amide-current/src/image.c | 15 0 + 15 - 0 !
amide-current/src/image.h | 4 0 + 4 - 0 !
amide-current/src/libmdc_interface.c | 1 1 + 0 - 0 !
amide-current/src/menus.ui | 201 201 + 0 - 0 !
amide-current/src/mpeg_encode.c | 1 1 + 0 - 0 !
amide-current/src/pixmaps.c | 142 1 + 141 - 0 !
amide-current/src/pixmaps.h | 2 0 + 2 - 0 !
amide-current/src/raw_data_import.c | 131 48 + 83 - 0 !
amide-current/src/render.c | 1 1 + 0 - 0 !
amide-current/src/render.ui | 34 34 + 0 - 0 !
amide-current/src/series.ui | 21 21 + 0 - 0 !
amide-current/src/tb_alignment.c | 34 19 + 15 - 0 !
amide-current/src/tb_crop.c | 203 82 + 121 - 0 !
amide-current/src/tb_distance.c | 31 16 + 15 - 0 !
amide-current/src/tb_export_data_set.c | 64 29 + 35 - 0 !
amide-current/src/tb_fads.c | 144 65 + 79 - 0 !
amide-current/src/tb_filter.c | 61 21 + 40 - 0 !
amide-current/src/tb_fly_through.c | 134 63 + 71 - 0 !
amide-current/src/tb_math.c | 59 32 + 27 - 0 !
amide-current/src/tb_profile.c | 286 131 + 155 - 0 !
amide-current/src/tb_roi_analysis.c | 135 64 + 71 - 0 !
amide-current/src/ui_common.c | 380 148 + 232 - 0 !
amide-current/src/ui_common.h | 22 5 + 17 - 0 !
amide-current/src/ui_gate_dialog.c | 44 20 + 24 - 0 !
amide-current/src/ui_preferences_dialog.c | 166 47 + 119 - 0 !
amide-current/src/ui_render.c | 414 231 + 183 - 0 !
amide-current/src/ui_render.h | 7 5 + 2 - 0 !
amide-current/src/ui_render_dialog.c | 163 78 + 85 - 0 !
amide-current/src/ui_render_movie.c | 101 53 + 48 - 0 !
amide-current/src/ui_series.c | 278 127 + 151 - 0 !
amide-current/src/ui_study.c | 842 376 + 466 - 0 !
amide-current/src/ui_study.h | 19 9 + 10 - 0 !
amide-current/src/ui_study_cb.c | 155 89 + 66 - 0 !
amide-current/src/ui_study_cb.h | 66 33 + 33 - 0 !
amide-current/src/ui_time_dialog.c | 40 18 + 22 - 0 !
amide-current/src/vistaio_interface.c | 1 1 + 0 - 0 !
amide-current/src/xml.c | 1 1 + 0 - 0 !
87 files changed, 5097 insertions(+), 3922 deletions(-)

 port to gtk 3 and goocanvas.
 Upstream does not use a uniform coding style so I tried to stick to
 the predominant style of the file or region of the modification.
 .
 Unfortunately the move to GTK 3 makes the main (study) window wider
 even without an image loaded (#901677).  This is because some of the
 widgets are larger, like GtkSpinButton with big "+" and "-" in it.
 Additionally, GTK computes the width of the widget based on the
 min/max values of the adjustment -- so the "thickness" button gets
 wider than usual because the maximum allowed value is G_MAXDOUBLE.
 I'll look into this issue separately and will eventually follow-up
 with a patch at the bug where this issue is reported (#901677).
 .
 A major hurdle was frequent aborts when using the custom log handler
 due to a GLib bug (see src/amide.h).  The only solution I came up
 with was to redefine the macros and avoid setting a custom handler.
 .
 The GtkCurve and GtkGammaCurve widgets were ported to GTK 3 but
 stripped from some functionality that AMIDE doesn't need (functions
 like gtk_curve_set_vector are not available, also the additional
 buttons of the GtkGammaCurve widget).  As is required by GTK 3,
 drawing is done to an off-screen buffer (a cairo surface) which is
 then effectively drawn on the widget during the ::draw signal.
 .
 The GtkHandleBox widget was not ported so parts of the UI are no
 longer detachable.  I didn't consider this functionality important
 enough to bother (unlike GtkCurve/GtkGammaCurve).
 .
 The AmitkDial widget was modified to behave as with policy
 GTK_UPDATE_DISCONTINUOUS, which is the only use within AMIDE.  Since
 GTK 3 removed policy support in GtkRange-based widgets, all of the
 widgets where GTK_UPDATE_DISCONTINUOUS is set (for a good reason)
 were modified to connect to a "button-release-event" handler, as a
 workaround.  The "value-changed" callback is invoked from there.
Bug-Debian: https://bugs.debian.org/967252
Bug: https://github.com/ferdymercury/amide/issues/27
no gnome vfs.patch | (download)

amide-current/configure.ac | 19 0 + 19 - 0 !
amide-current/src/amide_gnome.c | 298 1 + 297 - 0 !
2 files changed, 1 insertion(+), 316 deletions(-)

 remove gnomevfs support (also fix a memory leak).
compiler warnings.patch | (download)

amide-current/configure.ac | 6 3 + 3 - 0 !
amide-current/src/amitk_point.c | 12 6 + 6 - 0 !
amide-current/src/fads.c | 11 9 + 2 - 0 !
amide-current/src/libmdc_interface.c | 8 4 + 4 - 0 !
amide-current/src/mpeg_encode.c | 2 1 + 1 - 0 !
amide-current/src/vistaio_interface.c | 2 1 + 1 - 0 !
amide-current/src/vistaio_interface.h | 2 1 + 1 - 0 !
7 files changed, 25 insertions(+), 18 deletions(-)

 fix some compiler warnings.
resizable window.patch | (download)

amide-current/configure.ac | 2 1 + 1 - 0 !
amide-current/src/ui_common.c | 19 19 + 0 - 0 !
amide-current/src/ui_common.h | 1 1 + 0 - 0 !
amide-current/src/ui_study.c | 51 34 + 17 - 0 !
4 files changed, 55 insertions(+), 18 deletions(-)

 make the main (study) window resizable.
 Toolbar menu items "Thickness", "Field of view" and "Zoom" do nothing
 but they are necessary -- if the window is resized so that the right
 border is at one of these widgets, no drop-down arrow will be shown
 so the user will not have access to the Gate/Time buttons.  Other
 items from "Threshold" leftwards are proper GtkToolItems (rather than
 widgets packed in a GtkToolItem) so their menus are fully functional
 and will appear as normal/toggle/radio menu items.
Bug-Debian: https://bugs.debian.org/901677
Bug: https://github.com/ferdymercury/amide/issues/26
ffmpeg8.patch | (download)

amide-current/src/mpeg_encode.c | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 build using ffmpeg 8.0