summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2011-06-12 07:33:48 +0000
committerJustin Lecher <jlec@gentoo.org>2011-06-12 07:33:48 +0000
commitdcd2d15e1b5cbb24a38c6686e1921750aaf0c7dd (patch)
tree5acb4104d7bf634640a3e390e8194a2c019f695e /app-office
parent[bump] dev-perl/Params-Validate-1.0.0 (diff)
downloadgentoo-2-dcd2d15e1b5cbb24a38c6686e1921750aaf0c7dd.tar.gz
gentoo-2-dcd2d15e1b5cbb24a38c6686e1921750aaf0c7dd.tar.bz2
gentoo-2-dcd2d15e1b5cbb24a38c6686e1921750aaf0c7dd.zip
Addition, #338436
(Portage version: 2.2.0_alpha40/cvs/Linux x86_64)
Diffstat (limited to 'app-office')
-rw-r--r--app-office/texmakerx/ChangeLog10
-rw-r--r--app-office/texmakerx/files/texmakerx-2.1-hunspell.patch70
-rw-r--r--app-office/texmakerx/metadata.xml8
-rw-r--r--app-office/texmakerx/texmakerx-2.1.ebuild42
4 files changed, 130 insertions, 0 deletions
diff --git a/app-office/texmakerx/ChangeLog b/app-office/texmakerx/ChangeLog
new file mode 100644
index 000000000000..b19fc2c1989d
--- /dev/null
+++ b/app-office/texmakerx/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for app-office/texmakerx
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-office/texmakerx/ChangeLog,v 1.1 2011/06/12 07:33:48 jlec Exp $
+
+*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/texmakerx/files/texmakerx-2.1-hunspell.patch b/app-office/texmakerx/files/texmakerx-2.1-hunspell.patch
new file mode 100644
index 000000000000..889402be50d4
--- /dev/null
+++ b/app-office/texmakerx/files/texmakerx-2.1-hunspell.patch
@@ -0,0 +1,70 @@
+ texmakerx.pro | 35 +++--------------------------------
+ 1 files changed, 3 insertions(+), 32 deletions(-)
+
+diff --git a/texmakerx.pro b/texmakerx.pro
+index 61530b7..85b3879 100644
+--- a/texmakerx.pro
++++ b/texmakerx.pro
+@@ -6,7 +6,9 @@ CONFIG -= debug \
+ debug_and_release \
+ release
+ CONFIG += qt \
+- debug_and_release
++ debug_and_release \
++ link_pkgconfig
++PKGCONFIG = hunspell
+ exists(texmakerx_my.pri):include(texmakerx_my.pri)
+ QT += network \
+ xml \
+@@ -52,24 +54,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 \
+@@ -85,7 +69,6 @@ HEADERS += texmaker.h \
+ latexdocument.h \
+ unicodeinsertion.h \
+ universalinputdialog.h \
+- hunspell/replist.hxx \
+ scriptengine.h \
+ insertgraphics.h \
+ tmxtabwidget.h \
+@@ -135,18 +118,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/texmakerx/metadata.xml b/app-office/texmakerx/metadata.xml
new file mode 100644
index 000000000000..9aa75ad4091e
--- /dev/null
+++ b/app-office/texmakerx/metadata.xml
@@ -0,0 +1,8 @@
+<?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>
+</pkgmetadata>
diff --git a/app-office/texmakerx/texmakerx-2.1.ebuild b/app-office/texmakerx/texmakerx-2.1.ebuild
new file mode 100644
index 000000000000..3deaffc766f7
--- /dev/null
+++ b/app-office/texmakerx/texmakerx-2.1.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-office/texmakerx/texmakerx-2.1.ebuild,v 1.1 2011/06/12 07:33:48 jlec Exp $
+
+EAPI=4
+
+inherit base qt4-r2
+
+DESCRIPTION="Fork of the LaTeX IDE TexMaker"
+HOMEPAGE="http://texmakerx.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${PN}/TexMakerX%202.1/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
+IUSE=""
+
+COMMON_DEPEND="
+ 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-webkit-4.6.1:4
+ >=app-text/hunspell-1.2.4"
+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
+ qt4-r2_src_prepare
+}