15 Commits

Author SHA256 Message Date
93b897e5fe Accepting request 1312310 from graphics
- Update to 20250915:
  * Draw equatorial grid and objects overlay
  * File Manager
  * Support for PCL:AstrometricSolution
  * Script console

OBS-URL: https://build.opensuse.org/request/show/1312310
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tenmon?expand=0&rev=9
2025-10-21 09:15:41 +00:00
d659a9f32a Fix spec
OBS-URL: https://build.opensuse.org/package/show/graphics/tenmon?expand=0&rev=28
2025-10-20 07:25:24 +00:00
2c17094795 Fix spec
OBS-URL: https://build.opensuse.org/package/show/graphics/tenmon?expand=0&rev=27
2025-10-20 07:01:26 +00:00
f608671a50 fix patch
OBS-URL: https://build.opensuse.org/package/show/graphics/tenmon?expand=0&rev=26
2025-10-20 06:54:52 +00:00
d5dd847ebb Fix dep
OBS-URL: https://build.opensuse.org/package/show/graphics/tenmon?expand=0&rev=25
2025-10-20 06:31:26 +00:00
75e74d097a Update dep
OBS-URL: https://build.opensuse.org/package/show/graphics/tenmon?expand=0&rev=24
2025-10-17 08:31:01 +00:00
4ebe42407a Fix spec
OBS-URL: https://build.opensuse.org/package/show/graphics/tenmon?expand=0&rev=23
2025-10-17 08:23:52 +00:00
b61e1fbbc2 Fix patches
OBS-URL: https://build.opensuse.org/package/show/graphics/tenmon?expand=0&rev=22
2025-10-17 08:22:24 +00:00
a5f699c8ad - Update to 20250915:
* Draw equatorial grid and objects overlay
  * File Manager
  * Support for PCL:AstrometricSolution
  * Script console

OBS-URL: https://build.opensuse.org/package/show/graphics/tenmon?expand=0&rev=21
2025-10-17 07:50:43 +00:00
138d739fd6 Accepting request 1266385 from graphics
- Update to 20250318:
  * Use only single database
  * Add generating thumbnails from cmd line
  * Configurable threshold
  * Fix Do not prepend \\ to network share paths
  * Add ability to have user defined colormaps
  * For setSolverProfile use index 1-8
  * Add best fit on image load
  * Remove startfit

OBS-URL: https://build.opensuse.org/request/show/1266385
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tenmon?expand=0&rev=8
2025-04-02 15:17:21 +00:00
deec546fb6 - Update to 3.0.0
OBS-URL: https://build.opensuse.org/package/show/graphics/tenmon?expand=0&rev=19
2025-04-02 06:34:45 +00:00
82ad9bef60 Accepting request 1244515 from graphics
- Update to 20250126:
  * Support for really big images +50000px
  * Add setting solver profile in scripts
  * Plate solving
  * Open marked files as directory
  * Improved ICC color profile handling
  * Add *.fz and *.fts as FITS extension
- Rename use_system_libxisf.patch to fix-cmakelists.patch

OBS-URL: https://build.opensuse.org/request/show/1244515
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tenmon?expand=0&rev=7
2025-02-10 16:25:54 +00:00
d1a6db5b81 - Rename use_system_libxisf.patch to fix-cmakelists.patch
OBS-URL: https://build.opensuse.org/package/show/graphics/tenmon?expand=0&rev=17
2025-02-09 17:03:26 +00:00
766a9afc74 - Add fix-cmakelists.patch
- Add fix-libxisf-include.patch
- Drop use_system_libxisf.patch

OBS-URL: https://build.opensuse.org/package/show/graphics/tenmon?expand=0&rev=16
2025-02-09 17:01:37 +00:00
693da428c4 - Update to 20250126:
* Support for really big images +50000px
  * Add setting solver profile in scripts
  * Plate solving
  * Open marked files as directory
  * Improved ICC color profile handling
  * Add *.fz and *.fts as FITS extension

OBS-URL: https://build.opensuse.org/package/show/graphics/tenmon?expand=0&rev=15
2025-02-09 16:56:59 +00:00
7 changed files with 95 additions and 59 deletions

34
fix-cmakelists.patch Normal file
View File

@@ -0,0 +1,34 @@
Index: tenmon/CMakeLists.txt
===================================================================
--- tenmon.orig/CMakeLists.txt
+++ tenmon/CMakeLists.txt
@@ -24,8 +24,8 @@ find_library(RAW_LIB NAMES raw_r REQUIRE
find_library(WCS_LIB wcs wcslib REQUIRED)
find_library(LCMS2_LIB lcms2 REQUIRED)
find_library(STELLARSOLVER_LIB NAMES stellarsolver stellarsolver6)
-
-add_subdirectory(libXISF)
+find_library(LibXISF_LIBRARY NAMES libXISF XISF REQUIRED)
+find_library(ZSTD_LIB NAMES zstd REQUIRED)
set(TENMON_SRC
src/about.cpp src/about.h
@@ -79,7 +79,7 @@ endif()
qt_add_executable(tenmon WIN32 MACOSX_BUNDLE ${tenmon_ICON} ${TENMON_SRC})
find_path(FITS_INCLUDE fitsio2.h PATH_SUFFIXES cfitsio REQUIRED)
-target_include_directories(tenmon PRIVATE ${FITS_INCLUDE} ${CMAKE_BINARY_DIR} ${libXISF_SOURCE_DIR} "src")
+target_include_directories(tenmon PRIVATE ${FITS_INCLUDE} ${CMAKE_BINARY_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/src)
option(COLOR_MANAGMENT "Enable sRGB framebuffer support for gamma correct images and color profiles support" ON)
if(COLOR_MANAGMENT)
@@ -105,7 +105,8 @@ if(STELLARSOLVER_INCLUDE AND STELLARSOLV
message(STATUS "Found stellarsolver ${STELLARSOLVER_INCLUDE} ${STELLARSOLVER_LIB}")
endif(STELLARSOLVER_INCLUDE AND STELLARSOLVER_LIB)
-target_link_libraries(tenmon PRIVATE Qt6::Widgets Qt6::Sql Qt6::OpenGLWidgets Qt6::Qml Qt6::Charts ${EXIF_LIB} ${FITS_LIB} ${RAW_LIB} ${WCS_LIB} ${LCMS2_LIB} XISF)
+target_link_libraries(tenmon PRIVATE Qt6::Widgets Qt6::Sql Qt6::OpenGLWidgets Qt6::Qml Qt6::Charts ${EXIF_LIB} ${FITS_LIB} ${RAW_LIB} ${WCS_LIB} ${LCMS2_LIB} ${LibXISF_LIBRARY} ${ZSTD_LIB})
+
if(APPLE)
target_link_libraries(tenmon PRIVATE Qt6::DBus "-framework CoreFoundation")
elseif(UNIX)

View File

@@ -1,30 +1,25 @@
diff -ru orig/main.cpp mod/main.cpp
--- orig/main.cpp 2024-06-10 22:39:52.000000000 +0200
+++ mod/main.cpp 2024-06-12 07:44:13.782719909 +0200
@@ -3,7 +3,7 @@
#include <QSurfaceFormat>
#include <QTranslator>
Index: tenmon/src/main.cpp
===================================================================
--- tenmon.orig/src/main.cpp
+++ tenmon/src/main.cpp
@@ -5,6 +5,7 @@
#include <QCommandLineParser>
#include <stdlib.h>
-#include "libxisf.h"
#include "../thumbnailer/genthumbnail.h"
+#include <libxisf.h>
int main(int argc, char *argv[])
{
diff -ru orig/scriptengine.cpp mod/scriptengine.cpp
--- orig/scriptengine.cpp 2024-06-10 22:39:52.000000000 +0200
+++ mod/scriptengine.cpp 2024-06-12 07:44:24.692828986 +0200
@@ -1,4 +1,5 @@
#include "scriptengine.h"
+
#include <QDir>
#include <QFileInfo>
#include <QDebug>
@@ -8,7 +9,7 @@
#include "loadrunable.h"
Index: tenmon/src/scriptengine.cpp
===================================================================
--- tenmon.orig/src/scriptengine.cpp
+++ tenmon/src/scriptengine.cpp
@@ -10,7 +10,7 @@
#include "loadimage.h"
#include "batchprocessing.h"
#include <fitsio2.h>
-#include "libXISF/libxisf.h"
-#include "libxisf.h"
+#include <libxisf.h>
namespace Script
{
#ifdef PLATESOLVER
#include "solver.h"
#endif // PLATESOLVER

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9a0ca57e8eebbb5d59c049220dc6e25433126a39dd9407aaa78949abc41b34a1
size 231445

3
tenmon-20250915.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6e1cb161517e3e31c22a416d210f7de68b5c8d31c58fecd61e4fb98005ee526b
size 1470222

View File

@@ -1,3 +1,37 @@
-------------------------------------------------------------------
Fri Oct 17 07:49:50 UTC 2025 - Paolo Stivanin <info@paolostivanin.com>
- Update to 20250915:
* Draw equatorial grid and objects overlay
* File Manager
* Support for PCL:AstrometricSolution
* Script console
-------------------------------------------------------------------
Tue Apr 1 12:47:56 UTC 2025 - Paolo Stivanin <info@paolostivanin.com>
- Update to 20250318:
* Use only single database
* Add generating thumbnails from cmd line
* Configurable threshold
* Fix Do not prepend \\ to network share paths
* Add ability to have user defined colormaps
* For setSolverProfile use index 1-8
* Add best fit on image load
* Remove startfit
-------------------------------------------------------------------
Sun Feb 9 16:54:17 UTC 2025 - Paolo Stivanin <info@paolostivanin.com>
- Update to 20250126:
* Support for really big images +50000px
* Add setting solver profile in scripts
* Plate solving
* Open marked files as directory
* Improved ICC color profile handling
* Add *.fz and *.fts as FITS extension
- Rename use_system_libxisf.patch to fix-cmakelists.patch
-------------------------------------------------------------------
Fri Sep 13 12:54:08 UTC 2024 - Paolo Stivanin <info@paolostivanin.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package tenmon
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -21,20 +21,22 @@
%endif
Name: tenmon
Version: 20240816
Version: 20250915
Release: 0
Summary: FITS and XISF image viewer, converter and indexer
License: GPL-3.0-or-later
URL: https://gitea.nouspiro.space/nou/tenmon/
Source: https://gitea.nouspiro.space/nou/tenmon/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
# PATCH-FIX-UPSTREAM
Patch0: use_system_libxisf.patch
Patch0: fix-cmakelists.patch
# PATCH-FIX-UPSTREAM
Patch1: fix-libxisf-include.patch
BuildRequires: gcc%{?force_gcc_version}-c++ >= 12
BuildRequires: libXISF-devel >= 0.2.12+git5.d00de20
BuildRequires: libXISF-devel >= 0.2.13+git3.556bb22
BuildRequires: libzstd-devel
BuildRequires: pkgconfig
BuildRequires: qt6-base-devel >= 6.2.0
BuildRequires: pkgconfig(Qt6Charts)
BuildRequires: pkgconfig(Qt6OpenGL)
BuildRequires: pkgconfig(Qt6Qml)
BuildRequires: pkgconfig(Qt6Sql)
@@ -92,5 +94,6 @@ export CXXFLAGS=$(echo "$CXXFLAGS -Wno-switch -Wno-catch-value")
%{_datadir}/icons/hicolor/128x128/apps/space.nouspiro.tenmon.png
%{_datadir}/icons/hicolor/64x64/apps/space.nouspiro.tenmon.png
%{_datadir}/metainfo/space.nouspiro.tenmon.metainfo.xml
%{_datadir}/mime/packages/space.nouspiro.tenmon.xisf.xml
%changelog

View File

@@ -1,30 +0,0 @@
Index: tenmon/CMakeLists.txt
===================================================================
--- tenmon.orig/CMakeLists.txt
+++ tenmon/CMakeLists.txt
@@ -24,8 +24,7 @@ find_library(EXIF_LIB exif REQUIRED)
find_library(FITS_LIB cfitsio REQUIRED)
find_library(RAW_LIB NAMES raw_r REQUIRED)
find_library(WCS_LIB wcs wcslib PATHS REQUIRED)
-
-add_subdirectory(libXISF)
+find_library(LibXISF_LIBRARY NAMES libXISF XISF REQUIRED)
set(TENMON_SRC
about.cpp about.h
@@ -78,13 +77,13 @@ endif()
qt_add_executable(tenmon WIN32 MACOSX_BUNDLE ${tenmon_ICON} ${TENMON_SRC})
find_path(FITS_INCLUDE fitsio2.h PATH_SUFFIXES cfitsio REQUIRED)
-target_include_directories(tenmon PRIVATE ${FITS_INCLUDE} ${CMAKE_BINARY_DIR} ${libXISF_SOURCE_DIR})
+target_include_directories(tenmon PRIVATE ${FITS_INCLUDE} ${CMAKE_BINARY_DIR})
if(UNIX AND NOT APPLE)
target_include_directories(tenmon PRIVATE ${GIO_INCLUDE_DIRS})
endif()
-target_link_libraries(tenmon PRIVATE Qt6::Widgets Qt6::Sql Qt6::OpenGLWidgets Qt6::Qml ${GSL_LIB} ${GSLCBLAS_LIB} ${EXIF_LIB} ${FITS_LIB} ${RAW_LIB} ${WCS_LIB} XISF)
+target_link_libraries(tenmon PRIVATE Qt6::Widgets Qt6::Sql Qt6::OpenGLWidgets Qt6::Qml ${GSL_LIB} ${GSLCBLAS_LIB} ${EXIF_LIB} ${FITS_LIB} ${RAW_LIB} ${WCS_LIB} ${LibXISF_LIBRARY})
if(APPLE)
target_link_libraries(tenmon PRIVATE Qt6::DBus "-framework CoreFoundation")
elseif(UNIX)