Blame README.git

Packit 0a8e54
Notes related to git compilation:
Packit 0a8e54
--------------------------------
Packit 0a8e54
Packit 0a8e54
If you retrieved the libusb repository from git and are using a gcc based
Packit 0a8e54
toolchain, be mindful that you should have the autotools installed (autoconf,
Packit 0a8e54
automake) and will need to run either ./autogen.sh or ./bootstrap.sh to produce
Packit 0a8e54
the configure file.
Packit 0a8e54
Packit 0a8e54
The difference between autogen.sh and bootstrap.sh is that the former invokes
Packit 0a8e54
configure with a default set of options, and will therefore generate a Makefile,
Packit 0a8e54
whereas the latter does not invoke configure at all. If using autogen.sh, note
Packit 0a8e54
that you can also append options, that will be passed as is to configure.
Packit 0a8e54
Packit 0a8e54
OS X-specific notes:
Packit 0a8e54
-------------------
Packit 0a8e54
Packit 0a8e54
Starting with Xcode 4.3, neither Xcode.app nor the Xcode 'command line tools'
Packit 0a8e54
includes autotools and so running either autogen.sh or bootstrap.sh will result
Packit 0a8e54
in the message:
Packit 0a8e54
Packit 0a8e54
libtoolize or glibtoolize was not found! Please install libtool.
Packit 0a8e54
Packit 0a8e54
To proceed, you must find and install it from somewhere.
Packit 0a8e54
Packit 0a8e54
Alternatively, you can use the Xcode project at Xcode/libusb.xcodeproj.
Packit 0a8e54
Packit 0a8e54
Notes related to submitting new developments:
Packit 0a8e54
--------------------------------------------
Packit 0a8e54
Packit 0a8e54
If you submit a new development to libusb (eg: new backend), that is unlikely
Packit 0a8e54
to fit in a couple of small patches, we would kindly suggest that you create a
Packit 0a8e54
public account on github, if you don't have one already, and then fork a new
Packit 0a8e54
libusb repository under this account from https://github.com/libusb/libusb.
Packit 0a8e54
Packit 0a8e54
Then you can create a git branch for your work, that we will be able to better
Packit 0a8e54
reference and test. 
Packit 0a8e54
Packit 0a8e54
We also suggest that, if you are planning to bring in a large development, you
Packit 0a8e54
try to involve the libusb community early by letting the mailing list know, as
Packit 0a8e54
you may find that other people might be eager to help you out. 
Packit 0a8e54
See http://mailing-list.libusb.info for details on how to join the mailing list.