Am 07.01.2018 um 07:43 schrieb Blöchl
Bernhard:
I
planned to try the installation following the new description
Satureday evening
https://github.com/wbsoft/frescobaldi/wiki/Installing-Frescobaldi-3-on-Linux-(Package-or-Source)
but had some drinks with friends in the evening ...
I just read the description and found:
Note: As the desktop file will not read the PYTHONPATH environment
variable defined in .bashrc, the easiest solution is installing
python-ly through the package manager (it should be called
python3-ly in most distributions); or pip (sudo pip3 install
python-ly), in case you need the latest version.
I don't know how this can still be on that page, I was *sure* that I
had already removed it. Arrgh.
I installed frescobaldi 2 and 3 repeatedly and as I remember both
imperatively need python-ly version 0.9.5. The actual ubuntu
distribution repositories provide python-ly version 0.9.3-1. That
does not work!
To avoid trouble I would recommend to cancel "installing python-ly
through the package manager" because python-ly version 0.9.3-1
provided by the package manager does not work!
Of course! It explicitly contradicts what is written earlier on:
"the dependencies should be installed through the distribution
packages and not through Pip "
I'll try to find the time today to fix it ...
Urs
Regards
BB
Am 07.01.2018 01:10, schrieb Urs Liska:
Am 7. Januar 2018 00:56:53 MEZ schrieb
Simon Albrecht <address@hidden>:
Hi Urs,
I did now test the instructions on an Ubuntu 16.04 Live
system, and it
seems to work (Frescobaldi is up and running; I didn't test
any of the
features). There's one typo: popller->poppler. My first
question would
be: what solution to using a .desktop file and still use the
correct
python-ly, but IIUC that's already covered by your TODO list.
I'm a bit surprised because I *did* write this but now I don't
see it
on the wiki page. Well, I will look at it again tomorrow.
The solution is to create a wrapper script In your path (e.g.
~/bin/frescobaldi) that takes care of the python path. The
desktop
file points to the wrapper script.
Urs
Another
item to be covered would be configuring MIDI output. I
remember that on
one of the attempts that I made to install I also tried to set
up
python-portmidi following http://frescobaldi.org/download, but
that
seemed to be a new can of worms and I couldn't get it to work
(didn't
dig deep either). Best, Simon
Am 06-Jan-2018 15:19:32 +0100 schrieb address@hidden:
I have now finished a run-through of installation
instructions. As I
have once more renamed it the link is now
https://github.com/wbsoft/frescobaldi/wiki/Installing-Frescobaldi-3-on-Linux-(Package-or-Source)
I'd be glad about feedback:
* confirmation
* questions
* reports about mistakes
* reports about failures
* reports/comments about distributions not covered yet.
Urs
6. Januar 2018 11:41, address@hidden schrieb:
> Hi all,
>
after all the discussion about getting
Frescobaldi to run on
distributions based on Ubuntu < 17.xx
> I decided to give it a shot myself.
>
TL;DR Frescobaldi *can* be installed
on Ubuntu 16.04/Mint 18.3 from
its own Git repositories and
> the Ubuntu package repositories without issues.
>
> Context/Situation:
> I freshly installed Linux Mint 18.3.
(NOTE: I use a previously existing
$HOME directory, but I'm quite
sure this doesn't affect the
> process)
Mint 18.3 is based on Ubuntu 16.04
(Mint 19 will be based on Ubuntu
18.04, the next LTS release),
and the relevant packages are from the
Ubuntu repositories (so no
Mint specifics added), which
> means I assume the behaviour on vanilla Ubuntu 16.04 is
the same.
>
> Commented installation steps:
>
> # Make sure everything is up-to-date
> sudo apt update && sudo apt upgrade
>
> sudo apt install git
>
> # Install Frescobaldi's primary dependencies
sudo apt install python3-pyqt5
python3-pyqt5.qtsvg
python3-pyqt5.qtwebkit
>
> # Obtain the Git repositories
# (I *assume* these could instead be
downloaded from Github as ZIP
files)
> cd ~
mkdir git # this is just my personal
base directory for Git
repositories
> cd git
> git clone https://github.com/wbsoft/python-ly.git
python-ly
> git clone https://github.com/wbsoft/frescobaldi.git
frescobaldi
>
First try to run Frescobaldi: Invoke
python3 with the frescobaldi
entry file and add python-ly to
> the Python search path:
>
PYTHONPATH=$PYTHONPATH:~/git/python-ly
python3
~/git/frescobaldi/frescobaldi
>
Frescobaldi correctly starts up, but
(expectedly) doesn't show the
Music View because the Poppler
> package isn't installed.
>
> # Install the Poppler bindings from the Ubuntu
repositories
> sudo apt install python3-poppler-qt5
>
After that Frescobaldi correctly
starts and shows scores both in the
Music View and in the SVG
> View.
>
Knowing this one could have installed
all dependencies with one
single
>
sudo apt install python3-pyqt5
python3-pyqt5.qtsvg
python3-pyqt5.qtwebkit python3-poppler-qt5
>
> ###
>
I don't know enough about this and I
can't investigate on a "broken"
computer, but I have a
> suspicion.
The issue is that we have Qt, an
application framework written in
C++. Frescobaldi is written in
PyQt, which is a set of Qt "bindings"
for Python, so Python programs
can use the Qt infrastructure.
>
The point is that all bindings
packages (which includes the general
PyQt infrastructure and the
custom bindings for the Poppler
library that is used to display PDF
documents) have to be "compiled
against" and with the exact versions
of Qt and Python that are
installed on the system.
Generally this is an aspect that
should be taken care of by a Linux
distribution's package
management system, and my latest try
indicates that this works
correctly with Ubuntu 16.04 (by
> now?).
>
My suspicion is that when using pip
(or pip3) for installing the
Python packages these relations
are in some way incorrect, maybe they
interfere with packages
installed through APT.
Similarly, when using the setup.py
script in the Frescobaldi
installation directory things seem not
> to work correctly.
Finally it is maybe not clear enough
in the instructions that
*everything* (i.e. Ubuntu packages
> and pip) have to be used in their python3 versions.
>
So my final recommendation is: Use
Ubuntu's packages and install
everything through APT, and avoid
> pip3 or setup.py.
>
> I will update the Wiki page
(https://github.com/wbsoft/frescobaldi/wiki/Installing-Frescobaldi-3-on-Linux-(package-source),
note that I have renamed it) and try
to make everything as clear as
possible. But I wanted to share
this result and encourage people using
Ubuntu 16.04 to test and
verify it.
>
> Best
> Urs
>
> _______________________________________________
> lilypond-user mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/lilypond-user
_______________________________________________
lilypond-user mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user
_______________________________________________
lilypond-user mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user
_______________________________________________
lilypond-user mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user
|