summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2011-09-07 17:21:44 +0000
committerJustin Lecher <jlec@gentoo.org>2011-09-07 17:21:44 +0000
commit72a6d11b9b3d1023639027b55578427ad04c4d10 (patch)
treedfd80a6b710d761155e60ad3d3fc7ec33dc48665 /app-office/texstudio
parentdev-java/tomcat-servlet-api: removed version affected by CVE-2011-3190 (diff)
downloadhistorical-72a6d11b9b3d1023639027b55578427ad04c4d10.tar.gz
historical-72a6d11b9b3d1023639027b55578427ad04c4d10.tar.bz2
historical-72a6d11b9b3d1023639027b55578427ad04c4d10.zip
Version Bump of app-office/texmakerx with rename to texstudio, #377947
Package-Manager: portage-2.2.0_alpha54/cvs/Linux x86_64
Diffstat (limited to 'app-office/texstudio')
-rw-r--r--app-office/texstudio/ChangeLog19
-rw-r--r--app-office/texstudio/Manifest15
-rw-r--r--app-office/texstudio/files/texstudio-2.2-hunspell.patch68
-rw-r--r--app-office/texstudio/metadata.xml11
-rw-r--r--app-office/texstudio/texstudio-2.2.ebuild48
5 files changed, 161 insertions, 0 deletions
diff --git a/app-office/texstudio/ChangeLog b/app-office/texstudio/ChangeLog
new file mode 100644
index 000000000000..36edf3a288d8
--- /dev/null
+++ b/app-office/texstudio/ChangeLog
@@ -0,0 +1,19 @@
+# ChangeLog for app-office/texstudio
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-office/texstudio/ChangeLog,v 1.1 2011/09/07 17:21:43 jlec Exp $
+
+*texstudio-2.2 (07 Sep 2011)
+
+ 07 Sep 2011; Justin Lecher <jlec@gentoo.org> +texstudio-2.2.ebuild,
+ +files/texstudio-2.2-hunspell.patch, +metadata.xml:
+ Version Bump of app-office/texmakerx with rename to texstudio, #377947
+
+ 17 Jun 2011; Justin Lecher <jlec@gentoo.org> texmakerx-2.1.ebuild:
+ Add missing deps, #371739
+
+*texmakerx-2.1 (12 Jun 2011)
+
+ 12 Jun 2011; Justin Lecher <jlec@gentoo.org> +texmakerx-2.1.ebuild,
+ +files/texmakerx-2.1-hunspell.patch, +metadata.xml:
+ Addition, #338436
+
diff --git a/app-office/texstudio/Manifest b/app-office/texstudio/Manifest
new file mode 100644
index 000000000000..2157bab21b5a
--- /dev/null
+++ b/app-office/texstudio/Manifest
@@ -0,0 +1,15 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA512
+
+AUX texstudio-2.2-hunspell.patch 1981 RMD160 8745f69fde5be0ef3410722703b9ed9bc2737577 SHA1 530978ce45715fa0cc4a077819626e2ba6319047 SHA256 6f983494cdd09b67f022b06770ca885cce7dafcf16b547ff4b84e6a0dccda7d0
+DIST texstudio-2.2.tar.gz 12522002 RMD160 1c33e24a59d48d6e961e187af93672e9f38cee89 SHA1 38fbe507ccec550b89e6d5d7db8c79c51d12512d SHA256 89533783f95428e91d84926b720bb8972241bd7b5be1e3d2b8cffab742bc6749
+EBUILD texstudio-2.2.ebuild 1205 RMD160 b60a4176cbf0435c6831eda100ff6c643ca31b0d SHA1 e3589df272c7ff25d4592ec0ed3f094fe96ca929 SHA256 ce58a569a11233ad2a57f877d4b66bd48faa5c4022ade0f41a6a14aae30661f9
+MISC ChangeLog 712 RMD160 758921db22b0362ba51be77a39f17fa9852eab90 SHA1 106b0f3217f0dfb39e17f2a55aced87dfc48f107 SHA256 5153f4e2b91dd433d757359e81355ab3f06dee1406738b1ad187c24813bc84ed
+MISC metadata.xml 297 RMD160 77974b1623b8cdaaacdd2ea458a8a79a9dbba153 SHA1 550a12fe4e1e81185f2a24c01120c50a5a32c0bd SHA256 13e9e45549a6493bb8909997b5a41cd21557f7930a6a74ab15e6debf9ee05a4e
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.18 (GNU/Linux)
+
+iEYEAREKAAYFAk5nqCsACgkQgAnW8HDreRaUGACfeK+k19O0ZJAF/wTNsYQb5eYl
+S+cAnRRwdnEGELVTAn4cdESWEfAIif4J
+=E7U0
+-----END PGP SIGNATURE-----
diff --git a/app-office/texstudio/files/texstudio-2.2-hunspell.patch b/app-office/texstudio/files/texstudio-2.2-hunspell.patch
new file mode 100644
index 000000000000..f55a2f7d3b64
--- /dev/null
+++ b/app-office/texstudio/files/texstudio-2.2-hunspell.patch
@@ -0,0 +1,68 @@
+diff --git a/texstudio.pro b/texstudio.pro
+index 437a376..c2c6998 100644
+--- a/texstudio.pro
++++ b/texstudio.pro
+@@ -5,7 +5,10 @@ CONFIG = $$unique(CONFIG)
+ CONFIG -= debug \
+ debug_and_release \
+ release
+-CONFIG += qt debug_and_release precompile_header
++CONFIG += qt debug_and_release precompile_header \
++ link_pkgconfig
++PKGCONFIG = hunspell
++PHONON=
+ exists(texmakerx_my.pri):include(texmakerx_my.pri)
+ QT += network \
+ xml \
+@@ -55,24 +58,6 @@ HEADERS += texmaker.h \
+ codesnippet.h \
+ thesaurusdialog.h \
+ xmltagslistwidget.h \
+- hunspell/affentry.hxx \
+- hunspell/affixmgr.hxx \
+- hunspell/atypes.hxx \
+- hunspell/baseaffix.hxx \
+- hunspell/csutil.hxx \
+- hunspell/dictmgr.hxx \
+- hunspell/hashmgr.hxx \
+- hunspell/htypes.hxx \
+- hunspell/hunspell.hxx \
+- hunspell/hunspell.h \
+- hunspell/langnum.hxx \
+- hunspell/license.hunspell \
+- hunspell/phonet.hxx \
+- hunspell/suggestmgr.hxx \
+- hunspell/license.myspell \
+- hunspell/filemgr.hxx \
+- hunspell/hunzip.hxx \
+- hunspell/w_char.hxx \
+ qcodeedit/lib/qeditorinputbinding.h \
+ qcodeedit/lib/qeditorinputbindinginterface.h \
+ randomtextgenerator.h \
+@@ -88,7 +73,6 @@ HEADERS += texmaker.h \
+ latexdocument.h \
+ unicodeinsertion.h \
+ universalinputdialog.h \
+- hunspell/replist.hxx \
+ scriptengine.h \
+ insertgraphics.h \
+ tmxtabwidget.h \
+@@ -142,18 +126,6 @@ SOURCES += main.cpp \
+ codesnippet.cpp \
+ thesaurusdialog.cpp \
+ xmltagslistwidget.cpp \
+- hunspell/affentry.cxx \
+- hunspell/affixmgr.cxx \
+- hunspell/csutil.cxx \
+- hunspell/dictmgr.cxx \
+- hunspell/hashmgr.cxx \
+- hunspell/hunspell.cxx \
+- hunspell/phonet.cxx \
+- hunspell/replist.cxx \
+- hunspell/suggestmgr.cxx \
+- hunspell/utf_info.cxx \
+- hunspell/filemgr.cxx \
+- hunspell/hunzip.cxx \
+ encodingdialog.cpp \
+ qcodeedit/lib/qeditorinputbinding.cpp \
+ randomtextgenerator.cpp \
diff --git a/app-office/texstudio/metadata.xml b/app-office/texstudio/metadata.xml
new file mode 100644
index 000000000000..8387f3a33e07
--- /dev/null
+++ b/app-office/texstudio/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>no-herd</herd>
+ <maintainer>
+ <email>jlec@gentoo.org</email>
+ </maintainer>
+ <use>
+ <flag name="video">Use phonon for video embedding</flag>
+ </use>
+</pkgmetadata>
diff --git a/app-office/texstudio/texstudio-2.2.ebuild b/app-office/texstudio/texstudio-2.2.ebuild
new file mode 100644
index 000000000000..a57f8472dbaa
--- /dev/null
+++ b/app-office/texstudio/texstudio-2.2.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-office/texstudio/texstudio-2.2.ebuild,v 1.1 2011/09/07 17:21:43 jlec Exp $
+
+EAPI=4
+
+inherit base qt4-r2
+
+DESCRIPTION="Free cross-platform LaTeX editor (former 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[qt4]
+ x11-libs/libX11
+ x11-libs/libXext
+ >=x11-libs/qt-gui-4.6.1:4
+ >=x11-libs/qt-core-4.6.1:4
+ >=x11-libs/qt-script-4.6.1:4
+ >=x11-libs/qt-test-4.6.1:4
+ >=x11-libs/qt-webkit-4.6.1:4
+ video? ( media-libs/phonon )"
+RDEPEND="${COMMON_DEPEND}
+ virtual/latex-base
+ app-text/psutils
+ app-text/ghostscript-gpl
+ media-libs/netpbm"
+DEPEND="${COMMON_DEPEND}
+ dev-util/pkgconfig"
+
+S="${WORKDIR}"/${P/-/}
+
+PATCHES=( "${FILESDIR}/${P}-hunspell.patch" )
+
+src_prepare() {
+ find hunspell -delete
+ sed 's:hunspell/hunspell:hunspell:g' -i *.h || die
+ if use video; then
+ sed "s:PHONON =:PHONON=true:g" -i ${PN}.pro || die
+ fi
+ qt4-r2_src_prepare
+}