Bug 1480103 - [patch] install metainfo.xml so octave-image appears in Software
Summary: [patch] install metainfo.xml so octave-image appears in Software
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: octave-image
Version: 27
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
Assignee: Orion Poplawski
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-08-10 07:38 UTC by Colin Macdonald
Modified: 2017-11-03 21:39 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2017-11-03 21:39:35 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
0001-Install-metainfo.xml-so-this-package-will-appear-in-.patch (1.95 KB, application/mbox)
2017-08-10 07:38 UTC, Colin Macdonald
no flags Details

Description Colin Macdonald 2017-08-10 07:38:34 UTC
Created attachment 1311611 [details]
0001-Install-metainfo.xml-so-this-package-will-appear-in-.patch

Here's a patch.

Reasons for wanting this: https://fedoraproject.org/wiki/Workstation/AddonAppdata

BTW, just for fun and in case anyone other than @Orion is reading this: I tried this with pagure.  Forking was fine, but could not push to my fork to do a PR ("FATAL: W any forks/cbm/rpms/octave-image cbm DENIED by fallthru").

Comment 1 Colin Macdonald 2017-08-10 18:04:45 UTC
Orion: do you think it would be better to patch "macros.octave" instead of doing this for each octave-* package?

````
if [ -e octave-%{octpkg}.metainfo.xml ] \
then \
  cp -p octave-%{octpkg}.metainfo.xml %{buildroot}/%{_datadir}/appdata/ \
fi
````

etc

Comment 2 Orion Poplawski 2017-08-10 23:07:25 UTC
Yeah, I suspect that will be useful.

Comment 3 Colin Macdonald 2017-08-11 05:07:31 UTC
I filed #1480425 with my rather poor attempt at doing his in macros.octave.  Can you take a look?

Comment 4 Jan Kurik 2017-08-15 08:14:14 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 27 development cycle.
Changing version to '27'.

Comment 5 Colin Macdonald 2017-11-03 21:39:35 UTC
Orion did this in 2.6.1-6, closing

Comment 6 Colin Macdonald 2017-11-03 21:39:58 UTC
sorry f27 not out yet, next release


Note You need to log in before you can comment on or make changes to this bug.