diff options
author | Ryan Hill <rhill@gentoo.org> | 2012-07-02 03:47:52 +0000 |
---|---|---|
committer | Ryan Hill <rhill@gentoo.org> | 2012-07-02 03:47:52 +0000 |
commit | f957ea23931c8d24d016cc2be234376ed8f30e83 (patch) | |
tree | ab2e2120ba2b29c3891b6455cb1eb73760440741 /app-editors/wxhexeditor | |
parent | Per request from Bug 396253, took over maintainership of media-video/makemkv.... (diff) | |
download | historical-f957ea23931c8d24d016cc2be234376ed8f30e83.tar.gz historical-f957ea23931c8d24d016cc2be234376ed8f30e83.tar.bz2 historical-f957ea23931c8d24d016cc2be234376ed8f30e83.zip |
Version bump, bug #407161. Remove old.
Package-Manager: portage-2.2.0_alpha114/cvs/Linux x86_64
Diffstat (limited to 'app-editors/wxhexeditor')
-rw-r--r-- | app-editors/wxhexeditor/ChangeLog | 11 | ||||
-rw-r--r-- | app-editors/wxhexeditor/Manifest | 16 | ||||
-rw-r--r-- | app-editors/wxhexeditor/files/wxhexeditor-0.09-gcc45.patch | 37 | ||||
-rw-r--r-- | app-editors/wxhexeditor/files/wxhexeditor-0.20-makefile.patch | 108 | ||||
-rw-r--r-- | app-editors/wxhexeditor/wxhexeditor-0.20.ebuild (renamed from app-editors/wxhexeditor/wxhexeditor-0.09.ebuild) | 23 |
5 files changed, 138 insertions, 57 deletions
diff --git a/app-editors/wxhexeditor/ChangeLog b/app-editors/wxhexeditor/ChangeLog index 008d49481364..deb0748b5816 100644 --- a/app-editors/wxhexeditor/ChangeLog +++ b/app-editors/wxhexeditor/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for app-editors/wxhexeditor -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-editors/wxhexeditor/ChangeLog,v 1.2 2011/08/19 04:44:27 dirtyepic Exp $ +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-editors/wxhexeditor/ChangeLog,v 1.3 2012/07/02 03:47:52 dirtyepic Exp $ + +*wxhexeditor-0.20 (02 Jul 2012) + + 02 Jul 2012; Ryan Hill <dirtyepic@gentoo.org> -wxhexeditor-0.09.ebuild, + -files/wxhexeditor-0.09-gcc45.patch, +wxhexeditor-0.20.ebuild, + +files/wxhexeditor-0.20-makefile.patch: + Version bump, bug #407161. Remove old. *wxhexeditor-0.11 (19 Aug 2011) diff --git a/app-editors/wxhexeditor/Manifest b/app-editors/wxhexeditor/Manifest index b81e759d604c..a94d4b240dce 100644 --- a/app-editors/wxhexeditor/Manifest +++ b/app-editors/wxhexeditor/Manifest @@ -1,18 +1,18 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 -AUX wxhexeditor-0.09-gcc45.patch 1463 RMD160 4e770ddde0c13d8e01545a7a534fdfd7fefbc4f3 SHA1 ffafb87a0dbc7964b08216f6eaf20be91c1a4487 SHA256 8ade73245bec12590606533cd5a430fa2b444dae02e5d993d48227b3039972a6 AUX wxhexeditor-0.11-makefile.patch 3250 RMD160 6bd3046f5d6b079ac0b99458e614fcefec112986 SHA1 1809cb2672c9b254b59f9f2023d0f2f14a8646a2 SHA256 84af7674a1eb350149288914b1af6e6c8f2f9252a8ed6ec4f8a74d16fcc131c7 -DIST wxHexEditor-v0.09-src.tar.bz2 419074 RMD160 589337f706363386119e71f7f8986c97ee57f522 SHA1 feaee5766219bc4b34fef60c5cdeb4ebb585ef33 SHA256 2d2b0cc257f1f5eccc4031422863de91d1eec2b15d031041878646835e1f8cc7 +AUX wxhexeditor-0.20-makefile.patch 3181 RMD160 c5487faaec53c3379b33236f8a0c61484024a16f SHA1 e67c4c6c57f3c5ebaa76f305f2b44f9400d9f7fb SHA256 64ce76772e2b1a2d697afdf08d689d65683a01176ba0c099119a930770c85151 DIST wxHexEditor-v0.11-src.tar.bz2 507012 RMD160 de675b74e802dd3fe07db8035dc3106248f69696 SHA1 a1802da0570448635367f54643765dcf24b4064f SHA256 85c866c7f09c53c90af2fd12f1978125caa1b7d0ee20719915e45220d31f1ee5 -EBUILD wxhexeditor-0.09.ebuild 741 RMD160 c3ff8d06144190713788d9f861e4df2a7dc5226c SHA1 c64d9c313a83f0de1bca49953923d89a6a16dbd0 SHA256 90b65540f0b5017a7b1d0e200ee551045b695167785bfe733ea678a0fe05cdac +DIST wxHexEditor-v0.20-src.tar.bz2 1194554 RMD160 87b8ce7c9ec35e0d496fd50787c6704d5bdbf98d SHA1 2f20471b75df344cecc360f81068c1d2ae8fdd73 SHA256 a3dda32eb62e3ec1c9760519302bcef688253d48b3d2c566f9629c4e4246ae55 EBUILD wxhexeditor-0.11.ebuild 740 RMD160 31f80b300cf6ef799edcc51da4039b55f89dd576 SHA1 b13eef70f8ae6aaa1ae44c8b5055aca1175d70b8 SHA256 e0b379e2eb4d77e2489bbb413c251be02f27835f9f52c64d8ad91a0b7eaeb656 -MISC ChangeLog 753 RMD160 0c0ab47240a9685a5992df25e11b73b6ccdf7ca8 SHA1 34037a2ed8e6743792eb693941e5a526e86f57e8 SHA256 ef6156922d02c7a1c8b13d4bb36a168f6a10233d48f4fd9b4bdd00d2973066ae +EBUILD wxhexeditor-0.20.ebuild 857 RMD160 c825cf96baa7f25e223ca699cf85676b06e45c86 SHA1 fc87c9979852803649050b2f21dbab337efdf4dd SHA256 8300f9028368202b2de1daab04e9fdda89416e40dc37aea00a61eb550bedbe20 +MISC ChangeLog 1009 RMD160 4afac5930049d00915ac726dd32e7884d91fe3d3 SHA1 fc99d4fba0f717423de915e9227bca411582428b SHA256 97f77de0090f168207cecd713edcb680bffc21c989f3f0894da6a4b2b2d6cd51 MISC metadata.xml 230 RMD160 0508220ff99c080f905c3c05272047d1e36e0f1f SHA1 0481ec39da10930aa576f61d45041c3b189697c8 SHA256 59b9beec10bb60f8533f070be1dfeef7834a2865f0e905f9afa7edb8e164de9b -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.18 (GNU/Linux) +Version: GnuPG v2.0.19 (GNU/Linux) -iEYEARECAAYFAk5N7E4ACgkQiqiDRvmkBmJ6eACg2zovhVDRYDeNyzATeuBL5eSN -W0sAoODfJVai8s7jLGysQxesgWtQ8bZR -=iOzZ +iEYEARECAAYFAk/xHEsACgkQiqiDRvmkBmJdrwCg3FoiXsQgtWrb0bsz4AXBm0lo +JXEAnRmYEczPjAwCH18JeXAvAQLh0hlM +=s1SV -----END PGP SIGNATURE----- diff --git a/app-editors/wxhexeditor/files/wxhexeditor-0.09-gcc45.patch b/app-editors/wxhexeditor/files/wxhexeditor-0.09-gcc45.patch deleted file mode 100644 index c49e8a2452ca..000000000000 --- a/app-editors/wxhexeditor/files/wxhexeditor-0.09-gcc45.patch +++ /dev/null @@ -1,37 +0,0 @@ -http://wxhexeditor.svn.sourceforge.net/viewvc/wxhexeditor/trunk/src/HexEditor.cpp?r1=132&r2=145 - ---- a/src/HexEditor.cpp -+++ b/src/HexEditor.cpp -@@ -102,7 +102,7 @@ bool HexEditor::FileOpen(wxFileName& myfilename ){ - wxLogError(_("Critical Error. File pointer is not empty!")); - return false; - } -- else if(myfilename.IsFileReadable()){ //IsFileReadable -+ else if( myfilename.IsFileReadable() ){ //IsFileReadable - if ( myfilename.GetSize( ) < 50*MB && myfilename.IsFileWritable() ) - myfile = new FileDifference( myfilename, FileDifference::ReadWrite ); - else -@@ -869,20 +869,20 @@ void HexEditor::OnMouseTest( wxMouseEvent& event ){ - } - - void HexEditor::FindDialog( void ){ -- class FindDialog *myfind = new FindDialog::FindDialog( this, myfile ); -+ ::FindDialog *myfind = new ::FindDialog( this, myfile ); - myfind->ShowModal(); - myfind->Destroy(); - } - - void HexEditor::ReplaceDialog( void ){ -- class ReplaceDialog *myfind = new ReplaceDialog::ReplaceDialog( this, myfile ); -+ ::ReplaceDialog *myfind = new ::ReplaceDialog( this, myfile ); - myfind->ShowModal(); - myfind->Destroy(); - } - - void HexEditor::GotoDialog( void ){ - uint64_t newoffset; -- class GotoDialog *mygoto = new GotoDialog::GotoDialog( this, newoffset, CursorOffset(), FileLength(), myDialogVector ); -+ ::GotoDialog *mygoto = new ::GotoDialog( this, newoffset, CursorOffset(), FileLength(), myDialogVector ); - if( mygoto->ShowModal() == wxID_OK ){ - Goto( newoffset ); - } diff --git a/app-editors/wxhexeditor/files/wxhexeditor-0.20-makefile.patch b/app-editors/wxhexeditor/files/wxhexeditor-0.20-makefile.patch new file mode 100644 index 000000000000..b4d97b2ec25c --- /dev/null +++ b/app-editors/wxhexeditor/files/wxhexeditor-0.20-makefile.patch @@ -0,0 +1,108 @@ +--- a/makefile ++++ b/makefile +@@ -1,8 +1,8 @@ + WXCONFIG = wx-config + CC = `$(WXCONFIG) --cc` + CPP = `$(WXCONFIG) --cxx` +-CXXFLAGS= `$(WXCONFIG) --cxxflags` -Iudis86 -Imhash/include -MMD -O2 -c ${OPTFLAGS} +-LDFLAGS = `$(WXCONFIG) --libs` ++WXCXXFLAGS= `$(WXCONFIG) --cxxflags` -MMD -c ${OPTFLAGS} -fopenmp ${CXXFLAGS} ++WXLDFLAGS = `$(WXCONFIG) --libs` -fopenmp ${LDFLAGS} + RC = `$(WXCONFIG) --rescomp` + #RC = x86_64-w64-mingw32-windres --define WX_CPU_AMD64 + RCFLAGS = `$(WXCONFIG) --cxxflags | sed s/' '-m.*//g;` +@@ -19,7 +19,7 @@ SOURCES= src/HexEditorGui.cpp \ + src/HexEditorCtrl/wxHexCtrl/Tag.cpp\ + src/HexEditorCtrl/HexEditorCtrlGui.cpp\ + src/HexEditorFrame.cpp +-LIBS = udis86/libudis86/.libs/libudis86.a mhash/lib/.libs/libmhash.a ++LIBS = -lmhash -ludis86 + OBJECTS=$(SOURCES:.cpp=.o) + DEPENDS=$(OBJECTS:.o=.d) + RESOURCES= resources/resource.rc +@@ -28,43 +28,35 @@ EXECUTABLE=wxHexEditor + EXECUTABLE_WIN=$(EXECUTABLE).exe + EXECUTABLE_DIR_MAC=$(EXECUTABLE).app + +-PREFIX = /usr/local ++DESTDIR = ++PREFIX = $(DESTDIR)/usr + BINDIR = $(PREFIX)/bin + DATADIR = $(PREFIX)/share + LOCALEDIR = $(DATADIR)/locale + +-VERSION = 0.12 Beta ++VERSION = 0.20 + + all: $(EXECUTABLE) + +-$(OBJECTS): $(LIBS) $(SOURCES) ++$(OBJECTS): $(SOURCES) + + $(EXECUTABLE): $(OBJECTS) +- $(CPP) $(OBJECTS) $(LIBS) $(LDFLAGS) -lgomp -o $@ ++ $(CPP) $(OBJECTS) $(LIBS) $(WXLDFLAGS) ${CXXFLAGS} -o $@ + +-.cpp.o: $(LIBS) +- $(CPP) $(CXXFLAGS) $< -o $@ ++.cpp.o: ++ $(CPP) $(WXCXXFLAGS) $< -o $@ + + %.o : %.rc + $(RC) $(RCFLAGS) $< -o $@ + +-udis86/libudis86/.libs/libudis86.a: +- cd udis86;./autogen.sh +- cd udis86;./configure --host=$(HOST) +- cd udis86/libudis86; $(MAKE) $(MFLAGS) +- +-mhash/lib/.libs/libmhash.a: +- cd mhash; ./configure --host=$(HOST) +- cd mhash; $(MAKE) $(MFLAGS) +- + win: $(RESOURCES) $(EXECUTABLE_WIN) + + #Stack override required for file comparison function... + $(EXECUTABLE_WIN): $(OBJECTS) $(RESOURCE_OBJ) +- $(CPP) $(OBJECTS) $(RESOURCE_OBJ) $(LIBS) $(LDFLAGS) -static-libgcc -static-libstdc++ -Wl,--stack,32000000 -o $@ ++ $(CPP) $(OBJECTS) $(RESOURCE_OBJ) $(LIBS) ${CXXFLAGS} $(WXLDFLAGS) -static-libgcc -static-libstdc++ -Wl,--stack,32000000 -o $@ + + maclink: $(OBJECTS) +- $(CPP) $(OBJECTS) $(LIBS) $(LDFLAGS) -lexpat -Wl,-stack_size,0x2000000 -o $(EXECUTABLE) ++ $(CPP) $(OBJECTS) $(LIBS) ${CXXFLAGS} $(WXLDFLAGS) -lexpat -Wl,-stack_size,0x2000000 -o $(EXECUTABLE) + + mac: maclink + mkdir -p $(EXECUTABLE_DIR_MAC)/Contents +--- a/src/HexDialogs.cpp ++++ b/src/HexDialogs.cpp +@@ -24,7 +24,7 @@ + #define NANINT 0xFFFFFFFFFFFFFFFFLL + #include "HexDialogs.h" + #include <wx/progdlg.h> +-#include "../mhash/include/mhash.h" ++#include <mhash.h> + + #ifdef _OPENMP + #include <omp.h> +--- a/src/HexEditor.h ++++ b/src/HexEditor.h +@@ -25,7 +25,7 @@ + #ifndef _wxHexEditor_h_ + #define _wxHexEditor_h_ + +-#include "../mhash/include/mhash.h" ++#include <mhash.h> + + #include <wx/ffile.h> + #include <wx/clipbrd.h> +--- a/src/HexPanels.h ++++ b/src/HexPanels.h +@@ -27,7 +27,7 @@ + #include "HexEditorFrame.h" + #include "HexEditorCtrl/HexEditorCtrl.h" + #include "HexEditorCtrl/wxHexCtrl/wxHexCtrl.h" +-#include "../udis86/udis86.h" ++#include <udis86.h> + + #ifdef WX_GCH + #include <wx_pch.h> diff --git a/app-editors/wxhexeditor/wxhexeditor-0.09.ebuild b/app-editors/wxhexeditor/wxhexeditor-0.20.ebuild index 1cbe530d35a4..0e12813473b0 100644 --- a/app-editors/wxhexeditor/wxhexeditor-0.09.ebuild +++ b/app-editors/wxhexeditor/wxhexeditor-0.20.ebuild @@ -1,11 +1,11 @@ -# Copyright 1999-2010 Gentoo Foundation +# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-editors/wxhexeditor/wxhexeditor-0.09.ebuild,v 1.1 2010/08/31 04:16:58 dirtyepic Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-editors/wxhexeditor/wxhexeditor-0.20.ebuild,v 1.1 2012/07/02 03:47:52 dirtyepic Exp $ -EAPI=3 -WX_GTK_VER=2.8 +EAPI="4" +WX_GTK_VER="2.8" -inherit eutils wxwidgets +inherit eutils toolchain-funcs wxwidgets MY_PN="wxHexEditor" @@ -18,15 +18,18 @@ SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="" -DEPEND="x11-libs/wxGTK:2.8[X]" +DEPEND="app-crypt/mhash + dev-libs/udis86 + x11-libs/wxGTK:2.8[X]" RDEPEND="${DEPEND}" S="${WORKDIR}/${MY_PN}" -src_prepare() { - epatch "${FILESDIR}"/${P}-gcc45.patch +pkg_pretend() { + tc-has-openmp \ + || die "${PN} uses OpenMP libraries. Please use an OpenMP-capable compiler." } -src_install() { - emake DESTDIR="${D}" install || die +src_prepare() { + epatch "${FILESDIR}"/${P}-makefile.patch } |