Skip to content

Commit 8c9395d

Browse files
authored
Update debian packaging (#20)
* debian: package 1.0.4.1.g52aba34 * debian: update changelog * debian: update packaging readme
1 parent 507e721 commit 8c9395d

File tree

6 files changed

+35
-7
lines changed

6 files changed

+35
-7
lines changed

debian/README.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@ Also see https://wiki.debian.org/Packaging/Intro
55
1. Setup (once per distro release):
66

77
```sh
8-
# Required packages
9-
sudo apt-get install pbuilder ubuntu-dev-tools apt-file
10-
118
# Developer info
129
cat <<_EOF >>~/.bashrc
1310
export DEBFULLNAME='Me'
@@ -18,6 +15,12 @@ _EOF
1815
# Nodesource repo for electron build
1916
curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key \
2017
| gpg --dearmor -o ../nodesource.gpg
18+
sudo cp ../nodesource.gpg /etc/apt/keyrings/nodesource.gpg
19+
echo "deb [arch=amd64 signed-by=/etc/apt/trusted.gpg.d/nodesource.gpg] http://deb.nodesource.com/node_${node_version}.x nodistro main" \
20+
| sudo tee /etc/apt/sources.list.d/nodesource.list
21+
22+
# Build & packaging dependencies
23+
sudo apt-get install pbuilder ubuntu-dev-tools debhelper apt-file nodejs
2124

2225
# pbuilder environment
2326
dist=jammy
@@ -70,3 +73,4 @@ pdebuild --buildresult . -- --basetgz ~/pbuilder/jammy-base.tgz --use-network ye
7073
git add debian/changelog
7174
git commit -m "debian $version-$build"
7275
```
76+

debian/changelog

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
webrtc-grabber (1.0.4.2.g98a96d0-1) jammy; urgency=medium
2+
3+
* Grabber: type error fix (2e0e4fea84ca7a002cd2aab5cae000e2eda9cbd2).
4+
* Relay: SFU (#19 fc168b722907586007762f71f916ccbf1917d65c, 70b7def7a7ad019140fced83c1697d6efbb3d206).
5+
* Turn: ipv6 support (aa16baa060c598818979e2946378afd1dd23259a).
6+
* Relay, turn: upgrade go, upgrade deps (52aba343f698d2754b1cfffb219924c3fc703973).
7+
* Debian build: support SFU.
8+
* Debian build: use node 22, go 1.25.0.
9+
10+
-- Dmitrii Kuptsov <demulkup@ya.ru> Sun, 12 Oct 2025 14:25:33 +0300
11+
112
webrtc-grabber (1.0.1.alpha.6.g90b1562-1) jammy; urgency=medium
213

314
* Finalize webcam, audio, recording support.

debian/control

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Maintainer: Dmitrii Kuptsov <demulkup@ya.ru>
33
Section: misc
44
Priority: optional
55
Standards-Version: 4.7.0
6-
Build-Depends: debhelper-compat (= 11), nodejs (>= 20), adduser, curl, libglib2.0-0, libnss3, libnspr4, libatk1.0-0, libatk-bridge2.0-0, libcups2, libdbus-1-3, libdrm2, libgtk-3-0, libpango-1.0-0, libcairo2, libx11-6, libxcomposite1, libxdamage1, libxext6, libxfixes3, libxrandr2, libgbm1, libxcb1, libxkbcommon-x11-0, libasound2, libatspi2.0-0, libwayland-client0
6+
Build-Depends: debhelper-compat (= 11), nodejs (>= 22), adduser, curl, libglib2.0-0, libnss3, libnspr4, libatk1.0-0, libatk-bridge2.0-0, libcups2, libdbus-1-3, libdrm2, libgtk-3-0, libpango-1.0-0, libcairo2, libx11-6, libxcomposite1, libxdamage1, libxext6, libxfixes3, libxrandr2, libgbm1, libxcb1, libxkbcommon-x11-0, libasound2, libatspi2.0-0, libwayland-client0
77

88
Package: webrtc-grabber-agent
99
Architecture: amd64

debian/rules

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ override_dh_auto_install:
2020

2121
override_dh_auto_build:
2222
mkdir -p tmpdir
23-
curl -LO https://go.dev/dl/go1.23.3.linux-amd64.tar.gz
24-
echo 'a0afb9744c00648bafb1b90b4aba5bdb86f424f02f9275399ce0c20b93a2c3a8 go1.23.3.linux-amd64.tar.gz' | sha256sum --check
25-
tar xf go1.23.3.linux-amd64.tar.gz
23+
curl -LO https://go.dev/dl/go1.25.0.linux-amd64.tar.gz
24+
echo '2852af0cb20a13139b3448992e69b868e50ed0f8a1e5940ee1de9e19a123b613 go1.25.0.linux-amd64.tar.gz' | sha256sum --check
25+
tar xf go1.25.0.linux-amd64.tar.gz
2626
\
2727
tmpdir=$(shell pwd)/tmpdir ; \
2828
export XDG_CACHE_HOME=$$tmpdir XDG_RUNTIME_DIR=$$tmpdir HOME=$$tmpdir ; \

debian/source/include-binaries

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
img/webrtc-protocol.png

rpm/relay/config.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,17 @@
1717
"grabberPingInterval": 3000,
1818
"adminCredential": "live",
1919
"serverPort": 13478,
20+
"codecs": [
21+
{
22+
"type": "video",
23+
"params": {
24+
"mimeType": "video/VP8",
25+
"clockRate": 90000,
26+
"payloadType": 96,
27+
"channels": 0
28+
}
29+
}
30+
],
31+
"webcamTrackCount": 2,
2032
"RecordStorageDirectory": "/opt/webrtc-grabber-relay/homedir/records"
2133
}

0 commit comments

Comments
 (0)