pidgin-gfire-0.9.0

Published: 03.04.2010

Open source plugin for the Pidgin IM client which allows you to connect the Xfire network.

Project homepage: Gfire

Gfire is an open source plugin for the Pidgin IM client which allows you to connect the Xfire network. This plugin is able not only to send and recive text messages but can also raport to Xfire network your Linux in game status. More informations how to use this great tool you will find on project web site.

This version supports in game status detection based on new algorithm which should work better the the old process based one. It also introduce a new feature, game server detection. At the moment this feature is experimental and should be used with coution because it requires user to have tcpdump with suid support, this may be risky. I found out that the server detection is working for limited number of game titles only.

This is rewritten version of ebuild taken from this bug report. I added new use flags then are corresponding to possible program configuration, srvdetection use flag will pull the tcpdump with suid support, but use it at your own risk.

To use this ebuild run following commands in terminal:

echo "=x11-plugins/pidgin-gfire-0.9.0" >> /etc/portage/package.keywords
emerge -av =x11-plugins/pidgin-gfire-0.9.0

View the source of the ebuild
  1. # Copyright 1999-2010 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. # $Header: j0inty edited by KardasA $
  4.  
  5. EAPI="2"
  6.  
  7. DESCRIPTION="Gfire is an open source plugin for the Pidgin IM client which allows you to connect the Xfire network."
  8. HOMEPAGE="http://gfireproject.org/"
  9. SRC_URI="mirror://sourceforge/gfire/${P}.tar.bz2"
  10.  
  11. LICENSE="GPLv3"
  12. SLOT="0"
  13. KEYWORDS="~amd64 ~x86"
  14. IUSE="debug dbus gtk libnotify srvdetection"
  15.  
  16. RDEPEND=">=net-im/pidgin-2.5.0
  17. dbus? ( dev-libs/dbus-glib )
  18. gtk? ( >=x11-libs/gtk+-2.14.0 )
  19. libnotify? ( >=x11-libs/libnotify-0.3.2 )
  20. srvdetection? ( >=net-analyzer/tcpdump-4.1.0-r1[suid] )"
  21.  
  22. DEPEND="dev-util/pkgconfig
  23. ${RDEPEND}"
  24.  
  25. src_configure() {
  26. econf $(use_enable debug) $(use_enable libnotify) $(use_enable dbus dbus-status) $(use_enable gtk) || die "econf failed"
  27. }
  28.  
  29. src_compile() {
  30. emake || die "emake failed"
  31. }
  32.  
  33. src_install() {
  34. emake DESTDIR="${D}" install || die "emake install failed"
  35. dodoc AUTHORS ChangeLog README
  36. }
  37.  
  38. pkg_postinst() {
  39. if use srvdetection ; then
  40. ewarn "You installed ${PN} with server detection support,"
  41. ewarn "this requires tcpdump installation with suid support,"
  42. ewarn "this is potential security risk."
  43. ewarn "You have been warned"
  44. elog "To let users use server detection add them to tcpdump group"
  45. fi
  46. }

Here is the list of all the pidgin-gfire ebuild versions that are available in my overlay:



Comments

If you have found something wrong with the information provided above or maybe you just want to speak your mind about it, feel free to leave a comment.
All comments will show up on page after being approved. Sorry for such policy but I want to make sure that my site will be free of abusive or vulgar content. I don't mind being criticized just do it using right words.

Leave a comment