From a4048629296aa6993998453d8e4bad2bf894dd79 Mon Sep 17 00:00:00 2001 From: ajacoutot Date: Sun, 16 Dec 2007 11:30:20 +0000 Subject: [PATCH] - add update-mime-database goo --- audio/audacity/Makefile | 7 ++++--- audio/audacity/pkg/PLIST | 4 +++- comms/xlog/Makefile | 7 ++++--- comms/xlog/pkg/PLIST | 4 +++- print/scribus/Makefile | 5 +++-- print/scribus/pkg/PLIST | 4 +++- www/bluefish/Makefile | 7 ++++--- www/bluefish/pkg/PLIST | 4 +++- 8 files changed, 27 insertions(+), 15 deletions(-) diff --git a/audio/audacity/Makefile b/audio/audacity/Makefile index 51a12f48f81..ba8e1cd9d0d 100644 --- a/audio/audacity/Makefile +++ b/audio/audacity/Makefile @@ -1,10 +1,10 @@ -# $OpenBSD: Makefile,v 1.14 2007/12/08 11:08:38 ajacoutot Exp $ +# $OpenBSD: Makefile,v 1.15 2007/12/16 11:30:20 ajacoutot Exp $ COMMENT= free audio editor V= 1.3.4 DISTNAME= audacity-src-${V} -PKGNAME= audacity-${V} +PKGNAME= audacity-${V}p0 CATEGORIES= audio EXTRACT_SUFX= .tar.bz2 @@ -33,7 +33,8 @@ LIB_DEPENDS= wx_base_xml,wx_base_odbc,wx_gtk2_aui,wx_gtk2_html,wx_gtk2_adv,wx_gt mad.>=2::audio/libmad \ portaudio::audio/portaudio-svn \ SoundTouch::audio/soundtouch -RUN_DEPENDS= :desktop-file-utils-*:devel/desktop-file-utils +RUN_DEPENDS= :desktop-file-utils-*:devel/desktop-file-utils \ + :shared-mime-info-*:misc/shared-mime-info USE_X11= Yes USE_GMAKE= Yes diff --git a/audio/audacity/pkg/PLIST b/audio/audacity/pkg/PLIST index b659c32cc0d..88f0823fe1b 100644 --- a/audio/audacity/pkg/PLIST +++ b/audio/audacity/pkg/PLIST @@ -1,4 +1,4 @@ -@comment $OpenBSD: PLIST,v 1.6 2007/12/08 11:08:38 ajacoutot Exp $ +@comment $OpenBSD: PLIST,v 1.7 2007/12/16 11:30:20 ajacoutot Exp $ bin/audacity @man man/man1/audacity.1 share/applications/ @@ -97,5 +97,7 @@ share/mime/packages/ share/mime/packages/audacity.xml share/pixmaps/ share/pixmaps/audacity.xpm +@exec %D/bin/update-mime-database %D/share/mime +@unexec %D/bin/update-mime-database %D/share/mime @exec %D/bin/update-desktop-database @unexec %D/bin/update-desktop-database diff --git a/comms/xlog/Makefile b/comms/xlog/Makefile index 76827ca2783..49c32a0ffb0 100644 --- a/comms/xlog/Makefile +++ b/comms/xlog/Makefile @@ -1,9 +1,9 @@ -# $OpenBSD: Makefile,v 1.6 2007/12/15 19:11:42 ajacoutot Exp $ +# $OpenBSD: Makefile,v 1.7 2007/12/16 11:30:20 ajacoutot Exp $ COMMENT= X radio logging program DISTNAME= xlog-1.5 -PKGNAME= $(DISTNAME)p2 +PKGNAME= $(DISTNAME)p3 CATEGORIES= comms hamradio HOMEPAGE= http://www.qsl.net/pg4i/linux/xlog.html @@ -21,7 +21,8 @@ WANTLIB= X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext Xfixes \ gobject-2.0 m pango-1.0 pangocairo-1.0 pangoft2-1.0 \ png xml2 z -RUN_DEPENDS= :desktop-file-utils-*:devel/desktop-file-utils +RUN_DEPENDS= :desktop-file-utils-*:devel/desktop-file-utils \ + :shared-mime-info-*:misc/shared-mime-info LIB_DEPENDS= gtk-x11-2.0,gdk_pixbuf-2.0,gdk-x11-2.0::x11/gtk+2 \ hamlib.>=2::comms/hamlib \ gnomeprint-2-2::x11/gnome/libgnomeprint diff --git a/comms/xlog/pkg/PLIST b/comms/xlog/pkg/PLIST index b5b3f3bf883..83337c95cb5 100644 --- a/comms/xlog/pkg/PLIST +++ b/comms/xlog/pkg/PLIST @@ -1,4 +1,4 @@ -@comment $OpenBSD: PLIST,v 1.3 2007/12/15 19:11:42 ajacoutot Exp $ +@comment $OpenBSD: PLIST,v 1.4 2007/12/16 11:30:20 ajacoutot Exp $ bin/xlog @man man/man1/xlog.1 share/applications/ @@ -72,5 +72,7 @@ share/xlog/images/xlog-printdialog.png share/xlog/images/xlog-scorewindow.png share/xlog/images/xlog-workedwindow.png share/xlog/qsllabels.glabels +@exec %D/bin/update-mime-database %D/share/mime +@unexec %D/bin/update-mime-database %D/share/mime @exec %D/bin/update-desktop-database @unexec %D/bin/update-desktop-database diff --git a/print/scribus/Makefile b/print/scribus/Makefile index ec247e3e586..00f5db26585 100644 --- a/print/scribus/Makefile +++ b/print/scribus/Makefile @@ -1,10 +1,10 @@ -# $OpenBSD: Makefile,v 1.17 2007/10/08 08:22:42 steven Exp $ +# $OpenBSD: Makefile,v 1.18 2007/12/16 11:30:20 ajacoutot Exp $ SHARED_ONLY= Yes COMMENT= DTP program DISTNAME= scribus-1.3.4 -PKGNAME= ${DISTNAME}p0 +PKGNAME= ${DISTNAME}p1 CATEGORIES= print # These are actually internal modules, not generic shared libs @@ -33,6 +33,7 @@ EXTRACT_SUFX= .tar.bz2 MODULES= x11/qt3 converters/libiconv lang/python MODQT_MT= Yes +RUN_DEPENDS= :shared-mime-info-*:misc/shared-mime-info LIB_DEPENDS= jpeg::graphics/jpeg \ lcms::graphics/lcms \ art_lgpl_2::graphics/libart \ diff --git a/print/scribus/pkg/PLIST b/print/scribus/pkg/PLIST index 82d402216c0..d519d3e52b2 100644 --- a/print/scribus/pkg/PLIST +++ b/print/scribus/pkg/PLIST @@ -1,4 +1,4 @@ -@comment $OpenBSD: PLIST,v 1.8 2007/08/25 20:16:32 mbalmer Exp $ +@comment $OpenBSD: PLIST,v 1.9 2007/12/16 11:30:20 ajacoutot Exp $ bin/scribus include/scribus/ include/scribus/about.h @@ -1386,3 +1386,5 @@ share/scribus/templates/textbased/textbased.png share/scribus/templates/textbased/textbased.sla.gz share/scribus/templates/textbased/textbasedtn.png share/scribus/unicodenameslist.txt +@exec %D/bin/update-mime-database %D/share/mime +@unexec %D/bin/update-mime-database %D/share/mime diff --git a/www/bluefish/Makefile b/www/bluefish/Makefile index 832b91b410d..6b7ca193f0f 100644 --- a/www/bluefish/Makefile +++ b/www/bluefish/Makefile @@ -1,9 +1,9 @@ -# $OpenBSD: Makefile,v 1.50 2007/12/15 21:14:22 ajacoutot Exp $ +# $OpenBSD: Makefile,v 1.51 2007/12/16 11:30:20 ajacoutot Exp $ COMMENT= HTML editor for experienced web designers DISTNAME= bluefish-1.0.7 -PKGNAME= ${DISTNAME}p0 +PKGNAME= ${DISTNAME}p1 CATEGORIES= www HOMEPAGE= http://bluefish.openoffice.nl/ @@ -27,7 +27,8 @@ WANTLIB= X11 Xext Xrender glitz png atk-1.0 c m \ MODULES= devel/gettext -RUN_DEPENDS= :desktop-file-utils-*:devel/desktop-file-utils +RUN_DEPENDS= :desktop-file-utils-*:devel/desktop-file-utils \ + :shared-mime-info-*:misc/shared-mime-info BUILD_DEPENDS= ::misc/shared-mime-info LIB_DEPENDS= gtk-x11-2.0.>=0.14,gdk-x11-2.0.>=0.14,gdk_pixbuf-2.0.>=0.14::x11/gtk+2 \ pcre::devel/pcre \ diff --git a/www/bluefish/pkg/PLIST b/www/bluefish/pkg/PLIST index 734d15fda98..038a7fbaad9 100644 --- a/www/bluefish/pkg/PLIST +++ b/www/bluefish/pkg/PLIST @@ -1,4 +1,4 @@ -@comment $OpenBSD: PLIST,v 1.18 2007/12/15 21:14:22 ajacoutot Exp $ +@comment $OpenBSD: PLIST,v 1.19 2007/12/16 11:30:20 ajacoutot Exp $ bin/bluefish @man man/man1/bluefish.1 share/application-registry/ @@ -66,5 +66,7 @@ share/mime/packages/bluefish.xml share/pixmaps/ share/pixmaps/bluefish-icon.png share/pixmaps/gnome-mime-application-bluefish-project.png +@exec %D/bin/update-mime-database %D/share/mime +@unexec %D/bin/update-mime-database %D/share/mime @exec %D/bin/update-desktop-database @unexec %D/bin/update-desktop-database