Debian Patches
Status for sonic-pi/4.6.0~repack3-2
| Patch | Description | Author | Forwarded | Bugs | Origin | Last update |
|---|---|---|---|---|---|---|
| 04-rename-ruby-beautify-legacy.patch | Use legacy version 0.92.2 of ruby-beautify gem Sonic Pi wants the version 0.92.2 of the ruby-beautify gem. However, that gem has seen a total rewrite since that version. The current version 0.97.4 is now a different software with a different API and different behaviour under the same package name. The Debian version of the gem is that new and updated gem. To address this and to avoid name space issues, this patch renames the old version to "legacy" and installs it in /usr/lib/sonic-pi/server/ruby/vendor/ <URL: https://github.com/samaaron/sonic-pi/pull/943> <URL: https://github.com/samaaron/sonic-pi/issues/928> |
Hanno Zulla <kontakt@hanno.de> | not-needed | 2016-02-04 | ||
| 05-doc-base-index.patch | create index file per Debian doc-base requirements Debian wants packagers to use doc-base and doc-base requires an index file for HTML documents. |
Hanno Zulla <kontakt@hanno.de> | not-needed | 2016-02-11 | ||
| 06-paths.patch | Update file locations for Debian packaging | Valentin Vidic <vvidic@debian.org> | not-needed | 2025-06-07 | ||
| 07-examples-path.patch | add missing examples/ dir in Debian package As described in this bug report <URL: https://github.com/samaaron/sonic-pi/issues/1229>, the Debian package for Sonic Pi 2.10.0 was missing the examples/ directory during installation. |
Hanno Zulla <kontakt@hanno.de> | not-needed | 2016-05-17 | ||
| 11-verbose-build.patch | make build verbose for blhc check to work | Valentin Vidic <vvidic@debian.org> | no | 2020-10-17 | ||
| 12-tutorial-language.patch | fix tutorial language name for debian-i18n gettext: etc/doc/lang/sonic-pi-tutorial-zh-Hans.po: can't guess language | Valentin Vidic <vvidic@debian.org> | no | 2020-10-17 | ||
| 14-update-ruby-mocha.patch | update Ruby Mocha/Minitest compatibility in tests Replace deprecated require 'mocha/setup' with require 'mocha/minitest'. Fix test_sound.rb for Minitest 6 where stub() no longer works with methods added via extend(); use Mocha's stubs().returns() instead. Erich Eickmeyer <eeickmeyer@ubuntu.com> |
Valentin Vidic <vvidic@debian.org> | no | 2026-06-17 | ||
| 15-use-system-libs.patch | use system libraries | Valentin Vidic <vvidic@debian.org> | no | 2026-05-17 | ||
| 17-disable-midi-for-tests.patch | Allow disabling MIDI support in tests Test container does not have ALSA hardware so Tau fails to start. | Valentin Vidic <vvidic@debian.org> | no | 2025-06-07 | ||
| 18-fix-ruby-test.patch | remove verbose flag from Rake::TestTask The -v flag added by verbose=true causes test to fail with error: rake_test_loader: version unknown |
Valentin Vidic <vvidic@debian.org> | no | 2026-05-11 | ||
| 19-fix-build-hardening.patch | propagate compiler flags to external builds | Valentin Vidic <vvidic@debian.org> | no | 2026-05-11 | ||
| 20-fix-elixir-reproducible-build.patch | Fix non-deterministic Elixir compilation for reproducible builds 1. Phoenix.LiveDashboard.Helpers compiles a regex literal with named captures at compile time via ~r//. The PCRE compiler leaves padding bytes between the name table and compiled code uninitialised, so the embedded re_pattern binary differs between builds. Move compilation to runtime via Regex.compile!/1 so no PCRE bytecode is stored as a BEAM literal. 2. Phoenix.Router.session_vsn/1 embeds System.system_time() as a module attribute at compile time, writing the build timestamp into the BEAM file. Replace with SOURCE_DATE_EPOCH from the environment when set (standard reproducible-builds timestamp), falling back to System.system_time(). 3. Phoenix.LiveView.Engine uses Macro.unique_var/2 for comprehension variables, which relies on a global ETS counter that varies with parallel compilation order. The generated variable name appears in the Dbgi chunk AST, changing the FunT uniq hash and Code chunk. Replace with Macro.var/2 using the template fingerprint (a deterministic MD5-based content hash) as the variable name. |
Valentin Vidic <vvidic@debian.org> | no | |||
| 21-debug-link-nif.patch | Log a warning when Link or MIDI NIF fails to load Without this, a missing library dependency causing NIF load failure is silently discarded and the server falls back to stub functions with incorrect behaviour that is hard to diagnose. |
Valentin Vidic <vvidic@debian.org> | no | 2026-05-18 |
All known versions for source package 'sonic-pi'
- 4.6.0~repack3-2 (sid)
- 3.2.2~repack-12.1 (forky)
- 3.2.2~repack-12 (trixie)
- 3.2.2~repack-8 (bookworm)
