Compare commits
2 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 6a39c87fb9 | |||
| c3bf04e3e6 |
@@ -1,27 +0,0 @@
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -57,6 +57,24 @@ foreach(QM_FILE ${QM_FILES})
|
||||
endforeach()
|
||||
file(APPEND ${TRANSLATIONS_QRC} "</qresource></RCC>")
|
||||
|
||||
+
|
||||
+exec_program (Magick++-config ARGS --cxxflags OUTPUT_VARIABLE magick_config)
|
||||
+string (REGEX MATCH "-DMAGICKCORE_HDRI_ENABLE=." magick_config_hdri ${magick_config})
|
||||
+string (REGEX MATCH "-DMAGICKCORE_QUANTUM_DEPTH=[0-9]+" magick_config_quantum ${magick_config})
|
||||
+if (magick_config_hdri STREQUAL "")
|
||||
+ set (magick_config_hdri "-DMAGICKCORE_HDRI_ENABLE=0")
|
||||
+endif (magick_config_hdri STREQUAL "")
|
||||
+if (magick_config_quantum STREQUAL "")
|
||||
+ set (magick_config_quantum "-DMAGICKCORE_QUANTUM_DEPTH=16")
|
||||
+endif (magick_config_quantum STREQUAL "")
|
||||
+message (STATUS "Set magic_config_quantum: " ${magick_config_quantum})
|
||||
+message (STATUS "Set magic_config_hdri: " ${magick_config_hdri})
|
||||
+add_definitions(
|
||||
+ ${magick_config_hdri}
|
||||
+ ${magick_config_quantum}
|
||||
+)
|
||||
+
|
||||
+
|
||||
configure_file(src/libraries.h.in libraries.h @ONLY)
|
||||
|
||||
set (
|
||||
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1752553b639f3b380627e15586e5b883602abc81b0384276691ff36e03b53af1
|
||||
size 112583
|
||||
3
pdfmixtool-v1.2.1.tar.bz2
Normal file
3
pdfmixtool-v1.2.1.tar.bz2
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:b6f6e24c8baf09b37716b9587a3c99c37f150a20c2162be72860e6fae187fa2c
|
||||
size 123700
|
||||
@@ -1,3 +1,18 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 25 14:24:05 UTC 2025 - Ana Guerrero <ana.guerrero@suse.com>
|
||||
|
||||
- Update to version 1.2.1:
|
||||
* Fix localization
|
||||
- Update to version 1.2.0:
|
||||
* Add Crop operation
|
||||
* Add preview to Ratote and Pages layout operations
|
||||
* Remove Qt 5 support
|
||||
- Update BuildRequires to drop Qt5 and add Qt6 support.
|
||||
- Remove support for update-desktop-files, it's deprecated.
|
||||
- Remove obsolete patches:
|
||||
* fix-missing-definitions.patch
|
||||
* stop_using_obsolete_standards.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Oct 7 07:24:02 UTC 2023 - munix9@googlemail.com
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package pdfmixtool
|
||||
#
|
||||
# Copyright (c) 2023 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
|
||||
@@ -17,28 +17,22 @@
|
||||
|
||||
|
||||
Name: pdfmixtool
|
||||
Version: 1.1.1
|
||||
Version: 1.2.1
|
||||
Release: 0
|
||||
Summary: Split, Merge, Rotate and Mix PDF Files
|
||||
License: GPL-3.0-only
|
||||
Group: Productivity/Publishing/PDF
|
||||
URL: https://gitlab.com/scarpetta/pdfmixtool/
|
||||
Source0: https://gitlab.com/scarpetta/pdfmixtool/-/archive/v%{version}/%{name}-v%{version}.tar.bz2
|
||||
Patch1: stop_using_obsolete_standards.patch
|
||||
# PATCH-FIX-OPENSUSE fix-missing-definitions.patch munix9@googlemail.com -- Add missing definitions for Factory/TW
|
||||
Patch2: fix-missing-definitions.patch
|
||||
BuildRequires: cmake
|
||||
BuildRequires: hicolor-icon-theme
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: update-desktop-files
|
||||
BuildRequires: cmake(Qt5Core)
|
||||
BuildRequires: cmake(Qt5Gui)
|
||||
BuildRequires: cmake(Qt5LinguistTools)
|
||||
BuildRequires: cmake(Qt5Svg)
|
||||
BuildRequires: cmake(Qt5Widgets)
|
||||
BuildRequires: cmake(Qt5Xml)
|
||||
BuildRequires: cmake(Qt6LinguistTools)
|
||||
BuildRequires: cmake(Qt6SvgWidgets)
|
||||
BuildRequires: cmake(Qt6Xml)
|
||||
BuildRequires: pkgconfig(Magick++)
|
||||
BuildRequires: pkgconfig(libqpdf)
|
||||
BuildRequires: pkgconfig(poppler-qt6)
|
||||
|
||||
%description
|
||||
An application to split, merge, rotate, mix and create multipage PDF files.
|
||||
@@ -52,7 +46,6 @@ An application to split, merge, rotate, mix and create multipage PDF files.
|
||||
|
||||
%install
|
||||
%cmake_install
|
||||
%suse_update_desktop_file -r -G "PDF Tools" eu.scarpetta.PDFMixTool Qt Office Publishing Graphics Viewer
|
||||
|
||||
%files
|
||||
%license LICENSE
|
||||
|
||||
@@ -1,12 +0,0 @@
|
||||
Index: pdfmixtool-v1.1.1/CMakeLists.txt
|
||||
===================================================================
|
||||
--- pdfmixtool-v1.1.1.orig/CMakeLists.txt
|
||||
+++ pdfmixtool-v1.1.1/CMakeLists.txt
|
||||
@@ -5,7 +5,6 @@ project (PDFMixTool VERSION 1.1.1)
|
||||
include(GNUInstallDirs)
|
||||
include(FindPkgConfig)
|
||||
|
||||
-set(CMAKE_CXX_STANDARD 11)
|
||||
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
|
||||
set(CMAKE_AUTOMOC ON)
|
||||
set(CMAKE_AUTORCC ON)
|
||||
Reference in New Issue
Block a user