Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Looking for packagers and testers
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
stefanogrini
n00b
n00b


Joined: 04 Apr 2010
Posts: 1

PostPosted: Sun Apr 04, 2010 8:21 am    Post subject: Looking for packagers and testers Reply with quote

Jabbin is an Open Source application that combines VoIP, Instant Messaging and Social Networking, allowing you to focus on what you really care about: your friends.

We are looking for packager and tester for Gentoo

Source code and Build instruction at www.jabbin.com/download

Jabbin Thanks for your help Wink

Fixed Link - NeddySeagoon
Back to top
View user's profile Send private message
yngwin
Retired Dev
Retired Dev


Joined: 19 Dec 2002
Posts: 4572
Location: Suzhou, China

PostPosted: Sun Apr 04, 2010 10:27 pm    Post subject: Reply with quote

Looks like an interesting package. May I ask why the portaudio dependency if you also use phonon? Why not just stick to phonon?

If any wants to have a go at writing an ebuild for this, I'd be happy to review it.
_________________
"Those who deny freedom to others deserve it not for themselves." - Abraham Lincoln
Free Culture | Defective by Design | EFF
Back to top
View user's profile Send private message
codestation
Tux's lil' helper
Tux's lil' helper


Joined: 09 Nov 2008
Posts: 126
Location: /dev/negi

PostPosted: Mon Apr 05, 2010 1:47 am    Post subject: Reply with quote

So, here is my crappy ebuild, at least it compiles with the right CFLAGS and doesn't strip the binary, have fun.

jabbin-3.0_beta1.ebuild
Code:

# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

MY_P="${PV/_beta1/-beta}"

EAPI="2"

inherit eutils qt4-r2

DESCRIPTION="Jabbin is a social application that combines VoIP, Instant Messaging and Social Networking"
HOMEPAGE="http://www.jabbin.com/"
SRC_URI="http://jabbin.svn.sourceforge.net/viewvc/jabbin/tags/${MY_P}.tar.gz
         -> ${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="debug"

DEPEND=">=x11-libs/qt-gui-4.4
   >=x11-libs/qt-core-4.4
   >=app-crypt/qca-2.0
   media-libs/speex
   || ( media-sound/phonon x11-libs/qt-phonon )"

RDEPEND="${DEPEND}"

S="${WORKDIR}/${MY_P}"

src_prepare() {
   cd "${S}"
   epatch "${FILESDIR}"/jabbin-vsprintf-fix.patch || die "epatch failed"

   #prevent strip
   echo "QMAKE_STRIP = echo" >> src/src.pro

   # it uses the debug flags anyway so better removing it and use the global CXXFLAGS
   sed -i 's/unix:debug:.*//' third-party/libjingle-0.4.0/libjingle-0.4.0.pro || die "sed failed"

   # make executable the configure script
   chmod +x configure
}

src_configure() {
   cd "${S}"/third-party/libjingle-0.4.0
   eqmake4
   cd "${S}"/third-party/jrtplib
   eqmake4
   cd "${S}"
   ./configure --prefix=/usr --disable-bundled-qca || die "./configure failed"
}

src_compile() {
   cd "${S}"/third-party/libjingle-0.4.0
   emake || die "emake failed"
   cd "${S}"/third-party/jrtplib
   emake || die "emake failed"
   cd "${S}"
   emake || die "emake failed"
}


jabbin-vsprintf-fix.patch
Code:
diff -u -r 3.0-beta//iris/xmpp-im/xmpp_task.cpp 3.0-beta//iris/xmpp-im/xmpp_task.cpp
--- 3.0-beta//iris/xmpp-im/xmpp_task.cpp   2010-02-04 16:28:07.000000000 +0200
+++ 3.0-beta//iris/xmpp-im/xmpp_task.cpp   2010-03-08 10:38:40.618305274 +0200
@@ -20,6 +20,8 @@
 #include <QTimer>
 #include <qplatformdefs.h>
 
+#include <stdio.h>
+
 #include "safedelete.h"
 #include "xmpp_task.h"
 #include "xmpp_client.h"
@@ -237,7 +239,7 @@
       buf = new char[size];
       va_list ap;
       va_start(ap, fmt);
-      r = QT_VSNPRINTF(buf, size, fmt, ap);
+      r = vsnprintf(buf, size, fmt, ap);
       va_end(ap);
 
       if(r != -1)
diff -u -r 3.0-beta//third-party/libjingle-0.4.0/talk/base/logging.cc 3.0-beta//third-party/libjingle-0.4.0/talk/base/logging.cc
--- 3.0-beta//third-party/libjingle-0.4.0/talk/base/logging.cc   2010-02-04 16:28:07.000000000 +0200
+++ 3.0-beta//third-party/libjingle-0.4.0/talk/base/logging.cc   2010-03-08 11:04:36.938149347 +0200
@@ -35,6 +35,8 @@
 #include <iostream>
 #include <iomanip>
 
+#include <stdio.h>
+
 #include "talk/base/common.h"
 #include "talk/base/logging.h"
 #include "talk/base/stream.h"
diff -u -r 3.0-beta//third-party/libjingle-0.4.0/talk/base/stream.h 3.0-beta//third-party/libjingle-0.4.0/talk/base/stream.h
--- 3.0-beta//third-party/libjingle-0.4.0/talk/base/stream.h   2010-02-04 16:28:07.000000000 +0200
+++ 3.0-beta//third-party/libjingle-0.4.0/talk/base/stream.h   2010-03-08 11:05:31.614812353 +0200
@@ -28,6 +28,8 @@
 #ifndef TALK_BASE_STREAM_H__
 #define TALK_BASE_STREAM_H__
 
+#include <stdio.h>
+
 #include "talk/base/basictypes.h"
 #include "talk/base/logging.h"
 #include "talk/base/scoped_ptr.h"
diff -u -r 3.0-beta//third-party/libjingle-0.4.0/talk/session/phone/phonesessionclient.h 3.0-beta//third-party/libjingle-0.4.0/talk/session/phone/phonesessionclient.h
--- 3.0-beta//third-party/libjingle-0.4.0/talk/session/phone/phonesessionclient.h   2010-02-04 16:28:07.000000000 +0200
+++ 3.0-beta//third-party/libjingle-0.4.0/talk/session/phone/phonesessionclient.h   2010-03-08 11:08:30.424791783 +0200
@@ -38,6 +38,7 @@
 #include "talk/p2p/base/sessionclient.h"
 #include "talk/p2p/base/sessiondescription.h"
 #include <map>
+#include <stdio.h>
 
 namespace cricket {
 

_________________
Just feel the code...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum