pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/kdevelop



Module Name:    pkgsrc
Committed By:   wiz
Date:           Sun Aug 24 15:08:17 UTC 2025

Modified Files:
        pkgsrc/devel/kdevelop: Makefile distinfo
Added Files:
        pkgsrc/devel/kdevelop/patches:
            patch-plugins_debuggercommon_CMakeLists.txt

Log Message:
kdevelop: fix build with cmake 4

include hicolor icons support and bump PKGREVISION.


To generate a diff of this commit:
cvs rdiff -u -r1.94 -r1.95 pkgsrc/devel/kdevelop/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/kdevelop/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/devel/kdevelop/patches/patch-plugins_debuggercommon_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/devel/kdevelop/Makefile
diff -u pkgsrc/devel/kdevelop/Makefile:1.94 pkgsrc/devel/kdevelop/Makefile:1.95
--- pkgsrc/devel/kdevelop/Makefile:1.94 Fri May  9 19:37:10 2025
+++ pkgsrc/devel/kdevelop/Makefile      Sun Aug 24 15:08:17 2025
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.94 2025/05/09 19:37:10 wiz Exp $
-#
+# $NetBSD: Makefile,v 1.95 2025/08/24 15:08:17 wiz Exp $
 
 DISTNAME=      kdevelop-${KAPPSVER}
-PKGREVISION=   10
+PKGREVISION=   11
 CATEGORIES=    devel
 
 HOMEPAGE=      https://www.kdevelop.org/
@@ -42,5 +41,5 @@ pre-configure:
 .include "../../x11/plasma-framework/buildlink3.mk"
 .include "../../x11/qt5-qtwebengine/buildlink3.mk"
 .include "../../x11/qt5-qtbase/buildlink3.mk"
-
+.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/devel/kdevelop/distinfo
diff -u pkgsrc/devel/kdevelop/distinfo:1.2 pkgsrc/devel/kdevelop/distinfo:1.3
--- pkgsrc/devel/kdevelop/distinfo:1.2  Tue Feb  6 11:05:15 2024
+++ pkgsrc/devel/kdevelop/distinfo      Sun Aug 24 15:08:17 2025
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.2 2024/02/06 11:05:15 markd Exp $
+$NetBSD: distinfo,v 1.3 2025/08/24 15:08:17 wiz Exp $
 
 BLAKE2s (kdevelop-23.08.4.tar.xz) = 637f743fafc6fe9c5c2c87c105f877ec79a2ac1d6ab50e074baf7539e7b6d48c
 SHA512 (kdevelop-23.08.4.tar.xz) = e5a1bf3b6c46006165a6169fdfe244d02bff945c8dd01d0b5897a0752b4759c03f58ce136e636366b14b3b27e91aa14b29b0f432589a2114f45fbdf2a3cf3135
 Size (kdevelop-23.08.4.tar.xz) = 8707260 bytes
-SHA1 (patch-languages_cpp_codegen_adaptsignatureassistant.cpp) = b184ac8deb737be859a8e6644ad3f1eb9ac6a594
+SHA1 (patch-plugins_debuggercommon_CMakeLists.txt) = 8111276289c45319c0cae9453f3757263352187b

Added files:

Index: pkgsrc/devel/kdevelop/patches/patch-plugins_debuggercommon_CMakeLists.txt
diff -u /dev/null pkgsrc/devel/kdevelop/patches/patch-plugins_debuggercommon_CMakeLists.txt:1.1
--- /dev/null   Sun Aug 24 15:08:18 2025
+++ pkgsrc/devel/kdevelop/patches/patch-plugins_debuggercommon_CMakeLists.txt   Sun Aug 24 15:08:17 2025
@@ -0,0 +1,24 @@
+$NetBSD: patch-plugins_debuggercommon_CMakeLists.txt,v 1.1 2025/08/24 15:08:17 wiz Exp $
+
+Fix build with cmake 4.
+
+--- plugins/debuggercommon/CMakeLists.txt.orig 2025-08-24 15:03:21.441872413 +0000
++++ plugins/debuggercommon/CMakeLists.txt
+@@ -51,17 +51,6 @@ ki18n_wrap_ui(debuggercommon_SRCS
+     registers/registersview.ui
+ )
+ 
+-# Use old behavior (ignore the visibility properties for static libraries, object
+-# libraries, and executables without exports) on target kdevdebuggercommon (so the
+-# default public visibility is used).
+-# kdevdebuggercommon is used by target test_gdb which is added by ecm_add_test,
+-# which doesn't set CMP0063 so old behavior is used.
+-# If kdevdebuggercommon honors visibility properties (set to hidden), it will cause
+-# linker warnings about direct access to global weak symbol when link against test_gdb
+-if(POLICY CMP0063)
+-    cmake_policy(SET CMP0063 OLD)
+-endif()
+-
+ add_library(kdevdebuggercommon STATIC ${debuggercommon_SRCS})
+ target_link_libraries(kdevdebuggercommon
+     PUBLIC



Home | Main Index | Thread Index | Old Index