Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 795813 - sci-mathematics/giac-1.7.0.5 QA Notice: This package installs one or more .desktop files that do not pass validation
Summary: sci-mathematics/giac-1.7.0.5 QA Notice: This package installs one or more .de...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Michael Orlitzky
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-06-13 23:00 UTC by Alessandro Barbieri
Modified: 2021-06-15 14:32 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge_info (emerge_info,36.02 KB, text/plain)
2021-06-13 23:00 UTC, Alessandro Barbieri
Details
giac-1.7.0.5:20210607-162950.logx (giac-1.7.0.5:20210607-162950.logx,254.66 KB, text/plain)
2021-06-13 23:00 UTC, Alessandro Barbieri
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alessandro Barbieri 2021-06-13 23:00:03 UTC
This package has QA issues. Attached relevant logs and emerge --info
Comment 1 Alessandro Barbieri 2021-06-13 23:00:17 UTC
Created attachment 715806 [details]
emerge_info

emerge --info
Comment 2 Alessandro Barbieri 2021-06-13 23:00:19 UTC
Created attachment 715809 [details]
giac-1.7.0.5:20210607-162950.logx

build log
Comment 3 Alessandro Barbieri 2021-06-13 23:01:08 UTC
 * QA Notice: This package installs one or more .desktop files that do not                           
 * pass validation.                                                                                                   
 *                                                                                                                    
 *      /usr/share/applications/xcas.desktop: error: value "1.7" for key "Version" in group "Desktop Entry" is not a known version                                                                                                          
 *
Comment 4 Michael Orlitzky gentoo-dev 2021-06-15 01:33:25 UTC
The problem here is,

  [Desktop Entry]
  Version=1.7
  ...

which upstream intended to refer to the version of the software, but in reality refers to the version of the desktop spec: https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-1.1.html

changing it to Version=1.0 or deleting it entirely fixes the QA warning.

François, can you report it upstream? I am still unable to register for a forum account.
Comment 5 François Bissey 2021-06-15 01:44:51 UTC
(In reply to Michael Orlitzky from comment #4)
> The problem here is,
> 
>   [Desktop Entry]
>   Version=1.7
>   ...
> 
> which upstream intended to refer to the version of the software, but in
> reality refers to the version of the desktop spec:
> https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-
> 1.1.html
> 
> changing it to Version=1.0 or deleting it entirely fixes the QA warning.
> 
> François, can you report it upstream? I am still unable to register for a
> forum account.

Done https://xcas.univ-grenoble-alpes.fr/forum/viewtopic.php?f=3&t=2716
Comment 6 Larry the Git Cow gentoo-dev 2021-06-15 14:32:41 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e781f5382378e5af4cb614389ba8fa05c5f214df

commit e781f5382378e5af4cb614389ba8fa05c5f214df
Author:     Michael Orlitzky <mjo@gentoo.org>
AuthorDate: 2021-06-15 12:38:53 +0000
Commit:     Michael Orlitzky <mjo@gentoo.org>
CommitDate: 2021-06-15 14:28:22 +0000

    sci-mathematics/giac: new upstream version 1.7.0.13.
    
    This includes a temporary patch to fix the xcas.desktop file, whose
    "Version" field contains an invalid value. The next release of giac
    should make the patch irrelevant.
    
    Closes: https://bugs.gentoo.org/795813
    Package-Manager: Portage-3.0.18, Repoman-3.0.2
    Signed-off-by: Michael Orlitzky <mjo@gentoo.org>

 sci-mathematics/giac/Manifest                      |  2 +-
 .../giac/files/giac-1.7.0.13-xcas-desktop.patch    | 33 ++++++++++++++++++++++
 .../{giac-1.7.0.5.ebuild => giac-1.7.0.13.ebuild}  |  1 +
 3 files changed, 35 insertions(+), 1 deletion(-)