notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
Port details
bgfx Cross-platform, graphics API agnostic rendering library
1.128.8786.481 graphics on this many watch lists=2 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 1.127.8725.465Version of this port present on the latest quarterly branch.
Maintainer: yuri@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2023-01-06 22:15:11
Last Update: 2024-09-11 06:58:57
Commit Hash: 97694ec
People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py39-PyOpenGL, p5-Sane
License: BSD2CLAUSE
WWW:
https://bkaradzic.github.io/bgfx/overview.html
Description:
Cross-platform, graphics API agnostic, "Bring Your Own Engine/Framework" style rendering library.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (114 items)
Collapse this list.
  1. /usr/local/share/licenses/bgfx-1.128.8786.481/catalog.mk
  2. /usr/local/share/licenses/bgfx-1.128.8786.481/LICENSE
  3. /usr/local/share/licenses/bgfx-1.128.8786.481/BSD2CLAUSE
  4. bin/bin2c
  5. bin/geometryc
  6. bin/geometryv
  7. bin/shaderc
  8. bin/texturec
  9. bin/texturev
  10. include/bgfx/bgfx.h
  11. include/bgfx/bgfx_compute.sh
  12. include/bgfx/bgfx_shader.sh
  13. include/bgfx/c99/bgfx.h
  14. include/bgfx/defines.h
  15. include/bgfx/embedded_shader.h
  16. include/bgfx/platform.h
  17. include/bimg/bimg.h
  18. include/bimg/decode.h
  19. include/bimg/encode.h
  20. include/bx/allocator.h
  21. include/bx/bounds.h
  22. include/bx/bx.h
  23. include/bx/bx.h.orig
  24. include/bx/commandline.h
  25. include/bx/compat/linux/sal.h
  26. include/bx/config.h
  27. include/bx/constants.h
  28. include/bx/cpu.h
  29. include/bx/debug.h
  30. include/bx/easing.h
  31. include/bx/endian.h
  32. include/bx/error.h
  33. include/bx/file.h
  34. include/bx/filepath.h
  35. include/bx/float4x4_t.h
  36. include/bx/handlealloc.h
  37. include/bx/hash.h
  38. include/bx/inline/allocator.inl
  39. include/bx/inline/bounds.inl
  40. include/bx/inline/bx.inl
  41. include/bx/inline/cpu.inl
  42. include/bx/inline/easing.inl
  43. include/bx/inline/endian.inl
  44. include/bx/inline/error.inl
  45. include/bx/inline/float4x4_t.inl
  46. include/bx/inline/handlealloc.inl
  47. include/bx/inline/hash.inl
  48. include/bx/inline/math.inl
  49. include/bx/inline/mpscqueue.inl
  50. include/bx/inline/mutex.inl
  51. include/bx/inline/os.inl
  52. include/bx/inline/pixelformat.inl
  53. include/bx/inline/readerwriter.inl
  54. include/bx/inline/ringbuffer.inl
  55. include/bx/inline/rng.inl
  56. include/bx/inline/simd128_langext.inl
  57. include/bx/inline/simd128_neon.inl
  58. include/bx/inline/simd128_ref.inl
  59. include/bx/inline/simd128_sse.inl
  60. include/bx/inline/simd128_swizzle.inl
  61. include/bx/inline/simd256_avx.inl
  62. include/bx/inline/simd256_ref.inl
  63. include/bx/inline/simd_ni.inl
  64. include/bx/inline/sort.inl
  65. include/bx/inline/spscqueue.inl
  66. include/bx/inline/string.inl
  67. include/bx/inline/typetraits.inl
  68. include/bx/inline/uint32_t.inl
  69. include/bx/macros.h
  70. include/bx/maputil.h
  71. include/bx/math.h
  72. include/bx/mpscqueue.h
  73. include/bx/mutex.h
  74. include/bx/os.h
  75. include/bx/pixelformat.h
  76. include/bx/platform.h
  77. include/bx/process.h
  78. include/bx/readerwriter.h
  79. include/bx/ringbuffer.h
  80. include/bx/rng.h
  81. include/bx/semaphore.h
  82. include/bx/settings.h
  83. include/bx/simd_t.h
  84. include/bx/sort.h
  85. include/bx/spscqueue.h
  86. include/bx/string.h
  87. include/bx/thread.h
  88. include/bx/timer.h
  89. include/bx/tinystl/LICENSE
  90. include/bx/tinystl/allocator.h
  91. include/bx/tinystl/buffer.h
  92. include/bx/tinystl/hash.h
  93. include/bx/tinystl/hash_base.h
  94. include/bx/tinystl/new.h
  95. include/bx/tinystl/stddef.h
  96. include/bx/tinystl/string.h
  97. include/bx/tinystl/traits.h
  98. include/bx/tinystl/unordered_map.h
  99. include/bx/tinystl/unordered_set.h
  100. include/bx/tinystl/vector.h
  101. include/bx/typetraits.h
  102. include/bx/uint32_t.h
  103. include/bx/url.h
  104. lib/cmake/bgfx/bgfxConfig.cmake
  105. lib/cmake/bgfx/bgfxConfigVersion.cmake
  106. lib/cmake/bgfx/bgfxTargets-release.cmake
  107. lib/cmake/bgfx/bgfxTargets.cmake
  108. lib/cmake/bgfx/bgfxToolUtils.cmake
  109. lib/libbgfx.so
  110. lib/libbimg.a
  111. lib/libbx.a
  112. @owner
  113. @group
  114. @mode
Collapse this list.
Dependency lines:
  • bgfx>0:graphics/bgfx
To install the port:
cd /usr/ports/graphics/bgfx/ && make install clean
To add the package, run one of these commands:
  • pkg install graphics/bgfx
  • pkg install bgfx
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: bgfx
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1726031283 SHA256 (bkaradzic-bgfx.cmake-v1.128.8786-481_GH0.tar.gz) = 865426f56b6073a61df3d98ebf9539fc4749f2204319ff7424ab5f8d6e48069e SIZE (bkaradzic-bgfx.cmake-v1.128.8786-481_GH0.tar.gz) = 32941

Expand this list (6 items)

Collapse this list.

SHA256 (bkaradzic-bgfx-409fbc5_GH0.tar.gz) = 3a5f70edad2b108f4839b1a65ed1d6ffb363b2173be6748d832b732bff672a59 SIZE (bkaradzic-bgfx-409fbc5_GH0.tar.gz) = 93611204 SHA256 (bkaradzic-bx-3d53a4a_GH0.tar.gz) = 2b69285274aaa70ec1723b01a1751669a4c1798fd735ed12ec4619cbe43c3eb9 SIZE (bkaradzic-bx-3d53a4a_GH0.tar.gz) = 1599531 SHA256 (bkaradzic-bimg-aaf9125_GH0.tar.gz) = f50464d7d8eb21a208a8d1f245b6274df11e3803b2c987b83bdb4980169e7682 SIZE (bkaradzic-bimg-aaf9125_GH0.tar.gz) = 748185

Collapse this list.


Packages (timestamps in pop-ups are UTC):
bgfx
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest1.128.8786.4811.128.8786.481-1.128.8786.4811.128.8786.481---
FreeBSD:13:quarterly1.128.8786.4811.128.8786.4811.118.8493.4451.128.8786.4811.128.8786.481--1.124.8664.461
FreeBSD:14:latest1.128.8786.4811.128.8786.4811.118.8398.3701.128.8786.4811.128.8786.4811.118.8467.427-1.118.8467.427
FreeBSD:14:quarterly1.128.8786.4811.128.8786.481-1.128.8786.4811.128.8786.481--1.124.8664.461
FreeBSD:15:latest1.128.8786.4811.128.8786.481n/a1.128.8786.481n/a--1.124.8664.461
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. cmake : devel/cmake-core
  2. ninja : devel/ninja
  3. xorgproto>=0 : x11/xorgproto
  4. ice.pc : x11/libICE
  5. x11.pc : x11/libX11
  6. xext.pc : x11/libXext
  7. sm.pc : x11/libSM
Runtime dependencies:
  1. ice.pc : x11/libICE
  2. x11.pc : x11/libX11
  3. xext.pc : x11/libXext
  4. sm.pc : x11/libSM
Library dependencies:
  1. libGLU.so : graphics/libGLU
  2. libOpenGL.so : graphics/libglvnd
This port is required by:
for Libraries
  1. games/lwjgl3

Configuration Options:
No options to configure
Options name:
graphics_bgfx
USES:
cmake:testing compiler:c++17-lang gl localbase:ldflags xorg
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/bkaradzic/bgfx.cmake/tar.gz/v1.128.8786-481?dummy=/
Collapse this list.

Number of commits found: 22

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
1.128.8786.481
11 Sep 2024 06:58:57
commit hash: 97694ec986293228b2abac59fa9a6e57575324dacommit hash: 97694ec986293228b2abac59fa9a6e57575324dacommit hash: 97694ec986293228b2abac59fa9a6e57575324dacommit hash: 97694ec986293228b2abac59fa9a6e57575324da files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
graphics/bgfx: update 1.128.8786-480 → 1.128.8786-481

Reported by:	portscout
1.128.8786.480
04 Aug 2024 09:07:27
commit hash: f6fb671378c4dabaa132e634441e4eee60d223c9commit hash: f6fb671378c4dabaa132e634441e4eee60d223c9commit hash: f6fb671378c4dabaa132e634441e4eee60d223c9commit hash: f6fb671378c4dabaa132e634441e4eee60d223c9 files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
graphics/bgfx: update 1.128.8777-475 → 1.128.8786-480

Reported by:	portscout
1.128.8777.475
11 Jul 2024 02:20:42
commit hash: bbf60050921fd3009d10438f240b61ea24423dd5commit hash: bbf60050921fd3009d10438f240b61ea24423dd5commit hash: bbf60050921fd3009d10438f240b61ea24423dd5commit hash: bbf60050921fd3009d10438f240b61ea24423dd5 files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
graphics/bgfx: update 1.127.8725-465 → 1.128.8777-475

Reported by:	portscout
1.127.8725.465
19 May 2024 15:37:58
commit hash: 86ab24e19ebb6f64d34ef2fd10d5185e1c3c742acommit hash: 86ab24e19ebb6f64d34ef2fd10d5185e1c3c742acommit hash: 86ab24e19ebb6f64d34ef2fd10d5185e1c3c742acommit hash: 86ab24e19ebb6f64d34ef2fd10d5185e1c3c742a files touched by this commit
Vladimir Druzenko (vvd) search for other commits by this committer
graphics/bgfx: correction for fix build on i386 with CPUTYPE=nehalem and newer

Previous patch truncating the value to 32-bits before taking the popcount.
Upstream made correct patch:
https://github.com/ARM-software/astc-encoder/issues/468#issuecomment-2119169136
This patch will be included in next release of the astc-encoder 4.9.
Also we can apply this patch to misc/astc-encoder (4.7 in ports).

PR:	278722
Fixes:	656401a (fix build on i386 with CPUTYPE=nehalem and newer)
1.127.8725.465
18 May 2024 14:04:08
commit hash: 656401a10b46a87dcc5f62b884da4ea4e10e74b2commit hash: 656401a10b46a87dcc5f62b884da4ea4e10e74b2commit hash: 656401a10b46a87dcc5f62b884da4ea4e10e74b2commit hash: 656401a10b46a87dcc5f62b884da4ea4e10e74b2 files touched by this commit
Vladimir Druzenko (vvd) search for other commits by this committer
graphics/bgfx: fix build on i386 with CPUTYPE=nehalem and newer

Build error:
/wrkdirs/usr/ports/graphics/bgfx/work/bgfx.cmake-1.127.8725-465/bimg/3rdparty/astc-encoder/source/astcenc_vecmathlib_sse_4.h:1313:26:
error: use of undeclared identifier '_mm_popcnt_u64'; did you mean
'_mm_popcnt_u32'?
        return static_cast<int>(_mm_popcnt_u64(v));
                                ^~~~~~~~~~~~~~
                                _mm_popcnt_u32
/usr/lib/clang/14.0.5/include/popcntintrin.h:33:1: note: '_mm_popcnt_u32'
declared here
_mm_popcnt_u32(unsigned int __A)
^
1 error generated.

Upstream issues:
https://github.com/ARM-software/astc-encoder/issues/468
https://github.com/bkaradzic/bgfx/pull/2929#issuecomment-2093377116

PR:		278722
Approved by:	yuri (maintainer timeout, 15 days)
1.127.8725.465
02 May 2024 08:58:00
commit hash: 4de9a3fbf84cebf2189e80d36504753b48d48c1ecommit hash: 4de9a3fbf84cebf2189e80d36504753b48d48c1ecommit hash: 4de9a3fbf84cebf2189e80d36504753b48d48c1ecommit hash: 4de9a3fbf84cebf2189e80d36504753b48d48c1e files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
graphics/bgfx: update 1.126.8700-463 → 1.127.8725-465

Reported by:	portscout
1.126.8700.463
04 Mar 2024 23:19:06
commit hash: a7d7993e5764448e0183fd338c135bd4e871f696commit hash: a7d7993e5764448e0183fd338c135bd4e871f696commit hash: a7d7993e5764448e0183fd338c135bd4e871f696commit hash: a7d7993e5764448e0183fd338c135bd4e871f696 files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
graphics/bgfx: update 1.124.8664-461 → 1.126.8700-463

Reported by:	portscout
1.124.8664.461
03 Jan 2024 18:42:08
commit hash: e171bb2cc69f2a6f8ffc12e49daa54d78c851d6fcommit hash: e171bb2cc69f2a6f8ffc12e49daa54d78c851d6fcommit hash: e171bb2cc69f2a6f8ffc12e49daa54d78c851d6fcommit hash: e171bb2cc69f2a6f8ffc12e49daa54d78c851d6f files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
graphics/bgfx: update 1.124.8632-460 → 1.124.8664-461

Reported by:	portscout
1.124.8632.460
05 Dec 2023 07:27:24
commit hash: fb67688700a58fea1018d081e482896346c9a792commit hash: fb67688700a58fea1018d081e482896346c9a792commit hash: fb67688700a58fea1018d081e482896346c9a792commit hash: fb67688700a58fea1018d081e482896346c9a792 files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
graphics/bgfx: update 1.121.8558-454 → 1.124.8632-460

Reported by:	portscout
1.121.8558.454
02 Aug 2023 07:49:49
commit hash: 83497f9a5f92bd1bd7fd66a81efc82b5efbdd150commit hash: 83497f9a5f92bd1bd7fd66a81efc82b5efbdd150commit hash: 83497f9a5f92bd1bd7fd66a81efc82b5efbdd150commit hash: 83497f9a5f92bd1bd7fd66a81efc82b5efbdd150 files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
graphics/bgfx: Update 1.121.8534-453 → 1.121.8558-454

Reported by:	portscout
1.121.8534.453
16 Jul 2023 05:51:14
commit hash: 505ddb3e85a7d6546819c91818e8842eaca8a1c8commit hash: 505ddb3e85a7d6546819c91818e8842eaca8a1c8commit hash: 505ddb3e85a7d6546819c91818e8842eaca8a1c8commit hash: 505ddb3e85a7d6546819c91818e8842eaca8a1c8 files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
graphics/bgfx: Update 1.121.8534-450 → 1.121.8534-453

Reported by:	portscout
1.121.8534.450
15 Jul 2023 07:34:54
commit hash: c672ba2699955803c1ca7525ec22a3f247476a46commit hash: c672ba2699955803c1ca7525ec22a3f247476a46commit hash: c672ba2699955803c1ca7525ec22a3f247476a46commit hash: c672ba2699955803c1ca7525ec22a3f247476a46 files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
graphics/bgfx: Update 1.121.8534-449 → 1.121.8534-450

Reported by:	portscout
1.121.8534.449
07 Jul 2023 07:26:30
commit hash: 92e54869485669875d450d586d4984ade0eea40fcommit hash: 92e54869485669875d450d586d4984ade0eea40fcommit hash: 92e54869485669875d450d586d4984ade0eea40fcommit hash: 92e54869485669875d450d586d4984ade0eea40f files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
graphics/bgfx: Update 1.118.8493-445 → 1.121.8534-449

Reported by:	portscout
1.118.8493.445
18 Jun 2023 08:48:45
commit hash: 2e4a7fa37dec5daaa935eb7c2c1c7fac0bb2bb26commit hash: 2e4a7fa37dec5daaa935eb7c2c1c7fac0bb2bb26commit hash: 2e4a7fa37dec5daaa935eb7c2c1c7fac0bb2bb26commit hash: 2e4a7fa37dec5daaa935eb7c2c1c7fac0bb2bb26 files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
graphics/bgfx: Update 1.118.8467-427 → 1.118.8493-445

Reported by:	portscout
1.118.8467.427
11 Jun 2023 03:56:54
commit hash: a91f6fab7064ad39998474c1e8175cac70ba6b3ecommit hash: a91f6fab7064ad39998474c1e8175cac70ba6b3ecommit hash: a91f6fab7064ad39998474c1e8175cac70ba6b3ecommit hash: a91f6fab7064ad39998474c1e8175cac70ba6b3e files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
graphics/bgfx: Update 1.118.8455-425 → 1.118.8467-427

Reported by:	portscout
1.118.8455.425
25 May 2023 07:09:56
commit hash: 709e4ccdb15e867b2728cd11084a942abd89584ecommit hash: 709e4ccdb15e867b2728cd11084a942abd89584ecommit hash: 709e4ccdb15e867b2728cd11084a942abd89584ecommit hash: 709e4ccdb15e867b2728cd11084a942abd89584e files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
graphics/bgfx: Update 1.118.8455-424 → 1.118.8455-425

Reported by:	portscout
1.118.8455.424
02 May 2023 17:19:29
commit hash: 793063abb10ee8bd094de0d5e295609273f5d4d8commit hash: 793063abb10ee8bd094de0d5e295609273f5d4d8commit hash: 793063abb10ee8bd094de0d5e295609273f5d4d8commit hash: 793063abb10ee8bd094de0d5e295609273f5d4d8 files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
graphics/bgfx: Update 1.118.8417-415 → 1.118.8455-424

Reported by:	portscout
1.118.8417.415
13 Feb 2023 04:26:37
commit hash: 1714d756957bb737d20bfac4c728486c7e4f42fecommit hash: 1714d756957bb737d20bfac4c728486c7e4f42fecommit hash: 1714d756957bb737d20bfac4c728486c7e4f42fecommit hash: 1714d756957bb737d20bfac4c728486c7e4f42fe files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
graphics/bgfx: Update 1.118.8398-407 → 1.118.8417-415

Reported by:	portscout
1.118.8398.407
12 Feb 2023 17:55:53
commit hash: 32cf9412c58d339066e091ad088126e1236b52ddcommit hash: 32cf9412c58d339066e091ad088126e1236b52ddcommit hash: 32cf9412c58d339066e091ad088126e1236b52ddcommit hash: 32cf9412c58d339066e091ad088126e1236b52dd files touched by this commit
Piotr Kubaj (pkubaj) search for other commits by this committer
graphics/bgfx: fix build on powerpc64* and probably riscv64

/wrkdirs/usr/ports/graphics/bgfx/work/bgfx.cmake-1.118.8398-370/bimg/3rdparty/nvtt/nvcore/debug.h:173:10:
error: cast from pointer to smaller type 'uint32' (aka 'unsigned int') loses
information
            if (reinterpret_cast<uint32>(ptr) == 0xcccccccc) return false;
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/wrkdirs/usr/ports/graphics/bgfx/work/bgfx.cmake-1.118.8398-370/bimg/3rdparty/nvtt/nvcore/debug.h:174:10:
error: cast from pointer to smaller type 'uint32' (aka 'unsigned int') loses
information
            if (reinterpret_cast<uint32>(ptr) == 0xcdcdcdcd) return false;
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/wrkdirs/usr/ports/graphics/bgfx/work/bgfx.cmake-1.118.8398-370/bimg/3rdparty/nvtt/nvcore/debug.h:175:10:
error: cast from pointer to smaller type 'uint32' (aka 'unsigned int') loses
information
            if (reinterpret_cast<uint32>(ptr) == 0xdddddddd) return false;
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/wrkdirs/usr/ports/graphics/bgfx/work/bgfx.cmake-1.118.8398-370/bimg/3rdparty/nvtt/nvcore/debug.h:176:10:
error: cast from pointer to smaller type 'uint32' (aka 'unsigned int') loses
information
            if (reinterpret_cast<uint32>(ptr) == 0xffffffff) return false;
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1.118.8398.407
22 Jan 2023 20:32:59
commit hash: 1d26bcc92bf82cef1ec83c1ff04731403c614a51commit hash: 1d26bcc92bf82cef1ec83c1ff04731403c614a51commit hash: 1d26bcc92bf82cef1ec83c1ff04731403c614a51commit hash: 1d26bcc92bf82cef1ec83c1ff04731403c614a51 files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
graphics/bgfx: Update 1.118.8398-370 -> 1.118.8398-407

Reported by:	portscout
1.118.8398.370
08 Jan 2023 20:59:13
commit hash: d7d511cf1e1a95a2be252e711a01244d04acfb72commit hash: d7d511cf1e1a95a2be252e711a01244d04acfb72commit hash: d7d511cf1e1a95a2be252e711a01244d04acfb72commit hash: d7d511cf1e1a95a2be252e711a01244d04acfb72 files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
graphics/bgfx: Update 1.118.8398-366 -> 1.118.8398-370

Reported by:	portscout
1.118.8398.366
06 Jan 2023 15:31:22
commit hash: c7ae8f5fe345c635b298b1aebc6ace0834c1a0aecommit hash: c7ae8f5fe345c635b298b1aebc6ace0834c1a0aecommit hash: c7ae8f5fe345c635b298b1aebc6ace0834c1a0aecommit hash: c7ae8f5fe345c635b298b1aebc6ace0834c1a0ae files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
graphics/bgfx: New port: Cross-platform, graphics API agnostic rendering library

Number of commits found: 22