1 |
commit: 2b77f2a046e97787bb11bf25defb2e8533164c19 |
2 |
Author: Viorel Munteanu <ceamac.paragon <AT> gmail <DOT> com> |
3 |
AuthorDate: Mon May 24 16:58:41 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon May 31 08:16:41 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b77f2a0 |
7 |
|
8 |
media-gfx/xpaint: drop 2.10.2 |
9 |
|
10 |
3.1.3 is stable |
11 |
Bug: https://bugs.gentoo.org/791388 |
12 |
Package-Manager: Portage-3.0.18, Repoman-3.0.2 |
13 |
Signed-off-by: Viorel Munteanu <ceamac.paragon <AT> gmail.com> |
14 |
Closes: https://github.com/gentoo/gentoo/pull/20969 |
15 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
16 |
|
17 |
media-gfx/xpaint/Manifest | 1 - |
18 |
.../xpaint/files/xpaint-2.10.2-libtool-clang.patch | 13 ---- |
19 |
.../files/xpaint-2.10.2-respect-ldflags.patch | 18 ----- |
20 |
media-gfx/xpaint/xpaint-2.10.2-r1.ebuild | 88 ---------------------- |
21 |
4 files changed, 120 deletions(-) |
22 |
|
23 |
diff --git a/media-gfx/xpaint/Manifest b/media-gfx/xpaint/Manifest |
24 |
index c9cb55e12c3..1b59012a7db 100644 |
25 |
--- a/media-gfx/xpaint/Manifest |
26 |
+++ b/media-gfx/xpaint/Manifest |
27 |
@@ -1,2 +1 @@ |
28 |
-DIST xpaint-2.10.2.tar.bz2 1891925 BLAKE2B 056ef057357a2441c8a286adf326a98650e5e0905ee07c5ef24b0689dbb57247711c44b63211494e4ca9e44429d6237c017f53e2690f99790fa6100e4ce4d118 SHA512 a25aa940931c686e86cbc2bd8d6fd3c80d2c793a20d7a2dd90fb5cba1cd360b5e1c8433bf0d639e2b86cb2a74040be373f732c4617909aaf8c5ada2624ab5614 |
29 |
DIST xpaint-3.1.3.tar.bz2 1656489 BLAKE2B c6f5ed4a6c990dccacc572c834fabf68a16cacfde477915e5c3598a96335a899344d4375a48e6bf06fb601e9b260a11cc2b43afb404a83b9fb7b3044288ce1fa SHA512 8ef15d6af4b65d9da18d3e5eb9eacc0b42e718d069e20de91f2e0352b642d0a4b7626a2008fdd6217c0668ed1ecdc7a09c4a993a6074c77b7899b4613c1c4bda |
30 |
|
31 |
diff --git a/media-gfx/xpaint/files/xpaint-2.10.2-libtool-clang.patch b/media-gfx/xpaint/files/xpaint-2.10.2-libtool-clang.patch |
32 |
deleted file mode 100644 |
33 |
index d6a3dab0783..00000000000 |
34 |
--- a/media-gfx/xpaint/files/xpaint-2.10.2-libtool-clang.patch |
35 |
+++ /dev/null |
36 |
@@ -1,13 +0,0 @@ |
37 |
-libtool doesn't work if compiling with clang. Need to add --tag=CC |
38 |
-See bug https://bugs.gentoo.org/731010 |
39 |
---- a/xpaintrw/Makefile.am |
40 |
-+++ b/xpaintrw/Makefile.am |
41 |
-@@ -25,7 +25,7 @@ |
42 |
- |
43 |
- xpaint_DEFINES = $(ARCH_DEFINES) $(EXTRA_DEFINES) $(XAWLIB_DEFINES) |
44 |
- |
45 |
--LIBTOOL = /usr/bin/libtool |
46 |
-+LIBTOOL = /usr/bin/libtool --tag=CC |
47 |
- AM_CFLAGS = @X_CFLAGS@ @SPECIAL_CFLAGS@ $(xpaint_DEFINES) |
48 |
- AM_YFLAGS = -d |
49 |
- CLEANFILES = |
50 |
|
51 |
diff --git a/media-gfx/xpaint/files/xpaint-2.10.2-respect-ldflags.patch b/media-gfx/xpaint/files/xpaint-2.10.2-respect-ldflags.patch |
52 |
deleted file mode 100644 |
53 |
index 11a0b0e9a84..00000000000 |
54 |
--- a/media-gfx/xpaint/files/xpaint-2.10.2-respect-ldflags.patch |
55 |
+++ /dev/null |
56 |
@@ -1,18 +0,0 @@ |
57 |
-The original Makefile did not pass CFLAGS and LDFLAGS |
58 |
-See bug https://bugs.gentoo.org/727632 |
59 |
-Also remove -O3 and stripping, leave portage control that |
60 |
---- a/util/Makefile |
61 |
-+++ b/util/Makefile |
62 |
-@@ -10,10 +10,10 @@ |
63 |
- endif |
64 |
- |
65 |
- pdfconcat: |
66 |
-- $(CC) $(CFLAGS) -O3 -s -DNDEBUG=1 -DNO_CONFIG=1 -ansi -pedantic -Wunused -Wall -W -Wstrict-prototypes -Wtraditional -Wnested-externs -Winline -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wmissing-prototypes -Wmissing-declarations pdfconcat.c -o pdfconcat |
67 |
-+ $(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -DNDEBUG=1 -DNO_CONFIG=1 -ansi -pedantic -Wunused -Wall -W -Wstrict-prototypes -Wtraditional -Wnested-externs -Winline -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wmissing-prototypes -Wmissing-declarations pdfconcat.c -o pdfconcat |
68 |
- |
69 |
- ppmtops: |
70 |
-- $(CC) $(CFLAGS) ppmtops.c -o ppmtops |
71 |
-+ $(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) ppmtops.c -o ppmtops |
72 |
- |
73 |
- ifneq ($(WITH_PGF),no) |
74 |
- pgf2pnm: main.cpp pnm.cpp |
75 |
|
76 |
diff --git a/media-gfx/xpaint/xpaint-2.10.2-r1.ebuild b/media-gfx/xpaint/xpaint-2.10.2-r1.ebuild |
77 |
deleted file mode 100644 |
78 |
index 425586764ea..00000000000 |
79 |
--- a/media-gfx/xpaint/xpaint-2.10.2-r1.ebuild |
80 |
+++ /dev/null |
81 |
@@ -1,88 +0,0 @@ |
82 |
-# Copyright 1999-2021 Gentoo Authors |
83 |
-# Distributed under the terms of the GNU General Public License v2 |
84 |
- |
85 |
-EAPI=7 |
86 |
- |
87 |
-inherit autotools desktop toolchain-funcs |
88 |
- |
89 |
-DESCRIPTION="Image editor with tiff, jpeg and png support" |
90 |
-HOMEPAGE="http://sf-xpaint.sourceforge.net/" |
91 |
-SRC_URI="mirror://sourceforge/sf-xpaint/${P}.tar.bz2" |
92 |
- |
93 |
-LICENSE="GPL-3" |
94 |
-SLOT="0" |
95 |
-KEYWORDS="amd64 x86" |
96 |
-IUSE="pgf tiff" |
97 |
-# jpeg2k disabled for blocking media-libs/openjpeg:0 security cleanup, bug 735592 |
98 |
- |
99 |
-RDEPEND=" |
100 |
- media-libs/fontconfig |
101 |
- media-libs/freetype:2 |
102 |
- media-libs/libjpeg-turbo:= |
103 |
- media-libs/libpng:0= |
104 |
- x11-libs/libICE |
105 |
- x11-libs/libX11 |
106 |
- >=x11-libs/libXaw3dXft-1.6.2c[unicode] |
107 |
- x11-libs/libXext |
108 |
- x11-libs/libXft |
109 |
- x11-libs/libXmu |
110 |
- x11-libs/libXpm |
111 |
- x11-libs/libXt |
112 |
- sys-libs/zlib |
113 |
- pgf? ( media-libs/libpgf ) |
114 |
- tiff? ( |
115 |
- media-libs/jbigkit:0= |
116 |
- media-libs/tiff:0 |
117 |
- ) |
118 |
-" |
119 |
-DEPEND="${RDEPEND}" |
120 |
-BDEPEND=" |
121 |
- sys-devel/bison |
122 |
- sys-devel/flex |
123 |
- sys-devel/libtool |
124 |
- virtual/pkgconfig |
125 |
-" |
126 |
- |
127 |
-PATCHES=( |
128 |
- "${FILESDIR}"/${P}-libtool-clang.patch |
129 |
- "${FILESDIR}"/${P}-respect-ldflags.patch |
130 |
-) |
131 |
- |
132 |
-src_prepare() { |
133 |
- default |
134 |
- eautoreconf |
135 |
-} |
136 |
- |
137 |
-src_configure() { |
138 |
- econf \ |
139 |
- $(use_enable tiff) \ |
140 |
- --disable-libopenjpeg |
141 |
-} |
142 |
- |
143 |
-src_compile() { |
144 |
- # clean up |
145 |
- emake clean |
146 |
- emake -C util clean |
147 |
- |
148 |
- # parallel make still fails sometimes |
149 |
- emake substads |
150 |
- emake xpaint.1 |
151 |
- |
152 |
- default |
153 |
- emake \ |
154 |
- WITH_PGF="$(usex pgf "yes" "no")" \ |
155 |
- CC="$(tc-getCC)" \ |
156 |
- CXX="$(tc-getCXX)" \ |
157 |
- -C util |
158 |
-} |
159 |
- |
160 |
-src_install() { |
161 |
- default |
162 |
- emake \ |
163 |
- WITH_PGF="$(usex pgf "yes" "no")" \ |
164 |
- DESTDIR="${ED}" \ |
165 |
- -C util install |
166 |
- doicon icons/xpaint.svg |
167 |
- make_desktop_entry "${PN}" |
168 |
- find "${ED}" \( -name '*.la' -o -name '*.a' \) -type f -delete || die |
169 |
-} |