Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Multimedia
  • Search

Ebuild for Jami?

Help with creation, editing, or playback of sounds, images, or video. Amarok, audacious, mplayer, grip, cdparanoia and anything else that makes a sound or plays a video.
Post Reply
Advanced search
24 posts • Page 1 of 1
Author
Message
rickj
Guru
Guru
User avatar
Posts: 432
Joined: Thu Feb 06, 2003 8:30 pm
Location: Calgary, Alberta, Canada
Contact:
Contact rickj
Website

Ebuild for Jami?

  • Quote

Post by rickj » Thu Mar 26, 2020 6:09 pm

In these times of social distancing, we turn to our computers for communication. Skype needs me to open more than ten thousand ports in my firewall - i might as well turn it off. Jami is the open-source alternative. Is there some competent soul out there who can create an ebuild?
Top
charles17
Advocate
Advocate
Posts: 3686
Joined: Sun Mar 02, 2008 3:20 pm

  • Quote

Post by charles17 » Thu Mar 26, 2020 7:15 pm

You could start from here once you succeed in finding the sources of whatever ...
Should you run into problems, helpful souls re here in the forum
Top
fedeliallalinea
Administrator
Administrator
User avatar
Posts: 31985
Joined: Sat Mar 08, 2003 11:15 pm
Location: here
Contact:
Contact fedeliallalinea
Website

  • Quote

Post by fedeliallalinea » Thu Mar 26, 2020 7:52 pm

There is ring-overlay (jami previously named ring)

See also https://git.jami.net/savoirfairelinux/r ... -gentoo.sh
Questions are guaranteed in life; Answers aren't.

"Those who would give up essential liberty to purchase a little temporary safety,
deserve neither liberty nor safety."
- Ben Franklin
https://www.news.admin.ch/it/nsb?id=103968
Top
msst
Apprentice
Apprentice
Posts: 259
Joined: Tue Jun 07, 2011 11:06 pm

  • Quote

Post by msst » Thu Mar 26, 2020 8:10 pm

Does not fit the spirit of open source (though there is source code version, but commercial license), but works without firewall orgies and in very good quality even for fairly broad teleconferences: zoom

It is what quite some professionals use, so it is there to stay.
Top
rickj
Guru
Guru
User avatar
Posts: 432
Joined: Thu Feb 06, 2003 8:30 pm
Location: Calgary, Alberta, Canada
Contact:
Contact rickj
Website

  • Quote

Post by rickj » Thu Mar 26, 2020 8:58 pm

Tried the ring-overlay, but regrettably it will not build. The emerge of restbed fails with a cloud of errors associated with asio, for example:

Code: Select all

/var/tmp/portage/net-libs/restbed-4.6/work/restbed-4.6/source/corvusoft/restbed/detail/socket_impl.cpp:71:67: error: ‘using element_type = class asio::ssl::stream<asio::basic_stream_socket<asio::ip::tcp> >’ {aka ‘class asio::ssl::stream<asio::basic_stream_socket<asio::ip::tcp> >’} has no member named ‘get_io_service’
   71 |         m_strand( make_shared< io_service::strand > ( socket->get_io_service( ) ) ),
      |     
Is there something I am missing here?
Top
szatox
Advocate
Advocate
Posts: 3858
Joined: Tue Aug 27, 2013 12:35 pm

  • Quote

Post by szatox » Thu Mar 26, 2020 9:02 pm

I've tried it some time ago and it failed to build for me too.
I did it on a stable gentoo though, and I have a new toy now that I immediately keyworded testing (with ~arch). Actually, I'm tempted to give it another shot. Hold my beer!
Top
rickj
Guru
Guru
User avatar
Posts: 432
Joined: Thu Feb 06, 2003 8:30 pm
Location: Calgary, Alberta, Canada
Contact:
Contact rickj
Website

  • Quote

Post by rickj » Thu Mar 26, 2020 9:12 pm

To save some tedium, on a stable system you seem to need at least:

Code: Select all

net-voip/gnome-ring  ~amd64
net-libs/libringclient  ~amd64
net-voip/ring-daemon  ~amd64
net-libs/opendht ~amd64
net-libs/restbed ~amd64
dev-cpp/kashmir  ~amd64
in /etc/portage/package.accept_keywords
Top
Elleni
Veteran
Veteran
Posts: 1298
Joined: Tue May 23, 2006 10:56 pm

  • Quote

Post by Elleni » Mon Mar 30, 2020 7:40 pm

Tried this today too, and it also failed @restbed (tried 4.5 4.6 and 9999 ebuild). Not being able to compile linphone, I tried empathy but could not establish sip connection, so I tried two other clients. jitsi-bin compiled but I had choppy sound quality, I ended up with zoiper, which compiles and gave good call quality sofar. Still looking for alternatives though.
Last edited by Elleni on Mon Mar 30, 2020 7:57 pm, edited 3 times in total.
Top
rickj
Guru
Guru
User avatar
Posts: 432
Joined: Thu Feb 06, 2003 8:30 pm
Location: Calgary, Alberta, Canada
Contact:
Contact rickj
Website

  • Quote

Post by rickj » Mon Mar 30, 2020 7:48 pm

I had a go with qTor over the weekend. From call to call sound was one way, the other way, two-way, and in any of those cases one or other end sounded like a chipmunk. Not ideal.

I can't get Pidgin (2.13.0) to recognise my camera, or my mic.

At present I'm using Skype, which almost works most of the time. Sometimes it loses track of the mic, or the camera, or both.
Top
Elleni
Veteran
Veteran
Posts: 1298
Joined: Tue May 23, 2006 10:56 pm

  • Quote

Post by Elleni » Mon Mar 30, 2020 8:08 pm

What should work pretty well if you "just" want to have some video conferencing (but no need to voip) with webcam/computer/android/ios on both sides is jitsi-meet. You can easily start a call by going to their site and hit Start call. Nextcloud with Talk app could also be an option.
Top
rickj
Guru
Guru
User avatar
Posts: 432
Joined: Thu Feb 06, 2003 8:30 pm
Location: Calgary, Alberta, Canada
Contact:
Contact rickj
Website

  • Quote

Post by rickj » Mon Mar 30, 2020 8:52 pm

I'll try these, when I have a spare moment. Thanks for the pointers.
Top
rickj
Guru
Guru
User avatar
Posts: 432
Joined: Thu Feb 06, 2003 8:30 pm
Location: Calgary, Alberta, Canada
Contact:
Contact rickj
Website

  • Quote

Post by rickj » Thu Nov 26, 2020 9:07 pm

as an update, restbed now compiles.

net-voip/ring-daemon-20191110.1 fails with errors based on missing "executor_type"

So, still no Jami in Gentoo
Top
redwood
Guru
Guru
Posts: 306
Joined: Fri Jan 27, 2006 6:28 am

  • Quote

Post by redwood » Sun Dec 06, 2020 1:42 am

I was looking for a sip phone app in order to use my cell phone as another sip extension at the office.
So installed jami on my Android device. Works fine. Also installed it on my Pinephone64 Manjaro CE Pro phone,
but unfortunately it aborts with a core dump saying locale not supported by 'C' locale, terminating after throwing instance of 'std::runtime_error'

Anyhow, the jami FAQ says you can backup jami by linking to another device or, if running linux, you can export a backup from the Accounts tab.

So I had hoped to install jami on my gentoo netbook to get a backup of jami from my Android.
Tried downloading, installing and running the ".deb" binaries, but needed to download and install libayatana-appindicator3-1
which, after installing via

Code: Select all

dpkg --force-depends -i libayatana-appindicator3-1_0.5.5-2_amd64.deb
, then needed
libayatana-appindicator7 and so forth.

There no runtime option for jami-gnome to disable the ayatana-appindicator, so looks like the only way to get this running on my netbook
is to emerge it.

If I get a chance, I'll give jami a shot. My main workhorse desktop crashed (ram?) and after restarting the btrfs raid mirror on top of luks was broken. So am planning on building a new system with new mb+cpu+ram and salvaging my hard drives.
Top
rickj
Guru
Guru
User avatar
Posts: 432
Joined: Thu Feb 06, 2003 8:30 pm
Location: Calgary, Alberta, Canada
Contact:
Contact rickj
Website

  • Quote

Post by rickj » Tue Dec 08, 2020 9:14 pm

I had a try with the net-voip/ring-daemon-99999999 build, but for some reason curl cannot find github:

Code: Select all

curl -sS -f -L --retry-delay 10 --retry 4 -- "https://github.com/P-H-C/phc-winner-argon2/archive/1eea0104e7cb2a38c617cf90ffa46ce5db6aceda.tar.gz" > "../../contrib/tarballs/argon2-1eea0104e7cb2a38c617cf90ffa46ce5db6aceda.tar.gz"
curl: (6) Couldn't resolve host 'github.com'
curl: (6) Couldn't resolve host 'github.com'
curl: (6) Couldn't resolve host 'github.com'
curl: (6) Couldn't resolve host 'github.com'
curl: (6) Couldn't resolve host 'github.com'
I can resolve and download the addressed file with no trouble ion a browser, so it is hard to see what is wrong here.
Top
redwood
Guru
Guru
Posts: 306
Joined: Fri Jan 27, 2006 6:28 am

  • Quote

Post by redwood » Tue Dec 08, 2020 10:10 pm


I had a try with the net-voip/ring-daemon-99999999 build, but for some reason curl cannot find github:
I can resolve and download the addressed file with no trouble ion a browser, so it is hard to see what is wrong here.
That's weird. Just verified that curl works from the command line and used your command just now to download argon2-1eea0104e7cb2a38c617cf90ffa46ce5db6aceda.tar.gz

You wouldn't by chance be using a proxy like privoxy? If so you might need to do something like: "http_proxy=127.0.0.1:8118 curl ..." or configure the proxy for curl somewhere.

In other news, I reflashed my Pinephone with the KDE plasma mobile which just came out in December and now jami at least runs without throwing an exception, but unfortunately the input fields (like login username:password) don't bring up the on screen keyboard so can't use. Might give it a try using a usb keyboard, but wouldn't be terribly useful without ability to use cellphone screen for input.
Top
Hu
Administrator
Administrator
Posts: 24403
Joined: Tue Mar 06, 2007 5:38 am

  • Quote

Post by Hu » Tue Dec 08, 2020 10:34 pm

rickj wrote:I had a try with the net-voip/ring-daemon-99999999 build, but for some reason curl cannot find github:

Code: Select all

curl -sS -f -L --retry-delay 10 --retry 4 -- "https://github.com/P-H-C/phc-winner-argon2/archive/1eea0104e7cb2a38c617cf90ffa46ce5db6aceda.tar.gz" > "../../contrib/tarballs/argon2-1eea0104e7cb2a38c617cf90ffa46ce5db6aceda.tar.gz"
curl: (6) Couldn't resolve host 'github.com'
I can resolve and download the addressed file with no trouble ion a browser, so it is hard to see what is wrong here.
Is this failure when curl is run from inside the ebuild? If so, this failure is expected and correct. To support reproducible builds, ebuilds run in a network sandbox, without the ability to download arbitrary blobs directly from the Internet. The ebuild should direct Portage to download the relevant files as part of SRC_URI, then use the copy from the files directory.
Top
rickj
Guru
Guru
User avatar
Posts: 432
Joined: Thu Feb 06, 2003 8:30 pm
Location: Calgary, Alberta, Canada
Contact:
Contact rickj
Website

  • Quote

Post by rickj » Tue Dec 08, 2020 10:41 pm

It really is strange. I can do the exact curl command from the command line too. I am not using a proxy of any sort.
Top
rickj
Guru
Guru
User avatar
Posts: 432
Joined: Thu Feb 06, 2003 8:30 pm
Location: Calgary, Alberta, Canada
Contact:
Contact rickj
Website

  • Quote

Post by rickj » Tue Dec 08, 2020 11:18 pm

Thanks Hu, I had not seen your comments when I wrote my last.

You seem to have nailed this correctly. Since Jami is an overlay, it is not clear to me how to get a message back to the author of the ebuild.
Top
rickj
Guru
Guru
User avatar
Posts: 432
Joined: Thu Feb 06, 2003 8:30 pm
Location: Calgary, Alberta, Canada
Contact:
Contact rickj
Website

  • Quote

Post by rickj » Wed Dec 09, 2020 9:02 pm

So I raised the issue on savoirfaire at:

https://git.jami.net/savoirfairelinux/r ... ssues/1118

and got a bland "we do not support gentoo"

Emailing the author at:

stefan.langenmaier@savoirfairelinux.com

gets the email rejected by the mail system, "recipient address rejected"

So it looks as if nobody cares that there is no Jami for Gentoo. Debian has a package, but it is the older, barely functional version.
Top
charles17
Advocate
Advocate
Posts: 3686
Joined: Sun Mar 02, 2008 3:20 pm

  • Quote

Post by charles17 » Thu Dec 10, 2020 8:51 am

rickj wrote:Since Jami is an overlay, it is not clear to me how to get a message back to the author of the ebuild.
So why not file the issue in ring-overlay or put a PR there?
Top
rickj
Guru
Guru
User avatar
Posts: 432
Joined: Thu Feb 06, 2003 8:30 pm
Location: Calgary, Alberta, Canada
Contact:
Contact rickj
Website

  • Quote

Post by rickj » Fri Dec 11, 2020 6:00 pm

Done that, awaiting response
Top
halcon
l33t
l33t
User avatar
Posts: 736
Joined: Sun Dec 15, 2019 8:54 pm

  • Quote

Post by halcon » Fri Dec 11, 2020 7:51 pm

rickj wrote:Done that, awaiting response
For the case of a long waiting, some clue where that curl is and how to (try to) disable it:

cd contrib
https://github.com/stefan-langenmaier/r ... ebuild#L85

bootstrap
https://github.com/stefan-langenmaier/r ... build#L110

DISABLE_CONTRIB_DOWNLOADS="TRUE"
https://git.jami.net/savoirfairelinux/r ... tstrap#L60

ifeq ($(DISABLE_CONTRIB_DOWNLOADS),TRUE),
and there below seems to be exactly that curl call, with "--retry-delay 10 --retry 4"...
https://git.jami.net/savoirfairelinux/r ... n.mak#L243

So, my guess:
to try to change

Code: Select all

bootstrap
to

Code: Select all

bootstrap --disable-downloads
in the ebuild.

EDIT

After that another error can follow, from make about the bundled libraries...
A wife asks her husband, a programmer:
- Could you please go shopping for me and buy one carton of milk, and if they have eggs, get 6?
He comes back with 6 cartons of milk.
- Why did you buy 6 cartons of milk?
- They had eggs.
Top
rickj
Guru
Guru
User avatar
Posts: 432
Joined: Thu Feb 06, 2003 8:30 pm
Location: Calgary, Alberta, Canada
Contact:
Contact rickj
Website

  • Quote

Post by rickj » Fri Dec 11, 2020 8:19 pm

Tried that, but it simply leads to:

Code: Select all

../../contrib/src/argon2/rules.mak:10: *** Trying to download https://github.com/P-H-C/phc-winner-argon2/archive/1eea0104e7cb2a38c617cf90ffa46ce5db6aceda.tar.gz but DISABLE_CONTRIB_DOWNLOADS is TRUE, aborting..  Stop.
 * ERROR: net-voip/ring-daemon-99999999::ring-overlay failed (configure phase):
 *   Bundled libraries could not be compiled
Top
halcon
l33t
l33t
User avatar
Posts: 736
Joined: Sun Dec 15, 2019 8:54 pm

  • Quote

Post by halcon » Fri Dec 11, 2020 8:36 pm

rickj wrote:Tried that, but it simply leads to:

Code: Select all

../../contrib/src/argon2/rules.mak:10: *** Trying to download https://github.com/P-H-C/phc-winner-argon2/archive/1eea0104e7cb2a38c617cf90ffa46ce5db6aceda.tar.gz but DISABLE_CONTRIB_DOWNLOADS is TRUE, aborting..  Stop.
 * ERROR: net-voip/ring-daemon-99999999::ring-overlay failed (configure phase):
 *   Bundled libraries could not be compiled
Clear. The next step would be OR to try to disable those bundled libraries (with --disable-*) OR, if they are mandatory, to download them, but properly, that is, in a separate ebuild(s), as a dependency-package(s), and then to change the make script of ring-daemon so that it understand that the libraries are provided separately - that could be non-trivial.

EDIT

The package argon2 is present in ::Gentoo.
But I see that ring-daemon expects a certain version tarball, having a checksum and patches for it: https://git.jami.net/savoirfairelinux/r ... src/argon2 ...
A wife asks her husband, a programmer:
- Could you please go shopping for me and buy one carton of milk, and if they have eggs, get 6?
He comes back with 6 cartons of milk.
- Why did you buy 6 cartons of milk?
- They had eggs.
Top
Post Reply

24 posts • Page 1 of 1

Return to “Multimedia”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic