diff options
author | Przemyslaw Maciag <troll@gentoo.org> | 2006-09-28 21:29:29 +0000 |
---|---|---|
committer | Przemyslaw Maciag <troll@gentoo.org> | 2006-09-28 21:29:29 +0000 |
commit | 8de7d8763be53f94d207847c7c48ecfb1a7add39 (patch) | |
tree | 6fa5354b032a39f38481f72dd66651be211212ef /app-office/qtstalker | |
parent | inherit eutils for make_desktop_entry (diff) | |
download | gentoo-2-8de7d8763be53f94d207847c7c48ecfb1a7add39.tar.gz gentoo-2-8de7d8763be53f94d207847c7c48ecfb1a7add39.tar.bz2 gentoo-2-8de7d8763be53f94d207847c7c48ecfb1a7add39.zip |
Initial release. Fixing bug #108932
(Portage version: 2.1.2_pre1-r3)
Diffstat (limited to 'app-office/qtstalker')
-rw-r--r-- | app-office/qtstalker/ChangeLog | 14 | ||||
-rw-r--r-- | app-office/qtstalker/Manifest | 36 | ||||
-rw-r--r-- | app-office/qtstalker/files/digest-qtstalker-0.32 | 3 | ||||
-rw-r--r-- | app-office/qtstalker/files/qtstalker-install_docs_with_emerge.patch | 9 | ||||
-rw-r--r-- | app-office/qtstalker/files/qtstalker-no_mysql_support.patch | 20 | ||||
-rw-r--r-- | app-office/qtstalker/files/qtstalker-sandboxfix_no_fixpath.patch | 33 | ||||
-rw-r--r-- | app-office/qtstalker/files/qtstalker.desktop | 16 | ||||
-rw-r--r-- | app-office/qtstalker/files/qtstalker.png | bin | 0 -> 6035 bytes | |||
-rw-r--r-- | app-office/qtstalker/metadata.xml | 18 | ||||
-rw-r--r-- | app-office/qtstalker/qtstalker-0.32.ebuild | 78 |
10 files changed, 227 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..a4f6a7003f2c --- /dev/null +++ b/app-office/qtstalker/Manifest @@ -0,0 +1,36 @@ +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 1772 RMD160 1f3301df106532cc97d95b48622255a28d6f783b SHA1 9ffe421c1452d99cd75643022f6510aa536089ee SHA256 07cd1a9fbfb9e7aa8c211b45d3759bea2189b434aa8f778b74751c4c9f1c5fb7 +MD5 e9f4ac8eec0168368b5b9541530be7f6 qtstalker-0.32.ebuild 1772 +RMD160 1f3301df106532cc97d95b48622255a28d6f783b qtstalker-0.32.ebuild 1772 +SHA256 07cd1a9fbfb9e7aa8c211b45d3759bea2189b434aa8f778b74751c4c9f1c5fb7 qtstalker-0.32.ebuild 1772 +MISC ChangeLog 482 RMD160 7dbdfe8a19298e571835d4940bd3e210d21e072e SHA1 63d40ed0b512dce476b2728fed4a76aaa839afe7 SHA256 6f75c6be0130dc71edba1516a535a2c65ac09f34fa3306d68511d4ce693e4bb5 +MD5 500a4f5fe8f2589cdeca7de68b4ac55c ChangeLog 482 +RMD160 7dbdfe8a19298e571835d4940bd3e210d21e072e ChangeLog 482 +SHA256 6f75c6be0130dc71edba1516a535a2c65ac09f34fa3306d68511d4ce693e4bb5 ChangeLog 482 +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 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 Binary files differnew file mode 100644 index 000000000000..c0b206ea8803 --- /dev/null +++ b/app-office/qtstalker/files/qtstalker.png 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 +} |