Projects
Extra
aMule
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 5
View file
aMule.spec
Changed
@@ -7,10 +7,10 @@ License: GPL Group: Productivity/Networking/Other URL: http://www.amule.org - Source0: http://downloads.sourceforge.net/amule/aMule-%{version}.tar.bz2 Patch0: aMule-CVS-wx_utils.h.patch Patch1: amule-2.2.6-gcc45.patch +Patch2: aMule-fix_ambiguous_char2unicode_to_wxstring.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: gcc-c++ gd-devel libpng-devel fdupes BuildRequires: libupnp-devel libcryptopp-devel libGeoIP-devel update-desktop-files @@ -40,9 +40,14 @@ %if %suse_version >= 1130 %patch1 -p1 %endif +%patch2 %build %configure \ +%if 0%{?suse_version} >= 1140 + --enable-optimize \ + --disable-debug \ +%endif --enable-amulecmd \ --enable-amule-gui \ --enable-amule-daemon \ @@ -54,8 +59,7 @@ --enable-alcc \ --enable-geoip -%__make %{?jobs:-j%jobs} - +%__make %{?_smp_flags} V=1 VERBOSE=1 SILENT=0 %install %makeinstall docdir=%{_defaultdocdir}/aMule
View file
aMule-fix_ambiguous_char2unicode_to_wxstring.patch
Added
@@ -0,0 +1,38 @@ +--- src/ClientCreditsList.cpp.orig 2011-03-11 01:10:49.000000000 +0100 ++++ src/ClientCreditsList.cpp 2011-03-11 01:12:23.000000000 +0100 +@@ -280,7 +280,7 @@ + } catch(const CryptoPP::Exception& e) { + AddDebugLogLineM(true, logCredits, + wxString(wxT("Failed to create new RSA keypair: ")) + +- char2unicode(e.what())); ++ wxString(char2unicode(e.what()))); + wxASSERT(false); + return false; + } +@@ -331,7 +331,7 @@ + + AddDebugLogLineM(true, logCredits, + wxString(wxT("Error while initializing encryption keys: ")) + +- char2unicode(e.what())); ++ wxString(char2unicode(e.what()))); + } + } + +@@ -375,7 +375,7 @@ + + return asink.TotalPutLength(); + } catch (const CryptoPP::Exception& e) { +- AddDebugLogLineM(true, logCredits, wxString(wxT("Error while creating signature: ")) + char2unicode(e.what())); ++ AddDebugLogLineM(true, logCredits, wxString(wxT("Error while creating signature: ")) + wxString(char2unicode(e.what()))); + wxASSERT(false); + + return 0; +@@ -436,7 +436,7 @@ + + bResult = pubkey.VerifyMessage(abyBuffer, m_nMyPublicKeyLen+4+nChIpSize, pachSignature, nInputSize); + } catch (const CryptoPP::Exception& e) { +- AddDebugLogLineM(true, logCredits, wxString(wxT("Error while verifying identity: ")) + char2unicode(e.what())); ++ AddDebugLogLineM(true, logCredits, wxString(wxT("Error while verifying identity: ")) + wxString(char2unicode(e.what()))); + bResult = false; + } +
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.