[packages/testdisk] - up to 7.2, fix internal deps
baggins
baggins at pld-linux.org
Fri Oct 3 21:48:42 CEST 2025
commit b4df2647e1c05689ba54d229aa80769064bc920b
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Fri Oct 3 23:48:23 2025 +0200
- up to 7.2, fix internal deps
ewf-detect.patch | 11 +++++++++++
testdisk.spec | 9 +++++----
2 files changed, 16 insertions(+), 4 deletions(-)
---
diff --git a/testdisk.spec b/testdisk.spec
index 8c5a01a..81f2491 100644
--- a/testdisk.spec
+++ b/testdisk.spec
@@ -7,13 +7,14 @@ Summary(fr.UTF-8): Outil pour vérifier et restorer des partitions
Summary(pl.UTF-8): Narzędzie sprawdzające i odzyskujące partycje
Summary(ru.UTF-8): Программа для проверки и восстановления разделов диска
Name: testdisk
-Version: 7.1
-Release: 2
+Version: 7.2
+Release: 1
License: GPL v2+
Group: Applications/System
#Source0Download: https://www.cgsecurity.org/wiki/TestDisk_Download
Source0: https://www.cgsecurity.org/%{name}-%{version}.tar.bz2
-# Source0-md5: 57d78ffee1c076ef4cf541a74f8d52d4
+# Source0-md5: c6809b6fd06b5022467c8faa32d49a27
+Patch0: ewf-detect.patch
URL: https://www.cgsecurity.org/wiki/TestDisk
%if %{with qt}
BuildRequires: Qt5Gui-devel >= 5.0.0
@@ -145,7 +146,6 @@ Summary: QPhotoRec graphical user interface
Summary(pl.UTF-8): Graficzny interfejs użytkownika QPhotoRec
Group: X11/Applications
Requires: %{name} = %{version}-%{release}
-Requires: QtGui >= 4.0.1
%description gui
QPhotoRec graphical user interface.
@@ -155,6 +155,7 @@ Graficzny interfejs użytkownika QPhotoRec.
%prep
%setup -q
+%patch -P0 -p1
%build
%{__aclocal}
diff --git a/ewf-detect.patch b/ewf-detect.patch
new file mode 100644
index 0000000..cfe56cd
--- /dev/null
+++ b/ewf-detect.patch
@@ -0,0 +1,11 @@
+--- testdisk-7.2/configure.ac~ 2024-02-02 16:56:43.000000000 +0100
++++ testdisk-7.2/configure.ac 2025-10-03 23:46:26.926665179 +0200
+@@ -853,7 +853,7 @@
+ ],[
+ AC_MSG_WARN(No ewf library detected)
+ ],[])
+- LIBS="$OLDLIBS"
++ LIBS="$OLDLIBS -lewf"
+ else
+ AC_MSG_WARN(Use of ewf library disabled)
+ fi
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/testdisk.git/commitdiff/b4df2647e1c05689ba54d229aa80769064bc920b
More information about the pld-cvs-commit
mailing list