Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Arch Linux update AUR #282

Closed
LibreHacker opened this issue Sep 15, 2020 · 22 comments
Closed

Arch Linux update AUR #282

LibreHacker opened this issue Sep 15, 2020 · 22 comments
Labels
enhancement New feature or request

Comments

@LibreHacker
Copy link
Contributor

Try build Nheko with https://aur.archlinux.org/packages/nheko-git/
and VOIP not working.

Please fix it, if you can.

@LibreHacker LibreHacker added the enhancement New feature or request label Sep 15, 2020
@LibreHacker
Copy link
Contributor Author

@redsky17

@redsky17
Copy link
Member

Thanks for letting me know. I'll take a look at it. Also, you can comment directly on the AUR page and I'll get an email about it

@redsky17
Copy link
Member

I added the gstreamer dependency to the PKGBUILD and the .SRCINFO files. Please let me know if it works for you (I was able to build and launch).

@LibreHacker
Copy link
Contributor Author

Sadly, but seem its not fix problem...

@redsky17
Copy link
Member

I added missing gstreamer plugins that trilene told me about. Try again please.

@LibreHacker
Copy link
Contributor Author

No, its not working again.

@deepbluev7
Copy link
Member

What exactly is the issue you are having? Is the call button missing or do calls just not work?

@LibreHacker
Copy link
Contributor Author

Call button missing and nothing see like calling. I can't test calls...

In chat see
placed a voice call. ended a voice call.

@deepbluev7
Copy link
Member

Yep, that's a dependency issue, thanks for confirming that.

@LibreHacker
Copy link
Contributor Author

-- Checking for modules 'gstreamer-sdp-1.0>=1.14;gstreamer-webrtc-1.0>=1.14'
--   Package 'gstreamer-sdp-1.0', required by 'virtual:world', not found
--   Package 'gstreamer-webrtc-1.0', required by 'virtual:world', not found

@trilene
Copy link
Contributor

trilene commented Sep 18, 2020

gstreamer-sdp-1.0 is provided by 'gst-plugins-base'
gstreamer-webrtc-1.0 is provided by 'gst-plugins-bad'
These are needed at build time along with 'gstreamer'
'gst-plugins-good' is also needed but only at runtime

@LibreHacker
Copy link
Contributor Author

gstreamer-sdp-1.0 is provided by 'gst-plugins-base'
gstreamer-webrtc-1.0 is provided by 'gst-plugins-bad'
These are needed at build time along with 'gstreamer'
'gst-plugins-good' is also needed but only at runtime

All packages installed, but AUR build give "not found"

@trilene
Copy link
Contributor

trilene commented Sep 18, 2020

What does pkg-config output?

$ pkg-config --cflags --libs gstreamer-sdp-1.0 gstreamer-webrtc-1.0
-I/usr/include/gstreamer-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid -pthread -lgstsdp-1.0 -lgstwebrtc-1.0 -lgstbase-1.0 -lgstreamer-1.0 -lgobject-2.0 -lglib-2.0

@LibreHacker
Copy link
Contributor Author

-I/usr/include/gstreamer-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid -pthread -lgstsdp-1.0 -lgstrtp-1.0 -lgstwebrtc-1.0 -lgstbase-1.0 -lgstreamer-1.0 -lgobject-2.0 -lglib-2.0

@redsky17
Copy link
Member

It seems there was some issue with the cmake configure step in the build() section of the PKGBUILD that was causing pkg-config lookup for gstreamer-sdp-1.0 and gstreamer-webrtc-1.0 to fail. I updated the configure step and now it seems to be working correctly (I placed a voice call w/ @nico a few minutes ago using the AUR build).

Considering I changed the configure step, please make sure you clean build when you update, and try again!

@LibreHacker
Copy link
Contributor Author

It seems there was some issue with the cmake configure step in the build() section of the PKGBUILD that was causing pkg-config lookup for gstreamer-sdp-1.0 and gstreamer-webrtc-1.0 to fail. I updated the configure step and now it seems to be working correctly (I placed a voice call w/ @nico a few minutes ago using the AUR build).

Considering I changed the configure step, please make sure you clean build when you update, and try again!

CMake Warning at build/_deps/matrixclient-src/CMakeLists.txt:102 (find_package):
  By not providing "FindOlm.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "Olm", but
  CMake did not find one.

  Could not find a package configuration file provided by "Olm" (requested
  version 3) with any of the following names:

    OlmConfig.cmake
    olm-config.cmake

  Add the installation prefix of "Olm" to CMAKE_PREFIX_PATH or set "Olm_DIR"
  to a directory containing one of the above files.  If "Olm" provides a
  separate development package or SDK, be sure it has been installed.
-- The following REQUIRED packages have not been found:

 * Olm (required version >= 3), An implementation of the Double Ratchet cryptographic ratchet, <https://git.matrix.org/git/olm/about/>

CMake Error at /usr/share/cmake-3.18/Modules/FeatureSummary.cmake:457 (message):
  feature_summary() Error: REQUIRED package(s) are missing, aborting CMake
  run.
Call Stack (most recent call first):
  build/_deps/matrixclient-src/CMakeLists.txt:245 (feature_summary)

@LibreHacker
Copy link
Contributor Author

LibreHacker commented Sep 18, 2020

Add to depends:
libolm, spdlog, tweeny (AUR), lmdbxx (AUR)

@LibreHacker
Copy link
Contributor Author

Look like tweeny and lmdbxx need only for build.

But new problem: messages not send. Message can receive from Element and older version Nheko.

Element calling to Nheko working. Nheko to Element and Nheko don't.

Its given on accept calling from Nheko.

[ui] [warning] WebRTC: no TURN server provided
[ui] [error] WebRTC: GstWebRTCICEConnectionState -> Failed

@LibreHacker
Copy link
Contributor Author

LibreHacker commented Sep 18, 2020

Try clear cache Nheko, first message after be send, but call and others messages not...

[qml] [warning] QObject::killTimer: Timers cannot be stopped from another thread (:0, )
[qml] [warning] QObject::startTimer: Timers cannot be started from another thread (:0, )
[qml] [warning] propsReply "Method \"GetAll\" with signature \"s\" on interface \"org.freedesktop.DBus.Properties\" doesn't exist\n" (:0, )
[qml] [warning] nmReply "Method \"GetDevices\" with signature \"\" on interface \"org.freedesktop.NetworkManager\" doesn't exist\n" (:0, )           
[qml] [warning] "Object path cannot be empty" (:0, )

@LibreHacker
Copy link
Contributor Author

LibreHacker commented Sep 18, 2020

I'm change lmdbxx (AUR) for https://github.com/hoytech/lmdbxx

given
Cache_p.h:339:53: error: ‘val’ is not a member of ‘lmdb’

drycpp/lmdbxx#20

@redsky17
Copy link
Member

I added the dependencies you mentioned to the pkgbuild / .srcinfo files. Please check again. As far as issues relating to gstreamer support are concerned, those should get separate issues (and also, double check your configuration of your TURN server and whatnot).

@redsky17
Copy link
Member

redsky17 commented Oct 8, 2020

@LibreHacker is this working for you now?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants