diff options
| author | Piotr Tworek <tworaz@tworaz.net> | 2019-08-22 19:17:16 +0200 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2019-08-24 05:20:42 -0700 |
| commit | 940d47185e136c2fb2575c11134fddb42ec5f9cf (patch) | |
| tree | 70a5f39f57255095c498c1161646787cecea27df /meta-gnome/recipes-gnome/eds/evolution-data-server_3.32.4.bb | |
| parent | 35ce30890416c1013becc95f4355e5e54870ea4e (diff) | |
| download | meta-openembedded-940d47185e136c2fb2575c11134fddb42ec5f9cf.tar.gz | |
evolution-data-server: Fix package gobject-introspection support.
It has been broken since the pacakge was migrated from autotools to
cmake. Make it usable once again.
Signed-off-by: Piotr Tworek <tworaz@tworaz.net>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-gnome/recipes-gnome/eds/evolution-data-server_3.32.4.bb')
| -rw-r--r-- | meta-gnome/recipes-gnome/eds/evolution-data-server_3.32.4.bb | 21 |
1 files changed, 15 insertions, 6 deletions
diff --git a/meta-gnome/recipes-gnome/eds/evolution-data-server_3.32.4.bb b/meta-gnome/recipes-gnome/eds/evolution-data-server_3.32.4.bb index 97e4dd5b28..b1e177ff93 100644 --- a/meta-gnome/recipes-gnome/eds/evolution-data-server_3.32.4.bb +++ b/meta-gnome/recipes-gnome/eds/evolution-data-server_3.32.4.bb | |||
| @@ -21,6 +21,7 @@ SRC_URI = "${GNOME_MIRROR}/${GNOMEBN}/${@gnome_verdir("${PV}")}/${GNOMEBN}-${PV} | |||
| 21 | file://0002-CMakeLists.txt-remove-CHECK_C_SOURCE_RUNS-check.patch \ | 21 | file://0002-CMakeLists.txt-remove-CHECK_C_SOURCE_RUNS-check.patch \ |
| 22 | file://0003-contact-Replace-the-Novell-sample-contact-with-somet.patch \ | 22 | file://0003-contact-Replace-the-Novell-sample-contact-with-somet.patch \ |
| 23 | file://0004-Add-native-suffix-to-exacutables-produced-and-run-du.patch \ | 23 | file://0004-Add-native-suffix-to-exacutables-produced-and-run-du.patch \ |
| 24 | file://0007-Modify-gobject-intrispection-support-to-work-with-OE.patch \ | ||
| 24 | file://iconv-detect.h \ | 25 | file://iconv-detect.h \ |
| 25 | " | 26 | " |
| 26 | SRC_URI[archive.md5sum] = "57820f3f88fc554e1a58665a52e12c05" | 27 | SRC_URI[archive.md5sum] = "57820f3f88fc554e1a58665a52e12c05" |
| @@ -37,10 +38,11 @@ EXTRA_OECMAKE = " \ | |||
| 37 | -DLIB_SUFFIX=${@d.getVar('baselib').replace('lib', '')} \ | 38 | -DLIB_SUFFIX=${@d.getVar('baselib').replace('lib', '')} \ |
| 38 | " | 39 | " |
| 39 | 40 | ||
| 40 | PACKAGECONFIG ??= "" | 41 | PACKAGECONFIG ??= "${@bb.utils.contains('GI_DATA_ENABLED', 'True', 'introspection', '', d)}" |
| 41 | PACKAGECONFIG[openldap] = "-DWITH_OPENLDAP=ON,-DWITH_OPENLDAP=OFF,openldap" | 42 | PACKAGECONFIG[openldap] = "-DWITH_OPENLDAP=ON,-DWITH_OPENLDAP=OFF,openldap" |
| 42 | PACKAGECONFIG[oauth2] = "-DENABLE_OAUTH2=ON,-DENABLE_OAUTH2=OFF,json-glib webkitgtk" | 43 | PACKAGECONFIG[oauth2] = "-DENABLE_OAUTH2=ON,-DENABLE_OAUTH2=OFF,json-glib webkitgtk" |
| 43 | PACKAGECONFIG[mitkrb5] = "-DWITH_KRB5=ON,-DWITH_KRB5=OFF,krb5" | 44 | PACKAGECONFIG[mitkrb5] = "-DWITH_KRB5=ON,-DWITH_KRB5=OFF,krb5" |
| 45 | PACKAGECONFIG[introspection] = "-DENABLE_INTROSPECTION=ON,-DENABLE_INTROSPECTION=OFF" | ||
| 44 | 46 | ||
| 45 | # -ldb needs this on some platforms | 47 | # -ldb needs this on some platforms |
| 46 | LDFLAGS += "-lpthread -lgmodule-2.0 -lgthread-2.0" | 48 | LDFLAGS += "-lpthread -lgmodule-2.0 -lgthread-2.0" |
| @@ -53,7 +55,6 @@ do_configure_append () { | |||
| 53 | } | 55 | } |
| 54 | 56 | ||
| 55 | do_compile_prepend() { | 57 | do_compile_prepend() { |
| 56 | export GIR_EXTRA_LIBS_PATH="${B}/camel/.libs:${B}/libedataserver/.libs" | ||
| 57 | # CMake does not support building native binaries when cross compiling. As result | 58 | # CMake does not support building native binaries when cross compiling. As result |
| 58 | # it always cross compiles them for the target and then aborts when they fail to run. | 59 | # it always cross compiles them for the target and then aborts when they fail to run. |
| 59 | # To work around this manually build required tools and patch cmake targets to use | 60 | # To work around this manually build required tools and patch cmake targets to use |
| @@ -88,21 +89,27 @@ RRECOMMENDS_${PN}-dev += "libecal-dev libebook-dev" | |||
| 88 | 89 | ||
| 89 | FILES_libcamel = "${libdir}/libcamel-*.so.* \ | 90 | FILES_libcamel = "${libdir}/libcamel-*.so.* \ |
| 90 | ${libdir}/libcamel-provider-*.so.* \ | 91 | ${libdir}/libcamel-provider-*.so.* \ |
| 92 | ${libdir}/girepository-*/Camel-*.typelib \ | ||
| 91 | ${libdir}/evolution-data-server*/camel-providers/*.so \ | 93 | ${libdir}/evolution-data-server*/camel-providers/*.so \ |
| 92 | ${libdir}/evolution-data-server*/camel-providers/*.urls" | 94 | ${libdir}/evolution-data-server*/camel-providers/*.urls" |
| 93 | FILES_libcamel-dev = "${libdir}/libcamel-*.so ${libdir}/libcamel-provider-*.so \ | 95 | FILES_libcamel-dev = "${libdir}/libcamel-*.so ${libdir}/libcamel-provider-*.so \ |
| 94 | ${libdir}/pkgconfig/camel*pc \ | 96 | ${libdir}/pkgconfig/camel*pc \ |
| 95 | ${includedir}/evolution-data-server*/camel" | 97 | ${includedir}/evolution-data-server*/camel \ |
| 98 | ${datadir}/gir-*/Camel-*.gir" | ||
| 96 | 99 | ||
| 97 | FILES_libebook = "${libdir}/libebook-*.so.*" | 100 | FILES_libebook = "${libdir}/libebook-*.so.* \ |
| 101 | ${libdir}/girepository-*/EBook-*.typelib" | ||
| 98 | FILES_libebook-dev = "${libdir}/libebook-1.2.so \ | 102 | FILES_libebook-dev = "${libdir}/libebook-1.2.so \ |
| 99 | ${libdir}/pkgconfig/libebook-*.pc \ | 103 | ${libdir}/pkgconfig/libebook-*.pc \ |
| 104 | ${datadir}/gir-*/EBook-*.gir \ | ||
| 100 | ${includedir}/evolution-data-server*/libebook/*.h" | 105 | ${includedir}/evolution-data-server*/libebook/*.h" |
| 101 | RRECOMMENDS_libebook = "libedata-book" | 106 | RRECOMMENDS_libebook = "libedata-book" |
| 102 | 107 | ||
| 103 | FILES_libebook-contacts = "${libdir}/libebook-contacts-*.so.*" | 108 | FILES_libebook-contacts = "${libdir}/libebook-contacts-*.so.* \ |
| 109 | ${libdir}/girepository-*/EBookContacts-*.typelib" | ||
| 104 | FILES_libebook-contacts-dev = "${libdir}/libebook-contacts-*.so \ | 110 | FILES_libebook-contacts-dev = "${libdir}/libebook-contacts-*.so \ |
| 105 | ${libdir}/pkgconfig/libebook-contacts-*.pc \ | 111 | ${libdir}/pkgconfig/libebook-contacts-*.pc \ |
| 112 | ${datadir}/gir-*/EBookContacts-*.gir \ | ||
| 106 | ${includedir}/evolution-data-server*/libebook-contacts/*.h" | 113 | ${includedir}/evolution-data-server*/libebook-contacts/*.h" |
| 107 | 114 | ||
| 108 | FILES_libecal = "${libdir}/libecal-*.so.* \ | 115 | FILES_libecal = "${libdir}/libecal-*.so.* \ |
| @@ -129,7 +136,8 @@ FILES_libedata-cal-dev = "${libdir}/libedata-cal-*.so \ | |||
| 129 | ${libdir}/pkgconfig/libedata-cal-*.pc \ | 136 | ${libdir}/pkgconfig/libedata-cal-*.pc \ |
| 130 | ${includedir}/evolution-data-server-*/libedata-cal" | 137 | ${includedir}/evolution-data-server-*/libedata-cal" |
| 131 | 138 | ||
| 132 | FILES_libedataserver = "${libdir}/libedataserver-*.so.*" | 139 | FILES_libedataserver = "${libdir}/libedataserver-*.so.* \ |
| 140 | ${libdir}/girepository-*/EDataServer-*.typelib" | ||
| 133 | FILES_libedataserver-dev = "${libdir}/libedataserver-*.so \ | 141 | FILES_libedataserver-dev = "${libdir}/libedataserver-*.so \ |
| 134 | ${libdir}/pkgconfig/libedataserver-*.pc \ | 142 | ${libdir}/pkgconfig/libedataserver-*.pc \ |
| 135 | ${includedir}/evolution-data-server-*/libedataserver/*.h" | 143 | ${includedir}/evolution-data-server-*/libedataserver/*.h" |
| @@ -137,4 +145,5 @@ FILES_libedataserver-dev = "${libdir}/libedataserver-*.so \ | |||
| 137 | FILES_libedataserverui = "${libdir}/libedataserverui-*.so.*" | 145 | FILES_libedataserverui = "${libdir}/libedataserverui-*.so.*" |
| 138 | FILES_libedataserverui-dev = "${libdir}/libedataserverui-*.so \ | 146 | FILES_libedataserverui-dev = "${libdir}/libedataserverui-*.so \ |
| 139 | ${libdir}/pkgconfig/libedataserverui-*.pc \ | 147 | ${libdir}/pkgconfig/libedataserverui-*.pc \ |
| 148 | ${datadir}/gir-*/EDataServerUI-*.gir \ | ||
| 140 | ${includedir}/evolution-data-server-*/libedataserverui/*.h" | 149 | ${includedir}/evolution-data-server-*/libedataserverui/*.h" |
