Search Criteria
Package Details: janus-gateway 1.2.4-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/janus-gateway.git (read-only, click to copy) |
---|---|
Package Base: | janus-gateway |
Description: | An open source, general purpose, WebRTC server |
Upstream URL: | https://janus.conf.meetecho.com |
Licenses: | GPL-3.0-only |
Submitter: | dseg |
Maintainer: | alerque (feighur, robertfoster) |
Last Packager: | alerque |
Votes: | 8 |
Popularity: | 0.013661 |
First Submitted: | 2016-01-29 11:22 (UTC) |
Last Updated: | 2024-09-11 10:10 (UTC) |
Dependencies (31)
- glib2 (glib2-gitAUR, glib2-selinuxAUR, glib2-patched-thumbnailerAUR)
- jansson (jansson-gitAUR)
- libconfig (libconfig-gitAUR)
- libmicrohttpd (libmicrohttpd-gitAUR)
- libnice
- libsrtp (libsrtp-gitAUR)
- libusrsctpAUR (libusrsctp-gitAUR)
- openssl (openssl-gitAUR, openssl-staticAUR)
- zlib (zlib-ng-compat-gitAUR, zlib-gitAUR, zlib-ng-compat)
- curl (curl-quiche-gitAUR, curl-http3-ngtcp2AUR, curl-gitAUR, curl-c-aresAUR) (make)
- duktape (make)
- ffmpeg (ffmpeg-nvcodec-11-1-gitAUR, ffmpeg-ffplayoutAUR, ffmpeg-amd-full-gitAUR, ffmpeg-cudaAUR, ffmpeg-full-gitAUR, ffmpeg-gitAUR, ffmpeg-libfdk_aacAUR, ffmpeg-fullAUR, ffmpeg-decklinkAUR, ffmpeg-headlessAUR, ffmpeg-obsAUR, ffmpeg-amd-fullAUR) (make)
- libogg (libogg-gitAUR) (make)
- librabbitmq-c (make)
- libwebsockets (make)
- lua (make)
- nanomsg (nanomsg-gitAUR) (make)
- opus (opus-gitAUR) (make)
- paho-mqtt-cAUR (paho-mqtt-c-gitAUR) (make)
- sofia-sip (sofia-sip-bcAUR, sofia-sip-gitAUR) (make)
- curl (curl-quiche-gitAUR, curl-http3-ngtcp2AUR, curl-gitAUR, curl-c-aresAUR) (optional) – TURN REST API support, RTSP support in Streaming/Event Handler plugin
- duktape (optional) – Javascript support
- ffmpeg (ffmpeg-nvcodec-11-1-gitAUR, ffmpeg-ffplayoutAUR, ffmpeg-amd-full-gitAUR, ffmpeg-cudaAUR, ffmpeg-full-gitAUR, ffmpeg-gitAUR, ffmpeg-libfdk_aacAUR, ffmpeg-fullAUR, ffmpeg-decklinkAUR, ffmpeg-headlessAUR, ffmpeg-obsAUR, ffmpeg-amd-fullAUR) (optional) – Post-processor
- libogg (libogg-gitAUR) (optional) – Voicemail plugin and/or post-processor
- librabbitmq-c (optional) – RabbitMQ support for the Janus API or events
- libwebsockets (optional) – WebSockets support for Janus API
- lua (optional) – Lua plugin
- nanomsg (nanomsg-gitAUR) (optional) – Nanomsg support for the Janus API
- opus (opus-gitAUR) (optional) – Bridge plugin
- paho-mqtt-cAUR (paho-mqtt-c-gitAUR) (optional) – MQTT support for the Janus API or events
- sofia-sip (sofia-sip-bcAUR, sofia-sip-gitAUR) (optional) – SIP plugin
Required by (4)
- jangouts
- nextcloud-spreed-signaling (optional)
- ustreamer
- ustreamer (make)
Latest Comments
« First ‹ Previous 1 2
alerque commented on 2020-05-07 19:47 (UTC)
@feighur I've done a first pass at noting the things that are optional. It looks like I might be wrong and only some of those are required at build time, it looks like others may be run-time checks. If you get any solid info on which are which I'd be happy to help get this updated to reflect that or you can submit PRs from Github.
alerque commented on 2020-05-07 19:32 (UTC)
Thanks for the tips @feighur. I'll definitely cleanup the certs/install thing based on your input.
About dependencies though, I think you're handling them wrong. It does sort of work that way on the AUR, but the problem is those are not actually
optdepends
. By rights they would beoptmakedepends
— they must be present (or not) and compile time in order to be useful. In Arch packaging parlanceoptdepends
are for packages you can install to your system and have the extra functionality available at run time. This is the only way it can work for most Arch Linux package repositories, whether the official core/extras/community/testing ones or any of the unofficial ones. This includes the unofficial one I host (that has this package). Since packages are precompiled whatever options you are going to bake in (or not) have to be done at the time of making the package. That means the packager has do decide on what to enable, and usually that means most/all of the common features and plugins possible.About the best compromise I can think of is annotating the PKGBUILD so that people building it on there own can know what dependencies can be commented out if they don't want the extra features.
By the way if you have anything you want to contribute directly you can also open PRs against this package here.
feighur commented on 2020-05-07 16:17 (UTC)
I'd like to offer a few PKGBUILD modification I'm using myself:
The certs and the entire /usr/share/janus directory are no longer created or required in the current version of Janus. I've simply removed the .install file and all references to the directory
A set of (not fully tested) {make,opt,}depends that builds all features except docs and JS modules (as reported by configure), and is sufficient for the echo test demo without any optdepends. Descriptions for the optdepends items are taken from the upstream website (not fully tested)
alerque commented on 2020-05-06 08:48 (UTC)
Note to anyone trying to version-bump this package: You must actually (re)build the package before trying to regenerate the .SRCINFO file or the backups array won't be populated. The upstream seems to have a revolving door of config files so it is scanning what
make configs
actually installs to catch all the non-sample files. You can't cheat and bump the PKGBUILD without actually building it.alerque commented on 2020-05-06 08:45 (UTC) (edited on 2020-05-06 08:46 (UTC) by alerque)
@ubuntourist The first packaging issue you mentioned is fixed, the new package finds and makes backups of all config files.
The second issue you note is more problematic, and I didn't attempt to fix it yet. Honestly the current solution using the
post_install()
hook looks like a really dirty hack to me. I'm wondering if there is a better mechanism to handle that. Any thoughts @robertfoster?alerque commented on 2020-05-06 08:02 (UTC)
I'm sorry @robertfoster I didn't mean to snip this orphaned package from you. I got an email notification about it and actually thought I had filed the orphan request. I have some previous attempts at updating the package that I'll be posting as soon as I can verify their current build status. The dependencies have changed quite a bit since this was pasted and it looks like not all of the dependencies currently build from the AUR so it might take a bit before I actually post it. I've added you as a co-maintainer too, we can ever reverse that if it matters to you.
ubuntourist commented on 2020-04-11 19:04 (UTC) (edited on 2020-04-11 19:05 (UTC) by ubuntourist)
Two issues during the build. Neither of which appears to be a show-stopper
First:
though there are a fair number of
.jcfg
files in/etc/janus/
there's no.cfg
file.Second (easily fixable):
Manually adding a
certs
directory and reinstalling fixed the second issue:Martchus commented on 2018-12-08 12:22 (UTC)
Can you
git am
https://martchus.no-ip.biz/shares/a4f78bd3d1154882e0feb89711c615/0001-Depend-on-ffmpeg.patch and https://martchus.no-ip.biz/shares/a4f78bd3d1154882e0feb89711c615/0002-Add-systemd-support.patch ? See my previous comment and the commit messages.Martchus commented on 2018-12-07 09:32 (UTC)
This seems to depend on ffmpeg. Otherwise I get:
« First ‹ Previous 1 2