public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michael Palimaka" <kensington@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-office/texstudio/
Date: Sat, 29 Oct 2016 10:59:50 +0000 (UTC)	[thread overview]
Message-ID: <1477738776.615dca623599f5c7cf0f811183fca0f58a1aae84.kensington@gentoo> (raw)

commit:     615dca623599f5c7cf0f811183fca0f58a1aae84
Author:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 29 10:59:20 2016 +0000
Commit:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Sat Oct 29 10:59:36 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=615dca62

app-office/texstudio: revision bump with various fixes

* Port to EAPI 6 and remove deprecated Qt 4 support (by Andreas Sturmlechner)
* Fix build with quazip-0.7.2
* Add missing sys-libs/zlib dependency
* Sort dependencies
* Update GTK icon cache
* Add subslot operator for app-text/hunspell and remove from app-text/poppler
  (since the stable qt5 interface is used)

Gentoo-bug: 597876
Gentoo-bug: 597930

Package-Manager: portage-2.3.2

 app-office/texstudio/texstudio-2.11.2-r1.ebuild | 97 +++++++++++++++++++++++++
 1 file changed, 97 insertions(+)

diff --git a/app-office/texstudio/texstudio-2.11.2-r1.ebuild b/app-office/texstudio/texstudio-2.11.2-r1.ebuild
new file mode 100644
index 00000000..2003689
--- /dev/null
+++ b/app-office/texstudio/texstudio-2.11.2-r1.ebuild
@@ -0,0 +1,97 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit fdo-mime gnome2-utils prefix qmake-utils
+
+DESCRIPTION="Free cross-platform LaTeX editor (fork from texmakerX)"
+HOMEPAGE="http://texstudio.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${PN}/TeXstudio%20${PV}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
+IUSE="video"
+
+COMMON_DEPEND="
+	app-text/hunspell:=
+	app-text/poppler[qt5]
+	>=dev-libs/quazip-0.7.2[qt5]
+	dev-qt/designer:5
+	dev-qt/qtcore:5
+	dev-qt/qtconcurrent:5
+	dev-qt/qtgui:5
+	dev-qt/qtnetwork:5
+	dev-qt/qtprintsupport:5
+	dev-qt/qtscript:5
+	dev-qt/qtsingleapplication[qt5,X]
+	dev-qt/qtsvg:5
+	dev-qt/qttest:5
+	dev-qt/qtwidgets:5
+	dev-qt/qtxml:5
+	sys-libs/zlib
+	x11-libs/libX11
+	x11-libs/libXext
+	video? ( media-libs/phonon[qt5] )"
+RDEPEND="${COMMON_DEPEND}
+	app-text/ghostscript-gpl
+	app-text/psutils
+	media-libs/netpbm
+	virtual/latex-base"
+DEPEND="${COMMON_DEPEND}
+	virtual/pkgconfig"
+
+S=${WORKDIR}
+
+src_prepare() {
+	default
+	find hunspell quazip utilities/poppler-data qtsingleapplication -delete || die
+
+	if use video; then
+		sed "/^PHONON/s:$:true:g" -i ${PN}.pro || die
+	fi
+
+	sed \
+		-e '/qtsingleapplication.pri/d' \
+		-i ${PN}.pro || die
+
+#	cat >> ${PN}.pro <<- EOF
+#	exists(texmakerx_my.pri):include(texmakerx_my.pri)
+#	EOF
+
+	cp "${FILESDIR}"/texmakerx_my.pri ${PN}.pri || die
+	eprefixify ${PN}.pri
+
+	# fix build with quazip-0.7.2 - bug 597930
+	sed -i ${PN}.pro -e "s|include/quazip|&5|" || die
+	sed -i ${PN}.pri -i ${PN}.pro -e "s/-lquazip/&5/" || die
+}
+
+src_configure() {
+	eqmake5 USE_SYSTEM_HUNSPELL=1 USE_SYSTEM_QUAZIP=1
+}
+
+src_install() {
+	local i
+	for i in 16x16 22x22 32x32 48x48 64x64 128x128; do
+		insinto /usr/share/icons/hicolor/${i}/apps
+		newins utilities/${PN}${i}.png ${PN}.png
+	done
+	emake DESTDIR="${D}" INSTALL_ROOT="${ED}" install
+}
+
+pkg_preinst() {
+	gnome2_icon_savelist
+}
+
+pkg_postinst() {
+	fdo-mime_desktop_database_update
+	gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+	fdo-mime_desktop_database_update
+	gnome2_icon_cache_update
+}


             reply	other threads:[~2016-10-29 10:59 UTC|newest]

Thread overview: 121+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-29 10:59 Michael Palimaka [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-11-04 10:58 [gentoo-commits] repo/gentoo:master commit in: app-office/texstudio/ Sam James
2024-11-04  9:30 Sam James
2024-10-05 13:22 Florian Schmaus
2024-10-04 20:32 Florian Schmaus
2024-10-03 15:57 Florian Schmaus
2024-06-12 12:33 Florian Schmaus
2024-06-12 12:08 Florian Schmaus
2024-02-02 16:27 Arthur Zamarin
2024-02-02 14:46 Arthur Zamarin
2023-12-06 14:33 Andrey Grozin
2023-12-06 14:32 Andrey Grozin
2023-04-25 19:49 Sam James
2023-04-25 14:47 Arthur Zamarin
2023-04-16  7:18 Sam James
2023-03-25  6:35 Arthur Zamarin
2023-03-22  5:27 Sam James
2022-09-10  0:29 Sam James
2022-09-09 16:09 Andrew Ammerlaan
2022-08-27  6:14 Sam James
2022-04-17 18:32 Sam James
2022-02-20 23:33 Sam James
2022-01-28  2:34 Sam James
2022-01-28  2:34 Sam James
2022-01-27 23:45 Jonas Stein
2022-01-09  1:42 Sam James
2021-12-08  5:43 Sam James
2021-12-08  5:43 Sam James
2021-12-06 11:31 Agostino Sarubbo
2021-12-05 18:28 Sam James
2021-11-22 10:55 Sam James
2021-11-06 21:17 Sam James
2021-10-27  5:34 Sam James
2021-10-13  2:54 Sam James
2021-09-28  1:45 Sam James
2021-09-25 19:20 Sam James
2021-06-13 11:12 Sam James
2021-05-13 16:15 Sam James
2021-04-01 22:30 Sam James
2021-04-01 12:11 Thomas Deutschmann
2021-03-15  3:09 Sam James
2021-02-26 20:58 Agostino Sarubbo
2021-02-25  8:19 Sam James
2021-02-23 19:53 Andreas Sturmlechner
2021-02-17 20:02 Sam James
2021-02-15  3:30 Sam James
2021-02-15  3:30 Sam James
2021-02-15  1:48 Sam James
2021-02-07  8:59 Sam James
2021-02-07  8:57 Sam James
2021-02-07  8:56 Sam James
2021-01-02 11:11 Sam James
2021-01-02 10:56 Sam James
2021-01-02 10:56 Sam James
2020-12-29  4:14 Sam James
2020-12-17  4:53 Sam James
2020-09-02  8:40 Mikle Kolyada
2020-09-02  8:40 Mikle Kolyada
2020-08-29  9:56 Mikle Kolyada
2020-08-29  9:56 Mikle Kolyada
2020-08-21 11:42 Sam James
2020-08-21 11:42 Sam James
2020-06-03 17:22 Jonas Stein
2020-05-24 14:56 Mikle Kolyada
2020-05-24 14:52 Mikle Kolyada
2020-05-24 14:52 Mikle Kolyada
2020-04-19  1:27 Jonas Stein
2020-04-13 23:45 Jonas Stein
2020-04-13 23:43 Jonas Stein
2020-04-13 23:22 Jonas Stein
2020-02-24 18:10 Mikle Kolyada
2020-02-24  6:32 Mikle Kolyada
2020-02-23 19:32 Mikle Kolyada
2020-01-08  9:31 Jonas Stein
2019-06-21 10:23 Mikle Kolyada
2019-04-21  9:25 Jonas Stein
2019-04-21  9:25 Jonas Stein
2019-04-20  9:02 Jonas Stein
2019-04-20  8:57 Jonas Stein
2019-03-19  2:03 Thomas Deutschmann
2019-03-15 22:37 Mikle Kolyada
2019-01-03 15:48 Jonas Stein
2018-07-08 13:35 Jonas Stein
2018-05-06 20:18 Andreas Sturmlechner
2018-05-06 18:12 Matt Turner
2018-05-05  1:50 Aaron Bauman
2018-04-25 19:31 Aaron Bauman
2018-04-24 13:40 Andreas Sturmlechner
2018-04-07 15:43 Jonas Stein
2018-03-19 17:16 Andreas Sturmlechner
2018-02-22 10:51 Andreas Sturmlechner
2017-12-27 13:14 Jonas Stein
2017-11-09 21:46 Jonas Stein
2017-11-05  0:49 Jonas Stein
2017-07-23 11:49 Manuel Rüger
2017-04-15 17:49 Manuel Rüger
2017-02-13 10:51 Manuel Rüger
2017-01-22 23:15 Manuel Rüger
2017-01-22 23:13 Manuel Rüger
2017-01-09 12:26 Aaron Bauman
2017-01-04 15:29 Agostino Sarubbo
2016-12-20 17:31 Tobias Klausmann
2016-10-10 22:30 Manuel Rüger
2016-08-25 15:43 Manuel Rüger
2016-07-17 19:55 Michael Palimaka
2016-01-23 12:11 Manuel Rüger
2016-01-23 12:11 Manuel Rüger
2016-01-10 11:56 Manuel Rüger
2015-11-19 12:26 Justin Lecher
2015-11-19 12:26 Justin Lecher
2015-11-12 11:21 Justin Lecher
2015-11-12 10:53 Agostino Sarubbo
2015-11-11  9:54 Agostino Sarubbo
2015-11-10 11:45 Agostino Sarubbo
2015-10-31  7:13 Jeroen Roovers
2015-10-27 12:34 Justin Lecher
2015-09-25 18:27 Justin Lecher
2015-09-25 14:13 Agostino Sarubbo
2015-09-24 10:36 Agostino Sarubbo
2015-09-17  8:05 Justin Lecher
2015-09-14  8:22 Justin Lecher

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1477738776.615dca623599f5c7cf0f811183fca0f58a1aae84.kensington@gentoo \
    --to=kensington@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox