Files
sogo/SOPE/NGCards/Tests/GNUmakefile
T
Hadrien Blanc f3abad7fad fix(contacts): emit vCard 3.0 photo parameters for CardDAV clients (bug 5134)
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
2026-11-06 16:23:22 +01:00

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