pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/37263: www/gtkhtml314 fails to build with gnome/bonobo >2.18 (i18n issue)
>Number: 37263
>Category: pkg
>Synopsis: www/gtkhtml314: fails to build with gnome/bonobo >2.18 (i18n
>issue)
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Nov 02 15:40:00 +0000 2007
>Originator: Yakovetsky Vladimir
>Release: NetBSD 4.99.31
>Organization:
>Environment:
System: NetBSD lrou.x.ua 4.99.31 NetBSD 4.99.31 (lrou_odd-1.852) #0: Sun Sep 30
18:16:16 EEST 2007 yx%lrou.x.ua@localhost:/sys/arch/i386/compile/lrou_odd i386
Architecture: i386
Machine: i386
>Description:
www/gtkhtml314 fails to build
(probably since gnome/bonobo-2.19)
>How-To-Repeat:
% cd /usr/pkgsrc/www/gtkhtml314 && make
...
cc -DHAVE_CONFIG_H -I. -I../.. -I../../src
-I/usr/obj/www/gtkhtml314/work/.buildlink/include -DORBIT2=1 -pthread
-D_POSIX_THREAD_SAFE_FUNCTIONS
-I/usr/obj/www/gtkhtml314/work/.buildlink/include/libgnomeui-2.0
-I/usr/obj/www/gtkhtml314/work/.buildlink/include/libart-2.0
-I/usr/obj/www/gtkhtml314/work/.buildlink/include/gconf/2
-I/usr/obj/www/gtkhtml314/work/.buildlink/include/gnome-keyring-1
-I/usr/obj/www/gtkhtml314/work/.buildlink/include/libgnome-2.0
-I/usr/obj/www/gtkhtml314/work/.buildlink/include/libbonoboui-2.0
-I/usr/obj/www/gtkhtml314/work/.buildlink/include/libgnomecanvas-2.0
-I/usr/obj/www/gtkhtml314/work/.buildlink/include/gtk-2.0
-I/usr/obj/www/gtkhtml314/work/.buildlink/include/gnome-vfs-2.0
-I/usr/obj/www/gtkhtml314/work/.buildlink/lib/gnome-vfs-2.0/include
-I/usr/obj/www/gtkhtml314/work/.buildlink/include/orbit-2.0
-I/usr/obj/www/gtkhtml314/work/.buildlink/include/glib/glib-2.0
-I/usr/obj/www/gtkhtml314/work/.buildlink/lib/glib-2.0/include
-I/usr/obj/www/gtkh!
tml314/work/.buildlink/include/libbonobo-2.0
-I/usr/obj/www/gtkhtml314/work/.buildlink/include/bonobo-activation-2.0
-I/usr/obj/www/gtkhtml314/work/.buildlink/include/libxml2
-I/usr/obj/www/gtkhtml314/work/.buildlink/include/pango-1.0
-I/usr/obj/www/gtkhtml314/work/.buildlink/include/freetype2
-I/usr/obj/www/gtkhtml314/work/.buildlink/include/gail-1.0
-I/usr/obj/www/gtkhtml314/work/.buildlink/lib/gtk-2.0/include
-I/usr/obj/www/gtkhtml314/work/.buildlink/include/atk-1.0
-I/usr/obj/www/gtkhtml314/work/.buildlink/include/cairo
-I/usr/obj/www/gtkhtml314/work/.buildlink/include/libpng12
-I/usr/obj/www/gtkhtml314/work/.buildlink/include/gtk-unix-print-2.0
-I/usr/obj/www/gtkhtml314/work/.buildlink/include/libglade-2.0
-I/usr/obj/www/gtkhtml314/work/.buildlink/include/libsoup-2.2
-DGNOME_EXPLICIT_TRANSLATION_DOMAIN=\"gtkhtml-3.14\" -DG_LOG_DOMAIN=\"gtkhtml\"
-DSRCDIR=\".\" -DPREFIX=\"/usr/pkg\" -pthread
-DICONDIR=\"/usr/pkg/share/gtkhtml-3.14/icons\" -DGTKHTML_DATADIR=\"/usr/pkg/sh!
are/gtkhtml-3.14\" -DGNOMELOCALEDIR=\"/usr/pkg/share/locale\" !
-DGLADE_
DATADIR=\"/usr/pkg/share/gtkhtml-3.14\" -DGDK_DISABLE_DEPRECATED=1
-DG_DISABLE_DEPRECATED=1 -DPREFIX=\"/usr/pkg\" -DSYSCONFDIR=\"/usr/pkg/etc\"
-DDATADIR=\"/usr/pkg/share\" -DLIBDIR=\"/usr/pkg/share\"
-DBONOBO_DISABLE_DEPRECATED=1 -O2 -mfpmath=sse -msse2 -march=pentium4
-finline-functions -fomit-frame-pointer -ffast-math -Wall -Wmissing-prototypes
-MT paragraph-style.lo -MD -MP -MF .deps/paragraph-style.Tpo -c
paragraph-style.c -fPIC -DPIC -o .libs/paragraph-style.o
paragraph-style.c:33: warning: implicit declaration of function 'N_'
paragraph-style.c:33: error: initializer element is not constant
paragraph-style.c:33: error: (near initialization for
'paragraph_style_data[0].description')
paragraph-style.c:36: error: initializer element is not constant
paragraph-style.c:36: error: (near initialization for
'paragraph_style_data[1].description')
paragraph-style.c:39: error: initializer element is not constant
paragraph-style.c:39: error: (near initialization for
'paragraph_style_data[2].description')
paragraph-style.c:42: error: initializer element is not constant
paragraph-style.c:42: error: (near initialization for
'paragraph_style_data[3].description')
paragraph-style.c:45: error: initializer element is not constant
paragraph-style.c:45: error: (near initialization for
'paragraph_style_data[4].description')
paragraph-style.c:48: error: initializer element is not constant
paragraph-style.c:48: error: (near initialization for
'paragraph_style_data[5].description')
paragraph-style.c:51: error: initializer element is not constant
paragraph-style.c:51: error: (near initialization for
'paragraph_style_data[6].description')
paragraph-style.c:54: error: initializer element is not constant
paragraph-style.c:54: error: (near initialization for
'paragraph_style_data[7].description')
paragraph-style.c:57: error: initializer element is not constant
paragraph-style.c:57: error: (near initialization for
'paragraph_style_data[8].description')
paragraph-style.c:60: error: initializer element is not constant
paragraph-style.c:60: error: (near initialization for
'paragraph_style_data[9].description')
paragraph-style.c:63: error: initializer element is not constant
paragraph-style.c:63: error: (near initialization for
'paragraph_style_data[10].description')
paragraph-style.c:66: error: initializer element is not constant
paragraph-style.c:66: error: (near initialization for
'paragraph_style_data[11].description')
paragraph-style.c:69: error: initializer element is not constant
paragraph-style.c:69: error: (near initialization for
'paragraph_style_data[12].description')
paragraph-style.c: In function 'paragraph_style_get_store':
paragraph-style.c:94: warning: implicit declaration of function 'gettext'
paragraph-style.c:94: warning: incompatible implicit declaration of built-in
function 'gettext'
gmake[4]: *** [paragraph-style.lo] Error 1
gmake[4]: Leaving directory
`/usr/obj/www/gtkhtml314/work/gtkhtml-3.14.3/components/html-editor'
gmake[3]: *** [all] Error 2
gmake[3]: Leaving directory
`/usr/obj/www/gtkhtml314/work/gtkhtml-3.14.3/components/html-editor'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory
`/usr/obj/www/gtkhtml314/work/gtkhtml-3.14.3/components'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/obj/www/gtkhtml314/work/gtkhtml-3.14.3'
gmake: *** [all] Error 2
*** Error code 2
Stop.
>Fix:
(based on paragraph-style.c from gtkhtml-3.15)
:r /usr/pkgsrc/www/gtkhtml314/patches/patch-aa
--- components/html-editor/paragraph-style.c.orig
+++ components/html-editor/paragraph-style.c
@@ -19,6 +19,13 @@
Boston, MA 02111-1307, USA.
*/
+#include <config.h>
+#ifdef GNOME_GTKHTML_EDITOR_SHLIB
+#include <glib/gi18n-lib.h>
+#else
+#include <glib/gi18n.h>
+#endif
+
#include "gtkhtml.h"
#include "paragraph-style.h"
Home |
Main Index |
Thread Index |
Old Index