You are not logged in.
Hi,
I'm running into the below issue while trying to install AUR Package - Details: linphone-desktop 5.2.6-1 - https://aur.archlinux.org/packages/linp … ent-992742
Please correct me if I'm wrong, but I'm sure this is not an issue related to me or the compile process/build, however, the owners git repository itself?
▒▓ ~/aur-package/linphone-desktop master ?56 ▓▒░ makepkg ░▒▓ ✔ 18:34:07 ▓▒░
==> Making package: linphone-desktop 5.2.6-1 (Sun 29 Sep 2024 18:34:18 BST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Updating linphone-desktop git repo...
-> Found linphone.png
-> Updating linphone-sdk git repo...
-> Updating belle-sip git repo...
-> Updating liblinphone git repo...
-> Updating bcg729 git repo...
-> Updating bzrtp git repo...
-> Updating msamr git repo...
-> Updating msopenh264 git repo...
-> Updating mssilk git repo...
-> Updating mswebrtc git repo...
-> Updating webrtc git repo...
-> Updating belcard git repo...
-> Updating belr git repo...
-> Updating bctoolbox git repo...
-> Updating bcunit git repo...
-> Updating ortp git repo...
-> Updating mediastreamer2 git repo...
-> Updating mswasapi git repo...
-> Updating bcmatroska2 git repo...
-> Updating mbedtls git repo...
-> Updating bv16-floatingpoint git repo...
-> Updating speex git repo...
-> Updating ffmpeg git repo...
-> Updating libvpx git repo...
-> Updating opus git repo...
-> Updating gsm git repo...
-> Updating srtp git repo...
-> Updating libxml2 git repo...
-> Updating zlib git repo...
-> Updating openh264 git repo...
-> Updating libjpeg-turbo git repo...
-> Updating xerces-c git repo...
-> Updating soci git repo...
-> Updating sqlite3 git repo...
-> Updating codec2 git repo...
-> Updating mscodec2 git repo...
-> Updating decaf git repo...
-> Updating zxing-cpp git repo...
-> Updating vo-amrwbenc git repo...
-> Updating opencore-amr git repo...
-> Updating lime git repo...
-> Updating msaaudio git repo...
-> Updating msandroidcamera2 git repo...
-> Updating openldap git repo...
-> Updating jsoncpp git repo...
-> Updating msoboe git repo...
-> Updating oboe git repo...
-> Updating libyuv git repo...
-> Updating liboqs git repo...
-> Updating postquantumcryptoengine git repo...
-> Updating dav1d git repo...
-> Updating aom git repo...
-> Updating qtkeychain git repo...
-> Updating ispell git repo...
==> Validating source files with sha512sums...
linphone-desktop ... Skipped
linphone.png ... Passed
linphone-sdk ... Skipped
belle-sip ... Skipped
liblinphone ... Skipped
bcg729 ... Skipped
bzrtp ... Skipped
msamr ... Skipped
msopenh264 ... Skipped
mssilk ... Skipped
mswebrtc ... Skipped
webrtc ... Skipped
belcard ... Skipped
belr ... Skipped
bctoolbox ... Skipped
bcunit ... Skipped
ortp ... Skipped
mediastreamer2 ... Skipped
mswasapi ... Skipped
bcmatroska2 ... Skipped
mbedtls ... Skipped
bv16-floatingpoint ... Skipped
speex ... Skipped
ffmpeg ... Skipped
libvpx ... Skipped
opus ... Skipped
gsm ... Skipped
srtp ... Skipped
libxml2 ... Skipped
zlib ... Skipped
openh264 ... Skipped
libjpeg-turbo ... Skipped
xerces-c ... Skipped
soci ... Skipped
sqlite3 ... Skipped
codec2 ... Skipped
mscodec2 ... Skipped
decaf ... Skipped
zxing-cpp ... Skipped
vo-amrwbenc ... Skipped
opencore-amr ... Skipped
lime ... Skipped
msaaudio ... Skipped
msandroidcamera2 ... Skipped
openldap ... Skipped
jsoncpp ... Skipped
msoboe ... Skipped
oboe ... Skipped
libyuv ... Skipped
liboqs ... Skipped
postquantumcryptoengine ... Skipped
dav1d ... Skipped
aom ... Skipped
qtkeychain ... Skipped
ispell ... Skipped
==> Extracting sources...
-> Creating working copy of linphone-desktop git repo...
Reset branch 'makepkg'
-> Creating working copy of linphone-sdk git repo...
Cloning into 'linphone-sdk'...
done.
Switched to a new branch 'makepkg'
-> Creating working copy of belle-sip git repo...
Cloning into 'belle-sip'...
done.
Switched to a new branch 'makepkg'
-> Creating working copy of liblinphone git repo...
Cloning into 'liblinphone'...
done.
Switched to a new branch 'makepkg'
-> Creating working copy of bcg729 git repo...
Cloning into 'bcg729'...
done.
Switched to a new branch 'makepkg'
-> Creating working copy of bzrtp git repo...
Cloning into 'bzrtp'...
done.
Switched to a new branch 'makepkg'
-> Creating working copy of msamr git repo...
Cloning into 'msamr'...
done.
Switched to a new branch 'makepkg'
-> Creating working copy of msopenh264 git repo...
Cloning into 'msopenh264'...
done.
Switched to a new branch 'makepkg'
-> Creating working copy of mssilk git repo...
Cloning into 'mssilk'...
done.
Switched to a new branch 'makepkg'
-> Creating working copy of mswebrtc git repo...
Cloning into 'mswebrtc'...
done.
Switched to a new branch 'makepkg'
-> Creating working copy of webrtc git repo...
Cloning into 'webrtc'...
done.
Switched to a new branch 'makepkg'
-> Creating working copy of belcard git repo...
Cloning into 'belcard'...
done.
Switched to a new branch 'makepkg'
-> Creating working copy of belr git repo...
Cloning into 'belr'...
done.
Switched to a new branch 'makepkg'
-> Creating working copy of bctoolbox git repo...
Cloning into 'bctoolbox'...
done.
Switched to a new branch 'makepkg'
-> Creating working copy of bcunit git repo...
Cloning into 'bcunit'...
done.
Switched to a new branch 'makepkg'
-> Creating working copy of ortp git repo...
Cloning into 'ortp'...
done.
Switched to a new branch 'makepkg'
-> Creating working copy of mediastreamer2 git repo...
Cloning into 'mediastreamer2'...
done.
Switched to a new branch 'makepkg'
-> Creating working copy of mswasapi git repo...
Cloning into 'mswasapi'...
done.
Switched to a new branch 'makepkg'
-> Creating working copy of bcmatroska2 git repo...
Cloning into 'bcmatroska2'...
done.
Switched to a new branch 'makepkg'
-> Creating working copy of mbedtls git repo...
Cloning into 'mbedtls'...
done.
-> Creating working copy of bv16-floatingpoint git repo...
Cloning into 'bv16-floatingpoint'...
done.
-> Creating working copy of speex git repo...
Cloning into 'speex'...
done.
-> Creating working copy of ffmpeg git repo...
Cloning into 'ffmpeg'...
done.
-> Creating working copy of libvpx git repo...
Cloning into 'libvpx'...
done.
-> Creating working copy of opus git repo...
Cloning into 'opus'...
done.
-> Creating working copy of gsm git repo...
Cloning into 'gsm'...
done.
-> Creating working copy of srtp git repo...
Cloning into 'srtp'...
done.
-> Creating working copy of libxml2 git repo...
Cloning into 'libxml2'...
done.
-> Creating working copy of zlib git repo...
Cloning into 'zlib'...
done.
-> Creating working copy of openh264 git repo...
Cloning into 'openh264'...
done.
-> Creating working copy of libjpeg-turbo git repo...
Cloning into 'libjpeg-turbo'...
done.
-> Creating working copy of xerces-c git repo...
Cloning into 'xerces-c'...
done.
-> Creating working copy of soci git repo...
Cloning into 'soci'...
done.
-> Creating working copy of sqlite3 git repo...
Cloning into 'sqlite3'...
done.
-> Creating working copy of codec2 git repo...
Cloning into 'codec2'...
done.
-> Creating working copy of mscodec2 git repo...
Cloning into 'mscodec2'...
done.
Switched to a new branch 'makepkg'
-> Creating working copy of decaf git repo...
Cloning into 'decaf'...
done.
-> Creating working copy of zxing-cpp git repo...
Cloning into 'zxing-cpp'...
done.
-> Creating working copy of vo-amrwbenc git repo...
Cloning into 'vo-amrwbenc'...
done.
-> Creating working copy of opencore-amr git repo...
Cloning into 'opencore-amr'...
done.
-> Creating working copy of lime git repo...
Cloning into 'lime'...
done.
Switched to a new branch 'makepkg'
-> Creating working copy of msaaudio git repo...
Cloning into 'msaaudio'...
done.
Switched to a new branch 'makepkg'
-> Creating working copy of msandroidcamera2 git repo...
Cloning into 'msandroidcamera2'...
done.
Switched to a new branch 'makepkg'
-> Creating working copy of openldap git repo...
Cloning into 'openldap'...
done.
-> Creating working copy of jsoncpp git repo...
Cloning into 'jsoncpp'...
done.
-> Creating working copy of msoboe git repo...
Cloning into 'msoboe'...
done.
Switched to a new branch 'makepkg'
-> Creating working copy of oboe git repo...
Cloning into 'oboe'...
done.
Switched to a new branch 'makepkg'
-> Creating working copy of libyuv git repo...
Cloning into 'libyuv'...
done.
-> Creating working copy of liboqs git repo...
Cloning into 'liboqs'...
done.
-> Creating working copy of postquantumcryptoengine git repo...
Cloning into 'postquantumcryptoengine'...
done.
Switched to a new branch 'makepkg'
-> Creating working copy of dav1d git repo...
Cloning into 'dav1d'...
done.
-> Creating working copy of aom git repo...
Cloning into 'aom'...
done.
-> Creating working copy of qtkeychain git repo...
Cloning into 'qtkeychain'...
done.
-> Creating working copy of ispell git repo...
Cloning into 'ispell'...
done.
==> Starting prepare()...
==> Removing existing $pkgdir/ directory...
==> Starting build()...
ENABLE_HW_SANITIZER not defined
ENABLE_UNIT_TESTS already defined
ENABLE_WINDOWS_TOOLS_CHECK already defined
ENABLE_AMRNB already defined
ENABLE_AMRWB already defined
ENABLE_G729 already defined
ENABLE_G729B_CNG already defined
ENABLE_WASAPI not defined
ENABLE_AV1 already defined
ENABLE_FFMPEG already defined
ENABLE_H263 not defined
ENABLE_H263P not defined
ENABLE_MPEG4 not defined
ENABLE_JPEG already defined
ENABLE_LIBYUV already defined
ENABLE_OPENH264 already defined
ENABLE_EMBEDDED_OPENH264 already defined
ENABLE_QRCODE already defined
ENABLE_V4L already defined
ENABLE_VPX already defined
ENABLE_MSWINRTVIDEO not defined
ENABLE_DNS_SERVICE not defined
ENABLE_MICROSOFT_STORE_APP not defined
ENABLE_EKT_SERVER_PLUGIN already defined
ENABLE_LIME_X3DH already defined
ENABLE_PQCRYPTO already defined
ENABLE_ZRTP already defined
ENABLE_GOCLEAR already defined
ENABLE_SWIFT_WRAPPER_COMPILATION not defined
ENABLE_SWIFT_DOC not defined
ENABLE_AAUDIO not defined
ENABLE_OBOE not defined
ENABLE_CAMERA2 not defined
CMake Warning (dev) at linphone-sdk/cmake/CheckBuildToolsCommon.cmake:123 (find_package):
Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules
are removed. Run "cmake --help-policy CMP0148" for policy details. Use
the cmake_policy command to set the policy and suppress this warning.
Call Stack (most recent call first):
linphone-sdk/cmake/CheckBuildToolsDesktop.cmake:23 (include)
linphone-sdk/CMakeLists.txt:79 (include)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at linphone-sdk/cmake/CheckBuildToolsCommon.cmake:179 (find_package):
Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules
are removed. Run "cmake --help-policy CMP0148" for policy details. Use
the cmake_policy command to set the policy and suppress this warning.
Call Stack (most recent call first):
linphone-sdk/cmake/CheckBuildToolsDesktop.cmake:23 (include)
linphone-sdk/CMakeLists.txt:79 (include)
This warning is for project developers. Use -Wno-dev to suppress it.
-- 'pystache' python module found
-- 'six' python module found
-- Configuring done (0.0s)
-- Generating done (0.0s)
-- Build files have been written to: /home/<USERNAME>/aur-package/linphone-desktop/src/linphone-desktop/build/linphone-sdk/Autotools
CMake Deprecation Warning at linphone-sdk/external/bv16-floatingpoint/CMakeLists.txt:23 (cmake_minimum_required):
Compatibility with CMake < 3.5 will be removed from a future version of
CMake.
Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.
-- Package file name is BV16-2.1
CMake Warning (dev) at linphone-sdk/external/decaf/CMakeLists.txt:13 (find_package):
Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules
are removed. Run "cmake --help-policy CMP0148" for policy details. Use
the cmake_policy command to set the policy and suppress this warning.
This warning is for project developers. Use -Wno-dev to suppress it.
Generated source code in /home/<USERNAME>/aur-package/linphone-desktop/src/linphone-desktop/build/linphone-sdk/external/decaf/src/GENERATED
Target architecture is x86_64
CMake Deprecation Warning at linphone-sdk/external/gsm/CMakeLists.txt:23 (cmake_minimum_required):
Compatibility with CMake < 3.5 will be removed from a future version of
CMake.
Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.
-- JsonCpp Version: 1.9.5
-- Using CMake's NASM integration
-- CMAKE_BUILD_TYPE = RelWithDebInfo
-- VERSION = 3.0.3, BUILD = 20240929
-- 64-bit build (x86_64)
-- Arithmetic decoding support enabled (WITH_ARITH_DEC = 1)
-- Arithmetic encoding support enabled (WITH_ARITH_ENC = 1)
-- TurboJPEG API library enabled (WITH_TURBOJPEG = 1)
-- TurboJPEG Java wrapper disabled (WITH_JAVA = 0)
-- Emulating libjpeg API/ABI v6.2 (WITH_JPEG7 = 0, WITH_JPEG8 = 0)
-- libjpeg API shared library version = 62.4.0
-- Compiler flags = -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ffile-prefix-map=/home/<USERNAME>/aur-package/linphone-desktop/src=/usr/src/debug/linphone-desktop -flto=auto -O3 -g -DNDEBUG
-- Linker flags = -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-z,pack-relative-relocs -flto=auto
-- HIDDEN = __attribute__((visibility("hidden")))
-- INLINE = __inline__ __attribute__((always_inline)) (FORCE_INLINE = 1)
-- THREAD_LOCAL = __thread
-- Linker supports GNU-style version scripts
-- CMAKE_EXECUTABLE_SUFFIX =
-- CMAKE_ASM_NASM_COMPILER = /usr/bin/nasm
-- CMAKE_ASM_NASM_OBJECT_FORMAT = elf64
-- CMAKE_ASM_NASM_FLAGS = -DELF -D__x86_64__ -DPIC -D__CET__
-- SIMD extensions: x86_64 (WITH_SIMD = 1)
-- RPM architecture = x86_64, DEB architecture = amd64
CMake Deprecation Warning at linphone-sdk/external/libxml2/CMakeLists.txt:23 (cmake_minimum_required):
Compatibility with CMake < 3.5 will be removed from a future version of
CMake.
Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.
CMake Deprecation Warning at linphone-sdk/external/libyuv/CMakeLists.txt:5 (CMAKE_MINIMUM_REQUIRED):
Compatibility with CMake < 3.5 will be removed from a future version of
CMake.
Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.
Building ver.: 0.0.1763
Packaging for: amd-64
CMake Error at linphone-sdk/external/mbedtls/CMakeLists.txt:314 (message):
/home/<USERNAME>/aur-package/linphone-desktop/src/linphone-desktop/linphone-sdk/external/mbedtls/framework/CMakeLists.txt
not found. Run `git submodule update --init` from the source tree to fetch
the submodule contents.
-- Configuring incomplete, errors occurred!
==> ERROR: A failure occurred in build().
Aborting...
Exit code: 4
I've run the following syntax in the parent tree "linphone-desktop || master" with success, however this has not changed the outcome.
git submodule update --init
Another quick question, why on earth is the PKGBUILD file cloning all of these dependencies via "source=" below in the compiling process; after I've already installed the require dependencies ("depends=" | "makedepends=") as suggested by the PKGBUILD in it's initial run, makepkg?
I'm pretty sure these are not necessary, and I'm aware some of these below are crucial e.g. belle-sip, bzrtp, belcard, bctoolbox etc...
belle-sip, liblinphone, bcg729, bzrtp, msamr, msopenh264, mssilk, mswebrtc, webrtc, belcard, belr, bctoolbox, bcunit, ortp, mediastreamer2, mswasapi, bcmatroska2, mbedtls, bv16-floatingpoint, speex, ffmpeg, libvpx, opus, gsm, srtp, libxml2, zlib, openh264, libjpeg-turbo, xerces-c, soci, sqlite3, codec2, mscodec2, decaf, zxing-cpp, vo-amrwbenc, opencore-amr, lime, msaaudio, msandroidcamera2, openldap, jsoncpp, msoboe, oboe, libyuv, liboqs, postquantumcryptoengine, dav1d, aom, qtkeychain, ispell
PKGBUILD File: contents
# Maintainer: Daniel Poellmann <aur@<lastname><firstname>.de>
# Contributor: David P. <megver83@parabola.nu>
pkgname=linphone-desktop
pkgver=5.2.6
pkgrel=1
pkgdesc='A free VoIP and video softphone based on the SIP protocol'
arch=(x86_64)
url='http://linphone.org'
license=('GPL-3.0-only')
depends=('qt5-base' 'qt5-multimedia' 'qt5-graphicaleffects' 'qt5-quickcontrols' 'qt5-quickcontrols2' 'qt5-svg' 'qt5-speech' 'libxcrypt-compat' 'v4l-utils' 'glew')
makedepends=('meson' 'coreutils' 'git' 'gendesk' 'cmake' 'yasm' 'nasm' 'doxygen' 'perl' 'python-pystache' 'python-six' 'libpulse' 'qt5-base' 'qt5-declarative' 'qt5-quickcontrols2' 'qt5-svg' 'qt5-tools')
source=("git+https://github.com/BelledonneCommunications/linphone-desktop.git#commit=ea583b001a87dd18384ec7bb524ffbdadacd96c8"
"linphone.png::https://gitlab.linphone.org/BC/public/linphone-desktop/-/raw/8dfd384e3df08b200c8eb382b740da6839961bf0/linphone-app/assets/icons/hicolor/128x128/apps/icon.png"
"git+https://gitlab.linphone.org/BC/public/linphone-sdk.git#commit=865f9ecb1edeae93730c7d7a415812c4b1b7df51"
"git+https://gitlab.linphone.org/BC/public/belle-sip.git#commit=73bbda596f9a5795b9e97627ec0dbcc7cddaea80"
"git+https://gitlab.linphone.org/BC/public/liblinphone.git#commit=7dc8804d6c98d1d1fc956efa16538b5b6fa07b5c"
"git+https://gitlab.linphone.org/BC/public/bcg729.git#commit=8bec1e5fc072f3669e435edd137eb3da6da2eef7"
"git+https://gitlab.linphone.org/BC/public/bzrtp.git#commit=352cd640edad006c5c6ed8e6afb8e22de5a9b9b6"
"git+https://gitlab.linphone.org/BC/public/msamr.git#commit=129fc98c04a5cd412d5393427d43b0b445263ead"
"git+https://gitlab.linphone.org/BC/public/msopenh264.git#commit=041b07a81f88f1dde2ebb7a1ea0b0e2ec281ab20"
"git+https://gitlab.linphone.org/BC/public/mssilk.git#commit=0c6893fb74ecca34cb2707f7fffd0d7487b24925"
"git+https://gitlab.linphone.org/BC/public/mswebrtc.git#commit=9615e3eb8e3b2717b71a082b4e751f98c34d3f07"
"git+https://gitlab.linphone.org/BC/public/external/webrtc.git#commit=583acd27665cfadef8ab03eb85a768d308bd29dd"
"git+https://gitlab.linphone.org/BC/public/belcard.git#commit=135e55d092cae59e7c8c1dc93227a175cde4b44b"
"git+https://gitlab.linphone.org/BC/public/belr.git#commit=9cbc933472b93a795e9fb0424e365823363bb72b"
"git+https://gitlab.linphone.org/BC/public/bctoolbox.git#commit=1e96e288ca0aca082e1aef3d6798ddf4a3bdc8c0"
"git+https://gitlab.linphone.org/BC/public/bcunit.git#commit=8c33f788e9b13c379d3a6ae66c7971bb952f773b"
"git+https://gitlab.linphone.org/BC/public/ortp.git#commit=71f18a1753b4fae0d02c37a1ecb68f812d94c769"
"git+https://gitlab.linphone.org/BC/public/mediastreamer2.git#commit=08ab6ddbb85d66079b4b81cd61def78a58e90f3e"
"git+https://gitlab.linphone.org/BC/public/mswasapi.git#commit=f584ef3ecf5b837de6db04f7eb4e50eb47d475d6"
"git+https://gitlab.linphone.org/BC/public/bcmatroska2.git#commit=40b2b14993b92980af1339145de3203432f036e5"
"git+https://gitlab.linphone.org/BC/public/external/mbedtls.git"
"git+https://gitlab.linphone.org/BC/public/external/bv16-floatingpoint.git"
"git+https://gitlab.linphone.org/BC/public/external/speex.git"
"git+https://gitlab.linphone.org/BC/public/external/ffmpeg.git"
"git+https://gitlab.linphone.org/BC/public/external/libvpx.git"
"git+https://gitlab.linphone.org/BC/public/external/opus.git"
"git+https://gitlab.linphone.org/BC/public/external/gsm.git"
"git+https://gitlab.linphone.org/BC/public/external/srtp.git"
"git+https://gitlab.linphone.org/BC/public/external/libxml2.git"
"git+https://gitlab.linphone.org/BC/public/external/zlib.git"
"git+https://gitlab.linphone.org/BC/public/external/openh264.git"
"git+https://gitlab.linphone.org/BC/public/external/libjpeg-turbo.git"
"git+https://gitlab.linphone.org/BC/public/external/xerces-c.git"
"git+https://gitlab.linphone.org/BC/public/external/soci.git"
"git+https://gitlab.linphone.org/BC/public/external/sqlite3.git"
"git+https://gitlab.linphone.org/BC/public/external/codec2.git"
"git+https://gitlab.linphone.org/BC/public/mscodec2.git#commit=4a0298386c50d59b86c64277e7d5bf53dc9f0bd3"
"git+https://gitlab.linphone.org/BC/public/external/decaf.git"
"git+https://gitlab.linphone.org/BC/public/external/zxing-cpp.git"
"git+https://gitlab.linphone.org/BC/public/external/vo-amrwbenc.git"
"git+https://gitlab.linphone.org/BC/public/external/opencore-amr.git"
"git+https://gitlab.linphone.org/BC/public/lime.git#commit=c1a310c8776183a853b9a0eb8f2bd08535447694"
"git+https://gitlab.linphone.org/BC/public/msaaudio.git#commit=b11b661b4138aecb06585bb276acf59fbed73458"
"git+https://gitlab.linphone.org/BC/public/msandroidcamera2.git#commit=465e15fd814dc16111fe5c603b56460a5426acbc"
"git+https://gitlab.linphone.org/BC/public/external/openldap.git"
"git+https://gitlab.linphone.org/BC/public/external/jsoncpp.git"
"git+https://gitlab.linphone.org/BC/public/msoboe.git#commit=4d5b66202a8a7a734e75446d0ce44bf342835736"
"git+https://github.com/google/oboe#commit=5975ab04b02861dc126f3c8fd687321520cd8ae4"
"git+https://gitlab.linphone.org/BC/public/external/libyuv.git"
"git+https://gitlab.linphone.org/BC/public/external/liboqs.git"
"git+https://gitlab.linphone.org/BC/public/postquantumcryptoengine.git#commit=e441d9ac0290b35f2ba816d9e85bf176cbcf96a8"
"git+https://gitlab.linphone.org/BC/public/external/dav1d.git"
"git+https://gitlab.linphone.org/BC/public/external/aom.git"
"git+https://gitlab.linphone.org/BC/public/external/qtkeychain.git"
"git+https://gitlab.linphone.org/BC/public/external/ispell.git"
)
sha512sums=('SKIP'
'd6495cdc022b1e4c92b3641cb70347e7e6b6ef47599004de729e908b4876a12540713ab54b588611c99c8025fb9b33e3392573c85c13f72cdaee8bcf7a73d65d'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP')
options=()
provides=(linphone=${pkgver})
prepare() {
echo "#include <unistd.h>" | cat - "$srcdir/linphone-desktop/linphone-sdk/external/openldap/libraries/libldap/thr_posix.c" > temp && mv temp "$srcdir/linphone-desktop/linphone-sdk/external/openldap/libraries/libldap/thr_posix.c"
cd "$srcdir"
mkdir -p linphone-desktop && rm -r linphone-desktop/linphone-sdk && mv linphone-sdk linphone-desktop/linphone-sdk
mkdir -p linphone-desktop/linphone-sdk && rm -r linphone-desktop/linphone-sdk/belle-sip && mv belle-sip linphone-desktop/linphone-sdk/belle-sip
mkdir -p linphone-desktop/linphone-sdk && rm -r linphone-desktop/linphone-sdk/liblinphone && mv liblinphone linphone-desktop/linphone-sdk/liblinphone
mkdir -p linphone-desktop/linphone-sdk && rm -r linphone-desktop/linphone-sdk/bcg729 && mv bcg729 linphone-desktop/linphone-sdk/bcg729
mkdir -p linphone-desktop/linphone-sdk && rm -r linphone-desktop/linphone-sdk/bzrtp && mv bzrtp linphone-desktop/linphone-sdk/bzrtp
mkdir -p linphone-desktop/linphone-sdk && rm -r linphone-desktop/linphone-sdk/msamr && mv msamr linphone-desktop/linphone-sdk/msamr
mkdir -p linphone-desktop/linphone-sdk && rm -r linphone-desktop/linphone-sdk/msopenh264 && mv msopenh264 linphone-desktop/linphone-sdk/msopenh264
mkdir -p linphone-desktop/linphone-sdk && rm -r linphone-desktop/linphone-sdk/mssilk && mv mssilk linphone-desktop/linphone-sdk/mssilk
mkdir -p linphone-desktop/linphone-sdk && rm -r linphone-desktop/linphone-sdk/mswebrtc && mv mswebrtc linphone-desktop/linphone-sdk/mswebrtc
mkdir -p linphone-desktop/linphone-sdk/mswebrtc && rm -r linphone-desktop/linphone-sdk/mswebrtc/webrtc && mv webrtc linphone-desktop/linphone-sdk/mswebrtc/webrtc
mkdir -p linphone-desktop/linphone-sdk && rm -r linphone-desktop/linphone-sdk/belcard && mv belcard linphone-desktop/linphone-sdk/belcard
mkdir -p linphone-desktop/linphone-sdk && rm -r linphone-desktop/linphone-sdk/belr && mv belr linphone-desktop/linphone-sdk/belr
mkdir -p linphone-desktop/linphone-sdk && rm -r linphone-desktop/linphone-sdk/bctoolbox && mv bctoolbox linphone-desktop/linphone-sdk/bctoolbox
mkdir -p linphone-desktop/linphone-sdk && rm -r linphone-desktop/linphone-sdk/bcunit && mv bcunit linphone-desktop/linphone-sdk/bcunit
mkdir -p linphone-desktop/linphone-sdk && rm -r linphone-desktop/linphone-sdk/ortp && mv ortp linphone-desktop/linphone-sdk/ortp
mkdir -p linphone-desktop/linphone-sdk && rm -r linphone-desktop/linphone-sdk/mediastreamer2 && mv mediastreamer2 linphone-desktop/linphone-sdk/mediastreamer2
mkdir -p linphone-desktop/linphone-sdk && rm -r linphone-desktop/linphone-sdk/mswasapi && mv mswasapi linphone-desktop/linphone-sdk/mswasapi
mkdir -p linphone-desktop/linphone-sdk && rm -r linphone-desktop/linphone-sdk/bcmatroska2 && mv bcmatroska2 linphone-desktop/linphone-sdk/bcmatroska2
mkdir -p linphone-desktop/linphone-sdk/external && rm -r linphone-desktop/linphone-sdk/external/mbedtls && mv mbedtls linphone-desktop/linphone-sdk/external/mbedtls
mkdir -p linphone-desktop/linphone-sdk/external && rm -r linphone-desktop/linphone-sdk/external/bv16-floatingpoint && mv bv16-floatingpoint linphone-desktop/linphone-sdk/external/bv16-floatingpoint
mkdir -p linphone-desktop/linphone-sdk/external && rm -r linphone-desktop/linphone-sdk/external/speex && mv speex linphone-desktop/linphone-sdk/external/speex
mkdir -p linphone-desktop/linphone-sdk/external && rm -r linphone-desktop/linphone-sdk/external/ffmpeg && mv ffmpeg linphone-desktop/linphone-sdk/external/ffmpeg
mkdir -p linphone-desktop/linphone-sdk/external && rm -r linphone-desktop/linphone-sdk/external/libvpx && mv libvpx linphone-desktop/linphone-sdk/external/libvpx
mkdir -p linphone-desktop/linphone-sdk/external && rm -r linphone-desktop/linphone-sdk/external/opus && mv opus linphone-desktop/linphone-sdk/external/opus
mkdir -p linphone-desktop/linphone-sdk/external && rm -r linphone-desktop/linphone-sdk/external/gsm && mv gsm linphone-desktop/linphone-sdk/external/gsm
mkdir -p linphone-desktop/linphone-sdk/external && rm -r linphone-desktop/linphone-sdk/external/srtp && mv srtp linphone-desktop/linphone-sdk/external/srtp
mkdir -p linphone-desktop/linphone-sdk/external && rm -r linphone-desktop/linphone-sdk/external/libxml2 && mv libxml2 linphone-desktop/linphone-sdk/external/libxml2
mkdir -p linphone-desktop/linphone-sdk/external && rm -r linphone-desktop/linphone-sdk/external/zlib && mv zlib linphone-desktop/linphone-sdk/external/zlib
mkdir -p linphone-desktop/linphone-sdk/external && rm -r linphone-desktop/linphone-sdk/external/openh264 && mv openh264 linphone-desktop/linphone-sdk/external/openh264
mkdir -p linphone-desktop/linphone-sdk/external && rm -r linphone-desktop/linphone-sdk/external/libjpeg-turbo && mv libjpeg-turbo linphone-desktop/linphone-sdk/external/libjpeg-turbo
mkdir -p linphone-desktop/linphone-sdk/external && rm -r linphone-desktop/linphone-sdk/external/xerces-c && mv xerces-c linphone-desktop/linphone-sdk/external/xerces-c
mkdir -p linphone-desktop/linphone-sdk/external && rm -r linphone-desktop/linphone-sdk/external/soci && mv soci linphone-desktop/linphone-sdk/external/soci
mkdir -p linphone-desktop/linphone-sdk/external && rm -r linphone-desktop/linphone-sdk/external/sqlite3 && mv sqlite3 linphone-desktop/linphone-sdk/external/sqlite3
mkdir -p linphone-desktop/linphone-sdk/external && rm -r linphone-desktop/linphone-sdk/external/codec2 && mv codec2 linphone-desktop/linphone-sdk/external/codec2
mkdir -p linphone-desktop/linphone-sdk && rm -r linphone-desktop/linphone-sdk/mscodec2 && mv mscodec2 linphone-desktop/linphone-sdk/mscodec2
mkdir -p linphone-desktop/linphone-sdk/external && rm -r linphone-desktop/linphone-sdk/external/decaf && mv decaf linphone-desktop/linphone-sdk/external/decaf
mkdir -p linphone-desktop/linphone-sdk/external && rm -r linphone-desktop/linphone-sdk/external/zxing-cpp && mv zxing-cpp linphone-desktop/linphone-sdk/external/zxing-cpp
mkdir -p linphone-desktop/linphone-sdk/external && rm -r linphone-desktop/linphone-sdk/external/vo-amrwbenc && mv vo-amrwbenc linphone-desktop/linphone-sdk/external/vo-amrwbenc
mkdir -p linphone-desktop/linphone-sdk/external && rm -r linphone-desktop/linphone-sdk/external/opencore-amr && mv opencore-amr linphone-desktop/linphone-sdk/external/opencore-amr
mkdir -p linphone-desktop/linphone-sdk && rm -r linphone-desktop/linphone-sdk/lime && mv lime linphone-desktop/linphone-sdk/lime
mkdir -p linphone-desktop/linphone-sdk && rm -r linphone-desktop/linphone-sdk/msaaudio && mv msaaudio linphone-desktop/linphone-sdk/msaaudio
mkdir -p linphone-desktop/linphone-sdk && rm -r linphone-desktop/linphone-sdk/msandroidcamera2 && mv msandroidcamera2 linphone-desktop/linphone-sdk/msandroidcamera2
mkdir -p linphone-desktop/linphone-sdk/external && rm -r linphone-desktop/linphone-sdk/external/openldap && mv openldap linphone-desktop/linphone-sdk/external/openldap
mkdir -p linphone-desktop/linphone-sdk/external && rm -r linphone-desktop/linphone-sdk/external/jsoncpp && mv jsoncpp linphone-desktop/linphone-sdk/external/jsoncpp
mkdir -p linphone-desktop/linphone-sdk && rm -r linphone-desktop/linphone-sdk/msoboe && mv msoboe linphone-desktop/linphone-sdk/msoboe
mkdir -p linphone-desktop/linphone-sdk/msoboe && rm -r linphone-desktop/linphone-sdk/msoboe/oboe && mv oboe linphone-desktop/linphone-sdk/msoboe/oboe
mkdir -p linphone-desktop/linphone-sdk/external && rm -r linphone-desktop/linphone-sdk/external/libyuv && mv libyuv linphone-desktop/linphone-sdk/external/libyuv
mkdir -p linphone-desktop/linphone-sdk/external && rm -r linphone-desktop/linphone-sdk/external/liboqs && mv liboqs linphone-desktop/linphone-sdk/external/liboqs
mkdir -p linphone-desktop/linphone-sdk && rm -r linphone-desktop/linphone-sdk/postquantumcryptoengine && mv postquantumcryptoengine linphone-desktop/linphone-sdk/postquantumcryptoengine
mkdir -p linphone-desktop/linphone-sdk/external && rm -r linphone-desktop/linphone-sdk/external/dav1d && mv dav1d linphone-desktop/linphone-sdk/external/dav1d
mkdir -p linphone-desktop/linphone-sdk/external && rm -r linphone-desktop/linphone-sdk/external/aom && mv aom linphone-desktop/linphone-sdk/external/aom
mkdir -p linphone-desktop/external && rm -r linphone-desktop/external/qtkeychain && mv qtkeychain linphone-desktop/external/qtkeychain
mkdir -p linphone-desktop/external && rm -r linphone-desktop/external/ispell && mv ispell linphone-desktop/external/ispell
}
build() {
cd "$srcdir/linphone-desktop"
# Fix cmake file from linphone
sed -i '15i include_directories(external/qtkeychain build/external/qtkeychain)' CMakeLists.txt
mkdir -p build/OUTPUT && cd build
cmake .. -DCMAKE_BUILD_PARALLEL_LEVEL=$(nproc) -DCMAKE_BUILD_TYPE=RelWithDebInfo
cmake --build . --target install --parallel $(nproc) --config RelWithDebInfo
# # Generate desktop file
cd "$srcdir"
gendesk -f -n \
--pkgname="$pkgname" \
--pkgdesc="$pkgdesc" \
--name=Linphone \
--genericname="VoIP Client" \
--categories=Network \
--icon=linphone.png \
--exec=/opt/linphone/linphone-launcher \
--terminal=false \
--startupnotify=true \
--comment "Linphone"
}
package() {
mkdir -p "$pkgdir/opt/linphone/"
cp -r "$srcdir/linphone-desktop/build/OUTPUT/." "$pkgdir/opt/linphone/"
mkdir -p "$pkgdir/usr/share/applications/"
install -Dm644 "$srcdir/linphone-desktop.desktop" "$pkgdir/usr/share/applications/"
mkdir -p "$pkgdir/usr/share/pixmaps/"
install -Dm644 "$srcdir/linphone.png" "$pkgdir/usr/share/pixmaps/"
# Add linphone's own lib folder to LD_LIBRARY_PATH
echo "#!/bin/bash" > "$pkgdir/opt/linphone/linphone-launcher"
echo 'LD_LIBRARY_PATH="/opt/linphone/lib:$LD_LIBRARY_PATH" /opt/linphone/bin/linphone "$@"' >> "$pkgdir/opt/linphone/linphone-launcher"
chmod +x "$pkgdir/opt/linphone/linphone-launcher"
mkdir -p "$pkgdir/usr/bin/"
ln -s /opt/linphone/linphone-launcher "$pkgdir/usr/bin/linphone"
}
The total size of the parent folder "linphone-desktop" after cloning is 3.00GB, 2.2GB not including the /src at 816.MiB - below;
ncdu 2.5 ~ Use the arrow keys to navigate, press ? for help
--- /home/<USERNAME>/aur-package/linphone-desktop ------------------------------------------------------------------------------------------------------------------------------------------------
816.0 MiB [###########################] /src
464.2 MiB [############### ] /ffmpeg
245.3 MiB [######## ] /zxing-cpp
223.2 MiB [####### ] /aom
135.1 MiB [#### ] /liboqs
133.1 MiB [#### ] /liblinphone
127.4 MiB [#### ] /libvpx
125.4 MiB [#### ] /openh264
118.9 MiB [### ] /webrtc
113.4 MiB [### ] /linphone-desktop
113.4 MiB [### ] /linphone-sdk
77.9 MiB [## ] /oboe
73.9 MiB [## ] /mbedtls
59.1 MiB [# ] /mediastreamer2
59.0 MiB [# ] /soci
56.6 MiB [# ] /opencore-amr
52.4 MiB [# ] /openldap
23.5 MiB [ ] /ortp
20.1 MiB [ ] /libxml2
14.2 MiB [ ] /belle-sip
10.0 MiB [ ] /libyuv
9.1 MiB [ ] /opus
7.2 MiB [ ] /dav1d
6.9 MiB [ ] /xerces-c
6.7 MiB [ ] /srtp
5.8 MiB [ ] /codec2
5.7 MiB [ ] /speex
5.0 MiB [ ] /bcunit
5.0 MiB [ ] /lime
3.9 MiB [ ] /zlib
3.8 MiB [ ] /libjpeg-turbo
3.8 MiB [ ] /sqlite3
3.5 MiB [ ] /bctoolbox
3.3 MiB [ ] /jsoncpp
3.3 MiB [ ] /bcmatroska2
2.2 MiB [ ] /ispell
1.7 MiB [ ] /decaf
1.7 MiB [ ] /belcard
1.4 MiB [ ] /postquantumcryptoengine
1.3 MiB [ ] /bzrtp
1.3 MiB [ ] /mssilk
1.1 MiB [ ] /belr
992.0 KiB [ ] /vo-amrwbenc
844.0 KiB [ ] /bcg729
544.0 KiB [ ] /msopenh264
508.0 KiB [ ] /qtkeychain
468.0 KiB [ ] /mswebrtc
380.0 KiB [ ] /mswasapi
376.0 KiB [ ] /msaaudio
344.0 KiB [ ] /msamr
292.0 KiB [ ] /bv16-floatingpoint
272.0 KiB [ ] /msandroidcamera2
244.0 KiB [ ] /gsm
224.0 KiB [ ] /.git
192.0 KiB [ ] /msoboe
168.0 KiB [ ] /mscodec2
16.0 KiB [ ] PKGBUILD
8.0 KiB [ ] .SRCINFO
8.0 KiB [ ] 0001-do-not-build-linphone-sdk.patch
! 4.0 KiB [ ] /pkg
4.0 KiB [ ] linphone.png
4.0 KiB [ ] 0002-remove-bc_compute_full_version-usage.patch
*Total disk usage: 3.1 GiB Apparent size: 3.0 GiB Items: 48,327
Do we possibly have an issue here which coincides with the original problem stated above?
I've also asked the same question underneath the AUR package URL itself.
Thanks Rich
Last edited by traibr (2024-09-29 17:55:18)
Offline
Hi traibr,
I *think* the problem is that the mbedtls submodule became incompatible to the main linphone-desktop repo. I will need to investigate this a bit and try to add commit hashes for the submodules that don't have a hash yet. Hopefully I can push a revision tomorrow. Thanks for bringing up this issue.
Another quick question, why on earth is the PKGBUILD file cloning all of these dependencies via "source=" below in the compiling process; after I've already installed the require dependencies ("depends=" | "makedepends=") as suggested by the PKGBUILD in it's initial run, makepkg?
Putting the submodules into the source array is the intended way. See https://wiki.archlinux.org/title/VCS_pa … submodules and the comments below the package on the AUR.
I'm pretty sure these are not necessary, and I'm aware some of these below are crucial e.g. belle-sip, bzrtp, belcard, bctoolbox etc...
The code submodules and the dependencies in depends and makedepends serve different purposes. The submodules get compiled in while depends and makedepends defines runtime/build dependencies.
The total size of the parent folder "linphone-desktop" after cloning is 3.00GB, 2.2GB not including the /src at 816.MiB - below;
Sounds about right. As far as I know, makepkg does not support (within source=...) shallow git clones and will therefore always get the whole repo.
https://bugs.archlinux.org/task/34677
Cheers,
Daniel
Offline
Hi Daniel,
Thanks for the prompt response!
I *think* the problem is that the mbedtls submodule became incompatible to the main linphone-desktop repo. I will need to investigate this a bit and try to add commit hashes for the submodules that don't have a hash yet. Hopefully I can push a revision tomorrow. Thanks for bringing up this issue.
Not a problem, thanks for addressing it so quickly
Putting the submodules into the source array is the intended way. See https://wiki.archlinux.org/title/VCS_pa … submodules and the comments below the package on the AUR.
Thanks for the explanation when it comes to applications & their submodules. The more you know, that's going in the vault! It's a little different in the Gentoo model, where you use USE="flags .i.e. X, ffmpeg, cups, gtk4 etc..." while compiling & performing the install, that's really good to know. I'd been wondering how that was achieved for some time, just got a bit lazy lol.
he code submodules and the dependencies in depends and makedepends serve different purposes. The submodules get compiled in while depends and makedepends defines runtime/build dependencies.
Those were my thoughts when looking at "source", "depends" & "makedepends", hence my question, please correct me if I'm wrong, I'm pretty sure that not all submodules are require e.g. openldap for instance, this protocol is only required if you want to authenticate with a DC/Active Directory & or other systems needing ldap authentication capabilities, & is not necessary for Linphone to work autonomously. Sorry I moved from Gentoo a year & a bit ago, after 8-9 years on it... & as I've said earlier got a bit lazy with README... I should really kick the habit!
Sounds about right. As far as I know, makepkg does not support (within source=...) shallow git clones and will therefore always get the whole repo.
Ahh.. I'll have to read up on this "shadow git clone (within source=...)", interesting, it's a little strange that you have to pull down data (Full repo) equating to 4-5x the size of the OS, ArchLinux, just so you can build an application somewhere in the region of 80-150MiB's. That's a little strange, & overly excessive, however, there must be a valid reason or method to the madness as they say, hmm... Shadow git clone sounds very interesting though
Cheers,
Rich
Last edited by traibr (2024-09-30 11:57:16)
Offline
Mod note: Moving to AUR Issues.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
UPDATE
I've directly downloaded the source/master Linphone-Desktop application from https://gitlab.linphone.org/BC/public/linphone-desktop & built the app successfully, however default install was French from what I could tell. So I've used the following AUR link: https://aur.archlinux.org/linphone-desk … stable.git - Package Details: linphone-desktop-appimage-stable 5.2.2-1
Amended the PKGBUILD to reflect version Desktop 5.2.6 - Qt5.15.2 Core 5.3.72
This installed successfully with no issues.
Please consider this thread resolved.
Thank Rich
Offline
Please consider this thread resolved.
Please prepend [Solved] to the thread title (edit first post).
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
Just pushed the updated PKGBUILD.
It now includes commit hashes for all git submodules and builds again.
Btw, if you want to go with the appimage, there is also linphone-desktop-appimage by lynix that is already updated to 5.2.6.
Offline