Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package linphone for openSUSE:Factory checked in at 2022-05-14 22:57:08 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/linphone (Old) and /work/SRC/openSUSE:Factory/.linphone.new.1538 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "linphone" Sat May 14 22:57:08 2022 rev:9 rq:977249 version:5.1.24 Changes: -------- --- /work/SRC/openSUSE:Factory/linphone/linphone.changes 2022-04-28 23:08:11.436701755 +0200 +++ /work/SRC/openSUSE:Factory/.linphone.new.1538/linphone.changes 2022-05-14 22:58:58.539501853 +0200 @@ -1,0 +2,14 @@ +Sat May 7 15:00:10 UTC 2022 - Giacomo Comes <gcomes....@gmail.com> + +- Update to version 5.1.24: + * LinphoneRecorder API added to record voice messages + * A recommended video definitions list that filter the supported video definitions list. + * LDAP connectivity into LinphoneMagicSearch API (to lookup contacts by number or name). + * Java wrapper no longer catches app exceptions that happen in listeners. + * linphone_core_enable_mic() is changed to be persistent accross calls and conference. + * To protect against "SIP digest leak", MD5 and digestion without qop=auth can be disabled + by configuration +- build static libldap boo#1198407 +- revert license tag change + +------------------------------------------------------------------- Old: ---- liblinphone-5.0.70.tar.bz2 New: ---- liblinphone-5.1.24.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ linphone.spec ++++++ --- /var/tmp/diff_new_pack.cMfY6n/_old 2022-05-14 22:58:59.095502548 +0200 +++ /var/tmp/diff_new_pack.cMfY6n/_new 2022-05-14 22:58:59.099502553 +0200 @@ -17,14 +17,19 @@ %define ldaplibdir %{buildroot}%{_libexecdir}/%{name} -%define sover 10 +#use_system_ldap set to 0 because liblinphone 5.x fails to build with system ldap +%define use_system_ldap 0 +%define static_ldap 1 +%if !0%{?static_ldap} %define __provides_exclude ^(libldap\\.so.*|liblber\\.so.*)$ %define __requires_exclude ^(libldap\\.so.*|liblber\\.so.*)$ +%endif +%define sover 10 Name: linphone -Version: 5.0.70 +Version: 5.1.24 Release: 0 Summary: Web Phone -License: GPL-3.0-only +License: GPL-3.0-or-later Group: Productivity/Telephony/SIP/Clients URL: https://linphone.org/technical-corner/liblinphone/ Source: https://gitlab.linphone.org/BC/public/liblinphone/-/archive/%{version}/liblinphone-%{version}.tar.bz2 @@ -45,11 +50,10 @@ BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: graphviz +BuildRequires: jsoncpp-devel BuildRequires: libeXosip2-devel BuildRequires: libgsm-devel BuildRequires: lime-devel >= 5.0.0 -#BuildRequires: openldap2-devel -BuildRequires: jsoncpp-devel BuildRequires: pkgconfig BuildRequires: python3 BuildRequires: python3-pystache @@ -79,10 +83,13 @@ BuildRequires: pkgconfig(speex) >= 1.1.6 BuildRequires: pkgconfig(sqlite3) BuildRequires: pkgconfig(xerces-c) -#for openldap +%if 0%{?use_system_ldap} +BuildRequires: openldap2-devel +%else BuildRequires: chrpath BuildRequires: db-devel BuildRequires: openslp-devel +%endif %description Linphone is a Web phone with a Qt interface. It lets you make @@ -187,12 +194,19 @@ %setup -q -n liblinphone-%{version} -D -T -a 1 %build +%if !0%{?use_system_ldap} #START build belledonne's libldap mkdir aux tar fx %{SOURCE3} -C aux cd aux/openldap-bc LDFLAGS="-Wl,-rpath,%ldaplibdir" ./configure \ +%if 0%{?static_ldap} + --enable-static=yes \ + --enable-shared=no \ + --with-pic \ +%else --enable-static=no \ +%endif --enable-slapd=no \ --enable-wrappers=no \ --enable-spasswd \ @@ -214,12 +228,19 @@ #END build belledonne's libldap #find and use belledonne's libldap sed -i "/OPENLDAP_INCLUDE_DIRS/,/LDAP_LIB/s@\${CMAKE_INSTALL_PREFIX}@$PWD/aux@;s@\${CMAKE_INSTALL_PREFIX}@%{ldaplibdir}@;s@include/openldap@include@" cmake/FindOpenLDAP.cmake +%endif %cmake \ -DPYTHON_EXECUTABLE="%{_bindir}/python3" \ -DENABLE_CXX_WRAPPER=ON \ +%if !0%{?use_system_ldap} -DOPENLDAP_INCLUDE_DIRS=$PWD/../aux/include \ +%if 0%{?static_ldap} + -DLDAP_LIB=%{ldaplibdir}/libldap.a \ +%else -DLDAP_LIB=%{ldaplibdir}/libldap.so \ +%endif -DCMAKE_SHARED_LINKER_FLAGS="-Wl,-rpath,%{ldaplibdir}" \ +%endif -DENABLE_DOC=ON \ -DCMAKE_BUILD_TYPE=Release \ -DENABLE_ROOTCA_DOWNLOAD=OFF \ @@ -233,13 +254,17 @@ %cmake_build %install +%if !0%{?use_system_ldap} #START reinstall belledonne's libldap cd aux/openldap-bc make install cd ../.. cp aux/openldap-bc/LICENSE LICENSE.openldap #END reinstall belledonne's libldap +%endif %cmake_install +%if !0%{?use_system_ldap} +%if !0%{?static_ldap} #remove unnecessary files rm %{ldaplibdir}/*.{la,so} #fix rpath in openldap libs and make them executable @@ -248,6 +273,10 @@ find %{buildroot}%{_libdir} -type f -name "liblinphone*" -exec chrpath -r %{_libexecdir}/%{name} {} \; # Remove openldap pkgconfig files. rm -r %{ldaplibdir}/pkgconfig +%else +rm -r %{ldaplibdir} +%endif +%endif # Install the manual. mkdir -p %{buildroot}%{_datadir}/gnome/help/ @@ -268,8 +297,12 @@ %files -n lib%{name}%{sover} %{_libdir}/lib%{name}.so.%{sover}* +%if !0%{?use_system_ldap} +%if !0%{?static_ldap} %dir %{_libexecdir}/%{name} %{_libexecdir}/%{name}/ +%endif +%endif %files -n lib%{name}-lang -f %{name}.lang %dir %{_datadir}/gnome/ @@ -279,7 +312,10 @@ %{_libdir}/lib%{name}++.so.%{sover}* %files -n lib%{name}-data -%license LICENSE.txt LICENSE.openldap +%license LICENSE.txt +%if !0%{?use_system_ldap} +%license LICENSE.openldap +%endif %doc CHANGELOG.md README.md %{_datadir}/%{name}/ %{_datadir}/sounds/%{name}/ @@ -295,6 +331,6 @@ %{_libdir}/pkgconfig/%{name}.pc %{_datadir}/Linphone/ %{_datadir}/LinphoneCxx/ -%{_datadir}/doc/lib%{name}-5.0.0/ +%{_datadir}/doc/lib%{name}-5.1.0/ %changelog ++++++ liblinphone-5.0.70.tar.bz2 -> liblinphone-5.1.24.tar.bz2 ++++++ /work/SRC/openSUSE:Factory/linphone/liblinphone-5.0.70.tar.bz2 /work/SRC/openSUSE:Factory/.linphone.new.1538/liblinphone-5.1.24.tar.bz2 differ: char 11, line 1