Commit graph

315 commits

Author SHA1 Message Date
Romuald Conty
bedaf12b0e Fix releaser script according to the new sources tree. 2010-04-07 14:46:46 +00:00
Romain Tartiere
c7d77d7664 Rearrange source code. 2010-04-07 14:37:19 +00:00
Romuald Conty
be1639b452 Prepare libnfc 1.3.4 (ChangeLog) 2010-04-06 21:19:40 +00:00
Romain Tartiere
c4c7fa236a Attempt to be able to compile using manual makefile AND with CMake (missing parts from r332) 2010-04-06 17:55:12 +00:00
Romain Tartiere
09d2fff619 Add another missing CMakeLists.txt in autotooled tarball. 2010-04-03 12:06:50 +00:00
Romain Tartiere
22d4ea3207 Add missing CMakeLists.txt in autotooled tarball. 2010-04-03 12:03:24 +00:00
Romuald Conty
02a29920fc Prepare libnfc 1.3.4 2010-03-31 14:07:13 +00:00
Romuald Conty
d3796b6531 Attempt to be able to compile using manual makefile AND with CMake 2010-03-31 14:03:12 +00:00
Romuald Conty
12e4d3c822 Minor tweak in make_release.sh script 2010-03-31 13:54:31 +00:00
Romuald Conty
23f2adb433 Fix missing ";".
Pointy hat to Romain ;-)
2010-03-31 10:16:26 +00:00
Romuald Conty
a78cae1c15 Export ISO14443A CRC function. Thanks to Romain Tartière. 2010-03-31 10:09:06 +00:00
Romain Tartiere
667ba72dbd Strip CT (Cascade Tag) from UIDs in nfc_initiator_select_tag(). 2010-03-30 16:05:01 +00:00
Romuald Conty
1214f31d2c Fix CT (Cascade Tag) byte when using 10 bytes long UID. 2010-03-30 15:17:18 +00:00
Romuald Conty
85afbd40ca Fix nfc-types documentation. 2010-03-25 19:12:31 +00:00
Romuald Conty
ba5dbb05d5 Put an annoying message in debug mode only. 2010-03-25 14:55:28 +00:00
Romuald Conty
17dda85c71 Add README for Windows compilation using win32/Makefile.
Rename README-Windows.txt (compilation using CMake) into CMake-Windows.txt
2010-03-25 09:28:09 +00:00
Romuald Conty
b3c055fa5f Typo. 2010-03-25 09:03:41 +00:00
Romain Tartiere
f20a681315 Prevent the Windows installer from installing manual pages. 2010-03-23 10:00:48 +00:00
Romain Tartiere
f372104163 Fix build on Windows when using CMake (Tested on Windows XP SP3 with WinSDK 7) 2010-03-22 20:34:02 +00:00
Romain Tartiere
b3b3f47876 - Sync libnfc version in CMake with the one in the autotools;
- Only add gcc-specific options when using gcc.
2010-03-22 20:28:30 +00:00
Romuald Conty
c203ce837c Prevent from annoying message when probing nfc devices. 2010-03-11 14:42:58 +00:00
Romain Tartiere
e223b93d91 The obsolete function usleep(3) also needs _XOPEN_SOURCE >= 500. 2010-02-20 13:01:43 +00:00
Romuald Conty
738885cc1a Prepare 1.3.3 2010-02-17 15:02:03 +00:00
Romuald Conty
63262331c6 Suppress warnings due to unused variable. 2010-02-17 14:57:03 +00:00
Romuald Conty
d97d017853 Move variable declarations at the beginning of function body to be able to compile using a stupid^W non C99 conform compiler under a non standard OS... 2010-02-17 14:48:41 +00:00
Romain Tartiere
b67dbe668b Honour ctype(3) caveats section. 2010-02-17 14:36:33 +00:00
Romuald Conty
e0d8e80b76 Add _DARWIN_C_SOURCE define to activate all library features on MacOS 2010-02-17 14:12:38 +00:00
Romain Tartiere
9bafef8d88 Include pn53x.conf in libnfc tarballs since pn53x.rules is in it too. 2010-02-16 14:09:35 +00:00
Romain Tartiere
219d5657e8 Add devd(8) rules to change USB devices permissions when they are plugged-in on FreeBSD. 2010-02-16 14:06:56 +00:00
Romuald Conty
0b962a3b3b Move sys/select.h include in the non-windows part.
Update copyright headers.
2010-02-10 15:20:13 +00:00
Romain Tartiere
386597af6e Define _NETBSD_SOURCE that makes a few more serial speeds defined in termios.h. 2010-02-10 13:46:12 +00:00
Romain Tartiere
0d395733af Fix indent after last commit. 2010-02-10 11:23:38 +00:00
Romain Tartiere
c8c03fe2e0 Do not add libusb to PKG_CONFIG_REQUIRES unless it is located using this method. Fix build failure for software detecting libnfc using pkg-config on FreeBSD (at least) when libusb is part of the system. 2010-02-10 11:23:01 +00:00
Romuald Conty
2a33e28db9 Add workaround for libusb while using CMake. 2010-02-09 16:10:45 +00:00
Romuald Conty
e2e6c6cacc We should only use C99 types when available. This could fix a compilation issue reported at http://www.libnfc.org/community/post/770 2010-02-09 15:50:52 +00:00
Romuald Conty
d0610be25c Improve nfc-relay to use nfc_list_devices() capabilities. This should fix Issue 64. 2010-02-09 15:39:56 +00:00
Romain Tartiere
1e0272d006 Make configure fail if pkg-config cannot be found. 2010-02-08 19:43:25 +00:00
Romain Tartiere
3914cf7eac Fix build on NetBSD. 2010-02-08 19:40:41 +00:00
Romuald Conty
4bca43508b Remove platform specific, and non-needed, headers. 2010-02-08 11:52:33 +00:00
Romuald Conty
e933f505e2 Add some Build-Depends to debian files. 2010-02-08 11:49:14 +00:00
Romuald Conty
08cfcc30b0 Add some quotes to prevent from expanding. 2010-02-08 11:48:23 +00:00
Romuald Conty
ec9a13a2c3 Attach CMake files in generated archive. 2010-01-29 15:33:34 +00:00
Romuald Conty
fa04c46cf7 Oops, typo. 2010-01-29 15:06:31 +00:00
Romuald Conty
22a0c4f99e Prepare 1.3.2 2010-01-29 15:05:11 +00:00
Romuald Conty
f09c9a3764 Fix compiler warnings, fix issue 52. 2010-01-29 15:04:32 +00:00
Romuald Conty
d642b59300 Updated Debian package changelog. 2010-01-29 14:36:32 +00:00
Romain Tartiere
10183ffd22 ATM, there is no particular reason to keep O_NDELAY in open(2) flags (not defined by POSIX, BTW), but a particular reason to suppress it: it breaks build on FreeBSD. 2010-01-28 15:46:55 +00:00
Romain Tartiere
19672806d2 Fix some more cc warnings. 2010-01-28 15:42:50 +00:00
Romain Tartiere
4669279589 Add missing header. Fix build at least on FreeBSD 7.2.
Reported by:	tinderbox
2010-01-28 14:32:23 +00:00
Romain Tartiere
7d20198520 Tweak the libusb detection.
1. Try to use pkg-config to locate libusb;
  2. Try with libusb-config if not found;
  3. Try to locate headers and lib if still not found.

This would hopefully prevent build failures in some very particular cases, such as cross compiling libnfc on a FreeBSD version for another FreeBSD version that does not use the same libusb.

http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/142836

Reported by:	Dmitry Marakasov
2010-01-28 13:56:04 +00:00