Commit 8184619f authored by Olivier Duchateau's avatar Olivier Duchateau
Browse files

Update to 3.38.0

parent 9c4fa932
# Created by: Joe Marcus Clarke <marcus@FreeBSD.org>
# $FreeBSD: head/databases/evolution-data-server/Makefile 546967 2020-08-30 03:10:23Z novel $
PORTNAME= evolution-data-server
PORTVERSION= 3.38.0
CATEGORIES= databases gnome
MASTER_SITES= GNOME
DIST_SUBDIR= gnome
MAINTAINER= gnome@FreeBSD.org
COMMENT= Data backends for the Evolution integrated mail/PIM suite
LICENSE= LGPL20
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= vapigen:lang/vala
LIB_DEPENDS= libsoup-2.4.so:devel/libsoup \
libfribidi.so:converters/fribidi \
libgcr-base-3.so:security/gcr \
libgoa-1.0.so:net/gnome-online-accounts \
libgdata.so:devel/libgdata \
libical.so:devel/libical \
libnss3.so:security/nss \
libicudata.so:devel/icu \
libwebkit2gtk-4.0.so:www/webkit2-gtk3 \
libjson-glib-1.0.so:devel/json-glib \
libp11-kit.so:security/p11-kit \
libnspr4.so:devel/nspr \
libsecret-1.so:security/libsecret \
libharfbuzz.so:print/harfbuzz \
libcanberra.so:audio/libcanberra \
libcanberra.so:audio/libcanberra-gtk3
PORTSCOUT= limitw:1,even
USES= bdb:5 cmake compiler:c++11-lib gettext gnome gperf \
iconv localbase pathfix pkgconfig python:3.6+,build\
sqlite tar:xz xorg
USE_CXXSTD= gnu++11
USE_GNOME= cairo gdkpixbuf2 gtk30 intltool introspection:build libxml2
USE_XORG= x11
USE_LDCONFIG= yes
CMAKE_ARGS= -DENABLE_VALA_BINDINGS=ON \
-DENABLE_INTROSPECTION=ON \
-DENABLE_UOA=OFF
CMAKE_ARGS+= -DWITH_LIBDB_CFLAGS=-I${LOCALBASE}/include/db5 \
-DWITH_LIBDB_LIBS="-L${LOCALBASE}/lib -ldb-5"
GLIB_SCHEMAS= org.gnome.evolution-data-server.addressbook.gschema.xml \
org.gnome.evolution-data-server.calendar.gschema.xml \
org.gnome.evolution-data-server.gschema.xml \
org.gnome.Evolution.DefaultSources.gschema.xml \
org.gnome.evolution.eds-shell.gschema.xml \
org.gnome.evolution.shell.network-config.gschema.xml
PLIST_SUB= EVO_VERSION="1.2"
OPTIONS_SUB= yes
OPTIONS_DEFINE= WEATHER KERBEROS LDAP
OPTIONS_DEFAULT=WEATHER KERBEROS LDAP
KERBEROS_CMAKE_ON= -DWITH_KRB5=/usr
KERBEROS_CMAKE_OFF= -DWITH_KRB5=OFF
KERBEROS_USES= ssl
LDAP_CMAKE_ON= -DWITH_OPENLDAP=${LOCALBASE}
LDAP_CMAKE_OFF= -DWITH_OPENLDAP=OFF
LDAP_USE= openldap=yes
WEATHER_DESC= Weather calendar backend
WEATHER_LIB_DEPENDS= libgweather-3.so:net/libgweather
WEATHER_CMAKE_BOOL= ENABLE_WEATHER
.include <bsd.port.options.mk>
post-install:
@${RM} -rf ${STAGEDIR}${PREFIX}/lib/systemd
.include <bsd.port.mk>
TIMESTAMP = 1600702954
SHA256 (gnome/evolution-data-server-3.38.0.tar.xz) = 13689a7b55765806c4d5f3b05ef6c24b0bf9957b9ed9240c2dd09a2cdb13b0af
SIZE (gnome/evolution-data-server-3.38.0.tar.xz) = 4652520
--- CMakeLists.txt.orig 2017-06-02 14:29:11 UTC
+++ CMakeLists.txt
@@ -503,6 +503,7 @@ endif(WITH_LIBDB)
# ******************************
set(CMAKE_REQUIRED_LIBRARIES "-liconv")
+set(CMAKE_REQUIRED_FLAGS "-L/usr/local/lib")
CHECK_C_SOURCE_COMPILES("#include <iconv.h>
#include <stdlib.h>
int main(void) { iconv_t cd; cd = iconv_open (\"UTF-8\", \"ISO-8859-1\"); return 0; }" HAVE_LIBICONV)
--- cmake/modules/PkgConfigEx.cmake.orig 2017-06-02 14:39:21 UTC
+++ cmake/modules/PkgConfigEx.cmake
@@ -85,6 +85,6 @@ macro(add_pkgconfig_file _input _output)
)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${_output}
- DESTINATION ${LIB_INSTALL_DIR}/pkgconfig
+ DESTINATION ${CMAKE_INSTALL_PREFIX}/libdata/pkgconfig
)
endmacro()
--- src/libedataserver/e-alphabet-index-private.cpp.orig 2017-05-08 12:04:10 UTC
+++ src/libedataserver/e-alphabet-index-private.cpp
@@ -76,7 +76,7 @@ _e_alphabet_index_cxx_get_index (EAlphabetIndex *alph
const gchar *word)
{
UErrorCode status = U_ZERO_ERROR;
- UnicodeString string;
+ icu::UnicodeString string;
gint index;
g_return_val_if_fail (alphabet_index != NULL, -1);
@@ -129,7 +129,7 @@ _e_alphabet_index_cxx_get_labels (EAlphabetIndex *alp
for (i = 0; alphabet_index->priv->nextBucket (status); i++) {
UAlphabeticIndexLabelType label_type;
- UnicodeString ustring;
+ icu::UnicodeString ustring;
std::string string;
label_type = alphabet_index->priv->getBucketLabelType ();
--- src/libedataserver/e-transliterator-private.cpp.orig 2017-05-08 12:04:10 UTC
+++ src/libedataserver/e-transliterator-private.cpp
@@ -74,7 +74,7 @@ gchar *
_e_transliterator_cxx_transliterate (ETransliterator *transliterator,
const gchar *str)
{
- UnicodeString transform;
+ icu::UnicodeString transform;
std::string sourceUTF8;
std::string targetUTF8;
Evolution-data-server provides the various backend components for the
Evolution integrated mail/PIM suite, including the Berkeley database
backend and the libical calendar components.
WWW: https://wiki.gnome.org/Apps/Evolution
This diff is collapsed.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment