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
commite5942b4133910f03e8529f9b412f41e937256c75 (patch)
treeff987c5237f30d6f2b6b07afdaf6abb2d19c9897 /app-office/texstudio
parentdev-java/tomcat-servlet-api: removed version affected by CVE-2011-3190 (diff)
downloadgentoo-2-e5942b4133910f03e8529f9b412f41e937256c75.tar.gz
gentoo-2-e5942b4133910f03e8529f9b412f41e937256c75.tar.bz2
gentoo-2-e5942b4133910f03e8529f9b412f41e937256c75.zip
Version Bump of app-office/texmakerx with rename to texstudio, #377947
(Portage version: 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/files/texstudio-2.2-hunspell.patch68
-rw-r--r--app-office/texstudio/metadata.xml11
-rw-r--r--app-office/texstudio/texstudio-2.2.ebuild48
4 files changed, 146 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/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
+}