Gentoo Archives: gentoo-commits

From: "Jakov Smolić" <jsmolic@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/gbdfed/files/, x11-misc/gbdfed/
Date: Sat, 06 Nov 2021 20:34:03
Message-Id: 1636230777.44791088ccbb887a3b11c29baed9d1765987c192.jsmolic@gentoo
1 commit: 44791088ccbb887a3b11c29baed9d1765987c192
2 Author: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
3 AuthorDate: Fri Nov 5 19:08:23 2021 +0000
4 Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
5 CommitDate: Sat Nov 6 20:32:57 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=44791088
7
8 x11-misc/gbdfed: Port to EAPI 8
9
10 Closes: https://bugs.gentoo.org/819159
11 Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>
12
13 x11-misc/gbdfed/files/gbdfed-1.6-makefile.patch | 13 +++++++++++++
14 x11-misc/gbdfed/gbdfed-1.6.ebuild | 21 ++++++++-------------
15 2 files changed, 21 insertions(+), 13 deletions(-)
16
17 diff --git a/x11-misc/gbdfed/files/gbdfed-1.6-makefile.patch b/x11-misc/gbdfed/files/gbdfed-1.6-makefile.patch
18 new file mode 100644
19 index 00000000000..20c8f3856de
20 --- /dev/null
21 +++ b/x11-misc/gbdfed/files/gbdfed-1.6-makefile.patch
22 @@ -0,0 +1,13 @@
23 +--- a/Makefile.in
24 ++++ b/Makefile.in
25 +@@ -27,9 +27,7 @@ MKINSTALLDIRS = ./mkinstalldirs
26 + CC = @CC@
27 + CFLAGS = @XX_CFLAGS@ @CFLAGS@
28 +
29 +-DEFINES = @DEFINES@ -DG_DISABLE_DEPRECATED \
30 +- -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED \
31 +- -DGTK_DISABLE_DEPRECATED
32 ++DEFINES = @DEFINES@
33 +
34 + SRCS = bdf.c \
35 + bdfcons.c \
36
37 diff --git a/x11-misc/gbdfed/gbdfed-1.6.ebuild b/x11-misc/gbdfed/gbdfed-1.6.ebuild
38 index 2166c768e87..3f72a17df64 100644
39 --- a/x11-misc/gbdfed/gbdfed-1.6.ebuild
40 +++ b/x11-misc/gbdfed/gbdfed-1.6.ebuild
41 @@ -1,8 +1,7 @@
42 -# Copyright 1999-2015 Gentoo Foundation
43 +# Copyright 1999-2021 Gentoo Authors
44 # Distributed under the terms of the GNU General Public License v2
45
46 -EAPI=5
47 -inherit eutils
48 +EAPI=8
49
50 DESCRIPTION="gbdfed Bitmap Font Editor"
51 HOMEPAGE="http://sofia.nmsu.edu/~mleisher/Software/gbdfed/"
52 @@ -11,19 +10,15 @@ SRC_URI="http://sofia.nmsu.edu/~mleisher/Software/gbdfed/${P}.tar.bz2"
53 LICENSE="MIT"
54 SLOT="0"
55 KEYWORDS="~amd64 ~x86"
56 -IUSE=""
57
58 -RDEPEND=">=x11-libs/gtk+-2.6:2
59 +RDEPEND="
60 >=media-libs/freetype-2
61 + >=x11-libs/gtk+-2.6:2
62 x11-libs/libX11
63 x11-libs/pango"
64 DEPEND="${RDEPEND}"
65
66 -src_prepare() {
67 - sed "s:-D.*_DISABLE_DEPRECATED::" -i Makefile.in || die #248562
68 -}
69 -
70 -src_install() {
71 - emake DESTDIR="${D}" install
72 - dodoc README NEWS
73 -}
74 +PATCHES=(
75 + # bug 248562
76 + "${FILESDIR}"/${P}-makefile.patch
77 +)