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: Federico Bruni
Subject: Re: getting ready for Denemo 2.6 flatpak
Date: Mon, 12 Dec 2022 22:25:15 +0100

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.


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.
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.

I see that Atril is a fork of Evince made by the Mate project.
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.
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]