diff options
Diffstat (limited to 'media-gfx/symboleditor/files/symboleditor-2.0.0-cmake.patch')
-rw-r--r-- | media-gfx/symboleditor/files/symboleditor-2.0.0-cmake.patch | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/media-gfx/symboleditor/files/symboleditor-2.0.0-cmake.patch b/media-gfx/symboleditor/files/symboleditor-2.0.0-cmake.patch new file mode 100644 index 000000000000..ab0bd049bef3 --- /dev/null +++ b/media-gfx/symboleditor/files/symboleditor-2.0.0-cmake.patch @@ -0,0 +1,41 @@ +From 8739cd6f5fe0f2ed0cf9913170573c62ee246c63 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Burkhard=20L=C3=BCck?= <lueck@hube-lueck.de> +Date: Thu, 22 Sep 2016 21:17:07 +0200 +Subject: cleanup CMakeLists.txt + +remove qt5_wrap_ui wrong because the app uses xgettext and line 60 already has ki18n_wrap_ui +remove add_definitions (-DTRANSLATION_DOMAIN=SymbolEditor), that is only for libraries +and +src/Main.cpp:84: KLocalizedString::setApplicationDomain(SymbolEditor); +is used to load the translation catalog +REVIEW:128126 +--- + CMakeLists.txt | 6 ------ + 1 file changed, 6 deletions(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index d1016cb..d88174a 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -64,10 +64,6 @@ add_subdirectory (doc) + + kconfig_add_kcfg_files (SymbolEditor_SRCS SymbolEditor.kcfgc) + +-qt5_wrap_ui (SymbolEditor_SRCS +- ui/EditorConfigPage.ui +-) +- + ecm_install_icons (ICONS sc-apps-SymbolEditor.svgz DESTINATION ${ICON_INSTALL_DIR}) + + add_executable (SymbolEditor ${SymbolEditor_SRCS}) +@@ -89,8 +85,6 @@ add_definitions ( + -DKDE_NO_COMPAT + ) + +-add_definitions (-DTRANSLATION_DOMAIN="SymbolEditor") +- + if (SILENCE_DEPRECATED) + add_definitions( -Wno-deprecated-declarations ) + endif (SILENCE_DEPRECATED) +-- +cgit v1.1 |