diff options
author | 2007-05-05 07:56:51 +0000 | |
---|---|---|
committer | 2007-05-05 07:56:51 +0000 | |
commit | 728e50e05016f2d963297c5af169c861b76fe8db (patch) | |
tree | e7474cbdd459a9932f92d71dd37a3484040f52cf /dev-libs | |
parent | use mdadm (diff) | |
download | gentoo-2-728e50e05016f2d963297c5af169c861b76fe8db.tar.gz gentoo-2-728e50e05016f2d963297c5af169c861b76fe8db.tar.bz2 gentoo-2-728e50e05016f2d963297c5af169c861b76fe8db.zip |
use crossdev mingw32
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/wxactivex/ChangeLog | 17 | ||||
-rw-r--r-- | dev-libs/wxactivex/Manifest | 20 | ||||
-rw-r--r-- | dev-libs/wxactivex/files/digest-wxactivex-1.0 | 3 | ||||
-rw-r--r-- | dev-libs/wxactivex/files/wxactivex-1.0-gentoo.patch | 428 | ||||
-rw-r--r-- | dev-libs/wxactivex/metadata.xml | 5 | ||||
-rw-r--r-- | dev-libs/wxactivex/wxactivex-1.0.ebuild | 47 |
6 files changed, 0 insertions, 520 deletions
diff --git a/dev-libs/wxactivex/ChangeLog b/dev-libs/wxactivex/ChangeLog deleted file mode 100644 index 58073cddf4eb..000000000000 --- a/dev-libs/wxactivex/ChangeLog +++ /dev/null @@ -1,17 +0,0 @@ -# ChangeLog for dev-libs/wxactivex -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/wxactivex/ChangeLog,v 1.3 2007/02/22 01:16:03 peper Exp $ - - 22 Feb 2007; Piotr Jaroszyński <peper@gentoo.org> ChangeLog: - Transition to Manifest2. - - 19 Mar 2006; Mark Loeser <halcy0n@gentoo.org> wxactivex-1.0.ebuild: - Add DEPEND on app-arch/unzip - -*wxactivex-1.0 (19 May 2005) - - 19 May 2005; Rob Cakebread <pythonhead@gentoo.org> - +files/wxactivex-1.0-gentoo.patch, +metadata.xml, +wxactivex-1.0.ebuild: - Initial commit. Thank you Adrian Smarzewski <adrian@kadu.net> for the - ebuild. bug# 46942 - diff --git a/dev-libs/wxactivex/Manifest b/dev-libs/wxactivex/Manifest deleted file mode 100644 index 0e0e14e4006e..000000000000 --- a/dev-libs/wxactivex/Manifest +++ /dev/null @@ -1,20 +0,0 @@ -AUX wxactivex-1.0-gentoo.patch 15131 RMD160 95f652c87b58290e8b161bbc617e3a01864a2a93 SHA1 c457a08561e4cc6613dcb9e0ab80f1532d62d243 SHA256 5372b9e4cae369754effaf7d87bc3d3f642cef5826eca9426568a39d883d2195 -MD5 d2cc92a8ac1a98f012e8b48b2269ca5c files/wxactivex-1.0-gentoo.patch 15131 -RMD160 95f652c87b58290e8b161bbc617e3a01864a2a93 files/wxactivex-1.0-gentoo.patch 15131 -SHA256 5372b9e4cae369754effaf7d87bc3d3f642cef5826eca9426568a39d883d2195 files/wxactivex-1.0-gentoo.patch 15131 -DIST wxactivex_1.0.zip 56200 RMD160 4dcd0ad46a9fb971e51344aafda25ef48a219daa SHA1 930ef2617953472fa3e092a23854786390d1ac93 SHA256 0a87522adaf0f8336e77f7ab2ac524370617c0e36f930d3435cb0249ec23958e -EBUILD wxactivex-1.0.ebuild 1154 RMD160 bf3a6f4d5128eb7dfe0384c9d9577767c6a38f2b SHA1 2ca515e69a662c17c4101cbabb91abf51bb2c46e SHA256 109bccc6b6cff89a8111103a602d0712efde890335f18abd4526ade2ded8b6ec -MD5 ee6faf10835a9d03e7ca73f8d234bfff wxactivex-1.0.ebuild 1154 -RMD160 bf3a6f4d5128eb7dfe0384c9d9577767c6a38f2b wxactivex-1.0.ebuild 1154 -SHA256 109bccc6b6cff89a8111103a602d0712efde890335f18abd4526ade2ded8b6ec wxactivex-1.0.ebuild 1154 -MISC ChangeLog 654 RMD160 c032a8cc196f8fd8f0ffbd0d8ddddb48a6a9d8b7 SHA1 6d6a981c9cf44737d6988b0a2a8b35da7f021b5e SHA256 2aabab6105a1e0f746cbafad9f0ddf0070018fa5457d9987b67d26b38a43972e -MD5 513236a0ae8c838eb0ef350c262e0d87 ChangeLog 654 -RMD160 c032a8cc196f8fd8f0ffbd0d8ddddb48a6a9d8b7 ChangeLog 654 -SHA256 2aabab6105a1e0f746cbafad9f0ddf0070018fa5457d9987b67d26b38a43972e ChangeLog 654 -MISC metadata.xml 163 RMD160 f00b10701f46ce312c4e3056575ecdc7214b29b6 SHA1 8ca95681a55a91e5ed44e59ba5660d00bc9b5e0c SHA256 98e13cbe1b574224e90ac29486bdd82dfe1863029528af041f0a963cb01e8c74 -MD5 34a3c9a403196f569f63f0f608007f6e metadata.xml 163 -RMD160 f00b10701f46ce312c4e3056575ecdc7214b29b6 metadata.xml 163 -SHA256 98e13cbe1b574224e90ac29486bdd82dfe1863029528af041f0a963cb01e8c74 metadata.xml 163 -MD5 87fa3bf454cb3c723a9bac27099ba877 files/digest-wxactivex-1.0 229 -RMD160 ceefffccb4fb69d6476e1e7b2d40cc0fbcee164b files/digest-wxactivex-1.0 229 -SHA256 ff1d0f9a970c8873068634d9c723105690dc8ce5e95d6269e2e09a2e0f15ccde files/digest-wxactivex-1.0 229 diff --git a/dev-libs/wxactivex/files/digest-wxactivex-1.0 b/dev-libs/wxactivex/files/digest-wxactivex-1.0 deleted file mode 100644 index 9cc77d560fef..000000000000 --- a/dev-libs/wxactivex/files/digest-wxactivex-1.0 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 f67d5446b6dc23325bc80ece8be5206d wxactivex_1.0.zip 56200 -RMD160 4dcd0ad46a9fb971e51344aafda25ef48a219daa wxactivex_1.0.zip 56200 -SHA256 0a87522adaf0f8336e77f7ab2ac524370617c0e36f930d3435cb0249ec23958e wxactivex_1.0.zip 56200 diff --git a/dev-libs/wxactivex/files/wxactivex-1.0-gentoo.patch b/dev-libs/wxactivex/files/wxactivex-1.0-gentoo.patch deleted file mode 100644 index 72d665d3832b..000000000000 --- a/dev-libs/wxactivex/files/wxactivex-1.0-gentoo.patch +++ /dev/null @@ -1,428 +0,0 @@ ---- makefile.org 2003-02-26 14:23:42.000000000 +0100 -+++ makefile 2004-04-01 20:30:19.969840816 +0200 -@@ -1,15 +1,16 @@ --CC = gcc
-+CC = g++
-
--PROGRAM = wxIE
--
--CFLAGS = -I/m/snowball/icicle/gswd/devenv/include -D__WXMOTIF__
--LFLAGS = -L/m/snowball/icicle/devenv/lib
-+PROGRAM = wxIE.exe
-+LIBRARY = wxactivex.a
-+prefix = /usr
-
- # implementation
-
- .SUFFIXES: .o .cpp
-
--SOURCES:sh= /bin/ls *.cpp
-+APP_SOURCES = wxIEApp.cpp wxIEFrm.cpp wxActiveXFrame.cpp
-+LIB_SOURCES = wxactivex.cpp IEHtmlWin.cpp
-
--OBJECTS = $(SOURCES:.cpp=.o)
-+APP_OBJECTS = $(APP_SOURCES:.cpp=.o)
-+LIB_OBJECTS = $(LIB_SOURCES:.cpp=.o)
-
-@@ -18,6 +18,18 @@ -
--$(PROGRAM): $(OBJECTS)
-- $(CC) -o $(PROGRAM) $(OBJECTS) $(LFLAGS) `wx-config --libs`
-+$(PROGRAM): $(LIBRARY) $(APP_OBJECTS)
-+ $(CC) -o $(PROGRAM) $(APP_OBJECTS) $(LIBRARY) `wx-config --libs`
-+ strip $(PROGRAM)
-+
-+$(LIBRARY): $(LIB_OBJECTS)
-+ ar rs $(LIBRARY) $(LIB_OBJECTS)
-+
-+install:
-+ mkdir -p $(prefix)/include/wxactivex
-+ mkdir -p $(prefix)/lib
-+ mkdir -p $(prefix)/bin
-+ cp wxactivex.h IEHtmlWin.h $(prefix)/include/wxactivex
-+ cp wxactivex.a $(prefix)/lib
-+ cp wxIE.exe $(prefix)/bin
-
- clean:
- rm -f *.o $(PROGRAM)
---- wxactive.cpp.org 2004-01-09 12:03:02.000000000 +0100 -+++ wxactivex.cpp 2004-04-01 20:01:20.288312608 +0200 -@@ -52,7 +52,9 @@ - code and/or adjust the licensing conditions notice accordingly.
- */
-
--#include "wxActiveX.h"
-+#include "wxactivex.h"
-+#include <stdexcept>
-+#include <servprov.h>
- #include <wx/strconv.h>
- #include <wx/event.h>
- #include <wx/string.h>
-@@ -1030,7 +1030,7 @@ -
- wxString err = "wxActiveXEvent::operator[] invalid name <" + name + ">";
- err += "\r\nValid Names = :\r\n";
-- for (i = 0; i < m_params.GetCount(); i++)
-+ for (int i = 0; i < m_params.GetCount(); i++)
- {
- err += m_params[i].GetName();
- err += "\r\n";
---- wxactivex.cpp.org 2004-01-09 12:03:02.000000000 +0100 -+++ wxactivex.cpp 2004-04-01 21:57:52.027406704 +0200 -@@ -1279,7 +1279,7 @@ - const wxActiveX::PropX& wxActiveX::GetPropDesc(int idx) const
- {
- if (idx < 0 || idx >= GetPropCount())
-- throw exception("Property index out of bounds");
-+ throw runtime_error("Property index out of bounds");
-
- return m_props[idx];
- };
-@@ -1291,7 +1291,7 @@ - {
- wxString s;
- s << "property <" << name << "> not found";
-- throw exception(s.mb_str());
-+ throw runtime_error(s.mb_str());
- };
-
- return GetPropDesc(it->second);
-@@ -1300,7 +1300,7 @@ - const wxActiveX::FuncX& wxActiveX::GetMethodDesc(int idx) const
- {
- if (idx < 0 || idx >= GetMethodCount())
-- throw exception("Method index out of bounds");
-+ throw runtime_error("Method index out of bounds");
-
-
- return m_methods[idx];
-@@ -1314,7 +1314,7 @@ - {
- wxString s;
- s << "method <" << name << "> not found";
-- throw exception(s.mb_str());
-+ throw runtime_error(s.mb_str());
- };
-
- return GetMethodDesc(it->second);
-@@ -1345,7 +1345,7 @@ - {
- wxString s;
- s << "property <" << name << "> is readonly";
-- throw exception(s.mb_str());
-+ throw runtime_error(s.mb_str());
- };
-
- VARIANT v = {prop.arg.vt};
-@@ -1382,7 +1382,7 @@ - {
- wxString s;
- s << "property <" << name << "> is writeonly";
-- throw exception(s.mb_str());
-+ throw runtime_error(s.mb_str());
- };
-
- return GetPropAsVariant(prop.memid);
-@@ -1393,7 +1393,7 @@ - VARIANT v = GetPropAsVariant(name);
- HRESULT hr = VariantChangeType(&v, &v, 0, VT_BSTR);
- if (! SUCCEEDED(hr))
-- throw exception("Unable to convert variant");
-+ throw runtime_error("Unable to convert variant");
-
- wxVariant wv;
- MSWVariantToVariant(v, wv);
-@@ -1408,7 +1408,7 @@ - VARIANT v = GetPropAsVariant(name);
- HRESULT hr = VariantChangeType(&v, &v, 0, VT_BSTR);
- if (! SUCCEEDED(hr))
-- throw exception("Unable to convert variant");
-+ throw runtime_error("Unable to convert variant");
-
- wxString s = v.bstrVal;
- VariantClear(&v);
-@@ -1421,7 +1421,7 @@ - VARIANT v = GetPropAsVariant(name);
- HRESULT hr = VariantChangeType(&v, &v, 0, VT_I1);
- if (! SUCCEEDED(hr))
-- throw exception("Unable to convert variant");
-+ throw runtime_error("Unable to convert variant");
-
- return v.cVal;
- };
-@@ -1431,7 +1431,7 @@ - VARIANT v = GetPropAsVariant(name);
- HRESULT hr = VariantChangeType(&v, &v, 0, VT_I4);
- if (! SUCCEEDED(hr))
-- throw exception("Unable to convert variant");
-+ throw runtime_error("Unable to convert variant");
-
- return v.iVal;
- };
-@@ -1441,7 +1441,7 @@ - VARIANT v = GetPropAsVariant(name);
- HRESULT hr = VariantChangeType(&v, &v, 0, VT_BOOL);
- if (! SUCCEEDED(hr))
-- throw exception("Unable to convert variant");
-+ throw runtime_error("Unable to convert variant");
-
- return v.boolVal != 0;
- };
-@@ -1451,7 +1451,7 @@ - VARIANT v = GetPropAsVariant(name);
- HRESULT hr = VariantChangeType(&v, &v, 0, VT_R8);
- if (! SUCCEEDED(hr))
-- throw exception("Unable to convert variant");
-+ throw runtime_error("Unable to convert variant");
-
- return v.dblVal;
- };
-@@ -1462,7 +1462,7 @@ - VARIANT v = GetPropAsVariant(name);
-
- if (! VariantToWxDateTime(v, dt))
-- throw exception("Unable to convert variant to wxDateTime");
-+ throw runtime_error("Unable to convert variant to wxDateTime");
-
- return dt;
- };
-@@ -1472,7 +1472,7 @@ - VARIANT v = GetPropAsVariant(name);
- HRESULT hr = VariantChangeType(&v, &v, 0, VT_BYREF);
- if (! SUCCEEDED(hr))
-- throw exception("Unable to convert variant");
-+ throw runtime_error("Unable to convert variant");
-
- return v.byref;
- };
-@@ -1530,7 +1530,7 @@ - vargs[nargs - i - 1].vt = func.params[i].vt;
-
- // put data
-- for (i = 0; i < nargs; i++)
-+ for (int i = 0; i < nargs; i++)
- VariantToMSWVariant(args[i], vargs[nargs - i - 1]);
- };
-
---- wxactivex.h.org 2004-01-09 12:02:34.000000000 +0100 -+++ wxactivex.h 2004-04-01 22:48:58.104292168 +0200 -@@ -62,10 +62,10 @@ - #pragma warning( disable : 4786)
-
-
--#include <wx/setup.h>
- #include <wx/wx.h>
- #include <wx/variant.h>
- #include <wx/datetime.h>
-+#include <ole2.h>
- #include <oleidl.h>
- #include <exdisp.h>
- #include <docobj.h>
---- IEHtmlWin.cpp.org 2004-01-09 12:03:04.000000000 +0100 -+++ IEHtmlWin.cpp 2004-04-01 20:56:47.844447184 +0200 -@@ -63,7 +63,7 @@ - #include <exdispid.h>
- #include <exdisp.h>
- #include <olectl.h>
--#include <Mshtml.h>
-+#include <mshtml.h>
- #include <sstream>
- using namespace std;
-
-@@ -171,7 +171,7 @@ - {
- if (prepend.size() > 0)
- {
-- int n = min(prepend.size(), cb);
-+ int n = (prepend.size() < cb ? prepend.size() : cb);
- prepend.copy((char *) pv, n);
- prepend = prepend.substr(n);
- if (pcbRead)
-@@ -513,4 +513,4 @@ - SysFreeString(text);
-
- return s;
--}; -\ Brak znaku nowej linii na koñcu pliku -+};
---- IEHtmlWin.h.org 2004-04-01 22:51:16.476256432 +0200 -+++ IEHtmlWin.h 2004-04-01 22:51:26.894672592 +0200 -@@ -61,8 +61,8 @@ - #pragma warning( disable : 4786)
-
-
--#include <wx/setup.h>
- #include <wx/wx.h>
-+#include <ole2.h>
- #include <exdisp.h>
- #include <iostream>
- using namespace std;
---- wxIEApp.h.org 2004-04-01 22:55:43.302692648 +0200 -+++ wxIEApp.h 2004-04-01 22:56:02.312802672 +0200 -@@ -52,6 +52,8 @@ - code and/or adjust the licensing conditions notice accordingly.
- */
-
-+#include <wx/wx.h>
-+
- // Define a new application type, each program should derive a class from wxApp
- class wxIEApp : public wxApp
- {
---- wxActiveXFrame.cpp.org 2004-04-02 00:31:15.466271328 +0200 -+++ wxActiveXFrame.cpp 2004-04-02 00:34:06.219312920 +0200 -@@ -114,7 +114,7 @@ - {
- const wxActiveX::FuncX& func = X->GetEventDesc(i);
- const wxEventType& ev = RegisterActiveXEvent((DISPID) func.memid);
-- Connect(101, ev, (wxObjectEventFunction) OnActiveXEvent);
-+ Connect(101, ev, (wxObjectEventFunction) &wxActiveXFrame::OnActiveXEvent);
- };
- }
-
-@@ -273,7 +273,7 @@ - os <<
- (const wxChar *) event.ParamType(p) << wxT(" ") <<
- (const wxChar *) event.ParamName(p) << wxT(" = ") <<
-- (const wxChar *) (wxString) event[p];
-+ (const wxChar *) event[p].GetString();
- if (p < event.ParamCount() - 1)
- os << wxT(", ");
- };
---- wxActiveXFrame.h.org 2004-04-02 00:35:19.378191080 +0200 -+++ wxActiveXFrame.h 2004-04-02 00:35:25.217303400 +0200 -@@ -74,4 +74,4 @@ - };
-
-
--#endif -\ Brak znaku nowej linii na koñcu pliku -+#endif
---- wxIEFrm.cpp.org 2004-01-09 12:02:54.000000000 +0100 -+++ wxIEFrm.cpp 2004-04-02 01:15:31.564483024 +0200 -@@ -84,19 +84,19 @@ - // IDs for the controls and the menu commands
- enum
- {
-- // menu items
-- FILE_QUIT = 1,
-- FILE_OPEN,
-- FILE_BROWSE,
-- FILE_HTML_EDITMODE,
-- FILE_TEST_HTML,
-- FILE_TEST_SELECT,
-- FILE_TEST_HTMLSELECT,
-- FILE_TEST_GETTEXT,
-- FILE_TEST_HTMLGETTEXT,
-- FILE_TEST_HOME,
-- FILE_TEST_ACTIVEX,
-- FILE_ABOUT,
-+ // menu items
-+ ID_FILE_QUIT = 1,
-+ ID_FILE_OPEN,
-+ ID_FILE_BROWSE,
-+ ID_FILE_HTML_EDITMODE,
-+ ID_FILE_TEST_HTML,
-+ ID_FILE_TEST_SELECT,
-+ ID_FILE_TEST_HTMLSELECT,
-+ ID_FILE_TEST_GETTEXT,
-+ ID_FILE_TEST_HTMLGETTEXT,
-+ ID_FILE_TEST_HOME,
-+ ID_FILE_TEST_ACTIVEX,
-+ ID_FILE_ABOUT,
-
- // controls
- ID_MSHTML = 501,
-@@ -111,27 +111,27 @@ - // handlers) which process them. It can be also done at run-time, but for the
- // simple menu events like this the static method is much simpler.
- BEGIN_EVENT_TABLE(wxIEFrame, wxFrame)
-- EVT_SIZE(wxIEFrame::OnSize)
-- EVT_MENU(FILE_QUIT, wxIEFrame::OnQuit)
-- EVT_MENU(FILE_BROWSE, wxIEFrame::OnBrowse)
-- EVT_MENU(FILE_OPEN, wxIEFrame::OnOpen)
-- EVT_MENU(FILE_HTML_EDITMODE, wxIEFrame::OnEditMode)
-- EVT_UPDATE_UI(FILE_HTML_EDITMODE, wxIEFrame::OnEditModeUI)
-- EVT_MENU(FILE_TEST_HTML, wxIEFrame::OnTestHTML)
-- EVT_MENU(FILE_TEST_SELECT, wxIEFrame::OnTestSelect)
-- EVT_MENU(FILE_TEST_HTMLSELECT, wxIEFrame::OnTestHTMLSelect)
-- EVT_MENU(FILE_TEST_GETTEXT, wxIEFrame::OnTestGetText)
-- EVT_MENU(FILE_TEST_HTMLGETTEXT, wxIEFrame::OnTestHTMLGetText)
-- EVT_MENU(FILE_TEST_HOME, wxIEFrame::OnTestHome)
-- EVT_MENU(FILE_TEST_ACTIVEX, wxIEFrame::OnTestActiveX)
-- EVT_MENU(FILE_ABOUT, wxIEFrame::OnAbout)
--
-- // ActiveX Events
-- EVT_ACTIVEX_DISPID(ID_MSHTML, DISPID_STATUSTEXTCHANGE, OnMSHTMLStatusTextChangeX)
-- EVT_ACTIVEX(ID_MSHTML, "BeforeNavigate2", OnMSHTMLBeforeNavigate2X)
-- EVT_ACTIVEX(ID_MSHTML, "TitleChange", OnMSHTMLTitleChangeX)
-- EVT_ACTIVEX(ID_MSHTML, "NewWindow2", OnMSHTMLNewWindow2X)
-- EVT_ACTIVEX(ID_MSHTML, "ProgressChange", OnMSHTMLProgressChangeX)
-+ EVT_SIZE(wxIEFrame::OnSize)
-+ EVT_MENU(ID_FILE_QUIT, wxIEFrame::OnQuit)
-+ EVT_MENU(ID_FILE_BROWSE, wxIEFrame::OnBrowse)
-+ EVT_MENU(ID_FILE_OPEN, wxIEFrame::OnOpen)
-+ EVT_MENU(ID_FILE_HTML_EDITMODE, wxIEFrame::OnEditMode)
-+ EVT_UPDATE_UI(ID_FILE_HTML_EDITMODE, wxIEFrame::OnEditModeUI)
-+ EVT_MENU(ID_FILE_TEST_HTML, wxIEFrame::OnTestHTML)
-+ EVT_MENU(ID_FILE_TEST_SELECT, wxIEFrame::OnTestSelect)
-+ EVT_MENU(ID_FILE_TEST_HTMLSELECT, wxIEFrame::OnTestHTMLSelect)
-+ EVT_MENU(ID_FILE_TEST_GETTEXT, wxIEFrame::OnTestGetText)
-+ EVT_MENU(ID_FILE_TEST_HTMLGETTEXT, wxIEFrame::OnTestHTMLGetText)
-+ EVT_MENU(ID_FILE_TEST_HOME, wxIEFrame::OnTestHome)
-+ EVT_MENU(ID_FILE_TEST_ACTIVEX, wxIEFrame::OnTestActiveX)
-+ EVT_MENU(ID_FILE_ABOUT, wxIEFrame::OnAbout)
-+
-+ // ActiveX Events
-+ EVT_ACTIVEX_DISPID(ID_MSHTML, DISPID_STATUSTEXTCHANGE, wxIEFrame::OnMSHTMLStatusTextChangeX)
-+ EVT_ACTIVEX(ID_MSHTML, "BeforeNavigate2", wxIEFrame::OnMSHTMLBeforeNavigate2X)
-+ EVT_ACTIVEX(ID_MSHTML, "TitleChange", wxIEFrame::OnMSHTMLTitleChangeX)
-+ EVT_ACTIVEX(ID_MSHTML, "NewWindow2", wxIEFrame::OnMSHTMLNewWindow2X)
-+ EVT_ACTIVEX(ID_MSHTML, "ProgressChange", wxIEFrame::OnMSHTMLProgressChangeX)
- END_EVENT_TABLE()
-
- // ----------------------------------------------------------------------------
-@@ -143,30 +143,31 @@ - : wxFrame((wxFrame *)NULL, -1, title, pos, size)
- {
- // set the frame icon
-- SetIcon(wxICON(wxIE));
-+ // problems with resources, commenting by now -+ // SetIcon(wxICON(wxIE));
-
- // create a menu bar
- wxMenu *menuFile = new wxMenu("", wxMENU_TEAROFF);
-
- // the "About" item should be in the help menu
- wxMenu *helpMenu = new wxMenu;
-- helpMenu->Append(FILE_ABOUT, "&About...\tCtrl-A", "Show about dialog");
-+ helpMenu->Append(ID_FILE_ABOUT, "&About...\tCtrl-A", "Show about dialog");
-
-- menuFile->Append(FILE_TEST_HTML, "Test HTML", "Demonstrates LoadString()");
-- menuFile->Append(FILE_OPEN, "Open HTML File", "Demonstrates LoadStream(istream *)");
-- menuFile->Append(FILE_BROWSE, "Browse Web Page", "Demonstrates LoadUrl(url)");
-- menuFile->Append(FILE_HTML_EDITMODE, "Edit Mode", "Demonstrates editing html", true);
-+ menuFile->Append(ID_FILE_TEST_HTML, "Test HTML", "Demonstrates LoadString()");
-+ menuFile->Append(ID_FILE_OPEN, "Open HTML File", "Demonstrates LoadStream(istream *)");
-+ menuFile->Append(ID_FILE_BROWSE, "Browse Web Page", "Demonstrates LoadUrl(url)");
-+ menuFile->Append(ID_FILE_HTML_EDITMODE, "Edit Mode", "Demonstrates editing html", true);
- menuFile->AppendSeparator();
-- menuFile->Append(FILE_TEST_SELECT, "Get Selected Text", "Demonstrates GetStringSelection(false)");
-- menuFile->Append(FILE_TEST_HTMLSELECT, "Get HTML Selected Text", "Demonstrates GetStringSelection(true)");
-+ menuFile->Append(ID_FILE_TEST_SELECT, "Get Selected Text", "Demonstrates GetStringSelection(false)");
-+ menuFile->Append(ID_FILE_TEST_HTMLSELECT, "Get HTML Selected Text", "Demonstrates GetStringSelection(true)");
- menuFile->AppendSeparator();
-- menuFile->Append(FILE_TEST_GETTEXT, "Get Text", "Demonstrates GetText(false)");
-- menuFile->Append(FILE_TEST_HTMLGETTEXT, "Get HTML Text", "Demonstrates GetText(true)");
-- menuFile->Append(FILE_TEST_HOME, "Open Home Page", "Demonstrates GoHome()");
-+ menuFile->Append(ID_FILE_TEST_GETTEXT, "Get Text", "Demonstrates GetText(false)");
-+ menuFile->Append(ID_FILE_TEST_HTMLGETTEXT, "Get HTML Text", "Demonstrates GetText(true)");
-+ menuFile->Append(ID_FILE_TEST_HOME, "Open Home Page", "Demonstrates GoHome()");
- menuFile->AppendSeparator();
-- menuFile->Append(FILE_TEST_ACTIVEX, "Display a ActiveX control", "Demonstrates the Generic ActiveX Container");
-+ menuFile->Append(ID_FILE_TEST_ACTIVEX, "Display a ActiveX control", "Demonstrates the Generic ActiveX Container");
- menuFile->AppendSeparator();
-- menuFile->Append(FILE_QUIT, "E&xit\tAlt-X", "Quit this program");
-+ menuFile->Append(ID_FILE_QUIT, "E&xit\tAlt-X", "Quit this program");
-
- // now append the freshly created menu to the menu bar...
- wxMenuBar *menuBar = new wxMenuBar();
diff --git a/dev-libs/wxactivex/metadata.xml b/dev-libs/wxactivex/metadata.xml deleted file mode 100644 index ae688b820375..000000000000 --- a/dev-libs/wxactivex/metadata.xml +++ /dev/null @@ -1,5 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <herd>wxwindows</herd> -</pkgmetadata> diff --git a/dev-libs/wxactivex/wxactivex-1.0.ebuild b/dev-libs/wxactivex/wxactivex-1.0.ebuild deleted file mode 100644 index b6fc9875f913..000000000000 --- a/dev-libs/wxactivex/wxactivex-1.0.ebuild +++ /dev/null @@ -1,47 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/wxactivex/wxactivex-1.0.ebuild,v 1.2 2006/03/19 22:38:05 halcy0n Exp $ - -inherit eutils - -DESCRIPTION="wxActiveX is a wxWidgets ActiveX extension for the xmingw cross-compiler" -SRC_URI="mirror://sourceforge/${PN}/${PN}_${PV}.zip" -HOMEPAGE="http://sourceforge.net/projects/${PN}" - -SLOT="0" -KEYWORDS="~x86" -IUSE="" -LICENSE="BSD" -RDEPEND=">=dev-libs/wx-xmingw-2.4.2" -DEPEND="${RDEPEND} - app-arch/unzip" -S="${WORKDIR}" - -src_unpack() { - unpack ${A} - cd ${S} - epatch ${FILESDIR}/${PN}-1.0-gentoo.patch -} - -src_compile() { - export PATH="/opt/xmingw/bin:/opt/xmingw/i386-mingw32msvc/bin:/opt/xmingw/wxWidgets/bin:$PATH" - export CC="i386-mingw32msvc-gcc" - export CXX="i386-mingw32msvc-g++" - - unset CFLAGS - unset CPPFLAGS - unset CXXFLAGS - unset LDFLAGS - - export CFLAGS="-I/opt/xmingw/i386-mingw32msvc/include" - export CXXFLAGS="-I/opt/xmingw/i386-mingw32msvc/include" - - - emake CC=${CXX} || die "make failed" -} - -src_install() { - cd ${WORKDIR} - make prefix=${D}/opt/xmingw/wxActiveX install || die "install failed" -} - |