patchGNU Octave - Patches: patch #8866, [octave forge] (image) add...

 
 

patch #8866: [octave forge] (image) add metainfo.xml file for Gnome Software

Submitted by:  Colin Macdonald <cbm>
Submitted on:  Mon 18 Jan 2016 08:13:35 PM UTC  
 
Category:  Forge : new feature Priority:  5 - Normal
Status:  None Privacy:  Public
Assigned to:  None Open/Closed:  Open

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Tue 10 Apr 2018 06:03:06 AM UTC, comment #5:

Can this patch be considered done?

Mike Miller <mtmiller>
Project Administrator
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 Files:
   
   
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
  • -email is unavailable- added by mtmiller (Posted a comment)
  • -email is unavailable- added by cbm (Submitted the item)
  •  

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

    Only logged-in users can vote.

     

     

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-04-10 mtmiller CategoryNone => Forge : new feature
        Summaryimage package: add metainfo.xml file for Gnome Software => [octave forge] (image) add metainfo.xml file for Gnome Software
    2016-02-05 cbm Attached File- => Added add-metainfo-xml-3.patch, #36257
    2016-01-30 cbm Attached File- => Added add-metainfo-xml-2.patch, #36206
    2016-01-18 cbm Attached File- => Added add-metainfo-xml.patch, #36083

    Back to the top


    Powered by Savane 3.3