diff options
author | Stefan Schweizer <genstef@gentoo.org> | 2006-04-08 22:45:44 +0000 |
---|---|---|
committer | Stefan Schweizer <genstef@gentoo.org> | 2006-04-08 22:45:44 +0000 |
commit | 38df8af835ddc22e9781f6a6fcee295af2a11197 (patch) | |
tree | eb97bd95a451849e17753212e8a5f06192519ea0 /net-im | |
parent | Stable on x86, bug 128610. (diff) | |
download | historical-38df8af835ddc22e9781f6a6fcee295af2a11197.tar.gz historical-38df8af835ddc22e9781f6a6fcee295af2a11197.tar.bz2 historical-38df8af835ddc22e9781f6a6fcee295af2a11197.zip |
version bump, use debian patch to make it compile with gcc-4.1
Package-Manager: portage-2.1_pre8
Diffstat (limited to 'net-im')
-rw-r--r-- | net-im/wengophone/ChangeLog | 8 | ||||
-rw-r--r-- | net-im/wengophone/Manifest | 33 | ||||
-rw-r--r-- | net-im/wengophone/files/debian.patch | 227 | ||||
-rw-r--r-- | net-im/wengophone/files/digest-wengophone-1.0_pre20060408 | 3 | ||||
-rw-r--r-- | net-im/wengophone/wengophone-1.0_pre20060408.ebuild | 55 |
5 files changed, 322 insertions, 4 deletions
diff --git a/net-im/wengophone/ChangeLog b/net-im/wengophone/ChangeLog index e0c08a0e819d..141ddcfae666 100644 --- a/net-im/wengophone/ChangeLog +++ b/net-im/wengophone/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-im/wengophone # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-im/wengophone/ChangeLog,v 1.3 2006/01/20 21:19:44 genstef Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-im/wengophone/ChangeLog,v 1.4 2006/04/08 22:45:44 genstef Exp $ + +*wengophone-1.0_pre20060408 (08 Apr 2006) + + 08 Apr 2006; Stefan Schweizer <genstef@gentoo.org> +files/debian.patch, + -wengophone-1.0_pre20060106.ebuild, +wengophone-1.0_pre20060408.ebuild: + version bump, use debian patch to make it compile with gcc-4.1 20 Jan 2006; Stefan Schweizer <genstef@gentoo.org> wengophone-1.0_pre20060106.ebuild: diff --git a/net-im/wengophone/Manifest b/net-im/wengophone/Manifest index 9763a31e6c2f..7fb652c52c0f 100644 --- a/net-im/wengophone/Manifest +++ b/net-im/wengophone/Manifest @@ -1,4 +1,31 @@ -MD5 95a5d859b66a6469677cf3e687cb72b0 ChangeLog 858 -MD5 19477c225a5db4b25fb88da40f5c028e files/digest-wengophone-1.0_pre20060106 80 +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +AUX debian.patch 9949 RMD160 1b12f92952b93eac26b0ef42d67e7fe781cb1500 SHA1 a2a65efb0d1ae51cb19f48a02326fa456eb7536f SHA256 433f9743203c9ec362d478281314685be828769a6ecb19db82fceaa28455f3e5 +MD5 d47f2ef8211845512e935a5c740e3b04 files/debian.patch 9949 +RMD160 1b12f92952b93eac26b0ef42d67e7fe781cb1500 files/debian.patch 9949 +SHA256 433f9743203c9ec362d478281314685be828769a6ecb19db82fceaa28455f3e5 files/debian.patch 9949 +DIST wengophone-1.0_pre20060408.tar.bz2 6361592 RMD160 f6b36b424c73a0c868d43f73a05f8e96336b33ab SHA1 8efaaa01b8cb04e4266d57ff05eaa81c96d0b0b5 SHA256 d53e3489884cfc0e6573b6669239e692a85ebff78f4e039807ef4f77a3603920 +EBUILD wengophone-1.0_pre20060408.ebuild 1581 RMD160 365e3af38238ed3c114b8462f0f9236f2b40424f SHA1 9bb0e2482e5de9f9f36da8ab8d1a8df7cbf2e926 SHA256 521e79a13f303d28cb06a59aaf6e056be3d0ee586c33c1a429af2cc90aa54a8e +MD5 aec032b6444ff4742200150bb348f5e8 wengophone-1.0_pre20060408.ebuild 1581 +RMD160 365e3af38238ed3c114b8462f0f9236f2b40424f wengophone-1.0_pre20060408.ebuild 1581 +SHA256 521e79a13f303d28cb06a59aaf6e056be3d0ee586c33c1a429af2cc90aa54a8e wengophone-1.0_pre20060408.ebuild 1581 +MISC ChangeLog 1115 RMD160 2b466077e2a603b6678c0895f0cb099456a7e8fa SHA1 ed782b4c63c2548cb041e24498a891421db42327 SHA256 8ae69c73292ca510d9ccaf18c22386fe262b2bf397e595da34524dd6b44c9116 +MD5 0031ee3a61391e86d8989d878493b473 ChangeLog 1115 +RMD160 2b466077e2a603b6678c0895f0cb099456a7e8fa ChangeLog 1115 +SHA256 8ae69c73292ca510d9ccaf18c22386fe262b2bf397e595da34524dd6b44c9116 ChangeLog 1115 +MISC metadata.xml 216 RMD160 6ecd7230ae71a2f9cb8c8ba6daa9cd8aac279a71 SHA1 50a040631277adac9286b0d9aedcd7324191e00c SHA256 1f6db7cf7937735fab1694d86efb74d629465e9af9d2295479af4d8835a0c59d MD5 6a062824f62adbd459fb0045419ef3d8 metadata.xml 216 -MD5 72069efbf9fcf5d721b4b80d150bac5b wengophone-1.0_pre20060106.ebuild 1193 +RMD160 6ecd7230ae71a2f9cb8c8ba6daa9cd8aac279a71 metadata.xml 216 +SHA256 1f6db7cf7937735fab1694d86efb74d629465e9af9d2295479af4d8835a0c59d metadata.xml 216 +size 286 files/digest-wengophone-1.0_pre20060408 286 +RMD160 532214a55b8719365dec61a015741d80c6d96ed8 files/digest-wengophone-1.0_pre20060408 286 +SHA256 450eb0fc7add7dab07e423c3a9887fa7bbd2e5ae9d875716b4502485dd2d1ba9 files/digest-wengophone-1.0_pre20060408 286 +MD5 68c8b5230e8051bc2e17073abb579364 files/digest-wengophone-1.0_pre20060408 286 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.2.2 (GNU/Linux) + +iD8DBQFEOD03NJowsmZ/PzARApV+AJ9uCmMiP0y1E8hMo5493q1QsTg+jQCghLLs +M+WYgIO6SttzodPRrZaaxuc= +=WQf/ +-----END PGP SIGNATURE----- diff --git a/net-im/wengophone/files/debian.patch b/net-im/wengophone/files/debian.patch new file mode 100644 index 000000000000..4d92db1472be --- /dev/null +++ b/net-im/wengophone/files/debian.patch @@ -0,0 +1,227 @@ +Taken from debian +http://www.prato.linux.it/~mnencia/debian/openwengo/source/wengophone_0.99+svn4511-3.diff.gz + +Index: wengophone-0.99+svn4227/gui/SConscript +=================================================================== +--- wengophone-0.99+svn4227.orig/gui/SConscript 2006-02-14 11:13:33.000000000 +0100 ++++ wengophone-0.99+svn4227/gui/SConscript 2006-02-14 11:13:46.000000000 +0100 +@@ -400,12 +400,17 @@ + wengophone_env.WengoUseLibrary("samplerate") + + #system libs +- wengophone_env.WengoLibAddMultiple(["ws2_32", "winmm", "iphlpapi"]) ++ if wengophone_env.WengoOsIsWindows(): ++ wengophone_env.WengoLibAddMultiple(["ws2_32", "winmm", "iphlpapi"]) ++ else: ++ wengophone_env.WengoLibAddMultiple(["asound", "glib-2.0", "gthread-2.0"]) ++ + + + if wengophone_env.WengoGetConsoleArgument("enable-shared-wengocurl")=="no": + #system libs +- wengophone_env.WengoLibAddMultiple(["ws2_32", "winmm", "Gdi32"]) ++ if wengophone_env.WengoOsIsWindows(): ++ wengophone_env.WengoLibAddMultiple(["ws2_32", "winmm", "Gdi32"]) + wengophone_env.WengoUseLibrary("openssl") + + +Index: wengophone-0.99+svn4227/wifo/trunk/netlib/SConscript +=================================================================== +--- wengophone-0.99+svn4227.orig/wifo/trunk/netlib/SConscript 2006-02-14 11:13:33.000000000 +0100 ++++ wengophone-0.99+svn4227/wifo/trunk/netlib/SConscript 2006-02-14 11:13:46.000000000 +0100 +@@ -32,8 +32,9 @@ + netlib_decl = env.WengoDeclareLibraryAuto("netlib", "wifo/netlib") + netlib_decl.AddSubIncludePath("..") + +-netlib_env.WengoLibAddMultiple(["user32", "shell32", +- "ws2_32", "advapi32", "wininet", "urlmon"]) ++if netlib_env.WengoOsIsWindows(): ++ netlib_env.WengoLibAddMultiple(["user32", "shell32", ++ "ws2_32", "advapi32", "wininet", "urlmon"]) + + netlib_lib = netlib_env.WengoStaticLibrary('netlib', netlib_sources) + netlib_env.WengoAlias('netlib', netlib_lib) +Index: wengophone-0.99+svn4227/gui/Softphone.cpp +=================================================================== +--- wengophone-0.99+svn4227.orig/gui/Softphone.cpp 2006-02-14 11:13:32.000000000 +0100 ++++ wengophone-0.99+svn4227/gui/Softphone.cpp 2006-02-14 11:13:50.000000000 +0100 +@@ -113,6 +113,8 @@ + //_wengoDir = _application->applicationDirPath() + QDir::separator() + "wengo" + QDir::separator(); + #else + _wengoDir = QDir::homeDirPath() + QDir::separator() + ".wengo" + QDir::separator(); ++ _applicationDirPath = "/usr/share/wengophone/"; ++ _languagesDir = _applicationDirPath + "lang" + QDir::separator(); + #endif //WIN32 + } + +@@ -125,9 +127,6 @@ + _translator = new QTranslator(); + _application->installTranslator(_translator); + +- _applicationDirPath = _application->applicationDirPath() + QDir::separator(); +- _languagesDir = _applicationDirPath + "lang" + QDir::separator(); +- + //For USB key + //_wengoDir = _applicationDirPath + "wengo" + QDir::separator(); + } +Index: wengophone-0.99+svn4227/gui/sip/InputCallSipState.cpp +=================================================================== +--- wengophone-0.99+svn4227.orig/gui/sip/InputCallSipState.cpp 2006-02-14 11:13:32.000000000 +0100 ++++ wengophone-0.99+svn4227/gui/sip/InputCallSipState.cpp 2006-02-14 11:13:50.000000000 +0100 +@@ -68,7 +68,8 @@ + //FIXME replace by double-call notification + _soundRingin = new Sound(SOUND_RINGIN); + } else {*/ +- _soundRingin = new Sound(qApp->applicationDirPath() + QDir::separator() + SOUND_RINGIN); ++ QString applicationDirPath("/usr/share/wengophone"); ++ _soundRingin = new Sound(applicationDirPath + QDir::separator() + SOUND_RINGIN); + //} + _soundRingin->setWaveOutDevice(Audio::getInstance().getRingingDeviceName()); + //Play the sound indefinitely +Index: wengophone-0.99+svn4227/gui/chat/EmoticonsWidget.cpp +=================================================================== +--- wengophone-0.99+svn4227.orig/gui/chat/EmoticonsWidget.cpp 2006-02-14 11:13:32.000000000 +0100 ++++ wengophone-0.99+svn4227/gui/chat/EmoticonsWidget.cpp 2006-02-14 11:13:50.000000000 +0100 +@@ -54,7 +54,8 @@ + + void EmoticonsWidget::setIconset(const QString & /*name*/) { + Iconset iconset; +- iconset.load(qApp->applicationDirPath() + QDir::separator() + "emoticons" + QDir::separator() + "default"); ++ QString applicationDirPath("/usr/share/wengophone"); ++ iconset.load(applicationDirPath + QDir::separator() + "emoticons" + QDir::separator() + "default"); + setIconset(iconset); + } + +Index: wengophone-0.99+svn4511/libs/curl/lib/sendf.c +=================================================================== +--- wengophone-0.99+svn4511.orig/libs/curl/lib/sendf.c 2006-03-13 17:43:59.000000000 +0100 ++++ wengophone-0.99+svn4511/libs/curl/lib/sendf.c 2006-03-19 11:38:07.000000000 +0100 +@@ -21,6 +21,7 @@ + * $Id: debian.patch,v 1.1 2006/04/08 22:45:44 genstef Exp $ + ***************************************************************************/ + ++#define _GNU_SOURCE + #include "setup.h" + + #include <stdio.h> +Index: wengophone-0.99+svn4511/wifo/trunk/eXosip/phapi/phaudiodriver.c +=================================================================== +--- wengophone-0.99+svn4511.orig/wifo/trunk/eXosip/phapi/phaudiodriver.c 2006-03-13 17:43:59.000000000 +0100 ++++ wengophone-0.99+svn4511/wifo/trunk/eXosip/phapi/phaudiodriver.c 2006-03-19 11:38:07.000000000 +0100 +@@ -17,6 +17,7 @@ + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + ++#include <stdlib.h> + #include <string.h> + #include "phaudiodriver.h" + +Index: wengophone-0.99+svn4511/wifo/trunk/eXosip/src/eXosip.c +=================================================================== +--- wengophone-0.99+svn4511.orig/wifo/trunk/eXosip/src/eXosip.c 2006-03-13 17:43:59.000000000 +0100 ++++ wengophone-0.99+svn4511/wifo/trunk/eXosip/src/eXosip.c 2006-03-19 11:38:07.000000000 +0100 +@@ -17,6 +17,7 @@ + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + ++#include <stdlib.h> + #ifdef ENABLE_MPATROL + #include <mpatrol.h> + #endif +Index: wengophone-0.99+svn4511/wifo/trunk/eXosip/src/jfreinds.c +=================================================================== +--- wengophone-0.99+svn4511.orig/wifo/trunk/eXosip/src/jfreinds.c 2006-03-13 17:43:59.000000000 +0100 ++++ wengophone-0.99+svn4511/wifo/trunk/eXosip/src/jfreinds.c 2006-03-19 11:38:07.000000000 +0100 +@@ -17,7 +17,7 @@ + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + +- ++#include <stdlib.h> + #ifdef ENABLE_MPATROL + #include <mpatrol.h> + #endif +Index: wengophone-0.99+svn4511/wifo/trunk/eXosip/src/jidentity.c +=================================================================== +--- wengophone-0.99+svn4511.orig/wifo/trunk/eXosip/src/jidentity.c 2006-03-13 17:43:59.000000000 +0100 ++++ wengophone-0.99+svn4511/wifo/trunk/eXosip/src/jidentity.c 2006-03-19 11:38:07.000000000 +0100 +@@ -17,7 +17,7 @@ + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + +- ++#include <stdlib.h> + #ifdef ENABLE_MPATROL + #include <mpatrol.h> + #endif +Index: wengophone-0.99+svn4511/wifo/trunk/eXosip/src/jsubscribers.c +=================================================================== +--- wengophone-0.99+svn4511.orig/wifo/trunk/eXosip/src/jsubscribers.c 2006-03-13 17:43:59.000000000 +0100 ++++ wengophone-0.99+svn4511/wifo/trunk/eXosip/src/jsubscribers.c 2006-03-19 11:38:07.000000000 +0100 +@@ -17,7 +17,7 @@ + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + +- ++#include <stdlib.h> + #ifdef ENABLE_MPATROL + #include <mpatrol.h> + #endif +Index: wengophone-0.99+svn4511/gui/visio/VideoCodecConfigWidget.cpp +=================================================================== +--- wengophone-0.99+svn4511.orig/gui/visio/VideoCodecConfigWidget.cpp 2006-03-13 17:43:59.000000000 +0100 ++++ wengophone-0.99+svn4511/gui/visio/VideoCodecConfigWidget.cpp 2006-03-20 10:46:15.000000000 +0100 +@@ -52,7 +52,7 @@ + connect(_parametersComboBox, SIGNAL(activated(const QString &)), this, SLOT(updateValue(const QString &))); + + //int or float validator +- QRegExpValidator * validator = new QRegExpValidator(QRegExp("([0-9])+(\.)?([0-9])*"), _videoCodecConfigWidget); ++ QRegExpValidator * validator = new QRegExpValidator(QRegExp("([0-9])+(\\.)?([0-9])*"), _videoCodecConfigWidget); + _parametersValueLineEdit->setValidator(validator); + + QTimer *timer = new QTimer(this); +Index: wengophone-0.99+svn4511/wifo/trunk/eXosip/phapi/stun/stun.c +=================================================================== +--- wengophone-0.99+svn4511.orig/wifo/trunk/eXosip/phapi/stun/stun.c 2006-03-13 17:43:59.000000000 +0100 ++++ wengophone-0.99+svn4511/wifo/trunk/eXosip/phapi/stun/stun.c 2006-04-07 15:23:20.000000000 +0200 +@@ -1,11 +1,11 @@ + #include <assert.h> + #include <errno.h> ++#include <time.h> + + #ifdef WIN32 + #include <winsock2.h> + #include <stdlib.h> + #include <io.h> +-#include <time.h> + #else + + #include <stdlib.h> +@@ -783,9 +783,13 @@ + closesocket(fd); + #elif defined(EMBED) + tick = rand(); ++#elif __unix__ ++ struct timeval tv; ++ gettimeofday(&tv, NULL); ++ tick = (unsigned(tv.tv_sec) * unsigned(getpid())) ^ unsigned(tv.tv_usec); + #else +-# error Need some way to seed the random number generator +-#endif ++ tick = time(NULL); ++#endif + seed = (tick); + #ifdef WIN32 + srand(seed); +Index: wengophone-0.99+svn4227/SConscript +=================================================================== +--- wengophone-0.99+svn4227.orig/SConscript 2006-02-14 11:13:32.000000000 +0100 ++++ wengophone-0.99+svn4227/SConscript 2006-02-14 11:13:53.000000000 +0100 +@@ -33,7 +33,6 @@ + env.WengoBuildInDir("download/SConscript", "softphone/download") + env.WengoBuildInDir("gui/SConscript", "softphone/gui") + env.WengoBuildInDir("buildid/SConscript", "softphone/buildid") +-env.WengoBuildInDir("nsis-installer/SConscript", "softphone/nsis-installer") + env.WengoBuildInDir("memorydump/SConscript", "softphone/memorydump") + if not env.WengoOsIsWindows(): + env.WengoBuildInDir("deb-installer/SConscript", "softphone/deb-installer") diff --git a/net-im/wengophone/files/digest-wengophone-1.0_pre20060408 b/net-im/wengophone/files/digest-wengophone-1.0_pre20060408 new file mode 100644 index 000000000000..b6891ae3e53f --- /dev/null +++ b/net-im/wengophone/files/digest-wengophone-1.0_pre20060408 @@ -0,0 +1,3 @@ +MD5 82e8b9dd8425690691067ef334ff5a17 wengophone-1.0_pre20060408.tar.bz2 6361592 +RMD160 f6b36b424c73a0c868d43f73a05f8e96336b33ab wengophone-1.0_pre20060408.tar.bz2 6361592 +SHA256 d53e3489884cfc0e6573b6669239e692a85ebff78f4e039807ef4f77a3603920 wengophone-1.0_pre20060408.tar.bz2 6361592 diff --git a/net-im/wengophone/wengophone-1.0_pre20060408.ebuild b/net-im/wengophone/wengophone-1.0_pre20060408.ebuild new file mode 100644 index 000000000000..1ca0570fd3b6 --- /dev/null +++ b/net-im/wengophone/wengophone-1.0_pre20060408.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-im/wengophone/wengophone-1.0_pre20060408.ebuild,v 1.1 2006/04/08 22:45:44 genstef Exp $ + +inherit qt3 eutils + +DESCRIPTION="Wengophone is a VoIP client featuring the SIP protcol" +HOMEPAGE="http://dev.openwengo.com" +SRC_URI="http://dev.gentoo.org/~genstef/files/dist/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="oss" + +RDEPEND="!oss? ( media-libs/alsa-lib ) + dev-libs/glib + sys-libs/zlib + $(qt_min_version 3.3.4)" +DEPEND="${RDEPEND} + sys-kernel/linux-headers + dev-util/scons + media-libs/speex" + +src_compile() { + if use oss; then + sed -e 's|PA_USE_ALSA|PA_USE_OSS|g' \ + -e 's|sources_alsa|sources_oss|g' \ + -e 's|pa_env.WengoLibAdd("asound")||g' \ + -i libs/portaudio/SConscript \ + || die "Failed to patch SConscript to build OSS support" + fi + epatch ${FILESDIR}/debian.patch + + scons mode=release-symbols \ + enable-shared-portaudio=no enable-shared-webcam=no \ + enable-shared-wengocurl=no enable-shared-phapi=no \ + softphone-runtime softphone || die "scons failed" +} + +src_install() { + #scons prefix=${D}/usr softphone-install || die "scons softphone-install failed" + #sed -i "s:${D}::" ${D}/usr/bin/${PN} + #fperms 755 /usr/bin/wengophone + cd build-wengo/linux2-release-symbols/softphone + dobin runtime/wengophone + insinto /usr/share/wengophone + doins -r runtime/{icons,sounds,emoticons} + insinto /usr/share/wengophone/lang + doins -r gui/lang/*.qm + + cd ${S} + doicon wengophone.png + domenu wengophone.desktop +} |