summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2017-01-13 02:21:51 +1100
committerMichael Palimaka <kensington@gentoo.org>2017-01-13 02:22:04 +1100
commitf88aa1ddc5ca1e3ff2a671545ecf0207af636aa6 (patch)
treeb3014341b5e01127f02bb1c72fb67b151baacf06 /x11-terms/qterminal/files
parentx11-libs/qtermwidget: version bump 0.7.1 (diff)
downloadgentoo-f88aa1ddc5ca1e3ff2a671545ecf0207af636aa6.tar.gz
gentoo-f88aa1ddc5ca1e3ff2a671545ecf0207af636aa6.tar.bz2
gentoo-f88aa1ddc5ca1e3ff2a671545ecf0207af636aa6.zip
x11-terms/qterminal: version bump 0.7.1
Gentoo-bug: 605402 Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'x11-terms/qterminal/files')
-rw-r--r--x11-terms/qterminal/files/qterminal-0.7.1-no-liblxqt.patch51
1 files changed, 51 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}"