summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2011-01-26 11:18:28 +0000
committerAlexis Ballier <aballier@gentoo.org>2011-01-26 11:18:28 +0000
commiteee8c0375055615b6b3004198b73a0f96dc98f63 (patch)
treecf0a76dd5fba02ba848b3655c3811e9af09525e4 /app-office
parentOOps only testing keywords it should have :) (diff)
downloadgentoo-2-eee8c0375055615b6b3004198b73a0f96dc98f63.tar.gz
gentoo-2-eee8c0375055615b6b3004198b73a0f96dc98f63.tar.bz2
gentoo-2-eee8c0375055615b6b3004198b73a0f96dc98f63.zip
version bump, bug #352792
(Portage version: 2.2.0_alpha19/cvs/Linux x86_64)
Diffstat (limited to 'app-office')
-rw-r--r--app-office/texmaker/ChangeLog10
-rw-r--r--app-office/texmaker/files/texmaker-2.20-hunspell.patch124
-rw-r--r--app-office/texmaker/texmaker-2.20.ebuild62
3 files changed, 194 insertions, 2 deletions
diff --git a/app-office/texmaker/ChangeLog b/app-office/texmaker/ChangeLog
index ae050d02e825..610a288eaf6c 100644
--- a/app-office/texmaker/ChangeLog
+++ b/app-office/texmaker/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-office/texmaker
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-office/texmaker/ChangeLog,v 1.73 2010/10/30 21:51:46 aballier Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-office/texmaker/ChangeLog,v 1.74 2011/01/26 11:18:28 aballier Exp $
+
+*texmaker-2.20 (26 Jan 2011)
+
+ 26 Jan 2011; Alexis Ballier <aballier@gentoo.org> +texmaker-2.20.ebuild,
+ +files/texmaker-2.20-hunspell.patch:
+ version bump, bug #352792
30 Oct 2010; Alexis Ballier <aballier@gentoo.org> -texmaker-1.80.ebuild,
-files/texmaker-1.80-hunspell.patch, -texmaker-1.91.ebuild,
diff --git a/app-office/texmaker/files/texmaker-2.20-hunspell.patch b/app-office/texmaker/files/texmaker-2.20-hunspell.patch
new file mode 100644
index 000000000000..bdab17fddd86
--- /dev/null
+++ b/app-office/texmaker/files/texmaker-2.20-hunspell.patch
@@ -0,0 +1,124 @@
+Index: texmaker-2.2/latexeditor.h
+===================================================================
+--- texmaker-2.2.orig/latexeditor.h
++++ texmaker-2.2/latexeditor.h
+@@ -22,7 +22,7 @@
+
+ #include "latexhighlighter.h"
+ #include "parenmatcher.h"
+-#include "hunspell/hunspell.hxx"
++#include <hunspell.hxx>
+
+ //class QCompleter;
+ //class ParenMatcher;
+Index: texmaker-2.2/latexeditorview.h
+===================================================================
+--- texmaker-2.2.orig/latexeditorview.h
++++ texmaker-2.2/latexeditorview.h
+@@ -18,7 +18,7 @@
+ #include "latexeditor.h"
+ #include "linenumberwidget.h"
+ #include "findwidget.h"
+-#include "hunspell/hunspell.hxx"
++#include <hunspell.hxx>
+
+ class LatexEditorView : public QWidget {
+ Q_OBJECT
+Index: texmaker-2.2/latexhighlighter.h
+===================================================================
+--- texmaker-2.2.orig/latexhighlighter.h
++++ texmaker-2.2/latexhighlighter.h
+@@ -19,7 +19,7 @@
+ #include <QTextCharFormat>
+ #include <QColor>
+ #include <QTextBlockUserData>
+-#include "hunspell/hunspell.hxx"
++#include <hunspell.hxx>
+
+ class QTextDocument;
+
+Index: texmaker-2.2/spellerdialog.h
+===================================================================
+--- texmaker-2.2.orig/spellerdialog.h
++++ texmaker-2.2/spellerdialog.h
+@@ -13,7 +13,7 @@
+
+ #include "ui_spellerdialog.h"
+ #include "latexeditor.h"
+-#include "hunspell/hunspell.hxx"
++#include <hunspell.hxx>
+
+ #include <QTextCursor>
+
+Index: texmaker-2.2/texmaker.h
+===================================================================
+--- texmaker-2.2.orig/texmaker.h
++++ texmaker-2.2/texmaker.h
+@@ -43,7 +43,7 @@
+ #include "logeditor.h"
+ #include "gotolinedialog.h"
+ #include "replacedialog.h"
+-#include "hunspell/hunspell.hxx"
++#include <hunspell.hxx>
+ #include "browser.h"
+ #include "pdfviewer.h"
+
+Index: texmaker-2.2/texmaker.pro
+===================================================================
+--- texmaker-2.2.orig/texmaker.pro
++++ texmaker-2.2/texmaker.pro
+@@ -4,7 +4,8 @@ TARGET = texmaker
+ QT += network \
+ xml \
+ webkit
+-CONFIG += qt warn_off release
++CONFIG += qt warn_off release link_pkgconfig
++PKGCONFIG = hunspell
+ TEXMAKERVERSION=2.2
+ DEFINES += TEXMAKERVERSION=\\\"$${TEXMAKERVERSION}\\\"
+ DEFINES += HAVE_SPLASH
+@@ -54,25 +55,6 @@ HEADERS += texmaker.h \
+ userquickdialog.h \
+ synctex_parser.h \
+ synctex_parser_utils.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/replist.hxx \
+- hunspell/w_char.hxx \
+ singleapp/qtlocalpeer.h \
+ singleapp/qtlockedfile.h \
+ singleapp/qtsingleapplication.h \
+@@ -121,18 +103,6 @@ SOURCES += main.cpp \
+ userquickdialog.cpp \
+ synctex_parser.c \
+ synctex_parser_utils.c \
+- hunspell/affentry.cxx \
+- hunspell/affixmgr.cxx \
+- hunspell/csutil.cxx \
+- hunspell/dictmgr.cxx \
+- hunspell/hashmgr.cxx \
+- hunspell/hunspell.cxx \
+- hunspell/phonet.cxx \
+- hunspell/suggestmgr.cxx \
+- hunspell/utf_info.cxx \
+- hunspell/filemgr.cxx \
+- hunspell/replist.cxx \
+- hunspell/hunzip.cxx \
+ singleapp/qtlocalpeer.cpp \
+ singleapp/qtlockedfile.cpp \
+ singleapp/qtsingleapplication.cpp \
diff --git a/app-office/texmaker/texmaker-2.20.ebuild b/app-office/texmaker/texmaker-2.20.ebuild
new file mode 100644
index 000000000000..651cb166e320
--- /dev/null
+++ b/app-office/texmaker/texmaker-2.20.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-office/texmaker/texmaker-2.20.ebuild,v 1.1 2011/01/26 11:18:28 aballier Exp $
+
+EAPI="3"
+
+inherit base qt4-r2 versionator
+
+# The upstream version numbering is bad, so we have to remove a dot in the
+# minor version number
+MAJOR="$(get_major_version)"
+MINOR_1="$(($(get_version_component_range 2)/10))"
+MINOR_2="$(($(get_version_component_range 2)%10))"
+if [ ${MINOR_2} -eq "0" ] ; then
+ MY_P="${PN}-${MAJOR}.${MINOR_1}"
+else
+ MY_P="${PN}-${MAJOR}.${MINOR_1}.${MINOR_2}"
+fi
+
+DESCRIPTION="A nice LaTeX-IDE"
+HOMEPAGE="http://www.xm1math.net/texmaker/"
+SRC_URI="http://www.xm1math.net/texmaker/${MY_P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
+IUSE=""
+
+S="${WORKDIR}/${MY_P}"
+
+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"
+
+PATCHES=( "${FILESDIR}/${P}-hunspell.patch" )
+
+src_install() {
+ emake INSTALL_ROOT="${D}" install || die "make install failed"
+
+ insinto /usr/share/pixmaps/texmaker
+ doins utilities/texmaker*.png || die "doins failed."
+ doins utilities/texmaker.svg || die "doins failed."
+
+ dodoc utilities/AUTHORS utilities/CHANGELOG.txt || die "dodoc failed"
+}
+
+pkg_postinst() {
+ elog "A user manual with many screenshots is available at:"
+ elog "/usr/share/${PN}/usermanual_en.html"
+}