Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-editors/texworks/files/, app-editors/texworks/
Date: Mon, 08 Aug 2022 09:40:36
Message-Id: 1659951617.e47b52690e926d6709fa10ecdb23e71aa171074a.asturm@gentoo
1 commit: e47b52690e926d6709fa10ecdb23e71aa171074a
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jul 25 17:32:19 2022 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Mon Aug 8 09:40:17 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e47b5269
7
8 app-editors/texworks: drop 0.6.5-r100, 0.6.6
9
10 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
11
12 app-editors/texworks/Manifest | 2 -
13 app-editors/texworks/files/qt5.15-support.patch | 21 -------
14 app-editors/texworks/texworks-0.6.5-r100.ebuild | 78 -------------------------
15 app-editors/texworks/texworks-0.6.6.ebuild | 77 ------------------------
16 4 files changed, 178 deletions(-)
17
18 diff --git a/app-editors/texworks/Manifest b/app-editors/texworks/Manifest
19 index c13233cb56ae..59ca10e2c65d 100644
20 --- a/app-editors/texworks/Manifest
21 +++ b/app-editors/texworks/Manifest
22 @@ -1,3 +1 @@
23 -DIST texworks-0.6.5.tar.gz 12140935 BLAKE2B 660606fe2e53d5f2a53e80792efbee368f5f2f402ab974761efc6e11a6f2233fd04672dcc3bf0155a070162616c1d5a9c7313825890e6fb0c6c4dc7af2c62d29 SHA512 d97bb7c3ad7bbb402be80556027ef19076dae91bb9449df2b45d54e89b492e32b8d6f109d1bda9388424af6218866d84a8c296c9bc2ef644cf2fac0d4b24939e
24 -DIST texworks-0.6.6.tar.gz 12385550 BLAKE2B 241a9e4649e489964c62bd44ca310ffa7d67ebcb6187568dbf5e5b7916d81e3d846f0492a22e35d2c8a57d182d32d129600570e3836c671ae723c236f82d6bd8 SHA512 65300dfbe4e0e2f3b387c868e343f6caeff4602b47afee5a02cce82e0e23b74fe559b4b54fb65d778748de56f38581305a9b3a53d743c957b7dc14ecce4546d1
25 DIST texworks-0.6.7.tar.gz 12394465 BLAKE2B 0a2e0531ef0f296cd2be176baed14eb0c21733aeaf3ca3c43e3ff02e48bf68be8953db67f955db0b5a56676b391e2f7700404e9ea52907092d58cbbccaa02adf SHA512 b1c22c1f9bfae2595e77f0c98297cc690f62aac38125bb576d57cc3a0666d779e75af23ccf430a3547215065596b4ea60758233947cda06df8e1a7fc95c46b65
26
27 diff --git a/app-editors/texworks/files/qt5.15-support.patch b/app-editors/texworks/files/qt5.15-support.patch
28 deleted file mode 100644
29 index 9c77c157e463..000000000000
30 --- a/app-editors/texworks/files/qt5.15-support.patch
31 +++ /dev/null
32 @@ -1,21 +0,0 @@
33 -From a5352a3a94e3685125650b65e6197de060326cc2 Mon Sep 17 00:00:00 2001
34 -From: =?UTF-8?q?Stefan=20L=C3=B6ffler?= <st.loeffler@×××××.com>
35 -Date: Fri, 1 May 2020 08:05:46 +0200
36 -Subject: [PATCH] <QtPDF> Fix compilation with Qt 5.15
37 -
38 ----
39 - modules/QtPDF/src/PDFBackend.cpp | 1 +
40 - 1 file changed, 1 insertion(+)
41 -
42 -diff --git a/modules/QtPDF/src/PDFBackend.cpp b/modules/QtPDF/src/PDFBackend.cpp
43 -index 0305d87a..500d20aa 100644
44 ---- a/modules/QtPDF/src/PDFBackend.cpp
45 -+++ b/modules/QtPDF/src/PDFBackend.cpp
46 -@@ -14,6 +14,7 @@
47 -
48 - #include <PDFBackend.h>
49 - #include <QPainter>
50 -+#include <QPainterPath>
51 - #include <QApplication>
52 -
53 - namespace QtPDF {
54
55 diff --git a/app-editors/texworks/texworks-0.6.5-r100.ebuild b/app-editors/texworks/texworks-0.6.5-r100.ebuild
56 deleted file mode 100644
57 index 39f076553e6a..000000000000
58 --- a/app-editors/texworks/texworks-0.6.5-r100.ebuild
59 +++ /dev/null
60 @@ -1,78 +0,0 @@
61 -# Copyright 1999-2021 Gentoo Authors
62 -# Distributed under the terms of the GNU General Public License v2
63 -
64 -EAPI=7
65 -
66 -LUA_COMPAT=( lua5-{1..3} )
67 -PYTHON_COMPAT=( python3_{7,8,9} )
68 -CMAKE_REMOVE_MODULES_LIST="FindLua"
69 -inherit lua-single python-single-r1 cmake virtualx xdg-utils
70 -
71 -DESCRIPTION="A simple interface for working with TeX documents"
72 -HOMEPAGE="http://tug.org/texworks/"
73 -SRC_URI="https://github.com/TeXworks/texworks/archive/release-${PV}.tar.gz -> ${P}.tar.gz"
74 -
75 -LICENSE="GPL-2"
76 -SLOT="0"
77 -KEYWORDS="amd64 x86"
78 -IUSE="lua python"
79 -REQUIRED_USE="lua? ( ${LUA_REQUIRED_USE} )
80 - python? ( ${PYTHON_REQUIRED_USE} )"
81 -
82 -RDEPEND="app-text/hunspell:=
83 - app-text/poppler[qt5]
84 - dev-qt/designer:5
85 - dev-qt/qtcore:5
86 - dev-qt/qtconcurrent:5
87 - dev-qt/qtdbus:5
88 - dev-qt/qtgui:5
89 - dev-qt/qtscript:5[scripttools]
90 - lua? ( ${LUA_DEPS} )
91 - python? ( ${PYTHON_DEPS} ) "
92 -
93 -DEPEND="dev-qt/linguist-tools:5
94 - ${RDEPEND}"
95 -
96 -BDEPEND="virtual/pkgconfig"
97 -
98 -PATCHES=(
99 - "${FILESDIR}"/qt5.15-support.patch
100 - "${FILESDIR}"/${PN}-0.6.5-cmake_lua_version.patch
101 -)
102 -
103 -S=${WORKDIR}/${PN}-release-${PV}
104 -
105 -RESTRICT="!test? ( test )"
106 -
107 -pkg_setup() {
108 - use lua && lua-single_pkg_setup
109 - python-single-r1_pkg_setup
110 -}
111 -
112 -src_configure() {
113 - local mycmakeargs=(
114 - -Wno-dev
115 - -DPREFER_BUNDLED_SYNCTEX=ON
116 - -DWITH_LUA=$(usex lua ON OFF)
117 - -DWITH_PYTHON=$(usex python ON OFF)
118 - -DTeXworks_PLUGIN_DIR="/usr/$(get_libdir)/texworks"
119 - -DTeXworks_DOCS_DIR="/share/doc/${PF}"
120 - -DQTPDF_VIEWER=ON
121 - -DBUILD_SHARED_LIBS=ON
122 - -DBUILD_SHARED_PLUGINS=ON
123 - )
124 - use lua && mycmakeargs+=( -DLUA_VERSION="$(lua_get_version)" )
125 - cmake_src_configure
126 -}
127 -
128 -src_test() {
129 - virtx default_src_test
130 -}
131 -
132 -pkg_postinst() {
133 - xdg_desktop_database_update
134 -}
135 -
136 -pkg_postrm() {
137 - xdg_desktop_database_update
138 -}
139
140 diff --git a/app-editors/texworks/texworks-0.6.6.ebuild b/app-editors/texworks/texworks-0.6.6.ebuild
141 deleted file mode 100644
142 index f7b5f65191f8..000000000000
143 --- a/app-editors/texworks/texworks-0.6.6.ebuild
144 +++ /dev/null
145 @@ -1,77 +0,0 @@
146 -# Copyright 1999-2021 Gentoo Authors
147 -# Distributed under the terms of the GNU General Public License v2
148 -
149 -EAPI=7
150 -
151 -LUA_COMPAT=( lua5-{1..3} )
152 -PYTHON_COMPAT=( python3_{7,8,9} )
153 -CMAKE_REMOVE_MODULES_LIST="FindLua"
154 -inherit lua-single python-single-r1 cmake virtualx xdg-utils
155 -
156 -DESCRIPTION="A simple interface for working with TeX documents"
157 -HOMEPAGE="http://tug.org/texworks/"
158 -SRC_URI="https://github.com/TeXworks/texworks/archive/release-${PV}.tar.gz -> ${P}.tar.gz"
159 -
160 -LICENSE="GPL-2"
161 -SLOT="0"
162 -KEYWORDS="~amd64 ~riscv ~x86"
163 -IUSE="lua python"
164 -REQUIRED_USE="lua? ( ${LUA_REQUIRED_USE} )
165 - python? ( ${PYTHON_REQUIRED_USE} )"
166 -
167 -RDEPEND="app-text/hunspell:=
168 - app-text/poppler[qt5]
169 - dev-qt/designer:5
170 - dev-qt/qtcore:5
171 - dev-qt/qtconcurrent:5
172 - dev-qt/qtdbus:5
173 - dev-qt/qtgui:5
174 - dev-qt/qtscript:5[scripttools]
175 - lua? ( ${LUA_DEPS} )
176 - python? ( ${PYTHON_DEPS} ) "
177 -
178 -DEPEND="dev-qt/linguist-tools:5
179 - ${RDEPEND}"
180 -
181 -BDEPEND="virtual/pkgconfig"
182 -
183 -PATCHES=(
184 - "${FILESDIR}"/${PN}-0.6.5-cmake_lua_version.patch
185 -)
186 -
187 -S=${WORKDIR}/${PN}-release-${PV}
188 -
189 -RESTRICT="!test? ( test )"
190 -
191 -pkg_setup() {
192 - use lua && lua-single_pkg_setup
193 - python-single-r1_pkg_setup
194 -}
195 -
196 -src_configure() {
197 - local mycmakeargs=(
198 - -Wno-dev
199 - -DPREFER_BUNDLED_SYNCTEX=ON
200 - -DWITH_LUA=$(usex lua ON OFF)
201 - -DWITH_PYTHON=$(usex python ON OFF)
202 - -DTeXworks_PLUGIN_DIR="/usr/$(get_libdir)/texworks"
203 - -DTeXworks_DOCS_DIR="/share/doc/${PF}"
204 - -DQTPDF_VIEWER=ON
205 - -DBUILD_SHARED_LIBS=ON
206 - -DBUILD_SHARED_PLUGINS=ON
207 - )
208 - use lua && mycmakeargs+=( -DLUA_VERSION="$(lua_get_version)" )
209 - cmake_src_configure
210 -}
211 -
212 -src_test() {
213 - virtx default_src_test
214 -}
215 -
216 -pkg_postinst() {
217 - xdg_desktop_database_update
218 -}
219 -
220 -pkg_postrm() {
221 - xdg_desktop_database_update
222 -}