The package rpms/fasttrack.git has added or updated architecture specific content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/fasttrack.git/commit/?id=06554303....
Change:
+ExclusiveArch: %{qt5_qtwebengine_arches}
Thanks.
Full change:
============
commit 6e8b92a12c0c29924925efd9d19afc45164f6aa2
Author: Benjamin A. Beasley <code(a)musicinmybrain.net>
Date: Tue Sep 7 11:02:31 2021 -0400
Fix PDF documentation build
Explicitly list user manual files to detect missing outputs
diff --git a/fasttrack.spec b/fasttrack.spec
index da604d3..146427d 100644
--- a/fasttrack.spec
+++ b/fasttrack.spec
@@ -53,6 +53,8 @@ BuildRequires: pkgconfig(opencv4)
BuildRequires: pandoc
# rsvg-convert, needed by pandoc to generate PDF
BuildRequires: librsvg2-tools
+# pdflatex, needed by pandoc to generate PDF
+BuildRequires: tex(latex)
# Test/Test.pro
BuildRequires: pkgconfig(gtest)
@@ -211,7 +213,10 @@ popd
%files doc
%license LICENSE
-%doc user_manual/*
+%doc user_manual/assets
+%doc user_manual/css
+%doc user_manual/user_manual.html
+%doc user_manual/user_manual.pdf
%changelog
commit c0c13e0911d073829c32e6aadc4ef52f2e33c522
Author: Benjamin A. Beasley <code(a)musicinmybrain.net>
Date: Tue Sep 7 10:55:39 2021 -0400
Do not package the CLI desktop file, as it is useless
diff --git a/fasttrack.spec b/fasttrack.spec
index 680ccdf..da604d3 100644
--- a/fasttrack.spec
+++ b/fasttrack.spec
@@ -2,8 +2,10 @@
%global forgeurl
https://github.com/FastTrackOrg/%{pretty_name}
%global app_id sh.fasttrack.fasttrack
-# Install the .desktop file for the CLI tool?
-%bcond_without cli_desktop_file
+# We don’t install the .desktop file for the CLI tool, because it is useless—a
+# terminal window just appears briefly with an error message asking the user to
+# provide the many necessary arguments.
+%bcond_with cli_desktop_file
Name: fasttrack
Summary: Track multiple objects in video recording
@@ -156,7 +158,7 @@ install -t '%{buildroot}%{_bindir}' -D -p \
build/%{pretty_name} build_cli/%{name}-cli
desktop-file-install --dir='%{buildroot}%{_datadir}/applications' \
- %{app_id}.desktop %{app_id}cli.desktop
+ %{app_id}.desktop %{?with_cli_desktop_file:%{app_id}cli.desktop}
install -D -p -m 0644 'src/assets/icon.png' \
'%{buildroot}%{_datadir}/icons/hicolor/256x256/apps/%{name}.png'
commit 065543034d8d9368bd5ed14fc3233dd221d19bed
Author: Benjamin A. Beasley <code(a)musicinmybrain.net>
Date: Tue Sep 7 10:53:48 2021 -0400
Initial package
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..c293883
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/FastTrack-5.3.3.tar.gz
diff --git a/0001-Do-not-override-distribution-compiler-flags.patch
b/0001-Do-not-override-distribution-compiler-flags.patch
new file mode 100644
index 0000000..76fd226
--- /dev/null
+++ b/0001-Do-not-override-distribution-compiler-flags.patch
@@ -0,0 +1,74 @@
+From 587c09a5f39e1ae13ea8fceb6e1d9f2b2aed8436 Mon Sep 17 00:00:00 2001
+From: "Benjamin A. Beasley" <code(a)musicinmybrain.net>
+Date: Thu, 2 Sep 2021 10:13:33 -0400
+Subject: [PATCH] Do not override distribution compiler flags
+
+---
+ Test/Test.pro | 4 +---
+ src/FastTrack-Cli.pro | 8 +-------
+ src/FastTrack.pro | 8 +-------
+ 3 files changed, 3 insertions(+), 17 deletions(-)
+
+diff --git a/Test/Test.pro b/Test/Test.pro
+index 3e1fe7f..5f09383 100644
+--- a/Test/Test.pro
++++ b/Test/Test.pro
+@@ -18,8 +18,6 @@ UI_DIR=build
+ RCC_DIR=build
+
+
+-QMAKE_LFLAGS_RELEASE += -O3
+-
+ # The following define makes your compiler emit warnings if you use
+ # any feature of Qt which has been marked as deprecated (the exact warnings
+ # depend on your compiler). Please consult the documentation of the
+@@ -40,7 +38,7 @@ SOURCES += \
+ ../src/autolevel.cpp \
+ ../src/data.cpp \
+
+-QMAKE_CXXFLAGS += -std=c++17 -O3 -fopenmp -g
++QMAKE_CXXFLAGS += -std=c++17 -fopenmp -g
+
+ INCLUDEPATH += /usr/include/opencv4/
+ INCLUDEPATH += /usr/local/include/opencv4/ /usr/include/gtest
+diff --git a/src/FastTrack-Cli.pro b/src/FastTrack-Cli.pro
+index 66f9246..5cbb8cf 100644
+--- a/src/FastTrack-Cli.pro
++++ b/src/FastTrack-Cli.pro
+@@ -20,13 +20,7 @@ unix:!macx {
+ UI_DIR=build_cli
+ RCC_DIR=build_cli
+
+- QMAKE_CXXFLAGS += -std=c++17 -O3 -fopenmp -g
+- QMAKE_CXXFLAGS_RELEASE -= -O1
+- QMAKE_CXXFLAGS_RELEASE -= -O2
+- QMAKE_CXXFLAGS_RELEASE += -O3
+- QMAKE_LFLAGS_RELEASE -= -O1
+- QMAKE_LFLAGS_RELEASE -= -O2
+- QMAKE_LFLAGS_RELEASE += -O3
++ QMAKE_CXXFLAGS += -std=c++17 -fopenmp
+
+ INCLUDEPATH += /usr/include/opencv4/
+ INCLUDEPATH += /usr/local/include/opencv4/
+diff --git a/src/FastTrack.pro b/src/FastTrack.pro
+index f6bd9e9..aa26d22 100644
+--- a/src/FastTrack.pro
++++ b/src/FastTrack.pro
+@@ -25,13 +25,7 @@ unix:!macx {
+ UI_DIR=build
+ RCC_DIR=build
+
+- QMAKE_CXXFLAGS += -std=c++17 -O3 -fopenmp -g -Wconversion
+- QMAKE_CXXFLAGS_RELEASE -= -O1
+- QMAKE_CXXFLAGS_RELEASE -= -O2
+- QMAKE_CXXFLAGS_RELEASE += -O3
+- QMAKE_LFLAGS_RELEASE -= -O1
+- QMAKE_LFLAGS_RELEASE -= -O2
+- QMAKE_LFLAGS_RELEASE += -O3
++ QMAKE_CXXFLAGS += -std=c++17 -fopenmp -Wconversion
+
+ INCLUDEPATH += /usr/include/opencv4/
+ INCLUDEPATH += /usr/local/include/opencv4/
+--
+2.31.1
+
diff --git a/fasttrack-cli.1 b/fasttrack-cli.1
new file mode 100644
index 0000000..b7acec9
--- /dev/null
+++ b/fasttrack-cli.1
@@ -0,0 +1,189 @@
+.TH FASTTRACK\-CLI "1" "September 2021" "" "User
Commands"
+.SH NAME
+.B fasttrack\-cli
+\(en Use FastTrack from the command line
+.SH SYNOPSIS
+.B fasttrack\-cli
+.RI [ OPTION ]...
+.RI [ FILE ]...
+.SH OPTIONS
+All arguments are mandatory except
+.B \-\-backPath
+and
+.BR \-\-cfg .
+Loading a configuration file with
+.B \-\-cfg
+overwrites any selected parameters.
+.P
+\[sc]
+.TP
+.B \-\-maxArea
+maximal area of objects
+.TP
+.B \-\-minArea
+minimal area of objects
+.TP
+.B \-\-lightBack
+is the background light?
+.BR 0 :
+Yes,
+.BR 1 :
+No
+.P
+\[sc]
+.TP
+.B \-\-thresh
+binary threshold, if
+.B lightBack
+is set to
+.B 0
+(resp.
+.BR 1 ),
+pixels with values less (resp. more) than thresh are considered to belong to an
+object
+.TP
+.B \-\-reg
+registration method,
+.BR 0 :
+None,
+.BR 1 :
+Simple,
+.BR 2 :
+ECC,
+.BR 3 :
+Features
+.P
+\[sc]
+.TP
+.B \-\-spot
+part of the object that features is used for the matching,
+.BR 0 :
+head,
+.BR 1 :
+tail,
+.BR 2 :
+body
+.TP
+.B \-\-normDist
+normalization distance pixels
+.TP
+.B \-\-normAngle
+normalization angle degrees
+.TP
+.B \-\-normArea
+normalization area pixels
+.TP
+.B \-\-normPerim
+normalization perimeter pixels
+.TP
+.B \-\-maxDist
+maximal distance of matching in pixels; if an object travels more than this
+distance, it is considered as a new object
+.TP
+.B \-\-maxTime
+maximal time; if an object disappears more than this time, it is considered as
+a new object
+.P
+\[sc]
+.TP
+.B \-\-nBack
+number of images to compute the background
+.TP
+.B \-\-methBack
+method to compute the background.
+.BR 0 :
+min,
+.BR 1 :
+max,
+.BR 2 :
+average
+.TP
+.B \-\-regBack
+registration method to compute the background.
+.BR 0 :
+None,
+.BR 1 :
+Simple,
+.BR 2 :
+ECC,
+.BR 3 :
+Features
+.P
+\[sc]
+.TP
+.B \-\-xTop
+roi x top corner
+.BI (0: width \-1)
+.TP
+.B \-\-yTop
+roi y top corner
+.BI (0: height \-1)
+.TP
+.B \-\-xBottom
+roi x top corner
+.BI (0: xTop \-1)\fR,
+set to
+.B 0
+to avoid cropping
+.TP
+.B \-\-yBottom
+roi y top corner
+.BI (0: yTop \-1)\fR,
+set to
+.B 0
+to avoid cropping
+.P
+\[sc]
+.TP
+.B \-\-morph
+morphological operation,
+.BR 0 :
+None,
+.BR 1 :
+Erode,
+.BR 2 :
+Dilate,
+.BR 3 :
+Open,
+.BR 4 :
+Close,
+.BR 5 :
+Gradient,
+.BR 6 :
+TopHat,
+.BR 7 :
+BlackHat,
+.BR 8 :
+HitMiss
+.TP
+.B \-\-morphSize
+size of the kernel used in the morphological operation; can be omitted if no
+operation are performed
+.TP
+.B \-\-morphType
+type of the kernel used in the morphological operation; can be omitted if no
+operation are performed,
+.BR 0 :
+Rect,
+.BR 1 :
+Cross,
+.BR 2 :
+Ellipse
+.P
+\[sc]
+.TP
+.B \-\-path
+path to the movie or one image of a sequence
+.TP
+.B \-\-backPath
+optional, path to a background image
+.P
+\[sc]
+.TP
+.B \-\-cfg
+optional, path to a configuration file; if path is not included in the
+configuration file,
+.B \-\-path
+option needs to be put before
+.B \-\-cfg
+option
diff --git a/fasttrack.spec b/fasttrack.spec
new file mode 100644
index 0000000..680ccdf
--- /dev/null
+++ b/fasttrack.spec
@@ -0,0 +1,216 @@
+%global pretty_name FastTrack
+%global forgeurl
https://github.com/FastTrackOrg/%{pretty_name}
+%global app_id sh.fasttrack.fasttrack
+
+# Install the .desktop file for the CLI tool?
+%bcond_without cli_desktop_file
+
+Name: fasttrack
+Summary: Track multiple objects in video recording
+Version: 5.3.3
+%forgemeta
+Release: %autorelease
+
+URL: %{forgeurl}
+# The entire source is GPLv3+, except src/assets/dark.qss and
+# src/assets/light.qss, which are MIT; the effective license remains GPLv3+.
+License: GPLv3+
+
+Source0: %{forgesource}
+# Downstream man page in groff_man(7) format, based on --help output
+Source1: %{name}-cli.1
+
+# Do not override distribution compiler flags. This unconditionally patches out
+# optimization flags upstream would prefer, so it is not suitable for offering
+# upstream.
+Patch0: 0001-Do-not-override-distribution-compiler-flags.patch
+# Upstream added AppStream metadata
+# (
https://github.com/FastTrackOrg/FastTrack/issues/20).
+Patch1: %{forgeurl}/commit/ff3816295f0d223d2c47a8be4ca9c523f88639a9.patch
+
+#
https://bugzilla.redhat.com/show_bug.cgi?id=1298011
+# handled by qt5-srpm-macros, which defines %%qt5_qtwebengine_arches
+ExclusiveArch: %{qt5_qtwebengine_arches}
+
+BuildRequires: gcc-c++
+BuildRequires: make
+
+# Note that the source is not compatible with Qt6.
+
+# src/FastTrack.pro, src/FastTrack-Cli.pro
+BuildRequires: pkgconfig(Qt5Core)
+BuildRequires: pkgconfig(Qt5Gui)
+BuildRequires: pkgconfig(Qt5Network)
+BuildRequires: pkgconfig(Qt5Widgets)
+BuildRequires: pkgconfig(Qt5WebEngineWidgets)
+
+# dependencies.sh
+BuildRequires: pkgconfig(opencv4)
+
+# generateDocumentation.sh
+BuildRequires: pandoc
+# rsvg-convert, needed by pandoc to generate PDF
+BuildRequires: librsvg2-tools
+
+# Test/Test.pro
+BuildRequires: pkgconfig(gtest)
+# test.sh
+BuildRequires: python3-devel
+BuildRequires: python3dist(pytest)
+# Test/accuracyTest.py
+BuildRequires: python3dist(numpy)
+BuildRequires: python3dist(pandas)
+
+BuildRequires: desktop-file-utils
+BuildRequires: libappstream-glib
+
+# For /usr/share/icons/hicolor/*/apps
+Requires: hicolor-icon-theme
+
+%global common_description %{expand:
+Tracking objects in video recording can be tedious. Existing software are
+expensive, the learning curve can be steep, necessitate a powerful computer,
+and the workflow can not be easily adapted when the project evolved.
+
+FastTrack is a free (as freedom) desktop tracking software, easy to install,
+easy to use, and performant. The software can be downloaded for Linux, macOS,
+and Windows, and a public API is available to embed the core of the software in
+any C++/Qt project.
+
+Two main features are implemented in the software:
+
+ • An automatic tracking algorithm that can detect and track objects
+ (conserving the objects’ identities across the video recording).
+ • A manual review of the tracking where errors can be corrected rapidly and
+ easily to achieve 100% accuracy.}
+
+%description %{common_description}
+
+This package contains the graphical user interface (%{pretty_name}).
+
+
+%package cli
+Summary: %{summary}
+
+%if %{with cli_desktop_file}
+# For /usr/share/icons/hicolor/*/apps
+Requires: hicolor-icon-theme
+%endif
+
+%description cli %{common_description}
+
+This package contains the command-line tool (%{name}-cli).
+
+
+%package doc
+Summary: Documentation for %{pretty_name}
+BuildArch: noarch
+
+%description doc %{common_description}
+
+This package contains the user manual.
+
+
+%prep
+%forgeautosetup -p1
+cp -p '%{SOURCE1}' .
+
+
+%build
+%set_build_flags
+
+%qmake_qt5 src/%{pretty_name}-Cli.pro
+mv -v Makefile Makefile.cli
+%qmake_qt5 src/%{pretty_name}.pro
+# test.sh
+pushd Test
+cp -r dataSet/images/Groundtruth/Tracking_Result/ \
+ dataSet/images/Groundtruth/Tracking_Result_Copy/
+%qmake_qt5 Test.pro
+popd
+
+%make_build -f Makefile.cli
+%make_build
+# test.sh
+pushd Test
+%make_build
+popd
+
+# We do not really need to build and install the Doxygen documentation, which
+# covers the internals and is targeted at upstream developers and contributors.
+# That would be useful if FastTrack were a library; for an application, we want
+# only the user manual.
+mkdir -p dummybin
+ln -s %{_bindir}/true dummybin/doxygen
+export PATH="${PWD}/dummybin:${PATH}"
+
+bash -x ./generateDocumentation.sh
+
+
+%install
+# The Makefiles don’t have useful install targets. Some of this is based on the
+# AppImage build in .github/workflows/build.yml, but mostly we’re on our own to
+# do a proper installation.
+
+install -t '%{buildroot}%{_bindir}' -D -p \
+ build/%{pretty_name} build_cli/%{name}-cli
+
+desktop-file-install --dir='%{buildroot}%{_datadir}/applications' \
+ %{app_id}.desktop %{app_id}cli.desktop
+
+install -D -p -m 0644 'src/assets/icon.png' \
+ '%{buildroot}%{_datadir}/icons/hicolor/256x256/apps/%{name}.png'
+install -D -p -m 0644 'src/assets/icon.svg' \
+ '%{buildroot}%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg'
+
+install -t '%{buildroot}%{_metainfodir}' -D -p -m 0644 %{app_id}.metainfo.xml
+
+install -t '%{buildroot}%{_mandir}/man1' -D -p -m 0644 %{name}-cli.1
+
+
+%check
+appstream-util validate-relax --nonet \
+ '%{buildroot}%{_metainfodir}/%{app_id}.metainfo.xml'
+
+# test.sh
+pushd Test/build
+./Test
+popd
+%pytest Test/accuracyTest.py
+
+
+%files
+%license LICENSE
+%doc changelog.md
+%doc contributing.md
+%doc readme.md
+%{_bindir}/%{pretty_name}
+
+%{_metainfodir}/%{app_id}.metainfo.xml
+%{_datadir}/applications/%{app_id}.desktop
+%{_datadir}/icons/hicolor/256x256/apps/%{name}.png
+%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg
+
+
+%files cli
+%license LICENSE
+%{_bindir}/%{name}-cli
+%{_mandir}/man1/%{name}-cli.1*
+
+%if %{with cli_desktop_file}
+%{_datadir}/applications/%{app_id}cli.desktop
+# Icons are intentionally shared between base and -cli packages, as they are
+# used in both desktop files, but a -data or -common subpackage would be
+# overkill for two icons.
+%{_datadir}/icons/hicolor/256x256/apps/%{name}.png
+%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg
+%endif
+
+
+%files doc
+%license LICENSE
+%doc user_manual/*
+
+
+%changelog
+%autochangelog
diff --git a/ff3816295f0d223d2c47a8be4ca9c523f88639a9.patch
b/ff3816295f0d223d2c47a8be4ca9c523f88639a9.patch
new file mode 100644
index 0000000..f8b8b3e
--- /dev/null
+++ b/ff3816295f0d223d2c47a8be4ca9c523f88639a9.patch
@@ -0,0 +1,142 @@
+From ff3816295f0d223d2c47a8be4ca9c523f88639a9 Mon Sep 17 00:00:00 2001
+From: bgallois <benjamin(a)gallois.cc>
+Date: Thu, 2 Sep 2021 17:58:49 +0200
+Subject: [PATCH] [add] global: add AppStream metadata
+
+---
+ .github/workflows/build.yml | 9 +++---
+ .github/workflows/build_cli.yml | 8 ++---
+ ....desktop => sh.fasttrack.fasttrack.desktop | 9 ++++--
+ sh.fasttrack.fasttrack.metainfo.xml | 29 +++++++++++++++++++
+ ...sktop => sh.fasttrack.fasttrackcli.desktop | 9 ++++--
+ 5 files changed, 50 insertions(+), 14 deletions(-)
+ rename FastTrack.desktop => sh.fasttrack.fasttrack.desktop (56%)
+ create mode 100644 sh.fasttrack.fasttrack.metainfo.xml
+ rename FastTrackCli.desktop => sh.fasttrack.fasttrackcli.desktop (58%)
+
+diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
+index 8a5706d..1d4ea90 100644
+--- a/.github/workflows/build.yml
++++ b/.github/workflows/build.yml
+@@ -41,14 +41,15 @@ jobs:
+ mkdir -p appdir/usr/bin/
+ mv FastTrack appdir/usr/bin/
+ mkdir -p appdir/usr/share/applications/
+- cp ../FastTrack.desktop appdir/usr/share/applications/
++ cp ../sh.fasttrack.fasttrack.desktop appdir/usr/share/applications/
+ mkdir -p appdir/usr/share/icons/hicolor/256x256/
+- cp ../src/assets/icon.png appdir/usr/share/icons/hicolor/256x256/
+- ./deploy.AppImage ./appdir/usr/share/applications/FastTrack.desktop
-exclude-libs="libnss3.so,libnssutil3.so" -no-translations -bundle-non-qt-libs
++ cp ../src/assets/icon.png
appdir/usr/share/icons/hicolor/256x256/fasttrack.png
++ ./deploy.AppImage
./appdir/usr/share/applications/sh.fasttrack.fasttrack.desktop
-exclude-libs="libnss3.so,libnssutil3.so" -no-translations -bundle-non-qt-libs
+ mkdir -p appdir/usr/optional/ ; wget -c
https://github.com/darealshinji/AppImageKit-checkrt/releases/download/con...
-O ./appdir/usr/optional/exec.so
+ mkdir -p appdir/usr/optional/libstdc++/ ; cp
/usr/lib/x86_64-linux-gnu/libstdc++.so.6 ./appdir/usr/optional/libstdc++/ ; cp
/usr/lib/gcc/x86_64-linux-gnu/9/libstdc++.so ./appdir/usr/optional/libstdc++/
++ mkdir -p appdir/usr/share/metainfo/ ; cp
../sh.fasttrack.fasttrack.metainfo.xml appdir/usr/share/metainfo/
+ ( cd appdir ; rm AppRun ; wget -c
https://github.com/darealshinji/AppImageKit-checkrt/releases/download/con...
-O AppRun ; chmod a+x AppRun)
+- ./deploy.AppImage ./appdir/usr/share/applications/FastTrack.desktop -appimage
++ ./deploy.AppImage
./appdir/usr/share/applications/sh.fasttrack.fasttrack.desktop -appimage
+ mv FastTrack*.AppImage FastTrack-x86_64.AppImage
+ - name: Linux artefact
+ uses: actions/upload-artifact@v1
+diff --git a/.github/workflows/build_cli.yml b/.github/workflows/build_cli.yml
+index ffeee29..74061a0 100644
+--- a/.github/workflows/build_cli.yml
++++ b/.github/workflows/build_cli.yml
+@@ -41,14 +41,14 @@ jobs:
+ mkdir -p appdir/usr/bin/
+ mv fasttrack-cli appdir/usr/bin/
+ mkdir -p appdir/usr/share/applications/
+- cp ../FastTrackCli.desktop appdir/usr/share/applications/
++ cp ../sh.fasttrack.fasttrackcli.desktop appdir/usr/share/applications/
+ mkdir -p appdir/usr/share/icons/hicolor/256x256/
+- cp ../src/assets/icon.png appdir/usr/share/icons/hicolor/256x256/
+- ./deploy.AppImage ./appdir/usr/share/applications/FastTrackCli.desktop
-exclude-libs="libnss3.so,libnssutil3.so" -no-translations -bundle-non-qt-libs
++ cp ../src/assets/icon.png
appdir/usr/share/icons/hicolor/256x256/fasttrack.png
++ ./deploy.AppImage
./appdir/usr/share/applications/sh.fasttrack.fasttrackcli.desktop
-exclude-libs="libnss3.so,libnssutil3.so" -no-translations -bundle-non-qt-libs
+ mkdir -p appdir/usr/optional/ ; wget -c
https://github.com/darealshinji/AppImageKit-checkrt/releases/download/con...
-O ./appdir/usr/optional/exec.so
+ mkdir -p appdir/usr/optional/libstdc++/ ; cp
/usr/lib/x86_64-linux-gnu/libstdc++.so.6 ./appdir/usr/optional/libstdc++/ ; cp
/usr/lib/gcc/x86_64-linux-gnu/9/libstdc++.so ./appdir/usr/optional/libstdc++/
+ ( cd appdir ; rm AppRun ; wget -c
https://github.com/darealshinji/AppImageKit-checkrt/releases/download/con...
-O AppRun ; chmod a+x AppRun)
+- ./deploy.AppImage ./appdir/usr/share/applications/FastTrackCli.desktop
-appimage
++ ./deploy.AppImage
./appdir/usr/share/applications/sh.fasttrack.fasttrackcli.desktop -appimage
+ - name: Linux artefact
+ uses: actions/upload-artifact@v1
+ with:
+diff --git a/FastTrack.desktop b/sh.fasttrack.fasttrack.desktop
+similarity index 56%
+rename from FastTrack.desktop
+rename to sh.fasttrack.fasttrack.desktop
+index 6f99d8b..dcf15a1 100644
+--- a/FastTrack.desktop
++++ b/sh.fasttrack.fasttrack.desktop
+@@ -1,8 +1,11 @@
+ [Desktop Entry]
++Version=1.0
+ Type=Application
++
+ Name=FastTrack
+ Comment=Fast tracking of multiple objects
++Categories=Science;ImageProcessing;
++
++Icon=fasttrack
+ Exec=FastTrack
+-Icon=icon
+-Categories=Science;Qt;
+-X-AppImage-Version=
++Terminal=false
+diff --git a/sh.fasttrack.fasttrack.metainfo.xml b/sh.fasttrack.fasttrack.metainfo.xml
+new file mode 100644
+index 0000000..0a131d0
+--- /dev/null
++++ b/sh.fasttrack.fasttrack.metainfo.xml
+@@ -0,0 +1,29 @@
++<?xml version="1.0" encoding="UTF-8"?>
++<component type="desktop-application">
++ <id>sh.fasttrack.fasttrack</id>
++
++ <name>FastTrack</name>
++ <summary>Fast tracking of multiple objects</summary>
++
++ <metadata_license>MIT</metadata_license>
++ <project_license>GPL-3.0-or-later</project_license>
++
++ <recommends>
++ <control>pointing</control>
++ <control>keyboard</control>
++ <control>touch</control>
++ </recommends>
++
++ <description>
++ <p>
++ FastTrack is a free (as freedom) desktop tracking software, easy to install, easy
to use, and performant. The software can be downloaded for Linux, macOS, and Windows, and
a public API is available to embed the core of the software in any C++/Qt project.
++ </p>
++ </description>
++
++ <launchable
type="desktop-id">sh.fasttrack.fasttrack.desktop</launchable>
++ <screenshots>
++ <screenshot type="default">
++
<
image>https://raw.githubusercontent.com/FastTrackOrg/FastTrack/master/...
++ </screenshot>
++ </screenshots>
++</component>
+diff --git a/FastTrackCli.desktop b/sh.fasttrack.fasttrackcli.desktop
+similarity index 58%
+rename from FastTrackCli.desktop
+rename to sh.fasttrack.fasttrackcli.desktop
+index 275f3c4..5ba3cbe 100644
+--- a/FastTrackCli.desktop
++++ b/sh.fasttrack.fasttrackcli.desktop
+@@ -1,8 +1,11 @@
+ [Desktop Entry]
++Version=1.0
+ Type=Application
++
+ Name=fasttrack-cli
+ Comment=Fast tracking of multiple objects
++Categories=Science;ImageProcessing;
++
++Icon=fasttrack
+ Exec=fasttrack-cli
+-Icon=icon
+-Categories=Science;Qt;
+-X-AppImage-Version=
++Terminal=true
diff --git a/sources b/sources
new file mode 100644
index 0000000..ca7b575
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (FastTrack-5.3.3.tar.gz) =
7faa6836f7db68eea6625c111632258cc3a730b1c26592ebf3002202abb404d3ea3b119df0cb0f425288d08ed2acfb03b16138be5466de2bdfaf45a96189888d