Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 198647 - gnome-extra/avant-window-navigator-extras-0.2.1 file collision with notification-daemon-0.3.7
Summary: gnome-extra/avant-window-navigator-extras-0.2.1 file collision with notificat...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: William L. Thomson Jr. (RETIRED)
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2007-11-10 11:25 UTC by Jisakiel
Modified: 2007-12-07 00:24 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
schemas.diff (awn.patch,5.17 KB, text/plain)
2007-11-21 17:06 UTC, Pacho Ramos
Details
ebuilds.diff (ebuilds.diff,777 bytes, patch)
2007-12-06 12:49 UTC, Pacho Ramos
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jisakiel 2007-11-10 11:25:40 UTC
avant-window-navigator-extras-0.2.1 fails to install; it gives a collision error with notification-daemon-0.3.7 on /etc/gconf/schemas/notification-daemon.schemas. It previously also happened with the xeffects ebuilds. 

I guess it should be reported upstream?

Reproducible: Always

Actual Results:  
 * package gnome-extra/avant-window-navigator-extras-0.2.1 NOT merged
 *
 * Detected file collision(s):
 *
 *      /etc/gconf/schemas/notification-daemon.schemas
 *
 * Searching all installed packages for file collisions...
 *
 * Press Ctrl-C to Stop
 *
 * x11-misc/notification-daemon-0.3.7
Comment 1 William L. Thomson Jr. (RETIRED) gentoo-dev 2007-11-10 16:23:59 UTC
Don't set FEATURE collision-protect or press ctrl-c as instructed below, and it won't prevent you from merging. I am not sure if it's providing the same schema another ebuild is. Or if it's a modified version or what. Haven't had a chance to look into it, but will do asap.

Although it's possible this collision might remain and I might need to address it via other means. Other than not installing said file or etc.
Comment 2 Joe R. Nassimian 2007-11-11 20:17:30 UTC
Thanks a lot for the effort and all, but I think the extra's package is missing some dependencies, reading http://wiki.awn-project.org/index.php?title=Awn_Extras:Installation
gnome-base/gnome-menus
gnome-base/librsvg
gnome-base/libgtop
x11-libs/libsexy
x11-libs/libnotify
dev-python/pyalsaaudio
net-libs/libgmail

are dependencies as well, I don't know what the inherit gnome2 does, as I just started to mingle with ebuilds and stuff, and didn't see these in the awn ebuild either, so are they really missing in the ebuild or am I being the annoying n00b again?

And would it make sense to split the avant-window-navigator into a meta-package or whatever you call it? Since there are more packages to come for this dock, like the themes package, the 3rd party applets package, like call the present awn ebuild avant-...-base-0.2.1 and then have one ebuild that would emerge the fully packed dock.

A note to Hamid Ohadi: AWN dock works just fine without the extras, although without the extra functionality, so would it be interesting to mention that on the wiki? And if so, they can either have to emerge the extra which will pull naturally awn since it's listed as a dependency, or just emerge awn alone, for the basic dock?
Comment 3 Pacho Ramos gentoo-dev 2007-11-21 17:03:50 UTC
Same problem here
Comment 4 Pacho Ramos gentoo-dev 2007-11-21 17:06:10 UTC
Created attachment 136619 [details]
schemas.diff

This is a diff between original notification-daemon file and awn one
Comment 5 Pacho Ramos gentoo-dev 2007-11-21 17:12:34 UTC
Reading opensuse's src.rpm, they fix this simply moving the affected files. From spec file I get:

# Make sure we don't get any conflicts
mv ${RPM_BUILD_ROOT}/%{_sysconfdir}/gconf/schemas/notification-daemon.schemas \
   ${RPM_BUILD_ROOT}/%{_sysconfdir}/gconf/schemas/awn-notification-daemon.schemas
mv ${RPM_BUILD_ROOT}/%{_sysconfdir}/gconf/schemas/awnsystemmonitor.schemas \
   ${RPM_BUILD_ROOT}/%{_sysconfdir}/gconf/schemas/awn-system-monitor.schemas
mv ${RPM_BUILD_ROOT}/%{_sysconfdir}/gconf/schemas/filebrowser.schemas \
   ${RPM_BUILD_ROOT}/%{_sysconfdir}/gconf/schemas/awn-filebrowser.schemas
mv ${RPM_BUILD_ROOT}/%{_sysconfdir}/gconf/schemas/switcher.schemas \
   ${RPM_BUILD_ROOT}/%{_sysconfdir}/gconf/schemas/awn-switcher.schemas
mv ${RPM_BUILD_ROOT}/%{_sysconfdir}/gconf/schemas/trash.schemas \
   ${RPM_BUILD_ROOT}/%{_sysconfdir}/gconf/schemas/awn-trash.schemas

Then, seems that this can be easily fixed, if you want, I could attach a diff for the current ebuild :-)
Comment 6 Pacho Ramos gentoo-dev 2007-12-06 12:49:08 UTC
Created attachment 137879 [details, diff]
ebuilds.diff

This diff fixes the problem

Thanks a lot for applying it to main tree
Comment 7 William L. Thomson Jr. (RETIRED) gentoo-dev 2007-12-06 15:23:59 UTC
Thanks for the patch, I might run with that for now. Till a better way comes along, unless that is the better way :) Which if so will remain. Will see about adding ASAP.
Comment 8 William L. Thomson Jr. (RETIRED) gentoo-dev 2007-12-06 17:49:30 UTC
Ok, thanks for the patch, I bumped the ebuild per the changes, and committed to tree. Closing this bug, as the collision issue has been resolve. Thanks Pacho.
Comment 9 Mark Lee 2007-12-07 00:24:45 UTC
FYI, all of the python dependencies should be RDEPENDs, as they are not needed at compile-time.