Re: New information (success report) for Frescobaldi 3 and the Ubuntu 16.04 repositories

2018-01-14 Thread Vaughan McAlley
On 15 January 2018 at 07:58, Urs Liska  wrote:

>
>
> Am 11. Januar 2018 05:38:29 MEZ schrieb Vaughan McAlley <
> vaug...@mcalley.net.au>:
> >On 8 Jan 2018 12:35 p.m., "Andrew Bernard" 
> >wrote:
> >
> >Hi Urs and All,
> >
> >A totally successful install on a new Ubuntu 17.10 pristine image. All
> >works fine as per the source installations now updated.
> >
> >A large vote of thanks to all who untangled this ball of wool. Despite
> >a
> >lifetime of software development experience, I kept going round in
> >circles
> >and never got it working. A big achievement and well done to you all.
> >
> >Andrew
> >
> >
> >
> >On 7 January 2018 at 20:38, Urs Liska  wrote:
> >
> >> I've done a new iteration on the Wiki page. I've also added a concise
> >> walkthrough at the end that leaves out all the explanations and
> >>
> >
> >___
> >lilypond-user mailing list
> >lilypond-user@gnu.org
> >https://lists.gnu.org/mailman/listinfo/lilypond-user
> >
> >
> >It's good to know it's possible. Does anyone know whether a failed
> >installation of Frescobaldi 3 endangers a working 2.20 installation?
> >
> >Vaughan
>
> More concrete information: it is perfectly possible to install both F2 and
> F3 side by side -wherever the necessary packages are available. All Ubuntus
> since 16.04, and Debian 8-9. Debian 10 doesn't support F2 anymore.
>
> I'll update the F2 wiki ASAP, although I don't consider supporting F2 a
> priority.
>
> Urs
>

Thanks Urs. As it turned out, I looked up my Debian version and realised
that Debian 9 was now stable. So I upgraded, not as carefully as I should
have, and got a non-booting version of Debian 9. It looked easier to
reinstall Debian 9, so after I did that
> sudo aptitude install frescobaldi
...installed Frescobaldi 3 flawlessly. So no need for Frescobaldi 2.But you
would only ever need one at a time.

Also, with a non-booting system, I spent some time on the Fedora partition
I use for testing. Frescobaldi 3 installed easily that too. So it seems
easy enough on “fresh” systems.

I have had similar problems to Andrew with VLC. After trying to install
some unusual codec or something I got stuck in an incompatible dependency
vortex that I couldn’t escape from. Not fun.

Vaughan
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: New information (success report) for Frescobaldi 3 and the Ubuntu 16.04 repositories

2018-01-14 Thread Urs Liska


Am 11. Januar 2018 05:38:29 MEZ schrieb Vaughan McAlley 
:
>On 8 Jan 2018 12:35 p.m., "Andrew Bernard" 
>wrote:
>
>Hi Urs and All,
>
>A totally successful install on a new Ubuntu 17.10 pristine image. All
>works fine as per the source installations now updated.
>
>A large vote of thanks to all who untangled this ball of wool. Despite
>a
>lifetime of software development experience, I kept going round in
>circles
>and never got it working. A big achievement and well done to you all.
>
>Andrew
>
>
>
>On 7 January 2018 at 20:38, Urs Liska  wrote:
>
>> I've done a new iteration on the Wiki page. I've also added a concise
>> walkthrough at the end that leaves out all the explanations and
>>
>
>___
>lilypond-user mailing list
>lilypond-user@gnu.org
>https://lists.gnu.org/mailman/listinfo/lilypond-user
>
>
>It's good to know it's possible. Does anyone know whether a failed
>installation of Frescobaldi 3 endangers a working 2.20 installation?
>
>Vaughan

More concrete information: it is perfectly possible to install both F2 and F3 
side by side -wherever the necessary packages are available. All Ubuntus since 
16.04, and Debian 8-9. Debian 10 doesn't support F2 anymore. 

I'll update the F2 wiki ASAP, although I don't consider supporting F2 a 
priority. 

Urs

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: New information (success report) for Frescobaldi 3 and the Ubuntu 16.04 repositories

2018-01-11 Thread Blöchl Bernhard

Am 11.01.2018 07:40, schrieb Urs Liska:

Am 11.01.2018 um 05:38 schrieb Vaughan McAlley:


On 8 Jan 2018 12:35 p.m., "Andrew Bernard"
 wrote:

Hi Urs and All,

A totally successful install on a new Ubuntu 17.10 pristine image.
All works fine as per the source installations now updated.

A large vote of thanks to all who untangled this ball of wool.
Despite a lifetime of software development experience, I kept going
round in circles and never got it working. A big achievement and
well done to you all.

Andrew

On 7 January 2018 at 20:38, Urs Liska  wrote:

I've done a new iteration on the Wiki page. I've also added a
concise walkthrough at the end that leaves out all the explanations
and 

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user [1]


It's good to know it's possible. Does anyone know whether a failed
installation of Frescobaldi 3 endangers a working 2.20 installation?


I have installed frescobaldi3 successful on 16.04.2-Ubuntu.On this and 
some other computers (16.04, 17.04, 17.10) i previously installed 
frescobaldi2 following installing python-ly version 0.9.5. (As was 
pointed out repeatedly the ubuntu repository version is 0.9.3 - to old 
for both frescobaldi 2 and 3!)You can check the version

~/frescobaldi-2.20.0 $ ly -v
ly 0.9.5

Python-ly 0.9.5 is one importand precondition for the installation of 
both frescobaldi versions.


Due to this mail I tried to start frescobaldi2
~/frescobaldi-2.20.0 $ python frescobaldi
and get the message that python ly is mising or to to old
In German
"Das Paket python-ly ist nicht verfügbar oder zu alt.
Frescobaldi benötigt mindestens Version 0.9.4."
I reported this message to github in the past. I installed python-ly 
0.95 from source and as shown above it is available on the system. I 
reported a problem in installing both frescobaldi versions in the past 
as well. Because of the lot of troubles with installing frescobaldi3 
that quirk went missing.


It is not clear for me if frescobaldi2 installs with python.ly 0.9.4 and 
dislikes 0.9.5? In the moment I am on another computer without access to 
the others and cannot check the ly version of the running frecobaldi2.


May be the frescobaldi versions are antagonistic. (THere had been such a 
case in the past, wasnt it Kain and Abel?)




 It *should* not, but of course that's a risky statement in the
context of this thread ;-)

 The packages don't affect each other, the point is to cleanly invoke
the right Python version with the right entry file and the right
python-ly in the pythonpath.

 How did you install 2.20 and what OS distribution are you on?

 Urs


Vaughan

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user [1]




Links:
--
[1] https://lists.gnu.org/mailman/listinfo/lilypond-user

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: New information (success report) for Frescobaldi 3 and the Ubuntu 16.04 repositories

2018-01-10 Thread Urs Liska



Am 11.01.2018 um 05:38 schrieb Vaughan McAlley:
On 8 Jan 2018 12:35 p.m., "Andrew Bernard" > wrote:


Hi Urs and All,

A totally successful install on a new Ubuntu 17.10 pristine image.
All works fine as per the source installations now updated.

A large vote of thanks to all who untangled this ball of wool.
Despite a lifetime of software development experience, I kept
going round in circles and never got it working. A big achievement
and well done to you all.

Andrew



On 7 January 2018 at 20:38, Urs Liska > wrote:

I've done a new iteration on the Wiki page. I've also added a
concise walkthrough at the end that leaves out all the
explanations and


___
lilypond-user mailing list
lilypond-user@gnu.org 
https://lists.gnu.org/mailman/listinfo/lilypond-user



It's good to know it's possible. Does anyone know whether a failed 
installation of Frescobaldi 3 endangers a working 2.20 installation?


It *should* not, but of course that's a risky statement in the context 
of this thread ;-)


The packages don't affect each other, the point is to cleanly invoke the 
right Python version with the right entry file and the right python-ly 
in the pythonpath.


How did you install 2.20 and what OS distribution are you on?

Urs



Vaughan



___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: New information (success report) for Frescobaldi 3 and the Ubuntu 16.04 repositories

2018-01-10 Thread Vaughan McAlley
On 8 Jan 2018 12:35 p.m., "Andrew Bernard"  wrote:

Hi Urs and All,

A totally successful install on a new Ubuntu 17.10 pristine image. All
works fine as per the source installations now updated.

A large vote of thanks to all who untangled this ball of wool. Despite a
lifetime of software development experience, I kept going round in circles
and never got it working. A big achievement and well done to you all.

Andrew



On 7 January 2018 at 20:38, Urs Liska  wrote:

> I've done a new iteration on the Wiki page. I've also added a concise
> walkthrough at the end that leaves out all the explanations and
>

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


It's good to know it's possible. Does anyone know whether a failed
installation of Frescobaldi 3 endangers a working 2.20 installation?

Vaughan
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: New information (success report) for Frescobaldi 3 and the Ubuntu 16.04 repositories

2018-01-07 Thread Andrew Bernard
Hi Urs and All,

A totally successful install on a new Ubuntu 17.10 pristine image. All
works fine as per the source installations now updated.

A large vote of thanks to all who untangled this ball of wool. Despite a
lifetime of software development experience, I kept going round in circles
and never got it working. A big achievement and well done to you all.

Andrew



On 7 January 2018 at 20:38, Urs Liska  wrote:

> I've done a new iteration on the Wiki page. I've also added a concise
> walkthrough at the end that leaves out all the explanations and
>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: New information (success report) for Frescobaldi 3 and the Ubuntu 16.04 repositories

2018-01-07 Thread Urs Liska
I've done a new iteration on the Wiki page. I've also added a concise 
walkthrough at the end that leaves out all the explanations and 
considerations, so it's easier to get an impression what has actually to 
be done.


Best
Urs


Am 07.01.2018 um 09:18 schrieb Urs Liska:




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 
:

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 li...@openlilylib.org:
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, li...@openlilylib.org 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 

Re: New information (success report) for Frescobaldi 3 and the Ubuntu 16.04 repositories

2018-01-07 Thread Urs Liska



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 
:

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 li...@openlilylib.org:
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, li...@openlilylib.org 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 

Re: New information (success report) for Frescobaldi 3 and the Ubuntu 16.04 repositories

2018-01-06 Thread 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 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!


Regards BB


Am 07.01.2018 01:10, schrieb Urs Liska:
Am 7. Januar 2018 00:56:53 MEZ schrieb Simon Albrecht 
:

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 li...@openlilylib.org:
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, li...@openlilylib.org 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 

Re: New information (success report) for Frescobaldi 3 and the Ubuntu 16.04 repositories

2018-01-06 Thread Urs Liska


Am 7. Januar 2018 00:56:53 MEZ schrieb Simon Albrecht :
>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 li...@openlilylib.org: 
>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, li...@openlilylib.org 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

Re: New information (success report) for Frescobaldi 3 and the Ubuntu 16.04 repositories

2018-01-06 Thread Simon Albrecht
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. 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 li...@openlilylib.org: 
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, li...@openlilylib.org 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 

Re: New information (success report) for Frescobaldi 3 and the Ubuntu 16.04 repositories

2018-01-06 Thread Simon Albrecht
Hi Urs,
   thanks a lot, this sounds good. I'll try it when I'll have fixed my Ubuntu 
16.04   Best, Simon 

 Am 06-Jan-2018 11:40:55 +0100 schrieb li...@openlilylib.org: 
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
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: New information (success report) for Frescobaldi 3 and the Ubuntu 16.04 repositories

2018-01-06 Thread lists
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, li...@openlilylib.org 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
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


New information (success report) for Frescobaldi 3 and the Ubuntu 16.04 repositories

2018-01-06 Thread lists
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
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user