From: Martin Jansa <martin.jansa@gmail.com>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [meta-oe 2/3] update-fonts.bbclass: remove - we now use oe-core's fontcache.bbclass Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Date: Mon, 11 Feb 2013 23:39:28 +0100 [thread overview]
Message-ID: <20130211223928.GC3300@jama> (raw)
In-Reply-To: <1360622110-15419-3-git-send-email-schnitzeltony@googlemail.com>
[-- Attachment #1: Type: text/plain, Size: 2335 bytes --]
Please add newline before SOB line, otherwise looks good.
On Mon, Feb 11, 2013 at 11:35:09PM +0100, Andreas Müller wrote:
> ---
> meta-oe/classes/update-fonts.bbclass | 40 ----------------------------------
> 1 files changed, 0 insertions(+), 40 deletions(-)
> delete mode 100644 meta-oe/classes/update-fonts.bbclass
>
> diff --git a/meta-oe/classes/update-fonts.bbclass b/meta-oe/classes/update-fonts.bbclass
> deleted file mode 100644
> index db2e814..0000000
> --- a/meta-oe/classes/update-fonts.bbclass
> +++ /dev/null
> @@ -1,40 +0,0 @@
> -
> -update_fonts_postinst() {
> - if [ -z "$D" ]; then
> - update-fonts
> - fi
> -}
> -
> -# the same but keep it separate for now
> -update_fonts_postrm() {
> - if [ -z "$D" ]; then
> - update-fonts
> - fi
> -}
> -
> -python populate_packages_append () {
> - update_fonts_pkgs = d.getVar('UPDATE_FONTS_PACKAGES', True).split()
> -
> - for pkg in update_fonts_pkgs:
> - postinst = d.getVar('pkg_postinst_%s' % pkg, True) or d.getVar('pkg_postinst', True)
> - if not postinst:
> - postinst = '#!/bin/sh\n'
> - postinst += d.getVar('update_fonts_postinst', True)
> - d.setVar('pkg_postinst_%s' % pkg, postinst)
> -
> - postrm = d.getVar('pkg_postrm_%s' % pkg, True) or d.getVar('pkg_postrm', True)
> - if not postrm:
> - postrm = '#!/bin/sh\n'
> - postrm += d.getVar('update_fonts_postrm', True)
> - d.setVar('pkg_postrm_%s' % pkg, postrm)
> -
> - d.appendVar('RDEPENDS_%s' % pkg, ' font-update-common')
> -}
> -
> -python __anonymous() {
> - if not bb.data.inherits_class('native', d) and not bb.data.inherits_class('cross', d):
> - updatefonts_check = d.getVar('UPDATE_FONTS_PACKAGES')
> - if not updatefonts_check:
> - bb_filename = d.getVar('FILE')
> - raise bb.build.FuncFailed, "\n\n\nERROR: %s inherits update-fonts but doesn't set UPDATE_FONTS_PACKAGES" % bb_filename
> -}
> --
> 1.7.4.4
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]
next prev parent reply other threads:[~2013-02-11 22:55 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-11 22:35 [meta-oe 0/3] replace meta-oe's update-fonts.bbclass by oe-core's fontcache.bbclass Andreas Müller
2013-02-11 22:35 ` [meta-oe 1/3] ttf-fonts: inherit oe-core's fontcache.bbclass instead of update-fonts Andreas Müller
2013-02-11 22:35 ` [meta-oe 2/3] update-fonts.bbclass: remove - we now use oe-core's fontcache.bbclass Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> Andreas Müller
2013-02-11 22:39 ` Martin Jansa [this message]
2013-02-11 22:35 ` [meta-oe 3/3] font-update-common: remove Andreas Müller
2013-02-16 18:33 ` [meta-oe 0/3] replace meta-oe's update-fonts.bbclass by oe-core's fontcache.bbclass Martin Jansa
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=20130211223928.GC3300@jama \
--to=martin.jansa@gmail.com \
--cc=openembedded-devel@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