From 6636996bde04e1ad783dc730b76827064b0a0372 Mon Sep 17 00:00:00 2001 From: jasper Date: Thu, 13 Sep 2007 17:56:23 +0000 Subject: [PATCH] update shared-mime-info to 0.22 from mikolaj --- misc/shared-mime-info/Makefile | 15 ++-- misc/shared-mime-info/distinfo | 10 +-- .../patches/patch-Makefile_in | 8 +-- misc/shared-mime-info/pkg/PLIST | 70 ++++++++++++++++++- 4 files changed, 87 insertions(+), 16 deletions(-) diff --git a/misc/shared-mime-info/Makefile b/misc/shared-mime-info/Makefile index ecad01bce59..068c44dd88d 100644 --- a/misc/shared-mime-info/Makefile +++ b/misc/shared-mime-info/Makefile @@ -1,9 +1,8 @@ -# $OpenBSD: Makefile,v 1.16 2007/04/22 21:01:20 jasper Exp $ +# $OpenBSD: Makefile,v 1.17 2007/09/13 17:56:23 jasper Exp $ -COMMENT= "shared mime database for desktops" +COMMENT= shared mime database for desktops -DISTNAME= shared-mime-info-0.21 -PKGNAME= ${DISTNAME}p0 +DISTNAME= shared-mime-info-0.22 CATEGORIES= misc HOMEPAGE= http://www.freedesktop.org/wiki/Software/shared-mime-info @@ -24,6 +23,14 @@ BUILD_DEPENDS= :p5-XML-Parser-*:textproc/p5-XML-Parser LIB_DEPENDS= glib-2.0::devel/glib2 \ xml2::textproc/libxml +USE_GMAKE= Yes CONFIGURE_STYLE= gnu +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" + +pre-configure: + @perl -pi -e 's|/usr/local|${LOCALBASE}|g' \ + ${WRKSRC}/update-mime-database.c \ + ${WRKSRC}/shared-mime-info-spec.xml .include diff --git a/misc/shared-mime-info/distinfo b/misc/shared-mime-info/distinfo index 1b6313f957e..80f20a797b7 100644 --- a/misc/shared-mime-info/distinfo +++ b/misc/shared-mime-info/distinfo @@ -1,5 +1,5 @@ -MD5 (shared-mime-info-0.21.tar.bz2) = 4ZZeEppHNoO6OV68AiBjZw== -RMD160 (shared-mime-info-0.21.tar.bz2) = IJ0Whgd6Q6vCCQLwiHEknBHG4n0= -SHA1 (shared-mime-info-0.21.tar.bz2) = WxuDS+ZZWidEZ2avCkEgOM7k+H4= -SHA256 (shared-mime-info-0.21.tar.bz2) = E1o2o9ixR0KlafT8P6fFG3CfZ28arVadbw5sDu32EhQ= -SIZE (shared-mime-info-0.21.tar.bz2) = 439533 +MD5 (shared-mime-info-0.22.tar.bz2) = s7S0XvP3b3IP0MOJ8THdTA== +RMD160 (shared-mime-info-0.22.tar.bz2) = /fLA0X5E9LXRicaKaJOojqtgd4w= +SHA1 (shared-mime-info-0.22.tar.bz2) = 0G5ZFXvsGzMV41vJJrVvcSUygqQ= +SHA256 (shared-mime-info-0.22.tar.bz2) = 2TPKolyqzVfcizf2jSIqzsO6PJ0HaCjTTwBkmfYwH7I= +SIZE (shared-mime-info-0.22.tar.bz2) = 417120 diff --git a/misc/shared-mime-info/patches/patch-Makefile_in b/misc/shared-mime-info/patches/patch-Makefile_in index cb5b1d2fc57..85c24632fcd 100644 --- a/misc/shared-mime-info/patches/patch-Makefile_in +++ b/misc/shared-mime-info/patches/patch-Makefile_in @@ -1,7 +1,7 @@ -$OpenBSD: patch-Makefile_in,v 1.4 2007/04/22 20:41:13 jasper Exp $ ---- Makefile.in.orig Wed Apr 18 11:45:03 2007 -+++ Makefile.in Sun Apr 22 21:36:49 2007 -@@ -274,7 +274,7 @@ EXTRA_DIST = \ +$OpenBSD: patch-Makefile_in,v 1.5 2007/09/13 17:56:23 jasper Exp $ +--- Makefile.in.orig Mon Jul 30 11:39:03 2007 ++++ Makefile.in Mon Sep 10 22:37:42 2007 +@@ -275,7 +275,7 @@ EXTRA_DIST = \ CLEANFILES = freedesktop.org.xml po/stamp-it DISTCLEANFILES = intltool-extract intltool-merge intltool-update diff --git a/misc/shared-mime-info/pkg/PLIST b/misc/shared-mime-info/pkg/PLIST index 186e0e50617..63b3cb36442 100644 --- a/misc/shared-mime-info/pkg/PLIST +++ b/misc/shared-mime-info/pkg/PLIST @@ -1,9 +1,56 @@ -@comment $OpenBSD: PLIST,v 1.8 2007/04/22 20:41:13 jasper Exp $ +@comment $OpenBSD: PLIST,v 1.9 2007/09/13 17:56:23 jasper Exp $ bin/update-mime-database lib/pkgconfig/ lib/pkgconfig/shared-mime-info.pc -locale/ @man man/man1/update-mime-database.1 +share/locale/az/ +share/locale/az/LC_MESSAGES/ +share/locale/az/LC_MESSAGES/shared-mime-info.mo +share/locale/bg/LC_MESSAGES/shared-mime-info.mo +share/locale/ca/LC_MESSAGES/shared-mime-info.mo +share/locale/cs/LC_MESSAGES/shared-mime-info.mo +share/locale/cy/ +share/locale/cy/LC_MESSAGES/ +share/locale/cy/LC_MESSAGES/shared-mime-info.mo +share/locale/da/LC_MESSAGES/shared-mime-info.mo +share/locale/de/LC_MESSAGES/shared-mime-info.mo +share/locale/el/LC_MESSAGES/shared-mime-info.mo +share/locale/eo/LC_MESSAGES/shared-mime-info.mo +share/locale/es/LC_MESSAGES/shared-mime-info.mo +share/locale/eu/ +share/locale/eu/LC_MESSAGES/ +share/locale/eu/LC_MESSAGES/shared-mime-info.mo +share/locale/fi/LC_MESSAGES/shared-mime-info.mo +share/locale/fr/LC_MESSAGES/shared-mime-info.mo +share/locale/hu/LC_MESSAGES/shared-mime-info.mo +share/locale/it/LC_MESSAGES/shared-mime-info.mo +share/locale/ja/LC_MESSAGES/shared-mime-info.mo +share/locale/ko/LC_MESSAGES/shared-mime-info.mo +share/locale/lt/ +share/locale/lt/LC_MESSAGES/ +share/locale/lt/LC_MESSAGES/shared-mime-info.mo +share/locale/ms/ +share/locale/ms/LC_MESSAGES/ +share/locale/ms/LC_MESSAGES/shared-mime-info.mo +share/locale/nb/LC_MESSAGES/shared-mime-info.mo +share/locale/nl/LC_MESSAGES/shared-mime-info.mo +share/locale/nn/LC_MESSAGES/shared-mime-info.mo +share/locale/pl/LC_MESSAGES/shared-mime-info.mo +share/locale/pt/LC_MESSAGES/shared-mime-info.mo +share/locale/pt_BR/LC_MESSAGES/shared-mime-info.mo +share/locale/ru/LC_MESSAGES/shared-mime-info.mo +share/locale/rw/ +share/locale/rw/LC_MESSAGES/ +share/locale/rw/LC_MESSAGES/shared-mime-info.mo +share/locale/sq/ +share/locale/sq/LC_MESSAGES/ +share/locale/sq/LC_MESSAGES/shared-mime-info.mo +share/locale/sr/LC_MESSAGES/shared-mime-info.mo +share/locale/sv/LC_MESSAGES/shared-mime-info.mo +share/locale/uk/LC_MESSAGES/shared-mime-info.mo +share/locale/vi/LC_MESSAGES/shared-mime-info.mo +share/locale/zh_CN/LC_MESSAGES/shared-mime-info.mo +share/locale/zh_TW/LC_MESSAGES/shared-mime-info.mo share/mime/ share/mime/XMLnamespaces share/mime/aliases @@ -29,6 +76,7 @@ share/mime/application/pkcs10.xml share/mime/application/pkcs7-mime.xml share/mime/application/pkcs7-signature.xml share/mime/application/postscript.xml +share/mime/application/prs.plucker.xml share/mime/application/ram.xml share/mime/application/rss+xml.xml share/mime/application/rtf.xml @@ -78,6 +126,7 @@ share/mime/application/vnd.sun.xml.math.xml share/mime/application/vnd.sun.xml.writer.global.xml share/mime/application/vnd.sun.xml.writer.template.xml share/mime/application/vnd.sun.xml.writer.xml +share/mime/application/vnd.symbian.install.xml share/mime/application/vnd.wordperfect.xml share/mime/application/x-7z-compressed.xml share/mime/application/x-abiword.xml @@ -204,7 +253,7 @@ share/mime/application/x-n64-rom.xml share/mime/application/x-nautilus-link.xml share/mime/application/x-nes-rom.xml share/mime/application/x-netcdf.xml -share/mime/application/x-netscape-bookmarks.xml +share/mime/application/x-nintendo-ds-rom.xml share/mime/application/x-object.xml share/mime/application/x-ole-storage.xml share/mime/application/x-oleo.xml @@ -275,8 +324,10 @@ share/mime/audio/AMR.xml share/mime/audio/ac3.xml share/mime/audio/basic.xml share/mime/audio/midi.xml +share/mime/audio/mp2.xml share/mime/audio/mp4.xml share/mime/audio/mpeg.xml +share/mime/audio/ogg.xml share/mime/audio/prs.sid.xml share/mime/audio/vnd.rn-realaudio.xml share/mime/audio/x-adpcm.xml @@ -286,6 +337,7 @@ share/mime/audio/x-aiffc.xml share/mime/audio/x-ape.xml share/mime/audio/x-flac+ogg.xml share/mime/audio/x-flac.xml +share/mime/audio/x-iriver-pla.xml share/mime/audio/x-it.xml share/mime/audio/x-matroska.xml share/mime/audio/x-minipsf.xml @@ -301,6 +353,7 @@ share/mime/audio/x-riff.xml share/mime/audio/x-s3m.xml share/mime/audio/x-scpls.xml share/mime/audio/x-speex+ogg.xml +share/mime/audio/x-speex.xml share/mime/audio/x-stm.xml share/mime/audio/x-tta.xml share/mime/audio/x-voc.xml @@ -310,6 +363,7 @@ share/mime/audio/x-wavpack-correction.xml share/mime/audio/x-wavpack.xml share/mime/audio/x-xi.xml share/mime/audio/x-xm.xml +@comment no checksum share/mime/globs share/mime/image/ share/mime/image/bmp.xml @@ -342,6 +396,7 @@ share/mime/image/x-compressed-xcf.xml share/mime/image/x-dcraw.xml share/mime/image/x-dds.xml share/mime/image/x-dib.xml +share/mime/image/x-emf.xml share/mime/image/x-eps.xml share/mime/image/x-fits.xml share/mime/image/x-fpx.xml @@ -406,6 +461,7 @@ share/mime/message/news.xml share/mime/message/partial.xml share/mime/message/rfc822.xml share/mime/message/x-gnu-rmail.xml +@comment no checksum share/mime/mime.cache share/mime/model/ share/mime/model/vrml.xml @@ -421,6 +477,7 @@ share/mime/multipart/signed.xml share/mime/multipart/x-mixed-replace.xml share/mime/packages/ share/mime/packages/freedesktop.org.xml +@comment no checksum share/mime/subclasses share/mime/text/ share/mime/text/calendar.xml @@ -440,7 +497,9 @@ share/mime/text/spreadsheet.xml share/mime/text/tab-separated-values.xml share/mime/text/troff.xml share/mime/text/vnd.rn-realtext.xml +share/mime/text/vnd.sun.j2me.app-descriptor.xml share/mime/text/vnd.wap.wml.xml +share/mime/text/vnd.wap.wmlscript.xml share/mime/text/x-adasrc.xml share/mime/text/x-authors.xml share/mime/text/x-bibtex.xml @@ -457,6 +516,7 @@ share/mime/text/x-dsl.xml share/mime/text/x-dsrc.xml share/mime/text/x-dtd.xml share/mime/text/x-emacs-lisp.xml +share/mime/text/x-erlang.xml share/mime/text/x-fortran.xml share/mime/text/x-gettext-translation-template.xml share/mime/text/x-gettext-translation.xml @@ -506,6 +566,7 @@ share/mime/video/dv.xml share/mime/video/isivideo.xml share/mime/video/mp4.xml share/mime/video/mpeg.xml +share/mime/video/ogg.xml share/mime/video/quicktime.xml share/mime/video/vivo.xml share/mime/video/vnd.rn-realvideo.xml @@ -521,3 +582,6 @@ share/mime/video/x-nsv.xml share/mime/video/x-ogm+ogg.xml share/mime/video/x-sgi-movie.xml share/mime/video/x-theora+ogg.xml +share/mime/x-epoc/ +share/mime/x-epoc/x-sisx-app.xml +@exec %D/bin/update-mime-database %D/share/mime