1 |
commit: 7655d0d8398a8370fc3f10781f994a46ab4d45f6 |
2 |
Author: Sam Jorna <wraeth <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Mar 29 06:01:16 2016 +0000 |
4 |
Commit: Sam Jorna <wraeth <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Mar 29 06:01:46 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7655d0d8 |
7 |
|
8 |
app-editors/bluefish: bump to 2.2.8 |
9 |
|
10 |
Version bump to 2.2.8, bump to EAPI6, add new USE flags for GTK+-2/3. |
11 |
|
12 |
Gentoo-bug: 575838 |
13 |
Package-Manager: portage-2.2.28 |
14 |
|
15 |
app-editors/bluefish/Manifest | 1 + |
16 |
app-editors/bluefish/bluefish-2.2.8.ebuild | 101 +++++++++++++++++++++++++++++ |
17 |
app-editors/bluefish/metadata.xml | 4 ++ |
18 |
3 files changed, 106 insertions(+) |
19 |
|
20 |
diff --git a/app-editors/bluefish/Manifest b/app-editors/bluefish/Manifest |
21 |
index b3241d5..93eed13 100644 |
22 |
--- a/app-editors/bluefish/Manifest |
23 |
+++ b/app-editors/bluefish/Manifest |
24 |
@@ -1,2 +1,3 @@ |
25 |
DIST bluefish-2.2.6.tar.bz2 3793018 SHA256 54c2892c317eb2287c9fb0a3e29c3f19bef51d9ab0353bfb158e52a1cdae4216 SHA512 39dee296ec6bbe1a946f9fb1c54e7143363da4bb6ce52aee14c9bef906d2eb82e5e58f78680810357c0bfcb11c21f982756a9199fec2f454c2816005a4d9d83e WHIRLPOOL b0847ea74fdc388e9ddccf1a23e8802379d149b85c5010ff9a64b3e061b0c1999e1f1a5872404b8bad2b0024fcdb09db964dae2177092d770f56aca50628d146 |
26 |
DIST bluefish-2.2.7.tar.bz2 3836580 SHA256 23534b73b929754e15b86d12904ca3ffc1b069da5dcd4f34a67e842fe9e858df SHA512 8b9eca746062d47d646805b02370eb9529d449d6a6a9f175353022d9df9060a9736430b6579cdd52717caab75661204e4c940c4a78fb8f6e29845e84a65395ce WHIRLPOOL 748c965da307807df6a7ebd2f430b5148bd6b8644f722d1ba5bfe70853a884eae951c35cc0c9f4a82e56b47b098fa7bd364623cc773920b08f1197852c720ee8 |
27 |
+DIST bluefish-2.2.8.tar.bz2 4097769 SHA256 32578f955cee3f43e5b3a86e2588e6a679df94438b21dcbe38e3c82282745000 SHA512 0450909feb2370c1c84a214744f103bfe891086ba5f3ccc85060b4e134ee2161c3fde641720a3544a4d71c25f120a35925517cee4ffce6e2f07c778baa2cc5c1 WHIRLPOOL 0253e2176d68033c57db2ea1ec67c8e154722835652fe792e218a9430832ad40f67c360fc03f03e7317cda5d0fff7e83437cfd8543d58dbaf7b663ee4f68a77f |
28 |
|
29 |
diff --git a/app-editors/bluefish/bluefish-2.2.8.ebuild b/app-editors/bluefish/bluefish-2.2.8.ebuild |
30 |
new file mode 100644 |
31 |
index 0000000..331017d |
32 |
--- /dev/null |
33 |
+++ b/app-editors/bluefish/bluefish-2.2.8.ebuild |
34 |
@@ -0,0 +1,101 @@ |
35 |
+# Copyright 1999-2016 Gentoo Foundation |
36 |
+# Distributed under the terms of the GNU General Public License v2 |
37 |
+# $Id$ |
38 |
+ |
39 |
+EAPI=6 |
40 |
+ |
41 |
+PYTHON_COMPAT=( python2_7 ) |
42 |
+ |
43 |
+inherit eutils fdo-mime python-single-r1 |
44 |
+ |
45 |
+MY_P=${P/_/-} |
46 |
+ |
47 |
+DESCRIPTION="A GTK HTML editor for the experienced web designer or programmer" |
48 |
+SRC_URI="http://www.bennewitz.com/bluefish/stable/source/${MY_P}.tar.bz2" |
49 |
+HOMEPAGE="http://bluefish.openoffice.nl/" |
50 |
+ |
51 |
+LICENSE="GPL-2" |
52 |
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
53 |
+SLOT="0" |
54 |
+IUSE="gtk2 +gtk3 gucharmap nls python spell" |
55 |
+ |
56 |
+RDEPEND=" |
57 |
+ gnome-extra/gucharmap:2.90 |
58 |
+ sys-libs/zlib |
59 |
+ gtk2? ( x11-libs/gtk+:2 ) |
60 |
+ gtk3? ( x11-libs/gtk+:3 ) |
61 |
+ gucharmap? ( gnome-extra/gucharmap:2.90 ) |
62 |
+ python? ( ${PYTHON_DEPS} ) |
63 |
+ spell? ( app-text/enchant )" |
64 |
+DEPEND="${RDEPEND} |
65 |
+ dev-libs/libxml2:2 |
66 |
+ >=dev-libs/glib-2.24:2 |
67 |
+ virtual/pkgconfig |
68 |
+ x11-libs/pango |
69 |
+ nls? ( |
70 |
+ sys-devel/gettext |
71 |
+ dev-util/intltool |
72 |
+ )" |
73 |
+ |
74 |
+REQUIRED_USE=" |
75 |
+ gtk2? ( !gtk3 !gucharmap ) |
76 |
+ gtk3? ( !gtk2 )" |
77 |
+ |
78 |
+S="${WORKDIR}/${MY_P}" |
79 |
+ |
80 |
+# there actually is just some broken manpage checkup -> not bother |
81 |
+RESTRICT="test" |
82 |
+ |
83 |
+pkg_setup() { |
84 |
+ use python && python-single-r1_pkg_setup |
85 |
+} |
86 |
+ |
87 |
+# Never eautoreconf this package as gettext breaks completely (no translations |
88 |
+# even if it compiles afterwards)! |
89 |
+ |
90 |
+src_prepare() { |
91 |
+ default |
92 |
+ sed -i 's:gzip -n $< -c:gzip -n -c $<:' data/bflib/Makefile.* || die "Cannot fix makefile" |
93 |
+} |
94 |
+ |
95 |
+src_configure() { |
96 |
+ econf \ |
97 |
+ --docdir="${EPREFIX}/usr/share/doc/${PF}" \ |
98 |
+ --disable-dependency-tracking \ |
99 |
+ --disable-update-databases \ |
100 |
+ --disable-xml-catalog-update \ |
101 |
+ $(use_with gtk2 ) \ |
102 |
+ $(use_enable nls) \ |
103 |
+ $(use_enable spell spell-check) \ |
104 |
+ $(use_enable python) |
105 |
+} |
106 |
+ |
107 |
+src_install() { |
108 |
+ default |
109 |
+ prune_libtool_files |
110 |
+} |
111 |
+ |
112 |
+pkg_postinst() { |
113 |
+ fdo-mime_desktop_database_update |
114 |
+ fdo-mime_mime_database_update |
115 |
+ |
116 |
+ einfo "Adding XML catalog entries..." |
117 |
+ /usr/bin/xmlcatalog --noout \ |
118 |
+ --add 'public' 'Bluefish/DTD/Bflang' 'bflang.dtd' \ |
119 |
+ --add 'system' 'http://bluefish.openoffice.nl/DTD/bflang.dtd' 'bflang.dtd' \ |
120 |
+ --add 'rewriteURI' 'http://bluefish.openoffice.nl/DTD' '/usr/share/xml/bluefish-unstable' \ |
121 |
+ /etc/xml/catalog \ |
122 |
+ || ewarn "Failed to add XML catalog entries." |
123 |
+} |
124 |
+ |
125 |
+pkg_postrm() { |
126 |
+ fdo-mime_desktop_database_update |
127 |
+ fdo-mime_mime_database_update |
128 |
+ einfo "Removing XML catalog entries..." |
129 |
+ /usr/bin/xmlcatalog --noout \ |
130 |
+ --del 'Bluefish/DTD/Bflang' \ |
131 |
+ --del 'http://bluefish.openoffice.nl/DTD/bflang.dtd' \ |
132 |
+ --del 'http://bluefish.openoffice.nl/DTD' \ |
133 |
+ /etc/xml/catalog \ |
134 |
+ || ewarn "Failed to remove XML catalog entries." |
135 |
+} |
136 |
|
137 |
diff --git a/app-editors/bluefish/metadata.xml b/app-editors/bluefish/metadata.xml |
138 |
index f8c56df..53a0d51 100644 |
139 |
--- a/app-editors/bluefish/metadata.xml |
140 |
+++ b/app-editors/bluefish/metadata.xml |
141 |
@@ -11,6 +11,10 @@ |
142 |
<name>Proxy Maintainers</name> |
143 |
</maintainer> |
144 |
<use> |
145 |
+ <flag name="gtk2">Enable GTK2 instead of GTK3 even if GTK3 is available</flag> |
146 |
+ <flag name="gtk3">Enable GTK3 interface (default)</flag> |
147 |
<flag name="gucharmap">Enable gucharmap dictionary plugin</flag> |
148 |
+ <flag name="python">Enable Python integration for zen-coding plugin</flag> |
149 |
+ <flag name="spell">Enable spell checking capabilities via enchant library</flag> |
150 |
</use> |
151 |
</pkgmetadata> |