Commit Graph

19 Commits

Author SHA1 Message Date
Jin^eLD
06613e3662 Remove libtoxav.pc from git
libtoxav.pc is automatically generated by configure from libtoxav.pc.in
and should not be commited.
2014-03-10 12:29:18 +01:00
Sergey Shatunov
e8b6e4a4d3 Main buildscripts for android 2014-02-26 17:24:30 +08:00
Bahkuh
f581e20233 This squash should work now. 2013-10-22 20:24:48 +02:00
Bahkuh
8352c7b721 Added more OS generated files to .gitignore 2013-10-18 10:47:02 +02:00
jin-eld
d9fc869d2f Add .dirstamp to gitignore
Seems like the subdir-objects automake option is generating .dirstamp
files which should be ignored by git.
2013-09-01 21:43:46 +03:00
jin-eld
50c8a820e5 Implemented autotools based build scripts
supported options:

--with-dependency-search=DIR    will tell configure to look for various
dependencies in DIR/include and DIR/lib

Alternatively you can also specify libsodium header and libs location
with --with-libsodium-headers and --with-libsodium-libs if it is
installed elsewhere.

Ncurses and libconfig are handled via the default pkg-config way, see
./configure --help=short for detailed information.

The tox library is compiled as libtoxcore in shared and static variants,
public headers are installed to ${prefix}/include/tox

A pkg-config libtoxcore.pc configuration file is provided.

Use ./configure --help for a full list of configure options or
./configure --help=short for the options that I added.

To generate the configure script after pulling from git use:
autoreconf -i

To generate a release tarball use:
make dist

Unit tests are handled by the libcheck library integration that is provided
by autotools, use:
make check

to compile and run the tests.

Unit tests are currently optional, i.e. - if the check library is not
found on the system, then tests will be disabled. Same goes for nTox and
DHT bootstrap daemon - they will be enabled or disabled depending on the
availability of ncurses (for nTox) or libconfig (for DHT bootstrap
daemon).

The above can be also tuned by:
--enable-tests / --disable-tests
--enable-ntox / --disable-ntox
--enable-dht-bootstrap-daemon / --disable-dht-bootstrap-daemon
2013-08-24 03:25:07 +03:00
Aseda Gyeke Aboagye
d0098efa95 core,nTox,toxic - Fix for Issue #453. Refactoring w/astyle.
This commit introduces a few things. Basically I didn't like the fact that
although we had a coding style document, no one was following it. See
https://github.com/irungentoo/ProjectTox-Core/issues/453 for more info regarding
that. This commit just marks the first of my efforts to refactor the code base
according to the posted coding style document by introducing an astylerc and a
optional git pre-commit hook.

I propose that users can add this functionality as a  pre-commit hook. More
info is in the README file.

However, this has only been tested on Linux and I imagine should work on OSX as
well. I don't think pre-commit hooks work on Windows, but I may be mistaken.

The future commits I plan are refactoring the source files for other offending
items such as using typedefs. See http://wiki.tox.im/index.php/Coding_Style.
2013-08-14 19:10:03 -07:00
Alexandre Viau
c2fbe6e80b Update .gitignore
Netbeans can't put his nbproject dir outside of source.
2013-08-08 14:55:52 -04:00
panosalbanis
4efd97a6e2 Added Vim swap files and ctags file 2013-08-08 10:52:39 +01:00
Kenan Yildirim
026b715dcd Add sodium/ to .gitignore
Because Windows devs.
2013-07-31 23:31:06 -04:00
Shivam Bansal
0fd49915f4 Update .gitignore 2013-07-30 12:02:16 -07:00
Konstantin Kowalski
b3fa1fc8f4 [fixed]created new files misc_tools.(c|h) and moved hex_string_to_bin() there. 2013-07-27 12:10:41 -04:00
Oliver Hunt
98c59506fa added data file to gitignore 2013-07-22 02:15:34 +01:00
Maxim Biro
ef0efd72b5 Improved build system 2013-07-17 18:18:27 -04:00
Jeffail
859f31c160 Just cleaning up as I read, no behaviour changes 2013-07-15 15:42:50 +01:00
irungentoo
79aa715514 First part of DHT hardening done.
Added crypto to the DHT communications.

This defeats completely the first attack mentioned in
docs/DHT_hardening.

Also updated the build system to build the latest test (it links it with
libsodium)
2013-07-12 16:27:19 -04:00
Ben B
458d7dc13e Update .gitignore 2013-07-09 17:05:06 -04:00
juryben-fedora
c310719f84 update gitingore 2013-07-09 17:02:07 -04:00
Anthony Super
dd8d34d460 Quick fix
Used two if statements, both of which just broke a loop. Just threw them together with ||. Should be slightly faster.
2013-07-08 11:05:20 -06:00