pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/46392: glib 2.32.1 meanwhile Only <glib.h> can be included directly



>Number:         46392
>Category:       pkg
>Synopsis:       glib 2.32.1 meanwhile Only <glib.h> can be included directly
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Apr 30 17:45:00 +0000 2012
>Originator:     David Shao
>Release:        NetBSD 6.99.6 (GENERIC) amd64
>Organization:
>Environment:
NetBSD 6.99.6 (GENERIC) amd64
>Description:
Using pkgsrc current on NetBSD 6.99.6 (GENERIC) amd64, although the problem 
will probably apply to almost any platform, attempting to install or update 
chat/meanwhile results in various error messages:

#error "Only <glib.h> can be included directly."

Due to API changes in glib, all references to including <glib/gstring.h>, 
<glib/glist.h>, <glib/ghash.h>, and maybe others need to be replaced by only 
<glib.h>.

chat/meanwhile appears to be a requirement of kdenetwork4 and thus kde4.
>How-To-Repeat:
Using pkgsrc current on NetBSD 6.99.6 (GENERIC) amd64, although the problem 
will probably apply to almost any platform, attempt to install or update 
chat/meanwhile
>Fix:
Due to API changes in glib, all references to including <glib/gstring.h>, 
<glib/glist.h>, <glib/ghash.h>, and maybe others need to be replaced by only 
<glib.h>.

Patches at least allowed chat/meanwhile to build and install, no idea about 
functionality.

$NetBSD$

--- src/channel.c.orig  2005-12-08 22:04:46.000000000 +0000
+++ src/channel.c
@@ -19,8 +19,10 @@
 */
 
 #include <glib.h>
+#if 0 /* Obsoleted by glib 2.32.1 */
 #include <glib/ghash.h>
 #include <glib/glist.h>
+#endif
 #include <string.h>
 
 #include "mw_channel.h"

$NetBSD$

--- src/mw_debug.c.orig 2012-04-30 17:19:36.000000000 +0000
+++ src/mw_debug.c
@@ -19,7 +19,10 @@
 */
 
 
+#include <glib.h>
+#if 0 /* Obsoleted by glib 2.32.1 */
 #include <glib/gstring.h>
+#endif
 
 #include "mw_debug.h"

$NetBSD$

--- src/mw_message.h.orig       2005-12-15 00:30:28.000000000 +0000
+++ src/mw_message.h
@@ -22,7 +22,10 @@
 #define _MW_MESSAGE_H
 
 
+#include <glib.h>
+#if 0 /* Obsoleted by glib 2.32.1 */
 #include <glib/glist.h>
+#endif
 #include "mw_common.h"

$NetBSD$

--- src/mw_srvc_conf.h.orig     2005-12-15 00:30:28.000000000 +0000
+++ src/mw_srvc_conf.h
@@ -21,8 +21,10 @@
 #ifndef _MW_SRVC_CONF_H
 #define _MW_SRVC_CONF_H
 
-
+#include <glib.h>
+#if 0 /* Obsoleted by glib 2.32.1 */
 #include <glib/glist.h>
+#endif
 #include "mw_common.h"

$NetBSD$

--- src/mw_srvc_dir.h.orig      2005-12-15 00:30:28.000000000 +0000
+++ src/mw_srvc_dir.h
@@ -22,7 +22,9 @@
 
 
 #include <glib.h>
+#if 0 /* Obsoleted by glib 2.32.1 */
 #include <glib/glist.h>
+#endif
 
 
 #ifdef __cplusplus

$NetBSD$

--- src/mw_srvc_place.h.orig    2005-12-15 00:30:28.000000000 +0000
+++ src/mw_srvc_place.h
@@ -22,7 +22,10 @@
 #define _MW_SRVC_PLACE_H
 
 
+#include <glib.h>
+#if 0 /* Obsoleted by glib 2.32.1 */
 #include <glib/glist.h>
+#endif
 #include "mw_common.h"

$NetBSD$

--- src/mw_srvc_resolve.h.orig  2005-12-15 00:30:28.000000000 +0000
+++ src/mw_srvc_resolve.h
@@ -23,7 +23,9 @@
 
 
 #include <glib.h>
+#if 0 /* Obsoleted by glib 2.32.1 */
 #include <glib/glist.h>
+#endif
 
 
 #ifdef __cplusplus

$NetBSD$

--- src/mw_st_list.h.orig       2005-12-15 00:30:28.000000000 +0000
+++ src/mw_st_list.h
@@ -30,7 +30,9 @@
 
 
 #include <glib.h>
+#if 0 /* Obsoleted by glib 2.32.1 */
 #include <glib/glist.h>
+#endif
 #include "mw_common.h"

$NetBSD$

--- src/mw_util.h.orig  2004-12-28 20:41:26.000000000 +0000
+++ src/mw_util.h
@@ -23,8 +23,10 @@
 
 
 #include <glib.h>
+#if 0 /* Obsoleted by glib 2.32.1 */
 #include <glib/ghash.h>
 #include <glib/glist.h>
+#endif
 
 
 #define map_guint_new() \

$NetBSD$

--- src/srvc_aware.c.orig       2005-12-08 22:02:11.000000000 +0000
+++ src/srvc_aware.c
@@ -19,8 +19,10 @@
 */
 
 #include <glib.h>
+#if 0 /* Obsoleted by glib 2.32.1 */
 #include <glib/ghash.h>
 #include <glib/glist.h>
+#endif
 #include <string.h>
 
 #include "mw_channel.h"

$NetBSD$

--- src/srvc_conf.c.orig        2005-12-28 02:46:54.000000000 +0000
+++ src/srvc_conf.c
@@ -19,8 +19,10 @@
 */
 
 #include <glib.h>
+#if 0 /* Obsoleted by glib 2.32.1 */
 #include <glib/ghash.h>
 #include <glib/glist.h>
+#endif
 
 #include <stdio.h>
 #include <stdlib.h>

$NetBSD$

--- src/srvc_dir.c.orig 2005-09-15 20:30:20.000000000 +0000
+++ src/srvc_dir.c
@@ -18,7 +18,10 @@
   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */
 
+#include <glib.h>
+#if 0 /* Obsoleted by glib 2.32.1 */
 #include <glib/ghash.h>
+#endif
 
 #include "mw_channel.h"
 #include "mw_common.h"

$NetBSD$

--- src/srvc_ft.c.orig  2005-09-15 20:30:37.000000000 +0000
+++ src/srvc_ft.c
@@ -19,7 +19,10 @@
 */
 
 
+#include <glib.h>
+#if 0
 #include <glib/glist.h>
+#endif
 
 #include "mw_channel.h"
 #include "mw_common.h"

$NetBSD$

--- src/srvc_im.c.orig  2005-12-28 02:46:54.000000000 +0000
+++ src/srvc_im.c
@@ -19,7 +19,9 @@
 */
 
 #include <glib.h>
+#if 0 /* Obsoleted by glib 2.32.1 */
 #include <glib/glist.h>
+#endif
 #include <string.h>
 
 #include "mw_channel.h"

$NetBSD$

--- src/srvc_place.c.orig       2005-12-03 02:00:29.000000000 +0000
+++ src/srvc_place.c
@@ -19,8 +19,10 @@
 */
 
 #include <glib.h>
+#if 0 /* Obsoleted by glib 2.32.1 */
 #include <glib/ghash.h>
 #include <glib/glist.h>
+#endif
 
 #include <stdio.h>
 #include <stdlib.h>

$NetBSD$

--- src/srvc_resolve.c.orig     2005-10-27 00:10:06.000000000 +0000
+++ src/srvc_resolve.c
@@ -18,7 +18,10 @@
   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */
 
+#include <glib.h>
+#if 0 /* Obsoleted by glib 2.32.1 */
 #include <glib/ghash.h>
+#endif
 
 #include "mw_channel.h"
 #include "mw_common.h"

$NetBSD$

--- src/srvc_store.c.orig       2005-11-19 01:52:42.000000000 +0000
+++ src/srvc_store.c
@@ -18,7 +18,10 @@
   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */
 
+#include <glib.h>
+#if 0 /* Obsoleted by glib 2.32.1 */
 #include <glib/glist.h>
+#endif
 
 #include "mw_channel.h"
 #include "mw_debug.h"

$NetBSD$

--- src/st_list.c.orig  2005-12-08 22:01:27.000000000 +0000
+++ src/st_list.c
@@ -20,7 +20,10 @@
 
 #include <stdio.h>
 #include <string.h>
+#include <glib.h>
+#if 0 /* Obsoleted by glib 2.32.1 */
 #include <glib/gstring.h>
+#endif
 
 #include "mw_debug.h"
 #include "mw_util.h"



Home | Main Index | Thread Index | Old Index