Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 453730

Summary: dev-libs/libgweather-3.6.2: Changes between v3.4 and v3.6 break 4 gnome packages
Product: Gentoo Linux Reporter: Stefan Kuhn <wuodan-gentoo>
Component: [OLD] GNOMEAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED FIXED    
Severity: normal CC: wuodan-gentoo
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 434612    
Attachments: evolution-3.4.4.patch
evolution-data-server-3.4.4.patch
gnome-applets-3.4.1.patch
gnome-applets-3.6.0-r1.patch
gnome-panel-3.4.2.1.patch
output of `emerge --info`
output of `equery uses` for all the packages

Description Stefan Kuhn 2013-01-23 20:42:49 UTC
libgweather renamed some files, see:
http://git.gnome.org/browse/libgweather/commit/?id=c92d71b772c23b8dcdaf1e5baea8a1bba890c4da

This causes problems when a package includes these files like:
#include <libgweather/weather.h>
while after the rename, "weather.h" would be "gweather-weather.h".

Example:
Downgrading from evolution-3.6.2-r1 to evolution-3.4.4 - fails because libgweather still has a newer version with the files renamed.

Investigation:
I grepped the gentoo tree for all dependencies on libgweather, then checked the packages for the problem.
Packages depending on libgweather:
gnome-base/gnome-applets
gnome-base/gnome-panels
gnome-extra/evolution-data-server
gnome-extra/gnome-clocks
mail-client/evolution

Of these, only gnome-extra/gnome-clocks was unaffected.
Patches for the 4 affected packages are in this bug.

Additional changes:
For gnome-base/gnome-panel-3.4.2.1:
Changed the restriction on gnome-base/dconf, since it does not build with >v0.14, see bug #452648.

Related bugs:
Bug #430856 - gnome-base/gnome-panel-3.4.2.1 - clock.c:55:40: fatal error: libgweather/gweather-prefs.h: No such file or directory 
Bug #434612 - (eds-3.6) [TRACKER] gnome-extra/evolution-data-server-3.6 and dev-libs/libgweather-3.6

Reproducible: Always

Steps to Reproduce:
1. emerge =mail-client/evolution-3.6.2-r1
2. emerge =mail-client/evolution-3.4.4
Actual Results:  
Compiling mail-client/evolution-3.4.4 fails with:
In file included from e-weather-source.c:21:0:
e-weather-source.h:28:33: fatal error: libgweather/weather.h: No such file or directory

Expected Results:  
mail-client/evolution-3.4.4 should depend on libgweather below v3.5, the change was between 3.4 and 3.5
Comment 1 Stefan Kuhn 2013-01-23 20:44:21 UTC
Created attachment 336628 [details, diff]
evolution-3.4.4.patch
Comment 2 Stefan Kuhn 2013-01-23 20:44:54 UTC
Created attachment 336630 [details, diff]
evolution-data-server-3.4.4.patch
Comment 3 Stefan Kuhn 2013-01-23 20:45:43 UTC
Created attachment 336632 [details, diff]
gnome-applets-3.4.1.patch
Comment 4 Stefan Kuhn 2013-01-23 20:46:02 UTC
Created attachment 336634 [details, diff]
gnome-applets-3.6.0-r1.patch
Comment 5 Stefan Kuhn 2013-01-23 20:46:32 UTC
Created attachment 336636 [details, diff]
gnome-panel-3.4.2.1.patch
Comment 6 Stefan Kuhn 2013-01-23 20:47:16 UTC
Created attachment 336638 [details]
output of `emerge --info`
Comment 7 Stefan Kuhn 2013-01-23 20:48:25 UTC
Created attachment 336640 [details]
output of `equery uses` for all the packages
Comment 8 Pacho Ramos gentoo-dev 2013-03-29 14:45:03 UTC
This should be fixed if people doesn't mix different versions: if you use 3.6 or 3.8 versions for packages with that versions, it shouldn't be a problem