Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Nov 2012 21:36:56 +0100
From:      "Benedict Reuschling" <bcr@FreeBSD.org>
To:        gblach@FreeBSD.org, x11@FreeBSD.org
Subject:   Python dependency for libxcb
Message-ID:  <14647954bbbcbb885618b21a566a4120.squirrel@mx1bln1.prossl.de>

next in thread | raw e-mail | index | archive | help
------=_20121112213656_59476
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 8bit

Hello Grzegorz and X11-Team!

I was trying to switch from mplayer to mplayer2 today. During the install,
it always failed with the error that libxcb needed python version at most
2.7. I had a higher version of python installed, so it would check for
that and fail.

I increased the python version in both Makefiles for multimedia/mplayer2
and x11/libxcb to 3.2 and was then able to compile mplayer2 without any
further problems. I've attached the diffs to them for your review.

I don't know whether this will break other ports, but maybe someone should
review the python requirements for libxcb. Anyway, I'm using mplayer2 now.
:-)

Regards and keep up the good work!

Benedict Reuschling
bcr@FreeBSD.org
The FreeBSD Documentation Project
FreeBSD German Documentation Project -	https://doc.bsdgroup.de
------=_20121112213656_59476
Content-Type: text/x-patch; name="mplayer2.diff"
Content-Transfer-Encoding: 8bit
Content-Disposition: attachment; filename="mplayer2.diff"

--- Makefile.bak	2012-11-12 21:03:12.416513210 +0100
+++ Makefile	2012-11-12 21:05:25.473193083 +0100
@@ -18,7 +18,7 @@
 
 USE_XZ=		yes
 USE_GMAKE=	yes
-USE_PYTHON=	3.1+
+USE_PYTHON=	3.2+
 USE_ICONV=	yes
 USE_NCURSES=	yes
 HAS_CONFIGURE=	yes
------=_20121112213656_59476
Content-Type: text/x-patch; name="libxcb.diff"
Content-Transfer-Encoding: 8bit
Content-Disposition: attachment; filename="libxcb.diff"

--- Makefile.bak	2012-11-12 21:28:55.953179991 +0100
+++ Makefile	2012-11-12 21:06:17.668727700 +0100
@@ -29,7 +29,7 @@
 USE_GMAKE=	yes
 USE_LDCONFIG=	yes
 USE_XORG=	xau xdmcp
-USE_PYTHON_BUILD=	2.5-2.7
+USE_PYTHON_BUILD=	2.5-3.2
 
 GNU_CONFIGURE=	yes
 .for f in XPROTO_CFLAGS XPROTO_LIBS XDMCP_CFLAGS XDMCP_LIBS NEEDED_CFLAGS NEEDED_LIBS
------=_20121112213656_59476--





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?14647954bbbcbb885618b21a566a4120.squirrel>