[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / inputmethod / ibus

File: [cvs.NetBSD.org] / pkgsrc / inputmethod / ibus / Makefile (download)

Revision 1.61, Sat Mar 2 02:16:32 2019 UTC (14 months, 3 weeks ago) by tsutsui
Branch: MAIN
Changes since 1.60: +2 -6 lines

ibus, ibus-python: update to 1.5.20.

pkgsrc changes:

- remove patches already applied to the release
- workaround upstream issue #2082
- explicitly require cldr-emoji-annotation >34.0.0.0
  to sync emoji dict files in ibus/PLIST
- remove GConf dependencies as mentioned in 1.5.20 changes

Upstream changes:
 https://github.com/ibus/ibus/releases/tag/1.5.20

1.5.20

* Support Shift-Space to insert a Space on Emojier preedit e6badb4
* Do not add emojis in compose category to emoji variants 8375f39
* Implement mouse click with Hangul in ibus side a40631e 4c40afb c7d8771
  9ae2d46 0fd043c
* Delete Gconf dependencies and migrate intltool to gettext a8e8b69
  74a00cc a671081 aa24a52 3914d3a b608666 a78e7f8 7b9c034 b30eb5d
* Do not delete IBUS_CAP_SURROUNDING_TEXT 7b3b8c8
* Show compose preedit with custom compose file ba41173 28b0744
* Fix Atom and Slack for Flatpak be7fb81 60e246e
* Delete Super-space notification 4d3a8ff
* Fix misc build issues aa0f425 6e31597 c1b5543 3172c3b 4d7c1e0
* Fix misc bugs 7edaefd 28d2217 809d880 1c6565e 0f5084e 6aab10f
* Fix typos in comment lines (ZhaoQiang) 639960a
* use iso 639-3 to have names for more languages (glasseyes) 1cd5254
* introspection: Tell the GI scanner to include the C headers
  (Mathieu Bridon) 4ef976a
* Add Uzbek layouts (bmansurov) 4592ce5
* Allow using non-abstract UNIX domain sockets (Anton Mikhalev) 7a38e4d
* typo: sevrer to server (scootergrisen) 64f4e41

# $NetBSD: Makefile,v 1.61 2019/03/02 02:16:32 tsutsui Exp $

.include "Makefile.common"

COMMENT=	Intelligent Input Bus

DEPENDS+=	${PYPKGPREFIX}-gobject3-[0-9]*:../../devel/py-gobject3
BUILD_DEPENDS+=	cldr-emoji-annotation>=34.0.0.0:../../textproc/cldr-emoji-annotation
BUILD_DEPENDS+=	unicode-character-database-[0-9]*:../../textproc/unicode-character-database
BUILD_DEPENDS+=	unicode-emoji-[0-9]*:../../textproc/unicode-emoji

GNU_CONFIGURE=	yes
USE_LIBTOOL=	yes
# XXX fails without GNU msgfmt
_TOOLS_USE_PKGSRC.msgfmt=	yes
USE_TOOLS+=	pkg-config intltool gmsgfmt gmake msgmerge
USE_LANGUAGES=	c c++
USE_PKGLOCALEDIR=	yes

GCONF_SCHEMAS+=		ibus.schemas
PKGCONFIG_OVERRIDE+=	ibus-1.0.pc.in

CONFIGURE_ARGS+=	--sysconfdir=${PKG_SYSCONFBASEDIR}
CONFIGURE_ARGS+=	--localedir=${PREFIX}/${PKGLOCALEDIR}/locale
CONFIGURE_ARGS+=	--enable-dconf
CONFIGURE_ARGS+=	--enable-gconf
CONFIGURE_ARGS+=	--enable-gtk2
CONFIGURE_ARGS+=	--enable-gtk3
CONFIGURE_ARGS+=	--enable-surrounding-text
CONFIGURE_ARGS+=	--enable-introspection=yes
CONFIGURE_ARGS+=	--with-python=${PYTHONBIN}
CONFIGURE_ARGS+=	--with-unicode-emoji-dir=${PREFIX}/share/unicode/emoji
CONFIGURE_ARGS+=	--with-emoji-annotation-dir=${PREFIX}/share/unicode/cldr/common/annotations
CONFIGURE_ARGS+=	--with-ucd-dir=${PREFIX}/share/unicode/ucd

SUBST_CLASSES+=		dbus
SUBST_STAGE.dbus=	post-configure
SUBST_FILES.dbus=	src/ibusshare.c
SUBST_SED.dbus=		-e 's,/var/lib/dbus/machine-id,${VARBASE}/db/dbus/machine-id,g'

BUILD_DEFS+=	PKG_SYSCONFBASE VARBASE
MANCOMPRESSED=	yes

INSTALL_MAKE_FLAGS+=	sysconfdir=${PREFIX}/share/examples/ibus
MAKE_DIRS+=		${PKG_SYSCONFDIR}/dconf/db/ibus.d
MAKE_DIRS+=		${PKG_SYSCONFDIR}/dconf/profile
CONF_FILES+=		${PREFIX}/share/examples/ibus/dconf/db/ibus.d/00-upstream-settings \
			${PKG_SYSCONFDIR}/dconf/db/ibus.d/00-upstream-settings
CONF_FILES+=		${PREFIX}/share/examples/ibus/dconf/profile/ibus \
			${PKG_SYSCONFDIR}/dconf/profile/ibus

.include "../../mk/compiler.mk"
.if !empty(CC_VERSION:Mgcc-4.1.[0-9]*)
BUILDLINK_TRANSFORM+=	rm:-Wno-unused-but-set-variable
.endif

.include "../../devel/glib2/schemas.mk"
.include "../../devel/dconf/database.mk"
.include "../../devel/dconf/buildlink3.mk"
BUILDLINK_API_DEPENDS.gobject-introspection+=	gobject-introspection>=0.9.6
BUILDLINK_DEPMETHOD.gobject-introspection+=	build
.include "../../devel/gobject-introspection/buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
BUILDLINK_API_DEPENDS.glib2+=		glib2>=2.26.0
.include "../../devel/glib2/buildlink3.mk"
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
BUILDLINK_DEPMETHOD.vala+=	build
.include "../../lang/vala/buildlink3.mk"
PY_PATCHPLIST=	yes
.include "../../sysutils/libnotify/buildlink3.mk"
.include "../../textproc/iso-codes/buildlink3.mk"
GTK2_IMMODULES=	yes
.include "../../x11/gtk2/modules.mk"
.include "../../x11/gtk2/buildlink3.mk"
GTK3_IMMODULES=	yes
.include "../../x11/gtk3/modules.mk"
.include "../../x11/gtk3/buildlink3.mk"
.include "../../x11/libX11/buildlink3.mk"
.include "../../lang/python/application.mk"
.include "../../lang/python/extension.mk"
.include "../../mk/bsd.pkg.mk"