linphone 5.1.61-1 (znver1;x86_64;aarch64) 2022-15250
9999
Status | published | ||||||||||||||||||||||||||||||||||||
Submitter | alexander [@T] mezon.ru | ||||||||||||||||||||||||||||||||||||
Platform | rolling | ||||||||||||||||||||||||||||||||||||
Repository | main | ||||||||||||||||||||||||||||||||||||
URL | https://abf.openmandriva.org/build_lists/234901 | ||||||||||||||||||||||||||||||||||||
Packages |
|
||||||||||||||||||||||||||||||||||||
Build Date | 2022-09-26 14:03:04 +0000 UTC | ||||||||||||||||||||||||||||||||||||
Last Updated | 2022-09-30 15:57:38.149423328 +0000 UTC |
$ git diff --patch-with-stat --summary bfb6375b61258331afb3341ff6c07fa346236846..6466aa114cd6c4e7253e62d60bd7a946fb1c864c .abf.yml | 2 +- linphone-5.1.45-fix-pkgconfig.patch | 33 ++++++++++++++++++++++ linphone-5.1.45-port_to_python_3.11.patch | 11 ++++++++ ...61-fix_compiler_strict-prototypes_warinig.patch | 20 +++++++++++++ linphone.spec | 8 ++++-- 5 files changed, 70 insertions(+), 4 deletions(-) create mode 100644 linphone-5.1.45-fix-pkgconfig.patch create mode 100644 linphone-5.1.45-port_to_python_3.11.patch create mode 100644 linphone-5.1.61-fix_compiler_strict-prototypes_warinig.patch diff --git a/.abf.yml b/.abf.yml index 15edac9..0bab49d 100644 --- a/.abf.yml +++ b/.abf.yml @@ -1,2 +1,2 @@ sources: - liblinphone-5.0.44.tar.bz2: d89b85af952311c55bdb025311d40403efb0604a + liblinphone-5.1.61.tar.bz2: 628ccd952172a6a8aca6f78594e5a9462e468f9d diff --git a/linphone-5.1.45-fix-pkgconfig.patch b/linphone-5.1.45-fix-pkgconfig.patch new file mode 100644 index 0000000..982d043 --- /dev/null +++ b/linphone-5.1.45-fix-pkgconfig.patch @@ -0,0 +1,33 @@ +--- a/share/CMakeLists.txt ++++ b/share/CMakeLists.txt +@@ -25,6 +25,16 @@ + PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ + ) + ++ ++set(LINPHONE_CFLAGS ${LINPHONE_CPPFLAGS}) ++set(LINPHONE_LIBS ${LINPHONE_LDFLAGS}) ++set(prefix ${CMAKE_INSTALL_PREFIX}) ++set(exec_prefix ${prefix}/libexec) ++set(libdir ${CMAKE_INSTALL_LIBDIR}) ++set(includedir ${prefix}/include) ++configure_file(${CMAKE_CURRENT_SOURCE_DIR}/linphone.pc.in ${CMAKE_CURRENT_BINARY_DIR}/linphone.pc) ++install(FILES ${CMAKE_CURRENT_BINARY_DIR}/linphone.pc DESTINATION "${CMAKE_INSTALL_LIBDIR}/pkgconfig") ++ + set(GRAMMAR_FILES + cpim_grammar + ics_grammar +--- a/share/linphone.pc.in ++++ b/share/linphone.pc.in +@@ -3,9 +3,9 @@ + libdir=@libdir@ + includedir=@includedir@ + +-Requires: mediastreamer ortp bctoolbox ++Requires: mediastreamer belle-sip bctoolbox + Name: liblinphone + Description: All in one linphone libs. +-Version: @VERSION@ ++Version: @LINPHONE_VERSION@ + Libs: @LINPHONE_LIBS@ + Cflags: @LINPHONE_CFLAGS@ diff --git a/linphone-5.1.45-port_to_python_3.11.patch b/linphone-5.1.45-port_to_python_3.11.patch new file mode 100644 index 0000000..c30ac0e --- /dev/null +++ b/linphone-5.1.45-port_to_python_3.11.patch @@ -0,0 +1,11 @@ +--- a/wrappers/cpp/genwrapper.py ++++ b/wrappers/cpp/genwrapper.py +@@ -493,7 +493,7 @@ + content = '' + with open(tmppath, mode='w') as f: + f.write(self.renderer.render(item)) +- with open(tmppath, mode='rU') as f: ++ with open(tmppath, mode='r') as f: + content = f.read() + with open(path, mode='w') as f: + f.write(content) diff --git a/linphone-5.1.61-fix_compiler_strict-prototypes_warinig.patch b/linphone-5.1.61-fix_compiler_strict-prototypes_warinig.patch new file mode 100644 index 0000000..351ee5f --- /dev/null +++ b/linphone-5.1.61-fix_compiler_strict-prototypes_warinig.patch @@ -0,0 +1,20 @@ +--- a/console/linphonec.c ++++ b/console/linphonec.c +@@ -965,7 +965,7 @@ + * + */ + static int +-linphonec_idle_call () ++linphonec_idle_call (void) + { + LinphoneCore *opm=linphonec; + +@@ -1274,7 +1274,7 @@ + * -1 on error + */ + static int +-handle_configfile_migration() ++handle_configfile_migration(void) + { + #if !defined(_WIN32_WCE) + char *old_cfg_gui; diff --git a/linphone.spec b/linphone.spec index c42c7db..425c59c 100644 --- a/linphone.spec +++ b/linphone.spec @@ -1,4 +1,4 @@ -%define _disable_ld_no_undefined 1 +#define _disable_ld_no_undefined 1 #define _disable_lto 1 %define major 10 @@ -8,7 +8,7 @@ Summary: Voice over IP Application Name: linphone -Version: 5.0.44 +Version: 5.1.61 Release: 1 License: GPLv2+ Group: Communications @@ -16,9 +16,11 @@ URL: http://www.linphone.org Source0: https://gitlab.linphone.org/BC/public/lib%{name}/-/archive/%{version}/lib%{name}-%{version}.tar.bz2 Patch0: linphone-5.0.44-cmake-config-location.patch # (wally) originally from OpenSUSE, slightly modified -Patch1: linphone-4.4.24-fix-pkgconfig.patch +Patch1: linphone-5.1.45-fix-pkgconfig.patch Patch2: linphone-4.4.24-fix_xds_version.patch Patch3: linphone-5.0.44-dont_check_bctools_version.patch +Patch4: linphone-5.1.45-port_to_python_3.11.patch +Patch5: linphone-5.1.61-fix_compiler_strict-prototypes_warinig.patch BuildRequires: cmake BuildRequires: boost-devel
Not Available
benbullard79 [@T] cox.net | No Comment. | 545d 06hrs |
benbullard79 [@T] cox.net | No Comment. | 545d 06hrs |