Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Avant-Window-Navigator
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
kriz
Apprentice
Apprentice


Joined: 22 Jan 2003
Posts: 231

PostPosted: Sat Oct 05, 2013 9:46 am    Post subject: Avant-Window-Navigator Reply with quote

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
View user's profile Send private message
Hu
Watchman
Watchman


Joined: 06 Mar 2007
Posts: 9066

PostPosted: Sat Oct 05, 2013 2:31 pm    Post subject: Reply with quote

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
View user's profile Send private message
Aquous
l33t
l33t


Joined: 08 Jan 2011
Posts: 646

PostPosted: Sat Oct 05, 2013 4:16 pm    Post subject: Reply with quote

Does it help if you drop this patch in /etc/portage/patches/gnome-extra/avant-window-navigator/?
Back to top
View user's profile Send private message
kriz
Apprentice
Apprentice


Joined: 22 Jan 2003
Posts: 231

PostPosted: Sun Oct 06, 2013 7:42 am    Post subject: Reply with quote

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
View user's profile Send private message
Hu
Watchman
Watchman


Joined: 06 Mar 2007
Posts: 9066

PostPosted: Sun Oct 06, 2013 4:00 pm    Post subject: Reply with quote

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
View user's profile Send private message
kriz
Apprentice
Apprentice


Joined: 22 Jan 2003
Posts: 231

PostPosted: Sun Oct 06, 2013 4:44 pm    Post subject: Reply with quote

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
View user's profile Send private message
MSXManiac
n00b
n00b


Joined: 04 May 2011
Posts: 3

PostPosted: Sun Nov 03, 2013 1:00 am    Post subject: Reply with quote

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
View user's profile Send private message
dweezil-n0xad
Tux's lil' helper
Tux's lil' helper


Joined: 30 Oct 2006
Posts: 79
Location: Ostend, Belgium

PostPosted: Tue Dec 03, 2013 2:11 pm    Post subject: Reply with quote

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 :D

note: dock preferences only work with python2
Code:
$ python2 /usr/bin/awn-settings

_________________
ASUS N56VV | i7-3630QM @ 2,4GHZ | 12GB DDR3 | NVIDIA GeForce GT 750M 2GB | 256GB SSD
HP HDX 18 | C2Q Q9000 @2GHz | 6GB DDR3 | NVIDIA GeForce 9600M GT 1GB | 128GB SSD | 500GB HD
Back to top
View user's profile Send private message
ebray187
Tux's lil' helper
Tux's lil' helper


Joined: 02 Mar 2005
Posts: 98
Location: Al otro lado de la pantalla

PostPosted: Thu Jan 30, 2014 1:57 am    Post subject: Reply with quote

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 :D

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
View user's profile Send private message
dweezil-n0xad
Tux's lil' helper
Tux's lil' helper


Joined: 30 Oct 2006
Posts: 79
Location: Ostend, Belgium

PostPosted: Thu Jan 30, 2014 3:59 am    Post subject: Reply with quote

avant-window-navigator-0.4.2.ebuild
libdesktop-agnostic-0.3.94.ebuild
_________________
ASUS N56VV | i7-3630QM @ 2,4GHZ | 12GB DDR3 | NVIDIA GeForce GT 750M 2GB | 256GB SSD
HP HDX 18 | C2Q Q9000 @2GHz | 6GB DDR3 | NVIDIA GeForce 9600M GT 1GB | 128GB SSD | 500GB HD
Back to top
View user's profile Send private message
ebray187
Tux's lil' helper
Tux's lil' helper


Joined: 02 Mar 2005
Posts: 98
Location: Al otro lado de la pantalla

PostPosted: Thu Jan 30, 2014 10:35 pm    Post subject: Reply with quote

dweezil-n0xad wrote:
avant-window-navigator-0.4.2.ebuild
libdesktop-agnostic-0.3.94.ebuild


Thanks!
_________________
# emerge -C world >> 9/8
A flower?!
Back to top
View user's profile Send private message
-world
n00b
n00b


Joined: 10 Mar 2014
Posts: 4
Location: /var/lib/portage/

PostPosted: Wed Mar 12, 2014 6:35 am    Post subject: Thanks Reply with quote

dweezil-n0xad wrote:
avant-window-navigator-0.4.2.ebuild
libdesktop-agnostic-0.3.94.ebuild

I just have compiled and installed and works, thank you
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum