public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: x11-libs/qtermwidget/, x11-libs/qtermwidget/files/
@ 2017-08-13  2:24 Michael Palimaka
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Palimaka @ 2017-08-13  2:24 UTC (permalink / raw
  To: gentoo-commits

commit:     392cab19b1d3f74fd5344ec46fa1a20a0cb44bda
Author:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 13 02:22:56 2017 +0000
Commit:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Sun Aug 13 02:23:54 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=392cab19

x11-libs/qtermwidget: do not fetch translations using git at build time

Package-Manager: Portage-2.3.6, Repoman-2.3.3

 .../files/qtermwidget-9999-nofetch.patch           | 41 ++++++++++++++++++++++
 x11-libs/qtermwidget/qtermwidget-9999.ebuild       |  4 ++-
 2 files changed, 44 insertions(+), 1 deletion(-)

diff --git a/x11-libs/qtermwidget/files/qtermwidget-9999-nofetch.patch b/x11-libs/qtermwidget/files/qtermwidget-9999-nofetch.patch
new file mode 100644
index 00000000000..a4827d6dbb8
--- /dev/null
+++ b/x11-libs/qtermwidget/files/qtermwidget-9999-nofetch.patch
@@ -0,0 +1,41 @@
+Do not fetch translations using git at build time.
+
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -29,9 +29,7 @@
+ set(CMAKE_INCLUDE_CURRENT_DIR ON)
+ 
+ find_package(Qt5Widgets "${REQUIRED_QT_VERSION}" REQUIRED)
+-find_package(Qt5LinguistTools "${REQUIRED_QT_VERSION}" REQUIRED)
+ find_package(lxqt-build-tools ${LXQTBT_MINIMUM_VERSION} REQUIRED)
+-include(LXQtTranslateTs)
+ include(LXQtCompilerSettings NO_POLICY_SCOPE)
+ include(LXQtCreatePkgConfigFile)
+ 
+@@ -117,26 +115,6 @@
+ qt5_wrap_ui(UI_SRCS ${UI})
+ set(PKG_CONFIG_REQ "Qt5Widgets")
+ 
+-lxqt_translate_ts(QTERMWIDGET_QM
+-    TRANSLATION_DIR "lib/translations"
+-    UPDATE_TRANSLATIONS
+-        ${UPDATE_TRANSLATIONS}
+-    SOURCES
+-        ${SRCS} ${HDRS} ${UI}
+-    PULL_TRANSLATIONS
+-        ${PULL_TRANSLATIONS}
+-    CLEAN_TRANSLATIONS
+-        ${CLEAN_TRANSLATIONS}
+-    TRANSLATIONS_REPO
+-        ${TRANSLATIONS_REPO}
+-    TRANSLATIONS_REFSPEC
+-        ${TRANSLATIONS_REFSPEC}
+-    INSTALL_DIR
+-        ${TRANSLATIONS_DIR}
+-    COMPONENT
+-        Runtime
+-)
+-
+ add_library(${QTERMWIDGET_LIBRARY_NAME} SHARED ${SRCS} ${MOCS} ${UI_SRCS} ${QTERMWIDGET_QM})
+ target_link_libraries(${QTERMWIDGET_LIBRARY_NAME} Qt5::Widgets)
+ set_target_properties( ${QTERMWIDGET_LIBRARY_NAME} PROPERTIES

diff --git a/x11-libs/qtermwidget/qtermwidget-9999.ebuild b/x11-libs/qtermwidget/qtermwidget-9999.ebuild
index ffb964aba90..31f01f3f178 100644
--- a/x11-libs/qtermwidget/qtermwidget-9999.ebuild
+++ b/x11-libs/qtermwidget/qtermwidget-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -19,3 +19,5 @@ DEPEND="
 	dev-qt/qtwidgets:5
 "
 RDEPEND="${DEPEND}"
+
+PATCHES=( "${FILESDIR}/${P}-nofetch.patch" )


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: x11-libs/qtermwidget/, x11-libs/qtermwidget/files/
@ 2018-08-11 10:10 Jonathan Scruggs
  0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Scruggs @ 2018-08-11 10:10 UTC (permalink / raw
  To: gentoo-commits

commit:     8969f5be2ea2de4790ce0ecaf41bf2ef8f5fec30
Author:     Jonathan Scruggs <j.scruggs <AT> gmail <DOT> com>
AuthorDate: Wed Jul 11 15:07:13 2018 +0000
Commit:     Jonathan Scruggs <dracwyrm <AT> gentoo <DOT> org>
CommitDate: Sat Aug 11 10:09:14 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8969f5be

x11-libs/qtermwidget: version update to 0.9.0

 x11-libs/qtermwidget/Manifest                      |  1 +
 .../files/qtermwidget-0.9.0-nofetch.patch          | 28 +++++++++++++++++
 x11-libs/qtermwidget/metadata.xml                  |  8 ++---
 x11-libs/qtermwidget/qtermwidget-0.9.0.ebuild      | 36 ++++++++++++++++++++++
 4 files changed, 69 insertions(+), 4 deletions(-)

diff --git a/x11-libs/qtermwidget/Manifest b/x11-libs/qtermwidget/Manifest
index f31260d678a..114681e6ceb 100644
--- a/x11-libs/qtermwidget/Manifest
+++ b/x11-libs/qtermwidget/Manifest
@@ -1 +1,2 @@
 DIST qtermwidget-0.7.1.tar.xz 158172 BLAKE2B 7fc013a4bdd589ea8d08f440d48fcc924c71635292ceb0ec7b38142733f14f280eeda599fa35b6fc4f9bfbcaaec565e35163274709c43c7ec9e56e51cc2ab2dc SHA512 a8660ca5355103cf9d9f72ec5213f3c04d02dff44ceaa26297960def07335596eba6b125a7b3ca1a02f8c19a99edffdee68c57ff0c3f357cc3df149d3e9c5c99
+DIST qtermwidget-0.9.0.tar.xz 166976 BLAKE2B 5f3f56168e21dbf9a5039784fbb42682b5422fc919c3f30c4240acdff23b57dd7f850eb37bba96a50ae18f9b2594dd3ccdde173d3cf002e39611f67085cc9e0c SHA512 fc7286dc3494bd1ccdd95fae3cee7cc8dd39b51eab58e697d939d5fb85c930545d79b984769815708852335e460ad063b684291b200e1e7f90c13195ea5e66dc

diff --git a/x11-libs/qtermwidget/files/qtermwidget-0.9.0-nofetch.patch b/x11-libs/qtermwidget/files/qtermwidget-0.9.0-nofetch.patch
new file mode 100644
index 00000000000..b0b84e174a2
--- /dev/null
+++ b/x11-libs/qtermwidget/files/qtermwidget-0.9.0-nofetch.patch
@@ -0,0 +1,28 @@
+From 8d29395d189a99d05792c34de3edc5a2fdd267de Mon Sep 17 00:00:00 2001
+From: Alf Gaida <agaida@siduction.org>
+Date: Tue, 5 Jun 2018 21:53:17 +0200
+Subject: [PATCH] Removed translation related git stuff from CMakeLists.txt
+
+---
+ CMakeLists.txt | 8 --------
+ 1 file changed, 8 deletions(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 462e841..9abe385 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -129,14 +129,6 @@ lxqt_translate_ts(QTERMWIDGET_QM
+         ${UPDATE_TRANSLATIONS}
+     SOURCES
+         ${SRCS} ${HDRS} ${UI}
+-    PULL_TRANSLATIONS
+-        ${PULL_TRANSLATIONS}
+-    CLEAN_TRANSLATIONS
+-        ${CLEAN_TRANSLATIONS}
+-    TRANSLATIONS_REPO
+-        ${TRANSLATIONS_REPO}
+-    TRANSLATIONS_REFSPEC
+-        ${TRANSLATIONS_REFSPEC}
+     INSTALL_DIR
+         ${TRANSLATIONS_DIR}
+     COMPONENT

diff --git a/x11-libs/qtermwidget/metadata.xml b/x11-libs/qtermwidget/metadata.xml
index d1448f78dfc..779c6c6b024 100644
--- a/x11-libs/qtermwidget/metadata.xml
+++ b/x11-libs/qtermwidget/metadata.xml
@@ -6,11 +6,11 @@
 		<name>Gentoo Qt Project</name>
 	</maintainer>
 	<longdescription lang="en">
-	QTermWidget is an opensource project based on KDE4 Konsole application.
-	The main goal of this project is to provide unicode-enabled, embeddable
-	Qt widget for using as a built-in console or terminal emulation widget.
+		QTermWidget is an opensource project based on konsole (a KDE application).
+		The main goal of this project is to provide unicode-enabled, embeddable
+		Qt widget for using as a built-in console or terminal emulation widget.
 	</longdescription>
 	<upstream>
-		<remote-id type="github">qterminal/qtermwidget</remote-id>
+		<remote-id type="github">lxqt/qtermwidget</remote-id>
 	</upstream>
 </pkgmetadata>

diff --git a/x11-libs/qtermwidget/qtermwidget-0.9.0.ebuild b/x11-libs/qtermwidget/qtermwidget-0.9.0.ebuild
new file mode 100644
index 00000000000..d10ac1760da
--- /dev/null
+++ b/x11-libs/qtermwidget/qtermwidget-0.9.0.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils
+
+if [[ "${PV}" == "9999" ]]; then
+	inherit git-r3
+	EGIT_REPO_URI="https://github.com/lxqt/${PN}.git"
+else
+	SRC_URI="https://downloads.lxqt.org/downloads/${PN}/${PV}/${P}.tar.xz"
+	KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+fi
+
+DESCRIPTION="Qt terminal emulator widget"
+HOMEPAGE="https://github.com/lxqt/qtermwidget"
+
+LICENSE="GPL-2+ LGPL-2.1+"
+SLOT="0/${PV}"
+
+RDEPEND="
+	dev-qt/qtcore:5
+	dev-qt/qtgui:5
+	dev-qt/qtwidgets:5
+"
+DEPEND="${RDEPEND}
+	>=dev-util/lxqt-build-tools-0.5.0
+"
+
+src_configure() {
+	local mycmakeargs=(
+		-DPULL_TRANSLATIONS=OFF
+	)
+	cmake-utils_src_configure
+}


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-08-11 10:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-13  2:24 [gentoo-commits] repo/gentoo:master commit in: x11-libs/qtermwidget/, x11-libs/qtermwidget/files/ Michael Palimaka
  -- strict thread matches above, loose matches on Subject: below --
2018-08-11 10:10 Jonathan Scruggs

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox