Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Mar 2015 15:32:48 +0000 (UTC)
From:      Olivier Duchateau <olivierd@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r382428 - in head/x11-fm/thunar: . files
Message-ID:  <201503271532.t2RFWmXW019460@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: olivierd
Date: Fri Mar 27 15:32:47 2015
New Revision: 382428
URL: https://svnweb.freebsd.org/changeset/ports/382428
QAT: https://qat.redports.org/buildarchive/r382428/

Log:
  - 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

Added:
  head/x11-fm/thunar/files/patch-Thunar-folder-handler.desktop.in.in   (contents, props changed)
Modified:
  head/x11-fm/thunar/Makefile

Modified: head/x11-fm/thunar/Makefile
==============================================================================
--- head/x11-fm/thunar/Makefile	Fri Mar 27 15:21:58 2015	(r382427)
+++ head/x11-fm/thunar/Makefile	Fri Mar 27 15:32:47 2015	(r382428)
@@ -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>

Added: head/x11-fm/thunar/files/patch-Thunar-folder-handler.desktop.in.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11-fm/thunar/files/patch-Thunar-folder-handler.desktop.in.in	Fri Mar 27 15:32:47 2015	(r382428)
@@ -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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201503271532.t2RFWmXW019460>