From: Saul Wold <sgw@linux.intel.com>
To: openembedded-core@lists.openembedded.org
Subject: [CONSOLIDATED PULL (v2) 19/33] shared-mime-info: package runtime data separately
Date: Wed, 9 Nov 2011 23:43:01 -0800 [thread overview]
Message-ID: <d6691d239a3e12eda77cb91bb784d1ca6af9bc85.1320910946.git.sgw@linux.intel.com> (raw)
In-Reply-To: <cover.1320910946.git.sgw@linux.intel.com>
In-Reply-To: <cover.1320910946.git.sgw@linux.intel.com>
From: Joshua Lock <josh@linux.intel.com>
The freedesktop.org.xml is required when updating the mime database but
otherwise not much use. Therefore package it separately, rather than
removing it completely, so that it can be used as required for on-device
updates without adding almost 2MB to every image which hase shared-mime-info.
Signed-off-by: Joshua Lock <josh@linux.intel.com>
---
.../shared-mime-info/shared-mime-info.inc | 9 ++++++---
.../shared-mime-info/shared-mime-info_0.91.bb | 2 +-
2 files changed, 7 insertions(+), 4 deletions(-)
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 c8cab29..57e829c 100644
--- a/meta/recipes-support/shared-mime-info/shared-mime-info.inc
+++ b/meta/recipes-support/shared-mime-info/shared-mime-info.inc
@@ -17,13 +17,16 @@ EXTRA_OECONF = "--disable-update-mimedb"
FILES_${PN} += "${datadir}/mime"
FILES_${PN}-dev += "${datadir}/pkgconfig/shared-mime-info.pc"
+# freedesktop.org.xml is only required when updating the mime database,
+# package it separately
+PACKAGES += "shared-mime-info-data"
+FILES_shared-mime-info-data = "${datadir}/mime/packages/freedesktop.org.xml"
+RDEPENDS_shared-mime-info-data = "shared-mime-info"
+
do_install () {
autotools_do_install
update-mime-database ${D}${datadir}/mime
-
- # we do not need it on device and it is huge
- rm ${D}${datadir}/mime/packages/freedesktop.org.xml
}
do_install_virtclass-native () {
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
index 0c3b01c..bc4a8f7 100644
--- 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
@@ -1,5 +1,5 @@
require shared-mime-info.inc
-PR = "r1"
+PR = "r2"
SRC_URI[md5sum] = "982a211560ba4c47dc791ccff34e8fbc"
SRC_URI[sha256sum] = "98cfebe1d809afb24934e634373821e2a1dfa86fc6462cab230589a1c80988bd"
--
1.7.6.4
next prev parent reply other threads:[~2011-11-10 7:49 UTC|newest]
Thread overview: 35+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-10 7:42 [CONSOLIDATED PULL (v2) 00/33] Loads of Change! Saul Wold
2011-11-10 7:42 ` [CONSOLIDATED PULL (v2) 01/33] local.conf.sample.extended: Fix bug 1674 Saul Wold
2011-11-10 7:42 ` [CONSOLIDATED PULL (v2) 02/33] libxml2: use Copyright in LIC_FILES_CHKSUM instead of COPYING Saul Wold
2011-11-10 7:42 ` [CONSOLIDATED PULL (v2) 03/33] Introduce new SERIAL_CONSOLES to add multiple consoles for your MACHINE Saul Wold
2011-11-10 7:42 ` [CONSOLIDATED PULL (v2) 04/33] libarchive: Remove obsolete comment and empty line at the end Saul Wold
2011-11-10 7:42 ` [CONSOLIDATED PULL (v2) 05/33] Distro_tracking: Update Manual Check Date Saul Wold
2011-11-10 7:42 ` [CONSOLIDATED PULL (v2) 06/33] libtasn1: update to 2.10 Saul Wold
2011-11-10 7:42 ` [CONSOLIDATED PULL (v2) 07/33] ncurses: refactor configure to avoid configuring widec when disabled Saul Wold
2011-11-10 7:42 ` [CONSOLIDATED PULL (v2) 08/33] python: bump PR Saul Wold
2011-11-10 7:42 ` [CONSOLIDATED PULL (v2) 09/33] lame: update to 3.99.1 Saul Wold
2011-11-10 7:42 ` [CONSOLIDATED PULL (v2) 10/33] kbd: import from meta-oe Saul Wold
2011-11-10 7:42 ` [CONSOLIDATED PULL (v2) 11/33] kbd: add RREPLACES/RCONFLICTS/RPROVIDES for upgradeable path from console-tools Saul Wold
2011-11-10 7:42 ` [CONSOLIDATED PULL (v2) 12/33] task-core-boot, keymaps: add another VIRTUAL-RUNTIME to allow distributions to use different set of initscripts or no initscripts at all Saul Wold
2011-11-10 7:42 ` [CONSOLIDATED PULL (v2) 13/33] keymaps: depend on kbd instead of console-tools Saul Wold
2011-11-10 7:42 ` [CONSOLIDATED PULL (v2) 14/33] task-core-x11: use VIRTUAL-RUNTIME variables for xserver_common and graphical_init_manager Saul Wold
2011-11-10 7:42 ` [CONSOLIDATED PULL (v2) 15/33] classes/package_rpm: disable uninstall scripts for upgrades Saul Wold
2011-11-10 7:42 ` [CONSOLIDATED PULL (v2) 16/33] busybox: add grep to temporary links during uninstall Saul Wold
2011-11-10 7:42 ` [CONSOLIDATED PULL (v2) 17/33] linux-yocto: config cleanups + romely rt support Saul Wold
2011-11-10 7:43 ` [CONSOLIDATED PULL (v2) 18/33] udev-extraconf: blacklist /dev/md Saul Wold
2011-11-10 7:43 ` Saul Wold [this message]
2011-11-10 7:43 ` [CONSOLIDATED PULL (v2) 20/33] classes/[gnome|gnomebase|mime]: enhance gnome related classes Saul Wold
2011-11-10 7:43 ` [CONSOLIDATED PULL (v2) 21/33] gconf: add upstream GNOME gconf 3.2.3 and drop gconf-dbus Saul Wold
2011-11-10 7:43 ` [CONSOLIDATED PULL (v2) 22/33] xinit: Fix `startx` looking for `mcookie` in sysroot Saul Wold
2011-11-10 7:43 ` [CONSOLIDATED PULL (v2) 23/33] useradd.bbclass: only modify packages in USERADD_PACKAGES Saul Wold
2011-11-10 7:43 ` [CONSOLIDATED PULL (v2) 24/33] useradd.bbclass: do not modify -nativesdk packages Saul Wold
2011-11-10 7:43 ` [CONSOLIDATED PULL (v2) 25/33] useradd-example.bb: update example documentation comments Saul Wold
2011-11-10 7:43 ` [CONSOLIDATED PULL (v2) 26/33] avahi: remove USERADDPN Saul Wold
2011-11-10 7:43 ` [CONSOLIDATED PULL (v2) 27/33] hacktastic patch to fix adduser under rpm Saul Wold
2011-11-10 7:43 ` [CONSOLIDATED PULL (v2) 28/33] bitbake.conf: Unload pseudo when its not required for a given task Saul Wold
2011-11-10 7:43 ` [CONSOLIDATED PULL (v2) 29/33] scripts/qemuimage-testlib: Output a slightly better error if expect is missing Saul Wold
2011-11-10 7:43 ` [CONSOLIDATED PULL (v2) 30/33] classes: Remove various bashisms Saul Wold
2011-11-10 7:43 ` [CONSOLIDATED PULL (v2) 31/33] Allow use of dash as /bin/sh Saul Wold
2011-11-10 7:43 ` [CONSOLIDATED PULL (v2) 32/33] qemu: Ensure an internal qemugl script uses bash as it has bashisms Saul Wold
2011-11-10 7:43 ` [CONSOLIDATED PULL (v2) 33/33] useradd: Add missing DEPEND on shadow Saul Wold
2011-11-10 12:14 ` [CONSOLIDATED PULL (v2) 00/33] Loads of Change! 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=d6691d239a3e12eda77cb91bb784d1ca6af9bc85.1320910946.git.sgw@linux.intel.com \
--to=sgw@linux.intel.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