Gentoo Archives: gentoo-commits

From: Ryan Hill <rhill@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-editors/wxhexeditor/files/, app-editors/wxhexeditor/
Date: Mon, 14 Dec 2015 23:34:17
Message-Id: 1450136283.268cc759a217c912551369dc6189982b4afa008d.rhill@gentoo
1 commit: 268cc759a217c912551369dc6189982b4afa008d
2 Author: Ryan Hill <rhill <AT> gentoo <DOT> org>
3 AuthorDate: Mon Dec 14 23:38:03 2015 +0000
4 Commit: Ryan Hill <rhill <AT> gentoo <DOT> org>
5 CommitDate: Mon Dec 14 23:38:03 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=268cc759
7
8 app-editors/wxhexeditor: Remove old.
9
10 Package-Manager: portage-2.2.26
11 Signed-off-by: Ryan Hill <rhill <AT> gentoo.org>
12
13 app-editors/wxhexeditor/Manifest | 2 -
14 .../files/wxhexeditor-0.20-makefile.patch | 108 ---------------------
15 .../wxhexeditor-0.21-desktop-validation.patch | 17 ----
16 .../files/wxhexeditor-0.21-makefile.patch | 107 --------------------
17 app-editors/wxhexeditor/wxhexeditor-0.20.ebuild | 35 -------
18 app-editors/wxhexeditor/wxhexeditor-0.21.ebuild | 38 --------
19 6 files changed, 307 deletions(-)
20
21 diff --git a/app-editors/wxhexeditor/Manifest b/app-editors/wxhexeditor/Manifest
22 index a757244..692e74d 100644
23 --- a/app-editors/wxhexeditor/Manifest
24 +++ b/app-editors/wxhexeditor/Manifest
25 @@ -1,4 +1,2 @@
26 -DIST wxHexEditor-v0.20-src.tar.bz2 1194554 SHA256 a3dda32eb62e3ec1c9760519302bcef688253d48b3d2c566f9629c4e4246ae55 SHA512 f8138fb892528fd7d131b0931f52cb6b19dc984aa831882d7f60f557527e6bb559429a11b5a1307cf51d1a8974123627d15ccee87561970784a75910929f85a3 WHIRLPOOL 9d3343060f815fae7b2512b098c3a1c4853c062040cb2b180bf7402231295d27e96a3996aca041ce2f694f2cc84bb6dfbc419797079713afb254900187d100e0
27 -DIST wxHexEditor-v0.21-src.tar.bz2 1760192 SHA256 076111ebcf1472e80ec9a16223ca60bdf4598689cc5aa076a4f9760bba51f17f SHA512 bea80a139bb76e47ed5d3644f923b4b042d8842bb3522e88e2c84947eadc7f49f2599438f583ea8a1fde05356886d8fb20f679398e1519c13acd8e4dd49ad729 WHIRLPOOL fd5ebc1609183b8879254461c7eb1a22355a2f71ca45452a6dd21ca8164c5b8b96474d9d1c01b2aea962d4d47c291e3b43d8bf1d337c7bcff6c1c109c3fe29b9
28 DIST wxHexEditor-v0.22-src.tar.bz2 2329754 SHA256 3c04725d218d21807ee78ccdd4bc78d302b92139c92bbd0a0edc53f2d0003996 SHA512 d846b30110bf2c864ec8dc45d1a4e9e333ec79379e335d7ecf5c8eed18a22bf2af26de1bcdca1977c94f2789a82c6eaf5fd2c2a91389f4c20f219a974c5e18ac WHIRLPOOL 44988f4349bc78ce7dd975ce7332a72dc5176e3308a9837e0634cce55e029a758488ed1ff07fdcd1f8c64638b0bf86ea8b73cc4c8f7b7400384487eb6bbfea1d
29 DIST wxHexEditor-v0.23-src.tar.bz2 2534659 SHA256 24a5a8b8df3abfbc3836d07b379003b45ea0ab0d2d45cb9611c797c595f8972b SHA512 abbd2338c2d0d7d514342f5c330ea42c9ee1f3489c4661426927f51c802a7806e4ee965fa5d467c7b928ba87395eb6c351ab5f43f18d5fce836adede5f1d6be4 WHIRLPOOL 808bc8694a89f1eadb1b2c772cd69c76c7e3aba82d793f94f75a6392de5009546c2ada78bd8513f551edfd878251056ace367d9bbfdb21cd5f0bea4899c30c9f
30
31 diff --git a/app-editors/wxhexeditor/files/wxhexeditor-0.20-makefile.patch b/app-editors/wxhexeditor/files/wxhexeditor-0.20-makefile.patch
32 deleted file mode 100644
33 index b4d97b2..0000000
34 --- a/app-editors/wxhexeditor/files/wxhexeditor-0.20-makefile.patch
35 +++ /dev/null
36 @@ -1,108 +0,0 @@
37 ---- a/makefile
38 -+++ b/makefile
39 -@@ -1,8 +1,8 @@
40 - WXCONFIG = wx-config
41 - CC = `$(WXCONFIG) --cc`
42 - CPP = `$(WXCONFIG) --cxx`
43 --CXXFLAGS= `$(WXCONFIG) --cxxflags` -Iudis86 -Imhash/include -MMD -O2 -c ${OPTFLAGS}
44 --LDFLAGS = `$(WXCONFIG) --libs`
45 -+WXCXXFLAGS= `$(WXCONFIG) --cxxflags` -MMD -c ${OPTFLAGS} -fopenmp ${CXXFLAGS}
46 -+WXLDFLAGS = `$(WXCONFIG) --libs` -fopenmp ${LDFLAGS}
47 - RC = `$(WXCONFIG) --rescomp`
48 - #RC = x86_64-w64-mingw32-windres --define WX_CPU_AMD64
49 - RCFLAGS = `$(WXCONFIG) --cxxflags | sed s/' '-m.*//g;`
50 -@@ -19,7 +19,7 @@ SOURCES= src/HexEditorGui.cpp \
51 - src/HexEditorCtrl/wxHexCtrl/Tag.cpp\
52 - src/HexEditorCtrl/HexEditorCtrlGui.cpp\
53 - src/HexEditorFrame.cpp
54 --LIBS = udis86/libudis86/.libs/libudis86.a mhash/lib/.libs/libmhash.a
55 -+LIBS = -lmhash -ludis86
56 - OBJECTS=$(SOURCES:.cpp=.o)
57 - DEPENDS=$(OBJECTS:.o=.d)
58 - RESOURCES= resources/resource.rc
59 -@@ -28,43 +28,35 @@ EXECUTABLE=wxHexEditor
60 - EXECUTABLE_WIN=$(EXECUTABLE).exe
61 - EXECUTABLE_DIR_MAC=$(EXECUTABLE).app
62 -
63 --PREFIX = /usr/local
64 -+DESTDIR =
65 -+PREFIX = $(DESTDIR)/usr
66 - BINDIR = $(PREFIX)/bin
67 - DATADIR = $(PREFIX)/share
68 - LOCALEDIR = $(DATADIR)/locale
69 -
70 --VERSION = 0.12 Beta
71 -+VERSION = 0.20
72 -
73 - all: $(EXECUTABLE)
74 -
75 --$(OBJECTS): $(LIBS) $(SOURCES)
76 -+$(OBJECTS): $(SOURCES)
77 -
78 - $(EXECUTABLE): $(OBJECTS)
79 -- $(CPP) $(OBJECTS) $(LIBS) $(LDFLAGS) -lgomp -o $@
80 -+ $(CPP) $(OBJECTS) $(LIBS) $(WXLDFLAGS) ${CXXFLAGS} -o $@
81 -
82 --.cpp.o: $(LIBS)
83 -- $(CPP) $(CXXFLAGS) $< -o $@
84 -+.cpp.o:
85 -+ $(CPP) $(WXCXXFLAGS) $< -o $@
86 -
87 - %.o : %.rc
88 - $(RC) $(RCFLAGS) $< -o $@
89 -
90 --udis86/libudis86/.libs/libudis86.a:
91 -- cd udis86;./autogen.sh
92 -- cd udis86;./configure --host=$(HOST)
93 -- cd udis86/libudis86; $(MAKE) $(MFLAGS)
94 --
95 --mhash/lib/.libs/libmhash.a:
96 -- cd mhash; ./configure --host=$(HOST)
97 -- cd mhash; $(MAKE) $(MFLAGS)
98 --
99 - win: $(RESOURCES) $(EXECUTABLE_WIN)
100 -
101 - #Stack override required for file comparison function...
102 - $(EXECUTABLE_WIN): $(OBJECTS) $(RESOURCE_OBJ)
103 -- $(CPP) $(OBJECTS) $(RESOURCE_OBJ) $(LIBS) $(LDFLAGS) -static-libgcc -static-libstdc++ -Wl,--stack,32000000 -o $@
104 -+ $(CPP) $(OBJECTS) $(RESOURCE_OBJ) $(LIBS) ${CXXFLAGS} $(WXLDFLAGS) -static-libgcc -static-libstdc++ -Wl,--stack,32000000 -o $@
105 -
106 - maclink: $(OBJECTS)
107 -- $(CPP) $(OBJECTS) $(LIBS) $(LDFLAGS) -lexpat -Wl,-stack_size,0x2000000 -o $(EXECUTABLE)
108 -+ $(CPP) $(OBJECTS) $(LIBS) ${CXXFLAGS} $(WXLDFLAGS) -lexpat -Wl,-stack_size,0x2000000 -o $(EXECUTABLE)
109 -
110 - mac: maclink
111 - mkdir -p $(EXECUTABLE_DIR_MAC)/Contents
112 ---- a/src/HexDialogs.cpp
113 -+++ b/src/HexDialogs.cpp
114 -@@ -24,7 +24,7 @@
115 - #define NANINT 0xFFFFFFFFFFFFFFFFLL
116 - #include "HexDialogs.h"
117 - #include <wx/progdlg.h>
118 --#include "../mhash/include/mhash.h"
119 -+#include <mhash.h>
120 -
121 - #ifdef _OPENMP
122 - #include <omp.h>
123 ---- a/src/HexEditor.h
124 -+++ b/src/HexEditor.h
125 -@@ -25,7 +25,7 @@
126 - #ifndef _wxHexEditor_h_
127 - #define _wxHexEditor_h_
128 -
129 --#include "../mhash/include/mhash.h"
130 -+#include <mhash.h>
131 -
132 - #include <wx/ffile.h>
133 - #include <wx/clipbrd.h>
134 ---- a/src/HexPanels.h
135 -+++ b/src/HexPanels.h
136 -@@ -27,7 +27,7 @@
137 - #include "HexEditorFrame.h"
138 - #include "HexEditorCtrl/HexEditorCtrl.h"
139 - #include "HexEditorCtrl/wxHexCtrl/wxHexCtrl.h"
140 --#include "../udis86/udis86.h"
141 -+#include <udis86.h>
142 -
143 - #ifdef WX_GCH
144 - #include <wx_pch.h>
145
146 diff --git a/app-editors/wxhexeditor/files/wxhexeditor-0.21-desktop-validation.patch b/app-editors/wxhexeditor/files/wxhexeditor-0.21-desktop-validation.patch
147 deleted file mode 100644
148 index aa2bb39..0000000
149 --- a/app-editors/wxhexeditor/files/wxhexeditor-0.21-desktop-validation.patch
150 +++ /dev/null
151 @@ -1,17 +0,0 @@
152 ---- a/resources/wxHexEditor.desktop
153 -+++ b/resources/wxHexEditor.desktop
154 -@@ -1,12 +1,11 @@
155 - [Desktop Entry]
156 --Version=v1.0
157 -+Version=1.0
158 - Encoding=UTF-8
159 - Name=wxHexEditor
160 - GenericName=wxHexEditor
161 - Comment=A hex editor for huge files and devices
162 - Exec=wxHexEditor
163 --Icon=wxHexEditor.png
164 -+Icon=wxHexEditor
165 - Terminal=false
166 - Type=Application
167 --MimeType=*
168 - Categories=Utility;TextEditor;
169
170 diff --git a/app-editors/wxhexeditor/files/wxhexeditor-0.21-makefile.patch b/app-editors/wxhexeditor/files/wxhexeditor-0.21-makefile.patch
171 deleted file mode 100644
172 index 34efd65..0000000
173 --- a/app-editors/wxhexeditor/files/wxhexeditor-0.21-makefile.patch
174 +++ /dev/null
175 @@ -1,107 +0,0 @@
176 -- respect CXXFLAGS/LDFLAGS
177 -- install into /usr
178 -- use system mhash and udis86
179 -
180 ---- a/makefile
181 -+++ b/makefile
182 -@@ -1,8 +1,8 @@
183 - WXCONFIG = wx-config
184 - CC = `$(WXCONFIG) --cc`
185 - CXX = `$(WXCONFIG) --cxx`
186 --CXXFLAGS= `$(WXCONFIG) --cxxflags` -Iudis86 -Imhash/include -MMD -O2 -c ${OPTFLAGS}
187 --LDFLAGS = `$(WXCONFIG) --libs`
188 -+WXCXXFLAGS= `$(WXCONFIG) --cxxflags` -MMD -O2 -c ${OPTFLAGS}
189 -+WXLDFLAGS = `$(WXCONFIG) --libs`
190 - RC = `$(WXCONFIG) --rescomp`
191 - #RC = x86_64-w64-mingw32-windres --define WX_CPU_AMD64
192 - RCFLAGS = `$(WXCONFIG) --cxxflags | sed s/' '-m.*//g;`
193 -@@ -21,7 +21,7 @@ SOURCES= src/HexEditorGui.cpp \
194 - src/HexEditorCtrl/wxHexCtrl/Tag.cpp\
195 - src/HexEditorCtrl/HexEditorCtrlGui.cpp\
196 - src/HexEditorFrame.cpp
197 --LIBS = udis86/libudis86/.libs/libudis86.a mhash/lib/.libs/libmhash.a
198 -+LIBS = -ludis86 -lmhash
199 - OBJECTS=$(SOURCES:.cpp=.o)
200 - DEPENDS=$(OBJECTS:.o=.d)
201 - LANGUAGEDIRS=tr
202 -@@ -32,7 +32,7 @@ EXECUTABLE=wxHexEditor
203 - EXECUTABLE_WIN=$(EXECUTABLE).exe
204 - EXECUTABLE_DIR_MAC=$(EXECUTABLE).app
205 -
206 --PREFIX = /usr/local
207 -+PREFIX = /usr
208 - BINDIR = $(PREFIX)/bin
209 - DATADIR = $(PREFIX)/share
210 - LOCALEDIR = $(DATADIR)/locale
211 -@@ -46,10 +46,10 @@ $(OBJECTS): $(LIBS) $(SOURCES)
212 - MOBJECTS=$(LANGUAGES:.po=.mo)
213 -
214 - $(EXECUTABLE): $(OBJECTS)
215 -- $(CXX) $(OBJECTS) $(LIBS) $(LDFLAGS) -lgomp -o $@
216 -+ $(CXX) $(OBJECTS) $(LIBS) ${CXXFLAGS} $(WXLDFLAGS) ${LDFLAGS} -lgomp -o $@
217 -
218 - .cpp.o: $(LIBS)
219 -- $(CXX) $(CXXFLAGS) $< -o $@
220 -+ $(CXX) $(WXCXXFLAGS) ${CXXFLAGS} $< -o $@
221 -
222 - %.o : %.rc
223 - $(RC) $(RCFLAGS) $< -o $@
224 -@@ -59,23 +59,14 @@ langs: $(MOBJECTS)
225 - %.mo : %.po
226 - $(MSGFMT) $< -o $@
227 -
228 --udis86/libudis86/.libs/libudis86.a:
229 -- cd udis86;./autogen.sh
230 -- cd udis86;./configure --host=$(HOST)
231 -- cd udis86/libudis86; $(MAKE) $(MFLAGS)
232 --
233 --mhash/lib/.libs/libmhash.a:
234 -- cd mhash; ./configure --host=$(HOST)
235 -- cd mhash; $(MAKE) $(MFLAGS)
236 --
237 - win: $(RESOURCES) $(EXECUTABLE_WIN)
238 -
239 - #Stack override required for file comparison function...
240 - $(EXECUTABLE_WIN): $(OBJECTS) $(RESOURCE_OBJ)
241 -- $(CXX) $(OBJECTS) $(RESOURCE_OBJ) $(LIBS) $(LDFLAGS) -static-libgcc -static-libstdc++ -Wl,--stack,32000000 -o $@
242 -+ $(CXX) $(OBJECTS) $(RESOURCE_OBJ) $(LIBS) ${CXXFLAGS} $(WXLDFLAGS) ${LDFLAGS} -static-libgcc -static-libstdc++ -Wl,--stack,32000000 -o $@
243 -
244 - maclink: $(OBJECTS)
245 -- $(CXX) $(OBJECTS) $(LIBS) $(LDFLAGS) -lexpat -lgomp -Wl,-stack_size,0x2000000 -o $(EXECUTABLE)
246 -+ $(CXX) $(OBJECTS) $(LIBS) ${CXXFLAGS} $(WXLDFLAGS) ${LDFLAGS} -lexpat -lgomp -Wl,-stack_size,0x2000000 -o $(EXECUTABLE)
247 -
248 - mac: maclink langs
249 - mkdir -p $(EXECUTABLE_DIR_MAC)/Contents
250 ---- a/src/HexDialogs.cpp
251 -+++ b/src/HexDialogs.cpp
252 -@@ -24,7 +24,7 @@
253 - #define NANINT 0xFFFFFFFFFFFFFFFFLL
254 - #include "HexDialogs.h"
255 - #include <wx/progdlg.h>
256 --#include "../mhash/include/mhash.h"
257 -+#include <mhash.h>
258 -
259 - #ifdef _OPENMP
260 - #include <omp.h>
261 ---- a/src/HexEditor.h
262 -+++ b/src/HexEditor.h
263 -@@ -25,7 +25,7 @@
264 - #ifndef _wxHexEditor_h_
265 - #define _wxHexEditor_h_
266 -
267 --#include "../mhash/include/mhash.h"
268 -+#include <mhash.h>
269 -
270 - #include <wx/ffile.h>
271 - #include <wx/clipbrd.h>
272 ---- a/src/HexPanels.h
273 -+++ b/src/HexPanels.h
274 -@@ -27,7 +27,7 @@
275 - #include "HexEditorFrame.h"
276 - #include "HexEditorCtrl/HexEditorCtrl.h"
277 - #include "HexEditorCtrl/wxHexCtrl/wxHexCtrl.h"
278 --#include "../udis86/udis86.h"
279 -+#include <udis86.h>
280 -
281 - #ifdef WX_GCH
282 - #include <wx_pch.h>
283
284 diff --git a/app-editors/wxhexeditor/wxhexeditor-0.20.ebuild b/app-editors/wxhexeditor/wxhexeditor-0.20.ebuild
285 deleted file mode 100644
286 index 606be30..0000000
287 --- a/app-editors/wxhexeditor/wxhexeditor-0.20.ebuild
288 +++ /dev/null
289 @@ -1,35 +0,0 @@
290 -# Copyright 1999-2014 Gentoo Foundation
291 -# Distributed under the terms of the GNU General Public License v2
292 -# $Id$
293 -
294 -EAPI="4"
295 -WX_GTK_VER="2.8"
296 -
297 -inherit eutils toolchain-funcs wxwidgets
298 -
299 -MY_PN="wxHexEditor"
300 -
301 -DESCRIPTION="A cross-platform hex editor designed specially for large files"
302 -HOMEPAGE="http://wxhexeditor.sourceforge.net/"
303 -SRC_URI="mirror://sourceforge/${PN}/${MY_PN}-v${PV}-src.tar.bz2"
304 -
305 -LICENSE="GPL-2"
306 -SLOT="0"
307 -KEYWORDS="~amd64 ~x86"
308 -IUSE=""
309 -
310 -DEPEND="app-crypt/mhash
311 - dev-libs/udis86
312 - x11-libs/wxGTK:2.8[X]"
313 -RDEPEND="${DEPEND}"
314 -
315 -S="${WORKDIR}/${MY_PN}"
316 -
317 -pkg_pretend() {
318 - tc-has-openmp \
319 - || die "${PN} uses OpenMP libraries. Please use an OpenMP-capable compiler."
320 -}
321 -
322 -src_prepare() {
323 - epatch "${FILESDIR}"/${P}-makefile.patch
324 -}
325
326 diff --git a/app-editors/wxhexeditor/wxhexeditor-0.21.ebuild b/app-editors/wxhexeditor/wxhexeditor-0.21.ebuild
327 deleted file mode 100644
328 index 62b8a31..0000000
329 --- a/app-editors/wxhexeditor/wxhexeditor-0.21.ebuild
330 +++ /dev/null
331 @@ -1,38 +0,0 @@
332 -# Copyright 1999-2014 Gentoo Foundation
333 -# Distributed under the terms of the GNU General Public License v2
334 -# $Id$
335 -
336 -EAPI="5"
337 -WX_GTK_VER="2.8"
338 -
339 -inherit eutils toolchain-funcs wxwidgets
340 -
341 -MY_PN="wxHexEditor"
342 -
343 -DESCRIPTION="A cross-platform hex editor designed specially for large files"
344 -HOMEPAGE="http://wxhexeditor.sourceforge.net/"
345 -SRC_URI="mirror://sourceforge/${PN}/${MY_PN}-v${PV}-src.tar.bz2"
346 -
347 -LICENSE="GPL-2"
348 -SLOT="0"
349 -KEYWORDS="~amd64 ~x86"
350 -IUSE=""
351 -
352 -DEPEND="app-crypt/mhash
353 - dev-libs/udis86
354 - x11-libs/wxGTK:2.8[X]"
355 -RDEPEND="${DEPEND}"
356 -
357 -S="${WORKDIR}/${MY_PN}"
358 -
359 -pkg_pretend() {
360 - tc-has-openmp \
361 - || die "${PN} uses OpenMP libraries. Please use an OpenMP-capable compiler."
362 -}
363 -
364 -src_prepare() {
365 - # parts sent upstream : https://sourceforge.net/p/wxhexeditor/patches/8/
366 - epatch "${FILESDIR}"/${P}-makefile.patch
367 - # sent upstream : https://sourceforge.net/p/wxhexeditor/patches/9/
368 - epatch "${FILESDIR}"/${P}-desktop-validation.patch
369 -}