Hi,

- removed quotes around comment
- this update fix locales for us
- don't hardcode `/usr/local'
- add 3 `no checksum' comments to plist
- add only exec to plist, thanks to `no checksum' comments,
  no unexec line as files regenerated should be removed
  when package goes away

If you will have any partial-shared-mime-info-* package in the future
*after* updating attached version please let me know. Right now
update of package created from -current port can produce partial
shared-mime-info package.


ChangeLog for version 0.22
 http://webcvs.freedesktop.org/mime/shared-mime-info/ChangeLog?revision=1.351

-- 
best regards
q#
diff -xCVS -ruN misc/shared-mime-info/Makefile 
mystuff/misc/shared-mime-info/Makefile
--- misc/shared-mime-info/Makefile      Sun Apr 22 22:01:20 2007
+++ mystuff/misc/shared-mime-info/Makefile      Mon Sep 10 23:31:52 2007
@@ -1,9 +1,8 @@
 # $OpenBSD: Makefile,v 1.16 2007/04/22 21:01:20 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 @@
 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 <bsd.port.mk>
diff -xCVS -ruN misc/shared-mime-info/distinfo 
mystuff/misc/shared-mime-info/distinfo
--- misc/shared-mime-info/distinfo      Sun Apr 22 21:41:13 2007
+++ mystuff/misc/shared-mime-info/distinfo      Mon Sep 10 22:37:18 2007
@@ -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 -xCVS -ruN misc/shared-mime-info/patches/patch-Makefile_in 
mystuff/misc/shared-mime-info/patches/patch-Makefile_in
--- misc/shared-mime-info/patches/patch-Makefile_in     Sun Apr 22 21:41:13 2007
+++ mystuff/misc/shared-mime-info/patches/patch-Makefile_in     Mon Sep 10 
22:40:55 2007
@@ -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 = \
+--- 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 -xCVS -ruN misc/shared-mime-info/patches/patch-update-mime-database_c 
mystuff/misc/shared-mime-info/patches/patch-update-mime-database_c
--- misc/shared-mime-info/patches/patch-update-mime-database_c  Thu Jan  1 
01:00:00 1970
+++ mystuff/misc/shared-mime-info/patches/patch-update-mime-database_c  Mon Sep 
10 22:41:00 2007
@@ -0,0 +1,12 @@
+$OpenBSD$
+--- update-mime-database.c.orig        Wed Jun 27 20:46:53 2007
++++ update-mime-database.c     Mon Sep 10 22:40:37 2007
+@@ -1510,7 +1510,7 @@ static void check_in_path_xdg_data(const char *mime_pa
+ 
+       env = getenv("XDG_DATA_DIRS");
+       if (!env)
+-              env = "/usr/local/share/"PATH_SEPARATOR"/usr/share/";
++              env = "/usr/local/share/"PATH_SEPARATOR"/var/db/gnome/";
+       dirs = g_strsplit(env, PATH_SEPARATOR, 0);
+       g_return_if_fail(dirs != NULL);
+       for (n = 0; dirs[n]; n++)
diff -xCVS -ruN misc/shared-mime-info/pkg/PLIST 
mystuff/misc/shared-mime-info/pkg/PLIST
--- misc/shared-mime-info/pkg/PLIST     Sun Apr 22 21:41:13 2007
+++ mystuff/misc/shared-mime-info/pkg/PLIST     Mon Sep 10 23:43:48 2007
@@ -2,8 +2,55 @@
 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/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.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-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/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-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-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.xml
 share/mime/audio/x-xi.xml
 share/mime/audio/x-xm.xml
[EMAIL PROTECTED] no checksum
 share/mime/globs
 share/mime/image/
 share/mime/image/bmp.xml
@@ -342,6 +396,7 @@
 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/partial.xml
 share/mime/message/rfc822.xml
 share/mime/message/x-gnu-rmail.xml
[EMAIL PROTECTED] no checksum
 share/mime/mime.cache
 share/mime/model/
 share/mime/model/vrml.xml
@@ -421,6 +477,7 @@
 share/mime/multipart/x-mixed-replace.xml
 share/mime/packages/
 share/mime/packages/freedesktop.org.xml
[EMAIL PROTECTED] no checksum
 share/mime/subclasses
 share/mime/text/
 share/mime/text/calendar.xml
@@ -440,7 +497,9 @@
 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-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/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-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
[EMAIL PROTECTED] %D/bin/update-mime-database %D/share/mime

Reply via email to