pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/textproc/ebook-tools



Module Name:    pkgsrc
Committed By:   wiz
Date:           Mon Aug 11 12:15:09 UTC 2025

Modified Files:
        pkgsrc/textproc/ebook-tools: Makefile distinfo
        pkgsrc/textproc/ebook-tools/patches: patch-CMakeLists.txt

Log Message:
ebook-tools: we were already patching the cmake version

so patch it some more, and link to upstream bug report URL


To generate a diff of this commit:
cvs rdiff -u -r1.39 -r1.40 pkgsrc/textproc/ebook-tools/Makefile
cvs rdiff -u -r1.7 -r1.8 pkgsrc/textproc/ebook-tools/distinfo
cvs rdiff -u -r1.2 -r1.3 \
    pkgsrc/textproc/ebook-tools/patches/patch-CMakeLists.txt

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/textproc/ebook-tools/Makefile
diff -u pkgsrc/textproc/ebook-tools/Makefile:1.39 pkgsrc/textproc/ebook-tools/Makefile:1.40
--- pkgsrc/textproc/ebook-tools/Makefile:1.39   Mon Aug 11 08:41:31 2025
+++ pkgsrc/textproc/ebook-tools/Makefile        Mon Aug 11 12:15:09 2025
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.39 2025/08/11 08:41:31 wiz Exp $
+# $NetBSD: Makefile,v 1.40 2025/08/11 12:15:09 wiz Exp $
 
 # also update lit2epub if you update this package.
 DISTNAME=      ebook-tools-0.2.2
@@ -13,8 +13,6 @@ LICENSE=      mit
 
 USE_LANGUAGES= c c++
 
-CMAKE_CONFIGURE_ARGS+= -DCMAKE_POLICY_VERSION_MINIMUM=3.5
-
 .include "../../devel/cmake/build.mk"
 .include "../../archivers/libzip/buildlink3.mk"
 .include "../../devel/cmake/buildlink3.mk"

Index: pkgsrc/textproc/ebook-tools/distinfo
diff -u pkgsrc/textproc/ebook-tools/distinfo:1.7 pkgsrc/textproc/ebook-tools/distinfo:1.8
--- pkgsrc/textproc/ebook-tools/distinfo:1.7    Tue Oct 26 11:21:51 2021
+++ pkgsrc/textproc/ebook-tools/distinfo        Mon Aug 11 12:15:09 2025
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.7 2021/10/26 11:21:51 nia Exp $
+$NetBSD: distinfo,v 1.8 2025/08/11 12:15:09 wiz Exp $
 
 BLAKE2s (ebook-tools-0.2.2.tar.gz) = 2c17d17738f87d0b70bd5830fbddabb14ee63a002650a70f77794115cc95dd94
 SHA512 (ebook-tools-0.2.2.tar.gz) = b4518249835ed7cc672392bf2f8b1c62bc218e41c53663bb26ab34c9e43a99b6b7ae794babdb4bd775e467bb17918703a66ee57c8cf94cb7afc4ba2a7f74816a
 Size (ebook-tools-0.2.2.tar.gz) = 46889 bytes
-SHA1 (patch-CMakeLists.txt) = 79f2c390746a643b2c20416f38ef159505f7acc6
+SHA1 (patch-CMakeLists.txt) = 0bdc03098ff300f2bfcdd42a8f64d6e08fed8357
 SHA1 (patch-ab) = 63d64a50962969f83033af63f4fd00fd91a1f38c

Index: pkgsrc/textproc/ebook-tools/patches/patch-CMakeLists.txt
diff -u pkgsrc/textproc/ebook-tools/patches/patch-CMakeLists.txt:1.2 pkgsrc/textproc/ebook-tools/patches/patch-CMakeLists.txt:1.3
--- pkgsrc/textproc/ebook-tools/patches/patch-CMakeLists.txt:1.2        Mon Feb 20 10:17:54 2017
+++ pkgsrc/textproc/ebook-tools/patches/patch-CMakeLists.txt    Mon Aug 11 12:15:09 2025
@@ -1,14 +1,15 @@
-$NetBSD: patch-CMakeLists.txt,v 1.2 2017/02/20 10:17:54 wiz Exp $
+$NetBSD: patch-CMakeLists.txt,v 1.3 2025/08/11 12:15:09 wiz Exp $
 
-Set minimum version to 3.0 to fix build with 3.1.
+Set minimum version to 3.5 to fix build with 4.
+https://sourceforge.net/p/ebook-tools/bugs/14/
 
 --- CMakeLists.txt.orig        2012-09-04 14:32:32.000000000 +0000
 +++ CMakeLists.txt
-@@ -1,6 +1,7 @@
+@@ -1,6 +1,6 @@
  project (EBOOK-TOOLS C)
  
- cmake_minimum_required(VERSION 2.4.0)
-+cmake_minimum_required(VERSION 3.0)
+-cmake_minimum_required(VERSION 2.4.0)
++cmake_minimum_required(VERSION 3.5)
  
  #set(CMAKE_CURRENT_SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/src)
  set(LIBRARY_OUTPUT_PATH ${EBOOK-TOOLS_BINARY_DIR}/libs)



Home | Main Index | Thread Index | Old Index