From d8aa4404f4ba7e60ac9ae31cd743317c46cc1c99 Mon Sep 17 00:00:00 2001 From: Olivier Duchateau Date: Fri, 27 Mar 2015 15:32:47 +0000 Subject: - Add workaround for missing 'inode/directory' content-type icon (removed in Adwaita icons theme) - Bump PORTREVISION Mime-type is fixed in master branch of shared-mime-info (> 1.4) Obtained from: Xfce dev repo --- x11-fm/thunar/Makefile | 6 +++++- .../thunar/files/patch-Thunar-folder-handler.desktop.in.in | 12 ++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 x11-fm/thunar/files/patch-Thunar-folder-handler.desktop.in.in (limited to 'x11-fm/thunar') diff --git a/x11-fm/thunar/Makefile b/x11-fm/thunar/Makefile index e33bc90653b1..636592bd2938 100644 --- a/x11-fm/thunar/Makefile +++ b/x11-fm/thunar/Makefile @@ -3,7 +3,7 @@ PORTNAME= Thunar PORTVERSION= 1.6.6 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= x11-fm xfce MASTER_SITES= ${MASTER_SITE_XFCE} DIST_SUBDIR= xfce4 @@ -67,5 +67,9 @@ CONFIGURE_ARGS+=--enable-gio-unix \ post-patch: ${REINPLACE_CMD} -e 's|internet-mail|mail-send|' \ ${WRKSRC}/plugins/thunar-sendto-email/thunar-sendto-email.desktop.in.in +# Workaround for missing 'inode/directory' content-type icon. +# https://bugs.freedesktop.org/show_bug.cgi?id=89150 + ${FIND} ${WRKSRC} -type f -name '*.c' \ + | ${XARGS} ${REINPLACE_CMD} -e 's|inode/directory|folder|' .include diff --git a/x11-fm/thunar/files/patch-Thunar-folder-handler.desktop.in.in b/x11-fm/thunar/files/patch-Thunar-folder-handler.desktop.in.in new file mode 100644 index 000000000000..dc91047ad7ec --- /dev/null +++ b/x11-fm/thunar/files/patch-Thunar-folder-handler.desktop.in.in @@ -0,0 +1,12 @@ +Workaround for https://bugs.freedesktop.org/show_bug.cgi?id=89150 + +--- Thunar-folder-handler.desktop.in.in.orig 2013-07-30 05:44:48 UTC ++++ Thunar-folder-handler.desktop.in.in +@@ -10,6 +10,6 @@ Terminal=false + StartupNotify=true + Type=Application + Categories=System;Utility;Core;GTK;FileTools;FileManager; +-MimeType=inode/directory; ++MimeType=inode/directory;folder; + + # vi:set encoding=UTF-8: -- cgit v1.2.3