#10112: remove gnome-screenshot temporary build fix once itstool issues resolved
-------------------------+------------------------
 Reporter:  dj@…         |       Owner:  blfs-book
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  y-hold
Component:  BOOK         |     Version:  SVN
 Severity:  normal       |  Resolution:
 Keywords:               |
-------------------------+------------------------

Comment (by bdubbs):

 I got this to work!  I retrieved appdata.{its,loc} from the current
 appstream-glib package and put them into /usr/share/gettext/its.  That's
 all that is needed.

 They are short:
 {{{
 $ cat appdata.loc
 <?xml version="1.0"?>
 <locatingRules>
   <locatingRule name="AppData" pattern="*.appdata.xml">
     <documentRule localName="component" target="appdata.its"/>
   </locatingRule>
   <locatingRule name="AppData" pattern="*.metainfo.xml">
     <documentRule localName="component" target="appdata.its"/>
   </locatingRule>
 </locatingRules>

 $ cat appdata.its
 <?xml version="1.0"?>
 <its:rules xmlns:its="http://www.w3.org/2005/11/its";
            version="2.0">
   <its:translateRule selector="/component" translate="no"/>
   <its:translateRule selector="/component/name |
                                /component/summary |
                                /component/description |
                                /component/developer_name |
                                /component/screenshots/screenshot/caption"
                      translate="yes"/>
 </its:rules>

 We probably can put them in the book as here documents.

--
Ticket URL: <http://wiki.linuxfromscratch.org/blfs/ticket/10112#comment:14>
BLFS Trac <http://wiki.linuxfromscratch.org/blfs>
Beyond Linux From Scratch
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to