GNOME Bugzilla – Bug 132899
shared-mime-info doesn't have an intltool dependency
Last modified: 2004-12-22 21:47:04 UTC
shared-mime-info is defined in freedesktop.modules, while intltool is in gnome26.modules. Can one depend on the other? Workaround is to start a terminal once the build breaks and run "jhbuild buildone intltool" and then continue with the build.
Eventually, the freedesktop.modules file will be removed from Gnome CVS, and get hosted in freedesktop.org CVS (see bug 132031), so it would be good to find a solution to this. For users who have their moduleset set to 'gnome24' or 'gnome26', having a dep from shared-mime-info to intltool will not cause a problem. However, if the moduleset is set to 'freedesktop', then it will result in a broken dependency which would be bad. The two options I can think of are: 1) duplicate the intltool module definition in freedesktop.modules and add the dependency. 2) Add support for conditional dependencies (ie. if module A and module B are going to be built, make sure A comes before B). This would fix things for the common case, but require people to install intltool if they are only building shared-mime-info. Not sure of the best answer, so CC'ing jrb.
I just hit this. Can't you put a temporary fix in for now? Leaving the build broken isn't very good.
I've added a "suggests" element to the moduleset file parser, which acts as soft dependencies. This means that if you build "shared-mime-info" and "intltool" together, they should be picked up in the right order. This probably isn't the best solution, but it will do for now.
Going to mark this as fixed. There isn't much more that can be done without introducing a circular dependency between the two module sets.
*** Bug 147837 has been marked as a duplicate of this bug. ***