You are not logged in.
Pages: 1
I can't seem to get awn extras applets to install for me, i have looked on the forums but i cant find anything for it
i posted below what i get
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing default-1 commands
config.status: executing po/stamp-it commands
configure: WARNING: unrecognized options: --with-indicator
Avant Window Navigator Extras 0.4.0
===================================
prefix: /usr
Vala Support: yes
WebKit Support: webkit-1.0
XULRunner Support: no
Making all in applets
Making all in maintained/animal-farm
Making all in maintained/awnterm
CC awn-terminal.o
In file included from ./keybinder.h:27:0,
from awn-terminal.c:40:
/usr/include/glib-2.0/glib/gtypes.h:28:2: error: #error "Only <glib.h> can be included directly."
In file included from awn-terminal.c:41:0:
/usr/include/glib-2.0/glib/gi18n.h:28:0: warning: "_" redefined [enabled by default]
In file included from awn-terminal.c:37:0:
/usr/include/glib-2.0/glib/gi18n-lib.h:32:0: note: this is the location of the previous definition
In file included from awn-terminal.c:41:0:
/usr/include/glib-2.0/glib/gi18n.h:29:0: warning: "Q_" redefined [enabled by default]
In file included from awn-terminal.c:37:0:
/usr/include/glib-2.0/glib/gi18n-lib.h:33:0: note: this is the location of the previous definition
In file included from awn-terminal.c:41:0:
/usr/include/glib-2.0/glib/gi18n.h:31:0: warning: "C_" redefined [enabled by default]
In file included from awn-terminal.c:37:0:
/usr/include/glib-2.0/glib/gi18n-lib.h:35:0: note: this is the location of the previous definition
awn-terminal.c: In function ‘awn_terminal_applet_create_new_tab’:
awn-terminal.c:885:2: warning: ‘vte_terminal_fork_command’ is deprecated (declared at /usr/include/vte-0.0/vte/vtedeprecated.h:82) [-Wdeprecated-declarations]
awn-terminal.c: In function ‘awn_terminal_applet_exited_cb’:
awn-terminal.c:1035:3: warning: ‘vte_terminal_fork_command’ is deprecated (declared at /usr/include/vte-0.0/vte/vtedeprecated.h:82) [-Wdeprecated-declarations]
make[4]: *** [awn-terminal.lo] Error 1
make[3]: *** [all] Error 2
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Makepkg was unable to build awn-extras-applets.
Offline
I don't know about the applets, but this error has been discussed several times. It seems there was a change in glib and not all the apps relying on it have been updated.
You'll need to add a sed command to the PKGBUILD along the lines of
sed -i 's|glib/g.*\.h|glib.h|' source_directory/*Obviously, change the source directory to the proper path (using the pkgdir and srcdir variables).
You could also let the package maintainer know that either a patch is needed, or the PKGBUILD needs to be udpated to incude this sed command.
Last edited by Trilby (2012-05-19 23:05:28)
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
I can confirm that it's the solution. In complete form, you should add following lines to PKGBUILD:
sed -i 's|glib/g.*\.h|glib.h|' applets/maintained/awnterm/*
sed -i 's|glib/g.*\.h|glib.h|' applets/unmaintained/awnsystemmonitor/*
sed -i 's|glib/g.*\.h|glib.h|' applets/maintained/notification-daemon/*
sed -i 's|glib/g.*\.h|glib.h|' applets/unmaintained/main-menu/*I think we could mark this as [Solved]!
Offline
sed -i 's|glib/g.*\.h|glib.h|' applets/maintained/awnterm/* sed -i 's|glib/g.*\.h|glib.h|' applets/unmaintained/awnsystemmonitor/* sed -i 's|glib/g.*\.h|glib.h|' applets/maintained/notification-daemon/* sed -i 's|glib/g.*\.h|glib.h|' applets/unmaintained/main-menu/*
Those worked for me, too. No longer getting the deprecation notice.
Now I get:
daemon.c: In function notify_daemon_close_notification_handler:
daemon.c:1421:17: warning: passing argument 4 of g_set_errorâ makes pointer fr\
om integer without a cast [enabled by default]
In file included from /usr/include/glib-2.0/glib/gthread.h:35:0,
from /usr/include/glib-2.0/glib/gasyncqueue.h:34,
from /usr/include/glib-2.0/glib.h:34,
from /usr/include/glib-2.0/gobject/gbinding.h:30,
from /usr/include/glib-2.0/glib-object.h:25,
from /usr/include/dbus-1.0/dbus/dbus-glib.h:27,
from daemon.c:44:
/usr/include/glib-2.0/glib/gerror.h:75:10: note: expected const gchar * but argument is of type int
daemon.c: In function send_message:
daemon.c:1490:5: error: too many arguments to function notify_notification_new
In file included from /usr/include/libnotify/notify.h:27:0,
from daemon.c:51:
/usr/include/libnotify/notification.h:114:21: note: declared here
make[4]: *** [daemon.lo] Error 1
make[3]: *** [all] Error 2
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2If I were to ask you a hypothetical question, what would you want it to be about?
Offline
Pages: 1