From: Mathieu Baudier Date: Sat, 22 Feb 2025 06:53:15 +0000 (+0100) Subject: Improve packaging and licenses X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=eb8dfa07ca58a25f1374a3b1f59f5aa71cb4f223;p=pkg%2Fggml%2Fsources%2Fggml Improve packaging and licenses --- eb8dfa07ca58a25f1374a3b1f59f5aa71cb4f223 diff --cc debian/changelog index a4f5f51a,a4f5f51a..619ebe0b --- a/debian/changelog +++ b/debian/changelog @@@ -1,7 -1,7 +1,7 @@@ ggml (0.0.1722-2) unstable; urgency=medium * Improve packaging based on mentoring feedback -- ++ Closes: #1096105 -- Mathieu Baudier Fri, 21 Feb 2025 06:38:50 +0000 diff --cc debian/copyright index 859bf12a,859bf12a..c28cc3b7 --- a/debian/copyright +++ b/debian/copyright @@@ -5,7 -5,7 +5,7 @@@ Source: https://github.com/ggml-org/ggm Files: * Copyright: Copyright (c) 2023-2025 The ggml authors --License: MIT ++License: Expat Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights @@@ -24,6 -24,6 +24,25 @@@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ++Files: src/ggml-kompute/kompute/* ++Copyright: Copyright (c) 2020-2025 The kompute authors ++License: Apache-2.0 ++ Licensed under the Apache License, Version 2.0 (the "License"); ++ you may not use this file except in compliance with the License. ++ You may obtain a copy of the License at ++ . ++ http://www.apache.org/licenses/LICENSE-2.0 ++ . ++ Unless required by applicable law or agreed to in writing, software ++ distributed under the License is distributed on an "AS IS" BASIS, ++ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. ++ See the License for the specific language governing permissions and ++ limitations under the License. ++ . ++ On Debian systems, the complete text of the Apache License version 2 ++ can be found in /usr/share/common-licenses/Apache-2.0 ++ ++ Files: debian/* Copyright: 2024-2025 Mathieu Baudier License: GPL-2+ diff --cc debian/ggml-dev.examples index 00000000,00000000..e39721e2 new file mode 100644 --- /dev/null +++ b/debian/ggml-dev.examples @@@ -1,0 -1,0 +1,1 @@@ ++examples/* diff --cc debian/rules index 5baebd01,e38fd4c3..dc9a7faa --- a/debian/rules +++ b/debian/rules @@@ -70,6 -65,7 +70,9 @@@ override_dh_auto_install install -t $(install_libexec_multiarch)/ggml $$file; \ done - # whisper.cpp currently requires linking to a CPU backend - # we therefore provide a link in /usr/lib/*/ - # TODO use alternative - ln -s --relative $(install_libexec_multiarch)/ggml/libggml-cpu-sandybridge.so $(install_lib_multiarch)/libggml-cpu.so + # Provide a symbolic link to the most portable CPU backend + # so that it can be used for builds (e.g. whisper.cpp build requires a CPU backend) + ln -s --relative $(install_libexec_multiarch)/ggml/libggml-cpu-sandybridge.so $(install_libexec_multiarch)/ggml/libggml-cpu.so ++ ++override_dh_installexamples: ++ dh_installexamples --exclude=.gitignore