From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1HHQXp-0002a2-5k for mharc-grub-devel@gnu.org; Wed, 14 Feb 2007 15:16:01 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HHQXn-0002Yo-74 for grub-devel@gnu.org; Wed, 14 Feb 2007 15:15:59 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HHQXl-0002YN-Ph for grub-devel@gnu.org; Wed, 14 Feb 2007 15:15:58 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HHQXl-0002YG-Ky for grub-devel@gnu.org; Wed, 14 Feb 2007 15:15:57 -0500 Received: from [212.85.152.101] (helo=kotoba.storever.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1HHQXl-0004Or-Bh for grub-devel@gnu.org; Wed, 14 Feb 2007 15:15:57 -0500 Received: from kotoba.oasis.nexedi.com (kotoba.oasis.nexedi.com [212.85.152.101]) by kotoba.storever.com (Postfix) with ESMTP id 53E8D3CDCA0C3 for ; Thu, 15 Feb 2007 00:40:43 +0100 (CET) Received: from [??1] (localhost [127.0.0.1]) by kotoba.storever.com (Postfix) with ESMTP id 2DC2E3CDCA0B8 for ; Thu, 15 Feb 2007 00:40:43 +0100 (CET) From: "Yoshinori K. Okuji" Organization: enbug.org To: The development of GRUB 2 Date: Wed, 14 Feb 2007 21:15:55 +0100 User-Agent: KMail/1.8.2 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-6" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200702142115.56055.okuji@enbug.org> X-Bogosity: No, tests=bogofilter, spamicity=0.244740, version=0.17.2 X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) Subject: Re: External library X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Feb 2007 20:15:59 -0000 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