Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 149600 - net-im/jabbin (new ebuild)
Summary: net-im/jabbin (new ebuild)
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement with 1 vote (vote)
Assignee: Default Assignee for New Packages
URL: http://www.jabbin.com/int/
Whiteboard: sunrise suggested
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2006-09-30 03:18 UTC by Wiebe Cazemier
Modified: 2010-02-15 16:39 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
net-im/jabbin/jabbin-2.0_beta.ebuild (jabbin-2.0_beta.ebuild,739 bytes, text/plain)
2006-10-07 11:14 UTC, Francesco R. (RETIRED)
Details
net-im/jabbin/jabbin-2.0_beta.ebuild (stripped from psi ebuild) (jabbin-2.0_beta.ebuild,1.02 KB, text/plain)
2006-10-07 11:53 UTC, Francesco R. (RETIRED)
Details
net-im/jabbin/jabbin-2.0_beta.ebuild (improved) (jabbin-2.0_beta.ebuild,1.50 KB, text/plain)
2006-11-25 16:47 UTC, Kristian
Details
3party.patch (3party.patch,443 bytes, text/plain)
2006-11-25 16:48 UTC, Kristian
Details
net-im/jabbin/jabbin-2.0beta_amd64.patch (jabbin-2.0beta_amd64.patch,1.65 KB, patch)
2006-12-11 10:26 UTC, bolczyslaw
Details | Diff
net-im/jabbin/jabbin-2.0beta2-r1.ebuild (jabbin-2.0_beta2-r1.ebuild,1.05 KB, text/plain)
2007-01-14 16:27 UTC, Dmitry Kim
Details
ebuild for amd64 architecture (jabbin-2.0_beta2-r1.ebuild,1.34 KB, text/plain)
2007-03-18 14:53 UTC, Juliusz Ćwiąkalski
Details
Jabbin ebuild (jabbin-2.0_beta2-r1.ebuild,1.35 KB, text/plain)
2007-10-12 18:44 UTC, pbmaxi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Wiebe Cazemier 2006-09-30 03:18:25 UTC
Jabbin (http://www.jabbin.com/int/) is a Jabber client based on Psi, with Jingle an TINS support. An ebuild would be appreciated :)
Comment 1 Francesco R. (RETIRED) gentoo-dev 2006-10-07 11:14:44 UTC
Created attachment 99060 [details]
net-im/jabbin/jabbin-2.0_beta.ebuild

The ebuld fail per sandbox issues, things that need to be fixed prior this package can even be neared to portage:
- use a configure script, this is a work in progress in the
  "yazwas" svn branch (qt4?)
- the 3party plugins {iLBC,jrtplib,libjingle,qca} are already in portage
  those should be used instead of the upstream provided ones.

please, ping on this bug when upstream mark stable the 2.0 version
Comment 2 Francesco R. (RETIRED) gentoo-dev 2006-10-07 11:53:24 UTC
Created attachment 99064 [details]
net-im/jabbin/jabbin-2.0_beta.ebuild (stripped from psi ebuild)

another ebuild, still NOT working, but at least it compile and install, shamelessy copied from psi ebuild.
Comment 3 Balint Dobai-Pataky 2006-11-17 00:37:09 UTC
this is the error I get when emerging jabbin with this ebuild.
I admint i wrote my ebuild, and had this same error. :(
and i tried the cvs sourcce of jabbin (wrote ebuild for that too) with the same luck.
i looked over their site and got no answer for this.

../3party/libjingle/libjingle.a(xmlparser.o): In function `~XmlParser':
talk/xmllite/xmlparser.cc:180: undefined reference to `XML_ParserFree'
talk/xmllite/xmlparser.cc:180: undefined reference to `XML_ParserFree'
talk/xmllite/xmlparser.cc:180: undefined reference to `XML_ParserFree'
../3party/libjingle/libjingle.a(xmlparser.o): In function `buzz::XmlParser::Parse(char const*, unsigned int, bool)':
talk/xmllite/xmlparser.cc:167: undefined reference to `XML_Parse'
talk/xmllite/xmlparser.cc:168: undefined reference to `XML_GetErrorCode'
../3party/libjingle/libjingle.a(xmlparser.o): In function `buzz::XmlParser::Reset()':
talk/xmllite/xmlparser.cc:77: undefined reference to `XML_ParserReset'
talk/xmllite/xmlparser.cc:78: undefined reference to `XML_ParserFree'
talk/xmllite/xmlparser.cc:79: undefined reference to `XML_ParserCreate'
talk/xmllite/xmlparser.cc:81: undefined reference to `XML_SetUserData'
talk/xmllite/xmlparser.cc:82: undefined reference to `XML_SetElementHandler'
talk/xmllite/xmlparser.cc:83: undefined reference to `XML_SetCharacterDataHandler'
talk/xmllite/xmlparser.cc:84: undefined reference to `XML_SetXmlDeclHandler'
../3party/libjingle/libjingle.a(xmlparser.o): In function `XmlParser':
talk/xmllite/xmlparser.cc:68: undefined reference to `XML_ParserCreate'
talk/xmllite/xmlparser.cc:69: undefined reference to `XML_SetUserData'
talk/xmllite/xmlparser.cc:70: undefined reference to `XML_SetElementHandler'
talk/xmllite/xmlparser.cc:71: undefined reference to `XML_SetCharacterDataHandler'
talk/xmllite/xmlparser.cc:72: undefined reference to `XML_SetXmlDeclHandler'
talk/xmllite/xmlparser.cc:68: undefined reference to `XML_ParserCreate'
talk/xmllite/xmlparser.cc:69: undefined reference to `XML_SetUserData'
talk/xmllite/xmlparser.cc:70: undefined reference to `XML_SetElementHandler'
talk/xmllite/xmlparser.cc:71: undefined reference to `XML_SetCharacterDataHandler'
talk/xmllite/xmlparser.cc:72: undefined reference to `XML_SetXmlDeclHandler'
collect2: ld returned 1 exit status
make[1]: *** [jabbin] Error 1
make: *** [sub-src] Error 2

!!! ERROR: net-im/jabbin-2.0_beta failed.
Call stack:
  ebuild.sh, line 1568:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  jabbin-2.0_beta.ebuild, line 37:   Called die

!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if relevant.

!!! This ebuild is from an overlay: '/usr/local/portage'
Comment 4 Kristian 2006-11-25 16:47:18 UTC
Created attachment 102726 [details]
net-im/jabbin/jabbin-2.0_beta.ebuild (improved)

this ebuild installs jabbin. it needs libjingle installed with all use flags off.
USE="-ilbc -ortp -speex" emerge -avt libjingle

the install is handmade and really needs improvement.

it seems really hard, to not use the 3party dependencies, since they are modified to include jabbin specific files.
Comment 5 Kristian 2006-11-25 16:48:59 UTC
Created attachment 102727 [details]
3party.patch

to compile against local ligjingle
Comment 6 Zepp 2006-12-02 21:37:50 UTC
I get this error when I attempt to emerge jabbin using the 2.0_beta (improved) ebuild. By the way I am on amd64

../voip/mediastream.cpp: In member function `void MediaStream::start(QPtrQueue<QByteArray>*, cricket::MediaChannel*, int)':
../voip/mediastream.cpp:162: warning: unused variable 'localPort'
make[1]: Leaving directory `/var/tmp/portage/jabbin-2.0_beta/work/jabbin-2.0beta/src'
make: *** [sub-src] Error 2

!!! ERROR: net-im/jabbin-2.0_beta failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  jabbin-2.0_beta.ebuild, line 33:   Called die

!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if relevant.

!!! This ebuild is from an overlay: '/usr/local/portage'
Comment 7 bolczyslaw 2006-12-11 10:26:41 UTC
Created attachment 103816 [details, diff]
net-im/jabbin/jabbin-2.0beta_amd64.patch

I found this patch, but I dont't know how to put it into ebuild, even don't know if it works...
Comment 8 bolczyslaw 2006-12-11 10:30:17 UTC
Comment on attachment 103816 [details, diff]
net-im/jabbin/jabbin-2.0beta_amd64.patch

I found this patch, but I dont't know how to put it into ebuild, even don't
know if it works... I need jabbin to work with my gentoo on amd64 box.
Comment 9 Dmitry Kim 2007-01-14 16:27:09 UTC
Created attachment 106954 [details]
net-im/jabbin/jabbin-2.0beta2-r1.ebuild
Comment 10 Dmitry Kim 2007-01-14 16:28:38 UTC
Comment on attachment 106954 [details]
net-im/jabbin/jabbin-2.0beta2-r1.ebuild

ebuild for jabbin-2.0beta2a
Comment 11 Juliusz Ćwiąkalski 2007-03-18 14:53:02 UTC
Created attachment 113650 [details]
ebuild for amd64 architecture

I modified jabbin-2.0beta2a ebuild so it uses amd64 patch. Unfortunetley emerging jabbin causes the ACCES VOILATION, so it has to be emerged with sandbox feature turned off:

FEATURES="-sandbox" emerge jabbin

I don't know how to work this out. Any ideas?
Comment 12 Alvaro 2007-03-20 00:43:10 UTC
http://bugs.gentoo.org/attachment.cgi?id=113650 doesn't work my machine says 

"!!! net-im/jabbin-2.0_beta2a does not follow correct package syntax."
Comment 13 Juliusz Ćwiąkalski 2007-03-20 15:23:26 UTC
(In reply to comment #12)
> http://bugs.gentoo.org/attachment.cgi?id=113650 doesn't work my machine says 
> 
> "!!! net-im/jabbin-2.0_beta2a does not follow correct package syntax."
> 

Sorry I didn't name an attachment according to ebuild naming scheme, ebuild for amd64 architecture should be named jabbin-2.0_beta2-r1.ebuild

My mistake.
Comment 14 Andrey A. Ugolnik 2007-05-29 09:04:24 UTC
Ebuild jabbin-2.0_beta2-r1.ebuild doesn't check compile errors and probably some depends:

../voip/codecs/speexcodec.cpp:14:25: error: speex/speex.h: No such file or directory
../voip/voicecodec.h:32: warning: ‘class VoiceCodecFactory’ has virtual functions but non-virtual destructor
../voip/codecs/speexcodec.cpp:23: error: ‘SpeexBits’ does not name a type
../voip/codecs/speexcodec.cpp:38: error: ‘SpeexBits’ does not name a type
../voip/codecs/speexcodec.cpp: In constructor ‘SpeexEncoder::SpeexEncoder()’:
../voip/codecs/speexcodec.cpp:51: error: ‘class SpeexEncoder::Private’ has no member named ‘bits’
../voip/codecs/speexcodec.cpp:51: error: ‘speex_bits_init’ was not declared in this scope
../voip/codecs/speexcodec.cpp:55: error: ‘class SpeexEncoder::Private’ has no member named ‘bits’
../voip/codecs/speexcodec.cpp:56: error: ‘speex_nb_mode’ was not declared in this scope
../voip/codecs/speexcodec.cpp:56: error: ‘speex_encoder_init’ was not declared in this scope
../voip/codecs/speexcodec.cpp:59: error: ‘SPEEX_SET_QUALITY’ was not declared in this scope
../voip/codecs/speexcodec.cpp:59: error: ‘speex_encoder_ctl’ was not declared in this scope
../voip/codecs/speexcodec.cpp:61: error: ‘SPEEX_SET_COMPLEXITY’ was not declared in this scope
../voip/codecs/speexcodec.cpp:63: error: ‘SPEEX_SET_VAD’ was not declared in this scope
../voip/codecs/speexcodec.cpp: In constructor ‘SpeexDecoder::SpeexDecoder()’:
../voip/codecs/speexcodec.cpp:71: error: ‘class SpeexDecoder::Private’ has no member named ‘bits’
../voip/codecs/speexcodec.cpp:71: error: ‘speex_bits_init’ was not declared in this scope
../voip/codecs/speexcodec.cpp:76: error: ‘class SpeexDecoder::Private’ has no member named ‘bits’
../voip/codecs/speexcodec.cpp:77: error: ‘speex_nb_mode’ was not declared in this scope
../voip/codecs/speexcodec.cpp:77: error: ‘speex_decoder_init’ was not declared in this scope
../voip/codecs/speexcodec.cpp:80: error: ‘SPEEX_SET_ENH’ was not declared in this scope
../voip/codecs/speexcodec.cpp:80: error: ‘speex_decoder_ctl’ was not declared in this scope
../voip/codecs/speexcodec.cpp: In destructor ‘virtual SpeexEncoder::~SpeexEncoder()’:
../voip/codecs/speexcodec.cpp:86: error: ‘speex_encoder_destroy’ was not declared in this scope
../voip/codecs/speexcodec.cpp:87: error: ‘class SpeexEncoder::Private’ has no member named ‘bits’
../voip/codecs/speexcodec.cpp:87: error: ‘speex_bits_destroy’ was not declared in this scope
../voip/codecs/speexcodec.cpp: In destructor ‘virtual SpeexDecoder::~SpeexDecoder()’:
../voip/codecs/speexcodec.cpp:96: error: ‘speex_decoder_destroy’ was not declared in this scope
../voip/codecs/speexcodec.cpp:97: error: ‘class SpeexDecoder::Private’ has no member named ‘bits’
../voip/codecs/speexcodec.cpp:97: error: ‘speex_bits_destroy’ was not declared in this scope
../voip/codecs/speexcodec.cpp: In member function ‘virtual int SpeexEncoder::encode(const short int*, int, char**, int*)’:
../voip/codecs/speexcodec.cpp:126: error: ‘class SpeexEncoder::Private’ has no member named ‘bits’
../voip/codecs/speexcodec.cpp:126: error: ‘speex_bits_reset’ was not declared in this scope
../voip/codecs/speexcodec.cpp:128: error: ‘class SpeexEncoder::Private’ has no member named ‘bits’
../voip/codecs/speexcodec.cpp:128: error: ‘speex_encode’ was not declared in this scope
../voip/codecs/speexcodec.cpp:132: error: ‘class SpeexEncoder::Private’ has no member named ‘bits’
../voip/codecs/speexcodec.cpp:132: error: ‘speex_bits_write’ was not declared in this scope
../voip/codecs/speexcodec.cpp: In member function ‘virtual int SpeexDecoder::decode(const char*, int, short int**)’:
../voip/codecs/speexcodec.cpp:171: error: ‘class SpeexDecoder::Private’ has no member named ‘bits’
../voip/codecs/speexcodec.cpp:171: error: ‘speex_bits_read_from’ was not declared in this scope
../voip/codecs/speexcodec.cpp:173: error: ‘class SpeexDecoder::Private’ has no member named ‘bits’
../voip/codecs/speexcodec.cpp:173: error: ‘speex_decode’ was not declared in this scope
make[1]: *** [.obj/speexcodec.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/net-im/jabbin-2.0_beta2-r1/work/jabbin-2.0_beta2/src'
make: *** [sub-src] Error 2
>>> Source compiled.
>>> Test phase [not enabled]: net-im/jabbin-2.0_beta2-r1

>>> Install jabbin-2.0_beta2-r1 into /var/tmp/portage/net-im/jabbin-2.0_beta2-r1/image/ category net-im
!!! dobin: src/jabbin does not exist
building file list ... done
Comment 15 pbmaxi 2007-10-12 18:44:40 UTC
Created attachment 133265 [details]
Jabbin ebuild

Adding "inherit qt3" to the ebuild fixed the sandbox error for me.
Jabbin compiles, but when it copies the files, it installs no executables, only stuff in /usr/share.
In addition, configure shows its help while emerging, so I think it doesn't like the parameters, but make does't seem to matter.
Comment 16 Anonymous bin ich 2008-02-23 19:58:02 UTC
Has anyone tried Jabbin from the svn repository? (I would try myself but I don't have a computer for this purpose right now :( )

Looking over at http://jabbin.svn.sourceforge.net/viewvc/jabbin/tags/, I see 2.1-alpha...
Comment 17 Alex J. Ivasyuv 2008-06-29 19:41:51 UTC
jabbin-2.0_beta2-r1

Linking:
....
r/X11R6/lib -L../3party/libjingle -ljingle -lz -lXss -L../3party/jrtplib -ljrtp -lspeex -lssl -lqt-mt -lXext -lX11 -lm -lpthread
.obj/mediastream.o: In function `MediaStream::start(QPtrQueue<QMemArray<char> >*, cricket::MediaChannel*, int)':
/var/tmp/portage/net-im/jabbin-2.0_beta2-r1/work/jabbin-2.0_beta2/src/../voip/mediastream.cpp:190: undefined reference to `RTPSession::Create(RTPSessionParams const&, RTPTransmissionParams const*)'
.obj/mediastream.o: In function `Private':
/var/tmp/portage/net-im/jabbin-2.0_beta2-r1/work/jabbin-2.0_beta2/src/../voip/mediastream.cpp:58: undefined reference to `RTPSession::RTPSession(RTPTransmitter::TransmissionProtocol)'
collect2: ld returned 1 exit status
make[1]: *** [jabbin] Error 1
make[1]: Leaving directory `/var/tmp/portage/net-im/jabbin-2.0_beta2-r1/work/jabbin-2.0_beta2/src'
make: *** [sub-src] Error 2
...

$ dumpelf -v /usr/lib/libjrtp.so | grep RTPSession | grep Create
         * _ZN10RTPSession11CreateCNAMEEPhPjb
         * _ZN10RTPSession14InternalCreateERK16RTPSessionParams
         * _ZN10RTPSession6CreateERK16RTPSessionParamsP14RTPTransmitter
         * _ZN10RTPSession6CreateERK16RTPSessionParamsPK21RTPTransmissionParamsN14RTPTransmitter20TransmissionProtocolE
$
Comment 18 Kilian 2010-02-15 13:42:09 UTC
There is a new version: Jabbin 3.0 Beta “Flaming Phoenix”
http://www.jabbin.com/blog/

We want this! :-)
Comment 19 Peter Volkov (RETIRED) gentoo-dev 2010-02-15 16:39:24 UTC
Guys, there are not a lot of developers in Gentoo to maintain all possible applications and that is why Sunrise overlay was created. The sunrise overlay[1] is a overlay where users are allowed to commit and maintain ebuilds. All ebuilds in this overlay are reviewed by Gentoo developers before entry 
into the overlay [2] so it's quite safe to use overlay. So if anybody here manages to write good ebuild, that follows quite simple coding standards [3], it's a good opportunity to have ebuild reviewed and shared with other users.

[1] http://overlays.gentoo.org/proj/sunrise/
[2] http://overlays.gentoo.org/proj/sunrise/wiki/SunriseFaq#CanIhaveaccesstotheoverlay
[3] http://overlays.gentoo.org/proj/sunrise/wiki/CodingStandards