Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-editors/bluefish/
Date: Tue, 02 Feb 2021 23:51:44
Message-Id: 1612309894.9144ca6c13c0255c9a9b9c8602aa8a82caae288c.sam@gentoo
1 commit: 9144ca6c13c0255c9a9b9c8602aa8a82caae288c
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Tue Feb 2 23:51:34 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Tue Feb 2 23:51:34 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9144ca6c
7
8 app-editors/bluefish: cleanup old
9
10 Package-Manager: Portage-3.0.14, Repoman-3.0.2
11 Signed-off-by: Sam James <sam <AT> gentoo.org>
12
13 app-editors/bluefish/Manifest | 1 -
14 app-editors/bluefish/bluefish-2.2.10.ebuild | 105 ----------------------------
15 2 files changed, 106 deletions(-)
16
17 diff --git a/app-editors/bluefish/Manifest b/app-editors/bluefish/Manifest
18 index ce963709013..91678c89959 100644
19 --- a/app-editors/bluefish/Manifest
20 +++ b/app-editors/bluefish/Manifest
21 @@ -1,2 +1 @@
22 -DIST bluefish-2.2.10.tar.bz2 4159964 BLAKE2B 94210df4f9cf0abb46fa26612e1b64550f5970c72584b683779f5bcaf921a8925c6275c647125f73990e99a0175e3c92c0cc286590fbd08e938c6fd1d8c32cef SHA512 ddfad4c595d371dfd7ca5551c1771c2d82dbffcc90acda31bbd2a048730e24e2d1e37fbe847e5005d96acefdf5f38cb93785d23817e59624ecd7ea10bfbc3aeb
23 DIST bluefish-2.2.12.tar.bz2 4180228 BLAKE2B 9e05a4618c37951da6a669e9bd4e0dd7e9993ea764dd467f875039b28cdc6d71ae70d1a87df7f0c63f850ebbff6ceeb8550d1d036bab32b7435f362d5b137147 SHA512 f0eb6496d371db8a9b4aee33ddf67e5e87bcc86ff283704cac115be7f00609b1ccbd47ff2d8f8b0bc30f234a339069cc1f7cb1f8809d97f94f0b0e09e4f16754
24
25 diff --git a/app-editors/bluefish/bluefish-2.2.10.ebuild b/app-editors/bluefish/bluefish-2.2.10.ebuild
26 deleted file mode 100644
27 index 324637670ba..00000000000
28 --- a/app-editors/bluefish/bluefish-2.2.10.ebuild
29 +++ /dev/null
30 @@ -1,105 +0,0 @@
31 -# Copyright 1999-2020 Gentoo Authors
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI=6
35 -
36 -inherit autotools gnome2-utils xdg-utils
37 -
38 -MY_P=${P/_/-}
39 -
40 -DESCRIPTION="A GTK HTML editor for the experienced web designer or programmer"
41 -SRC_URI="http://www.bennewitz.com/bluefish/stable/source/${MY_P}.tar.bz2"
42 -HOMEPAGE="http://bluefish.openoffice.nl/"
43 -
44 -LICENSE="GPL-2"
45 -KEYWORDS="~alpha amd64 ~ia64 ~ppc ~ppc64 ~sparc x86"
46 -SLOT="0"
47 -IUSE="+gtk3 gucharmap nls spell"
48 -
49 -RDEPEND="
50 - sys-libs/zlib
51 - !gtk3? ( x11-libs/gtk+:2 )
52 - gtk3? (
53 - x11-libs/gtk+:3
54 - gucharmap? ( gnome-extra/gucharmap:2.90 )
55 - )
56 - spell? ( >=app-text/enchant-1.4:0 )"
57 -DEPEND="${RDEPEND}
58 - dev-libs/libxml2:2
59 - >=dev-libs/glib-2.24:2
60 - virtual/pkgconfig
61 - x11-libs/pango
62 - nls? (
63 - sys-devel/gettext
64 - dev-util/intltool
65 - )"
66 -
67 -S="${WORKDIR}/${MY_P}"
68 -
69 -# there actually is just some broken manpage checkup -> not bother
70 -RESTRICT="test"
71 -
72 -pkg_setup() {
73 - if ! use gtk3 && use gucharmap ; then
74 - ewarn "gucharmap USE flag requires the gtk3 USE flag being enabled."
75 - ewarn "Disabling charmap plugin."
76 - fi
77 -}
78 -
79 -PATCHES=(
80 - "${FILESDIR}/${PN}-2.2.9-charmap_configure.patch"
81 -)
82 -
83 -# eautoreconf seems to no longer kill translation files.
84 -src_prepare() {
85 - default
86 - eautoreconf
87 - sed -i 's:gzip -n $< -c:gzip -n -c $<:' data/bflib/Makefile.* || die "Cannot fix makefile"
88 -}
89 -
90 -src_configure() {
91 - econf \
92 - --disable-update-databases \
93 - --disable-xml-catalog-update \
94 - $(use_with !gtk3 gtk2) \
95 - $(usex gtk3 "$(use_with gucharmap charmap)" '--without-charmap') \
96 - $(use_enable nls) \
97 - $(use_enable spell spell-check) \
98 - --disable-python
99 -}
100 -
101 -src_install() {
102 - default
103 - find "${ED}" -name '*.la' -delete || die
104 -}
105 -
106 -pkg_preinst() {
107 - gnome2_icon_savelist
108 -}
109 -
110 -pkg_postinst() {
111 - gnome2_icon_cache_update
112 - xdg_desktop_database_update
113 - xdg_mimeinfo_database_update
114 -
115 - einfo "Adding XML catalog entries..."
116 - /usr/bin/xmlcatalog --noout \
117 - --add 'public' 'Bluefish/DTD/Bflang' 'bflang.dtd' \
118 - --add 'system' 'http://bluefish.openoffice.nl/DTD/bflang.dtd' 'bflang.dtd' \
119 - --add 'rewriteURI' 'http://bluefish.openoffice.nl/DTD' '/usr/share/xml/bluefish-unstable' \
120 - /etc/xml/catalog \
121 - || ewarn "Failed to add XML catalog entries."
122 -}
123 -
124 -pkg_postrm() {
125 - gnome2_icon_cache_update
126 - xdg_desktop_database_update
127 - xdg_mimeinfo_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 -}