From: | "Hanno Boeck (hanno)" <hanno@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in app-editors/bluefish: ChangeLog bluefish-2.0.2.ebuild |
Date: | Tue, 30 Nov 2010 03:38:25 |
Message-Id: | 20101130033812.EE2982004B@flycatcher.gentoo.org |
1 | hanno 10/11/30 03:38:12 |
2 | |
3 | Modified: ChangeLog |
4 | Added: bluefish-2.0.2.ebuild |
5 | Log: |
6 | bluefish bump |
7 | |
8 | (Portage version: 2.1.9.25/cvs/Linux x86_64) |
9 | |
10 | Revision Changes Path |
11 | 1.75 app-editors/bluefish/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/bluefish/ChangeLog?rev=1.75&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/bluefish/ChangeLog?rev=1.75&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/bluefish/ChangeLog?r1=1.74&r2=1.75 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/app-editors/bluefish/ChangeLog,v |
20 | retrieving revision 1.74 |
21 | retrieving revision 1.75 |
22 | diff -u -r1.74 -r1.75 |
23 | --- ChangeLog 29 Nov 2010 19:54:15 -0000 1.74 |
24 | +++ ChangeLog 30 Nov 2010 03:38:12 -0000 1.75 |
25 | @@ -1,6 +1,11 @@ |
26 | # ChangeLog for app-editors/bluefish |
27 | # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/app-editors/bluefish/ChangeLog,v 1.74 2010/11/29 19:54:15 hanno Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/app-editors/bluefish/ChangeLog,v 1.75 2010/11/30 03:38:12 hanno Exp $ |
30 | + |
31 | +*bluefish-2.0.2 (29 Nov 2010) |
32 | + |
33 | + 29 Nov 2010; Hanno Boeck <hanno@g.o> +bluefish-2.0.2.ebuild: |
34 | + Version bump, minor fixes. |
35 | |
36 | 29 Nov 2010; Hanno Boeck <hanno@g.o> |
37 | -files/bluefish-1.3.8-gucharmap-automagic.patch: |
38 | |
39 | |
40 | |
41 | 1.1 app-editors/bluefish/bluefish-2.0.2.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/bluefish/bluefish-2.0.2.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/bluefish/bluefish-2.0.2.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: bluefish-2.0.2.ebuild |
47 | =================================================================== |
48 | # Copyright 1999-2010 Gentoo Foundation |
49 | # Distributed under the terms of the GNU General Public License v2 |
50 | # $Header: /var/cvsroot/gentoo-x86/app-editors/bluefish/bluefish-2.0.2.ebuild,v 1.1 2010/11/30 03:38:12 hanno Exp $ |
51 | |
52 | EAPI=2 |
53 | |
54 | PYTHON_DEPEND="python? 2" |
55 | |
56 | inherit autotools eutils fdo-mime python |
57 | |
58 | MY_P=${P/_/-} |
59 | |
60 | DESCRIPTION="A GTK HTML editor for the experienced web designer or programmer." |
61 | SRC_URI="http://www.bennewitz.com/bluefish/stable/source/${MY_P}.tar.bz2" |
62 | HOMEPAGE="http://bluefish.openoffice.nl/" |
63 | |
64 | LICENSE="GPL-2" |
65 | KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
66 | SLOT="0" |
67 | IUSE="gucharmap nls python spell" |
68 | |
69 | RDEPEND=" |
70 | x11-libs/gtk+:2 |
71 | spell? ( app-text/enchant )" |
72 | |
73 | DEPEND="${RDEPEND} |
74 | dev-libs/glib:2 |
75 | dev-libs/libxml2 |
76 | dev-util/pkgconfig |
77 | x11-libs/pango |
78 | gucharmap? ( gnome-extra/gucharmap ) |
79 | nls? ( sys-devel/gettext dev-util/intltool )" |
80 | |
81 | S=${WORKDIR}/${MY_P} |
82 | |
83 | pkg_setup() { |
84 | if use python ; then |
85 | python_set_active_version 2 |
86 | python_pkg_setup |
87 | fi |
88 | } |
89 | |
90 | src_prepare () { |
91 | intltoolize --copy --force || die "intltoolize failed" |
92 | for po_dir in src/plugin_*/po ; do |
93 | cp po/Makefile.in.in ${po_dir} |
94 | done |
95 | |
96 | # Fixes automagic installation of charmap plugin |
97 | # Upstream bug: https://bugzilla.gnome.org/show_bug.cgi?id=570990 |
98 | epatch "${FILESDIR}"/${PN}-2.0.0-gucharmap-automagic.patch |
99 | eautoreconf |
100 | } |
101 | |
102 | src_configure() { |
103 | econf \ |
104 | --docdir="/usr/share/doc/${PF}" \ |
105 | --disable-dependency-tracking \ |
106 | --disable-update-databases \ |
107 | --disable-xml-catalog-update \ |
108 | $(use_enable nls) \ |
109 | $(use_enable spell spell-check) \ |
110 | $(use_enable gucharmap charmap) \ |
111 | $(use_enable python) |
112 | } |
113 | |
114 | src_install() { |
115 | emake DESTDIR="${D}" install || die "emake install failed" |
116 | } |
117 | |
118 | pkg_postinst() { |
119 | fdo-mime_desktop_database_update |
120 | fdo-mime_mime_database_update |
121 | |
122 | einfo "Adding XML catalog entries..." |
123 | /usr/bin/xmlcatalog --noout \ |
124 | --add 'public' 'Bluefish/DTD/Bflang' 'bflang.dtd' \ |
125 | --add 'system' 'http://bluefish.openoffice.nl/DTD/bflang.dtd' 'bflang.dtd' \ |
126 | --add 'rewriteURI' 'http://bluefish.openoffice.nl/DTD' '/usr/share/xml/bluefish-unstable' \ |
127 | /etc/xml/catalog \ |
128 | || ewarn "Failed to add XML catalog entries." |
129 | } |
130 | |
131 | pkg_postrm() { |
132 | fdo-mime_desktop_database_update |
133 | fdo-mime_mime_database_update |
134 | einfo "Removing XML catalog entries..." |
135 | /usr/bin/xmlcatalog --noout \ |
136 | --del 'Bluefish/DTD/Bflang' \ |
137 | --del 'http://bluefish.openoffice.nl/DTD/bflang.dtd' \ |
138 | --del 'http://bluefish.openoffice.nl/DTD' \ |
139 | /etc/xml/catalog \ |
140 | || ewarn "Failed to remove XML catalog entries." |
141 | } |