On Sun, Mar 09 2025, Stuart Henderson wrote: > On 2025/03/09 13:08, Renato Aguiar wrote: >> Diff updating libbgcode to match version used in prusaslicer-2.9.0. >> >> diff /usr/ports >> path + /usr/ports >> commit - 937543c66f11e20c450ad06ea4247b86a4636545 >> blob - 7348e2e7414f4426cbdbeb10485f6735020c4c28 >> file + devel/libbgcode/Makefile >> --- devel/libbgcode/Makefile >> +++ devel/libbgcode/Makefile >> @@ -1,9 +1,8 @@ >> COMMENT = Prusa Block & Binary G-code reader / writer / converter >> >> -COMMIT = 8ae75bd0eea622f0e34cae311b3bd065b55eae9b >> +COMMIT = d33a277a3ce2c0a7f9ba325caac6d730e0f7a412 >> DISTNAME = libbgcode-${COMMIT} > > DISTNAME isn't doing anything here, DIST_TUPLE overrides it, so > probably best to remove it >
Done. >> -PKGNAME = libbgcode-20240328 >> -REVISION = 0 >> +PKGNAME = libbgcode-20241024 >> >> DIST_TUPLE = github prusa3d libbgcode ${COMMIT} . >> >> @@ -30,4 +29,6 @@ LIB_DEPENDS = devel/boost >> CONFIGURE_ARGS += -DBUILD_SHARED_LIBS=ON \ >> -DLibBGCode_BUILD_TESTS=OFF >> >> +TEST_ENV += >> LD_LIBRARY_PATH=${WRKBUILD}/src/LibBGCode/core:${WRKBUILD}/src/LibBGCode/binarize:${WRKBUILD}/src/LibBGCode/convert > > this suggests that tests are running for you; none are picked up for me. > any idea what's up? > Never mind. That change is a leftover from a previous attempt to enable tests, but they are not currently being built. I'm removing it from the diff. Updated diff: diff refs/remotes/upstream/master refs/heads/master commit - d0536c367ee3ae2ef2ee9df6efa4e27de6907eba commit + 08b8fe4439690065901cd91109bfb4b2617ebc95 blob - 7348e2e7414f4426cbdbeb10485f6735020c4c28 blob + 896ae15b5d8d7c997c82dd193d1abd8fcad009e7 --- devel/libbgcode/Makefile +++ devel/libbgcode/Makefile @@ -1,9 +1,7 @@ COMMENT = Prusa Block & Binary G-code reader / writer / converter -COMMIT = 8ae75bd0eea622f0e34cae311b3bd065b55eae9b -DISTNAME = libbgcode-${COMMIT} -PKGNAME = libbgcode-20240328 -REVISION = 0 +COMMIT = d33a277a3ce2c0a7f9ba325caac6d730e0f7a412 +PKGNAME = libbgcode-20241024 DIST_TUPLE = github prusa3d libbgcode ${COMMIT} . blob - 2c90fbc65116e7b8fb042e3fe97c24d00d9c17f9 blob + 921b0f8c424a7b5386011cb6f8ae0cc30bf06e15 --- devel/libbgcode/distinfo +++ devel/libbgcode/distinfo @@ -1,2 +1,2 @@ -SHA256 (prusa3d-libbgcode-8ae75bd0eea622f0e34cae311b3bd065b55eae9b.tar.gz) = FhMHIrk8jUnfaxHItNJ5te8oMS8YXarzn9lQ8stf+Sw= -SIZE (prusa3d-libbgcode-8ae75bd0eea622f0e34cae311b3bd065b55eae9b.tar.gz) = 456463 +SHA256 (prusa3d-libbgcode-d33a277a3ce2c0a7f9ba325caac6d730e0f7a412.tar.gz) = ezkMAWxE8fmVkl9nDnKRFvqT7uYzSymnL5B6i83m5YQ= +SIZE (prusa3d-libbgcode-d33a277a3ce2c0a7f9ba325caac6d730e0f7a412.tar.gz) = 529007