aboutsummaryrefslogtreecommitdiff
path: root/x11-fm/thunar
diff options
context:
space:
mode:
authorOlivier Duchateau <olivierd@FreeBSD.org>2015-03-27 15:32:47 +0000
committerOlivier Duchateau <olivierd@FreeBSD.org>2015-03-27 15:32:47 +0000
commitd8aa4404f4ba7e60ac9ae31cd743317c46cc1c99 (patch)
treebb5fc5561e9513017efec14a20a9860016f4ebb5 /x11-fm/thunar
parent142542eed5aa3809a8b90def14a8fad9f509d314 (diff)
downloadports-d8aa4404f4ba7e60ac9ae31cd743317c46cc1c99.tar.gz
ports-d8aa4404f4ba7e60ac9ae31cd743317c46cc1c99.zip
Notes
Diffstat (limited to 'x11-fm/thunar')
-rw-r--r--x11-fm/thunar/Makefile6
-rw-r--r--x11-fm/thunar/files/patch-Thunar-folder-handler.desktop.in.in12
2 files changed, 17 insertions, 1 deletions
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 <bsd.port.mk>
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: