Bug 1364397 - Shipping AppStream metadata file
Summary: Shipping AppStream metadata file
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: octave-signal
Version: rawhide
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Thomas Sailer
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 1597126
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-08-05 09:27 UTC by Jiri Eischmann
Modified: 2018-07-31 17:52 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-07-31 17:52:32 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
appstream metadata file (585 bytes, application/xml)
2016-08-05 09:27 UTC, Jiri Eischmann
no flags Details

Description Jiri Eischmann 2016-08-05 09:27:42 UTC
Created attachment 1187805 [details]
appstream metadata file

The package doesn't ship AppStream [1] metadata file, so it doesn't appear in Octave profile in the default app catalog GNOME Software and is not easily discoverable and installable for users.

I've already filed a bug upstream [2] because it should be ideally included there since it's used across Linux distributions, but unless/until upstream ships it it should be included downstream as the packaging guidelines say [3].

I've created the file for you, see the attachment.

[1] http://www.freedesktop.org/software/appstream/docs/sect-Quickstart-Addons.html
[2] https://savannah.gnu.org/bugs/?48705
[3] https://fedoraproject.org/wiki/Packaging:AppData

Comment 1 Fedora End Of Life 2017-02-28 10:03:24 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 26 development cycle.
Changing version to '26'.

Comment 2 Fedora End Of Life 2018-05-03 08:48:07 UTC
This message is a reminder that Fedora 26 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 26. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '26'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 26 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged  change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

Comment 3 Fedora End Of Life 2018-05-29 11:23:15 UTC
Fedora 26 changed to end-of-life (EOL) status on 2018-05-29. Fedora 26
is no longer maintained, which means that it will not receive any
further security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.

Comment 4 Colin Macdonald 2018-07-02 06:33:10 UTC
octave-signal-1.4.0 has metainfo.xml from upstream but we need #1597126 first.

Then we need to apply something like:

```
diff --git a/octave-signal.spec b/octave-signal.spec
index fe77188..10d5a20 100644
--- a/octave-signal.spec
+++ b/octave-signal.spec
@@ -39,6 +39,9 @@ done;
 %install
 %octave_pkg_install
 
+%check
+%octave_pkg_check
+
 %post
 %octave_cmd pkg rebuild
 
@@ -57,6 +60,7 @@ done;
 %{octpkgdir}/private/*.m
 %{octpkgdir}/packinfo
 %doc %{octpkgdir}/packinfo/COPYING
+%{_datadir}/appdata/io.sourceforge.octave.%{octpkg}.metainfo.xml
 
 
 %changelog
```

@sailer: I'm happy to take this if you add me as an admin to this package.

Comment 5 Colin Macdonald 2018-07-31 17:52:32 UTC
Ok, @orion fixed this.

Eventually, it would still be good to enable tests (with %check, as in my diff above).


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