FreeBSD Bugzilla – Attachment 240573 Details for
Bug 269954
update devel/godot to v4.0
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
maintainer update for devel/godot
godot.patch (text/plain), 11.96 KB, created by
Shane
on 2023-03-04 04:07:17 UTC
(
hide
)
Description:
maintainer update for devel/godot
Filename:
MIME Type:
Creator:
Shane
Created:
2023-03-04 04:07:17 UTC
Size:
11.96 KB
patch
obsolete
>diff -Nru devel/godot.orig/Makefile devel/godot/Makefile >--- devel/godot.orig/Makefile 2023-03-04 14:25:27.763167000 +1030 >+++ devel/godot/Makefile 2023-03-04 11:37:37.576153000 +1030 >@@ -1,5 +1,5 @@ > PORTNAME= godot >-DISTVERSION= 3.4.2 >+DISTVERSION= 4.0 > DISTVERSIONSUFFIX= -stable > PORTREVISION?= 0 > CATEGORIES= devel games >@@ -15,6 +15,9 @@ > > BUILD_DEPENDS= yasm:devel/yasm > LIB_DEPENDS= libfreetype.so:print/freetype2 \ >+ libgraphite2.so:graphics/graphite2 \ >+ libharfbuzz.so:print/harfbuzz \ >+ libharfbuzz-icu.so:print/harfbuzz-icu \ > libpcre2-8.so:devel/pcre2 \ > libpng.so:graphics/png \ > libvpx.so:multimedia/libvpx >@@ -22,7 +25,7 @@ > xdg-open:devel/xdg-utils \ > xmessage:x11/xmessage > >-USES= compiler:c++14-lang cpe gl pkgconfig scons xorg >+USES= compiler:c++17-lang cpe gl pkgconfig scons xorg > USE_XORG= x11 xcursor xext xi xinerama xrandr xrender > USE_GL= gl glew glu > >@@ -31,15 +34,15 @@ > USE_GITHUB= yes > GH_ACCOUNT= godotengine > >-MAKE_ARGS+= platform=x11 builtin_freetype=False \ >+MAKE_ARGS+= platform=linuxbsd builtin_freetype=False \ >+ builtin_graphite=False builtin_harfbuzz=False \ > builtin_libpng=False builtin_libvpx=False \ > builtin_pcre2=False builtin_zlib=False verbose=True > MAKE_ARGS+= ${MAKE_ARGS_${CHOSEN_COMPILER_TYPE}} >-MAKE_ARGS_clang= use_llvm=True use_lld=True >+MAKE_ARGS_clang= use_llvm=True linker=lld > CXXFLAGS_i386= ${CXXFLAGS_i386_${CHOSEN_COMPILER_TYPE}} > CXXFLAGS_i386_gcc= -march=i586 > >-# option MONO doesn't build (needs 5.12+) so for now leave it out as an option > OPTIONS_DEFINE= EXAMPLES TOOLS UDEV > OPTIONS_DEFAULT= ALSA UDEV > # Moved to devel/godot-tools >@@ -51,22 +54,15 @@ > ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib > ALSA_MAKE_ARGS= alsa=True > ALSA_MAKE_ARGS_OFF= alsa=False >-# tagged 6/11/21 for 3.4 >-EXAMPLES_GH_TUPLE= godotengine:godot-demo-projects:585455e67ca3:DEMOS >+# 4.0 head at 3/3 >+EXAMPLES_GH_TUPLE= godotengine:godot-demo-projects:778baf07cc7d:DEMOS > EXAMPLES_PORTEXAMPLES= * >-# mono support doesn't build at present >-MONO_BUILD_DEPENDS= msbuild:devel/msbuild >-MONO_LIB_DEPENDS= libinotify.so:devel/libinotify >-MONO_GH_TUPLE= mono:nuget-binary:ebedbf8:NUGT/nuget-binary >-MONO_MAKE_ARGS= module_mono_enabled=yes mono_glue=True >-MONO_USES= gettext-runtime mono:nuget >-NUGET_DEPENDS= DotNet.Glob=2.1.1 > PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio > PULSEAUDIO_MAKE_ARGS= pulseaudio=True > PULSEAUDIO_MAKE_ARGS_OFF= pulseaudio=False > TOOLS_DESC= Include development tools (IDE) >-TOOLS_MAKE_ARGS= target=release_debug tools=True >-TOOLS_MAKE_ARGS_OFF= target=release tools=False >+TOOLS_MAKE_ARGS= target=editor >+TOOLS_MAKE_ARGS_OFF= target=template_release > TOOLS_DESKTOP_ENTRIES= "Godot" "${COMMENT}" "${GODOTFILE}" \ > "${GODOTFILE}" "Development;IDE;" "" > TOOLS_PLIST_FILES= share/pixmaps/${GODOTFILE}.png \ >@@ -96,23 +92,13 @@ > post-patch: > @${REINPLACE_CMD} -e 's|custom_build|${OPSYS}_Ports_build|' \ > ${WRKSRC}/methods.py >- @${REINPLACE_CMD} -e 's|/usr/bin|${PREFIX}/bin|' \ >- ${WRKSRC}/platform/x11/os_x11.cpp > >-pre-build-MONO-on: makenuget >- @(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_FLAGS} \ >- ${_MAKE_JOBS} ${MAKE_ARGS:C,^${DESTDIRNAME}=.*,,g} \ >- target=release_debug tools=True platform=server mono_glue=False) >- @(cd ${WRKSRC} && ${FIND} ${WRKSRC}/bin -name 'godot*' -exec {} \ >- --generate-mono-glue modules/mono/glue \; && \ >- ${FIND} ${WRKSRC}/bin -name 'godot*' -delete) >- > # The official godot binary name reflects options used to compile > # We just want a simple name matching the portname > # This gives us bin/godot for runtime and bin/godot-tools for the IDE > do-install: > @${RM} ${WRKSRC}/bin/*.debugsymbols >- cd ${WRKSRC}/bin && ${INSTALL_PROGRAM} godot.x11* \ >+ cd ${WRKSRC}/bin && ${INSTALL_PROGRAM} godot.linuxbsd* \ > ${STAGEDIR}/${PREFIX}/bin/${GODOTFILE} > > do-install-EXAMPLES-on: >diff -Nru devel/godot.orig/distinfo devel/godot/distinfo >--- devel/godot.orig/distinfo 2023-03-04 14:25:27.743679000 +1030 >+++ devel/godot/distinfo 2023-03-04 14:23:32.700728000 +1030 >@@ -1,9 +1,5 @@ >-TIMESTAMP = 1640725622 >-SHA256 (dotnet.glob.2.1.1.nupkg) = 8fa01b1928a9c4b70a4803226dcd2ec942474daf2876b80e35a0380d72f8fc1a >-SIZE (dotnet.glob.2.1.1.nupkg) = 73782 >-SHA256 (godotengine-godot-3.4.2-stable_GH0.tar.gz) = d9c1af3a7ae4e8b929f03628b31a711fcfe4673fdaf5aea089316a05528792ff >-SIZE (godotengine-godot-3.4.2-stable_GH0.tar.gz) = 49648881 >-SHA256 (godotengine-godot-demo-projects-585455e67ca3_GH0.tar.gz) = 81c9d263a9d3976363f849d4e4cb9388179f8c206406a20e9f8bd81172fda442 >-SIZE (godotengine-godot-demo-projects-585455e67ca3_GH0.tar.gz) = 158716925 >-SHA256 (mono-nuget-binary-ebedbf8_GH0.tar.gz) = a0362e65a381c99f222ce141012f5a0663b4a4ae22f27f638198f7414464bf1a >-SIZE (mono-nuget-binary-ebedbf8_GH0.tar.gz) = 2778322 >+TIMESTAMP = 1677902012 >+SHA256 (godotengine-godot-4.0-stable_GH0.tar.gz) = e6cf28411ae4196db0bcd608f77bcafc0c019ea6dd6cc8c750ca3cc3755df547 >+SIZE (godotengine-godot-4.0-stable_GH0.tar.gz) = 39355782 >+SHA256 (godotengine-godot-demo-projects-778baf07cc7d_GH0.tar.gz) = 42ad5425fd3685887140e404f7fd8abf15ba4a97f475291200e872a1241913fe >+SIZE (godotengine-godot-demo-projects-778baf07cc7d_GH0.tar.gz) = 199997674 >diff -Nru devel/godot.orig/files/patch-modules_openxr_SCsub devel/godot/files/patch-modules_openxr_SCsub >--- devel/godot.orig/files/patch-modules_openxr_SCsub 1970-01-01 09:30:00.000000000 +0930 >+++ devel/godot/files/patch-modules_openxr_SCsub 2023-03-04 10:44:31.074391000 +1030 >@@ -0,0 +1,11 @@ >+--- modules/openxr/SCsub.orig 2023-03-02 09:55:48 UTC >++++ modules/openxr/SCsub >+@@ -34,7 +34,7 @@ elif env["platform"] == "linuxbsd": >+ env_openxr.AppendUnique(CPPDEFINES=["XR_USE_PLATFORM_XLIB"]) >+ >+ # FIXME: Review what needs to be set for Android and macOS. >+- env_openxr.AppendUnique(CPPDEFINES=["HAVE_SECURE_GETENV"]) >++ #env_openxr.AppendUnique(CPPDEFINES=["HAVE_SECURE_GETENV"]) >+ elif env["platform"] == "windows": >+ env_openxr.AppendUnique(CPPDEFINES=["XR_OS_WINDOWS", "NOMINMAX", "XR_USE_PLATFORM_WIN32"]) >+ >diff -Nru devel/godot.orig/files/patch-platform_x11_detect.py devel/godot/files/patch-platform_x11_detect.py >--- devel/godot.orig/files/patch-platform_x11_detect.py 2023-03-04 14:25:27.726787000 +1030 >+++ devel/godot/files/patch-platform_x11_detect.py 1970-01-01 09:30:00.000000000 +0930 >@@ -1,20 +0,0 @@ >---- platform/x11/detect.py.orig 2021-12-21 22:27:28 UTC >-+++ platform/x11/detect.py >-@@ -338,7 +338,7 @@ def configure(env): >- else: >- print("Warning: PulseAudio development libraries not found. Disabling the PulseAudio audio driver.") >- >-- if platform.system() == "Linux": >-+ if platform.system() in ["Linux","FreeBSD"]: >- env.Append(CPPDEFINES=["JOYDEV_ENABLED"]) >- if env["udev"]: >- if os.system("pkg-config --exists libudev") == 0: # 0 means found >-@@ -365,7 +365,7 @@ def configure(env): >- if env["execinfo"]: >- env.Append(LIBS=["execinfo"]) >- >-- if not env["tools"]: >-+ if not env["tools"] and False: # not building templates, just runtime >- import subprocess >- import re >- >diff -Nru devel/godot.orig/files/patch-platform_x11_libudev-so__wrap.c devel/godot/files/patch-platform_x11_libudev-so__wrap.c >--- devel/godot.orig/files/patch-platform_x11_libudev-so__wrap.c 2023-03-04 14:25:27.726742000 +1030 >+++ devel/godot/files/patch-platform_x11_libudev-so__wrap.c 1970-01-01 09:30:00.000000000 +0930 >@@ -1,11 +0,0 @@ >---- platform/x11/libudev-so_wrap.c.orig 2021-12-29 15:43:04 UTC >-+++ platform/x11/libudev-so_wrap.c >-@@ -279,7 +279,7 @@ int (*udev_util_encode_string_dylibloader_wrapper_libu >- int initialize_libudev() { >- void *handle; >- char *error; >-- handle = dlopen("libudev.so.1", RTLD_LAZY); >-+ handle = dlopen("libudev.so.0", RTLD_LAZY); >- if (!handle) { >- fprintf(stderr, "%s\n", dlerror()); >- return(1); >diff -Nru devel/godot.orig/files/patch-thirdparty_libvpx_vpx_vpx__codec.h devel/godot/files/patch-thirdparty_libvpx_vpx_vpx__codec.h >--- devel/godot.orig/files/patch-thirdparty_libvpx_vpx_vpx__codec.h 2023-03-04 14:25:27.726938000 +1030 >+++ devel/godot/files/patch-thirdparty_libvpx_vpx_vpx__codec.h 1970-01-01 09:30:00.000000000 +0930 >@@ -1,20 +0,0 @@ >---- thirdparty/libvpx/vpx/vpx_codec.h.orig 2019-03-23 14:24:15 UTC >-+++ thirdparty/libvpx/vpx/vpx_codec.h >-@@ -36,8 +36,8 @@ >- * Once initialized, the instance is manged using other functions from >- * the vpx_codec_* family. >- */ >--#ifndef VPX_VPX_CODEC_H_ >--#define VPX_VPX_CODEC_H_ >-+#ifndef VPX_VPX_VPX_CODEC_H_ >-+#define VPX_VPX_VPX_CODEC_H_ >- >- #ifdef __cplusplus >- extern "C" { >-@@ -475,5 +475,5 @@ extern "C" { >- #ifdef __cplusplus >- } >- #endif >--#endif // VPX_VPX_CODEC_H_ >-+#endif // VPX_VPX_VPX_CODEC_H_ >- >diff -Nru devel/godot.orig/files/patch-thirdparty_libvpx_vpx_vpx__decoder.h devel/godot/files/patch-thirdparty_libvpx_vpx_vpx__decoder.h >--- devel/godot.orig/files/patch-thirdparty_libvpx_vpx_vpx__decoder.h 2023-03-04 14:25:27.726825000 +1030 >+++ devel/godot/files/patch-thirdparty_libvpx_vpx_vpx__decoder.h 1970-01-01 09:30:00.000000000 +0930 >@@ -1,20 +0,0 @@ >---- thirdparty/libvpx/vpx/vpx_decoder.h.orig 2019-03-23 14:46:15 UTC >-+++ thirdparty/libvpx/vpx/vpx_decoder.h >-@@ -7,8 +7,8 @@ >- * in the file PATENTS. All contributing project authors may >- * be found in the AUTHORS file in the root of the source tree. >- */ >--#ifndef VPX_VPX_DECODER_H_ >--#define VPX_VPX_DECODER_H_ >-+#ifndef VPX_VPX_VPX_DECODER_H_ >-+#define VPX_VPX_VPX_DECODER_H_ >- >- /*!\defgroup decoder Decoder Algorithm Interface >- * \ingroup codec >-@@ -374,5 +374,5 @@ extern "C" { >- #ifdef __cplusplus >- } >- #endif >--#endif // VPX_VPX_DECODER_H_ >-+#endif // VPX_VPX_VPX_DECODER_H_ >- >diff -Nru devel/godot.orig/files/patch-thirdparty_libvpx_vpx_vpx__frame__buffer.h devel/godot/files/patch-thirdparty_libvpx_vpx_vpx__frame__buffer.h >--- devel/godot.orig/files/patch-thirdparty_libvpx_vpx_vpx__frame__buffer.h 2023-03-04 14:25:27.726863000 +1030 >+++ devel/godot/files/patch-thirdparty_libvpx_vpx_vpx__frame__buffer.h 1970-01-01 09:30:00.000000000 +0930 >@@ -1,19 +0,0 @@ >---- thirdparty/libvpx/vpx/vpx_frame_buffer.h.orig 2019-03-23 14:31:21 UTC >-+++ thirdparty/libvpx/vpx/vpx_frame_buffer.h >-@@ -8,8 +8,8 @@ >- * be found in the AUTHORS file in the root of the source tree. >- */ >- >--#ifndef VPX_VPX_FRAME_BUFFER_H_ >--#define VPX_VPX_FRAME_BUFFER_H_ >-+#ifndef VPX_VPX_VPX_FRAME_BUFFER_H_ >-+#define VPX_VPX_VPX_FRAME_BUFFER_H_ >- >- /*!\file >- * \brief Describes the decoder external frame buffer interface. >-@@ -80,4 +80,4 @@ typedef int (*vpx_release_frame_buffer_cb_fn_t)( >- } // extern "C" >- #endif >- >--#endif // VPX_VPX_FRAME_BUFFER_H_ >-+#endif // VPX_VPX_VPX_FRAME_BUFFER_H_ >diff -Nru devel/godot.orig/files/patch-thirdparty_libvpx_vpx_vpx__image.h devel/godot/files/patch-thirdparty_libvpx_vpx_vpx__image.h >--- devel/godot.orig/files/patch-thirdparty_libvpx_vpx_vpx__image.h 2023-03-04 14:25:27.726901000 +1030 >+++ devel/godot/files/patch-thirdparty_libvpx_vpx_vpx__image.h 1970-01-01 09:30:00.000000000 +0930 >@@ -1,19 +0,0 @@ >---- thirdparty/libvpx/vpx/vpx_image.h.orig 2019-03-23 14:18:30 UTC >-+++ thirdparty/libvpx/vpx/vpx_image.h >-@@ -13,8 +13,8 @@ >- * \brief Describes the vpx image descriptor and associated operations >- * >- */ >--#ifndef VPX_VPX_IMAGE_H_ >--#define VPX_VPX_IMAGE_H_ >-+#ifndef VPX_VPX_VPX_IMAGE_H_ >-+#define VPX_VPX_VPX_IMAGE_H_ >- >- #ifdef __cplusplus >- extern "C" { >-@@ -232,4 +232,4 @@ extern "C" { >- } // extern "C" >- #endif >- >--#endif // VPX_VPX_IMAGE_H_ >-+#endif // VPX_VPX_VPX_IMAGE_H_ >diff -Nru devel/godot.orig/files/patch-thirdparty_linuxbsd__headers_alsa_asoundlib.h devel/godot/files/patch-thirdparty_linuxbsd__headers_alsa_asoundlib.h >--- devel/godot.orig/files/patch-thirdparty_linuxbsd__headers_alsa_asoundlib.h 1970-01-01 09:30:00.000000000 +0930 >+++ devel/godot/files/patch-thirdparty_linuxbsd__headers_alsa_asoundlib.h 2023-03-04 10:44:31.074497000 +1030 >@@ -0,0 +1,11 @@ >+--- thirdparty/linuxbsd_headers/alsa/asoundlib.h.orig 2023-03-02 09:54:29 UTC >++++ thirdparty/linuxbsd_headers/alsa/asoundlib.h >+@@ -38,7 +38,7 @@ >+ #include <poll.h> >+ #include <errno.h> >+ #include <stdarg.h> >+-#include <endian.h> >++#include <sys/endian.h> >+ >+ #ifndef __GNUC__ >+ #define __inline__ inline
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
FreeBSD
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 269954
: 240573