diff options
author | Przemyslaw Maciag <troll@gentoo.org> | 2007-03-05 22:59:48 +0000 |
---|---|---|
committer | Przemyslaw Maciag <troll@gentoo.org> | 2007-03-05 22:59:48 +0000 |
commit | d3ef807de0fc33e2e68c5d760b760b964eee18d4 (patch) | |
tree | 979635c930a3cb215b548f9598c7f2e1790b04fd /app-office | |
parent | x86 stable wrt bug 169533 (diff) | |
download | gentoo-2-d3ef807de0fc33e2e68c5d760b760b964eee18d4.tar.gz gentoo-2-d3ef807de0fc33e2e68c5d760b760b964eee18d4.tar.bz2 gentoo-2-d3ef807de0fc33e2e68c5d760b760b964eee18d4.zip |
Version bump. Some cleanups
(Portage version: 2.1.2.1)
Diffstat (limited to 'app-office')
6 files changed, 135 insertions, 5 deletions
diff --git a/app-office/qtstalker/ChangeLog b/app-office/qtstalker/ChangeLog index 3cdee1a9abcf..b92d7ceed7f9 100644 --- a/app-office/qtstalker/ChangeLog +++ b/app-office/qtstalker/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for app-office/qtstalker -# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-office/qtstalker/ChangeLog,v 1.2 2006/11/23 19:35:58 vivo Exp $ +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-office/qtstalker/ChangeLog,v 1.3 2007/03/05 22:59:48 troll Exp $ + +*qtstalker-0.33 (05 Mar 2007) + + 05 Mar 2007; Przemysław Maciąg <troll@gentoo.org> + +files/qtstalker-0.33-install_docs_with_emerge.patch, + +files/qtstalker-0.33-sandboxfix_no_fixpath.patch, +qtstalker-0.33.ebuild: + Version bump + Some ebuild cleanups 23 Nov 2006; Francesco Riosa <vivo@gentoo.org> qtstalker-0.32.ebuild: dev-db/mysql => virtual/mysql diff --git a/app-office/qtstalker/files/digest-qtstalker-0.33 b/app-office/qtstalker/files/digest-qtstalker-0.33 new file mode 100644 index 000000000000..3640ba5b3b0a --- /dev/null +++ b/app-office/qtstalker/files/digest-qtstalker-0.33 @@ -0,0 +1,3 @@ +MD5 03a8a0fd3fe6e88eac94701cc897e703 qtstalker-0.33.tar.gz 1573767 +RMD160 6f86787a63e5c13b586fc65b494e765d4f4f9c9f qtstalker-0.33.tar.gz 1573767 +SHA256 782f929def47db505e93ef03e20a1184eb4c115ae2cb1160f7dabc90f0095708 qtstalker-0.33.tar.gz 1573767 diff --git a/app-office/qtstalker/files/qtstalker-0.33-install_docs_with_emerge.patch b/app-office/qtstalker/files/qtstalker-0.33-install_docs_with_emerge.patch new file mode 100644 index 000000000000..69f52a89d968 --- /dev/null +++ b/app-office/qtstalker/files/qtstalker-0.33-install_docs_with_emerge.patch @@ -0,0 +1,9 @@ +diff -Naur qtstalker-orig/qtstalker.pro qtstalker/qtstalker.pro +--- qtstalker-orig/qtstalker.pro 2006-09-25 17:21:13.000000000 +0200 ++++ qtstalker/qtstalker.pro 2007-03-01 20:19:07.000000000 +0100 +@@ -30,5 +30,3 @@ + SUBDIRS += plugins/indicator/VIDYA + SUBDIRS += plugins/indicator/VOL + SUBDIRS += plugins/indicator/VOLA +- +-SUBDIRS += docs diff --git a/app-office/qtstalker/files/qtstalker-0.33-sandboxfix_no_fixpath.patch b/app-office/qtstalker/files/qtstalker-0.33-sandboxfix_no_fixpath.patch new file mode 100644 index 000000000000..277b1b31fc59 --- /dev/null +++ b/app-office/qtstalker/files/qtstalker-0.33-sandboxfix_no_fixpath.patch @@ -0,0 +1,22 @@ +diff -Naur qtstalker-orig/plugin.config qtstalker/plugin.config +--- qtstalker-orig/plugin.config 2005-05-22 18:33:27.000000000 +0000 ++++ qtstalker/plugin.config 2005-10-11 20:13:08.000000000 +0000 +@@ -1,6 +1,6 @@ + TEMPLATE = lib + +-CONFIG += thread warn_on plugin ++CONFIG += thread warn_on plugin no_fixpath + + QMAKE_CXXFLAGS += -ffast-math -Os + +diff -Naur qtstalker-orig/lib/lib.pro qtstalker/lib/lib.pro +--- qtstalker-orig/lib/lib.pro 2005-05-22 18:33:28.000000000 +0000 ++++ qtstalker/lib/lib.pro 2006-09-28 22:37:28.000000000 +0000 +@@ -1,6 +1,6 @@ + TEMPLATE = lib + +-CONFIG += thread warn_on ++CONFIG += thread warn_on no_fixpath + + QMAKE_CXXFLAGS += -ffast-math -Os + diff --git a/app-office/qtstalker/qtstalker-0.32.ebuild b/app-office/qtstalker/qtstalker-0.32.ebuild index ce3c8f9e31ca..8af9e0c05de1 100644 --- a/app-office/qtstalker/qtstalker-0.32.ebuild +++ b/app-office/qtstalker/qtstalker-0.32.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2006 Gentoo Foundation +# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-office/qtstalker/qtstalker-0.32.ebuild,v 1.2 2006/11/23 19:35:58 vivo Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-office/qtstalker/qtstalker-0.32.ebuild,v 1.3 2007/03/05 22:59:48 troll Exp $ inherit qt3 eutils @@ -19,7 +19,7 @@ SLOT="0" KEYWORDS="~x86" DEPEND="$(qt_min_version 3.3) - mysql? ( virtual/mysql )" + mysql? ( dev-db/mysql )" S="${WORKDIR}/${PN}" diff --git a/app-office/qtstalker/qtstalker-0.33.ebuild b/app-office/qtstalker/qtstalker-0.33.ebuild new file mode 100644 index 000000000000..48db147f4919 --- /dev/null +++ b/app-office/qtstalker/qtstalker-0.33.ebuild @@ -0,0 +1,88 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-office/qtstalker/qtstalker-0.33.ebuild,v 1.1 2007/03/05 22:59:48 troll Exp $ + +inherit qt3 eutils + +IUSE="" +LANGS="pl" +for i in ${LNAGS}; do + IUSE="${IUSE} linguas_${i}" +done + +DESCRIPTION="Commodity and stock market charting and technical analysis" +HOMEPAGE="http://qtstalker.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" + +DEPEND="$(qt_min_version 3.3) + >=sys-libs/db-4" + +S="${WORKDIR}/${PN}" + +# linking error about missing lqtstalker lib when using -jX +MAKEOPTS="${MAKEOPTS} -j1" + +src_unpack() { + unpack ${A} + + cd ${S} + epatch ${FILESDIR}/${P}-sandboxfix_no_fixpath.patch + epatch ${FILESDIR}/${P}-install_docs_with_emerge.patch +} + +src_compile() { + # some Qt4 problems... + einfo "Proccessing qmake with .pro files..." + PROS="${S}/src/src.pro ${S}/lib/lib.pro ${S}/${PN}.pro `find ${S}/plugins -name \"*.pro\"`" + for i in ${PROS}; do + pdir="`echo ${i} | sed -e 's/\/[a-zA-Z]*.pro$//'`" + pfile="`echo ${i} | sed -e 's/^.*\///'`" + + cd ${pdir} + ${QTDIR}/bin/qmake ${pfile} \ + QMAKE_CXXFLAGS_RELEASE="${CXXFLAGS}" \ + QMAKE_RPATH= \ + QMAKE=/usr/bin/qmake \ + QMAKE_RPATH= \ + || die "qmake ${pfile} failed" + done + + cd ${S} + emake || die "make failed" + + einfo "Building langpaccks..." + for i in ${LINGUAS}; do + if [ -f ${PN}_${i}.ts ]; then + lrelease ${PN}_${i}.ts + fi + done +} + +src_install() { + # we have to export this... + export INSTALL_ROOT="${D}" + make install || die "make install failed" + + einfo "Installing docs..." + cd ${S}/docs + dohtml *{html,png} + dodoc AUTHORS BUGS CHANGELOG INSTALL TODO ${S}/README + + # install only needed langpacks + einfo "Installing langpacks..." + cd ${S}/i18n + insinto /usr/share/${PN}/i18n + for i in ${LINGUAS}; do + if [ -f ${PN}_${i}.qm ]; then + doins ${PN}_${i}.qm + fi + done + + # menu and icon + domenu ${FILESDIR}/${PN}.desktop + doicon ${FILESDIR}/${PN}.png +} |