diff options
-rwxr-xr-x | .fmsbw/50-ubuntu22-appimage | 32 | ||||
-rw-r--r-- | .github/workflows/nightly.yml | 58 | ||||
-rw-r--r-- | README.md | 12 | ||||
-rw-r--r-- | TODO | 3 |
4 files changed, 39 insertions, 66 deletions
diff --git a/.fmsbw/50-ubuntu22-appimage b/.fmsbw/50-ubuntu22-appimage new file mode 100755 index 0000000..4be3f6b --- /dev/null +++ b/.fmsbw/50-ubuntu22-appimage @@ -0,0 +1,32 @@ +#!/bin/sh +set -ex + +#apt-get update -o APT::Cache-Start=100000000 +#apt-get install -o APT::Cache-Start=100000000 -y fuse libfuse2 imagemagick wget file binutils libglib2.0-bin +#mkdir -p ~/pkg2appimage +#cd ~/pkg2appimage +#wget -O pkg2appimage.AppImage https://github.com/AppImageCommunity/pkg2appimage/releases/download/continuous/pkg2appimage-1eceb30-x86_64.AppImage +#chmod +x pkg2appimage.AppImage +# FIXME: We could get automatic mounting to work with fusefs in the host and by exposesing /dev/fuse. +#./pkg2appimage.AppImage --appimage-extract + +~/pkg2appimage/squashfs-root/AppRun AppImage.yml +cd out +rename 's/.*\.glibc/Applause-nightly-glibc/' *.AppImage +chmod a+x *.AppImage + +mkdir -p /opt/htdocs/downloads/nightly/ +mv *.AppImage /opt/htdocs/downloads/nightly/ +cd .. + +# NOTE: The LDoc version from LuaRocks is just as old. +# Also, it does not appear to contain a Markdown plugin as is claimed +# in the documentation. +# This could also be done in a freebsd14-small pod. +apt-get install -o APT::Cache-Start=100000000 -y rename lua-ldoc lua-discount + +# We apparently cannot change what page is shown in index.html, +# so we rename it to api.html and redirect in index.html. +ldoc -o api . +echo '<html><head><meta http-equiv="refresh" content="0; URL=topics/README.md.html"/>' >doc/index.html +cp -r doc/* /opt/htdocs/ diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml deleted file mode 100644 index 9b2cace..0000000 --- a/.github/workflows/nightly.yml +++ /dev/null @@ -1,58 +0,0 @@ -name: Nightly Builds - -on: [push, pull_request] - -jobs: - Linux: - # AppImages should be built on the oldest possible version. - # This should also match the version referenced in AppImage.yml. - runs-on: ubuntu-20.04 - - steps: - - - name: Git Clone - uses: actions/checkout@v4.1.6 - - - name: Update Repositories - run: sudo apt-get update - - name: Install Build Dependencies - run: | - # NOTE: The LDoc version from LuaRocks is just as old. - # Also, it does not appear to contain a Markdown plugin as is claimed - # in the documentation. - sudo apt-get install -y rename lua-ldoc lua-discount - - - name: Build AppImage - run: | - wget -O pkg2appimage.AppImage \ - "https://github.com/AppImageCommunity/pkg2appimage/releases/download/continuous/pkg2appimage--x86_64.AppImage" - chmod +x pkg2appimage.AppImage - ./pkg2appimage.AppImage AppImage.yml - cd out - rename 's/.*\.glibc/Applause-nightly-glibc/' *.AppImage - chmod a+x *.AppImage - - name: Archive AppImage - uses: pyTooling/Actions/releaser@v1.0.5 - with: - token: ${{ secrets.GITHUB_TOKEN }} - tag: nightly - rm: true - files: out/*.AppImage - - # We apparently cannot change what page is shown in index.html, - # so we rename it to api.html and redirect in index.html. - - name: Build Lua Documentation - run: | - ldoc -o api . - echo '<html><head><meta http-equiv="refresh" content="0; URL=topics/README.md.html"/>' >doc/index.html - - name: Publish Website - run: | - cd doc - touch .nojekyll - git init - cp ../.git/config ./.git/config - git add . - git config --local user.email "Website@GitHubActions" - git config --local user.name "GitHub Actions" - git commit -a -m "update ${{ github.sha }}" - git push -u origin +HEAD:gh-pages @@ -1,5 +1,3 @@ -[](https://github.com/rhaberkorn/applause2/releases/tag/nightly) - # Applause Applause is a [LuaJIT](https://luajit.org/)-based real-time audio programming environment @@ -34,7 +32,7 @@ See also the TODO file for a list of bugs, possible features and improvements. ## Installation The easiest way to install Applause on Linux is to install a -prebuilt [AppImage](https://appimage.org/) from a [nightly build](https://github.com/rhaberkorn/applause2/releases/tag/nightly). +prebuilt [AppImage](https://appimage.org/) from a [nightly build](https://www.fmsbw.de/projects/applause2/downloads/nightly). It should run on any x86_64 Linux system that has the [JACK](https://jackaudio.org/) daemon (jackd2/jackdmp) installed and running. The AppImage supports all three modes of running Applause: @@ -73,7 +71,7 @@ To compile the project, type: make -Up-to-date documentation is available at the [website](http://rhaberkorn.github.io/applause2). +Up-to-date documentation is available at the [website](https://www.fmsbw.de/projects/applause2). In case you want to build it manually, install [LDoc](https://stevedonovan.github.io/ldoc/) (for instance `luarocks install ldoc`) and type: @@ -118,7 +116,7 @@ you should add the following entry to `/etc/login.conf`: Change the login class of your user to `audio` by running `chpass`. You might need to add the current user to the `wheel` group and -give read acceess to evdev device nodes by creating `/etc/devd.rules`: +give read acceess to evdev device nodes by creating `/etc/devfs.rules`: [localrules=10] add path 'input/*' mode 0640 @@ -127,8 +125,8 @@ give read acceess to evdev device nodes by creating `/etc/devd.rules`: echo -ne "25 \nStream.SinOsc(440):play()" | socat -,ignoreeof TCP:127.0.0.1:10000 -See also [client.tes](https://github.com/rhaberkorn/applause2/blob/master/client.tes) -for a [SciTECO](https://github.com/rhaberkorn/sciteco) integration. +See also [client.tes](https://git.fmsbw.de/applause2/plain/client.tes) +for a [SciTECO](https://sciteco.fmsbw.de/) integration. # Joysticks and Gamepads @@ -122,4 +122,5 @@ * Add list of features as in Conclusion of my thesis. * Markdown table in midi.lua. This appears to be broken even with format='discount' and format='lunamark' (0.6.0). - +* Stream:partition() with hop for overlapping windows. + But how to combine these again without overlapping? |