pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

wip/whisper.cpp: Update to 1.7.4



Module Name:	pkgsrc-wip
Committed By:	Ryo ONODERA <ryoon%NetBSD.org@localhost>
Pushed By:	ryoon
Date:		Sat Jan 11 22:23:36 2025 +0900
Changeset:	b75fdca744a979e6621b22259d9ed3d944676616

Modified Files:
	whisper.cpp/Makefile
	whisper.cpp/PLIST
	whisper.cpp/distinfo
	whisper.cpp/patches/patch-ggml_CMakeLists.txt

Log Message:
wip/whisper.cpp: Update to 1.7.4

Changelog:
1.7.4:
Overview

Minor release with mostly build fixes.
What's Changed

    whisper : rename binaries + fix install by @ggerganov in #2648
    feat(server): Add option to suppress non-speech tokens by @sachaarbonel in #2649
    whisper : rename suppress_non_speech_tokens to suppress_nst by @ggerganov in #2653
    feat: expose no-speech probability in segment by @sachaarbonel in #2654
    ruby : bug fix on callbacks and no_speech_prob by @KitaitiMakoto in #2656
    Add no_speech_thold to cli by @alubbe in #2663
    Add --suppress_nst support to cli by @alubbe in #2664
    ruby : Fix of C++ header guard name, model URI support, type signature and more by @KitaitiMakoto in #2683
    Enable Windows cublas build by @niksedk in #2676
    docs: replace Core ML with OpenVINO by @konosky in #2686
    rename ggml-cpu-aarch64.c to .cpp by @ego in #2687
    readme : fix real-time audio input example build instructions by @samueldurantes in #2692
    sync : ggml by @ggerganov in #2699
    cli : fix segfault on missing argument by @redzic in #2700

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=b75fdca744a979e6621b22259d9ed3d944676616

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 whisper.cpp/Makefile                          | 5 ++---
 whisper.cpp/PLIST                             | 2 +-
 whisper.cpp/distinfo                          | 8 ++++----
 whisper.cpp/patches/patch-ggml_CMakeLists.txt | 8 ++++----
 4 files changed, 11 insertions(+), 12 deletions(-)

diffs:
diff --git a/whisper.cpp/Makefile b/whisper.cpp/Makefile
index 2912ee8f02..dc524d6abc 100644
--- a/whisper.cpp/Makefile
+++ b/whisper.cpp/Makefile
@@ -1,11 +1,10 @@
 # $NetBSD$
 
-DISTNAME=	whisper.cpp-1.7.4pre20241223
+DISTNAME=	whisper.cpp-1.7.4
 CATEGORIES=	devel
 MASTER_SITES=	${MASTER_SITE_GITHUB:=ggerganov/}
 GITHUB_PROJECT=	whisper.cpp
-#GITHUB_TAG=	v${PKGVERSION_NOREV}
-GITHUB_TAG=	ed09075ca09fa111c0506a415aa6f94c96a5d432
+GITHUB_TAG=	v${PKGVERSION_NOREV}
 
 MAINTAINER=	ryoon%NetBSD.org@localhost
 HOMEPAGE=	https://github.com/ggerganov/whisper.cpp/
diff --git a/whisper.cpp/PLIST b/whisper.cpp/PLIST
index 4622de25b9..6e3f90f5ca 100644
--- a/whisper.cpp/PLIST
+++ b/whisper.cpp/PLIST
@@ -7,5 +7,5 @@ lib/cmake/whisper/whisper-config.cmake
 lib/cmake/whisper/whisper-version.cmake
 lib/libwhisper.so
 lib/libwhisper.so.1
-lib/libwhisper.so.1.7.3
+lib/libwhisper.so.1.7.4
 lib/pkgconfig/whisper.pc
diff --git a/whisper.cpp/distinfo b/whisper.cpp/distinfo
index 2c24a4f5e5..fe9397998d 100644
--- a/whisper.cpp/distinfo
+++ b/whisper.cpp/distinfo
@@ -1,7 +1,7 @@
 $NetBSD$
 
-BLAKE2s (whisper.cpp-1.7.4pre20241223-ed09075ca09fa111c0506a415aa6f94c96a5d432.tar.gz) = 7b095f8bec3f4be3f209150d12434bf88589c25cfca732d0a1029d1e00d0d44d
-SHA512 (whisper.cpp-1.7.4pre20241223-ed09075ca09fa111c0506a415aa6f94c96a5d432.tar.gz) = c6f78382b55fd8d0150c39c8fc8cbd2840c463c74ca4e9c82e2792aa41b2c3ee4815d0d6642f535301bd1a5e3aa3b0653931b3267bc92f50ae2624775fccddb1
-Size (whisper.cpp-1.7.4pre20241223-ed09075ca09fa111c0506a415aa6f94c96a5d432.tar.gz) = 5349911 bytes
+BLAKE2s (whisper.cpp-1.7.4.tar.gz) = 0c873281173970b1b771081c61f3c1ed3998ffac5ae9e4f2d0f94f50ea658f3e
+SHA512 (whisper.cpp-1.7.4.tar.gz) = 84ea48babc78a048e8c1b67d9ce5492b270f9ce86a175f3878905bf3403ce6954d74e6289f020b1aa1f15eaf623251f8fed8c25b68f5882299a10bdb9643ae05
+Size (whisper.cpp-1.7.4.tar.gz) = 5352431 bytes
 SHA1 (patch-CMakeLists.txt) = c83ba3d348fc3f70b00a9ab3ac0c750251436fe3
-SHA1 (patch-ggml_CMakeLists.txt) = 6b35984542f8e1cc1b9aafd897d18a3f8026a203
+SHA1 (patch-ggml_CMakeLists.txt) = 4de575a735f81e280a1c5e4f2e51e9117b1833e4
diff --git a/whisper.cpp/patches/patch-ggml_CMakeLists.txt b/whisper.cpp/patches/patch-ggml_CMakeLists.txt
index 074704d455..266c212c8b 100644
--- a/whisper.cpp/patches/patch-ggml_CMakeLists.txt
+++ b/whisper.cpp/patches/patch-ggml_CMakeLists.txt
@@ -1,8 +1,8 @@
 $NetBSD$
 
---- ggml/CMakeLists.txt.orig	2024-12-23 09:00:15.190720752 +0000
+--- ggml/CMakeLists.txt.orig	2025-01-11 13:17:23.722292800 +0000
 +++ ggml/CMakeLists.txt
-@@ -248,8 +248,8 @@ set_target_properties(ggml PROPERTIES PU
+@@ -249,8 +249,8 @@ set_target_properties(ggml PROPERTIES PU
  #if (GGML_METAL)
  #    set_target_properties(ggml PROPERTIES RESOURCE "${CMAKE_CURRENT_SOURCE_DIR}/src/ggml-metal.metal")
  #endif()
@@ -11,5 +11,5 @@ $NetBSD$
 +#install(TARGETS ggml LIBRARY PUBLIC_HEADER)
 +#install(TARGETS ggml-base LIBRARY)
  
- # FIXME: this should be done in the backend cmake files
- if (GGML_METAL)
+ if (GGML_STANDALONE)
+     configure_file(${CMAKE_CURRENT_SOURCE_DIR}/ggml.pc.in


Home | Main Index | Thread Index | Old Index