awn-extras does not compile when awn is --with-desktop=xfce4

Bug #196047 reported by Psycona on 2008-02-27
2
Affects Status Importance Assigned to Milestone
Awn Extras
High
Mark Lee

Bug Description

I am using the bzr trunk of both awn and awn-extras, because they aren't in Debian yet. My only compile time options, for both and for all source packages, is --prefix=/usr/local/stow/<package> (http://www.gnu.org/software/stow/ if you're not familiar with stow. You really should be).

If I do not specify --with-workspace in awn, then both awn and awn-extras compiles, installs and runs.

If I specify --with-workspace=xfce4 in awn, then awn compiles and runs fine, but the following breaks in awn-extras:

==

 gcc -DHAVE_CONFIG_H -I. -I../.. -I. -I../../src -DLIBAWN_USE_XFCE -pthread -DORBIT2=1 -I/usr/local/stow/avant//include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/thunar-vfs-1 -I/usr/include/gconf/2 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/exo-0.3 -I/usr/include/xfce4 -I/usr/include/orbit-2.0 -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -DACTIONDIR=\"/usr/local/stow/awn-extras//share/affinity/actions\" -g -O2 -MT aff-results.lo -MD -MP -MF .deps/aff-results.Tpo -c aff-results.c -fPIC -DPIC -o .libs/aff-results.o
In file included from aff-results.c:25:
../../config.h:5:1: warning: "DBUS_API_SUBJECT_TO_CHANGE" redefined
<command-line>: warning: this is the location of the previous definition
In file included from /usr/include/exo-0.3/exo/exo.h:28,
                 from /usr/include/thunar-vfs-1/thunar-vfs/thunar-vfs-enum-types.h:6,
                 from /usr/include/thunar-vfs-1/thunar-vfs/thunar-vfs.h:26,
                 from /usr/local/stow/avant//include/libawn/awn-vfs.h:37,
                 from aff-results.c:37:
/usr/include/glib-2.0/glib/gi18n-lib.h:30:1: warning: "_" redefined
In file included from aff-results.c:33:
/usr/include/glib-2.0/glib/gi18n.h:25:1: warning: this is the location of the previous definition
In file included from /usr/include/exo-0.3/exo/exo.h:28,
                 from /usr/include/thunar-vfs-1/thunar-vfs/thunar-vfs-enum-types.h:6,
                 from /usr/include/thunar-vfs-1/thunar-vfs/thunar-vfs.h:26,
                 from /usr/local/stow/avant//include/libawn/awn-vfs.h:37,
                 from aff-results.c:37:
/usr/include/glib-2.0/glib/gi18n-lib.h:31:1: warning: "Q_" redefined
In file included from aff-results.c:33:
/usr/include/glib-2.0/glib/gi18n.h:26:1: warning: this is the location of the previous definition
aff-results.c: In function 'aff_results_popup_menu':
aff-results.c:425: error: 'ThunarVfsApplication' undeclared (first use in this function)
aff-results.c:425: error: (Each undeclared identifier is reported only once
aff-results.c:425: error: for each function it appears in.)
aff-results.c:425: error: expected expression before ')' token
make[4]: *** [aff-results.lo] Error 1

==

I am running Debian Lenny/testing, with xfce4 4.4.2 and Thunar 0.9.0.

Mark Lee (malept) wrote :

Fixed in trunk r357. Thanks for the bug report.

Changed in awn-extras:
assignee: nobody → malept
importance: Undecided → High
status: New → Fix Committed
Psycona (jonathan-hepburn) wrote :

Sorry, that only fixes the last part of the error. I hadn't looked at it properly, but there were actually at least two problems in that message. I still get this part:

===

In file included from aff-start.c:24:
../../config.h:5:1: warning: "DBUS_API_SUBJECT_TO_CHANGE" redefined
<command-line>: warning: this is the location of the previous definition
In file included from /usr/include/exo-0.3/exo/exo.h:28,
                 from /usr/include/thunar-vfs-1/thunar-vfs/thunar-vfs-enum-types.h:6,
                 from /usr/include/thunar-vfs-1/thunar-vfs/thunar-vfs.h:26,
                 from /usr/local/stow/avant//include/libawn/awn-vfs.h:37,
                 from aff-start.c:33:
/usr/include/glib-2.0/glib/gi18n-lib.h:30:1: warning: "_" redefined
In file included from aff-start.c:31:
/usr/include/glib-2.0/glib/gi18n.h:25:1: warning: this is the location of the previous definition
In file included from /usr/include/exo-0.3/exo/exo.h:28,
                 from /usr/include/thunar-vfs-1/thunar-vfs/thunar-vfs-enum-types.h:6,
                 from /usr/include/thunar-vfs-1/thunar-vfs/thunar-vfs.h:26,
                 from /usr/local/stow/avant//include/libawn/awn-vfs.h:37,
                 from aff-start.c:33:
/usr/include/glib-2.0/glib/gi18n-lib.h:31:1: warning: "Q_" redefined
In file included from aff-start.c:31:
/usr/include/glib-2.0/glib/gi18n.h:26:1: warning: this is the location of the previous definition
aff-start.c: In function '_add_item':
aff-start.c:206: error: too few arguments to function 'thunar_vfs_path_new'

===

I don't know enough to be certain, but I think that the final two lines are also a separate bug in aff-start.c

Mark Lee (malept) on 2008-08-05
Changed in awn-extras:
milestone: none → 0.2.8
onox (onox) on 2009-02-09
Changed in awn-extras:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers