diff --git a/packaging/Flatpak/flathub.json b/packaging/Flatpak/flathub.json new file mode 100644 index 000000000..637604e82 --- /dev/null +++ b/packaging/Flatpak/flathub.json @@ -0,0 +1,3 @@ +{ + "only-arches": ["x86_64"] +} diff --git a/packaging/Flatpak/org.telesculptor.TeleSculptor.desktop b/packaging/Flatpak/org.telesculptor.TeleSculptor.desktop new file mode 100644 index 000000000..aff8f8fbd --- /dev/null +++ b/packaging/Flatpak/org.telesculptor.TeleSculptor.desktop @@ -0,0 +1,11 @@ +[Desktop Entry] +Version=1.0 +Name=TeleSculptor +GenericName=Aerial Photogrammetry +Comment=Photogrammetry designed with a focus on aerial video +Exec=TeleSculptor %U +Terminal=false +Type=Application +Icon=org.telesculptor.TeleSculptor +Categories=Qt;Science;DataVisualization;Video;AudioVideo;ImageProcessing;Geoscience;3DGraphics + diff --git a/packaging/Flatpak/org.telesculptor.TeleSculptor.metainfo.xml b/packaging/Flatpak/org.telesculptor.TeleSculptor.metainfo.xml new file mode 100644 index 000000000..cb289561f --- /dev/null +++ b/packaging/Flatpak/org.telesculptor.TeleSculptor.metainfo.xml @@ -0,0 +1,39 @@ + + + org.telesculptor.TeleSculptor + org.telesculptor.TeleSculptor.desktop + TeleSculptor + Photogrammetry designed with a focus on aerial video + CC0-1.0 + BSD-3-Clause + +

+ TeleSculptor is a cross-platform desktop application for photogrammetry. + It was designed with a focus on aerial video, such as video collected from + UAVs, and handles geospatial coordinates and can make use of metadata, + if available, from GPS and IMU sensors. However, the software can also work + with non-geospatial data and with collections of images instead of metadata. + TeleSculptor uses Structure-from-Motion techniques to estimate camera + parameters as well as a sparse set of 3D landmarks. + It uses Multiview Stereo techniques to estimate dense depth maps on key + frame and then fuses those depth maps into a consistent surface mesh which + can be colored from the source imagery. +

+
+ https://telesculptor.org/ + https://github.com/Kitware/TeleSculptor/issues + Kitware + + + https://raw.githubusercontent.com/Kitware/TeleSculptor/master/doc/screenshot/telesculptor_screenshot_linux.png + + + https://raw.githubusercontent.com/Kitware/TeleSculptor/master/doc/screenshot/telesculptor_screenshot_calibration.png + + + + + + + +
diff --git a/packaging/Flatpak/org.telesculptor.TeleSculptor.yaml b/packaging/Flatpak/org.telesculptor.TeleSculptor.yaml new file mode 100644 index 000000000..353138484 --- /dev/null +++ b/packaging/Flatpak/org.telesculptor.TeleSculptor.yaml @@ -0,0 +1,88 @@ +app-id: org.telesculptor.TeleSculptor +runtime: org.kde.Platform +runtime-version: '5.15' +sdk: org.kde.Sdk +command: TeleSculptor +finish-args: + - --share=ipc + - --socket=x11 + - --device=dri + - --filesystem=home +cleanup: + - /include + - /lib/pkgconfig + - /share/man + - "*.la" + - "*.a" + +modules: + - name: lapack + buildsystem: cmake-ninja + builddir: true + config-opts: + - -DCMAKE_BUILD_TYPE=Release + - -DBUILD_SHARED_LIBS=ON + - -DBUILD_TESTING=OFF + - -DLAPACKE=ON + - -DCBLAS=ON + sources: + - type: archive + url: https://github.com/Reference-LAPACK/lapack/archive/refs/tags/v3.10.0.tar.gz + sha256: 328c1bea493a32cac5257d84157dc686cc3ab0b004e2bea22044e0a59f6f8a19 + x-checker-data: + type: anitya + project-id: 1534 + stable-only: true + url-template: https://github.com/Reference-LAPACK/lapack/archive/refs/tags/v$version.tar.gz + + # TeleSculptor need libicui18n.so.60 + - name: ICU-60 + subdir: source + config-opts: + - --disable-static + - --enable-shared + - --disable-samples + sources: + - type: archive + url: https://github.com/unicode-org/icu/releases/download/release-60-3/icu4c-60_3-src.tgz + sha256: 476287b17db6e0b7da230dce4b58e8e5669b1510847f82cab3647920f1374390 + + # Install the binary instead of building from source, I can't figured it out. + # Use source file only for LICENSE and icon file, self-extract file does not extract LICENSE. + - name: TeleSculptor + buildsystem: simple + ensure-writable: + - /lib + - /share + build-commands: + - chmod +x TeleSculptor-1.2.0-Linux-x86_64.sh + - ./TeleSculptor-1.2.0-Linux-x86_64.sh --skip-license + - cp -r {bin,lib,share} ${FLATPAK_DEST} + - cp -r sourcefile/LICENSE ${FLATPAK_DEST}/share/telesculptor + - mkdir -p /app/share/icons/hicolor/512x512/apps + - cp -r sourcefile/gui/icons/512x512/telesculptor.png ${FLATPAK_DEST}/share/icons/hicolor/512x512/apps/${FLATPAK_ID}.png + - install -Dm0644 $FLATPAK_ID.metainfo.xml ${FLATPAK_DEST}/share/metainfo/$FLATPAK_ID.metainfo.xml + - install -Dm0644 $FLATPAK_ID.desktop ${FLATPAK_DEST}/share/applications/$FLATPAK_ID.desktop + sources: + - type: file + url: https://github.com/Kitware/TeleSculptor/releases/download/v1.2.0/TeleSculptor-1.2.0-Linux-x86_64.sh + sha256: 29044a438af721a5819fdf79f383527d63d49cfff95fb887b3b2accbaac22398 + x-checker-data: + type: anitya + project-id: 222360 + stable-only: true + url-template: https://github.com/Kitware/TeleSculptor/releases/download/v$version/TeleSculptor-$version-Linux-x86_64.sh + - type: archive + url: https://github.com/Kitware/TeleSculptor/archive/refs/tags/v1.2.0.tar.gz + x-checker-data: + type: anitya + project-id: 222360 + stable-only: true + url-template: https://github.com/Kitware/TeleSculptor/archive/refs/tags/v$version.tar.gz + sha256: eb7c04a15f3c14699810815d0edaab70bf225a123c68fd5417a81fb36589fb81 + dest: sourcefile + - type: file + path: org.telesculptor.TeleSculptor.metainfo.xml + - type: file + path: org.telesculptor.TeleSculptor.desktop +