Pete Batard | 873c65b | 2012-08-01 17:43:33 +0100 | [diff] [blame] | 1 | Notes related to git compilation: |
| 2 | -------------------------------- |
| 3 | |
hjelmn@cs.unm.edu | 1eff220 | 2014-01-08 23:50:34 +0000 | [diff] [blame^] | 4 | If you retrieved the libusb repository from git and are using a gcc based |
Pete Batard | 873c65b | 2012-08-01 17:43:33 +0100 | [diff] [blame] | 5 | toolchain, be mindful that you should have the autotools installed (autoconf, |
| 6 | automake) and will need to run either ./autogen.sh or ./bootstrap.sh to produce |
| 7 | the configure file. |
| 8 | |
| 9 | The difference between autogen.sh and bootstrap.sh is that the former invokes |
| 10 | configure with a default set of options, and will therefore generate a Makefile, |
| 11 | whereas the latter does not invoke configure at all. If using autogen.sh, note |
| 12 | that you can also append options, that will be passed as is to configure. |
| 13 | |
Sean McBride | a3b92f8 | 2012-10-12 15:04:03 -0400 | [diff] [blame] | 14 | OS X-specific notes: |
| 15 | ------------------- |
| 16 | |
| 17 | Starting with Xcode 4.3, neither Xcode.app nor the Xcode 'command line tools' |
| 18 | includes autotools and so running either autogen.sh or bootstrap.sh will result |
| 19 | in the message: |
| 20 | |
| 21 | libtoolize or glibtoolize was not found! Please install libtool. |
| 22 | |
| 23 | To proceed, you must find and install it from somewhere. |
| 24 | |
hjelmn@cs.unm.edu | 1eff220 | 2014-01-08 23:50:34 +0000 | [diff] [blame^] | 25 | Alternatively, you can use the Xcode project at Xcode/libusb.xcodeproj. |
Pete Batard | 873c65b | 2012-08-01 17:43:33 +0100 | [diff] [blame] | 26 | |
| 27 | Notes related to submitting new developments: |
| 28 | -------------------------------------------- |
| 29 | |
hjelmn@cs.unm.edu | 1eff220 | 2014-01-08 23:50:34 +0000 | [diff] [blame^] | 30 | If you submit a new development to libusb (eg: new backend), that is unlikely |
Pete Batard | 873c65b | 2012-08-01 17:43:33 +0100 | [diff] [blame] | 31 | to fit in a couple of small patches, we would kindly suggest that you create a |
| 32 | public account on github, if you don't have one already, and then fork a new |
hjelmn@cs.unm.edu | 1eff220 | 2014-01-08 23:50:34 +0000 | [diff] [blame^] | 33 | libusb repository under this account from https://github.com/libusb/libusb. |
Pete Batard | 873c65b | 2012-08-01 17:43:33 +0100 | [diff] [blame] | 34 | |
| 35 | Then you can create a git branch for your work, that we will be able to better |
| 36 | reference and test. |
| 37 | |
| 38 | We also suggest that, if you are planning to bring in a large development, you |
hjelmn@cs.unm.edu | 1eff220 | 2014-01-08 23:50:34 +0000 | [diff] [blame^] | 39 | try to involve the libusb community early by letting the mailing list know, as |
Pete Batard | 873c65b | 2012-08-01 17:43:33 +0100 | [diff] [blame] | 40 | you may find that other people might be eager to help you out. |
hjelmn@cs.unm.edu | 1eff220 | 2014-01-08 23:50:34 +0000 | [diff] [blame^] | 41 | See http://mailing-list.libusb.info for details on how to join the mailing list. |