git: 6c6d0b347a62 - main - graphics/vkd3d: remove port due to lack of consumers
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 30 May 2024 14:01:40 UTC
The branch main has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=6c6d0b347a62024ed75247cd64119f70e2d2c48b commit 6c6d0b347a62024ed75247cd64119f70e2d2c48b Author: Jan Beich <jbeich@FreeBSD.org> AuthorDate: 2024-05-30 13:58:12 +0000 Commit: Jan Beich <jbeich@FreeBSD.org> CommitDate: 2024-05-30 14:00:14 +0000 graphics/vkd3d: remove port due to lack of consumers --- MOVED | 1 + graphics/Makefile | 1 - graphics/vkd3d/Makefile | 50 ---------------------- graphics/vkd3d/distinfo | 5 --- .../files/patch-include_private_vkd3d__common.h | 15 ------- .../vkd3d/files/patch-libs_vkd3d-common_debug.c | 27 ------------ graphics/vkd3d/pkg-descr | 1 - graphics/vkd3d/pkg-plist | 34 --------------- 8 files changed, 1 insertion(+), 133 deletions(-) diff --git a/MOVED b/MOVED index 9e929f0cb806..81e9edc3cc1f 100644 --- a/MOVED +++ b/MOVED @@ -3271,3 +3271,4 @@ www/rubygem-rqrcode2|www/rubygem-rqrcode|2024-05-28|Remove obsoleted port. Use w net/iaxmodem||2024-05-29|Has expired: outdated and uses end-of-life version of GCC www/mod_auth_openid||2024-05-29|Has expired: Depends on expired devel/libopkele devel/libopkele||2024-05-29|Has expired: Last upstream release was in 2009 +graphics/vkd3d||2024-05-30|No consumers in ports diff --git a/graphics/Makefile b/graphics/Makefile index 512415fe8631..8e12cafd0e4e 100644 --- a/graphics/Makefile +++ b/graphics/Makefile @@ -1195,7 +1195,6 @@ SUBDIR += vips SUBDIR += visprint SUBDIR += viu - SUBDIR += vkd3d SUBDIR += volpack SUBDIR += vp SUBDIR += vpaint diff --git a/graphics/vkd3d/Makefile b/graphics/vkd3d/Makefile deleted file mode 100644 index e16053d7c470..000000000000 --- a/graphics/vkd3d/Makefile +++ /dev/null @@ -1,50 +0,0 @@ -PORTNAME= vkd3d -PORTVERSION= 1.12 -CATEGORIES= graphics -MASTER_SITES= https://dl.winehq.org/${PORTNAME}/source/ -DISTFILES= ${DISTNAME}${EXTRACT_SUFX} - -MAINTAINER= ports@FreeBSD.org -COMMENT= Direct3D 12 to Vulkan translation -WWW= https://www.winehq.org/ - -LICENSE= LGPL21+ -LICENSE_FILE= ${WRKSRC}/LICENSE - -BUILD_DEPENDS= ${LOCALBASE}/include/spirv-tools/libspirv.h:graphics/spirv-tools \ - ${LOCALBASE}/include/vulkan/vulkan.h:graphics/vulkan-headers -LIB_DEPENDS= libSPIRV-Tools-shared.so:graphics/spirv-tools \ - libvulkan.so:graphics/vulkan-loader -RUN_DEPENDS= ${LOCALBASE}/include/vulkan/vulkan.h:graphics/vulkan-headers - -USES= bison gmake libtool localbase ncurses pkgconfig tar:xz -USE_LDCONFIG= yes -GNU_CONFIGURE= yes -CONFIGURE_ENV= vkd3d_cv_cflags__flto_auto=no # XXX strip(1) and llvm-strip(1) fail -CONFIGURE_ARGS= --disable-doxygen-doc --with-spirv-tools -INSTALL_TARGET= install-strip -TEST_TARGET= check - -# Override pkg-config support before https://cgit.freebsd.org/src/commit/?id=396851c20aeb -# but only if devel/ncurses isn't installed -.if !exists(/usr/libdata/pkgconfig/ncurses.pc) -CONFIGURE_ENV+= NCURSES_CFLAGS=" " NCURSES_LIBS="-lncurses" NCURSES_VERSION=unused -.endif - -# XXX Move to a separate port (a la graphics/vulkan-headers) and maybe make -# graphics/spirv-tools depend on it as well -USE_GITHUB= nodefault -GH_TUPLE= KhronosGroup:SPIRV-Headers:1.5.4.raytracing.fixed-357-g49a1fce:headers/external/spirv-headers -CPPFLAGS+= -isystem${WRKSRC}/external/spirv-headers/include - -OPTIONS_DEFINE= EXAMPLES -OPTIONS_SUB= yes - -EXAMPLES_BUILD_DEPENDS= x11/xcb-util-wm>0:x11/xcb-util-wm -EXAMPLES_LIB_DEPENDS= libxcb-keysyms.so:x11/xcb-util-keysyms -EXAMPLES_USES= xorg -EXAMPLES_USE= XORG=xcb -EXAMPLES_CONFIGURE_ENABLE= demos -EXAMPLES_LDFLAGS= -Wl,--as-needed # xcb-util, xcb-util-wm - -.include <bsd.port.mk> diff --git a/graphics/vkd3d/distinfo b/graphics/vkd3d/distinfo deleted file mode 100644 index a0744ba31f8d..000000000000 --- a/graphics/vkd3d/distinfo +++ /dev/null @@ -1,5 +0,0 @@ -TIMESTAMP = 1717013128 -SHA256 (vkd3d-1.12.tar.xz) = 1ad1fa0e2c6c7b160fcd11856e263476960e0ab762e13102d5e73a177d791d8b -SIZE (vkd3d-1.12.tar.xz) = 1095416 -SHA256 (KhronosGroup-SPIRV-Headers-1.5.4.raytracing.fixed-357-g49a1fce_GH0.tar.gz) = 73a82a0d8e0586a15f707380d983e3af457fe1476fc160b67e82b77b76320ea4 -SIZE (KhronosGroup-SPIRV-Headers-1.5.4.raytracing.fixed-357-g49a1fce_GH0.tar.gz) = 520123 diff --git a/graphics/vkd3d/files/patch-include_private_vkd3d__common.h b/graphics/vkd3d/files/patch-include_private_vkd3d__common.h deleted file mode 100644 index 546088a60557..000000000000 --- a/graphics/vkd3d/files/patch-include_private_vkd3d__common.h +++ /dev/null @@ -1,15 +0,0 @@ -libs/vkd3d/device.c:2615:27: error: initializing 'struct vkd3d_mutex' with an expression of incompatible type 'void *' - 2615 | static struct vkd3d_mutex cache_list_mutex = VKD3D_MUTEX_INITIALIZER; - | ^ ~~~~~~~~~~~~~~~~~~~~~~~ - ---- include/private/vkd3d_common.h.orig 2024-04-24 21:49:15 UTC -+++ include/private/vkd3d_common.h -@@ -506,7 +506,7 @@ struct vkd3d_mutex - #ifdef _WIN32 - #define VKD3D_MUTEX_INITIALIZER {{NULL, -1, 0, 0, 0, 0}} - #else --#define VKD3D_MUTEX_INITIALIZER PTHREAD_MUTEX_INITIALIZER -+#define VKD3D_MUTEX_INITIALIZER {{{0}}} - #endif - - static inline void vkd3d_mutex_init(struct vkd3d_mutex *lock) diff --git a/graphics/vkd3d/files/patch-libs_vkd3d-common_debug.c b/graphics/vkd3d/files/patch-libs_vkd3d-common_debug.c deleted file mode 100644 index f85884f9d3b6..000000000000 --- a/graphics/vkd3d/files/patch-libs_vkd3d-common_debug.c +++ /dev/null @@ -1,27 +0,0 @@ ---- libs/vkd3d-common/debug.c.orig 2023-06-28 19:40:40 UTC -+++ libs/vkd3d-common/debug.c -@@ -35,6 +35,11 @@ - #ifdef HAVE_PTHREAD_H - #include <pthread.h> - #endif -+#if defined(__DragonFly__) || defined(__FreeBSD__) -+#include <pthread_np.h> -+#elif defined(__NetBSD__) -+#include <lwp.h> -+#endif - - #include "vkd3d_memory.h" - -@@ -108,6 +113,12 @@ void vkd3d_dbg_printf(enum vkd3d_dbg_level level, cons - - #ifdef _WIN32 - vkd3d_dbg_output("vkd3d:%04lx:%s:%s ", GetCurrentThreadId(), debug_level_names[level], function); -+#elif defined(__DragonFly__) || defined(__FreeBSD__) -+ vkd3d_dbg_output("vkd3d:%u:%s:%s ", pthread_getthreadid_np(), debug_level_names[level], function); -+#elif defined(__NetBSD__) -+ vkd3d_dbg_output("vkd3d:%u:%s:%s ", _lwp_self(), debug_level_names[level], function); -+#elif defined(__OpenBSD__) -+ vkd3d_dbg_output("vkd3d:%u:%s:%s ", getthrid(), debug_level_names[level], function); - #elif HAVE_GETTID - vkd3d_dbg_output("vkd3d:%u:%s:%s ", gettid(), debug_level_names[level], function); - #else diff --git a/graphics/vkd3d/pkg-descr b/graphics/vkd3d/pkg-descr deleted file mode 100644 index 7164aac68e2a..000000000000 --- a/graphics/vkd3d/pkg-descr +++ /dev/null @@ -1 +0,0 @@ -3D graphics library that provides an API similar to Direct3D 12. diff --git a/graphics/vkd3d/pkg-plist b/graphics/vkd3d/pkg-plist deleted file mode 100644 index a0f0782d800f..000000000000 --- a/graphics/vkd3d/pkg-plist +++ /dev/null @@ -1,34 +0,0 @@ -bin/vkd3d-compiler -bin/vkd3d-dxbc -%%EXAMPLES%%bin/vkd3d-gears -%%EXAMPLES%%bin/vkd3d-triangle -include/vkd3d/vkd3d.h -include/vkd3d/vkd3d_d3d12.h -include/vkd3d/vkd3d_d3d12sdklayers.h -include/vkd3d/vkd3d_d3d12shader.h -include/vkd3d/vkd3d_d3d9types.h -include/vkd3d/vkd3d_d3dcommon.h -include/vkd3d/vkd3d_d3dcompiler.h -include/vkd3d/vkd3d_d3dcompiler_types.h -include/vkd3d/vkd3d_d3dx9shader.h -include/vkd3d/vkd3d_dxgibase.h -include/vkd3d/vkd3d_dxgiformat.h -include/vkd3d/vkd3d_shader.h -include/vkd3d/vkd3d_types.h -include/vkd3d/vkd3d_utils.h -include/vkd3d/vkd3d_windows.h -lib/libvkd3d-shader.a -lib/libvkd3d-shader.so -lib/libvkd3d-shader.so.1 -lib/libvkd3d-shader.so.1.10.0 -lib/libvkd3d-utils.a -lib/libvkd3d-utils.so -lib/libvkd3d-utils.so.1 -lib/libvkd3d-utils.so.1.5.1 -lib/libvkd3d.a -lib/libvkd3d.so -lib/libvkd3d.so.1 -lib/libvkd3d.so.1.12.0 -libdata/pkgconfig/libvkd3d-shader.pc -libdata/pkgconfig/libvkd3d-utils.pc -libdata/pkgconfig/libvkd3d.pc