summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMart Raudsepp <leio@gentoo.org>2008-03-24 01:16:58 +0000
committerMart Raudsepp <leio@gentoo.org>2008-03-24 01:16:58 +0000
commit222917ab5cc57da9683a1828dbd4d386a30d2bb1 (patch)
treeed903c2f4178cd39e256fc1d48f3aabc5eec9edd /x11-misc
parentMarked stable on amd64 for bug #214322 (diff)
downloadgentoo-2-222917ab5cc57da9683a1828dbd4d386a30d2bb1.tar.gz
gentoo-2-222917ab5cc57da9683a1828dbd4d386a30d2bb1.tar.bz2
gentoo-2-222917ab5cc57da9683a1828dbd4d386a30d2bb1.zip
Include x-content/* in media_types to not warn about them with GNOME-2.22
(Portage version: 2.1.4.4)
Diffstat (limited to 'x11-misc')
-rw-r--r--x11-misc/shared-mime-info/ChangeLog9
-rw-r--r--x11-misc/shared-mime-info/files/shared-mime-info-0.23-ignore-x-content.patch13
-rw-r--r--x11-misc/shared-mime-info/shared-mime-info-0.23-r1.ebuild43
3 files changed, 64 insertions, 1 deletions
diff --git a/x11-misc/shared-mime-info/ChangeLog b/x11-misc/shared-mime-info/ChangeLog
index 529f6792fe0d..6cb0f8f0ad56 100644
--- a/x11-misc/shared-mime-info/ChangeLog
+++ b/x11-misc/shared-mime-info/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for x11-misc/shared-mime-info
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/shared-mime-info/ChangeLog,v 1.119 2008/03/22 09:22:42 drac Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/shared-mime-info/ChangeLog,v 1.120 2008/03/24 01:16:57 leio Exp $
+
+*shared-mime-info-0.23-r1 (24 Mar 2008)
+
+ 24 Mar 2008; Mart Raudsepp <leio@gentoo.org>
+ +files/shared-mime-info-0.23-ignore-x-content.patch,
+ +shared-mime-info-0.23-r1.ebuild:
+ Include x-content/* in media_types to not warn about them with GNOME-2.22
22 Mar 2008; Samuli Suominen <drac@gentoo.org>
-shared-mime-info-0.22.ebuild, shared-mime-info-0.23.ebuild:
diff --git a/x11-misc/shared-mime-info/files/shared-mime-info-0.23-ignore-x-content.patch b/x11-misc/shared-mime-info/files/shared-mime-info-0.23-ignore-x-content.patch
new file mode 100644
index 000000000000..1ed84ccc9c8a
--- /dev/null
+++ b/x11-misc/shared-mime-info/files/shared-mime-info-0.23-ignore-x-content.patch
@@ -0,0 +1,13 @@
+Patch retrieved from http://webcvs.freedesktop.org/mime/shared-mime-info/update-mime-database.c?r1=1.44&r2=1.45&view=patch
+Original bug report with patch: http://bugs.freedesktop.org/show_bug.cgi?id=14362
+
+--- update-mime-database.c 2007/06/27 19:46:53 1.44
++++ update-mime-database.c 2008/02/21 15:19:35 1.45
+@@ -53,6 +53,7 @@
+ "message",
+ "model",
+ "multipart",
++ "x-content",
+ "x-epoc",
+ };
+
diff --git a/x11-misc/shared-mime-info/shared-mime-info-0.23-r1.ebuild b/x11-misc/shared-mime-info/shared-mime-info-0.23-r1.ebuild
new file mode 100644
index 000000000000..8657ac9c39fb
--- /dev/null
+++ b/x11-misc/shared-mime-info/shared-mime-info-0.23-r1.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/shared-mime-info/shared-mime-info-0.23-r1.ebuild,v 1.1 2008/03/24 01:16:57 leio Exp $
+
+inherit fdo-mime eutils
+
+DESCRIPTION="The Shared MIME-info Database specification"
+HOMEPAGE="http://freedesktop.org/wiki/Software/shared-mime-info"
+SRC_URI="http://www.freedesktop.org/~hadess/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
+IUSE=""
+
+RDEPEND=">=dev-libs/glib-2.3.2
+ >=dev-libs/libxml2-2.4"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig
+ dev-util/intltool
+ sys-devel/gettext"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ # Fix warning spew from x-content/*, used by GNOME-2.22
+ epatch "${FILESDIR}/${P}-ignore-x-content.patch"
+}
+
+src_compile() {
+ econf --disable-update-mimedb
+ emake || die "emake failed."
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed."
+ dodoc ChangeLog HACKING NEWS README
+}
+
+pkg_postinst() {
+ fdo-mime_mime_database_update
+}