Skip to content
Merged
2 changes: 1 addition & 1 deletion common/shlibs
Original file line number Diff line number Diff line change
Expand Up @@ -4208,7 +4208,7 @@ libwayland-client++.so.1 libwaylandpp-1.0.0_1
libwayland-cursor++.so.1 libwaylandpp-1.0.0_1
libwayland-egl++.so.1 libwaylandpp-1.0.0_1
libwayland-client-extra++.so.1 libwaylandpp-1.0.0_1
libspdlog.so.1.16 libspdlog-1.16.0_1
libspdlog.so.1.17 libspdlog-1.17.0_1
libmd.so.0 libmd-1.0.3_1
libldacBT_abr.so.2 ldacBT-2.0.2.3_1
libldacBT_enc.so.2 ldacBT-2.0.2.3_1
Expand Down
2 changes: 1 addition & 1 deletion srcpkgs/Bear/template
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Template file for 'Bear'
pkgname=Bear
version=3.1.6
revision=3
revision=4
build_style=cmake
hostmakedepends="pkg-config protobuf protobuf-devel grpc"
makedepends="json-c++ spdlog grpc-devel protobuf-devel gtest-devel"
Expand Down
2 changes: 1 addition & 1 deletion srcpkgs/MangoHud/template
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Template file for 'MangoHud'
pkgname=MangoHud
version=0.8.2
revision=1
revision=2
build_style=meson
configure_args="-Dwith_xnvctrl=disabled
-Dwith_nvml=disabled -Duse_system_spdlog=enabled -Dmangoapp=true"
Expand Down
2 changes: 1 addition & 1 deletion srcpkgs/Waybar/template
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Template file for 'Waybar'
pkgname=Waybar
version=0.15.0
revision=1
revision=2
build_style=meson
configure_args="-Dlibudev=enabled -Dman-pages=enabled
-Dsystemd=disabled -Drfkill=enabled
Expand Down
2 changes: 1 addition & 1 deletion srcpkgs/coeurl/template
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Template file for 'coeurl'
pkgname=coeurl
version=0.3.1
revision=1
revision=2
build_style=meson
hostmakedepends="pkg-config"
makedepends="spdlog libevent-devel libcurl-devel"
Expand Down
2 changes: 1 addition & 1 deletion srcpkgs/corectrl/template
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Template file for 'corectrl'
pkgname=corectrl
version=1.5.2
revision=3
revision=4
build_style=cmake
configure_args="-DBUILD_TESTING=OFF" # requires https://github.com/rollbear/trompeloeil which isn't packaged
hostmakedepends="pkg-config extra-cmake-modules qt6-tools qt6-base"
Expand Down
2 changes: 1 addition & 1 deletion srcpkgs/cryfs/template
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Template file for 'cryfs'
pkgname=cryfs
version=1.0.1
revision=4
revision=5
build_style=cmake
configure_args="-DBoost_USE_STATIC_LIBS=OFF -DCRYFS_UPDATE_CHECKS=off
-DBUILD_TESTING=ON
Expand Down
2 changes: 1 addition & 1 deletion srcpkgs/gerbera/template
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Template file for 'gerbera'
pkgname=gerbera
version=2.5.0
revision=2
revision=3
build_style=cmake
configure_args="-DWITH_SYSTEMD=OFF -DWITH_AVCODEC=ON -DWITH_NPUPNP=ON"
hostmakedepends="pkg-config"
Expand Down
2 changes: 1 addition & 1 deletion srcpkgs/gnuradio/template
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Template file for 'gnuradio'
pkgname=gnuradio
version=3.10.12.0
revision=4
revision=5
build_style=cmake
build_helper="python3"
conf_files="/etc/gnuradio/conf.d/*"
Expand Down
2 changes: 1 addition & 1 deletion srcpkgs/j4-dmenu-desktop/template
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Template file for 'j4-dmenu-desktop'
pkgname=j4-dmenu-desktop
version=3.2
revision=2
revision=3
build_style=meson
configure_args="-Denable-tests=false"
hostmakedepends="pkg-config"
Expand Down
2 changes: 1 addition & 1 deletion srcpkgs/kodi/template
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Template file for 'kodi'
pkgname=kodi
version=21.2
revision=3
revision=4
_codename="Omega"
_crossguid_ver="ca1bf4b810e2d188d04cb6286f957008ee1b7681"
_dvdcss_ver="1.4.3-Next-Nexus-Alpha2-2"
Expand Down
2 changes: 1 addition & 1 deletion srcpkgs/mtxclient/template
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Template file for 'mtxclient'
pkgname=mtxclient
version=0.10.1
revision=1
revision=2
build_style=cmake
configure_args="-DBUILD_LIB_TESTS=OFF -DBUILD_LIB_EXAMPLES=OFF"
hostmakedepends="pkg-config"
Expand Down
2 changes: 1 addition & 1 deletion srcpkgs/nheko/template
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Template file for 'nheko'
pkgname=nheko
version=0.12.1
revision=3
revision=4
build_style=cmake
hostmakedepends="qt6-base qt6-tools qt6-declarative-host-tools pkg-config asciidoc"
makedepends="qt6-multimedia-devel qt6-svg-devel qt6-declarative-private-devel fmt-devel
Expand Down
55 changes: 55 additions & 0 deletions srcpkgs/spdlog/patches/fix-musl.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
adapted from: https://github.com/chimera-linux/cports/blob/master/main/spdlog/patches/musl.patch

diff --git a/tests/test_timezone.cpp b/tests/test_timezone.cpp
index 7bee9c5..b66844f 100644
--- a/tests/test_timezone.cpp
+++ b/tests/test_timezone.cpp
@@ -78,7 +78,7 @@ using spdlog::details::os::utc_minutes_offset;

TEST_CASE("UTC Offset - Western Hemisphere (USA - Standard Time)", "[timezone][west]") {
// EST5EDT: Eastern Standard Time (UTC-5)
- ScopedTZ tz("EST5EDT");
+ ScopedTZ tz("America/New_York");

// Jan 15th (Winter)
auto tm = make_tm(2023, 1, 15, 12, 0);
@@ -87,7 +87,7 @@ TEST_CASE("UTC Offset - Western Hemisphere (USA - Standard Time)", "[timezone][w

TEST_CASE("UTC Offset - Eastern Hemisphere (Europe/Israel - Standard Time)", "[timezone][east]") {
// IST-2IDT: Israel Standard Time (UTC+2)
- ScopedTZ tz("IST-2IDT");
+ ScopedTZ tz("Israel");

// Jan 15th (Winter)
auto tm = make_tm(2023, 1, 15, 12, 0);
@@ -115,14 +115,14 @@ TEST_CASE("UTC Offset - Non-Integer Hour Offsets (India)", "[timezone][partial]"
}

TEST_CASE("UTC Offset - Edge Case: Negative Offset Crossing Midnight", "[timezone][edge]") {
- ScopedTZ tz("EST5EDT");
+ ScopedTZ tz("America/New_York");
// Late night Dec 31st, 2023
auto tm = make_tm(2023, 12, 31, 23, 59);
REQUIRE(utc_minutes_offset(tm) == -300);
}

TEST_CASE("UTC Offset - Edge Case: Leap Year", "[timezone][edge]") {
- ScopedTZ tz("EST5EDT");
+ ScopedTZ tz("America/New_York");
// Feb 29, 2024 (Leap Day) - Winter
auto tm = make_tm(2024, 2, 29, 12, 0);
REQUIRE(utc_minutes_offset(tm) == -300);
@@ -137,10 +137,10 @@ TEST_CASE("UTC Offset - Edge Case: Invalid Date (Pre-Epoch)", "[timezone][edge]"
#else
// Unix mktime handles pre-1970 dates correctly.
// We expect the actual historical offset (EST was UTC-5 in 1960).
- ScopedTZ tz("EST5EDT");
+ ScopedTZ tz("America/New_York");
auto tm = make_tm(1960, 1, 1, 12, 0);
REQUIRE(utc_minutes_offset(tm) == -300);
#endif
}

-#endif // !SPDLOG_NO_TZ_OFFSET
\ No newline at end of file
+#endif // !SPDLOG_NO_TZ_OFFSET
4 changes: 2 additions & 2 deletions srcpkgs/spdlog/template
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Template file for 'spdlog'
pkgname=spdlog
version=1.16.0
version=1.17.0
revision=1
build_style=cmake
configure_args="-DSPDLOG_BUILD_EXAMPLE=OFF -DSPDLOG_FMT_EXTERNAL=ON
Expand All @@ -13,7 +13,7 @@ maintainer="skmpz <dem.procopiou@gmail.com>"
license="MIT"
homepage="https://github.com/gabime/spdlog"
distfiles="https://github.com/gabime/spdlog/archive/v${version}.tar.gz"
checksum=8741753e488a78dd0d0024c980e1fb5b5c85888447e309d9cb9d949bdb52aa3e
checksum=d8862955c6d74e5846b3f580b1605d2428b11d97a410d86e2fb13e857cd3a744

if [ "$XBPS_CHECK_PKGS" ]; then
configure_args+=" -DSPDLOG_BUILD_TESTS_HO=ON"
Expand Down