aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWen Heping <wen@FreeBSD.org>2010-11-04 08:22:29 +0000
committerWen Heping <wen@FreeBSD.org>2010-11-04 08:22:29 +0000
commit3bb8726ef31129407e72288bb350fbe025a0dcc3 (patch)
tree5ff1e48c29e09c436f99e34e0d2c5b47eece8816
parentcb78d3c790f551f77adce7098b98450324727e5e (diff)
downloadports-3bb8726ef31129407e72288bb350fbe025a0dcc3.tar.gz
ports-3bb8726ef31129407e72288bb350fbe025a0dcc3.zip
- Update to 1.3.8
PR: ports/149616 Submitted by: Jin-Sih Lin <linpct@gmail.com> Approved by: maintainer
Notes
Notes: svn path=/head/; revision=264031
-rw-r--r--textproc/ibus/Makefile21
-rw-r--r--textproc/ibus/distinfo5
-rw-r--r--textproc/ibus/pkg-plist14
3 files changed, 27 insertions, 13 deletions
diff --git a/textproc/ibus/Makefile b/textproc/ibus/Makefile
index 52fb33b9237b..7102089c160d 100644
--- a/textproc/ibus/Makefile
+++ b/textproc/ibus/Makefile
@@ -6,17 +6,19 @@
#
PORTNAME= ibus
-PORTVERSION= 1.3.5
+PORTVERSION= 1.3.8
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
MAINTAINER= henry.hu.sh@gmail.com
COMMENT= Intelligent Input Bus for Linux / Unix OS
-BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dbus>=0.83.0:${PORTSDIR}/devel/py-dbus
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dbus>=0.83.0:${PORTSDIR}/devel/py-dbus \
+ librsvg2>=2.0:${PORTSDIR}/graphics/librsvg2
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dbus>=0.83.0:${PORTSDIR}/devel/py-dbus \
${PYTHON_SITELIBDIR}/gtk-2.0/pynotify/__init__.py:${PORTSDIR}/devel/py-notify \
- ${PYTHON_SITELIBDIR}/xdg/__init__.py:${PORTSDIR}/devel/py-xdg
+ ${PYTHON_SITELIBDIR}/xdg/__init__.py:${PORTSDIR}/devel/py-xdg \
+ librsvg2>=2.0:${PORTSDIR}/graphics/librsvg2
USE_PYTHON= yes
USE_GNOME= pygtk2 gconf2
@@ -29,7 +31,8 @@ INSTALLS_ICONS= yes
GCONF_SCHEMAS= ibus.schemas
OPTIONS= ISOCODES "Use isocodecs" on \
- VALA "Install vala binding" on
+ VALA "Install vala binding" on \
+ GINTRO "Install GObject Introspection data" on
.include <bsd.port.pre.mk>
@@ -57,6 +60,16 @@ CONFIGURE_ARGS+= --disable-vala
PLIST_SUB+= VALA="@comment "
.endif
+.if defined(WITH_GINTRO)
+BUILD_DEPENDS+= gobject-introspection>=0.6.8:${PORTSDIR}/devel/gobject-introspection
+RUN_DEPENDS+= gobject-introspection>=0.6.8:${PORTSDIR}/devel/gobject-introspection
+CONFIGURE_ARGS+= --enable-introspection=yes
+PLIST_SUB+= GINTRO=""
+.else
+CONFIGURE_ARGS+= --enable-introspection=no
+PLIST_SUB+= GINTRO="@comment "
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's|(libdir)/pkgconfig|(prefix)/libdata/pkgconfig|' ${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e 's|/usr/share/xml/iso-codes/|${LOCALBASE}/share/xml/iso-codes/|g' ${WRKSRC}/ibus/lang.py
diff --git a/textproc/ibus/distinfo b/textproc/ibus/distinfo
index be4031050b3c..c5badbd0c6c0 100644
--- a/textproc/ibus/distinfo
+++ b/textproc/ibus/distinfo
@@ -1,3 +1,2 @@
-MD5 (ibus-1.3.5.tar.gz) = 9f92b8e47d2c0bee67cf3e25f7b8c52d
-SHA256 (ibus-1.3.5.tar.gz) = 3ad44f2a16ba966a13384df85828d2f2169247320b9990ce601e9c43a5ad9446
-SIZE (ibus-1.3.5.tar.gz) = 1323214
+SHA256 (ibus-1.3.8.tar.gz) = d8507517f5e5ba454b2663581b1133df21fdba74a077902259e18845cdd2468d
+SIZE (ibus-1.3.8.tar.gz) = 1379038
diff --git a/textproc/ibus/pkg-plist b/textproc/ibus/pkg-plist
index 3f4888cdfcd1..f8c572c554ff 100644
--- a/textproc/ibus/pkg-plist
+++ b/textproc/ibus/pkg-plist
@@ -77,6 +77,7 @@
%%NLS%%share/locale/or/LC_MESSAGES/ibus.mo
%%NLS%%share/locale/pa/LC_MESSAGES/ibus.mo
%%NLS%%share/locale/pl/LC_MESSAGES/ibus.mo
+%%NLS%%share/locale/pt_BR/LC_MESSAGES/ibus.mo
%%NLS%%share/locale/ru/LC_MESSAGES/ibus.mo
%%NLS%%share/locale/sr/LC_MESSAGES/ibus.mo
%%NLS%%share/locale/sr@latin/LC_MESSAGES/ibus.mo
@@ -237,15 +238,16 @@ lib/gtk-2.0/2.10.0/immodules/im-ibus.so
lib/libibus.la
lib/libibus.so
lib/libibus.so.2
-lib/girepository-1.0/IBus-1.0.typelib
+%%GINTRO%%lib/girepository-1.0/IBus-1.0.typelib
+%%GINTRO%%share/gir-1.0/IBus-1.0.gir
libdata/pkgconfig/ibus-1.0.pc
libexec/ibus-gconf
libexec/ibus-ui-gtk
libexec/ibus-x11
share/applications/ibus-setup.desktop
share/applications/ibus.desktop
-share/gir-1.0/IBus-1.0.gir
share/gtk-doc/html/ibus/IBusAttrList.html
+share/gtk-doc/html/ibus/IBusAttribute.html
share/gtk-doc/html/ibus/IBusBus.html
share/gtk-doc/html/ibus/IBusComponent.html
share/gtk-doc/html/ibus/IBusConfig.html
@@ -264,6 +266,9 @@ share/gtk-doc/html/ibus/IBusPanelService.html
share/gtk-doc/html/ibus/IBusPropList.html
share/gtk-doc/html/ibus/IBusProperty.html
share/gtk-doc/html/ibus/IBusProxy.html
+share/gtk-doc/html/ibus/IBusSerializable.html
+share/gtk-doc/html/ibus/IBusServer.html
+share/gtk-doc/html/ibus/IBusService.html
share/gtk-doc/html/ibus/IBusText.html
share/gtk-doc/html/ibus/ch01.html
share/gtk-doc/html/ibus/ch02.html
@@ -275,13 +280,9 @@ share/gtk-doc/html/ibus/home.png
share/gtk-doc/html/ibus/ibus-IBusKeysyms.html
share/gtk-doc/html/ibus/ibus-IBusMessage.html
share/gtk-doc/html/ibus/ibus-IBusPendingCall.html
-share/gtk-doc/html/ibus/ibus-ibusattribute.html
share/gtk-doc/html/ibus/ibus-ibusdebug.html
share/gtk-doc/html/ibus/ibus-ibuserror.html
share/gtk-doc/html/ibus/ibus-ibusmainloop.html
-share/gtk-doc/html/ibus/ibus-ibusserializable.html
-share/gtk-doc/html/ibus/ibus-ibusserver.html
-share/gtk-doc/html/ibus/ibus-ibusservice.html
share/gtk-doc/html/ibus/ibus-ibusshare.html
share/gtk-doc/html/ibus/ibus-ibustypes.html
share/gtk-doc/html/ibus/ibus-ibusversion.html
@@ -304,6 +305,7 @@ share/icons/hicolor/scalable/apps/ibus-keyboard.svg
share/icons/hicolor/scalable/apps/ibus-setup.svg
share/icons/hicolor/scalable/apps/ibus.svg
%%VALA%%share/vala/vapi/ibus-1.0.vapi
+@dirrmtry share/gir-1.0
@dirrm %%DATADIR%%/ui/gtk
@dirrm %%DATADIR%%/ui
@dirrmtry %%DATADIR%%/icons