mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-11-09 10:51:45 +00:00
setPhoto wrote ENCODING=BASE64, the vCard 2.1 spelling, inside cards announced as VERSION:3.0. Strict CardDAV parsers such as Apple Contacts drop the property, so LDAP directory photos (jpegPhoto) never displayed on those clients. Emit TYPE=JPEG;ENCODING=b as of RFC 2426. The parser already accepts both encodings, and legacy ENCODING=BASE64 cards keep decoding. https://bugs.sogo.nu/view.php?id=5134
21 lines
427 B
Makefile
21 lines
427 B
Makefile
# GNUstep makefile
|
|
|
|
include ../../../config.make
|
|
include $(GNUSTEP_MAKEFILES)/common.make
|
|
|
|
TEST_TOOL = ngcards-tests
|
|
$(TEST_TOOL)_OBJC_FILES = \
|
|
TestNGVCardPhoto.m
|
|
|
|
TEST_TOOL_NAME = $(TEST_TOOL)
|
|
|
|
$(TEST_TOOL)_CPPFLAGS += \
|
|
-Wall -D_GNU_SOURCE -I..
|
|
|
|
ADDITIONAL_LIB_DIRS += \
|
|
-L../obj -lNGCards \
|
|
-lNGExtensions -lSaxObjC -lNGStreams -lDOM -lEOControl -lobjc \
|
|
-Wl,-rpath,../obj
|
|
|
|
include $(GNUSTEP_MAKEFILES)/test-tool.make
|