Hello community,
here is the log from the commit of package ki18n for openSUSE:Factory checked in at 2014-06-10 14:36:06
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ki18n (Old)
and /work/SRC/openSUSE:Factory/.ki18n.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ki18n"
Changes:
--------
--- /work/SRC/openSUSE:Factory/ki18n/ki18n.changes 2014-05-14 20:27:18.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.ki18n.new/ki18n.changes 2014-06-10 14:36:17.000000000 +0200
@@ -1,0 +2,10 @@
+Sun Jun 1 18:02:12 UTC 2014 - hrvoje.senjan@gmail.com
+
+- Update to 4.100.0
+ * API improvements and cleanups
+ * Buildsystem fixes
+ * For more details please see:
+ http://www.kde.org/announcements/announce-frameworks5-beta3.php
+- Add baselibs.conf
+
+-------------------------------------------------------------------
Old:
----
ki18n-4.99.0.tar.xz
New:
----
baselibs.conf
ki18n-4.100.0.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ki18n.spec ++++++
--- /var/tmp/diff_new_pack.ZSteb2/_old 2014-06-10 14:36:18.000000000 +0200
+++ /var/tmp/diff_new_pack.ZSteb2/_new 2014-06-10 14:36:18.000000000 +0200
@@ -18,10 +18,10 @@
%define lname libKF5I18n5
Name: ki18n
-Version: 4.99.0
+Version: 4.100.0
Release: 0
BuildRequires: cmake >= 2.8.12
-BuildRequires: extra-cmake-modules >= 0.0.13
+BuildRequires: extra-cmake-modules >= 0.0.14
BuildRequires: fdupes
BuildRequires: kf5-filesystem
BuildRequires: pkgconfig(Qt5Concurrent) >= 5.2.0
@@ -32,7 +32,8 @@
License: LGPL-2.1+
Group: System/GUI/KDE
Url: http://www.kde.org
-Source0: ki18n-%{version}.tar.xz
+Source: http://download.kde.org/unstable/frameworks/%{version}/%{name}-%{version}.tar.xz
+Source1: baselibs.conf
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@@ -45,6 +46,7 @@
Summary: KDE Gettext-based UI text internationalization
Group: System/GUI/KDE
Obsoletes: libKF5I18n4
+Recommends: %lname-lang = %{version}
%description -n %lname
KI18n provides functionality for internationalizing user interface text
@@ -65,6 +67,7 @@
and translators can use the familiar Gettext tools and workflows.
Development files.
+%lang_package -n %lname
%prep
%setup -q
@@ -76,10 +79,14 @@
%kf5_makeinstall -C build
%fdupes -s %{buildroot}
+ %find_lang %{name}5
+
%post -n %lname -p /sbin/ldconfig
%postun -n %lname -p /sbin/ldconfig
+%files -n %lname-lang -f %{name}5.lang
+
%files -n %lname
%defattr(-,root,root)
%doc COPYING* README*
++++++ baselibs.conf ++++++
libKF5I18n5
ki18n-devel
requires "libKF5I18n5-<targettype> = <version>"
++++++ ki18n-4.99.0.tar.xz -> ki18n-4.100.0.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ki18n-4.99.0/CMakeLists.txt new/ki18n-4.100.0/CMakeLists.txt
--- old/ki18n-4.99.0/CMakeLists.txt 2014-05-05 02:25:33.000000000 +0200
+++ new/ki18n-4.100.0/CMakeLists.txt 2014-06-01 14:19:13.000000000 +0200
@@ -3,7 +3,7 @@
project(KI18n)
# ECM setup
-find_package(ECM 0.0.13 REQUIRED NO_MODULE)
+find_package(ECM 0.0.14 REQUIRED NO_MODULE)
set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH} ${ECM_KDE_MODULE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/cmake)
include(FeatureSummary)
@@ -12,7 +12,7 @@
include(ECMSetupVersion)
include(ECMGenerateHeaders)
-set(KF5_VERSION "4.99.0") # handled by release scripts
+set(KF5_VERSION "4.100.0") # handled by release scripts
ecm_setup_version(
${KF5_VERSION}
@@ -38,11 +38,16 @@
PURPOSE "Needed for building KI18n unless glibc is the system libc implementation"
)
+include(cmake/KF5I18NMacros.cmake)
+
remove_definitions(-DQT_NO_CAST_FROM_ASCII)
remove_definitions(-DQT_NO_CAST_TO_ASCII)
remove_definitions(-DQT_NO_CAST_FROM_BYTEARRAY)
add_definitions(-DTRANSLATION_DOMAIN=\"ki18n5\")
+if (IS_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/po")
+ ki18n_install(po)
+endif()
add_subdirectory(src)
add_subdirectory(autotests)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ki18n-4.99.0/autotests/CMakeLists.txt new/ki18n-4.100.0/autotests/CMakeLists.txt
--- old/ki18n-4.99.0/autotests/CMakeLists.txt 2014-05-05 02:25:33.000000000 +0200
+++ new/ki18n-4.100.0/autotests/CMakeLists.txt 2014-06-01 14:19:13.000000000 +0200
@@ -1,37 +1,29 @@
remove_definitions(-DQT_NO_CAST_FROM_ASCII)
-include(ECMMarkAsTest)
+include(ECMAddTests)
find_package(Qt5 ${REQUIRED_QT_VERSION} CONFIG REQUIRED Test Concurrent)
-macro(KI18N_UNIT_TESTS)
- foreach(_testname ${ARGN})
- add_executable(${_testname} ${_testname}.cpp testhelpers.cpp)
- target_link_libraries(${_testname} Qt5::Test Qt5::Concurrent KF5::I18n)
- add_test(ki18n-${_testname} ${_testname})
- ecm_mark_as_test(${_testname})
- endforeach()
-endmacro()
-
-ki18n_unit_tests(
- klocalizedstringtest
- ktranscripttest
+ecm_add_test(klocalizedstringtest.cpp
+ TEST_NAME "ki18n-klocalizedstringtest"
+ LINK_LIBRARIES Qt5::Test Qt5::Concurrent KF5::I18n ${LibIntl_LIBRARIES}
)
+# klocalizedstringtest needs the libintl include path
+target_include_directories(ki18n-klocalizedstringtest PRIVATE ${LibIntl_INCLUDE_DIRS})
+ecm_add_test(ktranscripttest.cpp testhelpers.cpp
+ TEST_NAME "ki18n-ktranscripttest"
+ LINK_LIBRARIES Qt5::Test KF5::I18n
+)
# ktranscripttest needs the path to ktranscript in the build dir: it cannot rely
# on the installed version since it must be able to run *before* the plugin is
# installed.
-target_compile_definitions(ktranscripttest PRIVATE "KTRANSCRIPT_PATH=\"$
participants (1)
-
root@hilbert.suse.de