1 |
patrick 09/04/26 12:10:33 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: qtstalker-0.36.ebuild |
5 |
Log: |
6 |
Bump to 0.36, patches and ebuild mods by Anton Bolshakov. Fixes #218904 |
7 |
(Portage version: 2.2_rc31/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.11 app-office/qtstalker/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-office/qtstalker/ChangeLog?rev=1.11&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-office/qtstalker/ChangeLog?rev=1.11&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-office/qtstalker/ChangeLog?r1=1.10&r2=1.11 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/app-office/qtstalker/ChangeLog,v |
19 |
retrieving revision 1.10 |
20 |
retrieving revision 1.11 |
21 |
diff -u -r1.10 -r1.11 |
22 |
--- ChangeLog 27 Jul 2008 19:55:28 -0000 1.10 |
23 |
+++ ChangeLog 26 Apr 2009 12:10:33 -0000 1.11 |
24 |
@@ -1,6 +1,14 @@ |
25 |
# ChangeLog for app-office/qtstalker |
26 |
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/app-office/qtstalker/ChangeLog,v 1.10 2008/07/27 19:55:28 carlo Exp $ |
28 |
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
29 |
+# $Header: /var/cvsroot/gentoo-x86/app-office/qtstalker/ChangeLog,v 1.11 2009/04/26 12:10:33 patrick Exp $ |
30 |
+ |
31 |
+*qtstalker-0.36 (26 Apr 2009) |
32 |
+ |
33 |
+ 26 Apr 2009; Patrick Lauer <patrick@g.o> |
34 |
+ +files/qtstalker-0.36-csv_quote.patch, +files/qtstalker-0.36-fibo.patch, |
35 |
+ +files/qtstalker-0.36-gcc43.patch, +files/qtstalker-0.36-nodocs.patch, |
36 |
+ +files/qtstalker-0.36-parallel-make.patch, +qtstalker-0.36.ebuild: |
37 |
+ Bump to 0.36, patches and ebuild mods by Anton Bolshakov. Fixes #218904 |
38 |
|
39 |
27 Jul 2008; Carsten Lohrke <carlo@g.o> qtstalker-0.35.ebuild: |
40 |
QA: Get rid of deprecated qt_min_version(). |
41 |
|
42 |
|
43 |
|
44 |
1.1 app-office/qtstalker/qtstalker-0.36.ebuild |
45 |
|
46 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-office/qtstalker/qtstalker-0.36.ebuild?rev=1.1&view=markup |
47 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-office/qtstalker/qtstalker-0.36.ebuild?rev=1.1&content-type=text/plain |
48 |
|
49 |
Index: qtstalker-0.36.ebuild |
50 |
=================================================================== |
51 |
# Copyright 1999-2009 Gentoo Foundation |
52 |
# Distributed under the terms of the GNU General Public License v2 |
53 |
# $Header: /var/cvsroot/gentoo-x86/app-office/qtstalker/qtstalker-0.36.ebuild,v 1.1 2009/04/26 12:10:33 patrick Exp $ |
54 |
|
55 |
EAPI=1 |
56 |
|
57 |
inherit qt3 eutils multilib |
58 |
|
59 |
LANGS="pl" |
60 |
for i in ${LANGS}; do |
61 |
IUSE="${IUSE} linguas_${i}" |
62 |
done |
63 |
|
64 |
DESCRIPTION="Commodity and stock market charting and technical analysis" |
65 |
HOMEPAGE="http://qtstalker.sourceforge.net" |
66 |
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" |
67 |
|
68 |
LICENSE="GPL-2" |
69 |
SLOT="0" |
70 |
KEYWORDS="~amd64 ~x86" |
71 |
|
72 |
DEPEND="x11-libs/qt:3 |
73 |
>=sci-libs/ta-lib-0.4.0 |
74 |
>=sys-libs/db-4.3" |
75 |
|
76 |
IUSE="" |
77 |
|
78 |
S=${WORKDIR}/${P} |
79 |
|
80 |
src_unpack() { |
81 |
unpack ${A} |
82 |
cd "${S}" |
83 |
|
84 |
epatch "${FILESDIR}"/${P}-nodocs.patch |
85 |
epatch "${FILESDIR}"/${P}-parallel-make.patch |
86 |
epatch "${FILESDIR}"/${P}-gcc43.patch |
87 |
|
88 |
#blshkv |
89 |
epatch "${FILESDIR}"/${P}-fibo.patch |
90 |
epatch "${FILESDIR}"/${P}-csv_quote.patch |
91 |
|
92 |
ebegin 'Fixing install paths' |
93 |
grep -rl '/usr/local' * \ |
94 |
| xargs sed -i -e "s:/usr/local:/usr:g" |
95 |
eend |
96 |
|
97 |
ebegin 'Fixing multilib paths' |
98 |
grep -rl '/usr/lib' * \ |
99 |
| xargs sed -i -e "s:/usr/lib:/usr/$(get_libdir):g" |
100 |
eend |
101 |
|
102 |
ebegin 'Fixing manual paths' |
103 |
grep -rl '/usr/share/doc/qtstalker/' * \ |
104 |
| xargs sed -i -e "s:/usr/share/doc/qtstalker/:/usr/share/doc/${PF}/:g" |
105 |
eend |
106 |
} |
107 |
|
108 |
src_compile() { |
109 |
eqmake3 || die "eqmake3 failed." |
110 |
emake || die "emake failed." |
111 |
|
112 |
for i in ${LINGUAS}; do |
113 |
if [[ -f ${PN}_${i}.ts ]]; then |
114 |
ebegin "Building langpacks..." |
115 |
lrelease ${PN}_${i}.ts |
116 |
eend |
117 |
fi |
118 |
done |
119 |
} |
120 |
|
121 |
src_install() { |
122 |
export INSTALL_ROOT="${D}" |
123 |
sed -i -e 's:-strip ::g' "${S}"/plugins/quote/*/Makefile |
124 |
emake install || die "emake install failed." |
125 |
|
126 |
ebegin "Installing docs" |
127 |
cd "${S}"/docs |
128 |
dohtml *{html,png} |
129 |
dodoc AUTHORS BUGS CHANGELOG-${PV} TODO "${S}"/README |
130 |
eend |
131 |
|
132 |
# install only needed langpacks |
133 |
ebegin "Installing langpacks" |
134 |
cd "${S}"/i18n |
135 |
insinto /usr/share/${PN}/i18n |
136 |
for i in ${LINGUAS}; do |
137 |
if [[ -f ${PN}_${i}.qm ]]; then |
138 |
doins ${PN}_${i}.qm |
139 |
fi |
140 |
done |
141 |
eend |
142 |
|
143 |
# menu and icon |
144 |
domenu "${FILESDIR}"/${PN}.desktop |
145 |
doicon "${FILESDIR}"/${PN}.png |
146 |
} |