summaryrefslogtreecommitdiff
path: root/x11-fm/nautilus
diff options
context:
space:
mode:
authorKoop Mast <kwm@FreeBSD.org>2013-06-17 08:16:03 +0000
committerKoop Mast <kwm@FreeBSD.org>2013-06-17 08:16:03 +0000
commit795cd3e9f1fae6d033eeffa39c2d2f34a7d66cb5 (patch)
treee0cb540a34e4131fe5bdc8795ef1aa4698be53de /x11-fm/nautilus
parentAdd gqrx, a Qt-based software defined radio receiver (diff)
Fix build with glib 2.36.
Convert to USES=desktop-file-utils and shared-mime-info.
Notes
Notes: svn path=/head/; revision=321088
Diffstat (limited to 'x11-fm/nautilus')
-rw-r--r--x11-fm/nautilus/Makefile8
-rw-r--r--x11-fm/nautilus/pkg-plist4
2 files changed, 5 insertions, 7 deletions
diff --git a/x11-fm/nautilus/Makefile b/x11-fm/nautilus/Makefile
index ca148e9c3b9e..5a5ae24c8e1b 100644
--- a/x11-fm/nautilus/Makefile
+++ b/x11-fm/nautilus/Makefile
@@ -4,7 +4,7 @@
PORTNAME= nautilus
PORTVERSION= 2.32.2.1
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= x11-fm gnome
MASTER_SITES= GNOME
DIST_SUBDIR= gnome2
@@ -23,8 +23,9 @@ INSTALLS_ICONS= yes
USE_BZIP2= yes
USE_GMAKE= yes
USES= gettext
+USES= desktop-file-utils shared-mime-info
USE_GNOME= gnomeprefix gnomehack intlhack gnomedesktop \
- librsvg2 desktopfileutils ltverhack gvfs ltasneededhack
+ librsvg2 ltverhack gvfs ltasneededhack
USE_LDCONFIG= yes
USE_AUTOTOOLS= libtool
CONFIGURE_ENV= LIBS="${PTHREAD_LIBS} -L${LOCALBASE}/lib -liconv" \
@@ -43,9 +44,10 @@ post-patch:
${WRKSRC}/eel/eel-*.[ch] \
${WRKSRC}/libnautilus-private/*.[ch] \
${WRKSRC}/src/nautilus-zoom-control.c
+ @${REINPLACE_CMD} -e 's|-DG_DISABLE_DEPRECATED||g' \
+ ${WRKSRC}/configure ${WRKSRC}/eel/Makefile.in
post-install:
@${MKDIR} ${PREFIX}/lib/nautilus/extensions-2.0
- @-update-desktop-database
.include <bsd.port.mk>
diff --git a/x11-fm/nautilus/pkg-plist b/x11-fm/nautilus/pkg-plist
index b6e4f3b327db..266e5ff302de 100644
--- a/x11-fm/nautilus/pkg-plist
+++ b/x11-fm/nautilus/pkg-plist
@@ -238,10 +238,6 @@ share/pixmaps/nautilus/thumbnail_frame.png
@dirrmtry lib/nautilus
@dirrm include/nautilus/libnautilus-extension
@dirrm include/nautilus
-@exec %%LOCALBASE%%/bin/update-mime-database %D/share/mime
-@unexec %%LOCALBASE%%/bin/update-mime-database %D/share/mime
-@exec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true
-@unexec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true
@dirrm share/doc/libnautilus-extension
@dirrmtry share/locale/zu/LC_MESSAGES
@dirrmtry share/locale/zu