[haiku-bluetooth] [PATCH] Bluetooth Optional Package

  • From: Andreas Färber <andreas.faerber@xxxxxx>
  • To: haiku-bluetooth@xxxxxxxxxxxxx
  • Date: Thu, 22 May 2008 14:43:53 +0200

Hello Oliver et al.,

I took a look at Adrien's patch and reworked it a little. Instead of making local changes to HaikuImage, I have created a Bluetooth Optional Package, so that it could be committed and all the user has to do is:
AddOptionalHaikuImagePackages Bluetooth ;
in UserBuildConfig.

The patch integrates the bluetooth directories and the bt_dev_info command into the Jam build system, just like Adrien's patch did. It defines an Optional Package consisting of h2generic, bluetooth_server, libbluetooth.so, bt_dev_info and, if the Development package is installed as well, a symlink for libbluetooth.so.

I have checked that Haiku builds fine with the Jamfile changes and with the Optional Package not added, so that part should hopefully be okay to commit.

Be sure to use r25606 or later, or apply the following patch as well:
http://dev.haiku-os.org/ticket/2248

Andreas

P.S. Note that for "technical reasons" my attached patch contains an unrelated change for freetype in the Development Optional Package. ;)



Other related posts: