- enable vala bindings

- enable introspection (please DO NOT enable this in other ports yet!)

needed for upcoming empahty update
ok aja@
This commit is contained in:
jasper 2010-10-25 12:38:32 +00:00
parent 3c790d037f
commit 429b69a627
3 changed files with 41 additions and 8 deletions

View File

@ -1,8 +1,9 @@
# $OpenBSD: Makefile,v 1.23 2010/09/23 20:23:13 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.24 2010/10/25 12:38:32 jasper Exp $
COMMENT= flexible communications framework, glib bindings
DISTNAME= telepathy-glib-0.12.0
REVISION= 0
SHARED_LIBS += telepathy-glib 7.0 # .45.0
@ -16,18 +17,22 @@ MODULES= devel/gettext \
MODPY_RUNDEP= No
BUILD_DEPENDS= ::textproc/libxslt
BUILD_DEPENDS= :gobject-introspection->=0.9.12p0:devel/gobject-introspection \
::lang/vala \
::textproc/libxslt
LIB_DEPENDS= ::x11/dbus-glib
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= ${CONFIGURE_SHARED} \
--disable-introspection
--enable-introspection \
--enable-vala-bindings
#CONFIGURE_ARGS+= --enable-backtrace (add -llibexecinfo)
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
pre-configure:
${SUBST_CMD} ${WRKSRC}/configure \
${WRKSRC}/telepathy-glib/Makefile.in \
${WRKSRC}/tests/all-errors-documented.py
.include <bsd.port.mk>

View File

@ -1,10 +1,12 @@
$OpenBSD: patch-telepathy-glib_Makefile_in,v 1.2 2010/09/23 13:37:34 jasper Exp $
$OpenBSD: patch-telepathy-glib_Makefile_in,v 1.3 2010/10/25 12:38:32 jasper Exp $
For some reason on mips64(el), nm doesn't create the _gen/abi.nm file,
- For some reason on mips64(el), nm doesn't create the _gen/abi.nm file,
but returns 1. This patch lets the build continue.
--- telepathy-glib/Makefile.in.orig Tue Sep 21 19:23:05 2010
+++ telepathy-glib/Makefile.in Tue Sep 21 19:23:29 2010
- Be sure to use the correct libtool.
--- telepathy-glib/Makefile.in.orig Mon Sep 20 19:33:48 2010
+++ telepathy-glib/Makefile.in Mon Oct 25 14:32:28 2010
@@ -1470,7 +1470,7 @@ check-local: check-coding-style
@HAVE_LD_VERSION_SCRIPT_TRUE@ diff -c _gen/versioned-abi.txt _gen/abi.txt
@ -14,3 +16,21 @@ but returns 1. This patch lets the build continue.
@HAVE_LD_VERSION_SCRIPT_TRUE@ grep " [DT] " < _gen/abi.nm > _gen/abi.funcs
@HAVE_LD_VERSION_SCRIPT_TRUE@ cut -d" " -f3 < _gen/abi.funcs > _gen/abi.funcnames
@HAVE_LD_VERSION_SCRIPT_TRUE@ grep "^tp" < _gen/abi.funcnames > _gen/abi.tpfuncnames
@@ -1650,7 +1650,7 @@ _gen/tp-cli-%-body.h _gen/tp-cli-%.h: _gen/tp-spec-%.x
@HAVE_INTROSPECTION_TRUE@ -I$(top_srcdir) \
@HAVE_INTROSPECTION_TRUE@ --include=GLib-2.0 \
@HAVE_INTROSPECTION_TRUE@ --include=Gio-2.0 \
-@HAVE_INTROSPECTION_TRUE@ --libtool="$(top_builddir)/libtool" \
+@HAVE_INTROSPECTION_TRUE@ --libtool="${LIBTOOL}" \
@HAVE_INTROSPECTION_TRUE@ --library=libtelepathy-glib.la \
@HAVE_INTROSPECTION_TRUE@ --pkg gio-2.0 \
@HAVE_INTROSPECTION_TRUE@ --pkg dbus-glib-1 \
@@ -1661,7 +1661,7 @@ _gen/tp-cli-%-body.h _gen/tp-cli-%.h: _gen/tp-spec-%.x
@HAVE_INTROSPECTION_TRUE@ @rm -f _gen/$@.tmp
@HAVE_INTROSPECTION_TRUE@%.typelib: %.gir $(INTROSPECTION_COMPILER)
-@HAVE_INTROSPECTION_TRUE@ $(AM_V_GEN)$(top_builddir)/libtool --mode=execute \
+@HAVE_INTROSPECTION_TRUE@ ${LIBTOOL} --mode=execute \
@HAVE_INTROSPECTION_TRUE@ $(INTROSPECTION_COMPILER) \
@HAVE_INTROSPECTION_TRUE@ --includedir=$(srcdir) \
@HAVE_INTROSPECTION_TRUE@ --includedir=. \

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.9 2010/09/23 13:37:34 jasper Exp $
@comment $OpenBSD: PLIST,v 1.10 2010/10/25 12:38:33 jasper Exp $
include/telepathy-1.0/
include/telepathy-1.0/telepathy-glib/
include/telepathy-1.0/telepathy-glib/_gen/
@ -110,10 +110,14 @@ include/telepathy-1.0/telepathy-glib/telepathy-glib.h
include/telepathy-1.0/telepathy-glib/text-mixin.h
include/telepathy-1.0/telepathy-glib/util.h
include/telepathy-1.0/telepathy-glib/verify.h
lib/girepository-1.0/
lib/girepository-1.0/TelepathyGLib-0.12.typelib
lib/libtelepathy-glib.a
lib/libtelepathy-glib.la
@lib lib/libtelepathy-glib.so.${LIBtelepathy-glib_VERSION}
lib/pkgconfig/telepathy-glib.pc
share/gir-1.0/
share/gir-1.0/TelepathyGLib-0.12.gir
share/gtk-doc/html/telepathy-glib/
share/gtk-doc/html/telepathy-glib/TpBaseChannel.html
share/gtk-doc/html/telepathy-glib/TpBaseConnection.html
@ -238,3 +242,7 @@ share/gtk-doc/html/telepathy-glib/telepathy-glib-util.html
share/gtk-doc/html/telepathy-glib/telepathy-glib.devhelp
share/gtk-doc/html/telepathy-glib/telepathy-glib.devhelp2
share/gtk-doc/html/telepathy-glib/up.png
share/vala/
share/vala/vapi/
share/vala/vapi/telepathy-glib.deps
share/vala/vapi/telepathy-glib.vapi