[blfs-dev] gnome-screenshot

Wayne Blaszczyk wblaszcz at bigpond.net.au
Mon Dec 4 04:07:02 PST 2017


On Sun, 2017-12-03 at 13:49 -0600, Bruce Dubbs wrote:
> I am trying to build gnome-screenshot-3.26.0.  Upstream has converted to 
> meson, but I can't get it to build.  I get:
> 
> Line 1: FAILED: src/org.gnome.Screenshot.metainfo.xml
> 
> Line 2: /usr/bin/python3 /usr/bin/meson --internal msgfmthelper
> ../src/org.gnome.Screenshot.metainfo.xml.in 
> src/org.gnome.Screenshot.metainfo.xml xml
> /tmp/gnome-screenshot/gnome-screenshot-3.26.0/src/../po
> 
> Line 3: msgfmt: cannot locate ITS rules for
> ../src/org.gnome.Screenshot.metainfo.xml.in
> =============
> I just used 'meson && ninja -j1'
> 
> The gnome-screenshot-3.22.0 package currently in the book builds fine.
> 
> I tried getting the git master but it fails as above.
> 
> The file src/meson.build has the sequence:
> 
> i18n.merge_file('desktop',
>                  input: 'org.gnome.Screenshot.metainfo.xml.in',
>                  output: 'org.gnome.Screenshot.metainfo.xml',
>                  po_dir: join_paths(meson.current_source_dir(), '../po'),
>                  install: true,
>                  install_dir: gnome_screenshot_appdatadir)
> 
> If I comment that out, the build completes.
> 
> Any ideas about how to get this to work for the book?
> 
>    -- Bruce
> 
> 

I have itstool-2.0.2 which is built with python2 and gnome-screenshot-3.26.0 builds fine for me.
I'm waiting for the next version of itstool before I update itstool in my build.

Regards.
Wayne.


More information about the blfs-dev mailing list