From: Mathieu Baudier Date: Fri, 23 Jan 2026 11:04:45 +0000 (+0100) Subject: Update upstream X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;p=pkg%2Fggml%2Fsources%2Fwhisper.cpp Update upstream --- diff --git a/debian/changelog b/debian/changelog index e4bdb3b3..8f60438c 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +whisper.cpp (1.8.3-1) unstable; urgency=medium + + * Update upstream + + -- Mathieu Baudier Fri, 23 Jan 2026 11:03:35 +0000 + whisper.cpp (1.8.2-2) unstable; urgency=medium * Adapt to breaking changes in ggml v0.9.5 diff --git a/debian/cmake/debian-whisper.cpp.cmake b/debian/cmake/debian-whisper.cpp.cmake deleted file mode 100644 index 74530a3b..00000000 --- a/debian/cmake/debian-whisper.cpp.cmake +++ /dev/null @@ -1,3 +0,0 @@ -# Workaround for GGML macro removed between v0.9.4 and v0.9.5 -# until whisper.cpp is updated from v1.8.2 -add_compile_definitions(GGML_KQ_MASK_PAD=64) diff --git a/debian/not-installed b/debian/not-installed index 7979e569..876dbbd5 100644 --- a/debian/not-installed +++ b/debian/not-installed @@ -1,4 +1,5 @@ /usr/bin/whisper-command /usr/libexec/*/ggml/whisper-command -/usr/bin/vad-speech-segments +/usr/bin/whisper-vad-speech-segments +/usr/libexec/*/ggml/whisper-vad-speech-segments diff --git a/debian/patches/0002-use-llama-cpp-library.patch b/debian/patches/0002-use-llama-cpp-library.patch index 48997df7..639695cc 100644 --- a/debian/patches/0002-use-llama-cpp-library.patch +++ b/debian/patches/0002-use-llama-cpp-library.patch @@ -2,17 +2,22 @@ From: Mathieu Baudier Date: Tue, 11 Mar 2025 15:40:11 +0100 Subject: use-llama-cpp-library +# Conflicts: +# examples/talk-llama/CMakeLists.txt --- - examples/talk-llama/CMakeLists.txt | 32 ++++---------------------------- - 1 file changed, 4 insertions(+), 28 deletions(-) + examples/talk-llama/CMakeLists.txt | 36 ++++-------------------------------- + 1 file changed, 4 insertions(+), 32 deletions(-) diff --git a/examples/talk-llama/CMakeLists.txt b/examples/talk-llama/CMakeLists.txt -index 182114c..f86a338 100644 +index cac4670..f86a338 100644 --- a/examples/talk-llama/CMakeLists.txt +++ b/examples/talk-llama/CMakeLists.txt -@@ -3,36 +3,12 @@ if (WHISPER_SDL2) +@@ -2,41 +2,13 @@ if (WHISPER_SDL2) + set(CMAKE_CXX_STANDARD 17) set(CMAKE_CXX_STANDARD_REQUIRED ON) +- file(GLOB SRC_MODELS models/*.cpp) +- set(TARGET whisper-talk-llama) - add_executable(${TARGET} talk-llama.cpp - llama.cpp @@ -40,11 +45,13 @@ index 182114c..f86a338 100644 - llama-sampling.cpp - llama-vocab.cpp - unicode.cpp -- unicode-data.cpp) +- unicode-data.cpp +- ${SRC_MODELS}) + add_executable(${TARGET} talk-llama.cpp) target_include_directories(${TARGET} PRIVATE ${SDL2_INCLUDE_DIRS}) - target_link_libraries(${TARGET} PRIVATE common common-sdl whisper ${SDL2_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT}) +- install(TARGETS ${TARGET} RUNTIME) + target_link_libraries(${TARGET} PRIVATE common common-sdl whisper llama ${SDL2_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT}) + + install(TARGETS ${TARGET} RUNTIME) diff --git a/debian/rules b/debian/rules index f06290da..b9517725 100755 --- a/debian/rules +++ b/debian/rules @@ -23,8 +23,6 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all override_dh_auto_configure: dh_auto_configure -- \ - -DCMAKE_PROJECT_whisper.cpp_INCLUDE=debian/cmake/debian-whisper.cpp.cmake \ - \ -DCMAKE_LIBRARY_ARCHITECTURE="$(DEB_HOST_MULTIARCH)" \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ \