From: Khem Raj <raj.khem@gmail.com>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH] shared-mime-info: Upgrade recipes from 0.90 -> 0.91
Date: Wed, 5 Oct 2011 12:46:12 -0700 [thread overview]
Message-ID: <1317843972-4213-1-git-send-email-raj.khem@gmail.com> (raw)
The parallel build problems are solved upstream therefore removed
License file has been corrected to use 'GNU Lesser GPL' instead of
'GNU library GPL' and some indentation changes
The license is LGPLv2+ therefore mark it so
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
.../files/fix-parallel-build-backport.patch | 26 ---------------
.../files/fix-parallel-build.patch | 33 --------------------
.../shared-mime-info/shared-mime-info.inc | 6 ++--
.../shared-mime-info/shared-mime-info_0.90.bb | 8 -----
.../shared-mime-info/shared-mime-info_0.91.bb | 6 +++
5 files changed, 9 insertions(+), 70 deletions(-)
delete mode 100644 meta/recipes-support/shared-mime-info/files/fix-parallel-build-backport.patch
delete mode 100644 meta/recipes-support/shared-mime-info/files/fix-parallel-build.patch
delete mode 100644 meta/recipes-support/shared-mime-info/shared-mime-info_0.90.bb
create mode 100644 meta/recipes-support/shared-mime-info/shared-mime-info_0.91.bb
diff --git a/meta/recipes-support/shared-mime-info/files/fix-parallel-build-backport.patch b/meta/recipes-support/shared-mime-info/files/fix-parallel-build-backport.patch
deleted file mode 100644
index a78e6a8..0000000
--- a/meta/recipes-support/shared-mime-info/files/fix-parallel-build-backport.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-Backport fix for https://bugs.freedesktop.org/show_bug.cgi?id=32127
-
-Upstream-Status: Inappropriate [Backport]
-
-Signed-off-by: Khem Raj <raj.khem@gmail.com>
-
-From 68e31f61f5e50e5222bc05437d1123e932922796 Mon Sep 17 00:00:00 2001
-From: Samuli Suominen <ssuominen@gentoo.org>
-Date: Mon, 06 Dec 2010 19:46:57 +0000
-Subject: Fix parallel build
-
-https://bugs.freedesktop.org/show_bug.cgi?id=32127
----
-Index: shared-mime-info-0.90/Makefile.am
-===================================================================
---- shared-mime-info-0.90.orig/Makefile.am 2011-05-25 15:50:18.000000000 -0700
-+++ shared-mime-info-0.90/Makefile.am 2011-05-25 15:50:45.153489305 -0700
-@@ -72,7 +72,7 @@
- create-pot:
- $(MAKE) -C po shared-mime-info.pot
-
--check: freedesktop.org.xml check-translations
-+check: create-pot freedesktop.org.xml check-translations
- if test -n $(XMLLINT) ; then \
- if test -e $(top_builddir)/freedesktop.org.xml; then \
- xmllint --noout --valid $(top_builddir)/freedesktop.org.xml; \
diff --git a/meta/recipes-support/shared-mime-info/files/fix-parallel-build.patch b/meta/recipes-support/shared-mime-info/files/fix-parallel-build.patch
deleted file mode 100644
index ea8b05e..0000000
--- a/meta/recipes-support/shared-mime-info/files/fix-parallel-build.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-the check rule will trigger a weird dependency issue in automake,
-it's possible that update-mime-database are invoked simultaneously in
-two different threads at the same time.
-
-As a workaround, revert it to the logic in 0.80
-
-Upstream-Status: Inappropriate [workaround]
-
-Signed-off-by: qing He <qing.he@intel.com>
-
-diff --git a/Makefile.am b/Makefile.am
-index 1a887bc..9df581e 100644
---- a/Makefile.am
-+++ b/Makefile.am
-@@ -72,7 +72,7 @@ uninstall-hook:
- create-pot:
- $(MAKE) -C po shared-mime-info.pot
-
--check: freedesktop.org.xml update-mime-database check-translations
-+check: freedesktop.org.xml check-translations
- if test -n $(XMLLINT) ; then \
- if test -e $(top_builddir)/freedesktop.org.xml; then \
- xmllint --noout --valid $(top_builddir)/freedesktop.org.xml; \
-@@ -80,9 +80,6 @@ check: freedesktop.org.xml update-mime-database check-translations
- xmllint --noout --valid $(top_srcdir)/freedesktop.org.xml; \
- fi \
- fi
-- if test -d .git/ && test -x $(top_builddir)/update-mime-database && test -d $(top_srcdir)/mime-db-tests ; then \
-- $(top_builddir)/update-mime-database mime-db-tests/ ; \
-- fi
- if test -d .git/ && test -x ../xdgmime/src/test-mime-data && test -x $(top_builddir)/test-tree-magic ; then \
- mkdir -p $(top_builddir)/temp-mime-dir/mime/packages ; \
- cp -a $(top_builddir)/freedesktop.org.xml $(top_builddir)/temp-mime-dir/mime/packages/ ; \
diff --git a/meta/recipes-support/shared-mime-info/shared-mime-info.inc b/meta/recipes-support/shared-mime-info/shared-mime-info.inc
index 64eef9d..c8cab29 100644
--- a/meta/recipes-support/shared-mime-info/shared-mime-info.inc
+++ b/meta/recipes-support/shared-mime-info/shared-mime-info.inc
@@ -2,13 +2,13 @@ DESCRIPTION = "shared MIME database and spec"
HOMEPAGE = "http://freedesktop.org/wiki/Software/shared-mime-info"
SECTION = "base"
-LICENSE = "GPLv2+"
-LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3"
+LICENSE = "LGPLv2+"
+LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
DEPENDS = "libxml2 intltool-native glib-2.0 shared-mime-info-native"
DEPENDS_virtclass-native = "libxml2-native intltool-native glib-2.0-native"
-SRC_URI = "http://freedesktop.org/~hadess/shared-mime-info-${PV}.tar.bz2"
+SRC_URI = "http://freedesktop.org/~hadess/shared-mime-info-${PV}.tar.xz"
inherit autotools pkgconfig gettext
diff --git a/meta/recipes-support/shared-mime-info/shared-mime-info_0.90.bb b/meta/recipes-support/shared-mime-info/shared-mime-info_0.90.bb
deleted file mode 100644
index cbbd0fe..0000000
--- a/meta/recipes-support/shared-mime-info/shared-mime-info_0.90.bb
+++ /dev/null
@@ -1,8 +0,0 @@
-require shared-mime-info.inc
-PR = "r0"
-
-SRC_URI += "file://fix-parallel-build.patch \
- file://fix-parallel-build-backport.patch \
- "
-SRC_URI[md5sum] = "967d68d3890ba3994cfce3adf5b8f15b"
-SRC_URI[sha256sum] = "52c9f84a8c72de631a0458542980b1728560f59845eb5e93e1dbe825f4b72304"
diff --git a/meta/recipes-support/shared-mime-info/shared-mime-info_0.91.bb b/meta/recipes-support/shared-mime-info/shared-mime-info_0.91.bb
new file mode 100644
index 0000000..76d2756
--- /dev/null
+++ b/meta/recipes-support/shared-mime-info/shared-mime-info_0.91.bb
@@ -0,0 +1,6 @@
+require shared-mime-info.inc
+PR = "r0"
+
+SRC_URI[md5sum] = "982a211560ba4c47dc791ccff34e8fbc"
+SRC_URI[sha256sum] = "98cfebe1d809afb24934e634373821e2a1dfa86fc6462cab230589a1c80988bd"
+
--
1.7.5.4
next reply other threads:[~2011-10-05 19:51 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-05 19:46 Khem Raj [this message]
2011-10-10 9:07 ` [PATCH] shared-mime-info: Upgrade recipes from 0.90 -> 0.91 Richard Purdie
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1317843972-4213-1-git-send-email-raj.khem@gmail.com \
--to=raj.khem@gmail.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox