Original tests taken from the 1.4.0 version.
Modified to keep only a working base.
[guillaume: ci msg modified for clarifications]
[guillaume: fix configure.ac bad insertion]
Change-Id: I0d7f848ccbbd3a7a0d832cead6d8e01b01e91b24
Reviewed-by: Guillaume Roguez <guillaume.roguez@savoirfairelinux.com>
Adds VideoToolbox and VDA hardware accelerations. VideoToolbox
supports H.264, H.263 and MPEG4, while VDA only supports H.264.
VDA is implemented in case libav is used instead of FFmpeg, as
only the latter implements VideoToolbox. This being said, Ring
will prefer VideoToolbox.
VideoToolbox is OSX 10.8+ and iOS 8+. VDA is OSX 10.6.3+.
Both have their respective configure switches.
Change-Id: I588fcbb92809a9d6a56bb9b6a7ac3a59874c0186
Tuleap: #1090
Reviewed-by: Anthony Léonard <anthony.leonard@savoirfairelinux.com>
Adds the VDPAU acceleration for GNU/Linux systems and
enable it by devault. Can be disabled using ./configure --disable-vdpau
Support for H.264, H.263 and MPEG4, as long as the hardware supports
them.
Requires libvdpau and ffmpeg 3.3 (contrib bump included by this patch)
[guillaume roguez: re-word ci msg to be more explicit]
Change-Id: I7479f4d7e3d51caf702be8c85284a4fca01605b3
Reviewed-by: Guillaume Roguez <guillaume.roguez@savoirfairelinux.com>
This patch fixes osx build that not correctly link with Argon2.
Change-Id: I2f71179a163643667cac5caaa9517aed5a0de3fc
Reviewed-by: Kateryna Kostiuk <kateryna.kostiuk@savoirfairelinux.com>
Unknown pragma is not a big issue for us.
That's only happen in alien code.
But gives ton of noisy warnings for nothing.
Desactivated
Change-Id: I87dedfd54c3090c796855654fe53768c1ecec105
Reviewed-by: Andreas Traczyk <andreas.traczyk@savoirfairelinux.com>
Refactors the hardware acceleration mechanism by making AVCodecContext
a class member in HardwareAccel, wrapping extractData in a base
method to avoid duplicating boilerplate code, making the AccelID
enum and AccelInfo struct visible only to the makeHardwareAccel
function and adds more flexibility in the compilation of Ring's
hardware acceleration.
Change-Id: Ibfb4324e2f84b4d08bb5dd1e4b22873255aeb196
Correctly wraps video preferences and hardware acceleration
in ifdef preprocessor statements (RING_VIDEO and RING_ACCEL,
respectively). This fixes cases where Ring would not compile without
video or video acceleration. Video acceleration is now dependant on
the presence of video (--disable-video disables acceleration).
Change-Id: I087cc1dc794d0f19daa68cdaec09e126542147f9
Fix compilations options problem when building
for mingw32.
* configure.ac: Removed some LDFLAGS preventing test for
librestbed to work. Also added -lws2_32 as restbed needs
it.
* src/Makefile.am: LDFLAGS removed from configure.ac are
included here.
Change-Id: Ie6256663778eb1376d4ae7930cbc94e7a240c714
Contains code common to all hardware accelerations to be implemented.
Enables the VAAPI acceleration for intel linux systems, with support
for H.264, H.263 and MPEG4.
To use VAAPI, you need libva, libva-x11 and libva-drm.
Hardware acceleration is enabled by default, and can be disabled with
"./configure --disable-accel".
Change-Id: Id0696465b785de0735bbce9750932ac38efe0713
Reviewed-by: Guillaume Roguez <guillaume.roguez@savoirfairelinux.com>
This commit offers an alternative to the dbus client to communicate with
a headless daemon. It uses restbed, a cpp framework for RESTful services.
This commits wraps up:
- The source of the restbed implementation (in bin/restcpp)
- The integration of the target to the configure.ac
- documentation
- Add external restbed library to contrib:
- rules.mak file, to download the version 4.0, and compile it
- Patch for ASIO, a dependency of restbed
- Patch for the CMakeLists.txt file, to correct the installation path
[guillaume.roguez@savoirfairelinux.com: merged with Simon Zeni patch to support restbed into contrib]
[guillaume.roguez@savoirfairelinux.com: add tuleap ticket number]
[guillaume.roguez@savoirfairelinux.com: fixed configure.ac --without-restbed behavior]
Change-Id: Id49a1a04b05aac1e803981833abe5564785fb801
Tuleap: #498
Reviewed-by: Alexandre Lision <alexandre.lision@savoirfairelinux.com>
Signed-off-by: Guillaume Roguez <guillaume.roguez@savoirfairelinux.com>
Into the darwin OS detection the AC_EGREP_CPP macro is used.
This causes an bugged configure file issued and this one
prevents Linux platform to generate shared-library.
Following this link:
https://www.gnu.org/software/autoconf/manual/autoconf-2.69/html_node/AC_005fACT_005fIFELSE-vs-AC_005fTRY_005fACT.html
Using AC_EGREP_CPP is a bad way to test a C preprocessor.
This patch changes this call by AC_COMPILE_IFELSE + AC_LANG_PROGRAM calls:
- this is a better way to process
- this fix the linux shared build
Change-Id: I150666f2bc45a48d021110025f2d486a9750d333
Tuleap: #699
This patch removes a non-valid character inside HAVE_COREAUDIO.
This char is difficult to see if you editor is not able
to show non-valid char.
But carefully checking configure log show this text without the patch:
./configure: line 6831: $'\302\240test': command not found
You can also see it using Emacs that detects such bad char.
Change-Id: I1e1e62fb6e03c42ac9d9758bc44db33fad088482
Tuleap: #909
AC_CHECK_LIB was not correctly checking for the presence of zlib.
We use PKG_CHECK_MODULES instead to add -lz to libring_la_LDFLAGS.
Change-Id: Icfffb898030f886aae8c2c82dc5327f923f0f78e
Tuleap: #746
[stepan.salenikovich@savoirfairelinux.com: modified to use PKG_CHECK_MODULES and ZLIB_LIBS variable instead of -lz]
Signed-off: Stepan Salenikovich <stepan.salenikovich@savoirfairelinux.com>
In reaction to Debian bug:
- https://bugs.debian.org/831978
Accoding to the FHS[1]:
Utilities used for system administration (and other root-only
commands) are stored in /sbin, /usr/sbin, and /usr/local/sbin. /sbin
contains binaries essential for booting, restoring, recovering, and/or
repairing the system in addition to the binaries in /bin. [18]
Programs executed after /usr is known to be mounted (when there are no
problems) are generally placed into /usr/sbin. Locally-installed
system administration programs should be placed into
/usr/local/sbin.
1. https://www.debian.org/doc/packaging-manuals/fhs/fhs-2.3.html#SBINSYSTEMBINARIES
Change-Id: I13e16eb0e7750fc84d5f44c53da63ad0aebbe240
Tuleap: #860
* add optional dependency to libnatpmp
* can run with or without UPnP
* transparently replaces UPnP when available
Change-Id: I1bbded421833cdc2506b42106e30cc8b3dde4c2d
Tuleap: #805
This reverts commit 150035a819.
reasons of the revert:
- doesn't link on Mac
- doesn't build on IOS
- build and link on linux, but the shared library is not found in rpath
Change-Id: Ie2eb1fe587adea1b607fde727abe6c641762495b
Notes: libnatpmp is not used on Android
* add optional dependency to libnatpmp
* can run with or without UPnP
* transparently replaces UPnP when available
Change-Id: I8477f3d91d8185f7872a3e00600daa7755ac0eee
Tuleap: #805
Ring no longer builds without GnuTLS and/or without openDHT, nor
are we planning to support building Ring without them, so these
should not exist as configuration options.
The related preprocessor conditionals have also been removed.
Change-Id: I8416ecc48f13a3fb77d9eb7d349b81f226e863f1
Tuleap: #739
Ring does not build with this option. Instant messaging is now a
core functionality of Ring, so there is no reason to support building
Ring without it.
Change-Id: I2dfa06a711aaabb27c62fef96d9ec12c8f4f08b8
Tuleap: #739
Device management is done another way in iOS thus we don't have
access to CoreAudio/Hardware in CoreAudio framework. Disabling those
part allow us to compile. Maybe some things will need to be rewritten.
In this case it we'll be done in another patch (either as fixing
existing code or as another layer if need be)
Change-Id: I9f8e365bb173cf1df8bd6431371b844b092ec0cb
Tuleap: #313
This patch removes all IAX account code and libiax dependency in contrib.
References in documentation have also been removed where needed.
Change-Id: Ifff23725ccf7e1a6820dbc6f57256138a0fca042
Tuleap: #813
The subsitution variable is needed for installing in other prefixes
than /usr. Otherwise, the dbus service file won't point to the right
installation directory.
Change-Id: If46688c9963cd69a931ffa4f6efc43cccbcff90c
Tuleap: #594
- do not read dhtPort when deserializing a Ring account, use a new
one at runtime
- cache directory is created when generating dhParams
- use key stretching for archive encryption
- bump OpenDHT to add key stretching support
This commit comes with a necessary bump of OpenDHT
Tuleap: #335
Change-Id: Iee67569d378baaa33e9acd7cd9557422ab8e0471
jsoncpp will be used to jsonify account details for the account
import/export feature
Tuleap: #335
Change-Id: I100593ab1515e10d0c0b2314fe7b0e14c6dce26d
PJ_SIP defines WIN32_LEAN_AND_MEAN since 3876.
If we not force it to 1, this causes lot of redefinition
warning at build.
Change-Id: If72f0260bf15ce002cd922b875a0e816c6eb3ea2
Tuleap: #487
- Regression caused by #3876
- Preventing any call because of access violation or assert
Change-Id: I5f71378f1d673e37684b812fac464daeeb250c49
Tuleap: #487
- allows to build OSX without having to pass --without-alsa --without-pulse.
- update doc accordingly
Change-Id: I5b26c58d1954ef2d2613724c24fba750333ae890
- removes functions to create XML uri list, which are no longer used
- without these functions, lib expat is no longer required
Issue: #79618
Change-Id: I8511d09dc707f3244700f4d396c7f81a01176982
without-dbus condition was broken due to
mingw test
Regression caused by change 1852, commited in
78a32ceed0
Refs #70869
Change-Id: I8522c9a47f39a07f1830f0542566f1057cf967cc