denemo-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: getting ready for Denemo 2.6 flatpak


From: Richard Shann
Subject: Re: getting ready for Denemo 2.6 flatpak
Date: Wed, 14 Dec 2022 15:35:06 +0000
User-agent: Evolution 3.38.3-1

On Mon, 2022-12-12 at 22:25 +0100, Federico Bruni wrote:
> Hi Richard
> 
> Version 2.6.0 was updated last march:
> https://github.com/flathub/org.denemo.Denemo/pull/1
> 
> I guess you should run `flatpak update` to get the latest version.
Hmm, I tried flatpak update and got error messages and the version
stayed the same (I'm running Debian Bullseye under Mate desktop). The
flatpak update gave:
8>< 8>< 8>< 8>< 8>< 8>< 8>< 8>< 8>< 8>< 8>< 8>< 8>< 8>< 8>< 8>< 
flatpak update
Looking for updates…
Info: org.kde.Platform.Locale//5.15 is end-of-life, with reason:
   We strongly recommend moving to the latest stable version of the
Plaform and SDK
Info: org.gnome.Platform//41 is end-of-life, with reason:
   The GNOME 41 runtime is no longer supported as of September 17,
2022. Please ask your application developer to migrate to a supported
platform.
Applications using this runtime:
   com.github.amikha1lov.RecApp
Info: (pinned) org.gnome.Platform.Locale//40 is end-of-life, with
reason:
   The GNOME 40 runtime is no longer supported as of March 21, 2022.
Please ask your application developer to migrate to a supported
platform.
Info: (pinned) org.freedesktop.Platform//20.08 is end-of-life, with
reason:
   org.freedesktop.Platform 20.08 is no longer receiving fixes and
security updates. Please update to a supported runtime version.
error: No such ref 'runtime/org.denemo.Denemo.Locale/x86_64/test' in
remote org.denemo.Denemo-origin

8>< 8>< 8>< 8>< 8>< 8>< 8>< 8>< 8>< 8>< 8>< 8>< 8>< 8>< 8>< 8>< 
> 
> 
> So libatril allows to have point-and-click in Denemo? I didn't know 
> about this feature. And I don't see any error in the terminal when I 
> click on the notes in the Print View.
Yes, it no signal is received - when you you hover on a note the hand
cursor appears but libevince fails to pop up the details of the link it
has found.

> Also, I don't see atril mentioned here:
> http://denemo.org/hacking-sources/
> 
> It's not even present in Fedora spec file:
> https://src.fedoraproject.org/rpms/denemo/blob/rawhide/f/denemo.spec
> 
> so the regular RPM package has the same problem. And I guess this is 
> also the case for .deb packages.

yes, I'm afraid so...

> 
> I see that Atril is a fork of Evince made by the Mate project.

and in consequence I've been expecting libatril to start failing at
some point if it follows libevince.

> Do you really need this? Can't you achieve the same feature using 
> Poppler? For example, Frescobaldi viewer is based on Poppler and I 
> _think_ that point-and-click is built around it.

I suspect that poppler might have been a wiser choice for PDF rendering
though Denemo does also use libevince to render SVG output from
LilyPond (in the Playback View). But as there is about 4k lines of code
using EvView in Denemo switching would be no small task :(
If it were easier to communicate with the Evince developers it would
help...

Thanks for your speedy reply.

Richard



>     
> https://github.com/frescobaldi/frescobaldi/blob/92ad12137135b1693f6041567c81d2fa0f4ecf28/frescobaldi_app/musicview/pointandclick.py
> 
> 
> Il giorno lun 12 dic 2022 alle 10:41:44 +0000, Richard Shann 
> <richard@rshann.plus.com> ha scritto:
> > I was wondering what the situation is now with flatpak - when I
> > tried
> > just now I got release 2.5.0 which seems to be using libevince
> > instead
> > of libatril (the symptom being that the lilypond links in the Print
> > View do not work).
> > Richard
> > 
> > On Mon, 2022-01-24 at 22:59 +0100, Federico Bruni wrote:
> > >  I don't think it's a good idea.
> > >  ./autogen.sh is run by everyone any time you want to build the
> > >  binary.
> > >  But we want a target to be run only when really needed.
> > >  If an autotools solution can't be found, you can use a dedicated
> > >  script
> > >  (release.sh) just to save the commands to be run before a new
> > >  release.
> > > 
> > > 
> > > 
> > >  On Mon, Jan 24 2022 at 10:21:37 -0600, Jeremiah Benham
> > >  <jeremiahbenham@gmail.com> wrote:
> > >  > Can we place the commands in autogen.sh?
> > >  >
> > >  > Jeremiah
> > >  >
> > >  > On Thu, Jan 20, 2022, 9:58 AM Richard Shann
> > >  > <richard@rshann.plus.com>
> > >  > wrote:
> > >  > > On Thu, 2022-01-20 at 11:38 +0100, Federico Bruni wrote:
> > >  > >  >
> > >  > >  >
> > >  > >  > Il giorno gio 20 gen 2022 alle 09:33:14 +0000, Richard
> > > Shann
> > >  > >  > <richard@rshann.plus.com> ha scritto:
> > >  > >  > > On Wed, 2022-01-19 at 11:18 -0600, Jeremiah Benham
> > > wrote:
> > >  > >  > > >  Richard,
> > >  > >  > > >  I am not seeing his comment in the git logs.
> > >  > >  > >
> > >  > >  > > Sorry, this is my mistake - there is some git patch
> > > command
> > >  > > I
> > >  > >  > > should
> > >  > >  > > have used to transfer the comment; the comment is this:
> > >  > >  > >
> > >  > >  > > "Something like this should be integrated in the
> > >  > > Makefile.am:
> > >  > >  > >
> > >  > >  > > news-to-metainfo-releases:
> > >  > >  > >         @cd $(builddir) &&
> > >  > >  > >         appstreamcli news-to-metainfo --limit=6
> > >  > > $(srcdir)/NEWS
> > >  > > \\
> > >  > >  > >         org.denemo.Denemo.appdata.xml
> > >  > > org.denemo.Denemo.appdata.xml
> > >  > >  > > "
> > >  > >  > >
> > >  > >  > > >   I am a little confused
> > >  > >  > > >  about what needs to be done in autotools. What needs
> > > to
> > >  > > happen?
> > >  > >  > >
> > >  > >  > > I'm not up to speed on this desktop configuration stuff
> > > -
> > >  > > I'll
> > >  > > send
> > >  > >  > > this to Federico and he'll be able to explain.
> > >  > >  > >
> > >  > >  > > Richard
> > >  > >  > >
> > >  > >  > >
> > >  > >  > >
> > >  > >  > > >  He
> > >  > >  > > >  said he wants to make a target. Does he want it to
> > > be
> > >  > > installed
> > >  > >  > > > or
> > >  > >  > > > is
> > >  > >  > > >  there some processing that needs to happen before
> > >  > > something
> > >  > > gets
> > >  > >  > > >  installed. Is it processed before build time or
> > > during
> > >  > > install?
> > >  > >  > > > I am
> > >  > >  > > >  a
> > >  > >  > > >  little confused. Is it this:
> > >  > >  > > >  @cd $(builddir) &&
> > >  > >  > > >      appstreamcli news-to-metainfo --limit=6
> > >  > > $(srcdir)/NEWS \\
> > >  > >  > > >      org.denemo.Denemo.appdata.xml
> > >  > > org.denemo.Denemo.appdata.xml
> > >  > >  > > >
> > >  > >  > > >  Thanks,
> > >  > >  > > >  Jeremiah
> > >  > >  > > >
> > >  > >  >
> > >  > >  >
> > >  > >  > Hi Jeremiah
> > >  > >  >
> > >  > >  > Right now org.denemo.Denemo.appdata.xml.in is processed
> > > once
> > >  > > by
> > >  > >  > intltool, which takes the translated strings from the PO 
> > > files
> > >  > > and
> > >  > >  > add
> > >  > >  > them to the final .xml file in the builddir (which will
> > > be
> > >  > >  > installed).
> > >  > >  >
> > >  > >  > I want to add one more processing during build time, in
> > > order
> > >  > > to
> > >  > > add
> > >  > >  > the release notes to the final .xml file.
> > >  > >
> > >  > >  If all this is just to copy something from the file NEWS to
> > > the
> > >  > > file
> > >  > > org.denemo.Denemo.appdata.xml.in then I could just do this
> > > while
> > >  > >  copying from ChangeLog to NEWS (I put the release notes in
> > >  > > ChangeLog
> > >  > >  because Debian was requiring a change to ChangeLog from one
> > >  > > release
> > >  > > to
> > >  > >  the next and I added them to NEWS because I thought you
> > > needed
> > >  > > them
> > >  > >  there for flatpak. I can just as easily update
> > >  > >    org.denemo.Denemo.appdata.xml.in
> > >  > >  if that makes life easier). What <field></field>s would
> > > need be
> > >  > > needed?
> > >  > >  - I'm assuming once the <field>s are set up it is just a
> > > matter
> > >  > > of
> > >  > >  copying text (well, escaping <>& or avoiding them).
> > >  > >
> > >  > >  Richard
> > >  > >
> > >  > >  > My first approach - what I thought it might be easier -
> > > was
> > >  > > simply
> > >  > >  > overriding the .xml file processed by intlttol using the
> > >  > > appstreamcli
> > >  > >  > news-to-metainfo command above. As you can see, the file
> > >  > >  > $(builddir)/org.denemo.Denemo.appdata.xml is both the
> > > input
> > >  > > and
> > >  > > the
> > >  > >  > output file.
> > >  > >  > But that command is not run, because I don't understand
> > > how
> > >  > > Autotools
> > >  > >  > targets work.
> > >  > >  >
> > >  > >  > Thanks
> > >  > >  > Federico
> > >  > >  >
> > >  > >  >
> > >  > >  >
> > >  > >  >
> > >  > >  >
> > >  > >
> > >  > >
> > > 
> > > 
> > 
> > 
> 
> 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]