- update to 2.5.1

https://discuss.pixls.us/t/release-of-gmic-2-5/9413
- refresh cmake-fixes.patch:
  only lowering of cmake version remains, all other changes are
  upstream

OBS-URL: https://build.opensuse.org/package/show/graphics/gmic?expand=0&rev=15
This commit is contained in:
Marcus Rückert 2019-03-15 13:35:08 +00:00 committed by Git OBS Bridge
parent 9df63a6533
commit 4382a30b8a
5 changed files with 21 additions and 23 deletions

View File

@ -1,25 +1,13 @@
Index: gmic-2.4.1/CMakeLists.txt
Index: gmic-2.4.5/CMakeLists.txt
===================================================================
--- gmic-2.4.1.orig/CMakeLists.txt
+++ gmic-2.4.1/CMakeLists.txt
--- gmic-2.4.5.orig/CMakeLists.txt
+++ gmic-2.4.5/CMakeLists.txt
@@ -53,7 +53,7 @@
# knowledge of the CeCILL and CeCILL-C licenses and that you accept its terms.
#
-cmake_minimum_required(VERSION 3.12)
-cmake_minimum_required(VERSION 3.9)
+cmake_minimum_required(VERSION 3.5)
cmake_policy(SET CMP0046 OLD)
if(CMAKE_SOURCE_DIR STREQUAL CMAKE_BINARY_DIR)
@@ -380,8 +380,8 @@ file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/
configure_package_config_file(
${CMAKE_CURRENT_BINARY_DIR}/GmicConfig.cmake.in
${CMAKE_CURRENT_BINARY_DIR}/GmicConfig.cmake
- INSTALL_DESTINATION lib/cmake/gmic
+ INSTALL_DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/gmic
)
-install(EXPORT GmicTargets DESTINATION lib/cmake/gmic)
-install(FILES ${CMAKE_CURRENT_BINARY_DIR}/GmicConfig.cmake DESTINATION lib/cmake/gmic)
+install(EXPORT GmicTargets DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/gmic)
+install(FILES ${CMAKE_CURRENT_BINARY_DIR}/GmicConfig.cmake DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/gmic)
feature_summary(WHAT ALL)

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Thu Mar 14 17:17:41 UTC 2019 - Marcus Rueckert <mrueckert@suse.de>
- update to 2.5.1
https://discuss.pixls.us/t/release-of-gmic-2-5/9413
- refresh cmake-fixes.patch:
only lowering of cmake version remains, all other changes are
upstream
-------------------------------------------------------------------
Wed Nov 7 12:30:34 UTC 2018 - Marcus Rueckert <mrueckert@suse.de>

View File

@ -23,10 +23,10 @@
#define __builder ninja
Name: gmic
Version: 2.4.1
Version: 2.5.1
Release: 0
URL: https://gmic.eu
# Git URL: https://framagit.org/dtschump/gmic
Source0: https://gmic.eu/files/source/gmic_%{version}.tar.gz
Source10: http://gmic.eu/gmic_reference.pdf
Patch: cmake-fixes.patch
@ -52,6 +52,7 @@ BuildRequires: libtiff-devel
BuildRequires: ninja
BuildRequires: opencv-devel
BuildRequires: pkgconfig(Qt5Widgets)
BuildRequires: pkgconfig(eigen3)
%description
G'MIC is an open and full-featured framework for image processing, providing
@ -210,7 +211,7 @@ install -m 0644 build/resources/gmic_bashcompletion.sh %{buildroot}%{_sysconfdir
# Film color lookup tables
install -d -m 0755 %{buildroot}%{_gimpplugindir}
install -m 0644 resources/gmic_film_cluts.gmz %{buildroot}%{_gimpplugindir}/gmic_film_cluts.gmz
install -m 0644 resources/gmic_cluts.gmz %{buildroot}%{_gimpplugindir}/gmic_cluts.gmz
# qt_gmic
pushd gmic-qt
@ -260,7 +261,7 @@ popd
#license gmic-qt/COPYING
%doc gmic-qt/README.md
%{_gimpplugindir}/gmic_gimp_qt
%{_gimpplugindir}/gmic_film_cluts.gmz
%{_gimpplugindir}/gmic_cluts.gmz
%files -n krita-plugin-gmic
%defattr(-,root,root)

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:446b465d2ff7314add634115f6bffecd136ad96759eb92f76c03f231f44188d6
size 3809170

3
gmic_2.5.1.tar.gz Normal file
View File

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