Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 750515

Summary: games-strategy/hedgewars-1.0.0-r100 installs metainfo files into /usr/share/appdata
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Gentoo Games <games>
Status: RESOLVED FIXED    
Severity: normal CC: alexander
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/41844
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 709450    
Attachments: build.log.xz

Description Agostino Sarubbo gentoo-dev 2020-10-21 06:01:59 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: games-strategy/hedgewars-1.0.0-r1 installs metainfo files into /usr/share/appdata.
Discovered on: amd64 (internal ref: tinderbox)
Comment 1 Agostino Sarubbo gentoo-dev 2020-10-21 06:02:02 UTC
Created attachment 667604 [details]
build.log.xz

build log and emerge --info (compressed because it exceeds attachment limit, use 'xzless' to read it)
Comment 2 Agostino Sarubbo gentoo-dev 2021-10-24 08:41:33 UTC
tinderbox has reproduced this issue with version 1.0.0-r100 - Updating summary.
Comment 3 Larry the Git Cow gentoo-dev 2025-05-21 21:36:53 UTC
The bug has been closed via the following commit(s):

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

commit 7fce35a8390b2f7d2b5d1695c43eeedaa7523987
Author:     Alexander Tsoy <alexander@tsoy.me>
AuthorDate: 2025-04-29 13:47:48 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-05-21 21:36:32 +0000

    games-strategy/hedgewars: various fixes
    
    * Fix build with clang-15.
    * Fix build with ffmpeg-6.
    * Fix SDL dependencies: png and opengl are required.
    * Fix ffmpeg dependency: it is actually not suported when building with
      pas2c. Also make it optional via USE-flag.
    * Allow building with fpc on 32-bit arches instead of pas2c+clang.
      Alignment bug has been fixed in fpc long time ago.
    * Introduce pas2c USE-flag to still allow building with pas2c+clang.
    * Rename appdata to metainfo.
    
    Closes: https://bugs.gentoo.org/750515
    Signed-off-by: Alexander Tsoy <alexander@tsoy.me>
    Part-of: https://github.com/gentoo/gentoo/pull/41844
    Closes: https://github.com/gentoo/gentoo/pull/41844
    Signed-off-by: Sam James <sam@gentoo.org>

 .../hedgewars/files/hedgewars-1.0.2-clang-15.patch |  21 +
 .../hedgewars/files/hedgewars-1.0.2-ffmpeg-6.patch | 455 +++++++++++++++++++++
 .../files/hedgewars-1.0.2-glext-prototypes.patch   |  14 +
 .../hedgewars/files/hedgewars-1.0.2-metainfo.patch |  32 ++
 .../files/hedgewars-1.0.2-respect-cc.patch         |  37 ++
 games-strategy/hedgewars/hedgewars-1.0.2-r1.ebuild | 124 ++++++
 games-strategy/hedgewars/metadata.xml              |   2 +
 7 files changed, 685 insertions(+)