diff options
author | Justin Lecher <jlec@gentoo.org> | 2012-02-13 12:56:07 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2012-02-13 12:56:07 +0000 |
commit | 25d1e95ec91218cbe4def15276be7b41c8ca494a (patch) | |
tree | 770136e331682f175a9a29c91a642170d814e004 /app-office/texstudio | |
parent | Fix PaX marking by Zhang Hongjiu (bug #403363). (diff) | |
download | gentoo-2-25d1e95ec91218cbe4def15276be7b41c8ca494a.tar.gz gentoo-2-25d1e95ec91218cbe4def15276be7b41c8ca494a.tar.bz2 gentoo-2-25d1e95ec91218cbe4def15276be7b41c8ca494a.zip |
Version Bump
(Portage version: 2.2.0_alpha86/cvs/Linux x86_64)
Diffstat (limited to 'app-office/texstudio')
-rw-r--r-- | app-office/texstudio/ChangeLog | 10 | ||||
-rw-r--r-- | app-office/texstudio/files/texstudio-2.3-hunspell.patch | 70 | ||||
-rw-r--r-- | app-office/texstudio/texstudio-2.3.ebuild | 48 |
3 files changed, 126 insertions, 2 deletions
diff --git a/app-office/texstudio/ChangeLog b/app-office/texstudio/ChangeLog index 36edf3a288d8..9b2d7ac9ee82 100644 --- a/app-office/texstudio/ChangeLog +++ b/app-office/texstudio/ChangeLog @@ -1,6 +1,12 @@ # 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 $ +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-office/texstudio/ChangeLog,v 1.2 2012/02/13 12:56:07 jlec Exp $ + +*texstudio-2.3 (13 Feb 2012) + + 13 Feb 2012; Justin Lecher <jlec@gentoo.org> +texstudio-2.3.ebuild, + +files/texstudio-2.3-hunspell.patch: + Version Bump *texstudio-2.2 (07 Sep 2011) diff --git a/app-office/texstudio/files/texstudio-2.3-hunspell.patch b/app-office/texstudio/files/texstudio-2.3-hunspell.patch new file mode 100644 index 000000000000..13a70cbee3db --- /dev/null +++ b/app-office/texstudio/files/texstudio-2.3-hunspell.patch @@ -0,0 +1,70 @@ + texstudio.pro | 35 +++-------------------------------- + 1 files changed, 3 insertions(+), 32 deletions(-) + +diff --git a/texstudio.pro b/texstudio.pro +index 528182a..eab0791 100644 +--- a/texstudio.pro ++++ b/texstudio.pro +@@ -1,7 +1,9 @@ + TEMPLATE = app
+ LANGUAGE = C++
+ DESTDIR = ./
+-CONFIG += qt precompile_header
++CONFIG += qt precompile_header link_pkgconfig ++PKGCONFIG = hunspell ++PHONON=
+ exists(texmakerx_my.pri):include(texmakerx_my.pri)
+ QT += network \
+ xml \
+@@ -51,24 +53,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 \
+@@ -84,7 +68,6 @@ HEADERS += texmaker.h \ + latexdocument.h \
+ unicodeinsertion.h \
+ universalinputdialog.h \
+- hunspell/replist.hxx \
+ scriptengine.h \
+ insertgraphics.h \
+ tmxtabwidget.h \
+@@ -143,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/texstudio-2.3.ebuild b/app-office/texstudio/texstudio-2.3.ebuild new file mode 100644 index 000000000000..ceb37d75cbec --- /dev/null +++ b/app-office/texstudio/texstudio-2.3.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-office/texstudio/texstudio-2.3.ebuild,v 1.1 2012/02/13 12:56:07 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 "/^PHONON/s:$:true:g" -i ${PN}.pro || die + fi + qt4-r2_src_prepare +} |