diff --git a/.files b/.files new file mode 100644 index 0000000..6b6376f Binary files /dev/null and b/.files differ diff --git a/.meta b/.meta new file mode 100644 index 0000000..4d493c3 --- /dev/null +++ b/.meta @@ -0,0 +1,5 @@ + + + + + diff --git a/.rev b/.rev new file mode 100644 index 0000000..8f6186e --- /dev/null +++ b/.rev @@ -0,0 +1,10 @@ + + + 8184acb8ddb49caa51cd33bbf86ace08 + 0.10.0 + + RBrownFactory + fstl + 990528 + + diff --git a/fstl-mimeinfo.xml b/fstl-mimeinfo.xml new file mode 100644 index 0000000..6e82b57 --- /dev/null +++ b/fstl-mimeinfo.xml @@ -0,0 +1,102 @@ + + + + STL 3D model (binary) + model 3D STL (binari) + model STL 3D (binární) + STL 3D-Modell (binär) + modelo 3D STL (binario) + STL 3D modeloa (binarioa) + modèle (binaire) STL 3D + samhail 3T STL (dénártha) + STL 3D model (binarna datoteka) + STL 3D modell (bináris) + model STL 3D (biner) + Modello 3D STL (binario) + STL 3D моделі (екілік) + STL 3D 모델(바이너리) + Model 3D STL (binarny) + Modelo 3D STL (binário) + 3D модель STL (бинарная) + STL 3D model (binárny) + СТЛ 3Д модел (извршна) + STL 3D-modell (binär) + STL 3D modeli (ikili) + просторова модель STL (бінарна) + STL 3D 模型(二进制) + STL 3D 模型 (二進位) + + + + + + + + + + + + STL 3D model (ASCII) + model 3D STL (ASCII) + model STL 3D (ASCII) + STL 3D-Modell (ASCII) + modelo 3D STL (ASCII) + STL 3D modeloa (ASCII) + modèle (ASCII) STL 3D + samhail 3T STL (ASCII) + STL 3D model (ASCII) + STL 3D modell (ASCII) + model STL 3D (ASCII) + Modello 3D STL (ASCII) + STL 3D моделі (ASCII) + STL 3D 모델(아스키) + Model 3D STL (ASCII) + Modelo 3D STL (ASCII) + 3D модель STL (ASCII) + STL 3D model (ASCII) + СТЛ 3Д модел (АСКРИ) + STL 3D-modell (ASCII) + STL 3D modeli (ASCII) + просторова модель STL (ASCII) + STL 3D 模型 (ASCII) + STL 3D 模型 (ASCII) + + + + + + + + + + + G-code file + fitxer G-code + soubor G-code + G-Code-Datei + archivo G-code + G-code fitxategia + G-code-tiedosto + fichier G-code + comhad G-code + G-kôd datoteka + G-code fájl + berkas G-code + File G-code + G-code файлы + 지-코드 파일 + Plik G-code + Arquivo G-code + Файл G-code + Súbor G-code + датотека Г-ко̂да + G-code-fil + G-code dosyası + файл G-code + G-code 文件 + G-code 檔案 + + + + + diff --git a/fstl.changes b/fstl.changes new file mode 100644 index 0000000..7375ee7 --- /dev/null +++ b/fstl.changes @@ -0,0 +1,26 @@ +------------------------------------------------------------------- +Thu Jul 21 08:47:28 UTC 2022 - Michael Vetter + +- Update to 0.10.0: + * Added README section for setting fstl as default viewer #52 + * Fix initial settings #54 + * Show 3D axes in viewer #55 + * Allow uppercase file suffixes as well #60 + * Implement an Invert Zoom option #61 + * Remove Legacy Qt Build Option scholl in #62 + * Added "Surface Angle" draw mode based on github stl viewer #66 + * Versioning in app, other small changes #64 + * Fix several Qt deprecation warnings #67 + * Remember application settings #78 + * Implement compact and fullscreen view #81 + +------------------------------------------------------------------- +Thu Jul 21 08:46:11 UTC 2022 - Michael Vetter + +- Copy version 0.9.4 from home:mrbadguy/fstl +- Run spec-cleaner +- Remove camera-pos.patch +- Remove _service and use regular tarball +- Remove calls to %mime_database_post, %desktop_database_post, + %icon_theme_cache_post since since they are run via rpm file + triggers now diff --git a/fstl.desktop b/fstl.desktop new file mode 100644 index 0000000..91e320e --- /dev/null +++ b/fstl.desktop @@ -0,0 +1,11 @@ +[Desktop Entry] +Name=fstl +Categories=Qt;Graphics;3DGraphics;Viewer +Comment= +Exec=fstl %F +GenericName=Fast STL viewer +Icon=fstl +MimeType=model/x.stl-binary;model/x.stl-ascii +StartupNotify=true +Terminal=false +Type=Application diff --git a/fstl.spec b/fstl.spec new file mode 100644 index 0000000..4e69496 --- /dev/null +++ b/fstl.spec @@ -0,0 +1,78 @@ +# +# spec file for package fstl +# +# Copyright (c) 2022 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +Name: fstl +Version: 0.10.0 +Release: 0 +Summary: Fast stl file viewer +License: AGPL-3.0-only +Group: Productivity/Graphics/3D Editors +URL: https://github.com/mkeeter/fstl.git +Source0: https://github.com/fstl-app/fstl/archive/refs/tags/v%{version}.tar.gz +Source1: %{name}.desktop +Source2: %{name}-mimeinfo.xml +BuildRequires: cmake >= 2.8.12 +BuildRequires: hicolor-icon-theme +BuildRequires: icoutils +BuildRequires: cmake(Qt5Core) +BuildRequires: cmake(Qt5Gui) +BuildRequires: cmake(Qt5OpenGL) +BuildRequires: cmake(Qt5Widgets) +BuildRequires: update-desktop-files + +%description +Fast stl file viewer. +It is designed to quickly load and render very high-polygon models; showing 2 million triangles at 60+ FPS on a mid-range laptop. + +%prep +%setup -q + +%build +CFLAGS="%{optflags}" +export CFLAGS +%cmake +%make_build + +%install +%cmake_install +cd exe +icotool -x fstl.ico +install -Dm 0755 fstl_1_16x16x32.png \ + %{buildroot}%{_datadir}/icons/hicolor/16x16/apps/%{name}.png +install -Dm 0755 fstl_2_32x32x32.png \ + %{buildroot}%{_datadir}/icons/hicolor/32x32/apps/%{name}.png +install -Dm 0755 fstl_3_48x48x32.png \ + %{buildroot}%{_datadir}/icons/hicolor/48x48/apps/%{name}.png +install -Dm 0755 fstl_4_64x64x32.png \ + %{buildroot}%{_datadir}/icons/hicolor/64x64/apps/%{name}.png +install -Dm 0755 fstl_5_128x128x32.png \ + %{buildroot}%{_datadir}/icons/hicolor/128x128/apps/%{name}.png +install -Dm 0755 fstl_6_256x256x32.png \ + %{buildroot}%{_datadir}/icons/hicolor/256x256/apps/%{name}.png + +install -Dm 0644 %{SOURCE2} %{buildroot}%{_datadir}/mime/packages/fslt-mimeinfo.xml + +%suse_update_desktop_file -i %{name} + +%files +%{_bindir}/fstl +%{_datadir}/icons/hicolor/*/apps/%{name}.png +%{_datadir}/applications/%{name}.desktop +%{_datadir}/mime/packages/fslt-mimeinfo.xml + +%changelog diff --git a/v0.10.0.tar.gz b/v0.10.0.tar.gz new file mode 120000 index 0000000..fed9f3c --- /dev/null +++ b/v0.10.0.tar.gz @@ -0,0 +1 @@ +/ipfs/bafkreihabspv7ehf57byatgs26te5647leusdn77pdlrscvedaqukem5ti \ No newline at end of file