Skip to content

Publishing

Jürgen Hock edited this page May 10, 2022 · 18 revisions

Docker

docker pull ubuntu:latest
docker run -v <host>:<dock> -dit --name=ubuntu ubuntu:latest
docker exec -it ubuntu bash
apt update && apt upgrade

apt install mc nano
apt install curl tar unzip zip
apt install build-essential cmake debhelper devscripts git ninja-build

apt install python3 python3-pip python3-venv
pip3 install click matplotlib numpy

Launchpad

Setup

Required for add-apt-repository:

apt install software-properties-common

Content of ~/.dput.cf:

[stftpitchshift]
fqdn = ppa.launchpad.net
method = ftp
incoming = ~jurihock/stftpitchshift
login = jurihock
allow_unsigned_uploads = 0

Import GPG private key:

gpg --import ...

Publish

./ubuntu.sh
debsign build-debian/stftpitchshift_<version>_source.changes
dput stftpitchshift build-debian/stftpitchshift_<version>_source.changes

Vcpkg

apt purge --auto-remove cmake
pip3 install --upgrade cmake
export VCPKG_FORCE_SYSTEM_BINARIES=arm
git clone https://github.com/microsoft/vcpkg.git /opt/vcpkg
cd /opt/vcpkg

./bootstrap-vcpkg.sh
./vcpkg integrate install
./vcpkg remove stftpitchshift
./vcpkg install stftpitchshift
./vcpkg install stftpitchshift --head
./vcpkg x-add-version --all
./vcpkg x-add-version stftpitchshift --overwrite-version
cmake -S . -B build -DCMAKE_TOOLCHAIN_FILE=/opt/vcpkg/scripts/buildsystems/vcpkg.cmake
cmake --build build

Homebrew

brew install --build-from-source --verbose --debug stftpitchshift
brew test --verbose --debug stftpitchshift
brew remove stftpitchshift
brew audit --new-formula stftpitchshift
Clone this wiki locally