pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/www/libmediawiki
Module Name: pkgsrc
Committed By: wiz
Date: Thu Aug 21 18:17:18 UTC 2025
Modified Files:
pkgsrc/www/libmediawiki: distinfo
pkgsrc/www/libmediawiki/patches: patch-CMakeLists.txt
Added Files:
pkgsrc/www/libmediawiki/patches: patch-src_CMakeLists.txt
Log Message:
libmediawiki: fix build with cmake 4
To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 pkgsrc/www/libmediawiki/distinfo
cvs rdiff -u -r1.1 -r1.2 pkgsrc/www/libmediawiki/patches/patch-CMakeLists.txt
cvs rdiff -u -r0 -r1.1 \
pkgsrc/www/libmediawiki/patches/patch-src_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/www/libmediawiki/distinfo
diff -u pkgsrc/www/libmediawiki/distinfo:1.10 pkgsrc/www/libmediawiki/distinfo:1.11
--- pkgsrc/www/libmediawiki/distinfo:1.10 Thu May 12 12:37:54 2022
+++ pkgsrc/www/libmediawiki/distinfo Thu Aug 21 18:17:18 2025
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.10 2022/05/12 12:37:54 wiz Exp $
+$NetBSD: distinfo,v 1.11 2025/08/21 18:17:18 wiz Exp $
BLAKE2s (libmediawiki-5.37.0.tar.xz) = f3b900d64bdf11c9e24af6b40d341acc7585c24c6e0acd35bcca5a375bb1bc31
SHA512 (libmediawiki-5.37.0.tar.xz) = 5efcd30782c8d54cddad51c6a96065f2942529e89facfd1c3a71af343a898858db02fa95dd0af0161b3e13aee6a9a373a0a641ce64e128c7282cbf3770db6993
Size (libmediawiki-5.37.0.tar.xz) = 55188 bytes
-SHA1 (patch-CMakeLists.txt) = fd32cfc01bbf9996d9ac11656d0a19cc5386cf05
+SHA1 (patch-CMakeLists.txt) = 9ecb17b6afb571d876372bdab9f865fe6c597ed3
+SHA1 (patch-src_CMakeLists.txt) = 112eda36bda017088018f7262381b82fe630d203
Index: pkgsrc/www/libmediawiki/patches/patch-CMakeLists.txt
diff -u pkgsrc/www/libmediawiki/patches/patch-CMakeLists.txt:1.1 pkgsrc/www/libmediawiki/patches/patch-CMakeLists.txt:1.2
--- pkgsrc/www/libmediawiki/patches/patch-CMakeLists.txt:1.1 Thu May 12 12:37:54 2022
+++ pkgsrc/www/libmediawiki/patches/patch-CMakeLists.txt Thu Aug 21 18:17:18 2025
@@ -1,9 +1,23 @@
-$NetBSD: patch-CMakeLists.txt,v 1.1 2022/05/12 12:37:54 wiz Exp $
+$NetBSD: patch-CMakeLists.txt,v 1.2 2025/08/21 18:17:18 wiz Exp $
Build fix from arch linux package.
--- CMakeLists.txt.orig 2017-08-30 11:48:37.000000000 +0000
+++ CMakeLists.txt
+@@ -4,12 +4,12 @@
+ # Redistribution and use is allowed according to the terms of the BSD license.
+ # For details see the accompanying COPYING-CMAKE-SCRIPTS file.
+
+ project(MediaWiki)
+
+ message(STATUS "----------------------------------------------------------------------------------")
+ message(STATUS "Starting CMake configuration for: ${PROJECT_NAME}")
+
+-set(CMAKE_MIN_VERSION "2.8.12")
++set(CMAKE_MIN_VERSION "3.5")
+ set(ECM_MIN_VERSION "1.5.0")
+ set(KF5_VERSION "5.5.0")
+ set(REQUIRED_QT_VERSION "5.2.0")
@@ -46,6 +46,8 @@ ecm_setup_version(${LIBMEDIAWIKI_LIBVERS
find_package(Qt5 ${REQUIRED_QT_VERSION} NO_MODULE REQUIRED Core Network)
find_package(KF5CoreAddons ${KF5_VERSION} REQUIRED)
Added files:
Index: pkgsrc/www/libmediawiki/patches/patch-src_CMakeLists.txt
diff -u /dev/null pkgsrc/www/libmediawiki/patches/patch-src_CMakeLists.txt:1.1
--- /dev/null Thu Aug 21 18:17:18 2025
+++ pkgsrc/www/libmediawiki/patches/patch-src_CMakeLists.txt Thu Aug 21 18:17:18 2025
@@ -0,0 +1,12 @@
+$NetBSD: patch-src_CMakeLists.txt,v 1.1 2025/08/21 18:17:18 wiz Exp $
+
+Fix build with cmake 4.
+
+--- src/CMakeLists.txt.orig 2025-08-21 18:15:28.876058032 +0000
++++ src/CMakeLists.txt
+@@ -1,3 +1,5 @@
++project(mediawiki LANGUAGES CXX VERSION 1)
++
+ set(mediawiki_SRCS
+ image.cpp
+ imageinfo.cpp
Home |
Main Index |
Thread Index |
Old Index