summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2009-06-08 07:46:21 +0000
committerAlexis Ballier <aballier@gentoo.org>2009-06-08 07:46:21 +0000
commitb9fb304f3c3debdd30c901afec3533203c4ff45e (patch)
tree16db252fbf40965c982a2b7d280ede413e30bdf3 /app-office/texmaker
parentusemask portaudio too on fbsd (diff)
downloadgentoo-2-b9fb304f3c3debdd30c901afec3533203c4ff45e.tar.gz
gentoo-2-b9fb304f3c3debdd30c901afec3533203c4ff45e.tar.bz2
gentoo-2-b9fb304f3c3debdd30c901afec3533203c4ff45e.zip
version bump, bug #271539, ebuild and patch by Dustin Polke
(Portage version: 2.2_rc33/cvs/Linux x86_64)
Diffstat (limited to 'app-office/texmaker')
-rw-r--r--app-office/texmaker/ChangeLog8
-rw-r--r--app-office/texmaker/files/texmaker-1.91-hunspell.patch72
-rw-r--r--app-office/texmaker/texmaker-1.91.ebuild74
3 files changed, 153 insertions, 1 deletions
diff --git a/app-office/texmaker/ChangeLog b/app-office/texmaker/ChangeLog
index 53992c3365d3..b09e69295a25 100644
--- a/app-office/texmaker/ChangeLog
+++ b/app-office/texmaker/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-office/texmaker
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-office/texmaker/ChangeLog,v 1.58 2009/04/30 18:03:58 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-office/texmaker/ChangeLog,v 1.59 2009/06/08 07:46:21 aballier Exp $
+
+*texmaker-1.91 (08 Jun 2009)
+
+ 08 Jun 2009; Alexis Ballier <aballier@gentoo.org> +texmaker-1.91.ebuild,
+ +files/texmaker-1.91-hunspell.patch:
+ version bump, bug #271539, ebuild and patch by Dustin Polke
30 Apr 2009; Alexis Ballier <aballier@gentoo.org>
-texmaker-1.71-r1.ebuild, -files/texmaker-1.71-hunspell.patch:
diff --git a/app-office/texmaker/files/texmaker-1.91-hunspell.patch b/app-office/texmaker/files/texmaker-1.91-hunspell.patch
new file mode 100644
index 000000000000..b7659d0939de
--- /dev/null
+++ b/app-office/texmaker/files/texmaker-1.91-hunspell.patch
@@ -0,0 +1,72 @@
+Index: texmaker-1.9/spellerdialog.h
+===================================================================
+--- texmaker-1.9.orig/spellerdialog.h
++++ texmaker-1.9/spellerdialog.h
+@@ -13,7 +13,7 @@
+
+ #include "ui_spellerdialog.h"
+ #include "latexeditor.h"
+-#include "hunspell/hunspell.hxx"
++#include <hunspell.hxx>
+
+ #include <QTextCursor>
+
+Index: texmaker-1.9/texmaker.pro
+===================================================================
+--- texmaker-1.9.orig/texmaker.pro
++++ texmaker-1.9/texmaker.pro
+@@ -3,7 +3,8 @@ TEMPLATE = app
+ TARGET = texmaker
+ QT += network \
+ xml
+-CONFIG += qt warn_off release
++CONFIG += qt warn_off release link_pkgconfig
++PKGCONFIG = hunspell
+ ###############################
+ HEADERS += texmaker.h \
+ texmakerapp.h \
+@@ -39,25 +40,6 @@ HEADERS += texmaker.h \
+ manhattanstyle.h \
+ stylehelper.h \
+ styleanimator.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 \
+@@ -96,18 +78,6 @@ SOURCES += main.cpp \
+ manhattanstyle.cpp \
+ stylehelper.cpp \
+ styleanimator.cpp \
+- 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-1.91.ebuild b/app-office/texmaker/texmaker-1.91.ebuild
new file mode 100644
index 000000000000..b27ed448641d
--- /dev/null
+++ b/app-office/texmaker/texmaker-1.91.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-office/texmaker/texmaker-1.91.ebuild,v 1.1 2009/06/08 07:46:21 aballier Exp $
+
+EAPI=1
+
+inherit eutils versionator qt4
+
+DESCRIPTION="A nice LaTeX-IDE"
+
+# 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
+
+S="${WORKDIR}/${MY_P}"
+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 ~sparc ~x86 ~x86-fbsd"
+
+IUSE=""
+
+COMMON_DEPEND="x11-libs/libX11
+ x11-libs/libXext
+ >=x11-libs/qt-gui-4.5.1:4
+ >=x11-libs/qt-core-4.5.1:4
+ >=app-text/hunspell-1.2.4"
+
+RDEPEND="${COMMON_DEPEND}
+ virtual/latex-base
+ app-text/psutils
+ virtual/ghostscript
+ media-libs/netpbm"
+
+DEPEND="${COMMON_DEPEND}
+ dev-util/pkgconfig"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}/${P}-hunspell.patch"
+}
+
+src_compile() {
+ eqmake4 texmaker.pro || die "qmake failed"
+ emake || die "emake failed"
+}
+
+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"
+ elog
+}