Re: [Denemo-devel] 29March version; keyboard "errors"

2018-10-21 Thread Richard Shann
On Thu, 2018-10-11 at 10:32 +0100, Richard Shann wrote:
> On Thu, 2018-04-19 at 06:45 -0500, Jeremiah Benham wrote:
> > Here is my script for building the appimage. In the comments you
> can
> > see my attempt at adding dependencies if anyone wants to continue
> > that work.
> 
> Well, it's been a long time - I set to work on it but got diverted -
> but at last here attached is my version of your script.
> It builds on Debian stable with all the needed dependencies) an
> AppImage for GNU/Linux which tests ok on a live distro USB stick (so,
> only standard minimal Denemo installation).
> I can't upload the binary right now because my broadband is down to
> 300Kb!

I have got my bandwidth back, at least for the moment and have uploaded

http://denemo.org/~rshann/denemo_2.2.9.AppImage

Which I hope will run Denemo on any Distro - I've only tested it so far
on a Live Debian Stable on a USB stick.
If anyone has a different Distro I would be very grateful if you could
download the AppImage, make it executable and run it to see if it runs
without problem on your system, and report back here. It's 87Mb because
of including many libraries that may be missing or wrong versions on
other Distros. If there are any more libraries that need to be included
they will be flagged up when you try to run the AppImage - send me the
details and I'll include them.

Richard


___
Denemo-devel mailing list
Denemo-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/denemo-devel


Re: [Denemo-devel] 29March version; keyboard "errors"

2018-10-11 Thread Richard Shann
On Thu, 2018-10-11 at 18:05 +0100, Richard Shann wrote:
> On Thu, 2018-10-11 at 10:32 +0100, Richard Shann wrote:
> > 
> > I did have to patch Denemo to take an environment variable so it
> > could
> > find the data directory. (This is in git now,
> 
> unfortunately, my git push had not succeeded and I didn't notice -
> I'll
> keep trying...

It's gone through now.
As soon as I get some broadband bandwidth back I'll down load some
other live distros and see if they run the binary I built.

 Also now in git is the swapping of the display and source windows'
positions.

Richard


___
Denemo-devel mailing list
Denemo-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/denemo-devel


Re: [Denemo-devel] 29March version; keyboard "errors"

2018-10-11 Thread Richard Shann
On Thu, 2018-10-11 at 10:32 +0100, Richard Shann wrote:
> 
> I did have to patch Denemo to take an environment variable so it
> could
> find the data directory. (This is in git now,

unfortunately, my git push had not succeeded and I didn't notice - I'll
keep trying...

Richard

___
Denemo-devel mailing list
Denemo-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/denemo-devel


Re: [Denemo-devel] 29March version; keyboard "errors"

2018-10-11 Thread Richard Shann
On Thu, 2018-04-19 at 06:45 -0500, Jeremiah Benham wrote:
> Here is my script for building the appimage. In the comments you can
> see my attempt at adding dependencies if anyone wants to continue
> that work.

Well, it's been a long time - I set to work on it but got diverted -
but at last here attached is my version of your script.
It builds on Debian stable with all the needed dependencies) an
AppImage for GNU/Linux which tests ok on a live distro USB stick (so,
only standard minimal Denemo installation).
I can't upload the binary right now because my broadband is down to
300Kb! The tricky bit was patching Evince so it finds the two backend
files it needs to display PDF.

I did have to patch Denemo to take an environment variable so it could
find the data directory. (This is in git now, you have to setenv
DENEMO_DATA_DIR to trigger it). I can't imagine why that is needed, as
we have binreloc enabled ...

The script is somewhat sensitive to the build environment - the current
Debian stable has ../evince/4/backends while earlier this was
different.

Once I can upload (or if you can build) the AppImage then we will have
something promising that people can try on CentOS etc.

I did also get the Windows mxe build going I think, but I haven't got
back to that yet. Right now I want to implement a feature to enable me
to switch the Denemo Display and the Denemo Source windows between
monitors (or to toggle which is in front if you only have one monitor)
as when I'm transcribing I want the original Source manuscript directly
in front of me and when I need to edit I need the Denemo Display window
on the main monitor. This way, I'll avoid getting a stiff neck :)


Richard


> 
> http://denemo.org/~jjbenham/AppImage/bundle_denemo.sh
> This requires the utility AppImageAssistant. You can find this on the
> web as an AppImage. 
> 
> Jeremiah
> 
> 
> On Wed, Apr 18, 2018 at 1:20 PM, Jeremiah Benham  l.com> wrote:
> > 
> > On Tue, Apr 17, 2018, 2:22 PM Richard Shann  > m> wrote:
> > > On Tue, 2018-04-17 at 18:59 +, Jeremiah Benham wrote:
> > > > I think xmlinit was installed on my system not through mxe. Did
> > > you
> > > > get the evince patches as well?
> > > 
> > > Ah, I see I really have no idea what is going on, but that
> > > worked, I
> > > installed xml2utils package on my Debian system and then it
> > > failed on
> > > itstool and I installed that and it built.
> > > 
> > > Thanks very much for guiding me through this maze.
> > > 
> > 
> > No problem.
> > 
> > > How are we situated for the other targets?
> > 
> > I built a snapshot for darwin and an appimage for linux. I tried
> > including an appimage the contained denemo with lilypond and all of
> > its dependencies but it did not work in a modern system. I soent
> > like an entire day on it and I don't have the time to do that
> > again. I have a script that builds it. The system needs to be able
> > to compile denemo and be old enough. I installed lubuntu 14.04 in
> > virtualbox to do this. I will give you the script I used when I get
> > a chance.
> > 
> > > I would like to get up to
> > > speed on building the AppImage binary too..
> > 
> > You can just read my script once I send it.
> > 
> > Jeremiah
> > > Richard
> > > 
> > > 
> 
> 

bundle_denemo.sh
Description: application/shellscript
___
Denemo-devel mailing list
Denemo-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/denemo-devel


Re: [Denemo-devel] 29March version; keyboard "errors"

2018-04-19 Thread Jeremiah Benham
Here is my script for building the appimage. In the comments you can see my
attempt at adding dependencies if anyone wants to continue that work.

http://denemo.org/~jjbenham/AppImage/bundle_denemo.sh
This requires the utility AppImageAssistant. You can find this on the web
as an AppImage.

Jeremiah


On Wed, Apr 18, 2018 at 1:20 PM, Jeremiah Benham 
wrote:

>
>
> On Tue, Apr 17, 2018, 2:22 PM Richard Shann 
> wrote:
>
>> On Tue, 2018-04-17 at 18:59 +, Jeremiah Benham wrote:
>> > I think xmlinit was installed on my system not through mxe. Did you
>> > get the evince patches as well?
>>
>> Ah, I see I really have no idea what is going on, but that worked, I
>> installed xml2utils package on my Debian system and then it failed on
>> itstool and I installed that and it built.
>>
>> Thanks very much for guiding me through this maze.
>>
>>
>> No problem.
>
> How are we situated for the other targets?
>
>
> I built a snapshot for darwin and an appimage for linux. I tried including
> an appimage the contained denemo with lilypond and all of its dependencies
> but it did not work in a modern system. I soent like an entire day on it
> and I don't have the time to do that again. I have a script that builds it.
> The system needs to be able to compile denemo and be old enough. I
> installed lubuntu 14.04 in virtualbox to do this. I will give you the
> script I used when I get a chance.
>
> I would like to get up to
>> speed on building the AppImage binary too..
>>
>
> You can just read my script once I send it.
>
> Jeremiah
>
>>
>> Richard
>>
>>
___
Denemo-devel mailing list
Denemo-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/denemo-devel


Re: [Denemo-devel] 29March version; keyboard "errors"

2018-04-10 Thread Richard Shann
On Mon, 2018-04-09 at 09:33 -0500, Jeremiah Benham wrote:
> > > Ok, as of last night's build I think I have all the keyboard
> > > shortcuts
> > > fixed for the windows version:
> > > 
> > > http://www.denemo.org/~jjbenham/mxe/denemo.zip
> > > 
> > > It is still popping up a Console, (like the old denemo-
> > > console.exe
> > > did). 
> > 
> > I put the -mwindows in the CFLAGS I wonder why it is still doing
> > that.
> > 
> 
> I have rebuilt this now placing -mwindows in AM_LDFLAGS like it was
> in gub. Let me know if that gets rid of the console.

Yes, that gets rid of the console, it is the linker that has to take
notice of -mwindows but it's surprising that gcc didn't pass it on.
I think everything is ok but have a lingering doubt about installation
on an entirely clean machine - on one test Denemo couldn't display the
fermata sign in the Denemo Display, seemingly because the emmentaler
font wasn't being accessed correctly. After running an older version
this went away, but if someone gets a chance to try the zip file at
their local library or other innocent machine and try to get the
fermata to show (or trill or other emmentaler glyphs) then that would
be good.
and, of course, any other problems there may be...

Richard


___
Denemo-devel mailing list
Denemo-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/denemo-devel


Re: [Denemo-devel] 29March version; keyboard "errors"

2018-04-09 Thread Jeremiah Benham
On Sat, Apr 7, 2018 at 10:33 PM, Jeremiah Benham 
wrote:

>
>
> On Sat, Apr 7, 2018, 10:20 AM Richard Shann 
> wrote:
>
>> On Mon, 2018-04-02 at 12:34 +0100, Richard Shann wrote:
>> > On Fri, 2018-03-30 at 13:42 +0100, Joe Wilkinson wrote:
>> > > Under Windows 10
>> > >
>> > > Tried using the keyboard/keypad a bit more.
>> > >
>> > > Keyboard 4 does not work.
>> >
>> > yes, that one has a currency symbol (euro) on a GB keyboard ...
>> >
>> > >
>> [...]
>> > Thanks for the feedback - I got the currency symbol problem out of
>> > the
>> > way, but Shift-A is now Shft-Aacute :(
>> >
>> > Still working on it...
>>
>> Ok, as of last night's build I think I have all the keyboard shortcuts
>> fixed for the windows version:
>>
>> http://www.denemo.org/~jjbenham/mxe/denemo.zip
>>
>> It is still popping up a Console, (like the old denemo-console.exe
>> did).
>
>
> I put the -mwindows in the CFLAGS I wonder why it is still doing that.
>

I have rebuilt this now placing -mwindows in AM_LDFLAGS like it was in gub.
Let me know if that gets rid of the console.

Jeremiah


>
> It will be good to create two versions, one with console debug
>> and no optimizer and the other with no console, no debug symbols and
>> the -O2 optimization turned on.
>>
>
> Ok. Let me think of how to do that. I could have two different .mk files
> maybe (one optimed the other for debug)
>
>
>> I should try to build the MXE version myself - I've forgotten all I
>> ever learned about it, but I guess if I wget http://www.denemo.org/~jjb
>> enham/mxe  I should be able to make
>> it go (?)
>>
>
> It would probably pull all the binaries and source files as well if you
> did that.
> I have been slowly adding changes upstream. They are still missing
> fluidsynth. You could clone mxe master and take my fluidsynth files from
> src/fluid* and src/denemo.mk. you would create a settings file to
> configure it to defsult to shared and not static. Also before denemo will
> build you will have to copy the librubberband and portmidi libs into your
> prefix/lib because for some reason they are being installed in prefix/bin.
> It is on my todo to fix these and push them upstream as well.
>
> Jeremiah
>
>>
>> Meanwhile, if anyone finds any keyboard shortcuts that are wrong, or
>> other problems with this version please report as we are getting close
>> to a releasable version.
>>
>> Richard
>>
>>
>> ___
>> Denemo-devel mailing list
>> Denemo-devel@gnu.org
>> https://lists.gnu.org/mailman/listinfo/denemo-devel
>>
>
___
Denemo-devel mailing list
Denemo-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/denemo-devel


Re: [Denemo-devel] 29March version; keyboard "errors"

2018-04-08 Thread Joe Wilkinson

Ok, as of last night's build I think I have all the keyboard shortcuts

fixed for the windows version:

http://www.denemo.org/~jjbenham/mxe/denemo.zip

It downloads & unzips fine


It is still popping up a Console, (like the old denemo-console.exe
did). It will be good to create two versions, one with console debug
and no optimizer and the other with no console, no debug symbols and
the -O2 optimization turned on.
Would be good. Some of the messages with the word "error" in them are 
VERY worrying!!


I should try to build the MXE version myself - I've forgotten all I
ever learned about it, but I guess if I wget http://www.denemo.org/~jjb
enham/mxe I should be able to make it go (?)

Meanwhile, if anyone finds any keyboard shortcuts that are wrong, or
other problems with this version please report as we are getting close
to a releasable version.

will do
Joe


Richard




___
Denemo-devel mailing list
Denemo-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/denemo-devel


Re: [Denemo-devel] 29March version; keyboard "errors"

2018-04-07 Thread Richard Shann
On Mon, 2018-04-02 at 12:34 +0100, Richard Shann wrote:
> On Fri, 2018-03-30 at 13:42 +0100, Joe Wilkinson wrote:
> > Under Windows 10
> > 
> > Tried using the keyboard/keypad a bit more.
> > 
> > Keyboard 4 does not work.
> 
> yes, that one has a currency symbol (euro) on a GB keyboard ...
> 
> > 
[...]
> Thanks for the feedback - I got the currency symbol problem out of
> the
> way, but Shift-A is now Shft-Aacute :(
> 
> Still working on it...

Ok, as of last night's build I think I have all the keyboard shortcuts
fixed for the windows version:

http://www.denemo.org/~jjbenham/mxe/denemo.zip

It is still popping up a Console, (like the old denemo-console.exe
did). It will be good to create two versions, one with console debug
and no optimizer and the other with no console, no debug symbols and
the -O2 optimization turned on.

I should try to build the MXE version myself - I've forgotten all I
ever learned about it, but I guess if I wget http://www.denemo.org/~jjb
enham/mxe I should be able to make it go (?)

Meanwhile, if anyone finds any keyboard shortcuts that are wrong, or
other problems with this version please report as we are getting close
to a releasable version.

Richard


___
Denemo-devel mailing list
Denemo-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/denemo-devel


Re: [Denemo-devel] 29March version; keyboard "errors"

2018-04-02 Thread Richard Shann
On Fri, 2018-03-30 at 13:42 +0100, Joe Wilkinson wrote:
> Under Windows 10
> 
> Tried using the keyboard/keypad a bit more.
> 
> Keyboard 4 does not work.
yes, that one has a currency symbol (euro) on a GB keyboard ...

>  5, 6 do. 7 and 8 create and extend slurs.
> 9 is a progressive "move back one note"
You're missing the point here, 7,8,9 are a system for entering slurs,
what 9 is doing is reducing the slur from the end, so you can create
and adjust slurs progressively as you work through a piece. The 9 is
only failing to do anything very useful because you weren't on the end
of a slur when you tried it.


> 
> Shift 0,1,2,3,5,6, change length of note. Shift 4 fails.
> 
> Keypad: Numlock on
> 
> 01234569 work as expected
> 7 has no effect

7 is the triplet rhythm creator, e.g. try 3 7 7 and you get a triplet
of quavers (the 3), with Control they are slurred. This is all for
entering rhythms rhythmically (three keypresses to enter a triplet).
9 should be creating a dotted rhythm (so 1 9 gives you a dotted-
minim+crotchet rhythm in two keypresses to match the number of notes in
the rhythm). 
 
> 8 seems to repeat the previous notes in the bar

yes, 8 fills out the bar with the rhythmic pattern so far, and KP_Enter
should repeat the last duration to fill out the bar, both of these
duplicate the bar if the bar is already full. Again these are for
entering rhythms quickly (but in this case, not rhythmically).
Unfortunately Windows Vista seems to intercept the Enter key on the
numeric keypad and turn it into the same as the Return key, so that is
not useful (but you could set the Return key to perform the
 Notes/Rests->Note Insertion->Fill Measure command if you were using
the numeric keypad to enter rhythms).

You may find it easier to figure out what is going on with your
keyboard by setting Edit->Change Preferences->Command Behavior->Show
Shortcuts Used which will then give you a running commentary on
everything Denemo thinks you are doing. And a quick way of turning that
on is to press Esc followed by some key that is *not* a shortcut.

Thanks for the feedback - I got the currency symbol problem out of the
way, but Shift-A is now Shft-Aacute :(

Still working on it...

Richard


___
Denemo-devel mailing list
Denemo-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/denemo-devel