1 |
pva 09/05/25 22:27:43 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: kchmviewer-3.1_p2-r1.ebuild |
5 |
Log: |
6 |
Lot's of changes: EAPI-2, change slot to :3.5 (all 3.5 kde applications will have it), disable arts by default, use kde eclass, enable langs. Thank Theo Chatzimichos for this work. As a side work fixes bug #270576, thank Yar Odin for report. |
7 |
(Portage version: 2.2_rc33/cvs/Linux i686) |
8 |
|
9 |
Revision Changes Path |
10 |
1.13 app-text/kchmviewer/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/kchmviewer/ChangeLog?rev=1.13&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/kchmviewer/ChangeLog?rev=1.13&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/kchmviewer/ChangeLog?r1=1.12&r2=1.13 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/app-text/kchmviewer/ChangeLog,v |
19 |
retrieving revision 1.12 |
20 |
retrieving revision 1.13 |
21 |
diff -u -r1.12 -r1.13 |
22 |
--- ChangeLog 6 Apr 2009 11:36:00 -0000 1.12 |
23 |
+++ ChangeLog 25 May 2009 22:27:43 -0000 1.13 |
24 |
@@ -1,6 +1,14 @@ |
25 |
# ChangeLog for app-text/kchmviewer |
26 |
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/app-text/kchmviewer/ChangeLog,v 1.12 2009/04/06 11:36:00 scarabeus Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/app-text/kchmviewer/ChangeLog,v 1.13 2009/05/25 22:27:43 pva Exp $ |
29 |
+ |
30 |
+*kchmviewer-3.1_p2-r1 (25 May 2009) |
31 |
+ |
32 |
+ 25 May 2009; Peter Volkov <pva@g.o> +kchmviewer-3.1_p2-r1.ebuild: |
33 |
+ Lot's of changes: EAPI-2, change slot to :3.5 (all 3.5 kde applications |
34 |
+ will have it), disable arts by default, use kde eclass, enable langs. |
35 |
+ Thank Theo Chatzimichos for this work. As a side work fixes bug #270576, |
36 |
+ thank Yar Odin for report. |
37 |
|
38 |
06 Apr 2009; Tomas Chvatal <scarabeus@g.o> |
39 |
kchmviewer-4.0-r1.ebuild: |
40 |
|
41 |
|
42 |
|
43 |
1.1 app-text/kchmviewer/kchmviewer-3.1_p2-r1.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/kchmviewer/kchmviewer-3.1_p2-r1.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/kchmviewer/kchmviewer-3.1_p2-r1.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: kchmviewer-3.1_p2-r1.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2009 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/app-text/kchmviewer/kchmviewer-3.1_p2-r1.ebuild,v 1.1 2009/05/25 22:27:43 pva Exp $ |
53 |
|
54 |
EAPI="2" |
55 |
|
56 |
ARTS_REQUIRED="never" |
57 |
|
58 |
LANGS="cs fr ru tr zh_CN" |
59 |
|
60 |
USE_KEG_PACKAGING="1" |
61 |
|
62 |
inherit kde versionator |
63 |
|
64 |
set-kdedir 3.5 |
65 |
|
66 |
MY_P=${PN}-$(replace_version_separator 2 '-') |
67 |
MY_P=${MY_P/p} |
68 |
|
69 |
DESCRIPTION="KchmViewer is a feature rich chm file viewer, based on Qt." |
70 |
HOMEPAGE="http://www.kchmviewer.net/" |
71 |
SRC_URI="mirror://sourceforge/kchmviewer/${MY_P}.tar.gz" |
72 |
LICENSE="GPL-2" |
73 |
|
74 |
SLOT="3.5" |
75 |
KEYWORDS="~amd64 ~ppc ~x86" |
76 |
IUSE="kde" |
77 |
|
78 |
DEPEND="!<app-text/kchmviewer-3.1_p2-r1 |
79 |
x11-libs/qt:3 |
80 |
dev-libs/chmlib |
81 |
kde? ( kde-base/kdelibs:3.5 )" |
82 |
RDEPEND="${DEPEND}" |
83 |
|
84 |
S=${WORKDIR}/${PN}-$(get_version_component_range 1-2) |
85 |
|
86 |
PATCHES=( "${FILESDIR}/${P}-gcc43.patch" ) #218812 |
87 |
|
88 |
src_prepare() { |
89 |
kde_src_prepare |
90 |
# broken configure script, assure it doesn't fall back to internal libs |
91 |
echo "# We use the external chmlib!" > lib/chmlib/chm_lib.h |
92 |
} |
93 |
|
94 |
src_install() { |
95 |
kde_src_install |
96 |
|
97 |
dodoc ChangeLog FAQ DCOP-bingings README || die "installing docs failed" |
98 |
} |
99 |
|
100 |
pkg_postinst() { |
101 |
if [[ -f ${ROOT}/usr/share/services/chm.protocol ]]; then |
102 |
ewarn "kchmviewer and kdevelop's kio_chm don't work together, bug #260134." |
103 |
ewarn "Until we find better solution, if you want to read chm files with ${PN}" |
104 |
ewarn "you need to remove ${ROOT}usr/share/services/chm.protocol file manually." |
105 |
fi |
106 |
} |