Skip to content

Commit

Permalink
Merge pull request #12 from myfreeweb/nautilus-icon
Browse files Browse the repository at this point in the history
x11-fm/nautilus: fix icons being all the same size
  • Loading branch information
kwm81 authored Jun 30, 2018
2 parents 59bcaa8 + bd47f1a commit 55a9c49
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions x11-fm/nautilus/files/patch-data_meson.build
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
From git master. Fixes the same 512x512 icon being installed as all sizes.
--- data/meson.build.orig 2018-06-24 22:58:44 UTC
+++ data/meson.build
@@ -8,17 +8,15 @@
# https://gitlab.gnome.org/GNOME/nautilus/merge_requests/144
##########
foreach icon_size: ['16x16', '22x22', '24x24', '32x32', '48x48', '512x512']
- configure_file(
- command: [
- 'cp', '@INPUT@', '@OUTPUT@'
- ],
- input: files(
- join_paths('icons', 'hicolor', icon_size, 'apps', 'org.gnome.Nautilus.png')
- ),
- install_dir: join_paths(datadir, 'icons', 'hicolor', icon_size, 'apps'),
- output: '@[email protected]'.format(application_id)
+ icondir = join_paths('icons', 'hicolor', icon_size, 'apps')
+
+ install_data(
+ join_paths(icondir, 'org.gnome.Nautilus.png'),
+ install_dir: join_paths(datadir, icondir),
+ rename: '@[email protected]'.format(application_id)
)
endforeach
+

configure_file(
command: [

0 comments on commit 55a9c49

Please sign in to comment.