diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /x11-terms/qterminal/files |
reinit the tree, so we can have metadata
Diffstat (limited to 'x11-terms/qterminal/files')
-rw-r--r-- | x11-terms/qterminal/files/qterminal-0.7.1-no-liblxqt.patch | 51 | ||||
-rw-r--r-- | x11-terms/qterminal/files/qterminal-9999-nofetch.patch | 36 |
2 files changed, 87 insertions, 0 deletions
diff --git a/x11-terms/qterminal/files/qterminal-0.7.1-no-liblxqt.patch b/x11-terms/qterminal/files/qterminal-0.7.1-no-liblxqt.patch new file mode 100644 index 000000000000..536c971a0da1 --- /dev/null +++ b/x11-terms/qterminal/files/qterminal-0.7.1-no-liblxqt.patch @@ -0,0 +1,51 @@ +Translations are fetched from upstream git repo at build time, so disable them. + +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -30,14 +30,14 @@ + # we need qpa/qplatformnativeinterface.h for global shortcut + find_package(Qt5Gui REQUIRED) + find_package(Qt5Widgets REQUIRED) +-find_package(Qt5LinguistTools REQUIRED) ++#find_package(Qt5LinguistTools REQUIRED) + if(APPLE) + elseif(UNIX) + find_package(Qt5X11Extras REQUIRED) + endif() + find_package(QTermWidget5 REQUIRED) +-find_package(lxqt-build-tools ${LXQTBT_MINIMUM_VERSION} REQUIRED) +-include(LXQtTranslateTs) ++#find_package(lxqt-build-tools ${LXQTBT_MINIMUM_VERSION} REQUIRED) ++#include(LXQtTranslateTs) + message(STATUS "Qt version: ${Qt5Core_VERSION_STRING}") + + include(${QTERMWIDGET_USE_FILE}) +@@ -110,17 +110,17 @@ + qt5_wrap_ui( QTERM_UI ${QTERM_UI_SRC} ) + qt5_wrap_cpp( QTERM_MOC ${QTERM_MOC_SRC} ) + qt5_add_resources( QTERM_RCC ${QTERM_RCC_SRC} ) +-lxqt_translate_ts(QTERM_QM +- TRANSLATION_DIR "src/translations" +- PULL_TRANSLATIONS +- ${PULL_TRANSLATIONS} +- CLEAN_TRANSLATIONS +- ${CLEAN_TRANSLATIONS} +- TRANSLATIONS_REPO +- ${TRANSLATIONS_REPO} +- TRANSLATIONS_REFSPEC +- ${TRANSLATIONS_REFSPEC} +-) ++#lxqt_translate_ts(QTERM_QM ++# TRANSLATION_DIR "src/translations" ++# PULL_TRANSLATIONS ++# ${PULL_TRANSLATIONS} ++# CLEAN_TRANSLATIONS ++# ${CLEAN_TRANSLATIONS} ++# TRANSLATIONS_REPO ++# ${TRANSLATIONS_REPO} ++# TRANSLATIONS_REFSPEC ++# ${TRANSLATIONS_REFSPEC} ++#) + + include_directories( + "${CMAKE_SOURCE_DIR}" diff --git a/x11-terms/qterminal/files/qterminal-9999-nofetch.patch b/x11-terms/qterminal/files/qterminal-9999-nofetch.patch new file mode 100644 index 000000000000..72876c954a0e --- /dev/null +++ b/x11-terms/qterminal/files/qterminal-9999-nofetch.patch @@ -0,0 +1,36 @@ +Do not fetch translations using git at build time. + +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -24,7 +24,6 @@ + endif() + find_package(QTermWidget5 REQUIRED) + find_package(lxqt-build-tools ${LXQTBT_MINIMUM_VERSION} REQUIRED) +-include(LXQtTranslateTs) + include(LXQtCompilerSettings NO_POLICY_SCOPE) + message(STATUS "Qt version: ${Qt5Core_VERSION}") + +@@ -108,23 +107,6 @@ + qt5_wrap_ui( QTERM_UI ${QTERM_UI_SRC} ) + qt5_wrap_cpp( QTERM_MOC ${QTERM_MOC_SRC} ) + qt5_add_resources( QTERM_RCC ${QTERM_RCC_SRC} ) +-lxqt_translate_ts(QTERM_QM +- UPDATE_TRANSLATIONS +- ${UPDATE_TRANSLATIONS} +- SOURCES +- ${QTERM_SRC} +- ${QTERM_UI_SRC} +- ${QTERM_MOC_SRC} +- TRANSLATION_DIR "src/translations" +- PULL_TRANSLATIONS +- ${PULL_TRANSLATIONS} +- CLEAN_TRANSLATIONS +- ${CLEAN_TRANSLATIONS} +- TRANSLATIONS_REPO +- ${TRANSLATIONS_REPO} +- TRANSLATIONS_REFSPEC +- ${TRANSLATIONS_REFSPEC} +-) + + include_directories( + "${PROJECT_SOURCE_DIR}" |