aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Pages: [1] 2 3

Author Topic: Information on 2.2.0, and 2.1.3 patch  (Read 376631 times)

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5823
Information on 2.2.0, and 2.1.3 patch
« on: December 17, 2006, 10:45:59 PM »

While we work on 2.2.0 (which is cooking, and I might repeat an odd release day from the old times), HERE you have a patch to build aMule 2.1.3 against new wxWidgets 2.8.0 (thanks to arekm on IRC).

wxWidgets 2.8.0 is now  the new stable wxWidgets, our recomended version is now that one, and support for wxWidgets < 2.8.0 will be dropped from our forums very soon. As in, right now. Right now pleases me.

Remember that the "crash on search tab close" is an wxWidgets bug, not an aMule bug, and it's fixed on the 2.8.0 version. Every thread refering to that bug from now on will be closed, and so will bug reports, without any further info. I'm sorry, but I saw that "bug" report one too many times ;) I must remind you guys to do search on forum and tracker before posting to avoid such things to happen. We encourage bug reports, and we thank you for it, but please check for duplicates.

See, I still make posts with a lot of text, where the main news are lost somewhere in very little words.
Logged

Cimmo

  • Approved Newbie
  • *
  • Karma: 1
  • Offline Offline
  • Posts: 11
Re: Information on 2.2.0, and 2.1.3 patch
« Reply #1 on: December 20, 2006, 11:08:22 AM »

But with the 2.1.3 patch it also continue to work with wxwidgets 2.6.x or not?
« Last Edit: December 20, 2006, 11:08:37 AM by Cimmo »
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5823
Re: Information on 2.2.0, and 2.1.3 patch
« Reply #2 on: December 20, 2006, 06:56:16 PM »

Of course. But you don't need it if you use 2.6.x.
Logged

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4319
Re: Information on 2.2.0, and 2.1.3 patch
« Reply #3 on: December 21, 2006, 09:27:22 PM »

Use the utiliy 'patch'.

example usage:  patch  < diff.file
You might have to add the -p argument followed by a number, if you run the patch of a different directory. e.g. patch -p2 < diff.file
Logged

Menion

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 92
  • Winter is coming...
Re: Information on 2.2.0, and 2.1.3 patch
« Reply #4 on: December 21, 2006, 09:37:09 PM »

How I can compile WxWidgets with "base" tollkit? I'm running amuled on a Kurobox, a powerPc without monitor and I don't have (because I don't need) GTK.In the past, with versione 2.6.3 I download WxBase and running:

./configure --prefix=/usr --enable-unicode --disable-compat24 --enable-optimise

the configure automatically selects Base toolkit. Now with WxBase-2.8.0 the configure (uncorrectly) selects GTK toolkit returning in an error (missing GTK). Which is the ./configure parameter to enable  Base toolkit? Bye!!!!

--edit--

Find, you should use --disable-gui. Do I need to use also --disable-compat26 (to disable 2.6.x compatibility)?
« Last Edit: December 21, 2006, 09:42:18 PM by Menion »
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5823
Re: Information on 2.2.0, and 2.1.3 patch
« Reply #5 on: December 21, 2006, 09:40:02 PM »

--disable-gui
Logged

Menion

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 92
  • Winter is coming...
Re: Information on 2.2.0, and 2.1.3 patch
« Reply #6 on: December 21, 2006, 09:43:01 PM »

Eh eh, sorry, cross "editing"  :D. Thank you Kry!!!!
Logged

aMuX

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 44
Re: Information on 2.2.0, and 2.1.3 patch
« Reply #7 on: December 23, 2006, 11:39:18 AM »

Any tentative release date for aMule 2.2.0 for Mac OS X? Thanks.
« Last Edit: December 23, 2006, 11:40:50 AM by aMuX »
Logged

Vollstrecker

  • Administrator
  • Hero Member
  • *****
  • Karma: 65
  • Offline Offline
  • Posts: 1479
  • Unofficial Debian Packager
    • http://vollstreckernet.de
Re: Information on 2.2.0, and 2.1.3 patch
« Reply #8 on: December 23, 2006, 03:01:52 PM »

Maybe direct after the 2.2.0 for Linux.
Logged
Homefucking is killing prostitution

cenicero

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 38
RE: Information on 2.2.0, and 2.1.3 patch
« Reply #9 on: December 29, 2006, 01:18:51 PM »

Quote
Originally posted by Kry
While we work on 2.2.0 (which is cooking, and I might repeat an odd release day from the old times), HERE you have a patch to build aMule 2.1.3 against new wxWidgets 2.8.0 (thanks to arekm on IRC).

wxWidgets 2.8.0 is now  the new stable wxWidgets, our recomended version is now that one, and support for wxWidgets < 2.8.0 will be dropped from our forums very soon. As in, right now. Right now pleases me.

Remember that the "crash on search tab close" is an wxWidgets bug, not an aMule bug, and it's fixed on the 2.8.0 version. Every thread refering to that bug from now on will be closed, and so will bug reports, without any further info. I'm sorry, but I saw that "bug" report one too many times ;) I must remind you guys to do search on forum and tracker before posting to avoid such things to happen. We encourage bug reports, and we thank you for it, but please check for duplicates.

See, I still make posts with a lot of text, where the main news are lost somewhere in very little words.

You said this about new WxWidgets... and now in my Amule statistics i only can see Amule 2.1.3 (95,65% users) and Amule 2.1.2 (4,35%). Does most of Amule users use Ubuntu? I think so, and this "post-tip"has helped a lot (including me to migrate form 2.1.0 to 2.1.3). Thanks Kry.
Logged

Cimmo

  • Approved Newbie
  • *
  • Karma: 1
  • Offline Offline
  • Posts: 11
Re: Information on 2.2.0, and 2.1.3 patch
« Reply #10 on: December 29, 2006, 01:27:22 PM »

I think left support for 2.6 immediately is not a good idea, all distro uses wx 2.6 and you cannot think that all users compile by them self.

So be blind and think that all have 2.8 now, but it's not true.
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5823
Re: Information on 2.2.0, and 2.1.3 patch
« Reply #11 on: December 29, 2006, 02:14:04 PM »

Quote
Originally posted by Cimmo
I think left support for 2.6 immediately is not a good idea, all distro uses wx 2.6 and you cannot think that all users compile by them self.

So be blind and think that all have 2.8 now, but it's not true.

Ok. Then we'll take the blame for the distro not updating it, and face the bugs that are not caused by aMule, and... do nothing about it. Because we can't.

If your distro doesn't update to the new stable wxWidgets, you can still use aMule with no problem, we're not removing wxWidgets 2.6 compatibility. We're, however, only taking bug reports coming from wxWidgets 2.8. For obvious reasons.
Logged

melendro

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 4
Version for protocol obfuscation support?
« Reply #12 on: January 01, 2007, 06:31:09 PM »

Sorry for asking this if it is already answered, but I cannot find the response.
Will protocol obfuscation be included in 2.2.0?
Logged

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4319
Re: Information on 2.2.0, and 2.1.3 patch
« Reply #13 on: January 01, 2007, 06:49:41 PM »

Yes, according to this thread
Logged

Arichy

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 224
Re: Information on 2.2.0, and 2.1.3 patch
« Reply #14 on: January 15, 2007, 01:49:48 PM »

Quote
Originally posted by wuischke
Use the utiliy 'patch'.

example usage:  patch  < diff.file
You might have to add the -p argument followed by a number, if you run the patch of a different directory. e.g. patch -p2 < diff.file

Given, I put the patch file in the aMule-2.1.3 source directory. What command do I have to enter when I changed to that directory?

EDIT: I tried "patch -p1 < ./file.patch". That seemed to work:
Code: [Select]
patching file src/utils/wxCas/src/wxcasprefs.cpp
patching file src/utils/wxCas/src/wxcasprefs.h
patching file src/MuleGifCtrl.cpp
patching file src/MuleGifCtrl.h
patching file src/MuleTextCtrl.cpp
patching file src/amule.cpp
Hunk #1 succeeded at 97 (offset 1 line).
then configuring with "./configure --disable-debug --enable-optimize --disable-ed2k" and make (with installed wxgtk 2.8.0 on debian sarge) results in:
Code: [Select]
/usr/include/wx-2.8/wx/gdicmn.h:486: Warnung: declaration of `x' shadows a
   member of `this'
if g++ -DHAVE_CONFIG_H -I. -I. -I..    -I/usr/lib/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BI
TS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -D__WXGTK__ -pthread -I./libs -DUSE_EMBEDDED_CRYPTO -W -Wall -Wshadow -Wundef -O2
 -MT libmuleappgui_a-listctrl.o -MD -MP -MF ".deps/libmuleappgui_a-listctrl.Tpo" -c -o libmuleappgui_a-listctrl.o `test -f 'l
istctrl.cpp' || echo './'`listctrl.cpp; \
then mv -f ".deps/libmuleappgui_a-listctrl.Tpo" ".deps/libmuleappgui_a-listctrl.Po"; else rm -f ".deps/libmuleappgui_a-listct
rl.Tpo"; exit 1; fi
In file included from /usr/include/wx-2.8/wx/event.h:21,
                 from /usr/include/wx-2.8/wx/app.h:20,
                 from extern/listctrl.262.cpp:36,
                 from listctrl.cpp:4:
/usr/include/wx-2.8/wx/gdicmn.h: In member function `bool wxRect::Inside(int,
   int) const':
/usr/include/wx-2.8/wx/gdicmn.h:486: Warnung: declaration of `y' shadows a
   member of `this'
/usr/include/wx-2.8/wx/gdicmn.h:486: Warnung: declaration of `x' shadows a
   member of `this'
In file included from listctrl.cpp:4:
extern/listctrl.262.cpp: In member function `int
   MuleExtern::wxListLineDataArray::Index(const
   MuleExtern::_wxObjArraywxListLineDataArray&, bool) const':
extern/listctrl.262.cpp:375: Warnung: declaration of `Item' shadows a member of
   `this'
In file included from listctrl.cpp:4:
extern/listctrl.262.cpp: In member function `bool
   MuleExtern::wxListItemData::IsHit(int, int) const':
extern/listctrl.262.cpp:925: Warnung: `Inside' is deprecated (declared at
   /usr/include/wx-2.8/wx/gdicmn.h:486)
In file included from listctrl.cpp:4:
extern/listctrl.262.cpp: In member function `void
   MuleExtern::wxListHeaderWindow::OnPaint(wxPaintEvent&)':
extern/listctrl.262.cpp:1703: Warnung: `BeginDrawing' is deprecated (declared
   at /usr/include/wx-2.8/wx/dc.h:392)
extern/listctrl.262.cpp:1818: Warnung: `EndDrawing' is deprecated (declared at
   /usr/include/wx-2.8/wx/dc.h:393)
In file included from listctrl.cpp:4:
extern/listctrl.262.cpp: In member function `long int
   MuleExtern::wxListMainWindow::HitTestLine(unsigned int, int, int) const':
extern/listctrl.262.cpp:2374: Warnung: `Inside' is deprecated (declared at
   /usr/include/wx-2.8/wx/gdicmn.h:486)
extern/listctrl.262.cpp:2385: Warnung: `Inside' is deprecated (declared at
   /usr/include/wx-2.8/wx/gdicmn.h:486)
In file included from listctrl.cpp:4:
extern/listctrl.262.cpp: In member function `void
   MuleExtern::wxListMainWindow::OnPaint(wxPaintEvent&)':
extern/listctrl.262.cpp:2623: Warnung: `BeginDrawing' is deprecated (declared
   at /usr/include/wx-2.8/wx/dc.h:392)
extern/listctrl.262.cpp:2811: Warnung: `EndDrawing' is deprecated (declared at
   /usr/include/wx-2.8/wx/dc.h:393)
In file included from listctrl.cpp:4:
extern/listctrl.262.cpp: In member function `bool
   MuleExtern::wxGenericListCtrl::Create(wxWindow*, int, const wxPoint&, const
   wxSize&, long int, const wxValidator&, const wxString&)':
extern/listctrl.262.cpp:4889: Warnung: `SetBestSize' is deprecated (declared at
   /usr/include/wx-2.8/wx/window.h:1415)
if g++ -DHAVE_CONFIG_H -I. -I. -I..    -I/usr/lib/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BI
TS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -D__WXGTK__ -pthread -I./libs -DUSE_EMBEDDED_CRYPTO -W -Wall -Wshadow -Wundef -O2
 -MT libmuleappgui_a-MuleGifCtrl.o -MD -MP -MF ".deps/libmuleappgui_a-MuleGifCtrl.Tpo" -c -o libmuleappgui_a-MuleGifCtrl.o `t
est -f 'MuleGifCtrl.cpp' || echo './'`MuleGifCtrl.cpp; \
then mv -f ".deps/libmuleappgui_a-MuleGifCtrl.Tpo" ".deps/libmuleappgui_a-MuleGifCtrl.Po"; else rm -f ".deps/libmuleappgui_a-
MuleGifCtrl.Tpo"; exit 1; fi
In file included from /usr/include/wx-2.8/wx/image.h:19,
                 from /usr/include/wx-2.8/wx/gifdecod.h:19,
                 from MuleGifCtrl.cpp:26:
/usr/include/wx-2.8/wx/gdicmn.h: In member function `bool wxRect::Inside(int,
   int) const':
/usr/include/wx-2.8/wx/gdicmn.h:486: Warnung: declaration of `y' shadows a
   member of `this'
/usr/include/wx-2.8/wx/gdicmn.h:486: Warnung: declaration of `x' shadows a
   member of `this'
MuleGifCtrl.cpp: At global scope:
MuleGifCtrl.cpp:69: error: 'uint32_t' is used as a type, but is not defined as
   a type.
MuleGifCtrl.cpp: In constructor `MuleGIFDecoder::MuleGIFDecoder(wxInputStream*,
   bool)':
MuleGifCtrl.cpp:45: error: `m_nframe' undeclared (first use this function)
MuleGifCtrl.cpp:45: error: (Each undeclared identifier is reported only once
   for each function it appears in.)
make[3]: *** [libmuleappgui_a-MuleGifCtrl.o] Fehler 1
make[3]: Leaving directory `/daten/bauen/amule_compile/aMule-2.1.3/src'
make[2]: *** [all-recursive] Fehler 1
make[2]: Leaving directory `/daten/bauen/amule_compile/aMule-2.1.3/src'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/daten/bauen/amule_compile/aMule-2.1.3'
make: *** [all] Fehler 2
« Last Edit: January 15, 2007, 10:38:19 PM by Arichy »
Logged
Gentoo i686
Pages: [1] 2 3