patchGNU Octave - Patches: patch #8866, image package: add metainfo.xml...

 
 

patch #8866: image package: add metainfo.xml file for Gnome Software

Submitted by:  Colin Macdonald <cbm>
Submitted on:  Mon 18 Jan 2016 08:13:35 PM UTC  
 
Category: NonePriority: 5 - Normal
Status: NonePrivacy: Public
Assigned to: NoneOpen/Closed: Open

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sun 07 Feb 2016 05:18:37 AM UTC, comment #4:

I'm really no expert, but the AppData philosophy seems to be that "upstream" (you) are in a better position to describe your own software. A user searches for e.g., "image processing" and they find Octave and the image package.

1. agreed! If you wish, you can drop the description tag: its not used for anything in current package managers. The phrasing of the description and summary tags has specific requirements so its not easy to just (e.g.,) extract it from DESCRIPTION. The other way around is probably do-able.

2. eventually the file needs to go in $prefix/share/appdata. I'm uncertain where to keep it as well. I thought its similar to DESCRIPTION. GNU Octave has it in etc/icons. I should look around and see what common practice is.

3. keywords are free form: I just put some commonly used functions that I thought users might search for. Feel free to change them.

Colin Macdonald <cbm>
Sun 07 Feb 2016 12:35:40 AM UTC, comment #3:

I have pushed this 3 commits with only minor changes to the commit message.

http://hg.code.sf.net/p/octave/image/rev/8777e6a04e6c
http://hg.code.sf.net/p/octave/image/rev/882811e1266d
http://hg.code.sf.net/p/octave/image/rev/c36a82a7d175

However, I'm not very comfortable with a couple of things.

1) duplication of the content from DESCRIPTION
2) the file at the root of the package (is there a standard or recommended place?)
3) function names as keywords (is there a list of available keywords to pick from?)

To be honest I haven't looked very deep into AppStream. I'm not even sure what is the problem that AppStream is trying to solve.

Carnë Draug <carandraug>
Project Member
Fri 05 Feb 2016 06:59:02 PM UTC, comment #2:

Updated patch, now with simpler license due to upstream changes.

(file #36257)

Colin Macdonald <cbm>
Sat 30 Jan 2016 07:39:01 AM UTC, comment #1:

Here's an updated patch, which adds keywords and adjusts the copyright notice.

(FYI, license choice is discussed at
https://github.com/hughsie/appdata-tools#27)

(file #36206)

Colin Macdonald <cbm>
Mon 18 Jan 2016 08:13:35 PM UTC, original submission:

Gnome Software (and other GUI package managers) uses metainfo.xml files to link pkgs as "Add-ons", in this case to GNU Octave.

http://www.freedesktop.org/software/appstream/docs/sect-Metadata-Addon.html

Here is a patch to add such a file. For now, it is included in the dist tarball. But for now its up to downstream packagers to do something with this file (typically validate it and install it in "/usr/share/appdata" or similar).

Colin Macdonald <cbm>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #36257:  add-metainfo-xml-3.patch added by cbm (4KiB - text/x-patch - updated patch)
file #36206:  add-metainfo-xml-2.patch added by cbm (3KiB - text/x-patch - uodated patch)
file #36083:  add-metainfo-xml.patch added by cbm (1KiB - text/x-patch)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by cbm (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 05 Feb 2016 06:59:02 PM UTCcbmAttached File-=>Added add-metainfo-xml-3.patch, #36257
    Sat 30 Jan 2016 07:39:01 AM UTCcbmAttached File-=>Added add-metainfo-xml-2.patch, #36206
    Mon 18 Jan 2016 08:13:35 PM UTCcbmAttached File-=>Added add-metainfo-xml.patch, #36083

    Back to the top


    Powered by Savane 3.1-cleanup1