aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/patches/fbreader-fix-icon.patch
diff options
context:
space:
mode:
author宋文武 <iyzsong@member.fsf.org>2023-08-17 18:38:23 +0800
committer宋文武 <iyzsong@member.fsf.org>2023-08-17 18:38:23 +0800
commit0ffbdf34567aedb0ae6cef6b869370a415cfaa65 (patch)
tree76425d441657ffbc6cfe996144cda706eb997a12 /gnu/packages/patches/fbreader-fix-icon.patch
parentd9320de5aa9b77adf5fa31c6429ec8eb08c24458 (diff)
parent1b2d43fe016848ea2ec16ff18cbc14340944fc4e (diff)
downloadguix-0ffbdf34567aedb0ae6cef6b869370a415cfaa65.tar.gz
guix-0ffbdf34567aedb0ae6cef6b869370a415cfaa65.zip
Merge remote-tracking branch 'origin/master' into kde-updates
Diffstat (limited to 'gnu/packages/patches/fbreader-fix-icon.patch')
-rw-r--r--gnu/packages/patches/fbreader-fix-icon.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/gnu/packages/patches/fbreader-fix-icon.patch b/gnu/packages/patches/fbreader-fix-icon.patch
new file mode 100644
index 0000000000..635abf6a43
--- /dev/null
+++ b/gnu/packages/patches/fbreader-fix-icon.patch
@@ -0,0 +1,29 @@
+Author: Danny Milosavljevic <dannym+a@scratchpost.org>
+Date: 2023-08-15
+
+--- orig/jswba9mn9nh43l7g4w2qslmr7i3q64vy-fbreader-0.99.6-checkout/fbreader/desktop/desktop 2023-08-14 23:56:03.092567740 +0200
++++ jswba9mn9nh43l7g4w2qslmr7i3q64vy-fbreader-0.99.6-checkout/fbreader/desktop/desktop 2023-08-14 23:56:59.936213278 +0200
+@@ -25,5 +25,5 @@
+ StartupNotify=true
+ Terminal=false
+ Type=Application
+-Icon=FBReader.png
++Icon=FBReader
+ Categories=Office;Viewer;Literature;
+--- orig/jswba9mn9nh43l7g4w2qslmr7i3q64vy-fbreader-0.99.6-checkout/fbreader/desktop/Makefile 2023-08-14 23:56:03.092567740 +0200
++++ jswba9mn9nh43l7g4w2qslmr7i3q64vy-fbreader-0.99.6-checkout/fbreader/desktop/Makefile 2023-08-15 00:23:19.046691430 +0200
+@@ -10,6 +10,14 @@
+ @install -m 0644 desktop $(DESTDIR)/usr/share/applications/$(TARGET).desktop
+ @install -d $(DESTDIR)$(IMAGEDIR)
+ @install -m 0644 ../data/icons/application/$(TARGET_ARCH).png $(DESTDIR)$(IMAGEDIR)/FBReader.png
++ @install -d $(DESTDIR)$(SHAREDIR)/icons/hicolor/16x16/apps
++ @install -m 0644 ../data/icons/application/16x16.png $(DESTDIR)$(SHAREDIR)/icons/hicolor/16x16/apps/FBReader.png
++ @install -d $(DESTDIR)$(SHAREDIR)/icons/hicolor/32x32/apps
++ @install -m 0644 ../data/icons/application/32x32.png $(DESTDIR)$(SHAREDIR)/icons/hicolor/32x32/apps/FBReader.png
++ @install -d $(DESTDIR)$(SHAREDIR)/icons/hicolor/48x48/apps
++ @install -m 0644 ../data/icons/application/48x48.png $(DESTDIR)$(SHAREDIR)/icons/hicolor/48x48/apps/FBReader.png
++ @install -d $(DESTDIR)$(SHAREDIR)/icons/hicolor/64x64/apps
++ @install -m 0644 ../data/icons/application/64x64.png $(DESTDIR)$(SHAREDIR)/icons/hicolor/64x64/apps/FBReader.png
+ @install -m 0644 ../data/default/config.desktop.xml $(SHARE_FBREADER)/default/config.xml
+ @install -m 0644 ../data/default/keymap.desktop.xml $(SHARE_FBREADER)/default/keymap.xml
+ @install -m 0644 ../data/default/styles.desktop.xml $(SHARE_FBREADER)/default/styles.xml