View previous topic :: View next topic |
Author |
Message |
kriz Apprentice
Joined: 22 Jan 2003 Posts: 231
|
Posted: Sat Oct 05, 2013 9:46 am Post subject: Avant-Window-Navigator |
|
|
greetings dear fellows ...
About a couple of years i use this dock for a standalone-compiz-DE.
Since this summer in the course of an glib-update awn didn't compile with:
Code: |
awn-ua-alignment.c: In function ‘awn_ua_alignment_plug_removed’:
awn-ua-alignment.c:298:3: warning: ‘g_value_array_free’ is deprecated (declared at /usr/include/glib-2.0/gobject/gvaluearray.h:72): Use 'GArray' instead [-Wdeprecated-declarations]
awn-app.c: In function ‘awn_app_init’:
awn-app.c:157:5: warning: ‘g_value_array_get_nth’ is deprecated (declared at /usr/include/glib-2.0/gobject/gvaluearray.h:65): Use 'GArray' instead [-Wdeprecated-declarations]
awn-app.c:172:3: warning: ‘g_value_array_free’ is deprecated (declared at /usr/include/glib-2.0/gobject/gvaluearray.h:72): Use 'GArray' instead [-Wdeprecated-declarations]
awn-panel.c: In function ‘on_geometry_changed’:
awn-panel.c:2634:20: warning: variable ‘priv’ set but not used [-Wunused-but-set-variable]
awn-panel.c: In function ‘awn_panel_add_applet’:
awn-panel.c:3534:3: warning: ‘g_value_array_new’ is deprecated (declared at /usr/include/glib-2.0/gobject/gvaluearray.h:69): Use 'GArray' instead [-Wdeprecated-declarations]
awn-panel.c:3541:3: warning: ‘g_value_array_append’ is deprecated (declared at /usr/include/glib-2.0/gobject/gvaluearray.h:82): Use 'GArray' instead [-Wdeprecated-declarations]
awn-panel.c:3547:3: warning: ‘g_value_array_free’ is deprecated (declared at /usr/include/glib-2.0/gobject/gvaluearray.h:72): Use 'GArray' instead [-Wdeprecated-declarations]
awn-panel.c: In function ‘awn_panel_delete_applet’:
awn-panel.c:3558:20: warning: variable ‘priv’ set but not used [-Wunused-but-set-variable]
awn-panel.c: In function ‘value_array_append_int’:
awn-panel.c:4022:3: warning: ‘g_value_array_append’ is deprecated (declared at /usr/include/glib-2.0/gobject/gvaluearray.h:82): Use 'GArray' instead [-Wdeprecated-declarations]
awn-panel.c: In function ‘value_array_append_bool’:
awn-panel.c:4033:3: warning: ‘g_value_array_append’ is deprecated (declared at /usr/include/glib-2.0/gobject/gvaluearray.h:82): Use 'GArray' instead [-Wdeprecated-declarations]
awn-panel.c: In function ‘value_array_append_array’:
awn-panel.c:4048:3: warning: ‘g_value_array_append’ is deprecated (declared at /usr/include/glib-2.0/gobject/gvaluearray.h:82): Use 'GArray' instead [-Wdeprecated-declarations]
awn-panel.c: In function ‘awn_panel_get_snapshot’:
awn-panel.c:4088:3: warning: ‘g_value_array_new’ is deprecated (declared at /usr/include/glib-2.0/gobject/gvaluearray.h:69): Use 'GArray' instead [-Wdeprecated-declarations]
awn-panel.c:4098:3: warning: ‘g_value_array_get_type’ is deprecated (declared at /usr/include/glib-2.0/gobject/gvaluearray.h:62): Use 'GArray' instead [-Wdeprecated-declarations]
awn-panel.c: At top level:
awn-panel.c:496:1: warning: ‘awn_panel_drag_motion’ defined but not used [-Wunused-function]
LINK avant-window-navigator
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../x86_64-pc-linux-gnu/bin/ld: awn-background.o: undefined reference to symbol 'desktop_agnostic_color_new'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../x86_64-pc-linux-gnu/bin/ld: note: 'desktop_agnostic_color_new' is defined in DSO /usr/lib64/libdesktop-agnostic.so.0 so try adding it to the linker command line
/usr/lib64/libdesktop-agnostic.so.0: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
make[3]: *** [avant-window-navigator] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
* ERROR: gnome-extra/avant-window-navigator-0.4.0::gentoo failed (compile phase):
* emake failed
*
* If you need support, post the output of `emerge --info '=gnome-extra/avant-window-navigator-0.4.0::gentoo'`,
* the complete build log and the output of `emerge -pqv '=gnome-extra/avant-window-navigator-0.4.0::gentoo'`.
* The complete build log is located at '/var/tmp/portage/gnome-extra/avant-window-navigator-0.4.0/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/gnome-extra/avant-window-navigator-0.4.0/temp/environment'.
* Working directory: '/var/tmp/portage/gnome-extra/avant-window-navigator-0.4.0/work/avant-window-navigator-0.4.0'
* S: '/var/tmp/portage/gnome-extra/avant-window-navigator-0.4.0/work/avant-window-navigator-0.4.0'
*
* The following package has failed to build or install:
*
* (gnome-extra/avant-window-navigator-0.4.0::gentoo, ebuild scheduled for merge), Log file:
* '/var/tmp/portage/gnome-extra/avant-window-navigator-0.4.0/temp/build.log'
*
|
A few applets inside AWN need to be recompiled so i need your help because my programming-skills not even enough.
Is there any chance to fix it?
I like AWN so it will be great to use it furthermore.
cc _________________ There is nothing in the desert... and no man needs nothing. |
|
Back to top |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21635
|
Posted: Sat Oct 05, 2013 2:31 pm Post subject: |
|
|
The message about the symbol being in libdesktop-agnostic.so.0 suggests that adding that to the linker line would be sufficient, but you also have a message could not read symbols: Invalid operation, so more work may be required. Start by causing the linker to include -ldesktop-agnostic and report back. Also, it would be helpful if you disable the misfeature that hides the command text so we can see what options were passed to the linker. |
|
Back to top |
|
|
Aquous l33t
Joined: 08 Jan 2011 Posts: 700
|
Posted: Sat Oct 05, 2013 4:16 pm Post subject: |
|
|
Does it help if you drop this patch in /etc/portage/patches/gnome-extra/avant-window-navigator/? |
|
Back to top |
|
|
kriz Apprentice
Joined: 22 Jan 2003 Posts: 231
|
Posted: Sun Oct 06, 2013 7:42 am Post subject: |
|
|
this time i tried with the sources and got:
Code: |
export LDFLAGS="-ldesktop-agnostic"
|
Code: |
/usr/lib64/libgdk-x11-2.0.so.0: could not read symbols: Invalid operation
|
@Aquous
Your patch didn't help. _________________ There is nothing in the desert... and no man needs nothing. |
|
Back to top |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21635
|
Posted: Sun Oct 06, 2013 4:00 pm Post subject: |
|
|
Library link directives should go in LIBS, not LDFLAGS. It is a bug in the Makefile that your environment change had any effect.
That said, your partial success confirms my earlier analysis. Something is wrong with your /usr/lib64/libgdk-x11-2.0.so.0. Does equery check report any problems with it? What is the output of file -L /usr/lib64/libgdk-x11-2.0.so.0 ; ls -Ll /usr/lib64/libgdk-x11-2.0.so.0? |
|
Back to top |
|
|
kriz Apprentice
Joined: 22 Jan 2003 Posts: 231
|
Posted: Sun Oct 06, 2013 4:44 pm Post subject: |
|
|
Code: |
equery check *gdk*
* Checking dev-dotnet/gdk-sharp-2.12.10 ...
36 out of 36 files passed
* Checking x11-libs/gdk-pixbuf-2.28.2 ...
114 out of 114 files passed
|
Code: |
file -L /usr/lib64/libgdk-x11-2.0.so.0
/usr/lib64/libgdk-x11-2.0.so.0: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, stripped
|
Code: |
ls -Ll /usr/lib64/libgdk-x11-2.0.so.0
-rwxr-xr-x 1 root root 736408 30. Sep 17:41 /usr/lib64/libgdk-x11-2.0.so.0
|
_________________ There is nothing in the desert... and no man needs nothing. |
|
Back to top |
|
|
MSXManiac n00b
Joined: 04 May 2011 Posts: 3
|
Posted: Sun Nov 03, 2013 1:00 am Post subject: |
|
|
I post here to say that AWN don't work with ubuntu 13.10 saucy salamander. launched in a terminal the system returns:
** (avant-window-navigator:11710): CRITICAL **: desktop_agnostic_config_schema_get_metadata_option: assertion 'self != NULL' failed
** (avant-window-navigator:11710): CRITICAL **: desktop_agnostic_config_schema_get_metadata_option: assertion 'self != NULL' failed
Falha de segmentação (imagem do núcleo gravada)
Solutions? |
|
Back to top |
|
|
dweezil-n0xad Apprentice
Joined: 30 Oct 2006 Posts: 156 Location: Ostend, Belgium
|
Posted: Tue Dec 03, 2013 2:11 pm Post subject: |
|
|
Today I did a fresh gentoo ~amd64 install with xfce4 on my asus n56vv notebook.
I could not compile Avant Windown Navigator 0.4.0 from portage, I had the same linking problem with libdesktop-agnostic.
Then I noticed there are new upstream releases: Awn 0.4.2 and libdesktop-agnostic 0.3.94
I bumped the ebuilds in my local overlay and now I have a fully functional Awn
note: dock preferences only work with python2
Code: | $ python2 /usr/bin/awn-settings |
_________________ i7-4790K | 16GB DDR3 | GTX 970 | 500GB SSD
ASUS N56VV | i7-3630QM | 12GB DDR3 | GT 750M | 256GB SSD |
|
Back to top |
|
|
ebray187 Tux's lil' helper
Joined: 02 Mar 2005 Posts: 121 Location: Al otro lado de la pantalla
|
Posted: Thu Jan 30, 2014 1:57 am Post subject: |
|
|
dweezil-n0xad wrote: | Today I did a fresh gentoo ~amd64 install with xfce4 on my asus n56vv notebook.
I could not compile Avant Windown Navigator 0.4.0 from portage, I had the same linking problem with libdesktop-agnostic.
Then I noticed there are new upstream releases: Awn 0.4.2 and libdesktop-agnostic 0.3.94
I bumped the ebuilds in my local overlay and now I have a fully functional Awn
note: dock preferences only work with python2
Code: | $ python2 /usr/bin/awn-settings |
|
can you share the ebuilds? _________________ # emerge -C world >> 9/8
A flower?! |
|
Back to top |
|
|
dweezil-n0xad Apprentice
Joined: 30 Oct 2006 Posts: 156 Location: Ostend, Belgium
|
|
Back to top |
|
|
ebray187 Tux's lil' helper
Joined: 02 Mar 2005 Posts: 121 Location: Al otro lado de la pantalla
|
Posted: Thu Jan 30, 2014 10:35 pm Post subject: |
|
|
Thanks! _________________ # emerge -C world >> 9/8
A flower?! |
|
Back to top |
|
|
-world n00b
Joined: 10 Mar 2014 Posts: 4 Location: /var/lib/portage/
|
Posted: Wed Mar 12, 2014 6:35 am Post subject: Thanks |
|
|
I just have compiled and installed and works, thank you |
|
Back to top |
|
|
|