summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgusi <gusi@df743ca5-7f9a-e211-a948-0013205c9059>2014-04-27 14:34:16 +0800
committergusi <gusi@df743ca5-7f9a-e211-a948-0013205c9059>2014-04-27 14:34:16 +0800
commit4de97cad6905f5177a0e15b83788284ebd581cbf (patch)
tree2d5eaceddb693027f1f62aae586d02932e38d17a
parent5870fe06f27b20d7e3d97977ddf619fcc31c50e2 (diff)
downloadmarcuscom-ports-4de97cad6905f5177a0e15b83788284ebd581cbf.tar.gz
marcuscom-ports-4de97cad6905f5177a0e15b83788284ebd581cbf.tar.zst
marcuscom-ports-4de97cad6905f5177a0e15b83788284ebd581cbf.zip
Baobab registers itself as the default app for inode/directory. With that if
you click in a directory while not using nautilus (like for example with the Places extension) it will open baobab to explore the disk usage of that dir instead of the file browser. [1] https://bugzilla.gnome.org/show_bug.cgi?id=729039 git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@19585 df743ca5-7f9a-e211-a948-0013205c9059
-rw-r--r--deskutils/baobab/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/deskutils/baobab/Makefile b/deskutils/baobab/Makefile
index 2f42a4311..3d15b9b66 100644
--- a/deskutils/baobab/Makefile
+++ b/deskutils/baobab/Makefile
@@ -4,6 +4,7 @@
PORTNAME= baobab
PORTVERSION= 3.12.1
+PORTREVISION= 1
CATEGORIES= deskutils gnome
MASTER_SITES= GNOME
DIST_SUBDIR= gnome3
@@ -30,5 +31,7 @@ GLIB_SCHEMAS= org.gnome.baobab.gschema.xml
post-patch:
@${REINPLACE_CMD} -e 's|-Wno-unused-but-set-variable||g' \
${WRKSRC}/src/Makefile.in
+ @${REINPLACE_CMD} -e 's|MimeType=inode/directory;|MimeType=|g' \
+ ${WRKSRC}/data/org.gnome.baobab.desktop.in.in
.include <bsd.port.mk>