kwi 3, 2010

9999


Live version of Open source plugin for the Pidgin IM client which allows you to connect the Xfire network.
Kategoria: pidgin-gfire
Napisał: kardasa

This is live version of 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 of ebuild lests you get the source code directly from developers version control system. The program compiled this way may act unstable so use it at your own risk.
? 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.

projectpage: Gfire
summarypl: Wersja rozwojowa opartej na otwartym kodzie źródłowym wtyczki do komunikatora Pidgin, który pozwala na podłączanie się do sieci Xfire.
contentpl: 

To jest wersja rozwojowa opartej na otwartych źródłach wtyczki do komunikatora Pidgin, która pozwala na podłączanie się do sieci Xfire. Posiada ona nie tylko możliwość wysyłania i odbierania wiadomości tekstowych ale również jest wstanie przesłać informacje na temat statusu gry w jaką obecnie grasz. Więcej informacji jak używać tego narzędzia znajdziesz na stronie projektu.

Ta wersja ebuilda pozwala na pobranie kodu bezpośrednie z serwera wersji developerów. Program skompilowany przy jej wykorzystaniu może być niestabilny używaj jej na własne ryzyko.
Ta wersja wspiera wykrywania statusu gry w którą grasz opartą na nowy algorytmie, który powinien być bardziej efektywny. Wprowadza również nową funkcji detekcji serwerów gier. Ta funkcje jest w tej chwili eksperymentalna i powinna być używana z ostrożnością gdyż wymaga ona instalacji programu tcpdump w trybie suid. To może być ryzykowne. Moje doświadczenie pokazuje, że funkcja wykrywania serwerów działa tylko dla ograniczonej ilości gier.

Jest to przepisana wersja ebuild'a pobranego z tego raportu błędu. Dodałem nowe flagi use odpowiadające możliwej konfiguracji programu. Dodałem także flagę srvdetection, która wymusi instalację tcpdump z suid, ale korzystaj z niej na własne ryzyko.

overlaycommands: echo "=x11-plugins/pidgin-gfire-9999 **" >> /etc/portage/package.keywords echo "=x11-plugins/pidgin-gfire-9999" >> /etc/portage/package.unmask emerge -av =x11-plugins/pidgin-gfire-9999
ebuildsource: 
  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. inherit subversion
  8.  
  9. DESCRIPTION="Gfire is an open source plugin for the Pidgin IM client which allows you to connect the Xfire network."
  10. HOMEPAGE="http://gfireproject.org/"
  11. SRC_URI=""
  12.  
  13. ESVN_REPO_URI="http://my-svn.assembla.com/svn/gfire/trunk/"
  14. ESVN_STORE_DIR="${PORTAGE_ACTUAL_DISTDIR-${DISTDIR}}/svn-src/"
  15.  
  16. LICENSE="GPLv3"
  17. SLOT="0"
  18. KEYWORDS=""
  19. IUSE="debug dbus gtk libnotify nls srvdetection"
  20.  
  21. RDEPEND=">=net-im/pidgin-2.5.0
  22. dbus? ( dev-libs/dbus-glib )
  23. gtk? ( >=x11-libs/gtk+-2.14.0 )
  24. libnotify? ( >=x11-libs/libnotify-0.3.2 )
  25. srvdetection? ( >=net-analyzer/tcpdump-4.1.0-r1[suid] )"
  26.  
  27. DEPEND="dev-util/pkgconfig
  28. ${RDEPEND}"
  29.  
  30. src_configure() {
  31. ./autogen.sh
  32. econf $(use_enable debug) $(use_enable libnotify) $(use_enable dbus dbus-status) $(use_enable nls) $(use_enable gtk) || die "econf failed"
  33. }
  34.  
  35. src_compile(){
  36. emake || die "emake failed"
  37. }
  38.  
  39. src_install(){
  40. emake DESTDIR="${D}" install || die "emake install failed"
  41. dodoc AUTHORS ChangeLog README
  42. }
  43.  
  44. pkg_postinst() {
  45. if use srvdetection ; then
  46. ewarn "You installed ${PN} with server detection support,"
  47. ewarn "this requires tcpdump installation with suid support,"
  48. ewarn "this is potential security risk."
  49. ewarn "You have been warned"
  50. elog "To let users use server detection add them to tcpdump group"
  51. fi
  52. }
svnlink: http://www.kardasa.pl/websvn/filedetails.php?repname=KardasA+Overlay&path=%2Fx11-plugins%2Fpidgin-gfire%2Fpidgin-gfire-9999.ebuild