Package Details: jami-daemon-git 4.0.0.r2149.gc103a9935-1

Git Clone URL: https://aur.archlinux.org/jami-daemon-git.git (read-only, click to copy)
Package Base: jami-daemon-git
Description: Free and universal communication platform which preserves the users’ privacy and freedoms (daemon component)
Upstream URL: https://jami.net
Licenses: GPL3
Groups: jami
Conflicts: jami-daemon, ring-daemon
Provides: ring-daemon
Replaces: ring-daemon
Submitter: senya
Maintainer: None
Last Packager: senya
Votes: 1
Popularity: 0.000000
First Submitted: 2020-07-25 11:55 (UTC)
Last Updated: 2021-06-01 08:26 (UTC)

Latest Comments

hacker12 commented on 2023-07-31 07:57 (UTC)

Complains about missing DhtNet. configure: error: Missing DhtNet

megavolt commented on 2022-04-28 15:52 (UTC)

Please add msgpack-cxx to the dependencies. This was missing: /usr/include/msgpack.hpp

Thank you ;-)

rriddicc commented on 2022-02-23 18:23 (UTC)

there are lots of errors like this: invalid conversion from 'const AVCodec' to 'AVCodec' [-fpermissive]

somehow the avcodec headers changed... i guess... adding a "const" here and there seems to help...

diff -ur /tmp/a/ring-daemon/src/media/decoder_finder.h src/ring-daemon/src/media/decoder_finder.h --- /tmp/a/ring-daemon/src/media/decoder_finder.h 2022-02-23 18:06:04.673981509 +0000 +++ src/ring-daemon/src/media/decoder_finder.h 2022-02-23 17:34:14.434029600 +0000 @@ -29,7 +29,7 @@ * Attempt to find standalone AVCodec decoder using AVCodecID, * or fallback to the default decoder. / -AVCodec +const AVCodec findDecoder(const enum AVCodecID codec_id) { const char codec_name; @@ -49,7 +49,7 @@ default: codec_name = nullptr; } - AVCodec codec = nullptr; + const AVCodec codec = nullptr; if (codec_name) codec = avcodec_find_decoder_by_name(codec_name); if (not codec) diff -ur /tmp/a/ring-daemon/src/media/media_decoder.cpp src/ring-daemon/src/media/media_decoder.cpp --- /tmp/a/ring-daemon/src/media/media_decoder.cpp 2022-02-23 18:06:04.673981509 +0000 +++ src/ring-daemon/src/media/media_decoder.cpp 2022-02-23 17:31:54.149192224 +0000 @@ -91,7 +91,7 @@ MediaDemuxer::openInput(const DeviceParams& params) { inputParams_ = params; - AVInputFormat iformat = av_find_input_format(params.format.c_str()); + const AVInputFormat iformat = av_find_input_format(params.format.c_str());

 if (!iformat && !params.format.empty())
     JAMI_WARN("Cannot find format \"%s\"", params.format.c_str());

diff -ur /tmp/a/ring-daemon/src/media/media_decoder.h src/ring-daemon/src/media/media_decoder.h --- /tmp/a/ring-daemon/src/media/media_decoder.h 2022-02-23 18:06:04.673981509 +0000 +++ src/ring-daemon/src/media/media_decoder.h 2022-02-23 17:39:38.892089338 +0000 @@ -221,7 +221,7 @@

 std::shared_ptr<MediaDemuxer> demuxer_;
  • AVCodec* inputDecoder_ = nullptr;
  • const AVCodec inputDecoder_ = nullptr; AVCodecContext decoderCtx_ = nullptr; AVStream* avStream_ = nullptr; bool emulateRate_ = false; --- /tmp/a/ring-daemon/src/media/media_encoder.cpp 2022-02-23 18:06:04.673981509 +0000 +++ src/ring-daemon/src/media/media_encoder.cpp 2022-02-23 17:41:09.088770454 +0000 @@ -600,7 +600,7 @@ }

AVCodecContext -MediaEncoder::prepareEncoderContext(AVCodec outputCodec, bool is_video) +MediaEncoder::prepareEncoderContext(const AVCodec outputCodec, bool is_video) { AVCodecContext encoderCtx = avcodec_alloc_context3(outputCodec);

diff -ur /tmp/a/ring-daemon/src/media/media_encoder.h src/ring-daemon/src/media/media_encoder.h --- /tmp/a/ring-daemon/src/media/media_encoder.h 2022-02-23 18:06:04.673981509 +0000 +++ src/ring-daemon/src/media/media_encoder.h 2022-02-23 17:42:34.305633827 +0000 @@ -119,7 +119,7 @@

private: NON_COPYABLE(MediaEncoder); - AVCodecContext prepareEncoderContext(AVCodec outputCodec, bool is_video); + AVCodecContext prepareEncoderContext(const AVCodec outputCodec, bool is_video); void forcePresetX2645(AVCodecContext encoderCtx); void extractProfileLevelID(const std::string& parameters, AVCodecContext ctx); int initStream(const std::string& codecName, AVBufferRef framesCtx = {}); @@ -154,7 +154,7 @@ bool initialized_ {false}; bool fileIO_ {false}; unsigned int currentVideoCodecID_ {0}; - AVCodec outputCodec_ = nullptr; + const AVCodec* outputCodec_ = nullptr; std::mutex encMutex_; bool linkableHW_ {false}; RateMode mode_ {RateMode::CRF_CONSTRAINED};

je-vv commented on 2021-09-19 01:27 (UTC)

missing msgpack-cxx dep:

In file included from ../include/opendht/node.h:22,
                 from ../include/opendht/node_cache.h:21,
                 from node_cache.cpp:19:
../include/opendht/infohash.h:24:10: fatal error: msgpack.hpp: No such file or directory
   24 | #include <msgpack.hpp>
      |          ^~~~~~~~~~~~~
compilation terminated.

Not sure if optionally it could depend on opendht, so the system opendht would be used rather than building jami's opendht.

as400 commented on 2021-08-04 13:01 (UTC)

@senya - there is dependency missing - webrtc-audio-processing.

senya commented on 2021-06-01 12:50 (UTC)

@je-vv updated, thanks!

je-vv commented on 2021-05-31 21:47 (UTC) (edited on 2021-05-31 21:48 (UTC) by je-vv)

missing makedep libgit2

checking for LIBGIT2... no
configure: error: Missing libgit2 files
==> ERROR: A failure occurred in build().
    Aborting...

senya commented on 2021-01-08 20:22 (UTC)

@wrycode thanks for the suggestion, the package is updated!

wrycode commented on 2021-01-08 17:40 (UTC)

This could use an added -p flag to the mkdir on line 32 to make subsequent builds work.