Commit Graph

54 Commits

Author SHA1 Message Date
Gregory Mullen (grayhatter)
e1ad6cc8f9 Merge remote-tracking branch 'upstream/master' into rm-files 2015-11-07 20:36:57 -08:00
Eniz Vukovic
363771ea3c Fix typo and change logger config option 2015-10-13 00:35:46 +02:00
Eniz Vukovic
d6fdf16520 New Adaptive BR algorithm, cleanups and fixes 2015-10-10 23:54:23 +02:00
Gregory Mullen (grayhatter)
3631b460a6 Removed the unused autotools files
Autotools requires a bunch of files that toxcore doesn't use or plan to use
in the near future. By adding 'foreign' to AM_INIT_AUTOMAKE autotools stops
being stupid, and works normally.
2015-10-05 15:18:55 -07:00
irungentoo
0e982405d6
Some comment fixes. 2015-06-26 22:58:59 -04:00
Carlin
7db063e93d do not check for librt on OpenBSD
clock_gettime is in OpenBSD's libc
2015-04-09 03:57:07 +12:00
Jin^eLD
379522c93e Add spec file for rpm generation
The spec file gets processed by configure, the version will be filled
in automatically.

To generate an rpm make sure to install rpm-build, then "configure" as you
would usually do, run "make dist", then process the generated tarball
with rpmbuild:

rpmbuild -tb tox-0.0.0.tar.gz

Tested on Fedora 22.
2015-03-04 00:35:25 +01:00
Jin^eLD
0e00a51605 Fix dist target
Modify tar options to allow extra long filen and directory names, if not set
souces under toxencryptsave might not end up in the tarball.
2015-03-03 23:09:51 +01:00
mannol
ad67259535 Logger fix 2015-01-10 23:29:00 +01:00
irungentoo
1db01073e5
Build system fixes.
libtoxcore.pc now has -lpthread like it's supposed to on systems
where it is needed.
2014-12-18 10:04:31 -05:00
Jin^eLD
c319172610 Added check to ensure that the available libsodium library is compatible
Tox now uses some crypto_pwhash functions that are only available in the
newer libsodium releases; check this in configure to prevent compile
time errors.
2014-11-26 01:00:15 +01:00
beemaster
eaedf4f9d1 Fix toxcore linkage on qnx 2014-08-22 10:12:44 +03:00
irungentoo
cc53e9254f
Fixed --disable-epoll making configure fail. 2014-07-22 15:47:06 -04:00
irungentoo
b63e4ad88f
LAN discovery should now work on windows machines with multiple
ethernet devices.

Added some code to get real adapter broadcast addresses on windows.
2014-07-20 20:50:53 -04:00
irungentoo
733c519601
Build system now automatically enables epoll support in TCP server
when supported.
2014-07-17 20:44:49 -04:00
irungentoo
2740099da0
pthread is now a core dependency instead of just a toxav dependency.
Fixed possible thread bug with sending A/V packets.

TODO: eventually make toxcore thread safe.
2014-06-12 11:15:20 -04:00
Sean Qureshi
9528f7c187
Fixed --disable-rt, link against -lm 2014-05-26 22:45:51 -07:00
irungentoo
82e38883a2
Merge branch 'mannol1-Multicalls' into multi-av 2014-05-25 12:27:48 -04:00
Sean Qureshi
e3a4755b78 Adds --disable-rt to configure, fixing Android 2014-05-21 17:39:53 -07:00
mannol
9db41e7582 Merge remote-tracking branch 'upstream/master' into Multicalls-patch 2014-05-22 00:08:19 +02:00
mannol
a1f2a18ae4 Merge upstream and other stuff 2014-05-20 00:10:40 +02:00
stal
8e5e89b871 configure.ac: Don't check for clock_gettime on OS X
We don't need it anymore. jin-eld pls do not kill
2014-05-19 14:43:36 -07:00
irungentoo
ff4368add7
Fixed build by adding librt to build system. 2014-05-10 16:09:44 -04:00
mannol
0fa03b9240 Bunch of random changes 2014-05-03 01:46:03 +02:00
mannol
42b25a4d3e Yeah many calls 2014-04-27 19:21:26 +02:00
Carlos E. Garcia
49e160450c whitespace fix & proper use of "i.e.," 2014-04-09 18:49:15 -04:00
Dmitrij D. Czarkoff
33eede5a06 Add /usr/local/{include,lib} to search paths on OpenBSD 2014-04-08 20:04:59 +02:00
Jin^eLD
70475d281d Fix NaCl builds for *BSD
From what I see there is a difference between *BSD and Linux when
linking vs. toxcore which has been bulit vs. the NaCl library:

on Linux it only links if NaCl's object files (i.e. randombytes.o) is
present in the linker options, however on *BSD systems this will cause a
linking error, see:
https://github.com/Tox/toxic/issues/31#issuecomment-38224441

This commit makes sure that we do not add the NaCl object files to our
pkg-config settings on *BSD, but do add them on Linux.
2014-03-23 02:05:57 +01:00
Jin^eLD
ba4681ef1e Fix shared/static settings when building vs. NaCl library
Make sure the shared lib build is really disabled when compiling vs.
NaCl:

moved settings before libtool initialization
fixed parameter name
2014-03-23 02:05:34 +01:00
Jin^eLD
63c50c8302 Fix regression that disabled shared library builds
My previous attempt that was supposed to disable shared library builds
with nacl had a side effect which basically disabled shared libs for all
configurations.

Eventhough AC_DISABLE_SHARED was used inside an if clause it seemed to
take over in any case.

I could not find a clean way around this, so had to override internal
libtool variables. Will check with the libtool people regarding a
cleaner implementation.
2014-03-18 11:35:28 +01:00
Jin^eLD
8974ed8327 Disabled shared lib when building vs. nacl library 2014-03-18 01:39:54 +01:00
mannol
6a78e2e71c Fixed several bugs and added some features 2014-03-07 03:13:04 +01:00
AZ Huang
7f3e1aec52 Fix libtoxav link error. 2014-03-05 20:04:19 +08:00
Jin^eLD
4cd3d91263 Allow to optionally use randombytes_stir() instead of sodium_init()
According to sonOfRa sodium_init() has some timing issues on Android.
libsodium people said randombytes_stir() can be used instead:
https://github.com/jedisct1/libsodium/issues/121

sodium_init() stays the default, randombytes_stir() can be enabled by
passing --enable-randombytes-stir to the configure script.
2014-02-25 23:40:42 +01:00
mannol
4888d916d0 pkg-config and av 2014-02-23 23:13:38 +01:00
mannol
186c852aa6 Ugh 2014-02-18 00:35:26 +01:00
mannol
272ed7e6db Moved event to toxav 2014-02-16 19:11:55 -05:00
mannol
393433ce99 Public header ready to go 2014-02-16 19:11:55 -05:00
mannol
984c564cba Added fixes to rtp and updated phone 2014-02-01 12:44:08 +01:00
Jin^eLD
07d334bbe3 Do not build tox_sync on win32 2013-10-16 18:03:33 +02:00
mannol
5bc2560904 tox A/V: integration of A/V code into tox
Also-by: Sergey 'Jin' Bostandzhyan <jin@mediatomb.cc>
2013-10-13 16:40:15 +02:00
BtbN
8d40ddf417 Some configuration/build fixes, so building basicaly everything else than the library can be disabled 2013-10-07 02:01:16 +02:00
Jin^eLD
e092eee869 Allow to build vs nacl instead of libsodium
By default libsodium is used. Only if --enable-nacl is specified, then
nacl will be used instead of libsodium.

Pass locations of nacl headers and libraries by using the following
options:

--with-nacl-headers=/home/me/somewhere/nacl-20110221/build/469/include/amd64/
--with-nacl-libs=/home/me/somewhere/nacl-20110221/build/469/lib/amd64/
2013-09-06 22:54:45 +03:00
jin-eld
7d29bd23b9 Forward compatibility with automake 1.14
This update makes sure that the build still works with automake prior to
1.12 and at the same time does not give any warnings or errors with
automake 1.14
2013-09-01 20:39:02 +03:00
irungentoo
ea994606fe Merge branch 'master' of https://github.com/JamoBox/ProjectTox-Core into JamoBox-master
Conflicts:
	toxcore/LAN_discovery.h
2013-08-29 17:55:58 -04:00
pete
82b8927af7 Correct a lot of the grammar and spelling. Also spent a few hours fixing the comments so they follow a standard. 2013-08-29 22:17:51 +01:00
jin-eld
14a8ee4e0d Make nTox work on MinGW/Win32 2013-08-27 14:25:09 +03:00
jin-eld
ed1c130ebc Move extra libtool options into configure
This should allow to keep the libtool options all in one place and at
the same time define different options depending on the host.

Made sure that -no-undefined is set only on Win32. Although no side
effects on Linux and OSX have been observed so far, it's probably better
to play it safe; it does not seem to be needed/does not seem to matter on *nix,
only required for Win32.
2013-08-26 22:08:43 +03:00
jin-eld
7ce599d180 Fix trailing whitespace 2013-08-26 22:08:33 +03:00
jin-eld
2fa0b69631 Add /usr/local/* to search paths on FreeBSD
Seems that on FreeBSD those directories are not in the default search
paths, so we'll have to add them manually.
2013-08-26 14:34:42 +03:00