Xfce Forum

Sub domains
 

You are not logged in.

#1 2011-12-10 15:27:05

ebal
Member
Registered: 2011-12-10
Posts: 6

[Solved] xfburn

archlinux, xfburn.git

Any ideas ?



In file included from xfburn-settings.c:39:0:
xfburn-settings.h:40:3: error: unknown type name 'GObject'
xfburn-settings.h:45:3: error: unknown type name 'GObjectClass'
xfburn-settings.h:48:1: error: unknown type name 'GType'
xfburn-settings.c:48:39: error: unknown type name 'GObject'
xfburn-settings.c:82:1: error: unknown type name 'GObjectClass'
xfburn-settings.c:85:1: error: unknown type name 'GType'
xfburn-settings.c: In function 'xfburn_settings_get_type':
xfburn-settings.c:88:3: error: unknown type name 'GType'
xfburn-settings.c:91:5: error: unknown type name 'GTypeInfo'
xfburn-settings.c:93:7: warning: excess elements in scalar initializer [enabled by default]
xfburn-settings.c:93:7: warning: (near initialization for 'our_info') [enabled by default]
xfburn-settings.c:94:7: warning: excess elements in scalar initializer [enabled by default]
xfburn-settings.c:94:7: warning: (near initialization for 'our_info') [enabled by default]
xfburn-settings.c:95:8: error: 'GClassInitFunc' undeclared (first use in this function)
xfburn-settings.c:95:8: note: each undeclared identifier is reported only once for each function it appears in
xfburn-settings.c:95:7: warning: excess elements in scalar initializer [enabled by default]
xfburn-settings.c:95:7: warning: (near initialization for 'our_info') [enabled by default]
xfburn-settings.c:95:24: error: expected '}' before 'xfburn_settings_class_init'
xfburn-settings.c:104:36: error: 'G_TYPE_OBJECT' undeclared (first use in this function)
xfburn-settings.c: In function 'xfburn_settings_class_init':
xfburn-settings.c:113:3: error: unknown type name 'GObjectClass'
xfburn-settings.c:113:32: warning: initialization makes pointer from integer without a cast [enabled by default]
xfburn-settings.c:117:16: warning: assignment makes pointer from integer without a cast [enabled by default]
xfburn-settings.c:119:15: error: request for member 'finalize' in something not a structure or union
xfburn-settings.c:119:28: error: 'xfburn_settings_finalize' undeclared (first use in this function)
xfburn-settings.c: At top level:
xfburn-settings.c:123:27: error: unknown type name 'GObject'
xfburn-settings.c: In function 'xfburn_settings_internal_init':
xfburn-settings.c:145:33: error: expected expression before 'XfburnSettingsPrivate'
xfburn-settings.c: In function 'xfburn_settings_init':
xfburn-settings.c:349:13: error: expected expression before 'XfburnSettings'
xfburn-settings.c:352:11: error: expected expression before 'XfburnSettingsPrivate'
xfburn-settings.c: In function 'xfburn_settings_flush':
xfburn-settings.c:364:33: error: expected expression before 'XfburnSettingsPrivate'
xfburn-settings.c: In function 'xfburn_settings_get_boolean':
xfburn-settings.c:381:33: error: expected expression before 'XfburnSettingsPrivate'
xfburn-settings.c: In function 'xfburn_settings_get_int':
xfburn-settings.c:401:33: error: expected expression before 'XfburnSettingsPrivate'
xfburn-settings.c: In function 'xfburn_settings_get_string':
xfburn-settings.c:421:33: error: expected expression before 'XfburnSettingsPrivate'
xfburn-settings.c: In function 'xfburn_settings_set_boolean':
xfburn-settings.c:441:33: error: expected expression before 'XfburnSettingsPrivate'
xfburn-settings.c: In function 'xfburn_settings_set_int':
xfburn-settings.c:455:33: error: expected expression before 'XfburnSettingsPrivate'
xfburn-settings.c: In function 'xfburn_settings_set_string':
xfburn-settings.c:469:33: error: expected expression before 'XfburnSettingsPrivate'
make[3]: *** [xfburn-xfburn-settings.o] Error 1
make[3]: Leaving directory `/opt/dnl/xfce/xfce-apps.git/xfburn.git/xfburn'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/opt/dnl/xfce/xfce-apps.git/xfburn.git/xfburn'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/dnl/xfce/xfce-apps.git/xfburn.git'
make: *** [all] Error 2

Offline

#2 2011-12-12 19:10:05

mmassonnet
Member
From: the milky way galaxy
Registered: 2006-07-30
Posts: 99
Website

Re: [Solved] xfburn

You can install xfburn from the official Archlinux repo, why make it complicated?

It seems the INCLUDE path is not set correctly, or that you really are missing the GLib/GTK headers.


Mike

Offline

#3 2011-12-12 19:30:05

ebal
Member
Registered: 2011-12-10
Posts: 6

Re: [Solved] xfburn

i have the entire xfce from git cause i want to QA the greek translation
(i am translating xfce to Greek language)

and i want to test & bug report every xfce change to help the community.

pacman is saying that i meet the deps (expect of course xfce related packages - that i have already installed by source).

I'be also using some python with Gobject introspection and i dont missing any packages there.

i'll take a look on INCLUDE path and read some C code but my knowledge isnt enough

Offline

#4 2011-12-12 19:45:01

ebal
Member
Registered: 2011-12-10
Posts: 6

Re: [Solved] xfburn

Fixed:

in file:

xfburn/xfburn-settings.h


line: 27

added:

#include <glib-object.h>

Offline

#5 2012-05-07 21:50:31

jls_legalize
Member
Registered: 2012-05-07
Posts: 1

Re: [Solved] xfburn

thank u ebal, your patch worked also for me, I've used it to rebuild xfburn for tinycore linux.
this is the patch:

--- a/xfburn/xfburn-settings.h    2012-05-07 22:44:25.870144585 +0200
+++ b/xfburn/xfburn-settings.h    2012-05-07 22:44:57.160146870 +0200
@@ -24,7 +24,7 @@
#endif /* !HAVE_CONFIG_H */

#include <glib.h>
-
+#include <glib-object.h>
G_BEGIN_DECLS

#define XFBURN_TYPE_SETTINGS         (xfburn_settings_get_type ())




the bug is reported here: https://bugzilla.xfce.org/show_bug.cgi?id=7758

Last edited by jls_legalize (2012-05-07 21:53:04)

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.012 seconds, 7 queries executed - Memory usage: 540.29 KiB (Peak: 541.57 KiB) ]