Parcourir la source

Better naming

v2
Xerbo il y a 1 an
Parent
révision
c9d89ea210
Aucune clé connue n'a été trouvée dans la base pour cette signature ID de la clé GPG: 34103F6D8F11CEB0
4 fichiers modifiés avec 49 ajouts et 16 suppressions
  1. +2
    -3
      .github/ISSUE_TEMPLATE/bug-report.md
  2. +12
    -12
      .github/workflows/build.yml
  3. +34
    -0
      UPGRADE_GUIDE.md
  4. +1
    -1
      cmake/toolchain-mingw32.cmake

+ 2
- 3
.github/ISSUE_TEMPLATE/bug-report.md Voir le fichier

@@ -4,7 +4,6 @@ about: Create a bug report to improve aptdec
title: ''
labels: bug
assignees: ''

---

**Describe the bug**
@@ -17,7 +16,7 @@ Steps to reproduce the behavior.
A clear description of what you expected to happen.

**Link to audio**
A link to the audio that caused the problem.
A link to the audio file that caused the problem (if applicable).

**Build information**
The commit of aptdec you are running (check with `git rev-parse HEAD`), make sure it's up to date before opening this issue.
The version of aptdec you are running (check with `git describe --tag`), make sure it's up to date before opening this issue.

+ 12
- 12
.github/workflows/build.yml Voir le fichier

@@ -29,16 +29,16 @@ jobs:
- name: Build and package
run: cmake --build build -j$(nproc) && cmake --build build --target package

- name: Upload TGZ package
- name: Upload TGZ archive
uses: actions/upload-artifact@v3
with:
name: TGZ package
name: TGZ archive (x86_64/gcc)
path: build/aptdec_*.tar.gz

- name: Upload DEB package
- name: Upload Debian package
uses: actions/upload-artifact@v3
with:
name: Debian package
name: Debian package (x86_64/gcc)
path: build/aptdec_*.deb

build_windows:
@@ -56,10 +56,10 @@ jobs:
- name: Run build script
run: ./build_windows.sh $BUILD_TYPE

- name: Upload ZIP package
- name: Upload ZIP archive
uses: actions/upload-artifact@v3
with:
name: ZIP package
name: ZIP archive (x86_64/MinGW)
path: winbuild/aptdec_*.zip
build_windows_msvc:
@@ -75,10 +75,10 @@ jobs:
shell: cmd
run: '"C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Auxiliary/Build/vcvars64.bat" & build_windows.bat'

- name: Upload ZIP package
- name: Upload ZIP archive
uses: actions/upload-artifact@v3
with:
name: ZIP package (MSVC)
name: ZIP archive (x86_64/MSVC)
path: winbuild/aptdec_*.zip
build_linux_armhf:
@@ -93,14 +93,14 @@ jobs:
- name: Run build script
run: docker run -v $(pwd):/aptdec:z -w /aptdec debian:11 ./build_arm.sh

- name: Upload DEB package
- name: Upload Debian package
uses: actions/upload-artifact@v3
with:
name: DEB package (ARM)
name: Debian package (armhf/gcc)
path: build/aptdec_*.deb

- name: Upload TGZ package
- name: Upload TGZ archive
uses: actions/upload-artifact@v3
with:
name: TGZ package (ARM)
name: TGZ archive (armhf/gcc)
path: build/aptdec_*.tar.gz

+ 34
- 0
UPGRADE_GUIDE.md Voir le fichier

@@ -0,0 +1,34 @@
# Upgrading from aptdec 1.8.0 to 2.0.0

# `aptdec` (now `aptdec-cli`)

## Removed

- The `-d` (output directory) flag
- The `-g` (gamma) flag
- Map overlays/MCIR
- Reading raw PNG images

(Some of these features have been moved into `aptdec_post.py`)

## Changes

- "palettes" are now called "luts"
- Image type and effects are now full English words (separated by commas) instead of letters
- Output format of realtime images is now `CURRENT_TIME.png` instead of `CURRENT_TIME-r.png`
- Channel A/B images include telemetry

## Examples

| v1.8 | v2.0.0 |
|---------------------------------------|-------------------------------------------|
| `aptdec file.wav` | `aptdec-cli file.wav` |
| `aptdec -i rt file.wav` | `aptdec-cli -i raw,thermal file.wav` |
| `aptdec -i ab file.wav` | `aptdec-cli -i a,b -e strip file.wav` |
| `aptdec -i p -p palette.png file.wav` | `aptdec-cli -i lut -l lut.png file.wav` |
| `aptdec -d out *.wav` | `mkdir out; cd out; aptdec-cli ../*.wav` |


# `libapt` (now `libaptdec`)

To avoid confusion with `apt` (the Debian package manager) the name of the aptdec library has been changed to `libaptdec`.

+ 1
- 1
cmake/toolchain-mingw32.cmake Voir le fichier

@@ -1,6 +1,6 @@
# the name of the target operating system
SET(CMAKE_SYSTEM_NAME Windows)
SET(CMAKE_SYSTEM_PROCESSOR amd64)
SET(CMAKE_SYSTEM_PROCESSOR x86_64)

# which compilers to use for C and C++
SET(CMAKE_C_COMPILER x86_64-w64-mingw32-gcc)


Chargement…
Annuler
Enregistrer