avant-window-navigator(/-extras)-0.4.0 has been out for quite a while and yet is missing an ebuild in portage, the overlays as well are running live snapshots instead of stable release. It would be nice to bump the 0.3.2 ebuilds in portage to 0.4.0. Since avant 0.4.0 depends on libdesktop-agnostic, an ebuild is required for the same as well. I'm attaching ebuilds for awn, awn-extras and libdesktop-agnostic after modification to the ones present in overlay which seem to work correctly locally to use the release versions instead. Reproducible: Always Steps to Reproduce: emerge -pv avant-window-navigator Actual Results: latest version available - 0.3.2 Expected Results: should list 0.4.0 as latest
Created attachment 229133 [details] ebuild for libdesktop-agnostic
Created attachment 229135 [details] Patch to libdesktop-agnostic to allow versions of vala newer than 0.7.10
Created attachment 229137 [details] Ebuild for awn-extras
Created attachment 229139 [details] Ebuild for awn-0.4.0
1. I had to download dev-libs/gir-repository ebuild from the gnome overlay (it's not in portage). 2. libdesktop-agnostic fails during configure if built with "glade" use flag: >>> Configuring source in /var/tmp/portage/x11-libs/libdesktop-agnostic-0.3.90/work/libdesktop-agnostic-0.3.90 ... waf [command] [options] Main commands (example: ./waf build -j4) build : builds the project clean : removes the build files configure: configures the project distclean: removes the build directory install : installs the build files uninstall: removes the installed files waf: error: no such option: --enable-glade I can build it with USE="-glade". 3. There were some file collisions during upgrade from portage version which prevented the avant-window navigator to install: avant-window-navigator-0.4.0 tried to owerwrite following files belonging to gnome-extra/avant-window-navigator-extras-0.3.2.2: /usr/lib/debug/usr/lib64/awn/applets/separator/separator.so.debug /usr/lib64/awn/applets/separator/separator.la /usr/lib64/awn/applets/separator/separator.so /usr/share/avant-window-navigator/applets/separator.desktop Unmerging old avant-window-navigator-extras and emerging the new versions solved this trouble. So far AWN 0.4 seems to work fine.
I'll look into awn tarballs for current status with glade. However I have no idea how to handle file collisions. Any help on how to do the same will be much appreciated. Gir is indeed needed from the gnome overlay to merge awn though.
Created attachment 230569 [details] gir-repository ebuild from gnome overlay
Created attachment 230571 [details] Updated ebuild for libdesktop-agnostic glade is no longer a valid use flag for libdesktop-agnostic
Er.. too hasty it seems... glade is indeed available as a use flag.. updated ebuild to reflect the new changes
Created attachment 230587 [details] ebuild with working glade use flag
Created attachment 230615 [details] Ebuild for awn-0.4.0 with collision handling
Created attachment 230831 [details, diff] Patch needed by gir-repository ebuild
avant-window-navigator-0.4.0.ebuild shoud add "dev-vcs/bzr" dependency, otherwise awn-settings can't run.
Missing dependency for avant-window-navigator-extras stacker-applet depends on gnome-desktop-python
(In reply to comment #13) > avant-window-navigator-0.4.0.ebuild shoud add "dev-vcs/bzr" dependency, > otherwise awn-settings can't run. > Confirmed here. And of course ebuild should have ~amd64 keyword - I have one, and works perfectly :)
The ebuild here is a good start but it needs lots of cleanup. I'd suggest looking into http://git.overlays.gentoo.org/gitweb/?p=proj/desktop-effects.git;a=tree;f=gnome-extra/avant-window-navigator;h=a136609323f35f745a43d4849342e9fa25c66085;hb=HEAD http://gentoo-overlays.zugaina.org/kist-overlay/portage/gnome-extra/avant-window-navigator/ http://gentoo-overlays.zugaina.org/desktop-effects/portage/gnome-extra/avant-window-navigator/ for inspiration. For example, the awn ebuild attached to this bug misses something like pkg_preinst() { dosym /usr/lib/libawn.so /usr/lib/libawn.so.0 } if /usr/lib/libawn.so.0 doesn't exist, runtime problems occur (i.e. you cant edit awn preferences)
*** Bug 314863 has been marked as a duplicate of this bug. ***
Created attachment 241465 [details] Updated libdesktop-agnostic that specifies older (0.6.x) series dev-libs/gobject-introspection I was having trouble with the libdesktop-agnostic ebuild. libdesktop-agnostic seems to require dev-libs/gobject-introspection version 0.6.x and not 0.9.0 (both are in portage as ~arch). I wasn't sure what the right way to specify this. If did it wrong, someone please correct it.
Created attachment 275219 [details] New ebuild for >dev-lang/vala-0.8* Made the vala dependency optional, moved configuration code from src_compile to src_configure so that ./configure only runs once, and added code to src_configure to detect >dev-lang/vala-0.8* (valac binary is now valac-0.10).
Poor choice of words on the last comment, attachment 275219 [details] is for AWN, but updated for >dev-lang/vala-0.8*, since previous ebuild does not recognize valac-0.10 as a valid valac binary. Sorry for the confusion.
Created attachment 275419 [details, diff] patch for AWN-extras ebuild Added the code from AWN ebuild to find valac for >dev-lang/vala-0.8*. Made hal requirement optional, since many people are trying to phase out hal. Simple housekeeping (fixed typo, made sure gnome-menus was only in dependencies once, wnck depends on gnome USE flag along with libwnck-python).
Created attachment 275429 [details, diff] patch for AWN-extras from wnx overlay This patch allows the notification-daemon module to build without the "too many arguments to function 'notify_notification_new'" error. The error is caused by libnotify changes since =x11-libs/libnotify-0.7.1. The change is documented, and AWN-extras-0.3.2.2 in main tree currently uses a similar patch. File should be placed in gnome-extra/avant-window-navigator-extras/files directory.
Created attachment 275431 [details, diff] patch for AWN-extras ebuild for libnotify error Patch for AWN-extras ebuild to use attachment 275429 [details, diff].
So it's been quite a while on this. It looks like some progress has been made though. Any idea when we might see an ebuild work its way into the portage tree?
Created attachment 287707 [details, diff] patch for AWN ebuild, added bzr to RDEPENDS On my new machine, AWN required installing bzr before first run. As to adding to portage tree - there is still significant interest in these packages. If you are interested in seeing them in Sunrise or main Portage tree, please download and test (adding ~keyword for your architechture), and report any issues you have. Thank you.
(In reply to comment #23) > Created attachment 275431 [details, diff] > patch for AWN-extras ebuild for libnotify error > > Patch for AWN-extras ebuild to use attachment 275429 [details, diff]. The ebuild patch is the same as the source patch. Actually if it is working on your machine, can you post both ebuilds and make all these patch obsolete?
*** Bug 388739 has been marked as a duplicate of this bug. ***
Created attachment 291129 [details] ebuild for AWN The current ebuild for avant-window-navigator-0.4.0 This ebuild worked for me on a fresh install. The ebuild is only ~amd64 tested, if you are willing to test on other ~arch's, please patch for new keywords.
Created attachment 291131 [details] ebuild for AWN-extras The current ebuild for avant-window-navigator-extras-0.4.0 This ebuild worked for me on a fresh install.
Replace dependencies x11-libs/vte with x11-libs/vte:0 in awn-extras ebuild & >=x11-libs/libwnck-2.22 with >=x11-libs/libwnck-2.22:1 in awn ebuild since there are newer slots in portage now.
Are we sure that AWN does not run with newer versions of vte and libwnck? If you know of any bug reports, please post, and I will update ebuilds.
(In reply to comment #31) > Are we sure that AWN does not run with newer versions of vte and libwnck? If > you know of any bug reports, please post, and I will update ebuilds. Well, I don't know about that but configuration fails. can't find vte and libwnck during configure. and btw why isn't this in portage yet? could be marked unstable.
I've added avant-window-navigator-0.4.0 to Portage and removed avant-window-navigator-extras. Therefore: I'm converting this bug to "New package request" for avant-window-navigator-extras.
Created attachment 291823 [details] ebuild for AWN-extras Here is the new ebuild for AWN-extras with vte:0 and libwnck:1
also -extras now in portage.