30 Apr 2021

Frescobaldi on Bionic puppy

 Original packages on Bionic can't work. It can't find libguile.so.17.

I got latest one which version 2.22.1 from Lilypond's web site.

It works without any dependency packages.

But I had to remove /usr/bin/lilypond and make new /usr/bin/lilypond as soft linked one.

# cd /usr/bin/

# ln -s /usr/local/bin/lilypond /usr/bin/lilypond

Then, I downloaded latest Frescobaldi from its web site.

I made sfs file from its dependencies.

The followings are those:

  • libbrotli1_1.0.3-1ubuntu1.3_amd64.deb
  • libbrotli1_1.0.3-1ubuntu1_amd64.deb
  • libdb5.3_5.3.28-13.1ubuntu1.1_amd64.deb
  • libhyphen0_2.8.8-5_amd64.deb
  • libportmidi0_217-6_amd64.deb
  • libpython3-stdlib_3.6.7-1~18.04_amd64.deb
  • libpython3.6-minimal_3.6.9-1~18.04ubuntu1.4_amd64.deb
  • libpython3.6-stdlib_3.6.9-1~18.04ubuntu1.4_amd64.deb
  • libpython3.6_3.6.9-1~18.04ubuntu1.4_amd64.deb
  • libqt5designer5_5.9.5-0ubuntu1_amd64.deb
  • libqt5positioning5_5.9.5+dfsg-0ubuntu2_amd64.deb
  • libqt5qml5_5.9.5-0ubuntu1.1_amd64.deb
  • libqt5quick5_5.9.5-0ubuntu1.1_amd64.deb
  • libqt5sensors5_5.9.5-0ubuntu1_amd64.deb
  • libqt5webchannel5_5.9.5-0ubuntu1_amd64.deb
  • libqt5webkit5_5.212.0~alpha2-7ubuntu1_amd64.deb
  • libwoff1_1.0.2-1_amd64.deb
  • libwoff1_1.0.2-1build0.1_amd64.deb
  • mime-support_3.60ubuntu1_all.deb
  • python-pypm_0.0.7-8_amd64.deb
  • python3-ly_0.9.5-1_all.deb
  • python3-poppler-qt5_0.24.2-3build3_amd64.deb
  • python3-pyqt5.qtsvg_5.10.1+dfsg-1ubuntu2_amd64.deb
  • python3-pyqt5.qtwebkit_5.10.1+dfsg-1ubuntu2_amd64.deb
  • python3-pyqt5_5.10.1+dfsg-1ubuntu2_amd64.deb
  • python3-sip_4.19.7+dfsg-1ubuntu0.1_amd64.deb
  • python3.6-minimal_3.6.9-1~18.04ubuntu1.4_amd64.deb
  • python3.6_3.6.9-1~18.04ubuntu1.4_amd64.deb
  • python3_3.6.7-1~18.04_amd64.deb
  • tango-icon-theme_0.8.90-7_all.deb


I used pkg2sfs.sh to make sfs from them. we can find it on Puppy linux 日本語フォーラム.
# ls > list.txt
It's useful command to get file name in a directory.

  • python3-poppler-qt5_0.24.2-3build3_amd64.deb
  • python3-sip_4.19.7+dfsg-1ubuntu0.1_amd64.deb
These are needed one, but package manager don't pick them up.
  • libportmidi0_217-6_amd64.deb
I'm not sure whether this one is needed.

# cd work
# pkg2sfs.sh FrescobaldiDependencies.sfs ./*.deb

Then, it was moved under HOME and load it by Load on the fly.

Frescobaldi can be executed without installing.

# cd Frescobaldi-3.1.3
# python3 frescobaldi

SVG view can't work. A few packages are needed, I think.

######################################################
# Make SFS package
######################################################

# find / -name lilypond
/usr/local/bin/lilypond
/usr/local/lilypond
/usr/local/lilypond/license/lilypond
/usr/local/lilypond/usr/bin/lilypond
/usr/local/lilypond/usr/share/lilypond
/usr/bin/lilypond

# cd /tmp
# mkdir work

I copied those files and folders here.

# cd work
# pwd 
/tmp/work
# ls
usr

# cd /tmp
# mksquashfs work lilypond-2.22.1-1-x64.sfs

##############################################

# cd /tmp
# mkdir work2
# cd ./work2
# mkdir opt

# mv frescobaldi-3.1.3 /tmp/work2/opt/
# cd /tmp/work2/opt
# ln -s frescobaldi-3.1.3 frescobaldi

Make directories /tmp/work2/usr/local/bin
# cd /tmp/work2/usr/local/bin
# touch frescobaldi

Write the following 2 lines.

#! /bin/sh
python3 /opt/frescobaldi/frescobaldi

# chmod 747 frescobaldi

# cd /tmp/work2

# mksquashfs work2 frescobaldi-3.1.3-x64.sfs


We can combinate Dependencies and frescobaldi.

# unsquashfs FrescobaldiDependencies.sfs

# ls 

# squashfs-root

put frescobaldi's files into there.

# mksquashfs squashfs-root frescobaldi-3.1.3-x64+python3.sfs

##################################################

Here, link those packages:

##################################################

MIDI setting


See: