Hello! I compile libdgiplus with some changes (in "LIB_DEPENDS" I added
"graphics/cairo" and instead of "--with-pango" I used "--with-cairo").
Makefile looks like this now:

# $OpenBSD: Makefile,v 1.20 2014/07/18 16:00:28 ajacoutot Exp $

COMMENT=        GDI+ comptible API

DISTNAME=       libgdiplus-2.10.9

CATEGORIES=     x11 devel

SHARED_LIBS +=  gdiplus 2.0     # .0.0

HOMEPAGE=       http://www.mono-project.com/Libgdiplus

MAINTAINER=     Robert Nagy <[email protected]>

# GPLv2 and Mozilla Public License 1.1
PERMIT_PACKAGE_CDROM=   Yes

WANTLIB += X11 Xext Xrender cairo exif expat ffi fontconfig freetype
WANTLIB += gif glib-2.0 gmodule-2.0 gobject-2.0 graphite2 gthread-2.0
WANTLIB += harfbuzz jpeg m pango-1.0 pangocairo-1.0 pangoft2-1.0
WANTLIB += pcre pixman-1 png pthread pthread-stubs tiff xcb xcb-render
WANTLIB += xcb-shm z

MASTER_SITES=   http://download.mono-project.com/sources/libgdiplus/
EXTRACT_SUFX=   .tar.bz2

MODULES=        devel/gettext


LIB_DEPENDS=    devel/pango \
                graphics/cairo \
                graphics/tiff \
                graphics/libexif \
                graphics/giflib

CONFIGURE_STYLE=gnu
CONFIGURE_ENV=  LDFLAGS="-L${LOCALBASE}/lib" \
                CPPFLAGS="-I${X11BASE}/include -I${LOCALBASE}/include"
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
 --with-cairo

.include <bsd.port.mk>

Now KeePass 2.13 works (before this changes, there was unreadable fonts in
KeePass). But unfortunately it is not enough because PassIFox need at least
KeePass 2.17. I tried to run KeePass 2.17 after this changes but I still
got errors:

SendMessage (25165851, 0x101f, 0x0, 0x0)
SendMessage (0, 0x1203, 0x0, 0x7f7fffff4c90)
SendMessage (0, 0x1204, 0x0, 0x7f7fffff4c90)
SendMessage (0, 0x1203, 0x1, 0x7f7fffff4c90)
SendMessage (0, 0x1204, 0x1, 0x7f7fffff4c90)
SendMessage (0, 0x1203, 0x2, 0x7f7fffff4c90)
SendMessage (0, 0x1204, 0x2, 0x7f7fffff4c90)
SendMessage (0, 0x1203, 0x3, 0x7f7fffff4c90)
SendMessage (0, 0x1204, 0x3, 0x7f7fffff4c90)
SendMessage (0, 0x1203, 0x4, 0x7f7fffff4c90)
SendMessage (0, 0x1204, 0x4, 0x7f7fffff4c90)
* Assertion at strenc.c:183, condition `utf8!=NULL' not met

Stacktrace:

  at <unknown> <0xffffffff>
  at (wrapper managed-to-native)
KeePass.Native.NativeMethods.GetFileAttributes (string) <0xffffffff>
  at KeePass.Native.NativeMethods.FileExists (string) <0x0002d>
  at KeePass.Util.WinUtil.RemoveZoneIdentifier (string) <0x0006e>
  at KeePass.Forms.MainForm.OnFormLoadParallelAsync (object) <0x00066>
  at (wrapper runtime-invoke) <Module>.runtime_invoke_void__this___object
(object,intptr,intptr,intptr) <0xffffffff>

=================================================================
Got a SIGABRT while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================

Abort trap (core dumped)

I would appreciate any help.
cheers
Andrzej

Reply via email to