Gentoo Archives: gentoo-commits

From: Pacho Ramos <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/birdfont/files/, media-gfx/birdfont/
Date: Fri, 02 Jun 2017 08:43:39
Message-Id: 1496392626.2fb57c0f6f99c7523d5b3099f2db4cdbef6afd93.pacho@gentoo
1 commit: 2fb57c0f6f99c7523d5b3099f2db4cdbef6afd93
2 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jun 2 08:37:06 2017 +0000
4 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
5 CommitDate: Fri Jun 2 08:37:06 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2fb57c0f
7
8 media-gfx/birdfont: Drop old
9
10 Package-Manager: Portage-2.3.6, Repoman-2.3.2
11
12 media-gfx/birdfont/Manifest | 1 -
13 media-gfx/birdfont/birdfont-2.15.5.ebuild | 88 ----------------------
14 .../files/birdfont-2.15.5-configure-valac.patch | 42 -----------
15 3 files changed, 131 deletions(-)
16
17 diff --git a/media-gfx/birdfont/Manifest b/media-gfx/birdfont/Manifest
18 index 521f3b64b63..48d846ac8ad 100644
19 --- a/media-gfx/birdfont/Manifest
20 +++ b/media-gfx/birdfont/Manifest
21 @@ -1,2 +1 @@
22 -DIST birdfont-2.15.5.tar.xz 2257284 SHA256 5bee9dce0b4e0532665d123fb7acea264768cf213ac088a7eb97ec5bd6a622a6 SHA512 f272917e15a7960ae1a462a85542123cfed501986032ace692e654d4806bed75d36b258d7717761a1a864b00b18d7fb412ac5e83f8ea9805d13893e479f0716e WHIRLPOOL 6d784afd5adcd6582a0574d97ce079b128ed5016879087d089404b167a1c8e2b274588a82491c3b8eb739f74531faaf79f192c53b6022791758c0614ec3906d7
23 DIST birdfont-2.18.3.tar.xz 2333612 SHA256 1ef5e4c19f6da423b30a1e33c21b53335c235a6e0a46da86e422f4ebb48bc03d SHA512 c86fff4e40ecfc571e3880cfa99f6adf518daae5476ea1b2a78bab031bc832bc5c8d58ecc928eda4922134fd3ceca312b80cbb8cf2fd35ecb8dc7656addb854e WHIRLPOOL de7d281163f6d668741439f8e452116683ce8a4e928b70a6dcfc9123768d34661c0fddea7ef91fd503ed2ba0be09815a6f666be55def880b068b60336ce5c16e
24
25 diff --git a/media-gfx/birdfont/birdfont-2.15.5.ebuild b/media-gfx/birdfont/birdfont-2.15.5.ebuild
26 deleted file mode 100644
27 index 015dc3c4612..00000000000
28 --- a/media-gfx/birdfont/birdfont-2.15.5.ebuild
29 +++ /dev/null
30 @@ -1,88 +0,0 @@
31 -# Copyright 1999-2016 Gentoo Foundation
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI="5"
35 -
36 -PYTHON_COMPAT=( python{2_7,3_4,3_5} )
37 -PLOCALES="cs de it sv"
38 -
39 -inherit python-any-r1 vala l10n toolchain-funcs multilib eutils multiprocessing
40 -
41 -DESCRIPTION="free font editor which lets you create vector graphics and export TTF, EOT and SVG fonts"
42 -HOMEPAGE="https://birdfont.org/"
43 -SRC_URI="https://birdfont.org/releases/${P}.tar.xz"
44 -
45 -LICENSE="GPL-3"
46 -SLOT="0"
47 -KEYWORDS="~amd64 ~x86"
48 -IUSE="gtk nls"
49 -
50 -RDEPEND="dev-db/sqlite:3
51 - dev-libs/libgee:0.8=
52 - dev-libs/glib:2
53 - media-libs/fontconfig
54 - media-libs/freetype:2
55 - media-libs/libxmlbird
56 - x11-libs/gdk-pixbuf:2
57 - gtk? (
58 - net-libs/libsoup:2.4
59 - net-libs/webkit-gtk:3=
60 - x11-libs/cairo
61 - x11-libs/gdk-pixbuf:2
62 - x11-libs/gtk+:3
63 - x11-libs/libnotify
64 - )"
65 -DEPEND="${RDEPEND}
66 - ${PYTHON_DEPS}
67 - $(python_gen_any_dep 'dev-python/doit[${PYTHON_USEDEP}]')
68 - $(vala_depend)
69 - nls? ( sys-devel/gettext )"
70 -
71 -src_prepare() {
72 - vala_src_prepare
73 -
74 - epatch "${FILESDIR}"/${PN}-2.15.5-configure-valac.patch
75 -
76 - sed -i \
77 - -e "s:pkg-config:$(tc-getPKG_CONFIG):" \
78 - configure dodo.py || die
79 -}
80 -
81 -v() {
82 - echo "$@"
83 - "$@" || die
84 -}
85 -
86 -src_configure() {
87 - # The build scripts glob all po files to see what's available.
88 - # Delete the files for langs we don't want to support.
89 - if use nls ; then
90 - l10n_find_plocales_changes po "" ".po" || die
91 - rm_locale() { rm "po/$1.po" || die ; }
92 - l10n_for_each_disabled_locale_do rm_locale
93 - else
94 - rm po/*.po || die
95 - fi
96 -
97 - v ./configure \
98 - --prefix "${EPREFIX}/usr" \
99 - --gtk $(usex gtk True False) \
100 - --gee gee-0.8 \
101 - --valac "${VALAC}" \
102 - --cc "$(tc-getCC)" \
103 - --cflags "${CFLAGS} ${CPPFLAGS}" \
104 - --ldflags "${LDFLAGS}"
105 -}
106 -
107 -src_compile() {
108 - v doit run -n $(makeopts_jobs)
109 -}
110 -
111 -src_install() {
112 - v ./install.py \
113 - --dest "${D}" \
114 - --nogzip \
115 - --libdir "$(get_libdir)" \
116 - --manpages-directory "/share/man/man1"
117 - dodoc NEWS README.md
118 -}
119
120 diff --git a/media-gfx/birdfont/files/birdfont-2.15.5-configure-valac.patch b/media-gfx/birdfont/files/birdfont-2.15.5-configure-valac.patch
121 deleted file mode 100644
122 index f908c2bf7d6..00000000000
123 --- a/media-gfx/birdfont/files/birdfont-2.15.5-configure-valac.patch
124 +++ /dev/null
125 @@ -1,42 +0,0 @@
126 -taken from upstream
127 -
128 -From b807c200016fefa9dc5f588c1a88ce08bb61381c Mon Sep 17 00:00:00 2001
129 -From: Mike Frysinger <vapier@g.o>
130 -Date: Mon, 16 May 2016 14:01:52 -0400
131 -Subject: [PATCH] configure: respect --valac option
132 -
133 -Make sure we don't still test `valac` when the compiler has been set to
134 -a specific version/path.
135 ----
136 - configure | 6 +++---
137 - 1 file changed, 3 insertions(+), 3 deletions(-)
138 -
139 -diff --git a/configure b/configure
140 -index b0a9277..c66d268 100755
141 ---- a/configure
142 -+++ b/configure
143 -@@ -87,10 +87,10 @@ def has_posixvala ():
144 - print (OKGREEN + 'Using posix profile.' + ENDC)
145 - return 'True'
146 -
147 --def configure(gtk, libbgee):
148 -+def configure(gtk, libbgee, valac):
149 - global gee
150 -
151 -- if not test_program_version ('valac', 0, 16, 0):
152 -+ if not test_program_version(valac, 0, 16, 0):
153 - print (FAIL + 'valac is too old.' + ENDC)
154 - exit (1)
155 -
156 -@@ -203,7 +203,7 @@ if not options.nonnull:
157 - else:
158 - options.nonnull = True
159 -
160 --configure(options.gtk, options.gee)
161 -+configure(options.gtk, options.gee, options.valac)
162 -
163 - configfile.write_config(options.prefix)
164 - configfile.write_compile_parameters(options.prefix,
165 ---
166 -2.8.2
167 -