[packages/pfstmo] - up to 1.5, but not needed for pfstools 2.x
qboosh
qboosh at pld-linux.org
Wed Sep 3 21:24:49 CEST 2025
commit cb69166ee2d60c03c47d5ad134823707b61aafd4
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Wed Sep 3 21:27:35 2025 +0200
- up to 1.5, but not needed for pfstools 2.x
pfstmo-c++.patch | 11 -----------
pfstmo.spec | 17 +++++++++--------
2 files changed, 9 insertions(+), 19 deletions(-)
---
diff --git a/pfstmo.spec b/pfstmo.spec
index d30cc4c..79a9d0b 100644
--- a/pfstmo.spec
+++ b/pfstmo.spec
@@ -1,17 +1,18 @@
+# NOTE: obsolete, included in pfstools 2.x
Summary: PFS tone mapping operators
Summary(pl.UTF-8): PFS tone mapping operators - operatory odwzorowania tonów (kompresji dynamiki)
Name: pfstmo
-Version: 1.4
-Release: 1
+Version: 1.5
+Release: 0.1
License: GPL v2+
Group: Applications/Graphics
-Source0: http://downloads.sourceforge.net/pfstools/%{name}-%{version}.tar.gz
-# Source0-md5: 90409a9adda70f59001c04cafcdab8d6
-Patch0: %{name}-c++.patch
+Source0: https://downloads.sourceforge.net/pfstools/%{name}-%{version}.tar.gz
+# Source0-md5: f0dc0baee2be66b1eedf77a45864c0e9
Patch1: %{name}-opt.patch
-URL: http://pfstools.sourceforge.net/pfstmo.html
-BuildRequires: autoconf
+URL: https://pfstools.sourceforge.net/pfstmo.html
+BuildRequires: autoconf >= 2.50
BuildRequires: automake >= 1.6
+BuildRequires: fftw3-devel >= 3.0
BuildRequires: fftw3-single-devel >= 3.0
BuildRequires: gsl-devel
BuildRequires: libstdc++-devel
@@ -37,7 +38,6 @@ do wygodnego przetwarzania obrazów statycznych i animacji.
%prep
%setup -q
-%patch -P0 -p1
%patch -P1 -p1
%build
@@ -46,6 +46,7 @@ do wygodnego przetwarzania obrazów statycznych i animacji.
%{__autoconf}
%{__autoheader}
%{__automake}
+CXXFLAGS="%{rpmcxxflags} -std=c++98"
%configure \
%{?debug:--enable-debug}
%{__make}
diff --git a/pfstmo-c++.patch b/pfstmo-c++.patch
deleted file mode 100644
index 3d30d4a..0000000
--- a/pfstmo-c++.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- pfstmo-1.4/src/mantiuk08/display_adaptive_tmo.h.orig 2009-02-23 19:46:36.000000000 +0100
-+++ pfstmo-1.4/src/mantiuk08/display_adaptive_tmo.h 2012-02-04 08:32:14.497281537 +0100
-@@ -29,6 +29,8 @@
- * $Id$
- */
-
-+#include <memory>
-+
- #include "display_function.h"
- #include "display_size.h"
-
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/pfstmo.git/commitdiff/cb69166ee2d60c03c47d5ad134823707b61aafd4
More information about the pld-cvs-commit
mailing list