On Sat, 14 Nov 2026 19:32:27 +0000
Klemens Nanni <[email protected]> wrote:

> 14.11.2026 21:17, Nazarenko Mykyta пишет:
> > Hola ports@, kn@, kirill@.
> > 
> > So, tdesktop was updated to v7.4.4 and we need to import another rusty
> > dep to update it.
> > 
> > Tarball attached, thanks :D
> > 
> > With best regards,
> > Nazarenko Mykyta  
> 
> Packages on amd64, quick feedback:
> 
> - do we need the static library?

I think we'll use this stuff only for tg and we have a shared lib...
You're right.

> - soname is not set, should we set it?
>   tdesktop seems happy without, though.

True.

> - GH_* sets HOMEPAGE already
> - targets are hard to read without indentation
> - did you look into tests on amd64?
>   test result: FAILED. 114 passed; 26 failed; 0 ignored; 0 measured; 0 
> filtered out; finished in 0.20s

Yes, but don't worry. It works.

> - patches/patch-* have no comments
>   - what do they change and why?
>   - are they copied from anywhere?

https://github.com/desktop-app/patches/blob/master/wallet-engine.patch

They're adding some functionality to the library.

> - is this port specific to tdesktop or does tdesktop require
>   any specific versions or changes?

Specific patches.

>   if so, DESCR should probably mention that.
> 

True, fixed that.

> 
> Information for inst:wallet-engine-0.0.7
> 
> Comment:
> Rust library for TON wallet applications
> 
> Description:
> Wallet Engine is a Rust library for TON wallet applications. It gives
> Swift, Kotlin, and TypeScript applications the same wallet behavior.
> Maintainer: Mykyta Nazarenko <[email protected]>
> 
> WWW: https://github.com/i582/wallet-engine
> 
> 
> 
> diff --git a/devel/wallet-engine/Makefile b/devel/wallet-engine/Makefile
> index 0c123c9c7..4ab76df25 100644
> --- a/devel/wallet-engine/Makefile
> +++ b/devel/wallet-engine/Makefile
> @@ -9,7 +9,6 @@ CATEGORIES =          devel
>  SHARED_LIBS =                wallet_engine  0.0
>  
>  MAINTAINER =         Mykyta Nazarenko <[email protected]>
> -HOMEPAGE =           https://github.com/i582/wallet-engine
>  
>  # Apache 2.0
>  PERMIT_PACKAGE =     Yes
> @@ -24,24 +23,21 @@ CONFIGURE_STYLE = cargo
>  
>  post-build:
>       cd ${WRKSRC}/bindgen/cpp && ${SETENV} ${MAKE_ENV} \
> -     ${MODCARGO_CARGO_BIN} build --release --offline \
> -     ${MODCARGO_BUILD_ARGS}
> +         ${MODCARGO_CARGO_BIN} build --release --offline \
> +         ${MODCARGO_BUILD_ARGS}
>  
>       ${INSTALL_DATA_DIR} ${WRKSRC}/bindings/cpp-experimental
>       cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \
> -     ${WRKSRC}/bindgen/cpp/target/release/uniffi-bindgen-cpp \
> -     --library --out-dir ${WRKSRC}/bindings/cpp-experimental \
> -     ${MODCARGO_TARGET_DIR}/release/libwallet_engine.so
> +         ${WRKSRC}/bindgen/cpp/target/release/uniffi-bindgen-cpp \
> +         --library --out-dir ${WRKSRC}/bindings/cpp-experimental \
> +         ${MODCARGO_TARGET_DIR}/release/libwallet_engine.so
>  
>  do-install:
>       ${INSTALL_DATA_DIR} ${PREFIX}/include/wallet_engine
>       ${INSTALL_DATA} ${WRKSRC}/bindings/cpp-experimental/* \
> -     ${PREFIX}/include/wallet_engine/
> -     ${INSTALL_DATA} ${MODCARGO_TARGET_DIR}/release/libwallet_engine.a \
> -             ${PREFIX}/lib
> -     ${INSTALL_DATA} \
> -     ${MODCARGO_TARGET_DIR}/release/libwallet_engine.so \
> -             ${PREFIX}/lib/libwallet_engine.so.${LIBwallet_engine_VERSION}
> +         ${PREFIX}/include/wallet_engine
> +     ${INSTALL_DATA} ${MODCARGO_TARGET_DIR}/release/libwallet_engine.so \
> +         ${PREFIX}/lib/libwallet_engine.so.${LIBwallet_engine_VERSION}
>  
>  .include "crates.inc"
>  .include <bsd.port.mk>
> diff --git a/devel/wallet-engine/pkg/PLIST b/devel/wallet-engine/pkg/PLIST
> index b9d465766..35574880c 100644
> --- a/devel/wallet-engine/pkg/PLIST
> +++ b/devel/wallet-engine/pkg/PLIST
> @@ -2,5 +2,4 @@ include/wallet_engine/
>  include/wallet_engine/wallet_engine.cpp
>  include/wallet_engine/wallet_engine.hpp
>  include/wallet_engine/wallet_engine_scaffolding.hpp
> -@static-lib lib/libwallet_engine.a
>  @lib lib/libwallet_engine.so.${LIBwallet_engine_VERSION}
> 

Thanks kn@. New tarball attached.

With best regards,
Nazarenko Mykyta

Attachment: wallet-engine.tar.gz
Description: application/gzip

Reply via email to