Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Sep 2013 10:40:00 GMT
From:      nemysis <nemysis@FreeBSD.org>
To:        gnome@FreeBSD.org
Subject:   Re: ports/182069: [PATCH] devel/py27-gobject: Fix GFlags messages
Message-ID:  <201309291040.r8TAe0DW096060@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/182069; it has been noted by GNATS.

From: nemysis <nemysis@FreeBSD.org>
To: bug-followup@FreeBSD.org, gnome@FreeBSD.org
Cc: nemysis@FreeBSD.org
Subject: Re: ports/182069: [PATCH] devel/py27-gobject: Fix GFlags messages
Date: Sun, 29 Sep 2013 12:33:29 +0200

 --3V7upXqbjpZ4EhLz
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 
 Sorry have forget patch
 
 files/patch-gio-gio-types.defs
 
 Here is new diff
 
 --3V7upXqbjpZ4EhLz
 Content-Type: text/x-diff; charset=us-ascii
 Content-Disposition: attachment; filename="py-gobject.diff"
 
 Index: Makefile
 ===================================================================
 --- Makefile	(revision 328651)
 +++ Makefile	(working copy)
 @@ -16,17 +16,15 @@
  COMMENT=	Python bindings for GObject
  
  LICENSE=	LGPL21
 -LICENSE_FILE=	${WRKSRC}/COPYING
  
  BUILD_DEPENDS=	g-ir-scanner:${PORTSDIR}/devel/gobject-introspection \
  		${LOCALBASE}/libdata/pkgconfig/pycairo.pc:${PORTSDIR}/graphics/py-cairo
 -LIB_DEPENDS+=	ffi:${PORTSDIR}/devel/libffi
 +LIB_DEPENDS+=	libffi.so:${PORTSDIR}/devel/libffi
  RUN_DEPENDS=	g-ir-scanner:${PORTSDIR}/devel/gobject-introspection \
  		${LOCALBASE}/libdata/pkgconfig/pycairo.pc:${PORTSDIR}/graphics/py-cairo
  
 -USES=		pathfix pkgconfig
 +USES=		gmake pathfix pkgconfig
  USE_XZ=		yes
 -USE_GMAKE=	yes
  USE_GNOME=	glib20
  USE_PYTHON=	2.5+
  GNU_CONFIGURE=	yes
 @@ -36,9 +34,8 @@
  CONFLICTS=	py*-gtk-0*
  PLIST_SUB=	PYTHON_VER="${PYTHON_VER}"
  
 -NO_STAGE=	yes
  post-install:
  	@${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py \
 -		${PREFIX}/share/pygobject/2.0/codegen
 +		${STAGEDIR}${PREFIX}/share/pygobject/2.0/codegen
  
  .include <bsd.port.mk>
 Index: files/patch-gio-gio-types.defs
 ===================================================================
 --- files/patch-gio-gio-types.defs	(revision 0)
 +++ files/patch-gio-gio-types.defs	(working copy)
 @@ -0,0 +1,29 @@
 +--- gio/gio-types.defs.orig	2011-06-13 18:33:49.000000000 +0200
 ++++ gio/gio-types.defs	2013-09-13 01:14:09.000000000 +0200
 +@@ -526,7 +526,7 @@
 +   )
 + )
 + 
 +-(define-enum MountMountFlags
 ++(define-flags MountMountFlags
 +   (in-module "gio")
 +   (c-name "GMountMountFlags")
 +   (gtype-id "G_TYPE_MOUNT_MOUNT_FLAGS")
 +@@ -545,7 +545,7 @@
 +   )
 + )
 + 
 +-(define-enum DriveStartFlags
 ++(define-flags DriveStartFlags
 +   (in-module "gio")
 +   (c-name "GDriveStartFlags")
 +   (gtype-id "G_TYPE_DRIVE_START_FLAGS")
 +@@ -770,7 +770,7 @@
 +   )
 + )
 + 
 +-(define-enum SocketMsgFlags
 ++(define-flags SocketMsgFlags
 +   (in-module "gio")
 +   (c-name "GSocketMsgFlags")
 +   (gtype-id "G_TYPE_SOCKET_MSG_FLAGS")
 
 Property changes on: files/patch-gio-gio-types.defs
 ___________________________________________________________________
 Added: svn:mime-type
 ## -0,0 +1 ##
 +text/plain
 \ No newline at end of property
 Added: fbsd:nokeywords
 ## -0,0 +1 ##
 +yes
 \ No newline at end of property
 Added: svn:eol-style
 ## -0,0 +1 ##
 +native
 \ No newline at end of property
 Index: pkg-plist
 ===================================================================
 --- pkg-plist	(revision 328651)
 +++ pkg-plist	(working copy)
 @@ -23,6 +23,9 @@
  %%PYTHON_SITELIBDIR%%/gobject/propertyhelper.py
  %%PYTHON_SITELIBDIR%%/gobject/propertyhelper.pyc
  %%PYTHON_SITELIBDIR%%/gobject/propertyhelper.pyo
 +%%PYTHON_SITELIBDIR%%/gtk-2.0/dsextras.py
 +%%PYTHON_SITELIBDIR%%/gtk-2.0/dsextras.pyc
 +%%PYTHON_SITELIBDIR%%/gtk-2.0/dsextras.pyo
  %%PYTHON_SITELIBDIR%%/gtk-2.0/gio/__init__.py
  %%PYTHON_SITELIBDIR%%/gtk-2.0/gio/__init__.pyc
  %%PYTHON_SITELIBDIR%%/gtk-2.0/gio/__init__.pyo
 @@ -30,9 +33,6 @@
  %%PYTHON_SITELIBDIR%%/gtk-2.0/gio/_gio.so
  %%PYTHON_SITELIBDIR%%/gtk-2.0/gio/unix.la
  %%PYTHON_SITELIBDIR%%/gtk-2.0/gio/unix.so
 -%%PYTHON_SITELIBDIR%%/gtk-2.0/dsextras.py
 -%%PYTHON_SITELIBDIR%%/gtk-2.0/dsextras.pyc
 -%%PYTHON_SITELIBDIR%%/gtk-2.0/dsextras.pyo
  %%PYTHON_SITELIBDIR%%/pygtk.pth
  %%PYTHON_SITELIBDIR%%/pygtk.py
  %%PYTHON_SITELIBDIR%%/pygtk.pyc
 
 --3V7upXqbjpZ4EhLz--



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