Package: sonic-pi / 3.2.2~repack-7

Metadata

Package Version Patches format
sonic-pi 3.2.2~repack-7 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
03 use debian gems.patch | (download)

app/server/ruby/core.rb | 51 0 + 51 - 0 !
1 file changed, 51 deletions(-)

 use debian gems instead of upstream's embedded code copies
 Upstream ships Sonic Pi for Win, OS X and Raspbian and distributes all
 gems needed by the ruby server within the app/server/vendor/ directory
 in the source tarball. Debian wants packagers not to use these embedded
 code copies, but to use Debian's packaged ruby gems instead. This
 patch removes the code that added the vendor/ directory to the ruby
 library path. Do note that many of the gems provided by upstream
 aren't actually used in Sonic Pi, see
 <URL: https://github.com/samaaron/sonic-pi/issues/928> for details.
04 rename ruby beautify legacy.patch | (download)

app/server/ruby/lib/sonicpi/runtime.rb | 4 2 + 2 - 0 !
app/server/ruby/vendor/ruby-beautify/lib/ruby-beautify.rb | 24 12 + 12 - 0 !
app/server/ruby/vendor/ruby-beautify/lib/ruby-beautify/block_end.rb | 2 1 + 1 - 0 !
app/server/ruby/vendor/ruby-beautify/lib/ruby-beautify/block_matcher.rb | 4 2 + 2 - 0 !
app/server/ruby/vendor/ruby-beautify/lib/ruby-beautify/block_start.rb | 6 3 + 3 - 0 !
app/server/ruby/vendor/ruby-beautify/lib/ruby-beautify/config/ruby.rb | 4 2 + 2 - 0 !
app/server/ruby/vendor/ruby-beautify/lib/ruby-beautify/language.rb | 2 1 + 1 - 0 !
app/server/ruby/vendor/ruby-beautify/lib/ruby-beautify/line.rb | 2 1 + 1 - 0 !
app/server/ruby/vendor/ruby-beautify/lib/ruby-beautify/version.rb | 2 1 + 1 - 0 !
9 files changed, 25 insertions(+), 25 deletions(-)

 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
05 doc base index.patch | (download)

app/server/ruby/bin/qt-doc.rb | 12 11 + 1 - 0 !
1 file changed, 11 insertions(+), 1 deletion(-)

 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.
06 paths.patch | (download)

app/server/ruby/core.rb | 2 1 + 1 - 0 !
app/server/ruby/lib/sonicpi/util.rb | 8 4 + 4 - 0 !
2 files changed, 5 insertions(+), 5 deletions(-)

 update file locations for debian packaging
07 examples path.patch | (download)

app/gui/qt/mainwindow.cpp | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 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. 
08 frozen string.patch | (download)

app/gui/qt/mainwindow.cpp | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 ruby fails to start with frozen strings
09 qtscintilla2.patch | (download)

app/gui/qt/CMakeLists.txt | 5 1 + 4 - 0 !
1 file changed, 1 insertion(+), 4 deletions(-)

 build using qscintilla from packages
10 reproducible.patch | (download)

app/server/ruby/bin/qt-doc.rb | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 make examples reproducible by sorting by filename
11 verbose build.patch | (download)

app/gui/qt/CMakeLists.txt | 1 1 + 0 - 0 !
1 file changed, 1 insertion(+)

 make build verbose for blhc check to work
12 tutorial language.patch | (download)

etc/doc/lang/sonic-pi-tutorial-zh-Hans.po | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 fix tutorial language name for debian-i18n
 gettext: etc/doc/lang/sonic-pi-tutorial-zh-Hans.po: can't guess language