mirror of
https://github.com/ggerganov/ggwave.git
synced 2026-02-07 17:54:39 +08:00
ci : update + packages (#146)
* Add simple Debian package * Update CI configuration * Add cpack Deb package for libggwave-dev * Add `make deb` top level target and CI job * Ensure `make deb` packages are deterministic Update CMakeLists.txt to make cpack generated Debian packages deterministic build outputs by: - Setting SOURCE_DATE_EPOCH to 0 - Executing `git log -1 --pretty=%ct` and storing the result in SOURCE_DATE_EPOCH, overriding 0 - Export SOURCE_DATE_EPOCH to the environment - Explicitly prefix the execution of the cpack command in the custom target `deb_c_library` with SOURCE_DATE_EPOCH Update `README.md-tmpl.md` and `README.md` to document new `make deb` target. The Makefile for the Python bindings already handle deterministic building with the same strategy. * libc6, not libc
This commit is contained in:
5
bindings/python/debian/changelog
Normal file
5
bindings/python/debian/changelog
Normal file
@@ -0,0 +1,5 @@
|
||||
ggwave (0.4.2-0) unstable; urgency=low
|
||||
|
||||
* Initial release
|
||||
|
||||
-- Georgi Gerganov <ggerganov@gmail.com> Sat, 15 Mar 2025 11:17:22 +0000
|
||||
40
bindings/python/debian/control
Normal file
40
bindings/python/debian/control
Normal file
@@ -0,0 +1,40 @@
|
||||
Source: ggwave
|
||||
Section: python
|
||||
Priority: optional
|
||||
Maintainer: Georgi Gerganov <ggerganov@gmail.com>
|
||||
Build-Depends: debhelper-compat (= 13),
|
||||
dh-python,
|
||||
cython3,
|
||||
python3-all-dev,
|
||||
python3-setuptools,
|
||||
Standards-Version: 4.6.2.0
|
||||
Testsuite: autopkgtest-pkg-pybuild
|
||||
Homepage: https://github.com/ggerganov/ggwave
|
||||
Rules-Requires-Root: no
|
||||
|
||||
Package: python3-ggwave
|
||||
Architecture: any
|
||||
Depends: ${misc:Depends}, ${python3:Depends}, ${shlibs:Depends},
|
||||
Description: Tiny data-over-sound library
|
||||
Tiny data-over-sound library.
|
||||
.
|
||||
.
|
||||
.. code:: python
|
||||
.
|
||||
# generate audio waveform for string "hello python"
|
||||
waveform = ggwave.encode("hello python")
|
||||
.
|
||||
# decode audio waveform
|
||||
text = ggwave.decode(instance, waveform)
|
||||
.
|
||||
.
|
||||
--------
|
||||
Features
|
||||
--------
|
||||
.
|
||||
* Audible and ultrasound transmissions available
|
||||
* Bandwidth of 8-16 bytes/s (depending on the transmission protocol)
|
||||
* Robust FSK modulation
|
||||
* Reed-Solomon based error correction
|
||||
.
|
||||
------------
|
||||
14
bindings/python/debian/copyright
Normal file
14
bindings/python/debian/copyright
Normal file
@@ -0,0 +1,14 @@
|
||||
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||||
Upstream-Name: ggwave
|
||||
Upstream-Contact: Georgi Gerganov <ggerganov@gmail.com>
|
||||
Source: https://github.com/ggerganov/ggwave
|
||||
|
||||
Files: *
|
||||
Copyright: Georgi Gerganov <ggerganov@gmail.com>
|
||||
License: MIT
|
||||
|
||||
Files: debian/*
|
||||
Copyright: Georgi Gerganov <ggerganov@gmail.com>
|
||||
License: MIT
|
||||
|
||||
License: MIT
|
||||
1
bindings/python/debian/python3-ggwave.docs
Normal file
1
bindings/python/debian/python3-ggwave.docs
Normal file
@@ -0,0 +1 @@
|
||||
README.rst
|
||||
5
bindings/python/debian/rules
Executable file
5
bindings/python/debian/rules
Executable file
@@ -0,0 +1,5 @@
|
||||
#! /usr/bin/make -f
|
||||
|
||||
export PYBUILD_NAME=ggwave
|
||||
%:
|
||||
dh $@ --with python3 --buildsystem=pybuild
|
||||
1
bindings/python/debian/source/format
Normal file
1
bindings/python/debian/source/format
Normal file
@@ -0,0 +1 @@
|
||||
3.0 (quilt)
|
||||
1
bindings/python/debian/source/options
Normal file
1
bindings/python/debian/source/options
Normal file
@@ -0,0 +1 @@
|
||||
extend-diff-ignore="^[^/]+.(egg-info|dist-info)/"
|
||||
Reference in New Issue
Block a user