diff options
author | frealgagu | 2018-11-18 18:22:22 -0500 |
---|---|---|
committer | frealgagu | 2018-11-18 18:22:22 -0500 |
commit | b91eb17ab282adc41deda36797b9dfa92064f9bf (patch) | |
tree | 09312f708df5ae1b42d3a2640074c9edfbdf84da | |
download | aur-b91eb17ab282adc41deda36797b9dfa92064f9bf.tar.gz |
Initial commit.
-rw-r--r-- | .SRCINFO | 125 | ||||
-rw-r--r-- | .gitignore | 6 | ||||
-rw-r--r-- | PKGBUILD | 170 | ||||
-rw-r--r-- | bctoolbox.patch | 13 | ||||
-rw-r--r-- | belle-sip.patch | 13 | ||||
-rw-r--r-- | bzrtp.patch | 13 | ||||
-rw-r--r-- | fix-qt5_1x.patch | 365 | ||||
-rw-r--r-- | linphone-desktop.patch | 14 | ||||
-rw-r--r-- | linphone.desktop | 26 | ||||
-rw-r--r-- | linphone.patch | 24 | ||||
-rw-r--r-- | mediastreamer2.patch | 13 | ||||
-rw-r--r-- | ortp.patch | 14 | ||||
-rw-r--r-- | v4l-utils.patch | 24 |
13 files changed, 820 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..1f4fa950c669 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,125 @@ +pkgbase = linphone-desktop-all + pkgdesc = A free VoIP and video softphone based on the SIP protocol (Installed in /opt with all deps included). + pkgver = 4.1.1 + pkgrel = 1 + url = https://www.linphone.org/ + arch = x86_64 + license = GPL2 + makedepends = cmake + makedepends = doxygen + makedepends = git + makedepends = graphviz + makedepends = ladspa + makedepends = nasm + makedepends = python-pystache + makedepends = yasm + depends = alsa-utils + depends = desktop-file-utils + depends = glew + depends = gsm + depends = java-runtime + depends = libbsd + depends = pulseaudio + depends = qt5-graphicaleffects + depends = qt5-quickcontrols + depends = qt5-quickcontrols2 + depends = qt5-speech + depends = qt5-svg + depends = qt5-tools + depends = v4l-utils + provides = linphone-desktop + conflicts = linphone + conflicts = linphone-desktop + source = linphone-desktop-4.1.1.tar.gz::https://gitlab.linphone.org/BC/public/linphone-desktop/-/archive/4.1.1/linphone-desktop-4.1.1.tar.gz + source = bcg729-1.0.4.tar.gz::https://gitlab.linphone.org/BC/public/bcg729/-/archive/1.0.4/bcg729-1.0.4.tar.gz + source = bcmatroska2-0.23.tar.gz::https://gitlab.linphone.org/BC/public/bcmatroska2/-/archive/0.23/bcmatroska2-0.23.tar.gz + source = bctoolbox-99472e6e08368ff843c7905f785c98f4f038a29d.tar.gz::https://gitlab.linphone.org/BC/public/bctoolbox/-/archive/99472e6e08368ff843c7905f785c98f4f038a29d/bctoolbox-99472e6e08368ff843c7905f785c98f4f038a29d.tar.gz + source = bcunit-3.0.2.tar.gz::https://gitlab.linphone.org/BC/public/bcunit/-/archive/3.0.2/bcunit-3.0.2.tar.gz + source = belcard-1.0.2.tar.gz::https://gitlab.linphone.org/BC/public/belcard/-/archive/1.0.2/belcard-1.0.2.tar.gz + source = belle-msrp-31378b48daef19285241308e941bf8930fd01ec5.tar.gz::https://gitlab.linphone.org/BC/public/belle-msrp/-/archive/31378b48daef19285241308e941bf8930fd01ec5/belle-msrp-31378b48daef19285241308e941bf8930fd01ec5.tar.gz + source = belle-sip-1.6.3.tar.gz::https://gitlab.linphone.org/BC/public/belle-sip/-/archive/1.6.3/belle-sip-1.6.3.tar.gz + source = belr-a6380eccb56bb070712971189912f41eb7f047a3.tar.gz::https://gitlab.linphone.org/BC/public/belr/-/archive/a6380eccb56bb070712971189912f41eb7f047a3/belr-a6380eccb56bb070712971189912f41eb7f047a3.tar.gz + source = bzrtp-1.0.6.tar.gz::https://gitlab.linphone.org/BC/public/bzrtp/-/archive/1.0.6/bzrtp-1.0.6.tar.gz + source = linphone-cmake-builder-659a481fbad8ea37b1d43668e148f9c5b4e05ab3.tar.gz::https://gitlab.linphone.org/BC/public/linphone-cmake-builder/-/archive/659a481fbad8ea37b1d43668e148f9c5b4e05ab3/linphone-cmake-builder-659a481fbad8ea37b1d43668e148f9c5b4e05ab3.tar.gz + source = antlr3-ac1069cf214b15b86272cbc6ded5916d7d2f85ec.tar.gz::https://gitlab.linphone.org/BC/public/external/antlr3/-/archive/ac1069cf214b15b86272cbc6ded5916d7d2f85ec/antlr3-ac1069cf214b15b86272cbc6ded5916d7d2f85ec.tar.gz + source = bv16-floatingpoint-85b27910607b7e8edcf7c4a5dec1298b5877f4e2.tar.gz::https://gitlab.linphone.org/BC/public/external/bv16-floatingpoint/-/archive/85b27910607b7e8edcf7c4a5dec1298b5877f4e2/bv16-floatingpoint-85b27910607b7e8edcf7c4a5dec1298b5877f4e2.tar.gz + source = ffmpeg-f7589590b37ab772f89d996f6b899d8a4daae684.tar.gz::https://gitlab.linphone.org/BC/public/external/ffmpeg/-/archive/f7589590b37ab772f89d996f6b899d8a4daae684/ffmpeg-f7589590b37ab772f89d996f6b899d8a4daae684.tar.gz + source = gsm-0f8822b5326c76bb9dc4c6b552631f51792c3982.tar.gz::https://gitlab.linphone.org/BC/public/external/gsm/-/archive/0f8822b5326c76bb9dc4c6b552631f51792c3982/gsm-0f8822b5326c76bb9dc4c6b552631f51792c3982.tar.gz + source = libjpeg-turbo-9f34b5eade75fd8e1548e6c7daf278d6ffb73526.tar.gz::https://gitlab.linphone.org/BC/public/external/libjpeg-turbo/-/archive/9f34b5eade75fd8e1548e6c7daf278d6ffb73526/libjpeg-turbo-9f34b5eade75fd8e1548e6c7daf278d6ffb73526.tar.gz + source = libvpx-d2b4742a04da011adf05a4ea63d041f60e50195a.tar.gz::https://gitlab.linphone.org/BC/public/external/libvpx/-/archive/d2b4742a04da011adf05a4ea63d041f60e50195a/libvpx-d2b4742a04da011adf05a4ea63d041f60e50195a.tar.gz + source = libxml2-v2.8.0.tar.gz::https://gitlab.linphone.org/BC/public/external/libxml2/-/archive/v2.8.0/libxml2-v2.8.0.tar.gz + source = mbedtls-addacec784478244f66cd579fdc93b2e01e11c50.tar.gz::https://gitlab.linphone.org/BC/public/external/mbedtls/-/archive/addacec784478244f66cd579fdc93b2e01e11c50/mbedtls-addacec784478244f66cd579fdc93b2e01e11c50.tar.gz + source = openh264-v1.5.0.tar.gz::https://gitlab.linphone.org/BC/public/external/openh264/-/archive/v1.5.0/openh264-v1.5.0.tar.gz + source = opus-35b371a85bf2cf21ab4b12b5475c76a2775b25d1.tar.gz::https://gitlab.linphone.org/BC/public/external/opus/-/archive/35b371a85bf2cf21ab4b12b5475c76a2775b25d1/opus-35b371a85bf2cf21ab4b12b5475c76a2775b25d1.tar.gz + source = speex-fc1dd43c3c9d244bca1c300e408ce0373dbd5ed8.tar.gz::https://gitlab.linphone.org/BC/public/external/speex/-/archive/fc1dd43c3c9d244bca1c300e408ce0373dbd5ed8/speex-fc1dd43c3c9d244bca1c300e408ce0373dbd5ed8.tar.gz + source = srtp-d79ae95126baa3cec83097469e97525a1d9e2d50.tar.gz::https://gitlab.linphone.org/BC/public/external/srtp/-/archive/d79ae95126baa3cec83097469e97525a1d9e2d50/srtp-d79ae95126baa3cec83097469e97525a1d9e2d50.tar.gz + source = v4l-utils-92995faa431fdd247d55b982898a70aa3a339874.tar.gz::https://gitlab.linphone.org/BC/public/external/v4l-utils/-/archive/92995faa431fdd247d55b982898a70aa3a339874/v4l-utils-92995faa431fdd247d55b982898a70aa3a339874.tar.gz + source = zlib-cacf7f1d4e3d44d871b605da3b647f07d718623f.tar.gz::https://gitlab.linphone.org/BC/public/external/zlib/-/archive/cacf7f1d4e3d44d871b605da3b647f07d718623f/zlib-cacf7f1d4e3d44d871b605da3b647f07d718623f.tar.gz + source = linphone-3.12.0.tar.gz::https://gitlab.linphone.org/BC/public/linphone/-/archive/3.12.0/linphone-3.12.0.tar.gz + source = mediastreamer2-2.16.1.tar.gz::https://gitlab.linphone.org/BC/public/mediastreamer2/-/archive/2.16.1/mediastreamer2-2.16.1.tar.gz + source = msamr-1.1.3.tar.gz::https://gitlab.linphone.org/BC/public/msamr/-/archive/1.1.3/msamr-1.1.3.tar.gz + source = msopenh264-1.2.1.tar.gz::https://gitlab.linphone.org/BC/public/msopenh264/-/archive/1.2.1/msopenh264-1.2.1.tar.gz + source = mssilk-1.1.1.tar.gz::https://gitlab.linphone.org/BC/public/mssilk/-/archive/1.1.1/mssilk-1.1.1.tar.gz + source = mswasapi-0fd04f29dcc3eb2d60f4053cb75cca7d14691d5d.tar.gz::https://gitlab.linphone.org/BC/public/mswasapi/-/archive/0fd04f29dcc3eb2d60f4053cb75cca7d14691d5d/mswasapi-0fd04f29dcc3eb2d60f4053cb75cca7d14691d5d.tar.gz + source = mswebrtc-1.1.1.tar.gz::https://gitlab.linphone.org/BC/public/mswebrtc/-/archive/1.1.1/mswebrtc-1.1.1.tar.gz + source = msx264-1.5.4.tar.gz::https://gitlab.linphone.org/BC/public/msx264/-/archive/1.5.4/msx264-1.5.4.tar.gz + source = ortp-1.0.2.tar.gz::https://gitlab.linphone.org/BC/public/ortp/-/archive/1.0.2/ortp-1.0.2.tar.gz + source = webrtc-a7757e88b2ac2d1f11ac544c5822659b42db4cf3.tar.gz::https://gitlab.linphone.org/BC/public/external/webrtc/-/archive/a7757e88b2ac2d1f11ac544c5822659b42db4cf3/webrtc-a7757e88b2ac2d1f11ac544c5822659b42db4cf3.tar.gz + source = linphone.desktop + source = linphone-desktop.patch + source = linphone.patch + source = bctoolbox.patch + source = belle-sip.patch + source = bzrtp.patch + source = mediastreamer2.patch + source = ortp.patch + source = v4l-utils.patch + source = fix-qt5_1x.patch + sha256sums = 28840e5de42496e053332800a40f83ac2557b6bf50f08a6e1e9dc0509d610a49 + sha256sums = 94b3542a06cbd96306efc19f959f9febae62806a22599063f82a8c33e989d48b + sha256sums = ac55d765a383e2832ecbc0276effc6e0bda0d01b66d517294dcf33d3ba1419c2 + sha256sums = 21e6c02e13afe4c4e35229df4650a309f5f6a516b8e3f61189126cf918149487 + sha256sums = eb7090aca5006aa0cea425722cb3fa1a7139185a7d9d1734d57844f69084713f + sha256sums = 26385b604318ff4e1455e08e915dadc01789ecc850b027e1b2f148e4cda3886c + sha256sums = 4f1e98848c74594557c397d726b3beffcc2a36a05d9684dfe5a43bd13035001d + sha256sums = cbdf9f79786fe13f553964b84892e8d3a08b6eae18fc5bdea5fcb445d7f1ce17 + sha256sums = 387a25a2ec274c7518bcbdc0fa75430a48fe4c09ecd93e065e6607153e01cfd5 + sha256sums = d551cf45372a180319fd93d7b59823ccff169dc41f67a777932c83def8019260 + sha256sums = 9ac6de5df3096b4290f367b683111d56ce9256090be5651f0801b4efe899ab81 + sha256sums = 8ec54da536d1b9c1ea3a06fee5fe61865c5904c9d53090a58bb8f0d6769b5faf + sha256sums = 57c3463ce52ac05a3ac626aef8421e378a3f9945068dcf8210045b4cc40fe773 + sha256sums = 5fa3e7341723c9ab0188ff3d5905a848baae1b0722865d1c39185accdfbdd388 + sha256sums = 8bb19b3a3c6850d56a3b0f7fdd41f0dbb6ad70af59845905f093bd386f8ab75a + sha256sums = edce9ec9946153d83f5e3c66c127fc7724d3dc7c7ae65a00781e94affc38fd98 + sha256sums = 1d9f622f91dfa8fceb1700291772f2e2a64dc7d2ccd3c17891d31fa615eb0902 + sha256sums = f254fb208e72d105b3cda3635c7a8a6f33a9a9e522d0e79dcaa88d913f792817 + sha256sums = 3d1788df4a2671fa26cf1d67a9232a65f5303d8a4ae99bf7e6d68860328ea396 + sha256sums = 7d8a1fd7353d574e1c2384e952335be2c1b3e709db0dae354b8961d8126a4221 + sha256sums = 35465e5650e08e7b3bfe2d6c6c32d6b9787d3d0eacf6dcf024d1c2d60c6ceb16 + sha256sums = c498c18e9c4710da49e702a0fb3874e63f80f8f2640beb6f8cae56785b519010 + sha256sums = e43b594c291b68dad5e7c2e7b9f6c34326ecb6beb183e788cfe12f4505bbd639 + sha256sums = 12011d6715e64e91f1c5bdc4066a16331d9fc6281467b4f23e8d6f89ab5ee59d + sha256sums = 6d4d6640ca3121620995ee255945161821218752b551a1a180f4215f7d124d45 + sha256sums = 60fb1e5d25823fecc7ce1955ce7e886e013118a184df1965d1877ffe6cc171b7 + sha256sums = 25e0557d5b992d256a6df07466ba3c10587bdf899850b46a31e79b91147e5910 + sha256sums = 08e67986389a03246d0891715e354778986275c675012947526e8029e7454b32 + sha256sums = f509a7d01776dbfa69911297e95dcb8fb94d23c8139d6af90fe72aafa8948628 + sha256sums = c2cead3c4c83c82bb6881b83a662cd23049ffa51b9e98bb9f11245d522e99530 + sha256sums = 4b824dbe4d1c6aee58ae4130f833af6e66861beccdb26fd1708dc1976c0e0588 + sha256sums = a6d05e48687483cae216c4ddb417acb54fdf39596cbe4f9030e8a3b169ce5120 + sha256sums = c99731bd99bd472562eee9a2ee8a7e4fcc386b5603c92aaa2bc83d80124f4420 + sha256sums = f8069cbb0c9679545e52d4080e07b4c2bea049f2571100332c90539490240d76 + sha256sums = 2c6194d078e7bd884985ee2d9e069e289ffd19004ee08ea5671a29f4f5275dea + sha256sums = 346d983f503873811b3a4f72772e5afe4990275526c9e15c1b5cde2ad69a0544 + sha256sums = 22093c10c6d2e2d646f25dc11b0b7d59e62f2a32e4bfe3b44bd75980c22fc104 + sha256sums = 377d23a761c72085ff4efc13ec8dd59a6f6d6f7455c0b4eaebf1843198c1e146 + sha256sums = bbb6395bed0d59da821e1e2fa8747de46e686167054d8dd264f0e13135643b84 + sha256sums = 448f12cb03841dd40156bdf1d0ba7fcf42d9250bb84f54fe33cbf3bab70856ad + sha256sums = 3f4f65e73d7247f8c5888e44a7abb236b1388153b5169975cb6164651bdad03e + sha256sums = 407eb61fa5a2c3b57c524e8b842a82e16c87269172e681227e3313c5728cf8e9 + sha256sums = a6ab60f1b34c74eb11e986dd62aa817d56d1a094b88e2569bd2e5f100a90a5d1 + sha256sums = 26719ec8caa919b3bdb3e9a6462e034ab224b8319331e695c2deb26b4a1e4d42 + sha256sums = e2cb11fc8ffc44a4448bdb4410023325cb7a0d673d6670478294f55a54375689 + +pkgname = linphone-desktop-all + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..512f0a153ad6 --- /dev/null +++ b/.gitignore @@ -0,0 +1,6 @@ +linphone-desktop-all-*.pkg.tar.xz +*.tar.gz +linphone-desktop-all-*.log +PKGBUILD-namcap.log +pkg/ +src/ diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..1c9e60d6dafa --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,170 @@ +# Maintainer: Fredy García <frealgagu at gmail dot com> + +pkgname=linphone-desktop-all +pkgver=4.1.1 +pkgrel=1 +pkgdesc="A free VoIP and video softphone based on the SIP protocol (Installed in /opt with all deps included)." +arch=("x86_64") +url="https://www.${pkgname%-desktop-all}.org/" +license=("GPL2") +depends=("alsa-utils" "desktop-file-utils" "glew" "gsm" "java-runtime" "libbsd" "pulseaudio" "qt5-graphicaleffects" "qt5-quickcontrols" "qt5-quickcontrols2" "qt5-speech" "qt5-svg" "qt5-tools" "v4l-utils") +makedepends=("cmake" "doxygen" "git" "graphviz" "ladspa" "nasm" "python-pystache" "yasm") +provides=("${pkgname%-all}") +conflicts=("${pkgname%-desktop-all}" "${pkgname%-all}") +source=("${pkgname%-all}-${pkgver}.tar.gz::https://gitlab.${pkgname%-desktop-all}.org/BC/public/${pkgname%-all}/-/archive/${pkgver}/${pkgname%-all}-${pkgver}.tar.gz" + "bcg729-1.0.4.tar.gz::https://gitlab.${pkgname%-desktop-all}.org/BC/public/bcg729/-/archive/1.0.4/bcg729-1.0.4.tar.gz" + "bcmatroska2-0.23.tar.gz::https://gitlab.${pkgname%-desktop-all}.org/BC/public/bcmatroska2/-/archive/0.23/bcmatroska2-0.23.tar.gz" + "bctoolbox-99472e6e08368ff843c7905f785c98f4f038a29d.tar.gz::https://gitlab.${pkgname%-desktop-all}.org/BC/public/bctoolbox/-/archive/99472e6e08368ff843c7905f785c98f4f038a29d/bctoolbox-99472e6e08368ff843c7905f785c98f4f038a29d.tar.gz" + "bcunit-3.0.2.tar.gz::https://gitlab.${pkgname%-desktop-all}.org/BC/public/bcunit/-/archive/3.0.2/bcunit-3.0.2.tar.gz" + "belcard-1.0.2.tar.gz::https://gitlab.${pkgname%-desktop-all}.org/BC/public/belcard/-/archive/1.0.2/belcard-1.0.2.tar.gz" + "belle-msrp-31378b48daef19285241308e941bf8930fd01ec5.tar.gz::https://gitlab.${pkgname%-desktop-all}.org/BC/public/belle-msrp/-/archive/31378b48daef19285241308e941bf8930fd01ec5/belle-msrp-31378b48daef19285241308e941bf8930fd01ec5.tar.gz" + "belle-sip-1.6.3.tar.gz::https://gitlab.${pkgname%-desktop-all}.org/BC/public/belle-sip/-/archive/1.6.3/belle-sip-1.6.3.tar.gz" + "belr-a6380eccb56bb070712971189912f41eb7f047a3.tar.gz::https://gitlab.${pkgname%-desktop-all}.org/BC/public/belr/-/archive/a6380eccb56bb070712971189912f41eb7f047a3/belr-a6380eccb56bb070712971189912f41eb7f047a3.tar.gz" + "bzrtp-1.0.6.tar.gz::https://gitlab.${pkgname%-desktop-all}.org/BC/public/bzrtp/-/archive/1.0.6/bzrtp-1.0.6.tar.gz" + "${pkgname%-desktop-all}-cmake-builder-659a481fbad8ea37b1d43668e148f9c5b4e05ab3.tar.gz::https://gitlab.${pkgname%-desktop-all}.org/BC/public/${pkgname%-desktop-all}-cmake-builder/-/archive/659a481fbad8ea37b1d43668e148f9c5b4e05ab3/${pkgname%-desktop-all}-cmake-builder-659a481fbad8ea37b1d43668e148f9c5b4e05ab3.tar.gz" + "antlr3-ac1069cf214b15b86272cbc6ded5916d7d2f85ec.tar.gz::https://gitlab.${pkgname%-desktop-all}.org/BC/public/external/antlr3/-/archive/ac1069cf214b15b86272cbc6ded5916d7d2f85ec/antlr3-ac1069cf214b15b86272cbc6ded5916d7d2f85ec.tar.gz" + "bv16-floatingpoint-85b27910607b7e8edcf7c4a5dec1298b5877f4e2.tar.gz::https://gitlab.${pkgname%-desktop-all}.org/BC/public/external/bv16-floatingpoint/-/archive/85b27910607b7e8edcf7c4a5dec1298b5877f4e2/bv16-floatingpoint-85b27910607b7e8edcf7c4a5dec1298b5877f4e2.tar.gz" + "ffmpeg-f7589590b37ab772f89d996f6b899d8a4daae684.tar.gz::https://gitlab.${pkgname%-desktop-all}.org/BC/public/external/ffmpeg/-/archive/f7589590b37ab772f89d996f6b899d8a4daae684/ffmpeg-f7589590b37ab772f89d996f6b899d8a4daae684.tar.gz" + "gsm-0f8822b5326c76bb9dc4c6b552631f51792c3982.tar.gz::https://gitlab.${pkgname%-desktop-all}.org/BC/public/external/gsm/-/archive/0f8822b5326c76bb9dc4c6b552631f51792c3982/gsm-0f8822b5326c76bb9dc4c6b552631f51792c3982.tar.gz" + "libjpeg-turbo-9f34b5eade75fd8e1548e6c7daf278d6ffb73526.tar.gz::https://gitlab.${pkgname%-desktop-all}.org/BC/public/external/libjpeg-turbo/-/archive/9f34b5eade75fd8e1548e6c7daf278d6ffb73526/libjpeg-turbo-9f34b5eade75fd8e1548e6c7daf278d6ffb73526.tar.gz" + "libvpx-d2b4742a04da011adf05a4ea63d041f60e50195a.tar.gz::https://gitlab.${pkgname%-desktop-all}.org/BC/public/external/libvpx/-/archive/d2b4742a04da011adf05a4ea63d041f60e50195a/libvpx-d2b4742a04da011adf05a4ea63d041f60e50195a.tar.gz" + "libxml2-v2.8.0.tar.gz::https://gitlab.${pkgname%-desktop-all}.org/BC/public/external/libxml2/-/archive/v2.8.0/libxml2-v2.8.0.tar.gz" + "mbedtls-addacec784478244f66cd579fdc93b2e01e11c50.tar.gz::https://gitlab.${pkgname%-desktop-all}.org/BC/public/external/mbedtls/-/archive/addacec784478244f66cd579fdc93b2e01e11c50/mbedtls-addacec784478244f66cd579fdc93b2e01e11c50.tar.gz" + "openh264-v1.5.0.tar.gz::https://gitlab.${pkgname%-desktop-all}.org/BC/public/external/openh264/-/archive/v1.5.0/openh264-v1.5.0.tar.gz" + "opus-35b371a85bf2cf21ab4b12b5475c76a2775b25d1.tar.gz::https://gitlab.${pkgname%-desktop-all}.org/BC/public/external/opus/-/archive/35b371a85bf2cf21ab4b12b5475c76a2775b25d1/opus-35b371a85bf2cf21ab4b12b5475c76a2775b25d1.tar.gz" + "speex-fc1dd43c3c9d244bca1c300e408ce0373dbd5ed8.tar.gz::https://gitlab.${pkgname%-desktop-all}.org/BC/public/external/speex/-/archive/fc1dd43c3c9d244bca1c300e408ce0373dbd5ed8/speex-fc1dd43c3c9d244bca1c300e408ce0373dbd5ed8.tar.gz" + "srtp-d79ae95126baa3cec83097469e97525a1d9e2d50.tar.gz::https://gitlab.${pkgname%-desktop-all}.org/BC/public/external/srtp/-/archive/d79ae95126baa3cec83097469e97525a1d9e2d50/srtp-d79ae95126baa3cec83097469e97525a1d9e2d50.tar.gz" + "v4l-utils-92995faa431fdd247d55b982898a70aa3a339874.tar.gz::https://gitlab.${pkgname%-desktop-all}.org/BC/public/external/v4l-utils/-/archive/92995faa431fdd247d55b982898a70aa3a339874/v4l-utils-92995faa431fdd247d55b982898a70aa3a339874.tar.gz" + "zlib-cacf7f1d4e3d44d871b605da3b647f07d718623f.tar.gz::https://gitlab.${pkgname%-desktop-all}.org/BC/public/external/zlib/-/archive/cacf7f1d4e3d44d871b605da3b647f07d718623f/zlib-cacf7f1d4e3d44d871b605da3b647f07d718623f.tar.gz" + "${pkgname%-desktop-all}-3.12.0.tar.gz::https://gitlab.${pkgname%-desktop-all}.org/BC/public/${pkgname%-desktop-all}/-/archive/3.12.0/${pkgname%-desktop-all}-3.12.0.tar.gz" + "mediastreamer2-2.16.1.tar.gz::https://gitlab.${pkgname%-desktop-all}.org/BC/public/mediastreamer2/-/archive/2.16.1/mediastreamer2-2.16.1.tar.gz" + "msamr-1.1.3.tar.gz::https://gitlab.${pkgname%-desktop-all}.org/BC/public/msamr/-/archive/1.1.3/msamr-1.1.3.tar.gz" + "msopenh264-1.2.1.tar.gz::https://gitlab.${pkgname%-desktop-all}.org/BC/public/msopenh264/-/archive/1.2.1/msopenh264-1.2.1.tar.gz" + "mssilk-1.1.1.tar.gz::https://gitlab.${pkgname%-desktop-all}.org/BC/public/mssilk/-/archive/1.1.1/mssilk-1.1.1.tar.gz" + "mswasapi-0fd04f29dcc3eb2d60f4053cb75cca7d14691d5d.tar.gz::https://gitlab.${pkgname%-desktop-all}.org/BC/public/mswasapi/-/archive/0fd04f29dcc3eb2d60f4053cb75cca7d14691d5d/mswasapi-0fd04f29dcc3eb2d60f4053cb75cca7d14691d5d.tar.gz" + "mswebrtc-1.1.1.tar.gz::https://gitlab.${pkgname%-desktop-all}.org/BC/public/mswebrtc/-/archive/1.1.1/mswebrtc-1.1.1.tar.gz" + "msx264-1.5.4.tar.gz::https://gitlab.${pkgname%-desktop-all}.org/BC/public/msx264/-/archive/1.5.4/msx264-1.5.4.tar.gz" + "ortp-1.0.2.tar.gz::https://gitlab.${pkgname%-desktop-all}.org/BC/public/ortp/-/archive/1.0.2/ortp-1.0.2.tar.gz" + "webrtc-a7757e88b2ac2d1f11ac544c5822659b42db4cf3.tar.gz::https://gitlab.${pkgname%-desktop-all}.org/BC/public/external/webrtc/-/archive/a7757e88b2ac2d1f11ac544c5822659b42db4cf3/webrtc-a7757e88b2ac2d1f11ac544c5822659b42db4cf3.tar.gz" + "${pkgname%-desktop-all}.desktop" + "${pkgname%-all}.patch" + "${pkgname%-desktop-all}.patch" + "bctoolbox.patch" + "belle-sip.patch" + "bzrtp.patch" + "mediastreamer2.patch" + "ortp.patch" + "v4l-utils.patch" + "fix-qt5_1x.patch") +sha256sums=("28840e5de42496e053332800a40f83ac2557b6bf50f08a6e1e9dc0509d610a49" + "94b3542a06cbd96306efc19f959f9febae62806a22599063f82a8c33e989d48b" + "ac55d765a383e2832ecbc0276effc6e0bda0d01b66d517294dcf33d3ba1419c2" + "21e6c02e13afe4c4e35229df4650a309f5f6a516b8e3f61189126cf918149487" + "eb7090aca5006aa0cea425722cb3fa1a7139185a7d9d1734d57844f69084713f" + "26385b604318ff4e1455e08e915dadc01789ecc850b027e1b2f148e4cda3886c" + "4f1e98848c74594557c397d726b3beffcc2a36a05d9684dfe5a43bd13035001d" + "cbdf9f79786fe13f553964b84892e8d3a08b6eae18fc5bdea5fcb445d7f1ce17" + "387a25a2ec274c7518bcbdc0fa75430a48fe4c09ecd93e065e6607153e01cfd5" + "d551cf45372a180319fd93d7b59823ccff169dc41f67a777932c83def8019260" + "9ac6de5df3096b4290f367b683111d56ce9256090be5651f0801b4efe899ab81" + "8ec54da536d1b9c1ea3a06fee5fe61865c5904c9d53090a58bb8f0d6769b5faf" + "57c3463ce52ac05a3ac626aef8421e378a3f9945068dcf8210045b4cc40fe773" + "5fa3e7341723c9ab0188ff3d5905a848baae1b0722865d1c39185accdfbdd388" + "8bb19b3a3c6850d56a3b0f7fdd41f0dbb6ad70af59845905f093bd386f8ab75a" + "edce9ec9946153d83f5e3c66c127fc7724d3dc7c7ae65a00781e94affc38fd98" + "1d9f622f91dfa8fceb1700291772f2e2a64dc7d2ccd3c17891d31fa615eb0902" + "f254fb208e72d105b3cda3635c7a8a6f33a9a9e522d0e79dcaa88d913f792817" + "3d1788df4a2671fa26cf1d67a9232a65f5303d8a4ae99bf7e6d68860328ea396" + "7d8a1fd7353d574e1c2384e952335be2c1b3e709db0dae354b8961d8126a4221" + "35465e5650e08e7b3bfe2d6c6c32d6b9787d3d0eacf6dcf024d1c2d60c6ceb16" + "c498c18e9c4710da49e702a0fb3874e63f80f8f2640beb6f8cae56785b519010" + "e43b594c291b68dad5e7c2e7b9f6c34326ecb6beb183e788cfe12f4505bbd639" + "12011d6715e64e91f1c5bdc4066a16331d9fc6281467b4f23e8d6f89ab5ee59d" + "6d4d6640ca3121620995ee255945161821218752b551a1a180f4215f7d124d45" + "60fb1e5d25823fecc7ce1955ce7e886e013118a184df1965d1877ffe6cc171b7" + "25e0557d5b992d256a6df07466ba3c10587bdf899850b46a31e79b91147e5910" + "08e67986389a03246d0891715e354778986275c675012947526e8029e7454b32" + "f509a7d01776dbfa69911297e95dcb8fb94d23c8139d6af90fe72aafa8948628" + "c2cead3c4c83c82bb6881b83a662cd23049ffa51b9e98bb9f11245d522e99530" + "4b824dbe4d1c6aee58ae4130f833af6e66861beccdb26fd1708dc1976c0e0588" + "a6d05e48687483cae216c4ddb417acb54fdf39596cbe4f9030e8a3b169ce5120" + "c99731bd99bd472562eee9a2ee8a7e4fcc386b5603c92aaa2bc83d80124f4420" + "f8069cbb0c9679545e52d4080e07b4c2bea049f2571100332c90539490240d76" + "2c6194d078e7bd884985ee2d9e069e289ffd19004ee08ea5671a29f4f5275dea" + "346d983f503873811b3a4f72772e5afe4990275526c9e15c1b5cde2ad69a0544" + "22093c10c6d2e2d646f25dc11b0b7d59e62f2a32e4bfe3b44bd75980c22fc104" + "377d23a761c72085ff4efc13ec8dd59a6f6d6f7455c0b4eaebf1843198c1e146" + "bbb6395bed0d59da821e1e2fa8747de46e686167054d8dd264f0e13135643b84" + "448f12cb03841dd40156bdf1d0ba7fcf42d9250bb84f54fe33cbf3bab70856ad" + "3f4f65e73d7247f8c5888e44a7abb236b1388153b5169975cb6164651bdad03e" + "407eb61fa5a2c3b57c524e8b842a82e16c87269172e681227e3313c5728cf8e9" + "a6ab60f1b34c74eb11e986dd62aa817d56d1a094b88e2569bd2e5f100a90a5d1" + "26719ec8caa919b3bdb3e9a6462e034ab224b8319331e695c2deb26b4a1e4d42" + "e2cb11fc8ffc44a4448bdb4410023325cb7a0d673d6670478294f55a54375689") + +prepare() { + for _file in ${source[*]}; do + if [[ "${_file}" == *.tar.gz ]] ; then + _filename=${_file%%.tar.gz*} + _pkg=${_filename%-*} + _ver=${_filename##*-} + + echo "Configuring ${_pkg}-${_ver}" + + cd "${srcdir}/${_pkg}-${_ver}" + + if [[ -f "${srcdir}/${_pkg}.patch" ]] ; then + echo "Patching module ${_pkg}" + patch -Np1 -i "${srcdir}/${_pkg}.patch" + fi + + if [[ "${_pkg}" == "${pkgname%-all}" ]] ; then + patch -Np1 -i "${srcdir}/fix-qt5_1x.patch" + echo "submodules/" >> .gitignore + elif [[ ${_pkg} == "${pkgname%-desktop-all}-cmake-builder" ]] ; then + rm -r "${srcdir}/${pkgname%-all}-${pkgver}/submodules/cmake-builder" + ln -s "${srcdir}/${_pkg}-${_ver}" "${srcdir}/${pkgname%-all}-${pkgver}/submodules/cmake-builder" + elif [[ ${_pkg} == "webrtc" ]] ; then + rm -r "${srcdir}/${pkgname%-all}-${pkgver}/submodules/mswebrtc/${_pkg}" + ln -s "${srcdir}/${_pkg}-${_ver}" "${srcdir}/${pkgname%-all}-${pkgver}/submodules/mswebrtc/${_pkg}" + elif [[ ${_file} == */external/* ]] ; then + rm -r "${srcdir}/${pkgname%-all}-${pkgver}/submodules/externals/${_pkg}" + ln -s "${srcdir}/${_pkg}-${_ver}" "${srcdir}/${pkgname%-all}-${pkgver}/submodules/externals/${_pkg}" + else + rm -r "${srcdir}/${pkgname%-all}-${pkgver}/submodules/${_pkg}" + ln -s "${srcdir}/${_pkg}-${_ver}" "${srcdir}/${pkgname%-all}-${pkgver}/submodules/${_pkg}" + fi + + # Creates a git environment needed to retrieve version in building + git init >> /dev/null + git config user.email "dummy@archlinux.org" + git config user.name "Dummy" + git add --all + git commit -m "${_ver}" > /dev/null + git tag -m "${_ver}" "${_ver}" + echo "" + fi + done +} + +build() { + cd "${srcdir}/${pkgname%-all}-${pkgver}" + ./prepare.py -c + ./prepare.py --all-codecs + make +} + +package() { + cd "${srcdir}/${pkgname%-all}-${pkgver}" + + install -D -m 0644 "${srcdir}/${pkgname%-desktop-all}.desktop" "${pkgdir}/usr/share/applications/${pkgname%-desktop-all}.desktop" + install -d "${pkgdir}/opt" + cp -r "OUTPUT/desktop" "${pkgdir}/opt/${pkgname%-all}" + + chmod a-x "${pkgdir}/opt/${pkgname%-all}/lib"{,64}/*.a + rm -r "${pkgdir}/opt/linphone-desktop/share/man" + + install -d "${pkgdir}/usr/share" + mv "${pkgdir}/opt/${pkgname%-all}/share/icons" "${pkgdir}/usr/share" +} + diff --git a/bctoolbox.patch b/bctoolbox.patch new file mode 100644 index 000000000000..718e1a270e69 --- /dev/null +++ b/bctoolbox.patch @@ -0,0 +1,13 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index e14e502..187d55d 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -43,7 +43,7 @@ option(ENABLE_SHARED "Build shared library." ON) + option(ENABLE_STATIC "Build static library." ON) + option(ENABLE_POLARSSL "Enable polarssl support" ON) + option(ENABLE_MBEDTLS "Enable mabedtls support" ON) +-option(ENABLE_STRICT "Pass strict flags to the compiler" ON) ++option(ENABLE_STRICT "Pass strict flags to the compiler" OFF) + option(ENABLE_TESTS_COMPONENT "Enable compilation of tests helper library" ON) + option(ENABLE_TESTS "Enable compilation of tests" ON) + diff --git a/belle-sip.patch b/belle-sip.patch new file mode 100644 index 000000000000..89f00104482f --- /dev/null +++ b/belle-sip.patch @@ -0,0 +1,13 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index df6d6ba..d332081 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -37,7 +37,7 @@ set(VERSION "${PACKAGE_VERSION}") + option(ENABLE_SHARED "Build shared library." YES) + option(ENABLE_STATIC "Build static library." YES) + option(ENABLE_RTP_MAP_ALWAYS_IN_SDP "Always include rtpmap in SDP." OFF) +-option(ENABLE_STRICT "Build with strict compile options." YES) ++option(ENABLE_STRICT "Build with strict compile options." NO) + option(ENABLE_TUNNEL "Enable tunnel support" OFF) + option(ENABLE_TESTS "Enable compilation of tests" ON) + diff --git a/bzrtp.patch b/bzrtp.patch new file mode 100644 index 000000000000..488494a320b6 --- /dev/null +++ b/bzrtp.patch @@ -0,0 +1,13 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 299091b..0d3a62a 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -28,7 +28,7 @@ project(bzrtp VERSION 1.0.6 LANGUAGES C CXX) + option(ENABLE_SHARED "Build shared library." YES) + option(ENABLE_STATIC "Build static library." YES) + option(ENABLE_ZIDCACHE "Turn on compilation of ZID cache, request sqlite" YES) +-option(ENABLE_STRICT "Build with strict compile options." YES) ++option(ENABLE_STRICT "Build with strict compile options." NO) + option(ENABLE_TESTS "Enable compilation of unit tests." NO) + + diff --git a/fix-qt5_1x.patch b/fix-qt5_1x.patch new file mode 100644 index 000000000000..6b3157f7d170 --- /dev/null +++ b/fix-qt5_1x.patch @@ -0,0 +1,365 @@ +diff --git a/src/app/App.cpp b/src/app/App.cpp +index aa02932..f659418 100644 +--- a/src/app/App.cpp ++++ b/src/app/App.cpp +@@ -147,9 +147,6 @@ void App::initContentApp () { + qInfo() << QStringLiteral("Restarting app..."); + delete mEngine; + +- mCallsWindow = nullptr; +- mSettingsWindow = nullptr; +- + CoreManager::uninit(); + + initLocale(config); +diff --git a/ui/modules/Common/Form/ComboBox.qml b/ui/modules/Common/Form/ComboBox.qml +index f1c45bc..a9d0d02 100644 +--- a/ui/modules/Common/Form/ComboBox.qml ++++ b/ui/modules/Common/Form/ComboBox.qml +@@ -1,5 +1,5 @@ + import QtQuick 2.7 +-import QtQuick.Controls 2.1 ++import QtQuick.Controls 2.2 as Controls + import QtQuick.Layouts 1.3 + + import Common 1.0 +@@ -11,7 +11,7 @@ import 'ComboBox.js' as Logic + + // ============================================================================= + +-ComboBox { ++Controls.ComboBox { + id: comboBox + + // --------------------------------------------------------------------------- +@@ -83,7 +83,7 @@ ComboBox { + + // --------------------------------------------------------------------------- + +- delegate: ItemDelegate { ++ delegate: Controls.ItemDelegate { + id: item + + readonly property var flattenedModel: comboBox.textRole.length && +diff --git a/ui/modules/Common/Form/Tab/TabButton.qml b/ui/modules/Common/Form/Tab/TabButton.qml +index 753c670..c863321 100644 +--- a/ui/modules/Common/Form/Tab/TabButton.qml ++++ b/ui/modules/Common/Form/Tab/TabButton.qml +@@ -1,5 +1,5 @@ + import QtQuick 2.7 +-import QtQuick.Controls 2.1 as Controls ++import QtQuick.Controls 2.2 as Controls + import QtQuick.Layouts 1.3 + + import Common 1.0 +@@ -12,8 +12,8 @@ Controls.TabButton { + + // --------------------------------------------------------------------------- + +- property string icon + property int iconSize: TabButtonStyle.icon.size ++ property string iconName + + readonly property bool _isSelected: parent.parent.currentItem === button + +@@ -66,9 +65,9 @@ Controls.TabButton { + Layout.leftMargin: TabButtonStyle.text.leftPadding + + icon: { +- var icon = button.icon +- return icon.length +- ? (icon + '_' + (button._isSelected ? 'selected' : 'normal')) ++ var iconName = button.iconName ++ return iconName.length ++ ? (iconName + '_' + (button._isSelected ? 'selected' : 'normal')) + : '' + } + iconSize: button.iconSize +diff --git a/ui/modules/Common/Form/Tab/TabContainer.qml b/ui/modules/Common/Form/Tab/TabContainer.qml +index 7d036d1..69bc5c9 100644 +--- a/ui/modules/Common/Form/Tab/TabContainer.qml ++++ b/ui/modules/Common/Form/Tab/TabContainer.qml +@@ -11,7 +11,6 @@ import Utils 1.0 + Rectangle { + default property alias _content: content.data + +- anchors.fill: parent + color: TabContainerStyle.color + + ColumnLayout { +diff --git a/ui/modules/Linphone/Calls/Calls.qml b/ui/modules/Linphone/Calls/Calls.qml +index 8930912..b6f95ba 100644 +--- a/ui/modules/Linphone/Calls/Calls.qml ++++ b/ui/modules/Linphone/Calls/Calls.qml +@@ -93,9 +93,7 @@ ListView { + // --------------------------------------------------------------------------- + + header: ConferenceControls { +- readonly property bool isSelected: calls.currentIndex === -1 && +- calls._selectedCall == null && +- visible ++ readonly property bool isSelected: calls.currentIndex === -1 && calls._selectedCall == null + + height: visible ? ConferenceControlsStyle.height : 0 + width: parent.width +diff --git a/ui/modules/Linphone/Timeline/Timeline.qml b/ui/modules/Linphone/Timeline/Timeline.qml +index 1dec35c..9520545 100644 +--- a/ui/modules/Linphone/Timeline/Timeline.qml ++++ b/ui/modules/Linphone/Timeline/Timeline.qml +@@ -9,7 +9,7 @@ import 'Timeline.js' as Logic + + // ============================================================================= + +-ColumnLayout { ++Rectangle { + id: timeline + + // --------------------------------------------------------------------------- +@@ -35,110 +35,108 @@ ColumnLayout { + + // --------------------------------------------------------------------------- + +- spacing: 0 ++ color: TimelineStyle.color + +- // --------------------------------------------------------------------------- ++ ColumnLayout { ++ anchors.fill: parent ++ spacing: 0 + +- Connections { +- target: model ++ // ------------------------------------------------------------------------- + +- onDataChanged: Logic.handleDataChanged(topLeft, bottomRight, roles) +- onRowsAboutToBeRemoved: Logic.handleRowsAboutToBeRemoved (parent, first, last) +- } ++ Connections { ++ target: model + +- // --------------------------------------------------------------------------- +- +- Rectangle { +- anchors.fill: parent +- color: TimelineStyle.color +- } ++ onDataChanged: Logic.handleDataChanged(topLeft, bottomRight, roles) ++ onRowsAboutToBeRemoved: Logic.handleRowsAboutToBeRemoved(parent, first, last) ++ } + +- // --------------------------------------------------------------------------- +- // Legend. +- // --------------------------------------------------------------------------- ++ // ------------------------------------------------------------------------- ++ // Legend. ++ // ------------------------------------------------------------------------- + +- Rectangle { +- Layout.fillWidth: true +- Layout.preferredHeight: TimelineStyle.legend.height +- color: TimelineStyle.legend.backgroundColor ++ Rectangle { ++ Layout.fillWidth: true ++ Layout.preferredHeight: TimelineStyle.legend.height ++ color: TimelineStyle.legend.backgroundColor + +- Row { +- anchors { +- fill: parent +- leftMargin: TimelineStyle.legend.leftMargin +- rightMargin: TimelineStyle.legend.rightMargin +- } +- spacing: TimelineStyle.legend.spacing ++ Row { ++ anchors { ++ fill: parent ++ leftMargin: TimelineStyle.legend.leftMargin ++ rightMargin: TimelineStyle.legend.rightMargin ++ } ++ spacing: TimelineStyle.legend.spacing + +- Icon { +- anchors.verticalCenter: parent.verticalCenter +- icon: 'history' +- iconSize: TimelineStyle.legend.iconSize +- } ++ Icon { ++ anchors.verticalCenter: parent.verticalCenter ++ icon: 'history' ++ iconSize: TimelineStyle.legend.iconSize ++ } + +- Text { +- color: TimelineStyle.legend.color +- font.pointSize: TimelineStyle.legend.pointSize +- height: parent.height +- text: qsTr('timelineTitle') +- verticalAlignment: Text.AlignVCenter ++ Text { ++ color: TimelineStyle.legend.color ++ font.pointSize: TimelineStyle.legend.pointSize ++ height: parent.height ++ text: qsTr('timelineTitle') ++ verticalAlignment: Text.AlignVCenter ++ } + } + } +- } + +- // --------------------------------------------------------------------------- +- // History. +- // --------------------------------------------------------------------------- ++ // ------------------------------------------------------------------------- ++ // History. ++ // ------------------------------------------------------------------------- ++ ++ ScrollableListView { ++ id: view ++ ++ Layout.fillHeight: true ++ Layout.fillWidth: true ++ currentIndex: -1 + +- ScrollableListView { +- id: view +- +- Layout.fillHeight: true +- Layout.fillWidth: true +- currentIndex: -1 +- +- delegate: Item { +- height: TimelineStyle.contact.height +- width: parent ? parent.width : 0 +- +- Contact { +- anchors.fill: parent +- color: view.currentIndex === index +- ? TimelineStyle.contact.backgroundColor.selected +- : ( +- index % 2 == 0 +- ? TimelineStyle.contact.backgroundColor.a +- : TimelineStyle.contact.backgroundColor.b +- ) +- displayUnreadMessagesCount: view.currentIndex !== index +- entry: $timelineEntry +- sipAddressColor: view.currentIndex === index +- ? TimelineStyle.contact.sipAddress.color.selected +- : TimelineStyle.contact.sipAddress.color.normal +- usernameColor: view.currentIndex === index +- ? TimelineStyle.contact.username.color.selected +- : TimelineStyle.contact.username.color.normal +- +- Loader { ++ delegate: Item { ++ height: TimelineStyle.contact.height ++ width: parent ? parent.width : 0 ++ ++ Contact { + anchors.fill: parent +- sourceComponent: TooltipArea { +- text: $timelineEntry.timestamp.toLocaleString( +- Qt.locale(App.locale), +- Locale.ShortFormat ++ color: view.currentIndex === index ++ ? TimelineStyle.contact.backgroundColor.selected ++ : ( ++ index % 2 == 0 ++ ? TimelineStyle.contact.backgroundColor.a ++ : TimelineStyle.contact.backgroundColor.b + ) ++ displayUnreadMessagesCount: SettingsModel.chatEnabled && view.currentIndex !== index ++ entry: $timelineEntry ++ sipAddressColor: view.currentIndex === index ++ ? TimelineStyle.contact.sipAddress.color.selected ++ : TimelineStyle.contact.sipAddress.color.normal ++ usernameColor: view.currentIndex === index ++ ? TimelineStyle.contact.username.color.selected ++ : TimelineStyle.contact.username.color.normal ++ ++ Loader { ++ anchors.fill: parent ++ sourceComponent: TooltipArea { ++ text: $timelineEntry.timestamp.toLocaleString( ++ Qt.locale(App.locale), ++ Locale.ShortFormat ++ ) ++ } + } + } +- } + +- MouseArea { +- anchors.fill: parent +- onClicked: { +- view.currentIndex = index +- timeline.entrySelected($timelineEntry.sipAddress) ++ MouseArea { ++ anchors.fill: parent ++ onClicked: { ++ view.currentIndex = index ++ timeline.entrySelected($timelineEntry.sipAddress) ++ } + } + } +- } + +- onCountChanged: Logic.handleCountChanged(count) ++ onCountChanged: Logic.handleCountChanged(count) ++ } + } + } +diff --git a/ui/views/App/Settings/SettingsWindow.qml b/ui/views/App/Settings/SettingsWindow.qml +index ce7a1fd..cc27638 100644 +--- a/ui/views/App/Settings/SettingsWindow.qml ++++ b/ui/views/App/Settings/SettingsWindow.qml +@@ -48,43 +48,43 @@ ApplicationWindow { + id: tabBar + + TabButton { +- icon: 'settings_sip_accounts' ++ iconName: 'settings_sip_accounts' + text: qsTr('sipAccountsTab') + width: implicitWidth + } + + TabButton { +- icon: 'settings_audio' ++ iconName: 'settings_audio' + text: qsTr('audioTab') + width: implicitWidth + } + + TabButton { +- icon: 'settings_video' ++ iconName: 'settings_video' + text: qsTr('videoTab') + width: implicitWidth + } + + TabButton { +- icon: 'settings_call' ++ iconName: 'settings_call' + text: qsTr('callsAndChatTab') + width: implicitWidth + } + + TabButton { +- icon: 'settings_network' ++ iconName: 'settings_network' + text: qsTr('networkTab') + width: implicitWidth + } + + TabButton { +- icon: 'settings_advanced' ++ iconName: 'settings_advanced' + text: qsTr('uiTab') + width: implicitWidth + } + + TabButton { +- icon: 'settings_advanced' ++ iconName: 'settings_advanced' + text: qsTr('uiAdvanced') + width: implicitWidth + } diff --git a/linphone-desktop.patch b/linphone-desktop.patch new file mode 100644 index 000000000000..57452647b487 --- /dev/null +++ b/linphone-desktop.patch @@ -0,0 +1,14 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 70ce2755..1eef487c 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -80,6 +80,9 @@ endif () + set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -DNDEBUG -DQT_NO_DEBUG") + set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -DDEBUG -DQT_QML_DEBUG -DQT_DECLARATIVE_DEBUG") + ++# Pointing RPATH to /opt/linphone-desktop/lib{,64} to be used when installing ++SET(CMAKE_INSTALL_RPATH "/opt/linphone-desktop/lib:/opt/linphone-desktop/lib64") ++ + # ------------------------------------------------------------------------------ + # Define packages, libs, sources, headers, resources and languages. + # ------------------------------------------------------------------------------ diff --git a/linphone.desktop b/linphone.desktop new file mode 100644 index 000000000000..81961d1abcd8 --- /dev/null +++ b/linphone.desktop @@ -0,0 +1,26 @@ +[Desktop Entry] +Name=Linphone Desktop +GenericName=SIP Phone +Comment=Linphone is a libre SIP client +Type=Application +Exec=/opt/linphone-desktop/bin/linphone %u +Icon=linphone +Terminal=false +Categories=Network;Telephony; +MimeType=x-scheme-handler/sip-linphone;x-scheme-handler/sip;x-scheme-handler/sips-linphone;x-scheme-handler/sips; + +# Translations +Name[ar]=لِنْفُونْ +Name[cs]=Linphone +Name[de]=Linphone +Name[fr]=Linphone +Name[he]=Linphone +Name[hu]=Linphone +Name[it]=Linphone +Name[ja]=Linphone +Name[nb_NO]=Linphone +Name[ru]=Linphone +Name[sr]=Линфон +Name[sv]=Linphone +Name[zh_CN]=Linphone +Name[zh_TW]=Linphone diff --git a/linphone.patch b/linphone.patch new file mode 100644 index 000000000000..474a01d0ac20 --- /dev/null +++ b/linphone.patch @@ -0,0 +1,24 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 02aa98e05..0f89e40aa 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -23,6 +23,8 @@ + cmake_minimum_required(VERSION 3.0) + project(linphone VERSION 3.12.0 LANGUAGES C CXX) + ++# Pointing RPATH to /opt/linphone-desktop/lib{,64} to be used when installing ++SET(CMAKE_INSTALL_RPATH "/opt/linphone-desktop/lib:/opt/linphone-desktop/lib64") + + set(LINPHONE_MAJOR_VERSION ${PROJECT_VERSION_MAJOR}) + set(LINPHONE_MINOR_VERSION ${PROJECT_VERSION_MINOR}) +@@ -48,8 +50,8 @@ option(ENABLE_LDAP "Enable LDAP support." NO) + option(ENABLE_SQLITE_STORAGE "Turn on compilation sqlite storage, for messages, contacts, history" YES) + cmake_dependent_option(ENABLE_LIME "Enable Instant Messaging Encryption." YES "ENABLE_SQLITE_STORAGE" NO) + cmake_dependent_option(ENABLE_NOTIFY "Enable libnotify support." YES "ENABLE_GTK_UI;NOT APPLE" NO) +-option(ENABLE_RELATIVE_PREFIX "Find resources relatively to the installation directory." NO) +-option(ENABLE_STRICT "Build with strict compile options." YES) ++option(ENABLE_RELATIVE_PREFIX "Find resources relatively to the installation directory." YES) ++option(ENABLE_STRICT "Build with strict compile options." NO) + option(ENABLE_TOOLS "Turn on or off compilation of tools." YES) + option(ENABLE_TUNNEL "Turn on compilation of tunnel support." NO) + option(ENABLE_TUTORIALS "Enable compilation of tutorials." YES) diff --git a/mediastreamer2.patch b/mediastreamer2.patch new file mode 100644 index 000000000000..edf8d45c28f8 --- /dev/null +++ b/mediastreamer2.patch @@ -0,0 +1,13 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 98dc9d92..35f2a040 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -64,7 +64,7 @@ option(ENABLE_DOC "Enable documentation generation with Doxygen." YES) + option(ENABLE_FIXED_POINT "Turn on fixed point computations." ${ENABLE_FIXED_POINT_DEFAULT_VALUE}) + option(ENABLE_NON_FREE_CODECS "Allow inclusion of non-free codecs in the build." NO) + option(ENABLE_PCAP "Enable PCAP support." NO) +-option(ENABLE_STRICT "Build with strict compile options." YES) ++option(ENABLE_STRICT "Build with strict compile options." NO) + option(ENABLE_RELATIVE_PREFIX "Find resources relatively to the installation directory." NO) + option(ENABLE_TOOLS "Turn on or off compilation of tools." YES) + option(ENABLE_UNIT_TESTS "Enable compilation of unit tests." YES) diff --git a/ortp.patch b/ortp.patch new file mode 100644 index 000000000000..5df82af5fccb --- /dev/null +++ b/ortp.patch @@ -0,0 +1,14 @@ +diff --git a/src/logging.c b/src/logging.c +index 203ec95..874ca7d 100644 +--- a/src/logging.c ++++ b/src/logging.c +@@ -217,8 +217,7 @@ char * ortp_strcat_vprintf(char* dst, const char *fmt, va_list ap){ + retlen = strlen(ret); + + if ((dst = ortp_realloc(dst, dstlen+retlen+1)) != NULL){ +- strncat(dst,ret,retlen); +- dst[dstlen+retlen] = '\0'; ++ strcat(dst,ret); + ortp_free(ret); + return dst; + } else { diff --git a/v4l-utils.patch b/v4l-utils.patch new file mode 100644 index 000000000000..2691c8af3f46 --- /dev/null +++ b/v4l-utils.patch @@ -0,0 +1,24 @@ +diff --git a/lib/libv4lconvert/control/libv4lcontrol.c b/lib/libv4lconvert/control/libv4lcontrol.c +index 85d312d..445e0b2 100644 +--- a/lib/libv4lconvert/control/libv4lcontrol.c ++++ b/lib/libv4lconvert/control/libv4lcontrol.c +@@ -19,6 +19,7 @@ + # Foundation, Inc., 51 Franklin Street, Suite 500, Boston, MA 02110-1335 USA + */ + ++#include <sys/sysmacros.h> + #include <sys/types.h> + #include <sys/mman.h> + #include <fcntl.h> +diff --git a/utils/libmedia_dev/get_media_devices.c b/utils/libmedia_dev/get_media_devices.c +index 82d5108..d149f25 100644 +--- a/utils/libmedia_dev/get_media_devices.c ++++ b/utils/libmedia_dev/get_media_devices.c +@@ -19,6 +19,7 @@ + + #include <stdio.h> + #include <unistd.h> ++#include <sys/sysmacros.h> + #include <sys/types.h> + #include <sys/stat.h> + #include <string.h> |