librecad: fix missing app name and icon on Wayland
Wayland uses the .desktop file to find the app name and icon. Without it being specified the correct icon is not shown. Tested on Gnome/Wayland. References: - https://community.kde.org/Guidelines_and_HOWTOs/Wayland_Porting_Notes#Application_Icon - https://doc.qt.io/qt-5/qguiapplication.html#desktopFileName-prop
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
{ boost
|
{ boost
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
|
, fetchpatch
|
||||||
, installShellFiles
|
, installShellFiles
|
||||||
, mkDerivationWith
|
, mkDerivationWith
|
||||||
, muparser
|
, muparser
|
||||||
@@ -30,6 +31,13 @@ mkDerivationWith stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
./fix_qt_5_11_build.patch
|
./fix_qt_5_11_build.patch
|
||||||
|
(
|
||||||
|
fetchpatch {
|
||||||
|
# Fix missing app name and icon on Wayland.
|
||||||
|
url = "https://github.com/LibreCAD/LibreCAD/commit/a17f8281093403f0c7c36996232665ed21906688.patch";
|
||||||
|
sha256 = "1x46psh4bcx2hxck4l83ki43g1252vb033i2x94h4rpai9hww4d5";
|
||||||
|
}
|
||||||
|
)
|
||||||
];
|
];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
|
|||||||
Reference in New Issue
Block a user