Discussion:
pkg/47373: add proposed patch pkgsrc/devel/py-gobject to suppress warnings
r***@baou.fr
2012-12-29 09:20:01 UTC
Permalink
Number: 47373
Category: pkg
Synopsis: add proposed patch pkgsrc/devel/py-gobject to suppress warnings
Confidential: no
Severity: non-critical
Priority: low
Responsible: pkg-manager
State: open
Class: change-request
Submitter-Id: net
Arrival-Date: Sat Dec 29 09:20:01 +0000 2012
Originator: Richard PALO
Release: pkgsrc trunk
SunOS devzoneX 5.11 oi_151a7 i86pc i386 i86pc Solaris
the following patch (https://bugzilla.gnome.org/show_bug.cgi?id=668522) gets over the following python warnings:
** WARNING **: Trying to register gtype 'GMountMountFlags' as enum when in fact it is of type 'GFlags'

** WARNING **: Trying to register gtype 'GDriveStartFlags' as enum when in fact it is of type 'GFlags'

** WARNING **: Trying to register gtype 'GSocketMsgFlags' as flags when in fact it is of type 'GEnum'
***@devzoneX:~/src/pkgsrc/devel/py-gobject$ cvs diff
Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/devel/py-gobject/distinfo,v
retrieving revision 1.24
diff -u -p -r1.24 distinfo
--- distinfo 14 May 2012 00:15:28 -0000 1.24
+++ distinfo 29 Dec 2012 09:15:00 -0000
@@ -8,4 +8,5 @@ SHA1 (patch-ab) = f9ec40fcac11fe9d6625b6
SHA1 (patch-ac) = 083e691cb13dbefeece505a7b6596c69ec8491f7
SHA1 (patch-ad) = 1fa6c9ec6c3926d2915b7fa0391245bf7ca2daf4
SHA1 (patch-configure) = 0ba83de34c3205ee6e3cbba9436bac05cc1bfd33
+SHA1 (patch-gio_gio-types.defs) = cd8cb198c8720ca0281837e8f863aa9554b927a4
SHA1 (patch-pygi_info.c) = cd2d0f0b16a84c05b805edec89d4508507811c49
Index: patches/patch-gio_gio-types.defs
===================================================================
RCS file: patches/patch-gio_gio-types.defs
diff -N patches/patch-gio_gio-types.defs
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ patches/patch-gio_gio-types.defs 29 Dec 2012 09:15:00 -0000
@@ -0,0 +1,31 @@
+$NetBSD$
+https://bugzilla.gnome.org/show_bug.cgi?id=668522
+--- gio/gio-types.defs.orig 2011-06-13 16:33:49.000000000 +0000
++++ gio/gio-types.defs
+@@ -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")
w***@NetBSD.org
2014-10-23 13:54:19 UTC
Permalink
Synopsis: add proposed patch pkgsrc/devel/py-gobject to suppress warnings

State-Changed-From-To: open->closed
State-Changed-By: ***@NetBSD.org
State-Changed-When: Thu, 23 Oct 2014 13:54:18 +0000
State-Changed-Why:
Committed, thanks!
Thomas Klausner
2014-10-23 13:55:01 UTC
Permalink
The following reply was made to PR pkg/47373; it has been noted by GNATS.

From: "Thomas Klausner" <***@netbsd.org>
To: gnats-***@gnats.NetBSD.org
Cc:
Subject: PR/47373 CVS commit: pkgsrc/devel/py-gobject
Date: Thu, 23 Oct 2014 13:53:56 +0000

Module Name: pkgsrc
Committed By: wiz
Date: Thu Oct 23 13:53:56 UTC 2014

Modified Files:
pkgsrc/devel/py-gobject: Makefile distinfo
Added Files:
pkgsrc/devel/py-gobject/patches: patch-gio_gio-types.defs

Log Message:
Add patch from https://bugzilla.gnome.org/show_bug.cgi?id=668522
via PR 47373 by Richard Palo.
Bump PKGREVISION.


To generate a diff of this commit:
cvs rdiff -u -r1.50 -r1.51 pkgsrc/devel/py-gobject/Makefile
cvs rdiff -u -r1.24 -r1.25 pkgsrc/devel/py-gobject/distinfo
cvs rdiff -u -r0 -r1.1 \
pkgsrc/devel/py-gobject/patches/patch-gio_gio-types.defs

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Loading...