]> git.djapps.eu Git - pkg/ggml/sources/ggml/commitdiff
Improve packaging and licenses
authorMathieu Baudier <redacted>
Sat, 22 Feb 2025 06:53:15 +0000 (07:53 +0100)
committerMathieu Baudier <redacted>
Sat, 22 Feb 2025 12:20:40 +0000 (13:20 +0100)
1  2 
debian/changelog
debian/copyright
debian/ggml-dev.examples
debian/rules

index a4f5f51a9069fef5e226a6ec8c8e2cf1e6583cb8,a4f5f51a9069fef5e226a6ec8c8e2cf1e6583cb8..619ebe0bc689265aa73a29d2dde5ecabd6287df0
@@@ -1,7 -1,7 +1,7 @@@
  ggml (0.0.1722-2) unstable; urgency=medium
  
    * Improve packaging based on mentoring feedback
--  
++
    Closes: #1096105
  
   -- Mathieu Baudier <mbaudier@argeo.org>  Fri, 21 Feb 2025 06:38:50 +0000
index 859bf12a132320527e827245a140a23f1d769c5f,859bf12a132320527e827245a140a23f1d769c5f..c28cc3b724a151429af39e1b227c6fdd0f97553b
@@@ -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
   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 <mbaudier@argeo.org>
  License: GPL-2+
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..e39721e20f0708703dc6d9b607634636d625e9b2
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,1 @@@
++examples/*
diff --cc debian/rules
index 5baebd01c23cde5aa279e545f7981dbbed761ebb,e38fd4c38a4609d7be5e17f1970d45c35ce913a4..dc9a7faa731156e236fac8f123c5072836ff0f2f
@@@ -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