After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 597552 - Remove evolution-plugin.pc.in
Remove evolution-plugin.pc.in
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Plugins
2.28.x (obsolete)
Other Linux
: Normal normal
: ---
Assigned To: evolution-plugin-maintainers
Evolution QA team
evolution[cleanup]
Depends on:
Blocks:
 
 
Reported: 2009-10-06 13:53 UTC by Ilya Barygin
Modified: 2014-03-03 13:24 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch to add suggested requirements (729 bytes, patch)
2009-10-06 13:53 UTC, Ilya Barygin
none Details | Review
updated patch (744 bytes, patch)
2009-10-06 15:04 UTC, Ilya Barygin
reviewed Details | Review

Description Ilya Barygin 2009-10-06 13:53:02 UTC
Created attachment 144891 [details] [review]
patch to add suggested requirements

Evolution header files #include headers from libgtkhtml and libebook:

mail/em-format-html.h includes gtkhtml/gtkhtml.h and
gtkhtml/gtkhtml-embedded.h,
composer/e-msg-composer.h includes libebook/e-destination.h.

So pkg-config file for Evolution plugins should require libgtkhtml-3.14 and
libebook-1.2 so that cflags are propagated properly.

Reported for Evolution 2.28.0. Downstream bug:
https://bugs.launchpad.net/ubuntu/+source/evolution/+bug/443406
Comment 1 Ilya Barygin 2009-10-06 14:33:30 UTC
And composer/e-msg-composer.h includes gtkhtml-editor.h.
Comment 2 Ilya Barygin 2009-10-06 15:04:34 UTC
Created attachment 144894 [details] [review]
updated patch
Comment 3 Matthew Barnes 2009-10-07 00:58:40 UTC
evolution-plugin.pc is not the right place for those dependencies.

The new evolution-mail.pc in 2.29 would be a better place.  Perhaps that file should be backported to 2.28?
Comment 4 Ilya Barygin 2009-10-07 15:15:01 UTC
If these dependencies are in a different .pc file, the pkg-config calls in Evolution plugins would need to be changed, wouldn't they? Currently, they use evolution-plugin.pc (at least mail-notification does), and the build fails because gtkhtml's and other headers are not in the -I path.
Comment 5 Matthew Barnes 2009-10-07 19:29:26 UTC
It would need to use both evolution-plugin.pc and evolution-mail.pc, although evolution-mail.pc alone would probably be enough.
Comment 6 Akhil Laddha 2010-10-01 11:10:21 UTC
Is the bug still valid ?
Comment 7 Matthew Barnes 2010-10-01 11:22:45 UTC
I'd prefer just dropping evolution-plugin.pc.
Comment 8 André Klapper 2014-02-23 15:14:10 UTC
$:andre\> more /usr/lib/pkgconfig/evolution-plugin-3.0.pc 
Name: evolution-plugin
Version: 3.10.4
Requires: camel-1.2 libxml-2.0 libgtkhtml-4.0 gtkhtml-editor-4.0 webkitgtk-3.0


So libgtkhtml is there, libebook is not.

mbarnes: Decision, please?
Comment 9 Matthew Barnes 2014-02-23 18:38:00 UTC
Fixed for Evolution 3.11.91:
https://git.gnome.org/browse/evolution/commit/?id=9f7e6ac6e3fcc9e201973fed064c38c9a7addd2f
Comment 10 Milan Crha 2014-03-03 13:24:31 UTC
(In reply to comment #9)
> Fixed for Evolution 3.11.91:
> https://git.gnome.org/browse/evolution/commit/?id=9f7e6ac6e3fcc9e201973fed064c38c9a7addd2f

Nobody provides plugindir=@plugindir@ now :(