From 9aa80713372911cec499b3adb2cd746790920916 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 29 Jun 2021 10:15:54 +0100 Subject: gentoo resync : 29.06.2021 --- games-emulation/fceux/files/fceux-2.4.0-desktop.patch | 18 ++++++++++++++++++ games-emulation/fceux/files/fceux-2.4.0-no-git.patch | 12 ++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 games-emulation/fceux/files/fceux-2.4.0-desktop.patch create mode 100644 games-emulation/fceux/files/fceux-2.4.0-no-git.patch (limited to 'games-emulation/fceux/files') diff --git a/games-emulation/fceux/files/fceux-2.4.0-desktop.patch b/games-emulation/fceux/files/fceux-2.4.0-desktop.patch new file mode 100644 index 000000000000..e1f924be5246 --- /dev/null +++ b/games-emulation/fceux/files/fceux-2.4.0-desktop.patch @@ -0,0 +1,18 @@ +Remove hardcoded paths from .desktop, not replacing with +make_desktop_entry given upstream's also defines MimeType. +--- a/fceux.desktop ++++ b/fceux.desktop +@@ -7,4 +7,4 @@ + Comment=Emulate NES ROMs +-Exec=/usr/bin/fceux %f +-Icon=/usr/share/pixmaps/fceux1.png ++Exec=fceux %f ++Icon=fceux1 + Terminal=false +@@ -17,3 +17,2 @@ + Exec=fceux -f 1 +-OnlyShowIn=Unity + [Desktop Action DefaultConfig] +@@ -21,2 +20 @@ + Exec=fceux --no-config 1 +-OnlyShowIn=Unity diff --git a/games-emulation/fceux/files/fceux-2.4.0-no-git.patch b/games-emulation/fceux/files/fceux-2.4.0-no-git.patch new file mode 100644 index 000000000000..fe9a7d35b46b --- /dev/null +++ b/games-emulation/fceux/files/fceux-2.4.0-no-git.patch @@ -0,0 +1,12 @@ +Prevent meaningless use of git (QA notice if missing) in a release. +--- a/scripts/genGitHdr.sh ++++ b/scripts/genGitHdr.sh +@@ -8,6 +8,6 @@ + echo "Output File: $OUTPUT_DIR/$FILE"; + +-GIT_URL=`git config --get remote.origin.url`; +-GIT_REV=`git rev-parse HEAD`; ++GIT_URL= ++GIT_REV= + + echo "// fceux_git_info.cpp -- DO NOT EDIT: This file is auto-generated at build" >| $TMP_FILE; -- cgit v1.2.3