Gentoo Archives: gentoo-commits

From: "Gilles Dartiguelongue (eva)" <eva@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-office/abiword: ChangeLog abiword-2.6.6.ebuild
Date: Fri, 20 Feb 2009 00:16:09
Message-Id: E1LaJ3n-00018A-VQ@stork.gentoo.org
1 eva 09/02/20 00:16:07
2
3 Modified: ChangeLog
4 Added: abiword-2.6.6.ebuild
5 Log:
6 Bump to 2.6.6. Bug fixes.
7 (Portage version: 2.2_rc23/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.208 app-office/abiword/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-office/abiword/ChangeLog?rev=1.208&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-office/abiword/ChangeLog?rev=1.208&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-office/abiword/ChangeLog?r1=1.207&r2=1.208
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/app-office/abiword/ChangeLog,v
19 retrieving revision 1.207
20 retrieving revision 1.208
21 diff -u -r1.207 -r1.208
22 --- ChangeLog 4 Jan 2009 22:51:26 -0000 1.207
23 +++ ChangeLog 20 Feb 2009 00:16:07 -0000 1.208
24 @@ -1,6 +1,11 @@
25 # ChangeLog for app-office/abiword
26 # Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/app-office/abiword/ChangeLog,v 1.207 2009/01/04 22:51:26 ulm Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/app-office/abiword/ChangeLog,v 1.208 2009/02/20 00:16:07 eva Exp $
29 +
30 +*abiword-2.6.6 (20 Feb 2009)
31 +
32 + 20 Feb 2009; Gilles Dartiguelongue <eva@g.o> +abiword-2.6.6.ebuild:
33 + Bump to 2.6.6. Bug fixes.
34
35 04 Jan 2009; Ulrich Mueller <ulm@g.o> abiword-2.4.6.ebuild,
36 abiword-2.6.4.ebuild, abiword-2.6.5.ebuild:
37
38
39
40 1.1 app-office/abiword/abiword-2.6.6.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-office/abiword/abiword-2.6.6.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-office/abiword/abiword-2.6.6.ebuild?rev=1.1&content-type=text/plain
44
45 Index: abiword-2.6.6.ebuild
46 ===================================================================
47 # Copyright 1999-2009 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/app-office/abiword/abiword-2.6.6.ebuild,v 1.1 2009/02/20 00:16:07 eva Exp $
50
51 EAPI="1"
52
53 inherit alternatives eutils gnome2 versionator
54
55 MY_MAJORV=$(get_version_component_range 1-2)
56
57 DESCRIPTION="Fully featured yet light and fast cross platform word processor"
58 HOMEPAGE="http://www.abisource.com/"
59 SRC_URI="http://www.abisource.com/downloads/${PN}/${PV}/source/${P}.tar.gz"
60
61 LICENSE="GPL-2"
62 SLOT="2"
63 KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
64 IUSE="debug gnome spell xml"
65
66 # FIXME: gsf could probably be conditional
67
68 RDEPEND="dev-libs/popt
69 sys-libs/zlib
70 >=dev-libs/glib-2
71 >=x11-libs/gtk+-2.6
72 x11-libs/libXft
73 >=x11-libs/pango-1.2
74 >=gnome-base/libglade-2
75 >=gnome-base/libgnomeprint-2.2
76 >=gnome-base/libgnomeprintui-2.2
77 >=x11-libs/goffice-0.4:0.4
78 >=media-libs/libpng-1.2
79 >=media-libs/fontconfig-2.1
80 >=media-libs/freetype-2.1
81 >=app-text/wv-1.2
82 >=dev-libs/fribidi-0.10.4
83 xml? ( >=dev-libs/libxml2-2.4.10 )
84 !xml? ( dev-libs/expat )
85 spell? ( >=app-text/enchant-1.2 )
86 gnome? (
87 >=gnome-base/libbonobo-2
88 >=gnome-base/libgnomeui-2.2
89 >=gnome-extra/gucharmap-1.4
90 >=gnome-base/gnome-vfs-2.2 )
91 >=gnome-extra/libgsf-1.12.0"
92
93 DEPEND="${RDEPEND}
94 >=dev-util/pkgconfig-0.9"
95
96 # FIXME: --enable-libabiword fails to compile
97
98 pkg_setup() {
99 if ! built_with_use --missing true x11-libs/pango X; then
100 eerror "You must rebuild x11-libs/pango with USE='X'"
101 die "You must rebuild x11-libs/pango with USE='X'"
102 fi
103
104 G2CONF="${G2CONF}
105 $(use_enable debug)
106 $(use_enable debug symbols)
107 $(use_enable gnome gnomeui)
108 $(use_enable gnome gucharmap)
109 $(use_enable gnome gnomevfs)
110 $(use_enable spell spellcheck)
111 $(use_with xml libxml2)
112 $(use_with !xml expat)
113 --enable-libabiword
114 --enable-printing"
115 }
116
117 src_install() {
118 # Install icon to pixmaps, bug #220097
119 sed 's:icondir = $(datadir)/icons:icondir = $(datadir)/pixmaps:' \
120 -i GNUmakefile || die "sed 1 failed"
121
122 gnome2_src_install
123
124 sed "s:Exec=abiword:Exec=abiword-${MY_MAJORV}:" \
125 -i "${D}"/usr/share/applications/abiword.desktop || die "sed 2 failed"
126
127 mv "${D}/usr/bin/abiword" "${D}/usr/bin/AbiWord-${MY_MAJORV}"
128 dosym AbiWord-${MY_MAJORV} /usr/bin/abiword-${MY_MAJORV}
129
130 dodoc *.TXT user/wp/readme.txt
131 }
132
133 pkg_postinst() {
134 gnome2_pkg_postinst
135
136 alternatives_auto_makesym "/usr/bin/abiword" "/usr/bin/abiword-[0-9].[0-9]"
137
138 elog "As of version 2.4, all abiword plugins have been moved"
139 elog "into a seperate app-office/abiword-plugins package"
140 elog "You can install them by running emerge abiword-plugins"
141 }