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
This referral link gives you 10% off a Fastmail.com account and gives me a discount on my Fastmail account.

Get notified when packages are built

A new feature has been added. FreshPorts already tracks package built by the FreeBSD project. This information is displayed on each port page. You can now get an email when FreshPorts notices a new package is available for something on one of your watch lists. However, you must opt into that. Click on Report Subscriptions on the right, and New Package Notification box, and click on Update.

Finally, under Watch Lists, click on ABI Package Subscriptions to select your ABI (e.g. FreeBSD:14:amd64) & package set (latest/quarterly) combination for a given watch list. This is what FreshPorts will look for.

Port details
bgfx Cross-platform, graphics API agnostic rendering library
1.127.8725.465 graphics on this many watch lists=0 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.126.8700.463Version 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-05-19 15:37:58
Commit Hash: 86ab24e
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.127.8725.465/catalog.mk
  2. /usr/local/share/licenses/bgfx-1.127.8725.465/LICENSE
  3. /usr/local/share/licenses/bgfx-1.127.8725.465/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 = 1714625561 SHA256 (bkaradzic-bgfx.cmake-v1.127.8725-465_GH0.tar.gz) = b6325b5845300ad9b967631661f949adaf7ae4e58eb1d3feefc15897e7d75771 SIZE (bkaradzic-bgfx.cmake-v1.127.8725-465_GH0.tar.gz) = 32648

Expand this list (6 items)

Collapse this list.

SHA256 (bkaradzic-bgfx-57d8a08_GH0.tar.gz) = 8fb35626590177b50cb851c197c0be21f82f95c96d27ff3c36c0774a79ae0d51 SIZE (bkaradzic-bgfx-57d8a08_GH0.tar.gz) = 93559427 SHA256 (bkaradzic-bimg-e9fa0ce_GH0.tar.gz) = 3d6ee58757228491710e86ac8f2f323cc2865769d3ae6045e0e3022675a3e119 SIZE (bkaradzic-bimg-e9fa0ce_GH0.tar.gz) = 745047 SHA256 (bkaradzic-bx-34ba9c7_GH0.tar.gz) = f71f9a3d9834e949ed433095f49dc7318f082d95ab12a708922384dfc6f186cf SIZE (bkaradzic-bx-34ba9c7_GH0.tar.gz) = 1597396

Collapse this list.


Packages (timestamps in pop-ups are UTC):
bgfx
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest1.127.8725.4651.127.8725.465-1.127.8725.4651.127.8725.465---
FreeBSD:13:quarterly1.126.8700.4631.126.8700.4631.118.8493.4451.126.8700.4631.126.8700.463--1.124.8664.461
FreeBSD:14:latest1.127.8725.4651.127.8725.4651.118.8398.3701.127.8725.4651.127.8725.4651.118.8467.427-1.118.8467.427
FreeBSD:14:quarterly1.126.8700.4631.126.8700.463-1.126.8700.4631.126.8700.463--1.124.8664.461
FreeBSD:15:latest1.127.8725.4651.127.8725.465n/a1.126.8700.463n/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.127.8725-465?dummy=/
Collapse this list.

Number of commits found: 19

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
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: 19