! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
xfce4-power-manager-0.9.98 fails to compile with certain ./configure flags
Status:
RESOLVED: FIXED
Product:
Xfce4-power-manager
Component:
General

Comments

Description Samuli Suominen 2010-08-11 07:57:01 CEST
./configure --enable-polkit --disable-hal --enable-dpms --disable-network-manager --enable-panel-plugins --disable-xsltproc --enable-debug

[ .. ]

	prefix:			/usr
	xdg autostart:		/etc
	HAL:			no
	POLKIT:			yes
   	DPMS:   		yes
	Network manager:	no
  	Build panel plugins:	yes
   	Debug:		   	yes

[ .. ]

brightness-plugin.c: In function ‘_xpp_provider_signal’:
brightness-plugin.c:46:1: warning: passing argument 1 of ‘xfce_panel_plugin_get_name’ from incompatible pointer type
/usr/include/xfce4/libxfce4panel-1.0/libxfce4panel/xfce-panel-plugin.h:157:23: note: expected ‘struct XfcePanelPlugin *’ but argument is of type ‘struct GtkWidget *’
In file included from /usr/include/xfce4/libxfcegui4/libxfcegui4.h:47:0,
                 from brightness-button.c:31:
/usr/include/xfce4/libxfcegui4/xfce-appmenuitem.h:72:73: error: expected ‘)’ before ‘*’ token
make[3]: *** [xfce4_brightness_plugin-brightness-button.o] Error 1


I'm using xfce4-panel-4.7.2, libxfce4ui-4.7.2 and I have installed libxfcegui4-4.6.4 for old plugins.
Comment 1 Samuli Suominen 2010-08-11 08:03:39 CEST
uh... panel-plugins/brightness/brightness-button.c is still using libxfcegui4 but configure.ac doesn't check for libxfcegui4... only libxfce4ui...

#include <libxfcegui4/libxfcegui4.h>
Comment 2 Samuli Suominen 2010-08-11 08:52:14 CEST
Created attachment 3074 
seems to compile fine with the header simply removed

Bug #6630

Reported by:
Samuli Suominen
Reported on: 2010-08-11
Last modified on: 2010-08-12

People

Assignee:
Ali Abdallah
CC List:
0 users

Version

Version:
0.9.98

Attachments

Additional information