mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-09 00:07:57 +03:00
app-crypt/gpa: fix icon install directory
Bug: https://bugs.gentoo.org/966859 Signed-off-by: Mike Gilbert <floppym@gentoo.org>
This commit is contained in:
parent
117b0ab1e8
commit
e240e34daa
32
app-crypt/gpa/files/gpa-0.11.0-icondir.patch
Normal file
32
app-crypt/gpa/files/gpa-0.11.0-icondir.patch
Normal file
@ -0,0 +1,32 @@
|
||||
From c37e514a51d365640a55973d77cf5e8885c1a520 Mon Sep 17 00:00:00 2001
|
||||
From: Mike Gilbert <floppym@gentoo.org>
|
||||
Date: Sun, 30 Nov 2025 15:47:29 -0500
|
||||
Subject: [PATCH] Makefile.am: revert icondir to previous value
|
||||
|
||||
Setting icondir to src/ results in gpa.png being installed to
|
||||
$(DESTDIR)src/gpa.png. This is likely a mistake.
|
||||
|
||||
Partially reverts f6dfae5e822b8079a2a68c5185fedf0721ce8090.
|
||||
|
||||
Bug: https://bugs.gentoo.org/966859
|
||||
---
|
||||
Makefile.am | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/Makefile.am b/Makefile.am
|
||||
index c6be8c7..bf6265c 100644
|
||||
--- a/Makefile.am
|
||||
+++ b/Makefile.am
|
||||
@@ -45,8 +45,8 @@ DISTCLEANFILES = gpadefs.h
|
||||
desktopdir = $(datadir)/applications/
|
||||
desktop_DATA = gpa.desktop
|
||||
|
||||
+icondir = $(datadir)/pixmaps
|
||||
icon_DATA = gpa.png
|
||||
-icondir = src/
|
||||
|
||||
pkgdata_DATA = gpa.png
|
||||
|
||||
--
|
||||
2.52.0
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit xdg
|
||||
inherit autotools xdg
|
||||
|
||||
DESCRIPTION="GNU Privacy Assistant (GPA): a graphical user interface for GnuPG"
|
||||
HOMEPAGE="https://gnupg.org/software/gpa/"
|
||||
@ -30,10 +30,14 @@ BDEPEND="
|
||||
PATCHES=(
|
||||
# Backports, drop on bump
|
||||
"${FILESDIR}"/${PV}
|
||||
|
||||
# https://bugs.gentoo.org/966859
|
||||
"${FILESDIR}"/gpa-0.11.0-icondir.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
eautoreconf
|
||||
|
||||
sed -i 's/Application;//' gpa.desktop || die
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user