Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package vlang for openSUSE:Factory checked in at 2026-07-18 22:25:12 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/vlang (Old) and /work/SRC/openSUSE:Factory/.vlang.new.24530 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "vlang" Sat Jul 18 22:25:12 2026 rev:7 rq:1366528 version:0.5.2 Changes: -------- --- /work/SRC/openSUSE:Factory/vlang/vlang.changes 2026-07-12 17:10:05.099123800 +0200 +++ /work/SRC/openSUSE:Factory/.vlang.new.24530/vlang.changes 2026-07-18 22:26:25.276975996 +0200 @@ -1,0 +2,22 @@ +Sat Jul 18 13:37:02 UTC 2026 - Eyad Issa <[email protected]> + +- Update to version 0.5.2: + * v2 eval backend + * Implement @[soa] struct attribute for Structure of Arrays + transformation + * Initial version of ownership via -ownership + * VGC, a concurrent tri-color mark-and-sweep GC + * Enable the new V2 backend via v -v2 file.v + * Allow negative indexing of array like arr#[-1] + * Add power operator ** + * Comptime $if bsd + * vweb removed entirely + * Add operator overloading for [] + * Add new standard module: mcp + * Full changelog at + https://github.com/vlang/v/releases/tag/0.5.2 + +- Fix stage0 bootstrap linking by placing libm and other libraries + after the generated C source. + +------------------------------------------------------------------- Old: ---- vlang-0.5.1.tar.gz New: ---- vlang-0.5.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ vlang.spec ++++++ --- /var/tmp/diff_new_pack.EGAu6A/_old 2026-07-18 22:26:25.960998962 +0200 +++ /var/tmp/diff_new_pack.EGAu6A/_new 2026-07-18 22:26:25.964999097 +0200 @@ -17,7 +17,7 @@ # # git revision -%global vc_gitrev f461dfebcdfac3c75fdf28fec80c07f0a7a9a53d +%global vc_gitrev bd654de8a3e275178908fe824d29f58c70baaae5 # custom paths and variables %global vflags -cc gcc -d dynamic_boehm @@ -25,7 +25,7 @@ %global vexe %{vexe_root}/%{name} Name: vlang -Version: 0.5.1 +Version: 0.5.2 Release: 0 Summary: The V Programming Language License: MIT AND BSD-2-Clause @@ -48,11 +48,13 @@ BuildRequires: pkgconfig # For VFLAGS="-d dynamic_boehm" BuildRequires: pkgconfig(bdw-gc) +BuildRequires: pkgconfig(sqlite3) BuildRequires: pkgconfig(libcjson) BuildRequires: pkgconfig(libzstd) BuildRequires: mbedtls-3-devel # For vshare tool BuildRequires: pkgconfig(x11) +Requires: pkgconfig(sqlite3) Requires: pkgconfig(bdw-gc) Requires: pkgconfig(libcjson) Requires: pkgconfig(libzstd) @@ -104,7 +106,7 @@ # stage 0: build the V compiler from the transpiled C code # Build intermediate stages without LTO to speed up bootstrapping -${CC} ${CFLAGS/-flto=auto/} ${LDFLAGS/-flto=auto/} ${STAGE0_FLAGS} -o %{name}-stage0 %{SOURCE1} +${CC} ${CFLAGS/-flto=auto/} -o %{name}-stage0 %{SOURCE1} ${LDFLAGS/-flto=auto/} ${STAGE0_FLAGS} # stage 1: build without parallelism ./%{name}-stage0 ${VFLAGS} ${STAGE1_FLAGS} -o %{name}-stage1 cmd/v # stage 2: build with parallelism and -prod ++++++ 0001-Link-to-distro-provided-mbedtls.patch ++++++ --- /var/tmp/diff_new_pack.EGAu6A/_old 2026-07-18 22:26:25.984999768 +0200 +++ /var/tmp/diff_new_pack.EGAu6A/_new 2026-07-18 22:26:25.988999902 +0200 @@ -7,20 +7,26 @@ vlib/net/mbedtls/mbedtls.c.v | 125 +---------------------------------- 1 file changed, 2 insertions(+), 123 deletions(-) -Index: v-0.5.1/vlib/net/mbedtls/mbedtls.c.v +Index: v-0.5.2/vlib/net/mbedtls/mbedtls.c.v =================================================================== ---- v-0.5.1.orig/vlib/net/mbedtls/mbedtls.c.v -+++ v-0.5.1/vlib/net/mbedtls/mbedtls.c.v -@@ -1,128 +1,7 @@ +--- v-0.5.2.orig/vlib/net/mbedtls/mbedtls.c.v ++++ v-0.5.2/vlib/net/mbedtls/mbedtls.c.v +@@ -1,135 +1,7 @@ module mbedtls -#flag -I @VEXEROOT/thirdparty/mbedtls/library -#flag -I @VEXEROOT/thirdparty/mbedtls/include +-#flag windows -DWIN32_LEAN_AND_MEAN -// #flag -D _FILE_OFFSET_BITS=64 -#flag -I @VEXEROOT/thirdparty/mbedtls/3rdparty/everest/include -#flag -I @VEXEROOT/thirdparty/mbedtls/3rdparty/everest/include/everest -#flag -I @VEXEROOT/thirdparty/mbedtls/3rdparty/everest/include/everest/kremlib - +-$if macos && arm64 && tinyc { +- // Ensure mbedtls disables unsupported ARM asm paths for tinycc on Apple Silicon. +- #flag -D__TINYC__ +-} +- -// TODO: this should be built-in to the compiler -$if prod && opt_size ? { - #flag -Os @@ -95,6 +101,7 @@ -#flag @VEXEROOT/thirdparty/mbedtls/library/psa_crypto_hash.o -#flag @VEXEROOT/thirdparty/mbedtls/library/psa_crypto_mac.o -#flag @VEXEROOT/thirdparty/mbedtls/library/psa_crypto_pake.o +-#flag @VEXEROOT/thirdparty/mbedtls/library/psa_crypto_random.o -#flag @VEXEROOT/thirdparty/mbedtls/library/psa_crypto_rsa.o -#flag @VEXEROOT/thirdparty/mbedtls/library/psa_crypto_se.o -#flag @VEXEROOT/thirdparty/mbedtls/library/psa_crypto_slot_management.o ++++++ 0002-Disable-vdoc-testing.patch ++++++ --- /var/tmp/diff_new_pack.EGAu6A/_old 2026-07-18 22:26:26.001000305 +0200 +++ /var/tmp/diff_new_pack.EGAu6A/_new 2026-07-18 22:26:26.005000439 +0200 @@ -7,11 +7,11 @@ cmd/tools/vtest-self.v | 1 - 1 file changed, 1 deletion(-) -Index: v-0.5.1/cmd/tools/vtest-self.v +Index: v-0.5.2/cmd/tools/vtest-self.v =================================================================== ---- v-0.5.1.orig/cmd/tools/vtest-self.v -+++ v-0.5.1/cmd/tools/vtest-self.v -@@ -25,7 +25,6 @@ const vroot = os.dir(os.real_path(os.get +--- v-0.5.2.orig/cmd/tools/vtest-self.v ++++ v-0.5.2/cmd/tools/vtest-self.v +@@ -27,7 +27,6 @@ const temporarily_disabled_self_test_vli const essential_list = [ 'cmd/tools/vvet/vet_test.v', ++++++ 0003-Unbundle-cJSON-and-zstd.patch ++++++ --- /var/tmp/diff_new_pack.EGAu6A/_old 2026-07-18 22:26:26.017000842 +0200 +++ /var/tmp/diff_new_pack.EGAu6A/_new 2026-07-18 22:26:26.021000977 +0200 @@ -1,10 +1,10 @@ -Index: v-0.5.1/vlib/json/json_primitives.c.v +Index: v-0.5.2/vlib/json/json_primitives.c.v =================================================================== ---- v-0.5.1.orig/vlib/json/json_primitives.c.v -+++ v-0.5.1/vlib/json/json_primitives.c.v -@@ -3,8 +3,7 @@ - // that can be found in the LICENSE file. - module json +--- v-0.5.2.orig/vlib/json/json_primitives.c.v ++++ v-0.5.2/vlib/json/json_primitives.c.v +@@ -7,8 +7,7 @@ import math + import strconv + import time -#flag -I @VEXEROOT/thirdparty/cJSON -#flag @VEXEROOT/thirdparty/cJSON/cJSON.o @@ -12,10 +12,10 @@ #include "cJSON.h" #define js_get(object, key) cJSON_GetObjectItemCaseSensitive((object), (key)) -Index: v-0.5.1/vlib/json/cjson/cjson_wrapper.c.v +Index: v-0.5.2/vlib/json/cjson/cjson_wrapper.c.v =================================================================== ---- v-0.5.1.orig/vlib/json/cjson/cjson_wrapper.c.v -+++ v-0.5.1/vlib/json/cjson/cjson_wrapper.c.v +--- v-0.5.2.orig/vlib/json/cjson/cjson_wrapper.c.v ++++ v-0.5.2/vlib/json/cjson/cjson_wrapper.c.v @@ -8,8 +8,7 @@ module cjson // that has NULL leaves for example, which is currently not convenient/easy to do with just the // high level `json.encode(value)` API that V has. @@ -26,10 +26,10 @@ #include "cJSON.h" // As cJSON use `libm`, we need to link it. -Index: v-0.5.1/vlib/compress/zstd/zstd.c.v +Index: v-0.5.2/vlib/compress/zstd/zstd.c.v =================================================================== ---- v-0.5.1.orig/vlib/compress/zstd/zstd.c.v -+++ v-0.5.1/vlib/compress/zstd/zstd.c.v +--- v-0.5.2.orig/vlib/compress/zstd/zstd.c.v ++++ v-0.5.2/vlib/compress/zstd/zstd.c.v @@ -5,8 +5,8 @@ module zstd import os import encoding.binary ++++++ 0004-Fix-cJSON_GetErrorPos-undefined-reference.patch ++++++ --- /var/tmp/diff_new_pack.EGAu6A/_old 2026-07-18 22:26:26.037001514 +0200 +++ /var/tmp/diff_new_pack.EGAu6A/_new 2026-07-18 22:26:26.041001648 +0200 @@ -13,11 +13,11 @@ vlib/v/gen/c/json.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -Index: v-0.5.1/vlib/v/gen/c/json.v +Index: v-0.5.2/vlib/v/gen/c/json.v =================================================================== ---- v-0.5.1.orig/vlib/v/gen/c/json.v -+++ v-0.5.1/vlib/v/gen/c/json.v -@@ -87,7 +87,7 @@ ${dec_fn_dec} { +--- v-0.5.2.orig/vlib/v/gen/c/json.v ++++ v-0.5.2/vlib/v/gen/c/json.v +@@ -113,7 +113,7 @@ ${dec_fn_dec} { if (!root) { const char *error_ptr = cJSON_GetErrorPtr(); if (error_ptr != NULL) { ++++++ 0005-Force-system-libgc-on-Linux.patch ++++++ --- /var/tmp/diff_new_pack.EGAu6A/_old 2026-07-18 22:26:26.057002186 +0200 +++ /var/tmp/diff_new_pack.EGAu6A/_new 2026-07-18 22:26:26.061002320 +0200 @@ -14,20 +14,20 @@ vlib/builtin/builtin_d_gcboehm.c.v | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -Index: v-0.5.1/vlib/builtin/builtin_d_gcboehm.c.v +Index: v-0.5.2/vlib/builtin/builtin_d_gcboehm.c.v =================================================================== ---- v-0.5.1.orig/vlib/builtin/builtin_d_gcboehm.c.v -+++ v-0.5.1/vlib/builtin/builtin_d_gcboehm.c.v -@@ -61,7 +61,7 @@ $if dynamic_boehm ? { - #flag -Xlinker -rpath -Xlinker "@VEXEROOT/thirdparty/tcc/lib" +--- v-0.5.2.orig/vlib/builtin/builtin_d_gcboehm.c.v ++++ v-0.5.2/vlib/builtin/builtin_d_gcboehm.c.v +@@ -100,7 +100,7 @@ $if dynamic_boehm ? { + } + #flag -lgc + } $else { +- #flag @VEXEROOT/thirdparty/tcc/lib/libgc.a ++ #flag -lgc } - } $else { -- #flag @VEXEROOT/thirdparty/tcc/lib/libgc.a -+ #flag -lgc } } - } -@@ -107,7 +107,7 @@ $if dynamic_boehm ? { +@@ -155,7 +155,7 @@ $if dynamic_boehm ? { #flag -DGC_BUILTIN_ATOMIC=1 #flag -I @VEXEROOT/thirdparty/libgc/include $if !use_bundled_libgc ? { ++++++ v.c ++++++ ++++ 322052 lines (skipped) ++++ between /work/SRC/openSUSE:Factory/vlang/v.c ++++ and /work/SRC/openSUSE:Factory/.vlang.new.24530/v.c ++++++ vlang-0.5.1.tar.gz -> vlang-0.5.2.tar.gz ++++++ /work/SRC/openSUSE:Factory/vlang/vlang-0.5.1.tar.gz /work/SRC/openSUSE:Factory/.vlang.new.24530/vlang-0.5.2.tar.gz differ: char 15, line 1
