commit:     9303d15a1a6920a521fc5dd4f9919161d1738971
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 24 08:09:42 2019 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Wed Jul 24 08:11:53 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9303d15a

sci-mathematics/yacas: Fix desktop file icon path

Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 .../yacas/files/yacas-1.7.0-desktop.patch          | 26 ++++++++++++++++++++++
 sci-mathematics/yacas/yacas-1.7.0-r1.ebuild        |  3 ++-
 2 files changed, 28 insertions(+), 1 deletion(-)

diff --git a/sci-mathematics/yacas/files/yacas-1.7.0-desktop.patch 
b/sci-mathematics/yacas/files/yacas-1.7.0-desktop.patch
new file mode 100644
index 00000000000..b1ad58468e6
--- /dev/null
+++ b/sci-mathematics/yacas/files/yacas-1.7.0-desktop.patch
@@ -0,0 +1,26 @@
+From ab5ba061c9beecb00064cb5698f1196d38cf0b6d Mon Sep 17 00:00:00 2001
+From: Andreas Sturmlechner <[email protected]>
+Date: Wed, 24 Jul 2019 10:07:44 +0200
+Subject: [PATCH] Fix desktop icon name
+
+Signed-off-by: Andreas Sturmlechner <[email protected]>
+---
+ cyacas/yacas-gui/yacas-gui.desktop | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/cyacas/yacas-gui/yacas-gui.desktop 
b/cyacas/yacas-gui/yacas-gui.desktop
+index b7d44574..ab509a2c 100644
+--- a/cyacas/yacas-gui/yacas-gui.desktop
++++ b/cyacas/yacas-gui/yacas-gui.desktop
+@@ -2,7 +2,7 @@
+ Name=yacas-gui
+ Comment=Yacas GUI
+ Exec=yacas-gui
+-Icon=yacas_gui
++Icon=yacas-gui
+ Terminal=false
+ Type=Application
+ Categories=Science;Math
+-- 
+2.22.0
+

diff --git a/sci-mathematics/yacas/yacas-1.7.0-r1.ebuild 
b/sci-mathematics/yacas/yacas-1.7.0-r1.ebuild
index 99da4e3dd15..fdba42ce021 100644
--- a/sci-mathematics/yacas/yacas-1.7.0-r1.ebuild
+++ b/sci-mathematics/yacas/yacas-1.7.0-r1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit cmake-utils
+inherit cmake-utils desktop
 
 DESCRIPTION="General purpose computer algebra system"
 HOMEPAGE="http://www.yacas.org/";
@@ -41,6 +41,7 @@ RDEPEND="${DEPEND}"
 
 PATCHES=(
        "${FILESDIR}/${P}-gnuinstalldirs.patch"
+       "${FILESDIR}/${P}-desktop.patch"
        "${FILESDIR}/${P}-use-bundled-not-external.patch" # bug 690534
 )
 

Reply via email to