All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Yoshinori K. Okuji" <okuji@enbug.org>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: External library
Date: Wed, 14 Feb 2007 21:15:55 +0100	[thread overview]
Message-ID: <200702142115.56055.okuji@enbug.org> (raw)
In-Reply-To: <aaf291150702131438g37a8f250g888f10f2601956fb@mail.gmail.com>

On Tuesday 13 February 2007 23:38, Jason Morganson wrote:
> I was wondering what the group thinks about the use of external libraries
> in GRUB. Is is acceptable to add this kind of dependency?

If the dependency is reasonable, and if no license/copyright problem exists, 
yes.

> Would it be 
> alright to say... add a configure option to compile in support for the
> Freetype library?

First I would like to know why you are interested in using FreeType in GRUB.

> If so what is the proper way that you would like this to 
> be done, are conditional code blocks enough isolation of the outside code?
> Also, is it possible to do initialization in the GRUB_MOD_INIT macro or is
> there a better place to do this?

That depends. Say, if you load a module, but not really use it, then it is 
better to initialize the module later, for example, when a function in the 
library is used at the first time. If you load and use it all the time, then 
there is no reason to delay the initialization. This is not so specific to 
GRUB.

Thanks,
Okuji



  reply	other threads:[~2007-02-14 20:16 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-13 22:38 External library Jason Morganson
2007-02-14 20:15 ` Yoshinori K. Okuji [this message]
2007-02-16 17:16   ` Vesa Jääskeläinen

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=200702142115.56055.okuji@enbug.org \
    --to=okuji@enbug.org \
    --cc=grub-devel@gnu.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.