version bump, by Dustin Polke <gentoobugsie.20.dsurawicz@spamgourmet.com>, bug #303251
authorAlexis Ballier <aballier@gentoo.org>
Thu, 25 Feb 2010 12:04:43 +0000 (12:04 +0000)
committerAlexis Ballier <aballier@gentoo.org>
Thu, 25 Feb 2010 12:04:43 +0000 (12:04 +0000)
Package-Manager: portage-2.2_rc63/cvs/Linux x86_64

app-office/texmaker/ChangeLog
app-office/texmaker/Manifest
app-office/texmaker/files/texmaker-1.99-hunspell.patch [new file with mode: 0644]
app-office/texmaker/texmaker-1.99.ebuild [new file with mode: 0644]

index 3c1a28311c1e3b003807d5b28aa0c90bb69de777..420bc30975a74899ead5546f24a91a6e4531b527 100644 (file)
@@ -1,6 +1,13 @@
 # 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.66 2010/01/24 23:09:46 tgall Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-office/texmaker/ChangeLog,v 1.67 2010/02/25 12:04:42 aballier Exp $
+
+*texmaker-1.99 (25 Feb 2010)
+
+  25 Feb 2010; Alexis Ballier <aballier@gentoo.org> +texmaker-1.99.ebuild,
+  +files/texmaker-1.99-hunspell.patch:
+  version bump, by Dustin Polke <gentoobugsie.20.dsurawicz@spamgourmet.com>,
+  bug #303251
 
   24 Jan 2010; Tom Gall <tgall@gentoo.org> texmaker-1.92.ebuild:
   stable on ppc64, bug #299590
index 599f660bfa38241a5a175f8aa73bb57d4da309d2..353cdfe129f847b5da5027e7cbf2e0dbde3468f0 100644 (file)
@@ -1,10 +1,23 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
 AUX texmaker-1.80-hunspell.patch 1942 RMD160 1f216bad188d8bafca6cbc7aaa2c31e987833006 SHA1 49be4ba143f40919fe9509cafa77d02abfc381ae SHA256 cdf839246c4af288acbed132ea1f0c4ad1bd3d69b4ce575e51459143c359852c
 AUX texmaker-1.91-hunspell.patch 1948 RMD160 35e3b78a1e9b9b9a8a76c0d67768e11a6b790554 SHA1 4c33150af01a9f3143040bf5f781de7e322b9ac0 SHA256 b12042c07b14633972869c6ded769bed0b546eabb291e8b770ede874f474b113
+AUX texmaker-1.99-hunspell.patch 2003 RMD160 d55780ceb6bcf3eb42ea298212ccc1334adacfd4 SHA1 8d109522237e16d5139979a7b044cb95d4e37ce7 SHA256 33ab95d13cf9d390b7c7d9fd465fd2c55163c3541228dfaa7eb33861c69977d0
 DIST texmaker-1.8.tar.bz2 1767680 RMD160 b3bdfa7838f486f0969da472ff08c2d30825421e SHA1 d5f188c0d207c637a445cec984d79ee017de6e1a SHA256 1268f43a548c6c194ea848d5c70c429386b962f5685f16eb427267921f7ad944
 DIST texmaker-1.9.1.tar.bz2 3090445 RMD160 37b34ea22708e22829867dd80756896f4373ff58 SHA1 31267f9ce7bf1aba7bab8605a7608a135e897ae8 SHA256 baf5a82131b2a592cc558cb2604945d5340cb28d88677d463190ac1f282c4999
 DIST texmaker-1.9.2.tar.bz2 3094044 RMD160 218f662959843d3417368195d92c16de6970ac9e SHA1 72d2dc0782eeb4da7f0c2694f72ff94ef5168f5e SHA256 6b479788cbce4b940eb78fa011d1ee52c4959c4dc01441ed9a82b045131a10c6
+DIST texmaker-1.9.9.tar.bz2 3171903 RMD160 4b3bae8b91b65b7b1a16a7e316c901d474451cdf SHA1 947811ff7ba6385c24f51188c65492949ef76731 SHA256 4896ef933b06d0518e281bb46654a028fd2a1db14e7bc16964b9e6a3bc47ea4d
 EBUILD texmaker-1.80.ebuild 1827 RMD160 7cc299745387c5479482d53c3f485b7a37d3eb8f SHA1 89bdbcb9561197000014dc6ea0fc97d41b6f7c10 SHA256 38c21a79b170d417b37e51c694763a2a842305d6c542a69b5c3fa3f15fe30465
 EBUILD texmaker-1.91.ebuild 1754 RMD160 ff5dc52a17ef2693926f3778eee0b6bea41acabf SHA1 100f4fc4217b412b69e2f94428718187dc8a572c SHA256 f790685b0452cb37a72b493e7dd24264a24745e702007007b40a8cdb1e5ec207
 EBUILD texmaker-1.92.ebuild 1758 RMD160 deda482ebe70fdab1ca63a8f6a58e217ad5cfb9e SHA1 b10baeb76b44af9079b8a9ab85fd795a8e8c0e53 SHA256 d00989d9fd76ffe0a2c6664097df16d575399dfb291cc26540255be8d18807dd
-MISC ChangeLog 8997 RMD160 6624596a7b161c8be7a40bf32664a85b5497191d SHA1 1846d170c66f114a39755715c8039b092fcf28a0 SHA256 8f49e1194d2f76263031b42f342569d62172745d864c87c58e2ee3b0effc5569
+EBUILD texmaker-1.99.ebuild 1720 RMD160 6b1285bc1596c9bcf14228cdff14cbf417eeed67 SHA1 21d90525fac49853b1c95197ac12bf8838b6ea5f SHA256 0a6f604f60906475527fc8f1b258767a20e4a587c90ee8de25a76b227c66cc52
+MISC ChangeLog 9236 RMD160 3b6e0351776f75e4b7941c6237dd1c9559744ca7 SHA1 fbb3f7f38d827774e063bcd6a469995067e87bea SHA256 d19e1d99720d0f69a36cc14f14361544d2bb52ed67754f49f8838928e058956c
 MISC metadata.xml 156 RMD160 2bf6b2ed9ff0fcef1e902cf093ccf4ae2dcc70a0 SHA1 e9260cd53905d8569cf3327ded4c6d01653fc389 SHA256 b4971b8472ab3fe4fbfe41b331a79193ca19e86c08d055ad1c20eaf9e04b79b6
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.14 (GNU/Linux)
+
+iEYEARECAAYFAkuGZ2AACgkQvFcC4BYPU0qRVQCgm4qDq0DfPKYpQ8n1fGz0Wn6T
+qhoAn2/inGGj5sRTXy+uSf5URNqGwnqj
+=dWVk
+-----END PGP SIGNATURE-----
diff --git a/app-office/texmaker/files/texmaker-1.99-hunspell.patch b/app-office/texmaker/files/texmaker-1.99-hunspell.patch
new file mode 100644 (file)
index 0000000..16a2a5a
--- /dev/null
@@ -0,0 +1,72 @@
+Index: texmaker-1.9.9/spellerdialog.h
+===================================================================
+--- texmaker-1.9.9.orig/spellerdialog.h
++++ texmaker-1.9.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.9/texmaker.pro
+===================================================================
+--- texmaker-1.9.9.orig/texmaker.pro
++++ texmaker-1.9.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
+ TEXMAKERVERSION=1.9.9
+ DEFINES += TEXMAKERVERSION=\\\"$${TEXMAKERVERSION}\\\"
+ ###############################
+@@ -42,25 +43,6 @@ HEADERS     += texmaker.h \
+       stylehelper.h \
+       styleanimator.h \
+       keysequencedialog.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 \
+@@ -100,18 +82,6 @@ SOURCES    += main.cpp \
+       stylehelper.cpp \
+       styleanimator.cpp \
+       keysequencedialog.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.99.ebuild b/app-office/texmaker/texmaker-1.99.ebuild
new file mode 100644 (file)
index 0000000..916f559
--- /dev/null
@@ -0,0 +1,70 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-office/texmaker/texmaker-1.99.ebuild,v 1.1 2010/02/25 12:04:42 aballier Exp $
+
+EAPI=1
+
+inherit base 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
+       app-text/ghostscript-gpl
+       media-libs/netpbm"
+
+DEPEND="${COMMON_DEPEND}
+       dev-util/pkgconfig"
+
+PATCHES=( "${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
+}