Followed 2.6.0 rapidly.
And needs the same fix like pidgin-2.5.7 needed:
And add dependency for "net-dns/libidn" and introduce a use-flag for video and voice, say "vv" and add "vv? ( net-libs/farsight2 )" to dependencies, and "$(use_enable vv)" to the econf line ..
Works for me atleast on ~amd64 :)
(In reply to comment #0)
> Followed 2.6.0 rapidly.
Pidgin 2.6.1 is released with few crash fixes:
* Fix a crash when some users send you a link in a Yahoo IM
* Fix compilation with GTK+ < 2.6.0
* Fix compilation on Windows
Probably we should work on it and not on 2.6.0 anymore? Any ebuilds suggested?
I will do it in the near future.. There are some dependency changes since 2.5.x.. the most important of which is the requirement for Farsight2 (for the VV features). So I have to bump gstreamer and farsight2 first..
*** Bug 282056 has been marked as a duplicate of this bug. ***
Created attachment 201756 [details]
Here's an ebuild. Use the farsight keyword to enable new voice/video support. Only tested it on my machine so far, so may have some problems.
Created attachment 201761 [details]
Modified version of the above ebuild
Similar to (and based on) the above ebuild, but adds optional, USE-based dependency on libidn (and passes --disable-idn to the ./configure script if the USE flag is disabled), as well as switching from "farsight" to "vv" for both USE flag and --enable flag. Some testing with the ./configure script shows that --enable-farsight and --enable-vv produce identical results when used alone; --enable-farsight --disable-vv gives the same result as including neither, while --disable-farsight --enable-vv gives an error about vv's dependencies not being met. I'm not sure what that says about the relative importance of farsight and vv to the ./configure script, but from the user's perspective, vv is likely to be more meaningful.
I'm trying to build pidgin 2.6.1 with this ebuild. It's says:
checking for gconftool-2... no
./configure: line 22210: gconftool-2: command not found
Using config source for schema installation
Using $(sysconfdir)/gconf/schemas as install directory for schema files
checking for FARSIGHT... yes
Dependencies for voice/video were not met.
Install the necessary gstreamer and farsight packages first.
Or use --disable-vv if you do not need voice/video support.
I have gstreamer-0.10.24 and farsight2-0.0.10 already installed.
Some dependency is missing?
Created attachment 201848 [details]
Added gconf dependency
I have added one line to ebuild:
vv? ( >=net-libs/farsight2-0.0.9
because with USE="-vv" ebuild success. I have tested it on my machine.
Created attachment 201856 [details]
Fixed ebuild ( use vv && ! use gstreamer -> die )
Sorry sorry sorry for SPAMing you!
The source of my problem was use-flag "gstreamer". Emerging pidgin with "vv" and without "gstreamer" failed (even if i had gstreamer installed as dependency for another program).
Now final fixed ebuild (and it's work). Gconf is not needed. So i've added test: if you emerging with "vv", you must use flag "gstreamer".
When you do the bump for pidgin, please fix bug #236761 as well.
Currently pidgin fails to compile for everybody who doesn't have dev-util/intltool installed on his system. It's a build-time dependency:
checking whether NLS is requested... yes
checking for intltool-update... no
checking for intltool-merge... no
checking for intltool-extract... no
configure: error: The intltool scripts were not found. Please install intltool.
!!! Please attach the following file when seeking support:
* ERROR: net-im/pidgin-2.5.8 failed.
Using die on flag combinations is wrong.. The enable should just enable gst is vv is required. That said, I think I will just use the "gstreamer" flag to enable vv
its now in the tree.
Its also fixed..
Wow, I wouldn't have thought that the --enable-gstreamer flag to ./configure would have the same effect as both --enable-farsight and --enable-vv, but apparently it does. So yea, I guess we all stand corrected there.
Though, if you don't mind me asking, why include a dependency on gst-plugins-meta? I mean, you're not including gnome-media, which includes the gstreamer-properties necessary to choose microphone input; what does gst-plugins-meta give you aside from making it easier to compile gnome-media (which also depends on gst-plugins-meta) later down the road?
And why remove the idn stuff? Now it won't build on my system, because I don't have libidn installed; shouldn't I be able to disable a USE flag and have it pass --disable-idn to the ./configure script so it won't complain anymore? Or at the very least add libidn to the dependencies unconditionally, so it will be able to build.
I just tried emerging pidgin-2.6.1 after --sync, but failed:
checking for GSTINTERFACES... yes
checking for FARSIGHT... yes
checking for IDN... no
GNU Libidn development headers not found.
Use --disable-idn if you do not need it.
* The die message:
* econf failed
Need to add idn useflag or --disable-idn ?
Reopening... because of the above mentioned problems.
Created attachment 201924 [details, diff]
How about this fix to the ebuild?
It should fix the idn stuff and adds $(use_enable gstreamer vv) sto the ebuild as well.
Could you fix bug #282282 at the same time (pidgin-2.6.1 being packed using a broken intltool), mrpouet mentioned a sed that worked for epiphany...
I should not do these things when I'm half asleep..
The gst-plugins-meta is to make sure you have some sink/source installed. And also preferably some codecs.
*** Bug 282314 has been marked as a duplicate of this bug. ***
has anyone actually successfully used voice or video in 2.6.1? I emerged successfully from the build in the tree (and configure said voice and video is being compiled), but if I got to Conversation -> Media in a conversation window, all the options are grayed out.
"Make sure you have:
* gstreamer0.10-plugins-bad (not sure which version, but it needs to include the gstrtpbin plugin)
* gstreamer0.10-plugins-farsight >= 0.12.6 "
the ebuild in the tree currently does not depend on media-plugins/gst-plugins-farsight. Should it?
and yes, I am attempting this with an gmail/XMPP account
No, gst-plugins-farsight no longer is a farsight2 dependency, all the required plugins have moved to gst-plugins-bad. It will also only work if the other end supports calling (so he has to be running either Empathy or a N8x0 or the windows GTalk standalone client or pidgin 2.6.x or the windows/mac google video plugin).
*** Bug 282376 has been marked as a duplicate of this bug. ***
Pidgin crashes when trying to initiate a video call on missing `encoding` in libtheora.
(21:04:05) mediamanager: gst pipeline error: Could not encode stream.
(21:04:05) mediamanager: Debug details: theoraenc.c(1007): theora_enc_chain (): /GstPipeline:pipeline0/GstBin:conf_0x2d43b90/FsRtpConference:fsrtpconference0/GstBin:discover_1_96/GstTheoraEnc:theoraenc0:
libtheora has been compiled with the encoder disabled
(21:04:05) mediamanager: gst pipeline error: Internal data flow error.
(21:04:05) mediamanager: Debug details: gstbasesrc.c(2378): gst_base_src_loop (): /GstPipeline:pipeline0/GstBin:pidgindefaultvideosrc/GstBin:pidgindefaultvideosrc/GstGConfVideoSrc:gconfvideosrc0/GstBin:bin3/GstV4l2Src:v4l2src0:
streaming task paused, reason error (-5)
(21:04:05) GLib: gmem.c:136: failed to allocate 3382854549 bytes
Fixed it by recompiling libtheora with encode* flag.
(In reply to comment #28)
> Pidgin crashes when trying to initiate a video call on missing `encoding` in
This has nothing to do with bumping the ebuild or the necessary changes. Please go and file a new bug for this new issue.