Hello community, here is the log from the commit of package linphoneqt for openSUSE:Factory checked in at 2017-10-03 23:16:26 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/linphoneqt (Old) and /work/SRC/openSUSE:Factory/.linphoneqt.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "linphoneqt" Tue Oct 3 23:16:26 2017 rev:1 rq:522896 version:4.1.1 Changes: -------- New Changes file: --- /dev/null 2017-07-20 07:30:00.335470106 +0200 +++ /work/SRC/openSUSE:Factory/.linphoneqt.new/linphoneqt.changes 2017-10-03 23:16:26.689513290 +0200 @@ -0,0 +1,10 @@ +------------------------------------------------------------------- +Sun Sep 10 14:23:13 UTC 2017 - [email protected] + +- Add linphoneqt-fix-cmake-i18n.patch: Support new CMake versions + for translations (commit e70c077). + +------------------------------------------------------------------- +Fri Jul 21 13:30:37 UTC 2017 - [email protected] + +- Initial package. New: ---- linphone.appdata.xml linphoneqt-4.1.1.tar.gz linphoneqt-fix-cmake-i18n.patch linphoneqt.changes linphoneqt.spec ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ linphoneqt.spec ++++++ # # spec file for package linphoneqt # # Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %define _name linphone Name: linphoneqt Version: 4.1.1 Release: 0 Summary: Qt interface for Linphone License: GPL-2.0+ Group: Productivity/Networking/Other Url: https://linphone.org/ Source: https://linphone.org/releases/sources/%{name}/%{name}-%{version}.tar.gz Source1: %{_name}.appdata.xml # PATCH-FIX-UPSTREAM linphoneqt-fix-cmake-i18n.patch -- Support new CMake versions for translations (commit e70c077). Patch0: linphoneqt-fix-cmake-i18n.patch BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: hicolor-icon-theme BuildRequires: libqt5-linguist-devel >= 5.9 BuildRequires: pkgconfig BuildRequires: update-desktop-files BuildRequires: pkgconfig(Qt5Concurrent) >= 5.9 BuildRequires: pkgconfig(Qt5Core) >= 5.9 BuildRequires: pkgconfig(Qt5DBus) >= 5.9 BuildRequires: pkgconfig(Qt5Gui) >= 5.9 BuildRequires: pkgconfig(Qt5Network) >= 5.9 BuildRequires: pkgconfig(Qt5Quick) >= 5.9 BuildRequires: pkgconfig(Qt5QuickControls2) >= 5.9 BuildRequires: pkgconfig(Qt5Svg) >= 5.9 BuildRequires: pkgconfig(Qt5Widgets) >= 5.9 BuildRequires: pkgconfig(linphone) >= 3.12.0 BuildRequires: pkgconfig(mediastreamer) >= 2.16.0 %description Linphone is a Web phone with a Qt interface. It lets you make two-party calls over IP networks such as the Internet. It uses the IETF protocols SIP (Session Initiation Protocol) and RTP (Realtime TransporT Protocol) to make calls, so it should be able to communicate with other SIP-based Web phones. With several codecs available, it can be used with high speed connections as well as 28k modems. %package -n %{_name} Summary: Web Phone Requires: lib%{_name}-data Requires: libqt5-qtgraphicaleffects Requires: libqt5-qtquickcontrols2 Recommends: %{_name}-cli Obsoletes: %{_name}-lang < %{version} %description -n %{_name} Linphone is a Web phone with a Qt interface. It lets you make two-party calls over IP networks such as the Internet. It uses the IETF protocols SIP (Session Initiation Protocol) and RTP (Realtime TransporT Protocol) to make calls, so it should be able to communicate with other SIP-based Web phones. With several codecs available, it can be used with high speed connections as well as 28k modems. %prep %setup -q %patch0 -p1 cp %{SOURCE1} linphone.appdata.xml %build %cmake \ -DENABLE_DBUS=ON \ -DENABLE_PRECOMPILED_HEADERS=OFF \ -DENABLE_STRICT=OFF \ -DENABLE_STATIC=OFF make %{?_smp_mflags} V=1 %install %cmake_install install -Dpm 0644 linphone.appdata.xml \ %{buildroot}%{_datadir}/appdata/linphone.appdata.xml %post -n %{_name} %desktop_database_post %icon_theme_cache_post %postun -n %{_name} %desktop_database_postun %icon_theme_cache_postun %files -n %{_name} %doc LICENSE README.md %{_bindir}/linphone %{_bindir}/linphone-tester %{_datadir}/linphone/ %{_datadir}/applications/linphone.desktop %{_datadir}/icons/hicolor/*/apps/linphone.* %dir %{_datadir}/appdata/ %{_datadir}/appdata/linphone.appdata.xml %changelog ++++++ linphone.appdata.xml ++++++ <?xml version="1.0" encoding="UTF-8"?> <!-- Copyright 2015 Belledonne Communications <[email protected]> --> <component type="desktop"> <id>linphone.desktop</id> <metadata_license>CC0-1.0</metadata_license> <project_license>GPL-2.0+</project_license> <name>Linphone</name> <summary>SIP video soft-phone</summary> <description> <ul> <li>Make audio and video calls in HD</li> <li>Create audio conferences</li> <li>Record and store calls</li> <li>View real-time presence status</li> <li>Manage your address book</li> <li>Communicate securely</li> <li>Free subscription</li> </ul> </description> <screenshots> <screenshot type="default"> <image>https://raw.githubusercontent.com/BelledonneCommunications/linphone-desktop/master/readme_screen.png</image> <caption>Main window</caption> </screenshot> </screenshots> <url type="homepage">https://linphone.org</url> <updatecontact>[email protected]</updatecontact> </component> ++++++ linphoneqt-fix-cmake-i18n.patch ++++++ --- a/assets/languages/CMakeLists.txt +++ b/assets/languages/CMakeLists.txt @@ -27,6 +27,13 @@ file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/ # Create `qm` files from `ts` files. qt5_create_translation(QM_FILES ${TS_FILES} ${SOURCES} ${HEADERS} ${QML_SOURCES} OPTIONS -no-obsolete) +# Workaround: Create empty files for some cmake versions. Otherwise, the qm rules can't be used. +foreach (qm ${QM_FILES}) + if (NOT EXISTS "${qm}") + file(GENERATE OUTPUT "${qm}" CONTENT "") + endif () +endforeach () + # Update translations. add_custom_target(update_translations COMMAND ${CMAKE_COMMAND} "-DLANGUAGES=\"${LANGUAGES}\"" -P "${CMAKE_CURRENT_SOURCE_DIR}/clean_translations.cmake"
