openbsd-ports/net/gajim/patches/patch-src_common_gajim_py

35 lines
947 B
Plaintext

$OpenBSD: patch-src_common_gajim_py,v 1.1 2012/04/05 16:08:56 jasper Exp $
port Gajim to use Farstream instead of Farsight2.
from upstream changeset dfd58bb1ad06.
--- src/common/gajim.py.orig Thu Apr 5 11:37:48 2012
+++ src/common/gajim.py Thu Apr 5 11:38:13 2012
@@ -169,21 +169,21 @@ else:
# read.
HAVE_LATEX = False
-HAVE_FARSIGHT = True
+HAVE_FARSTREAM = True
try:
- farsight = __import__('farsight')
+ farstream = __import__('farstream')
import gst
import glib
try:
conference = gst.element_factory_make('fsrtpconference')
- session = conference.new_session(farsight.MEDIA_TYPE_AUDIO)
+ session = conference.new_session(farstream.MEDIA_TYPE_AUDIO)
del session
del conference
except glib.GError:
- HAVE_FARSIGHT = False
+ HAVE_FARSTREAM = False
except ImportError:
- HAVE_FARSIGHT = False
+ HAVE_FARSTREAM = False
HAVE_UPNP_IGD = True
try: