1 |
commit: 8b136e1e8e395cf6f91d4fb383cd9d1a4b3bf37d |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Apr 22 03:07:09 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Apr 22 03:07:12 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b136e1e |
7 |
|
8 |
app-editors/ted: drop 2.23 (EAPI 5) |
9 |
|
10 |
Closes: https://bugs.gentoo.org/784209 |
11 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
12 |
|
13 |
app-editors/ted/files/ted-2.23-make.patch | 11 ----- |
14 |
app-editors/ted/ted-2.23.ebuild | 74 ------------------------------- |
15 |
2 files changed, 85 deletions(-) |
16 |
|
17 |
diff --git a/app-editors/ted/files/ted-2.23-make.patch b/app-editors/ted/files/ted-2.23-make.patch |
18 |
deleted file mode 100644 |
19 |
index f97093b4764..00000000000 |
20 |
--- a/app-editors/ted/files/ted-2.23-make.patch |
21 |
+++ /dev/null |
22 |
@@ -1,11 +0,0 @@ |
23 |
---- Makefile.orig 2013-04-01 13:24:45.854051804 +0400 |
24 |
-+++ Makefile 2013-04-01 13:25:02.618052336 +0400 |
25 |
-@@ -246,7 +246,7 @@ |
26 |
- : To install Ted, you can now run 'make install' AS ROOT |
27 |
- |
28 |
- package.shared: compile.shared tedPackage/makefile |
29 |
-- cd tedPackage && make package.shared |
30 |
-+ cd tedPackage && $(MAKE) package.shared |
31 |
- : |
32 |
- : Dynamically linked package ready. |
33 |
- : To install Ted, you can now run 'make install' AS ROOT |
34 |
|
35 |
diff --git a/app-editors/ted/ted-2.23.ebuild b/app-editors/ted/ted-2.23.ebuild |
36 |
deleted file mode 100644 |
37 |
index d174bad221e..00000000000 |
38 |
--- a/app-editors/ted/ted-2.23.ebuild |
39 |
+++ /dev/null |
40 |
@@ -1,74 +0,0 @@ |
41 |
-# Copyright 1999-2021 Gentoo Authors |
42 |
-# Distributed under the terms of the GNU General Public License v2 |
43 |
- |
44 |
-EAPI=5 |
45 |
-inherit epatch toolchain-funcs xdg-utils |
46 |
- |
47 |
-DESCRIPTION="X-based rich text editor" |
48 |
-HOMEPAGE="https://www.nllgg.nl/Ted/" |
49 |
-SRC_URI="ftp://ftp.nluug.nl/pub/editors/ted/${P}.src.tar.gz" |
50 |
- |
51 |
-LICENSE="GPL-2" |
52 |
-SLOT="0" |
53 |
-KEYWORDS="amd64 ppc sparc x86" |
54 |
- |
55 |
-RDEPEND="x11-libs/gtk+:2 |
56 |
- media-libs/tiff:= |
57 |
- virtual/jpeg:= |
58 |
- media-libs/libpng:= |
59 |
- x11-libs/libXft |
60 |
- x11-libs/libXpm" |
61 |
-DEPEND="${RDEPEND} |
62 |
- virtual/pkgconfig" |
63 |
- |
64 |
-S="${WORKDIR}/Ted-${PV}" |
65 |
- |
66 |
-src_prepare() { |
67 |
- epatch "${FILESDIR}"/${P}-make.patch \ |
68 |
- "${FILESDIR}"/${P}-freetype261.patch |
69 |
- |
70 |
- sed -i -e 's|/Ted/|/share/Ted/|' \ |
71 |
- "${S}"/appFrame/appFrameConfig.h.in \ |
72 |
- "${S}"/Ted/tedConfig.h.in || die |
73 |
- |
74 |
- # bug #461256 |
75 |
- find . -name makefile.in -exec sed -i -e '/ar r/s/ar/$(AR)/' {} \; || die |
76 |
- |
77 |
- # force to build dynamic binary, do not strip it |
78 |
- sed -i \ |
79 |
- -e 's/.static//g' \ |
80 |
- -e '/strip/d' \ |
81 |
- tedPackage/makefile.in || die 'sed failed on tedPackage/makefile.in' |
82 |
- |
83 |
- # Fix build with freetype-2.5 |
84 |
- sed -i "s|^\(#[ \t]*include[ \t]*<\)freetype/|\1|" appFrame/appFontConfig.c || die |
85 |
- |
86 |
- mkdir lib || die |
87 |
-} |
88 |
- |
89 |
-src_configure() { |
90 |
- tc-export AR CC RANLIB |
91 |
- |
92 |
- local dir |
93 |
- for dir in appFrame appUtil bitmap docBuf ind Ted tedPackage; do |
94 |
- cd "${S}"/${dir} |
95 |
- econf --cache-file=../config.cache |
96 |
- done |
97 |
-} |
98 |
- |
99 |
-src_compile() { |
100 |
- emake package.shared |
101 |
-} |
102 |
- |
103 |
-src_install() { |
104 |
- default |
105 |
- dosym ../share/Ted/examples/rtf2pdf.sh /usr/bin/rtf2pdf.sh |
106 |
-} |
107 |
- |
108 |
-pkg_postinst() { |
109 |
- xdg_desktop_database_update |
110 |
-} |
111 |
- |
112 |
-pkg_postrm() { |
113 |
- xdg_desktop_database_update |
114 |
-} |