1 |
commit: b76a52aa2a2db0ed0f472c72f4c1078f1159da34 |
2 |
Author: Amy Liffey <amynka <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jul 19 05:08:28 2017 +0000 |
4 |
Commit: Amy Liffey <amynka <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jul 19 05:08:28 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b76a52aa |
7 |
|
8 |
app-editors/bluefish: version bump 2.2.10 bug #619734 |
9 |
|
10 |
Submitted-by: Kristoffer Bernssen <krizoek <AT> gmail.com> |
11 |
|
12 |
Package-Manager: Portage-2.3.6, Repoman-2.3.1 |
13 |
|
14 |
app-editors/bluefish/Manifest | 1 + |
15 |
app-editors/bluefish/bluefish-2.2.10.ebuild | 107 ++++++++++++++++++++++++++++ |
16 |
2 files changed, 108 insertions(+) |
17 |
|
18 |
diff --git a/app-editors/bluefish/Manifest b/app-editors/bluefish/Manifest |
19 |
index 3b2a5d78c78..0b82515248c 100644 |
20 |
--- a/app-editors/bluefish/Manifest |
21 |
+++ b/app-editors/bluefish/Manifest |
22 |
@@ -1,3 +1,4 @@ |
23 |
+DIST bluefish-2.2.10.tar.bz2 4159964 SHA256 afeca12b693bb58e30c2199e6a21cc06da02d88e0ac9d08b7a231a9c8e7c3eb2 SHA512 ddfad4c595d371dfd7ca5551c1771c2d82dbffcc90acda31bbd2a048730e24e2d1e37fbe847e5005d96acefdf5f38cb93785d23817e59624ecd7ea10bfbc3aeb WHIRLPOOL bdc8153cb851b4083048799244d9964b06964d4da55ac79c5cfed665a5e118c9575b1b22e324476574e3cd03e03eafd01b440be74f4c3716365e76ce03d8b6b9 |
24 |
DIST bluefish-2.2.6.tar.bz2 3793018 SHA256 54c2892c317eb2287c9fb0a3e29c3f19bef51d9ab0353bfb158e52a1cdae4216 SHA512 39dee296ec6bbe1a946f9fb1c54e7143363da4bb6ce52aee14c9bef906d2eb82e5e58f78680810357c0bfcb11c21f982756a9199fec2f454c2816005a4d9d83e WHIRLPOOL b0847ea74fdc388e9ddccf1a23e8802379d149b85c5010ff9a64b3e061b0c1999e1f1a5872404b8bad2b0024fcdb09db964dae2177092d770f56aca50628d146 |
25 |
DIST bluefish-2.2.8.tar.bz2 4097769 SHA256 32578f955cee3f43e5b3a86e2588e6a679df94438b21dcbe38e3c82282745000 SHA512 0450909feb2370c1c84a214744f103bfe891086ba5f3ccc85060b4e134ee2161c3fde641720a3544a4d71c25f120a35925517cee4ffce6e2f07c778baa2cc5c1 WHIRLPOOL 0253e2176d68033c57db2ea1ec67c8e154722835652fe792e218a9430832ad40f67c360fc03f03e7317cda5d0fff7e83437cfd8543d58dbaf7b663ee4f68a77f |
26 |
DIST bluefish-2.2.9.tar.bz2 4082978 SHA256 5b717b563325bc6c2b6cb2700323c93eb08f914f204b322241d21744a079f7d0 SHA512 ef644b37907d308b908d508ad00069e48343cd240ca7703a20b4498eda73be1a97a6c07598f6e51d4fb1c0f2a380c86a274ccbbe046da01db6c4641e41e268ae WHIRLPOOL 4e03efbc1fef3b8064e042b8532f96cafdc95ba6350b86f2b7928b93ac11bde329a16822f71bb50912c8e27a75349e8768be89e14fa5186912a5f1a13eb4d14d |
27 |
|
28 |
diff --git a/app-editors/bluefish/bluefish-2.2.10.ebuild b/app-editors/bluefish/bluefish-2.2.10.ebuild |
29 |
new file mode 100644 |
30 |
index 00000000000..7247ae901c8 |
31 |
--- /dev/null |
32 |
+++ b/app-editors/bluefish/bluefish-2.2.10.ebuild |
33 |
@@ -0,0 +1,107 @@ |
34 |
+# Copyright 1999-2017 Gentoo Foundation |
35 |
+# Distributed under the terms of the GNU General Public License v2 |
36 |
+ |
37 |
+EAPI=6 |
38 |
+ |
39 |
+PYTHON_COMPAT=( python2_7 ) |
40 |
+ |
41 |
+inherit autotools eutils fdo-mime python-single-r1 |
42 |
+ |
43 |
+MY_P=${P/_/-} |
44 |
+ |
45 |
+DESCRIPTION="A GTK HTML editor for the experienced web designer or programmer" |
46 |
+SRC_URI="http://www.bennewitz.com/bluefish/stable/source/${MY_P}.tar.bz2" |
47 |
+HOMEPAGE="http://bluefish.openoffice.nl/" |
48 |
+ |
49 |
+LICENSE="GPL-2" |
50 |
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
51 |
+SLOT="0" |
52 |
+IUSE="+gtk3 gucharmap nls python spell" |
53 |
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" |
54 |
+ |
55 |
+RDEPEND=" |
56 |
+ gnome-extra/gucharmap:2.90 |
57 |
+ sys-libs/zlib |
58 |
+ !gtk3? ( x11-libs/gtk+:2 ) |
59 |
+ gtk3? ( |
60 |
+ x11-libs/gtk+:3 |
61 |
+ gucharmap? ( gnome-extra/gucharmap:2.90 ) |
62 |
+ ) |
63 |
+ python? ( ${PYTHON_DEPS} ) |
64 |
+ spell? ( app-text/enchant )" |
65 |
+DEPEND="${RDEPEND} |
66 |
+ dev-libs/libxml2:2 |
67 |
+ >=dev-libs/glib-2.24:2 |
68 |
+ virtual/pkgconfig |
69 |
+ x11-libs/pango |
70 |
+ nls? ( |
71 |
+ sys-devel/gettext |
72 |
+ dev-util/intltool |
73 |
+ )" |
74 |
+ |
75 |
+S="${WORKDIR}/${MY_P}" |
76 |
+ |
77 |
+# there actually is just some broken manpage checkup -> not bother |
78 |
+RESTRICT="test" |
79 |
+ |
80 |
+pkg_setup() { |
81 |
+ if ! use gtk3 && use gucharmap ; then |
82 |
+ ewarn "gucharmap USE flag requires the gtk3 USE flag being enabled." |
83 |
+ ewarn "Disabling charmap plugin." |
84 |
+ fi |
85 |
+ |
86 |
+ use python && python-single-r1_pkg_setup |
87 |
+} |
88 |
+ |
89 |
+PATCHES=( |
90 |
+ "${FILESDIR}/${PN}-2.2.9-charmap_configure.patch" |
91 |
+) |
92 |
+ |
93 |
+# eautoreconf seems to no longer kill translation files. |
94 |
+src_prepare() { |
95 |
+ default |
96 |
+ eautoreconf |
97 |
+ sed -i 's:gzip -n $< -c:gzip -n -c $<:' data/bflib/Makefile.* || die "Cannot fix makefile" |
98 |
+} |
99 |
+ |
100 |
+src_configure() { |
101 |
+ econf \ |
102 |
+ --disable-dependency-tracking \ |
103 |
+ --disable-update-databases \ |
104 |
+ --disable-xml-catalog-update \ |
105 |
+ $(use_with !gtk3 gtk2) \ |
106 |
+ $(usex gtk3 "$(use_with gucharmap charmap)" '--without-charmap') \ |
107 |
+ $(use_enable nls) \ |
108 |
+ $(use_enable spell spell-check) \ |
109 |
+ $(use_enable python) |
110 |
+} |
111 |
+ |
112 |
+src_install() { |
113 |
+ default |
114 |
+ prune_libtool_files |
115 |
+} |
116 |
+ |
117 |
+pkg_postinst() { |
118 |
+ fdo-mime_desktop_database_update |
119 |
+ fdo-mime_mime_database_update |
120 |
+ |
121 |
+ einfo "Adding XML catalog entries..." |
122 |
+ /usr/bin/xmlcatalog --noout \ |
123 |
+ --add 'public' 'Bluefish/DTD/Bflang' 'bflang.dtd' \ |
124 |
+ --add 'system' 'http://bluefish.openoffice.nl/DTD/bflang.dtd' 'bflang.dtd' \ |
125 |
+ --add 'rewriteURI' 'http://bluefish.openoffice.nl/DTD' '/usr/share/xml/bluefish-unstable' \ |
126 |
+ /etc/xml/catalog \ |
127 |
+ || ewarn "Failed to add XML catalog entries." |
128 |
+} |
129 |
+ |
130 |
+pkg_postrm() { |
131 |
+ fdo-mime_desktop_database_update |
132 |
+ fdo-mime_mime_database_update |
133 |
+ einfo "Removing XML catalog entries..." |
134 |
+ /usr/bin/xmlcatalog --noout \ |
135 |
+ --del 'Bluefish/DTD/Bflang' \ |
136 |
+ --del 'http://bluefish.openoffice.nl/DTD/bflang.dtd' \ |
137 |
+ --del 'http://bluefish.openoffice.nl/DTD' \ |
138 |
+ /etc/xml/catalog \ |
139 |
+ || ewarn "Failed to remove XML catalog entries." |
140 |
+} |