Gentoo Archives: gentoo-commits

From: Justin Lecher <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-office/texstudio/files/, app-office/texstudio/
Date: Sat, 25 Feb 2017 20:42:23
Message-Id: 1488055335.2dbd8abbd8e62fa1a63820ee8ba450ec7e9fc555.jlec@gentoo
1 commit: 2dbd8abbd8e62fa1a63820ee8ba450ec7e9fc555
2 Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
3 AuthorDate: Sat Feb 25 20:05:13 2017 +0000
4 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
5 CommitDate: Sat Feb 25 20:42:15 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2dbd8abb
7
8 app-office/texstudio: Drop old
9
10 Package-Manager: Portage-2.3.3, Repoman-2.3.1
11 Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>
12
13 app-office/texstudio/Manifest | 2 -
14 .../texstudio/files/texstudio-2.10.6-desktop.patch | 18 ----
15 .../files/texstudio-2.6.4-hunspell-quazip.patch | 16 ----
16 app-office/texstudio/texstudio-2.11.0.ebuild | 101 ---------------------
17 app-office/texstudio/texstudio-2.12.0.ebuild | 92 -------------------
18 5 files changed, 229 deletions(-)
19
20 diff --git a/app-office/texstudio/Manifest b/app-office/texstudio/Manifest
21 index 087c97471b..0716e73a13 100644
22 --- a/app-office/texstudio/Manifest
23 +++ b/app-office/texstudio/Manifest
24 @@ -1,4 +1,2 @@
25 -DIST texstudio-2.11.0.tar.gz 26263749 SHA256 170e6d68952251e8c64589b0d147cb7692005e135cc6fc14579c6fd593f54307 SHA512 773010bfa25de17e4deb0ae32325c26b5ff737bea837fba34fde28ec00d8e9a4d2c816d1f431c3c4e5a506354d1ff541e6b74bd36323e0fd3f20f4d389aab3be WHIRLPOOL 3f7b6feeeccef41f78da14a5f483a2f435ccc575b9ace3c4a3ab774426cd6ff5811ad662a5e210b7ae5223435b509392c634cb30e547535fe475b83e0ee84142
26 DIST texstudio-2.11.2.tar.gz 24143941 SHA256 d88ecfef92e38710563294079645fbfa19829ceebd9a109a68f6959c51ae94ad SHA512 774cea12339b19c7d33d034e75386415b89c59de1e149f3973bd0cf789a28c4cb1cdb026a897228303071dc05f985d4798924c6b253e964d6bdced877ab9f1e7 WHIRLPOOL 8b54419db50640abb0fc03ce3b1206c01bc1d245d0a5b605ccc44cfd6e2821651a18a00bfef7622f6c47bf79da23315704b50febe645373feb161f6f68d809a9
27 -DIST texstudio-2.12.0.tar.gz 26334251 SHA256 165e00de19a964ffffd377bc46dfce23e33e30a9f071acfeb5ee9b55ba1c1221 SHA512 6ce7d2fe2bda46463577eefa1881f5a98db20d7b03f63fe8bd3b87f3727b60d25ef08b7ae074ccd070c373950b698e0683de34cf5eb091250c2a1c8d8472b3ee WHIRLPOOL 1e5b3ae047e5281bbfafa6040e35eae35e91d37b5ebe2c56f3ab7949bf2fafd45c9b3d9d845496e881cb6058694507b2232b39596246c48de6f499004dd2c7f6
28 DIST texstudio-2.12.2.tar.gz 26311798 SHA256 3ffdaf0a3cb8bb9801e68ecba7641778b94121b4320de8751b79f2d8718cdcb1 SHA512 255b211fe715ffc91706ab20877ffaa4b8e0710d3e6f381e7a6b8eed19bb889d89d0913756839c1f0c427029c0da9713b78bd1e21769ccc46cf976b65c91c6f6 WHIRLPOOL 84b309579c31dfc77b9e0f86cb1c80381e65f295d27222fd54a471e3d3f12acdaaad21587fa788143db27f651617b566937c35a0de9de470e65192522e98b7d3
29
30 diff --git a/app-office/texstudio/files/texstudio-2.10.6-desktop.patch b/app-office/texstudio/files/texstudio-2.10.6-desktop.patch
31 deleted file mode 100644
32 index ab2822f6b2..0000000000
33 --- a/app-office/texstudio/files/texstudio-2.10.6-desktop.patch
34 +++ /dev/null
35 @@ -1,18 +0,0 @@
36 ---- utilities/texstudio.desktop.old 2016-01-17 16:38:44.283878626 +0100
37 -+++ utilities/texstudio.desktop 2016-01-17 16:39:08.374876711 +0100
38 -@@ -1,6 +1,5 @@
39 - [Desktop Entry]
40 - Categories=Office;Publishing;Qt;X-SuSE-Core-Office;X-Mandriva-Office-Publishing;X-Misc;
41 --Encoding=UTF-8
42 - Exec=texstudio %F
43 - GenericName=LaTeX Editor
44 - GenericName[fr]=Editeur LaTeX
45 -@@ -8,7 +7,7 @@
46 - Comment[fr]=Environnement de développement LaTeX
47 - Icon=texstudio
48 - Keywords=LaTeX;TeX;editor;
49 --MimeType=text/x-tex;
50 -+MimeType=text/X-tex;
51 - Name=TeXstudio
52 - StartupNotify=false
53 - Terminal=false
54
55 diff --git a/app-office/texstudio/files/texstudio-2.6.4-hunspell-quazip.patch b/app-office/texstudio/files/texstudio-2.6.4-hunspell-quazip.patch
56 deleted file mode 100644
57 index 0ddcccb061..0000000000
58 --- a/app-office/texstudio/files/texstudio-2.6.4-hunspell-quazip.patch
59 +++ /dev/null
60 @@ -1,16 +0,0 @@
61 - spellerutility.h | 2 +-
62 - 1 file changed, 1 insertion(+), 1 deletion(-)
63 -
64 -diff --git a/spellerutility.h b/spellerutility.h
65 -index 7e1b980..b0bc8b8 100644
66 ---- a/spellerutility.h
67 -+++ b/spellerutility.h
68 -@@ -13,7 +13,7 @@
69 -
70 - #include "mostQtHeaders.h"
71 -
72 --#include "hunspell/hunspell.hxx"
73 -+#include <hunspell.hxx>
74 - class SpellerUtility: public QObject {
75 - Q_OBJECT
76 - public:
77
78 diff --git a/app-office/texstudio/texstudio-2.11.0.ebuild b/app-office/texstudio/texstudio-2.11.0.ebuild
79 deleted file mode 100644
80 index b5da2ac276..0000000000
81 --- a/app-office/texstudio/texstudio-2.11.0.ebuild
82 +++ /dev/null
83 @@ -1,101 +0,0 @@
84 -# Copyright 1999-2017 Gentoo Foundation
85 -# Distributed under the terms of the GNU General Public License v2
86 -# $Id$
87 -
88 -EAPI=5
89 -
90 -inherit fdo-mime prefix qmake-utils
91 -
92 -DESCRIPTION="Free cross-platform LaTeX editor (fork from texmakerX)"
93 -HOMEPAGE="http://texstudio.sourceforge.net/"
94 -SRC_URI="mirror://sourceforge/${PN}/${PN}/TeXstudio%20${PV}/${P}.tar.gz"
95 -
96 -LICENSE="GPL-2"
97 -SLOT="0"
98 -KEYWORDS="amd64 ppc ppc64 x86 ~x86-fbsd"
99 -IUSE="video qt4 +qt5"
100 -
101 -REQUIRED_USE="^^ ( qt4 qt5 )"
102 -
103 -COMMON_DEPEND="
104 - app-text/hunspell
105 - app-text/poppler:=[qt4?,qt5?]
106 - >=dev-libs/quazip-0.7.1[qt4?,qt5?]
107 - dev-qt/qtsingleapplication[X,qt4?,qt5?]
108 - x11-libs/libX11
109 - x11-libs/libXext
110 - qt4? (
111 - dev-qt/designer:4
112 - >=dev-qt/qtgui-4.8.5:4
113 - >=dev-qt/qtcore-4.6.1:4
114 - >=dev-qt/qtscript-4.6.1:4
115 - >=dev-qt/qtsvg-4.6.1:4
116 - >=dev-qt/qttest-4.6.1:4
117 - )
118 - qt5? (
119 - dev-qt/designer:5
120 - dev-qt/qtcore:5
121 - dev-qt/qtconcurrent:5
122 - dev-qt/qtgui:5
123 - dev-qt/qtnetwork:5
124 - dev-qt/qtprintsupport:5
125 - dev-qt/qtscript:5
126 - dev-qt/qtsvg:5
127 - dev-qt/qttest:5
128 - dev-qt/qtwidgets:5
129 - dev-qt/qtxml:5
130 - )
131 - video? ( media-libs/phonon[qt4?,qt5?] )"
132 -RDEPEND="${COMMON_DEPEND}
133 - virtual/latex-base
134 - app-text/psutils
135 - app-text/ghostscript-gpl
136 - media-libs/netpbm"
137 -DEPEND="${COMMON_DEPEND}
138 - virtual/pkgconfig"
139 -
140 -S="${WORKDIR}"/${P/-/}
141 -
142 -src_prepare() {
143 - find hunspell quazip utilities/poppler-data qtsingleapplication -delete || die
144 -
145 - if use video; then
146 - sed "/^PHONON/s:$:true:g" -i ${PN}.pro || die
147 - fi
148 -
149 - sed \
150 - -e '/qtsingleapplication.pri/d' \
151 - -i ${PN}.pro || die
152 -
153 -# cat >> ${PN}.pro <<- EOF
154 -# exists(texmakerx_my.pri):include(texmakerx_my.pri)
155 -# EOF
156 -
157 - cp "${FILESDIR}"/texmakerx_my.pri ${PN}.pri || die
158 - eprefixify ${PN}.pri
159 -}
160 -
161 -src_configure() {
162 - if use qt5; then
163 - eqmake5 USE_SYSTEM_HUNSPELL=1 USE_SYSTEM_QUAZIP=1
164 - else
165 - eqmake4 USE_SYSTEM_HUNSPELL=1 USE_SYSTEM_QUAZIP=1
166 - fi
167 -}
168 -
169 -src_install() {
170 - local i
171 - for i in 16x16 22x22 32x32 48x48 64x64 128x128; do
172 - insinto /usr/share/icons/hicolor/${i}/apps
173 - newins utilities/${PN}${i}.png ${PN}.png
174 - done
175 - emake DESTDIR="${D}" INSTALL_ROOT="${ED}" install
176 -}
177 -
178 -pkg_postinst() {
179 - fdo-mime_desktop_database_update
180 -}
181 -
182 -pkg_postrm() {
183 - fdo-mime_desktop_database_update
184 -}
185
186 diff --git a/app-office/texstudio/texstudio-2.12.0.ebuild b/app-office/texstudio/texstudio-2.12.0.ebuild
187 deleted file mode 100644
188 index 0785f77e70..0000000000
189 --- a/app-office/texstudio/texstudio-2.12.0.ebuild
190 +++ /dev/null
191 @@ -1,92 +0,0 @@
192 -# Copyright 1999-2017 Gentoo Foundation
193 -# Distributed under the terms of the GNU General Public License v2
194 -# $Id$
195 -
196 -EAPI=6
197 -
198 -inherit fdo-mime gnome2-utils prefix qmake-utils
199 -
200 -DESCRIPTION="Free cross-platform LaTeX editor (fork from texmakerX)"
201 -HOMEPAGE="http://texstudio.sourceforge.net/"
202 -SRC_URI="mirror://sourceforge/${PN}/${PN}/TeXstudio%20${PV}/${P}.tar.gz"
203 -
204 -LICENSE="GPL-2"
205 -SLOT="0"
206 -KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
207 -IUSE="video"
208 -
209 -COMMON_DEPEND="
210 - app-text/hunspell:=
211 - app-text/poppler[qt5]
212 - >=dev-libs/quazip-0.7.2[qt5]
213 - dev-qt/designer:5
214 - dev-qt/qtcore:5
215 - dev-qt/qtconcurrent:5
216 - dev-qt/qtgui:5
217 - dev-qt/qtnetwork:5
218 - dev-qt/qtprintsupport:5
219 - dev-qt/qtscript:5
220 - dev-qt/qtsingleapplication[qt5,X]
221 - dev-qt/qtsvg:5
222 - dev-qt/qttest:5
223 - dev-qt/qtwidgets:5
224 - dev-qt/qtxml:5
225 - sys-libs/zlib
226 - x11-libs/libX11
227 - x11-libs/libXext
228 - video? ( media-libs/phonon[qt5] )"
229 -RDEPEND="${COMMON_DEPEND}
230 - app-text/ghostscript-gpl
231 - app-text/psutils
232 - media-libs/netpbm
233 - virtual/latex-base"
234 -DEPEND="${COMMON_DEPEND}
235 - virtual/pkgconfig"
236 -
237 -S=${WORKDIR}/${PN}${PV}
238 -
239 -src_prepare() {
240 - default
241 - find hunspell quazip utilities/poppler-data qtsingleapplication -delete || die
242 -
243 - if use video; then
244 - sed "/^PHONON/s:$:true:g" -i ${PN}.pro || die
245 - fi
246 -
247 - sed \
248 - -e '/qtsingleapplication.pri/d' \
249 - -i ${PN}.pro || die
250 -
251 - cp "${FILESDIR}"/texmakerx_my.pri ${PN}.pri || die
252 - eprefixify ${PN}.pri
253 -
254 - # fix build with quazip-0.7.2 - bug 597930
255 - sed -i ${PN}.pro -e "s|include/quazip|&5|" || die
256 - sed -i ${PN}.pri -i ${PN}.pro -e "s/-lquazip/&5/" || die
257 -}
258 -
259 -src_configure() {
260 - eqmake5 USE_SYSTEM_HUNSPELL=1 USE_SYSTEM_QUAZIP=1
261 -}
262 -
263 -src_install() {
264 - local i
265 - for i in 16x16 22x22 32x32 48x48 64x64 128x128; do
266 - newicon -s ${i} utilities/${PN}${i}.png ${PN}.png
267 - done
268 - emake DESTDIR="${D}" INSTALL_ROOT="${ED}" install
269 -}
270 -
271 -pkg_preinst() {
272 - gnome2_icon_savelist
273 -}
274 -
275 -pkg_postinst() {
276 - fdo-mime_desktop_database_update
277 - gnome2_icon_cache_update
278 -}
279 -
280 -pkg_postrm() {
281 - fdo-mime_desktop_database_update
282 - gnome2_icon_cache_update
283 -}