aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJose Alonso Cardenas Marquez <acm@FreeBSD.org>2026-06-11 05:13:41 +0000
committerJose Alonso Cardenas Marquez <acm@FreeBSD.org>2026-06-11 06:02:09 +0000
commitd05c39b3891582d6a5a270498436eabfaa88a60e (patch)
treea9897af98c6543a83c702445fdc37c1c6e4bb13c
parented3c80d6eca03287f054489333ffe53bec3d95fa (diff)
devel/dcd-client|server: Update to 0.16.2
- Remove BROKEN
-rw-r--r--devel/dcd-client/Makefile2
-rw-r--r--devel/dcd-server/Makefile17
-rw-r--r--devel/dcd-server/distinfo6
-rw-r--r--devel/dcd-server/files/patch-dub.json23
-rw-r--r--devel/dcd-server/pkg-plist20
5 files changed, 43 insertions, 25 deletions
diff --git a/devel/dcd-client/Makefile b/devel/dcd-client/Makefile
index b3bb78d0d0c7..4afd1ef0ce54 100644
--- a/devel/dcd-client/Makefile
+++ b/devel/dcd-client/Makefile
@@ -1,4 +1,4 @@
-PORTREVISION= 2
+PORTREVISION= 0
CATEGORIES= devel
PKGNAMESUFFIX= -client
diff --git a/devel/dcd-server/Makefile b/devel/dcd-server/Makefile
index cbb8b785eef4..b4796212dfe5 100644
--- a/devel/dcd-server/Makefile
+++ b/devel/dcd-server/Makefile
@@ -1,7 +1,7 @@
PORTNAME= dcd
-PORTVERSION= 0.13.6
+PORTVERSION= 0.16.2
DISTVERSIONPREFIX= v
-PORTREVISION?= 5
+PORTREVISION?= 0
CATEGORIES?= devel
PKGNAMESUFFIX?= -server
@@ -11,17 +11,12 @@ WWW= https://github.com/dlang-community/DCD
LICENSE= BSL
-BROKEN= none of the overloads of `fatalHandler` are callable using a `shared` object
-
BUILD_DEPENDS= ldmd2:lang/ldc \
dub:devel/dub \
rdmd:lang/dlang-tools \
${LOCALBASE}/lib/d/libemsi_containers.a:devel/containers \
- ${LOCALBASE}/lib/d/libdsymbol.a:devel/dsymbol \
${LOCALBASE}/lib/d/libmsgpack-d.a:devel/msgpack-d \
- ${LOCALBASE}/lib/d/libdparse.a:devel/libdparse \
- ${LOCALBASE}/lib/d/libmir-core.a:devel/mir-core \
- ${LOCALBASE}/lib/d/libstdx-allocator.a:devel/stdx-allocator
+ ${LOCALBASE}/lib/d/libdparse.a:devel/libdparse
USES= pkgconfig
USE_GITHUB= yes
@@ -35,7 +30,8 @@ D_LIB_DIR= ${PREFIX}/lib/d
DC= ${PREFIX}/bin/ldmd2
post-patch:
- ${REINPLACE_CMD} '7d' ${WRKSRC}/common/dub.sdl
+ ${REINPLACE_CMD} '8d' ${WRKSRC}/common/dub.sdl
+ ${REINPLACE_CMD} '9,10d' ${WRKSRC}/dsymbol/dub.json
${REINPLACE_CMD} -e "s|%%LOCALBASE%%|${LOCALBASE}|g" ${WRKSRC}/dub.json
do-build:
@@ -52,8 +48,9 @@ do-install:
.if ${PKGNAMESUFFIX} == "-server"
@${MKDIR} ${STAGEDIR}/${D_LIB_DIR}
@${INSTALL_DATA} ${WRKSRC}/libdcd.a ${STAGEDIR}${D_LIB_DIR}
- @${MKDIR} ${STAGEDIR}/${D_INCLUDE_DIR}/common
+ @${MKDIR} ${STAGEDIR}/${D_INCLUDE_DIR}/dsymbol
cd ${WRKSRC}/common/src/dcd/common && ${COPYTREE_SHARE} . ${STAGEDIR}${D_INCLUDE_DIR}/dcd/common "-name *\.d"
+ cd ${WRKSRC}/dsymbol/src/dsymbol && ${COPYTREE_SHARE} . ${STAGEDIR}${D_INCLUDE_DIR}/dsymbol "-name *\.d"
.endif
.include <bsd.port.mk>
diff --git a/devel/dcd-server/distinfo b/devel/dcd-server/distinfo
index 4e5bdcd56f67..9faa4545347d 100644
--- a/devel/dcd-server/distinfo
+++ b/devel/dcd-server/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1668455203
-SHA256 (dlang-community-DCD-v0.13.6_GH0.tar.gz) = b4237b0489cb095cfd6cf5e22061086326eae057a3ff66244dc99bf61370db8b
-SIZE (dlang-community-DCD-v0.13.6_GH0.tar.gz) = 134053
+TIMESTAMP = 1780499184
+SHA256 (dlang-community-DCD-v0.16.2_GH0.tar.gz) = 3c333269fdd8b3b2f7278d4f3a5693ec8450547c2091312a805b9605149b205a
+SIZE (dlang-community-DCD-v0.16.2_GH0.tar.gz) = 206234
diff --git a/devel/dcd-server/files/patch-dub.json b/devel/dcd-server/files/patch-dub.json
index b38ed32ff98c..e2c5e4022f86 100644
--- a/devel/dcd-server/files/patch-dub.json
+++ b/devel/dcd-server/files/patch-dub.json
@@ -1,17 +1,20 @@
---- dub.json 2021-07-16 11:10:51.000000000 -0500
-+++ dub.json 2022-11-14 15:30:23.405796000 -0500
-@@ -7,12 +7,10 @@
+--- dub.json.orig 2025-12-26 13:21:27.000000000 -0800
++++ dub.json 2026-06-03 11:09:23.628709000 -0700
+@@ -7,13 +7,14 @@
],
"license": "GPL-3.0",
"dependencies": {
-- "dsymbol": ">=0.11.2 <0.12.0",
-- "libdparse": ">=0.15.4 <0.16.0",
+- ":dsymbol": "*",
+- "libdparse": ">=0.23.0 <0.26.0",
":common": "*",
-- "stdx-allocator": "~>2.77.5",
-- "emsi_containers": "~>0.8.0"
+- "emsi_containers": "~>0.9.0"
++ ":dsymbol": "*"
},
-+ "libs": ["dsymbol","dparse","emsi_containers","msgpack-d","mir-core","stdx-allocator"],
-+ "lflags": ["-L%%LOCALBASE%%/lib/d"],
- "subPackages": ["common"],
++ "libs": ["dparse","emsi_containers","msgpack-d"],
++ "lflags": ["-L/usr/local/lib/d"],
+ "subPackages": ["dsymbol", "common"],
"versions": ["built_with_dub"],
++ "importPaths": ["dsymbol/src"],
"configurations": [
+ {
+ "name": "library",
diff --git a/devel/dcd-server/pkg-plist b/devel/dcd-server/pkg-plist
index 0a5829d037a1..299d9075d85b 100644
--- a/devel/dcd-server/pkg-plist
+++ b/devel/dcd-server/pkg-plist
@@ -6,12 +6,30 @@ include/d/dcd/common/messages.d
include/d/dcd/common/socket.d
include/d/dcd/server/autocomplete/complete.d
include/d/dcd/server/autocomplete/doc.d
+include/d/dcd/server/autocomplete/inlayhints.d
include/d/dcd/server/autocomplete/localuse.d
include/d/dcd/server/autocomplete/package.d
include/d/dcd/server/autocomplete/symbols.d
include/d/dcd/server/autocomplete/util.d
include/d/dcd/server/main.d
include/d/dcd/server/server.d
+include/d/dsymbol/builtin/names.d
+include/d/dsymbol/builtin/symbols.d
+include/d/dsymbol/cache_entry.d
+include/d/dsymbol/conversion/first.d
+include/d/dsymbol/conversion/package.d
+include/d/dsymbol/conversion/second.d
+include/d/dsymbol/conversion/third.d
+include/d/dsymbol/deferred.d
+include/d/dsymbol/import_.d
+include/d/dsymbol/modulecache.d
+include/d/dsymbol/scope_.d
+include/d/dsymbol/semantic.d
+include/d/dsymbol/string_interning.d
+include/d/dsymbol/symbol.d
+include/d/dsymbol/tests.d
+include/d/dsymbol/type_lookup.d
+include/d/dsymbol/ufcs.d
+include/d/dsymbol/utils.d
lib/d/libdcd.a
share/man/man1/dcd-server.1.gz
-@dir include/d/common