commit: e304c8b200a1b64e0547febeafa1686ed0834b39 Author: Michael Palimaka <kensington <AT> gentoo <DOT> org> AuthorDate: Mon Aug 31 15:21:53 2015 +0000 Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org> CommitDate: Mon Aug 31 15:22:22 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e304c8b2
kde-misc/kde-gtk-config: improve kde-base/kdelibs-4.14.11 compatibility patch Gentoo-bug: 559108 Package-Manager: portage-2.2.20.1 .../kde-gtk-config-2.2.1-kdelibs-4.14.11.patch | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/kde-misc/kde-gtk-config/files/kde-gtk-config-2.2.1-kdelibs-4.14.11.patch b/kde-misc/kde-gtk-config/files/kde-gtk-config-2.2.1-kdelibs-4.14.11.patch index ca20682..86c8b4c 100644 --- a/kde-misc/kde-gtk-config/files/kde-gtk-config-2.2.1-kdelibs-4.14.11.patch +++ b/kde-misc/kde-gtk-config/files/kde-gtk-config-2.2.1-kdelibs-4.14.11.patch @@ -50,3 +50,30 @@ index 9821cbf..18ee2d5 100644 -- 2.4.6 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -47,6 +47,4 @@ + add_subdirectory(gtkproxies) + add_subdirectory(gtk3proxies) + add_subdirectory(icons) +-find_package(Msgfmt REQUIRED) +-find_package(Gettext REQUIRED) + add_subdirectory( po ) + +--- a/po/CMakeLists.txt ++++ b/po/CMakeLists.txt +@@ -0,0 +1,14 @@ ++# The pofiles macro creates in some versions same name targets ++# which since cmake 2.8 leads to target clashes. ++# Hence force the old policy for all po directories. ++# http://public.kitware.com/Bug/view.php?id=12952 ++cmake_policy(SET CMP0002 OLD) ++ ++find_package(Gettext REQUIRED) ++if (NOT GETTEXT_MSGMERGE_EXECUTABLE) ++MESSAGE(FATAL_ERROR "Please install msgmerge binary") ++endif (NOT GETTEXT_MSGMERGE_EXECUTABLE) ++if (NOT GETTEXT_MSGFMT_EXECUTABLE) ++MESSAGE(FATAL_ERROR "Please install msgmerge binary") ++endif (NOT GETTEXT_MSGFMT_EXECUTABLE) ++
