Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-libs/fox/, x11-libs/fox/files/
Date: Thu, 08 Feb 2018 11:33:51
Message-Id: 1518089615.bd38e8b763b5f24b359b98f77ebff93cfaa335d7.asturm@gentoo
1 commit: bd38e8b763b5f24b359b98f77ebff93cfaa335d7
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Thu Feb 8 11:15:33 2018 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Thu Feb 8 11:33:35 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd38e8b7
7
8 x11-libs/fox: Drop old slot 1.7 versions
9
10 Latest version is stable.
11
12 Package-Manager: Portage-2.3.24, Repoman-2.3.6
13
14 x11-libs/fox/Manifest | 2 --
15 x11-libs/fox/files/jpeg-9.patch | 40 ----------------------------
16 x11-libs/fox/fox-1.7.49.ebuild | 59 -----------------------------------------
17 x11-libs/fox/fox-1.7.53.ebuild | 54 -------------------------------------
18 4 files changed, 155 deletions(-)
19
20 diff --git a/x11-libs/fox/Manifest b/x11-libs/fox/Manifest
21 index 455630b4ffd..1b028dabe83 100644
22 --- a/x11-libs/fox/Manifest
23 +++ b/x11-libs/fox/Manifest
24 @@ -1,5 +1,3 @@
25 DIST fox-1.6.49.tar.gz 4383152 BLAKE2B a3d626786086e6b46fc82ce4396bd42d060c234cedf8c182257406de4714c29aae64568bc00a3ad794848eb2faff1a904600f82e4815e9145bcfa87e09390ff2 SHA512 cd7dd5fd26bcdde6ed69d547e2b08582f0e88b66b6f1bac9b5cd2279b543edbf5b9a63cc2ed05f1a1fd7e7309ede96404cf7a5d2d8eb8763dc0fb41d613b0ee8
26 DIST fox-1.6.50.tar.gz 4381855 BLAKE2B eef3bd77d6343a65adf4bcc3a59690b1d47d1e92faf81b01a347aa4fdc46053ab17d05ce4016fd147ee64b66c8e582754536c895b87d3c3e073e45435ab9d4ff SHA512 195751d223e9af7d76a3bd3192ae7566a129cfe254f0ba3035b4f7e189c68b43daa8276edad95ebf2b1b403b6212a755000eebf1716a11bb7f06845fde4aceae
27 -DIST fox-1.7.49.tar.gz 5336321 BLAKE2B 0fc905c77bcf32783a04b573a18ef79b9017e92126028bf7ec344fc388d3935fabab3d988787c08ea26e2783eb81418d84168e1c1eb733297624a0169a5b45f7 SHA512 da6c3478370f1e72091675e49f8458a6722eca4735bf89052b2b7ef02f4e74ee41f10c9fcc39a24a1571dd0bb1cdf779e9dea5bf15be20722ca783c9d59eb6e9
28 -DIST fox-1.7.53.tar.gz 5366794 BLAKE2B 166c2b0a59ad39c6749bed443ae7258193096c10d96fa3ad5ddfdf8732a0bc589b786812b7cdc51d23bc825dce5688cc237557e4f50a17c61e9d4328d33d7dab SHA512 835117497e48fe66790be6e985bb8ef80ae1b34966585355b0d72f907863610de9d89792062ae91297488f0e24e77c08102afe253a59e67ca65a071b2a5890c4
29 DIST fox-1.7.54.tar.gz 5384000 BLAKE2B 8970872d1c626d7ac5b0f944e8ea26a29bb757e4c646116016eaa1eccc2c0328c5047438e87fb6c2deab0a65e2b34cc91e8458150329a3e574e93608694a2dec SHA512 cf14a09f9a6a812ac87839a5df8fd68f693e59050695e8da5dbfe018676f29bc263e4f9208dc06419068e4140b826a0dcf70a8925fec379edf3e4d0d0b693795
30
31 diff --git a/x11-libs/fox/files/jpeg-9.patch b/x11-libs/fox/files/jpeg-9.patch
32 deleted file mode 100644
33 index 8075f03251c..00000000000
34 --- a/x11-libs/fox/files/jpeg-9.patch
35 +++ /dev/null
36 @@ -1,40 +0,0 @@
37 ---- a/lib/fxjpegio.cpp
38 -+++ b/lib/fxjpegio.cpp
39 -@@ -138,7 +138,7 @@
40 - src->pub.next_input_byte=src->buffer;
41 - src->pub.bytes_in_buffer=1;
42 - }
43 -- return true;
44 -+ return TRUE;
45 - }
46 -
47 -
48 -@@ -216,7 +216,7 @@
49 - srcinfo.src=&src.pub;
50 -
51 - // read the header from the jpg;
52 -- jpeg_read_header(&srcinfo,true);
53 -+ jpeg_read_header(&srcinfo,TRUE);
54 -
55 - // make sure the output is RGB
56 - srcinfo.out_color_space=JCS_RGB;
57 -@@ -279,7 +279,7 @@
58 - dest->stream->save(dest->buffer,JPEG_BUFFER_SIZE);
59 - dest->pub.free_in_buffer=JPEG_BUFFER_SIZE;
60 - dest->pub.next_output_byte=dest->buffer;
61 -- return true;
62 -+ return TRUE;
63 - }
64 -
65 -
66 -@@ -336,8 +336,8 @@
67 - dstinfo.dest=&dst.pub;
68 -
69 - jpeg_set_defaults(&dstinfo);
70 -- jpeg_set_quality(&dstinfo,quality,true);
71 -- jpeg_start_compress(&dstinfo,true);
72 -+ jpeg_set_quality(&dstinfo,quality,TRUE);
73 -+ jpeg_start_compress(&dstinfo,TRUE);
74 -
75 - // Write the jpeg data
76 - pp=data;
77
78 diff --git a/x11-libs/fox/fox-1.7.49.ebuild b/x11-libs/fox/fox-1.7.49.ebuild
79 deleted file mode 100644
80 index 9350cae9bbe..00000000000
81 --- a/x11-libs/fox/fox-1.7.49.ebuild
82 +++ /dev/null
83 @@ -1,59 +0,0 @@
84 -# Copyright 1999-2017 Gentoo Foundation
85 -# Distributed under the terms of the GNU General Public License v2
86 -
87 -EAPI=5
88 -
89 -inherit fox
90 -
91 -LICENSE="LGPL-2.1"
92 -SLOT="1.7"
93 -KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ppc ~ppc64 ~sparc x86"
94 -IUSE="+bzip2 +jpeg +opengl +png tiff +truetype +zlib"
95 -
96 -# newish autoconf needed for working mmap check
97 -RDEPEND="x11-libs/libXrandr
98 - x11-libs/libXcursor
99 - x11-libs/fox-wrapper
100 - >=sys-devel/autoconf-2.67
101 - bzip2? ( app-arch/bzip2 )
102 - jpeg? ( virtual/jpeg )
103 - opengl? ( virtual/glu virtual/opengl )
104 - png? ( media-libs/libpng )
105 - tiff? ( media-libs/tiff )
106 - truetype? ( media-libs/freetype:2
107 - x11-libs/libXft )
108 - zlib? ( sys-libs/zlib )"
109 -DEPEND="${RDEPEND}
110 - x11-proto/xextproto
111 - x11-libs/libXt"
112 -
113 -src_prepare() {
114 - fox_src_prepare
115 - epatch "${FILESDIR}/jpeg-9.patch"
116 -}
117 -
118 -src_configure() {
119 - FOXCONF="$(use_enable bzip2 bz2lib) \
120 - $(use_enable jpeg) \
121 - $(use_with opengl) \
122 - $(use_enable png) \
123 - $(use_enable tiff) \
124 - $(use_with truetype xft) \
125 - $(use_enable zlib)" fox_src_configure
126 -}
127 -
128 -src_install() {
129 - fox_src_install
130 - CP="${ED}/usr/bin/ControlPanel"
131 - if [[ -f ${CP} ]] ; then
132 - mv "${CP}" "${ED}/usr/bin/fox-ControlPanel-${SLOT}" || \
133 - die "Failed to install ControlPanel"
134 - fi
135 -}
136 -
137 -pkg_postinst() {
138 - fox_pkg_postinst
139 -
140 - einfo "ControlPanel has been installed to 'fox-ControlPanel-${SLOT}' to avoid conflicts"
141 - einfo "with other packages."
142 -}
143
144 diff --git a/x11-libs/fox/fox-1.7.53.ebuild b/x11-libs/fox/fox-1.7.53.ebuild
145 deleted file mode 100644
146 index e381f53882d..00000000000
147 --- a/x11-libs/fox/fox-1.7.53.ebuild
148 +++ /dev/null
149 @@ -1,54 +0,0 @@
150 -# Copyright 1999-2017 Gentoo Foundation
151 -# Distributed under the terms of the GNU General Public License v2
152 -
153 -EAPI=5
154 -
155 -inherit fox
156 -
157 -LICENSE="LGPL-2.1"
158 -SLOT="1.7"
159 -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
160 -IUSE="+bzip2 +jpeg +opengl +png tiff +truetype +zlib"
161 -
162 -# newish autoconf needed for working mmap check
163 -RDEPEND="x11-libs/libXrandr
164 - x11-libs/libXcursor
165 - x11-libs/fox-wrapper
166 - >=sys-devel/autoconf-2.67
167 - bzip2? ( app-arch/bzip2 )
168 - jpeg? ( virtual/jpeg:= )
169 - opengl? ( virtual/glu virtual/opengl )
170 - png? ( media-libs/libpng:0= )
171 - tiff? ( media-libs/tiff:0= )
172 - truetype? ( media-libs/freetype:2
173 - x11-libs/libXft )
174 - zlib? ( sys-libs/zlib )"
175 -DEPEND="${RDEPEND}
176 - x11-proto/xextproto
177 - x11-libs/libXt"
178 -
179 -src_configure() {
180 - FOXCONF="$(use_enable bzip2 bz2lib) \
181 - $(use_enable jpeg) \
182 - $(use_with opengl) \
183 - $(use_enable png) \
184 - $(use_enable tiff) \
185 - $(use_with truetype xft) \
186 - $(use_enable zlib)" fox_src_configure
187 -}
188 -
189 -src_install() {
190 - fox_src_install
191 - CP="${ED}/usr/bin/ControlPanel"
192 - if [[ -f ${CP} ]] ; then
193 - mv "${CP}" "${ED}/usr/bin/fox-ControlPanel-${SLOT}" || \
194 - die "Failed to install ControlPanel"
195 - fi
196 -}
197 -
198 -pkg_postinst() {
199 - fox_pkg_postinst
200 -
201 - einfo "ControlPanel has been installed to 'fox-ControlPanel-${SLOT}' to avoid conflicts"
202 - einfo "with other packages."
203 -}