summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPrzemyslaw Maciag <troll@gentoo.org>2006-09-28 21:29:29 +0000
committerPrzemyslaw Maciag <troll@gentoo.org>2006-09-28 21:29:29 +0000
commit12027ef47b79e2335324b28b8a8837722712489a (patch)
treec524dae9e1c43a9f2914f24040e96e4df29500c4 /app-office/qtstalker
parentinherit eutils for make_desktop_entry (diff)
downloadhistorical-12027ef47b79e2335324b28b8a8837722712489a.tar.gz
historical-12027ef47b79e2335324b28b8a8837722712489a.tar.bz2
historical-12027ef47b79e2335324b28b8a8837722712489a.zip
Initial release. Fixing bug #108932
Package-Manager: portage-2.1.2_pre1-r3
Diffstat (limited to 'app-office/qtstalker')
-rw-r--r--app-office/qtstalker/ChangeLog14
-rw-r--r--app-office/qtstalker/Manifest46
-rw-r--r--app-office/qtstalker/files/digest-qtstalker-0.323
-rw-r--r--app-office/qtstalker/files/qtstalker-install_docs_with_emerge.patch9
-rw-r--r--app-office/qtstalker/files/qtstalker-no_mysql_support.patch20
-rw-r--r--app-office/qtstalker/files/qtstalker-sandboxfix_no_fixpath.patch33
-rw-r--r--app-office/qtstalker/files/qtstalker.desktop16
-rw-r--r--app-office/qtstalker/files/qtstalker.pngbin0 -> 6035 bytes
-rw-r--r--app-office/qtstalker/metadata.xml18
-rw-r--r--app-office/qtstalker/qtstalker-0.32.ebuild78
10 files changed, 237 insertions, 0 deletions
diff --git a/app-office/qtstalker/ChangeLog b/app-office/qtstalker/ChangeLog
new file mode 100644
index 000000000000..ffd8d852e347
--- /dev/null
+++ b/app-office/qtstalker/ChangeLog
@@ -0,0 +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.1 2006/09/28 21:29:29 troll Exp $
+
+*qtstalker-0.32 (28 Sep 2006)
+
+ 28 Sep 2006; Przemysław Maciąg <troll@gentoo.org>
+ +files/qtstalker.desktop, +files/qtstalker.png,
+ +files/qtstalker-install_docs_with_emerge.patch,
+ +files/qtstalker-no_mysql_support.patch,
+ +files/qtstalker-sandboxfix_no_fixpath.patch, +metadata.xml,
+ +qtstalker-0.32.ebuild:
+ Initial release. Fixing my bug #108932.
+
diff --git a/app-office/qtstalker/Manifest b/app-office/qtstalker/Manifest
new file mode 100644
index 000000000000..7b4ca7e2befb
--- /dev/null
+++ b/app-office/qtstalker/Manifest
@@ -0,0 +1,46 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX qtstalker-install_docs_with_emerge.patch 328 RMD160 f19be43ba9a4706737cddd995a3963b3b583ac85 SHA1 08cc1dd272196842f7ba700848772148e3e5f7cf SHA256 376391f2cc90a61d4bc941aabafa8bfdb440a2acaf100aa06966732278bddb92
+MD5 a85887b149039fb90b97ccd80fa746fb files/qtstalker-install_docs_with_emerge.patch 328
+RMD160 f19be43ba9a4706737cddd995a3963b3b583ac85 files/qtstalker-install_docs_with_emerge.patch 328
+SHA256 376391f2cc90a61d4bc941aabafa8bfdb440a2acaf100aa06966732278bddb92 files/qtstalker-install_docs_with_emerge.patch 328
+AUX qtstalker-no_mysql_support.patch 700 RMD160 12a0713ebf0cbf42ad4f77d6adaeed9c97af80dc SHA1 085ffc60d4a71b1daf104d0cce941a4949d91a51 SHA256 6a1fcc9050d78233e61c2be4e4fc8b2c3056d81e65d391f0a1b40d26ac13f411
+MD5 c5f9c47ccba6cf969262305c134e715c files/qtstalker-no_mysql_support.patch 700
+RMD160 12a0713ebf0cbf42ad4f77d6adaeed9c97af80dc files/qtstalker-no_mysql_support.patch 700
+SHA256 6a1fcc9050d78233e61c2be4e4fc8b2c3056d81e65d391f0a1b40d26ac13f411 files/qtstalker-no_mysql_support.patch 700
+AUX qtstalker-sandboxfix_no_fixpath.patch 1039 RMD160 3bf471adb0e3afcb2d717b04d3bdcad80f33e8a4 SHA1 ac3666e8ed457e235067f2f4a7e7e6fd016156be SHA256 eed03b4c614463d7358094113e4b1155e30ee38eb877a5e47fb89d4a8e3cd002
+MD5 13bc145cb2ab8c18d56e373dcba0a9ad files/qtstalker-sandboxfix_no_fixpath.patch 1039
+RMD160 3bf471adb0e3afcb2d717b04d3bdcad80f33e8a4 files/qtstalker-sandboxfix_no_fixpath.patch 1039
+SHA256 eed03b4c614463d7358094113e4b1155e30ee38eb877a5e47fb89d4a8e3cd002 files/qtstalker-sandboxfix_no_fixpath.patch 1039
+AUX qtstalker.desktop 468 RMD160 29e6dbaa70f1566a4a4f9d6c17c50f06751f3e3e SHA1 888979941c90479e47bc1f9bb03d75e7727586cb SHA256 d9207fe520ba524f759e48dfd056ab117cb7ebd5008395fa6a20e8b1ce54fcc0
+MD5 6063f2dd17b92702ef0df9d397e28267 files/qtstalker.desktop 468
+RMD160 29e6dbaa70f1566a4a4f9d6c17c50f06751f3e3e files/qtstalker.desktop 468
+SHA256 d9207fe520ba524f759e48dfd056ab117cb7ebd5008395fa6a20e8b1ce54fcc0 files/qtstalker.desktop 468
+AUX qtstalker.png 6035 RMD160 2c4b0cdc70ab030b11efae2be86995b7d123bbf8 SHA1 8d1b12cdd35e3ebbb9b54d01b2415ade1fea002d SHA256 4419293fa81cea6ddc48cdd877b2da50f61b79ccf2ce4e09face45fe10294cfa
+MD5 8dee79bc9a64b3e2d88638aa422e8df0 files/qtstalker.png 6035
+RMD160 2c4b0cdc70ab030b11efae2be86995b7d123bbf8 files/qtstalker.png 6035
+SHA256 4419293fa81cea6ddc48cdd877b2da50f61b79ccf2ce4e09face45fe10294cfa files/qtstalker.png 6035
+DIST qtstalker-0.32.tar.gz 1119351 RMD160 48ac3e1e569dafebf7ddb78b7ef7634e5aa87c63 SHA1 9671dd81e2456ecde580ba57352053c71c38de0c SHA256 87bb97317db40ec90e0ea0a318c12aeb8c4cdf52ab2380fdd071b9f749cf77f4
+EBUILD qtstalker-0.32.ebuild 1875 RMD160 6600a43c90b066e68196c4b02396e7150571590f SHA1 c735a474ba742c82e391c832bf47c448b17149e9 SHA256 cb6cedd5e43dfb67f4e7e6660098e3bbcb17a3be4aaabf39420aa8a92af0c0f5
+MD5 043c830da231293abe748ab32eef21be qtstalker-0.32.ebuild 1875
+RMD160 6600a43c90b066e68196c4b02396e7150571590f qtstalker-0.32.ebuild 1875
+SHA256 cb6cedd5e43dfb67f4e7e6660098e3bbcb17a3be4aaabf39420aa8a92af0c0f5 qtstalker-0.32.ebuild 1875
+MISC ChangeLog 573 RMD160 fb984ffc6f1a20901de16246b948c07df6929b2b SHA1 3d9cb2b366302d85d8d29b6cea090d1ad6b5ec8e SHA256 c215f797f8ac814244ad9f2d8579c8a14f33cf5f59b38a1eaa81936cd1d182c6
+MD5 bbccd217a0042910e24e5a0cd3a46201 ChangeLog 573
+RMD160 fb984ffc6f1a20901de16246b948c07df6929b2b ChangeLog 573
+SHA256 c215f797f8ac814244ad9f2d8579c8a14f33cf5f59b38a1eaa81936cd1d182c6 ChangeLog 573
+MISC metadata.xml 771 RMD160 b9606e05516f754f3cdd41a8edcb5143cfbce330 SHA1 91a3ece26144031af3e722cacfe6b38376139383 SHA256 9850d740aa1955be850cc9bf7899f06c6d995b6ea796a1a4a68aff4d632af7b6
+MD5 10e454113914a3022e8312457dcd6187 metadata.xml 771
+RMD160 b9606e05516f754f3cdd41a8edcb5143cfbce330 metadata.xml 771
+SHA256 9850d740aa1955be850cc9bf7899f06c6d995b6ea796a1a4a68aff4d632af7b6 metadata.xml 771
+MD5 d6158bcdcc280df4d3e72d5ad04fff8e files/digest-qtstalker-0.32 247
+RMD160 4e555ae11d7e6402f2026d2ca7dd815f6ac0bce7 files/digest-qtstalker-0.32 247
+SHA256 ef8503b71296df5a7476a437758631c7ccd3349c9596b47372272d4b4a676e24 files/digest-qtstalker-0.32 247
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.1 (GNU/Linux)
+
+iD8DBQFFHFqVexDpKttj3ykRAqrGAJ4tJngYbuNIaRMS6Em7pQEIMxlmVwCcCtqU
+i3UVmfp8DXPzAyaLDUwpSY4=
+=hadU
+-----END PGP SIGNATURE-----
diff --git a/app-office/qtstalker/files/digest-qtstalker-0.32 b/app-office/qtstalker/files/digest-qtstalker-0.32
new file mode 100644
index 000000000000..0628342dad25
--- /dev/null
+++ b/app-office/qtstalker/files/digest-qtstalker-0.32
@@ -0,0 +1,3 @@
+MD5 576907bd6299fe0cd9078334e4e5f7f3 qtstalker-0.32.tar.gz 1119351
+RMD160 48ac3e1e569dafebf7ddb78b7ef7634e5aa87c63 qtstalker-0.32.tar.gz 1119351
+SHA256 87bb97317db40ec90e0ea0a318c12aeb8c4cdf52ab2380fdd071b9f749cf77f4 qtstalker-0.32.tar.gz 1119351
diff --git a/app-office/qtstalker/files/qtstalker-install_docs_with_emerge.patch b/app-office/qtstalker/files/qtstalker-install_docs_with_emerge.patch
new file mode 100644
index 000000000000..989062eb1834
--- /dev/null
+++ b/app-office/qtstalker/files/qtstalker-install_docs_with_emerge.patch
@@ -0,0 +1,9 @@
+diff -Naur qtstalker-orig/qtstalker.pro qtstalker/qtstalker.pro
+--- qtstalker-orig/qtstalker.pro 2005-10-11 20:43:45.000000000 +0000
++++ qtstalker/qtstalker.pro 2005-10-11 20:56:34.000000000 +0000
+@@ -80,5 +80,3 @@
+ SUBDIRS += plugins/co/TrendLine
+ SUBDIRS += plugins/co/FiboLine
+ SUBDIRS += plugins/co/Cycle
+-
+-SUBDIRS += docs
diff --git a/app-office/qtstalker/files/qtstalker-no_mysql_support.patch b/app-office/qtstalker/files/qtstalker-no_mysql_support.patch
new file mode 100644
index 000000000000..0b86107997d2
--- /dev/null
+++ b/app-office/qtstalker/files/qtstalker-no_mysql_support.patch
@@ -0,0 +1,20 @@
+diff -Naur qtstalker-orig/qtstalker.pro qtstalker/qtstalker.pro
+--- qtstalker-orig/qtstalker.pro 2005-06-02 21:50:56.000000000 +0000
++++ qtstalker/qtstalker.pro 2005-10-11 20:16:28.000000000 +0000
+@@ -21,16 +21,6 @@
+ SUBDIRS += plugins/quote/QtstalkerFormat
+ SUBDIRS += plugins/quote/Yahoo
+
+-#linux: conditional compile if user has mysql installed
+-unix:linux-g++:exists(/usr/include/mysql/mysql.h){
+- SUBDIRS += plugins/quote/MySQL
+-}
+-
+-#freebsd: conditional compile if user has mysql installed
+-unix:freebsd-g++:exists(/usr/local/include/mysql/mysql.h){
+- SUBDIRS += plugins/quote/MySQL
+-}
+-
+ #compile indicator plugins
+ SUBDIRS += plugins/indicator/AD
+ SUBDIRS += plugins/indicator/AdaptSTOCH
diff --git a/app-office/qtstalker/files/qtstalker-sandboxfix_no_fixpath.patch b/app-office/qtstalker/files/qtstalker-sandboxfix_no_fixpath.patch
new file mode 100644
index 000000000000..01da3dfa98c4
--- /dev/null
+++ b/app-office/qtstalker/files/qtstalker-sandboxfix_no_fixpath.patch
@@ -0,0 +1,33 @@
+diff -Naur qtstalker-orig/src/src.pro qtstalker/src/src.pro
+--- qtstalker-orig/src/src.pro 2005-06-05 17:35:14.000000000 +0000
++++ qtstalker/src/src.pro 2005-10-11 19:26:54.000000000 +0000
+@@ -1,6 +1,6 @@
+ TEMPLATE = app
+
+-CONFIG += thread warn_on debug
++CONFIG += thread warn_on debug no_fixpath
+
+ QMAKE_CXXFLAGS += -rdynamic -ffast-math
+ QMAKE_CXXFLAGS += -Os
+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/files/qtstalker.desktop b/app-office/qtstalker/files/qtstalker.desktop
new file mode 100644
index 000000000000..87368975bbf1
--- /dev/null
+++ b/app-office/qtstalker/files/qtstalker.desktop
@@ -0,0 +1,16 @@
+[Desktop Entry]
+Type=Application
+Version=1.0
+Encoding=UTF-8
+Name=Qtstalker
+GenericName=Stock Charting
+GenericName[nl]=Koersgrafieken
+GenericName[pl]=Wykresy Giełdowe
+Comment=Stock and commodity market charting and technical analysis
+Comment[nl]=Koersgrafieken en technische analyse
+Comment[pl]=Wykresy giełdowe i towarowe oraz analizy techniczne
+Exec=/usr/bin/qtstalker
+Icon=/usr/share/pixmaps/qtstalker.png
+Terminal=false
+Categories=Application;Finance;Office;Qt;
+
diff --git a/app-office/qtstalker/files/qtstalker.png b/app-office/qtstalker/files/qtstalker.png
new file mode 100644
index 000000000000..c0b206ea8803
--- /dev/null
+++ b/app-office/qtstalker/files/qtstalker.png
Binary files differ
diff --git a/app-office/qtstalker/metadata.xml b/app-office/qtstalker/metadata.xml
new file mode 100644
index 000000000000..c9c5fd36be02
--- /dev/null
+++ b/app-office/qtstalker/metadata.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>desktop-misc</herd>
+ <maintainer>
+ <email>troll@gentoo.org</email>
+ <name>Przemysław Maciąg</name>
+ </maintainer>
+ <longdescription>
+ Qtstalker is a basic end of day Technical Analysis package with many
+ features. It compares with similar commercial products like Metastock,
+ Superchartz, Tradestation (...maybe one day) etc. If you are familiar
+ with those, then you should be able to muddle along with Qtstalker.
+
+ The project has kept to a lean and simple design philosophy in order
+ to maximize speed, portability and resource usage.
+ </longdescription>
+</pkgmetadata>
diff --git a/app-office/qtstalker/qtstalker-0.32.ebuild b/app-office/qtstalker/qtstalker-0.32.ebuild
new file mode 100644
index 000000000000..5baedfb70dfb
--- /dev/null
+++ b/app-office/qtstalker/qtstalker-0.32.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2006 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.1 2006/09/28 21:29:29 troll Exp $
+
+inherit qt3 eutils
+
+IUSE="mysql"
+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)
+ mysql? ( dev-db/mysql )"
+
+S="${WORKDIR}/${PN}"
+
+# linking erros about missing lqtstalker lib when -jX
+# from MAKEOPTS is being set to anything higher than -j1
+MAKEOPTS="${MAKEOPTS} -j1"
+
+src_unpack() {
+ unpack ${A}
+
+ cd ${S}
+ epatch ${FILESDIR}/${PN}-sandboxfix_no_fixpath.patch
+ epatch ${FILESDIR}/${PN}-install_docs_with_emerge.patch
+ # without that, qtstalker will use mysql, when only it is installed,
+ # even when we do not want mysql support for this package
+ ! use mysql && epatch ${FILESDIR}/${PN}-no_mysql_support.patch
+}
+
+src_compile() {
+ ${QTDIR}/bin/qmake ${PN}.pro \
+ QMAKE_CXXFLAGS_RELEASE="${CXXFLAGS}" \
+ QMAKE_RPATH= \
+ || die "qmake ${PN}.pro failed"
+
+ cd ${S}/lib
+ ${QTDIR}/bin/qmake lib.pro \
+ QMAKE_CXXFLAGS_RELEASE="${CXXFLAGS}" \
+ QMAKE_RPATH= \
+ || die "qmake ${PN}.pro failed"
+
+ cd ${S}
+ emake || die "make failed"
+}
+
+src_install() {
+ # we have to export this...
+ export INSTALL_ROOT="${D}"
+ make install || die "make install failed"
+
+ cd ${S}/docs
+ dohtml *{html,png}
+ dodoc AUTHORS BUGS CHANGELOG INSTALL TODO ${S}/README
+
+ # install only needed 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
+}