[haiku-bugs] Re: [Haiku] #11518: Implement BFont::Blocks

  • From: "pulkomandy" <trac@xxxxxxxxxxxx>
  • Date: Mon, 01 Dec 2014 08:06:28 -0000

#11518: Implement BFont::Blocks
--------------------------------+------------------------------------------
   Reporter:  dsizzle           |      Owner:  axeld
       Type:  enhancement       |     Status:  new
   Priority:  normal            |  Milestone:  R1
  Component:  Kits/Interface    |    Version:  R1/Development
  Kit                           |   Keywords:  bfont, blocks, font, unicode
 Resolution:                    |   Blocking:  3651
 Blocked By:                    |   Platform:  All
Has a Patch:  0                 |
--------------------------------+------------------------------------------

Comment (by pulkomandy):

 Hi,
 Right, this part is a bit more complex.

 There seem to be only a gcc4 version of fontconfig available in the
 repository, so first we need to get a gcc2 version of it if we want to use
 it. I will look into this since it is not possible for you to upload
 packages without commit access.

 Then, you need a build feature (in {{{build/jam/BuildFeatures}}} to make
 it possible for jam targets to depend on the package.

 Finally, either the interface kit or the app_server (depending on how the
 feature is implemented) will need to use that build feature. This is done
 for example in src/servers/app/Jamfile:
 {{{
 UseBuildFeatureHeaders freetype ;
 }}}

 Once this is done you can reference parts of the package, for example the
 library:
 {{{
 [ BuildFeatureAttribute freetype : library ]
 }}}
 (this expands to libfreetype.so with the correct path).
 BuildFeatureAttribute can be used the same way to get the header
 directories, or any other file you need from the package.

--
Ticket URL: <https://dev.haiku-os.org/ticket/11518#comment:5>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: