mirror of
https://git.freebsd.org/ports.git
synced 2025-07-06 20:09:14 -04:00
What's new in at-spi2-core 2.46.0: * Fix GetInterfaces documentation on org.a11y.atspi.Accessible interface. What's new in at-spi2-core 2.45.91: * Send device event controller events using the same signature as other events. * Document the Accessible, Action, and Cache dbus interfaces. * Fix license of atspi-gmain.c (#87). What's new in at-spi2-core 2.45.90: * xml: Add some documentation. * xml: Fix event arguments. * xml: Add some missing DeviceEventController methods. * Bind the AT-SPI bus to the graphical session. * Mark bus service as belonging to the session slice. * Add ATSPI_ROLE_PUSH_BUTTON_MENU. * Add an "announcement" event/signal to allow objects to send notifications (!63). * Various code clean-ups and test improvements. What's new in at-spi2-core 2.45.1: * Atk and at-spi2-atk are now merged into this project. * Now requires meson 0.56.2 and glib 2.67.4. * at-spi2-atk: Expose the accessible hierarchy via dbus introspection. * Properly escape the AT-SPI bus address; fixes warnings about the address not containing a colon (!55). * Add a text value to AtspiValue, so that a value can expose a textual description, as in the new Atk value API. * Add atspi_event_listener_register_with_app, to allow an event listener to be registered only for a given application (!52). - accessibility/atk and accessibility/at-spi2-atk have been merged into accessibility/at-spi2-core - accessibility/at-spi2-core: bump consumers of removed ports atk and at-spi2-atk PR: 269704 Exp-run by: antoine ---
122 lines
4 KiB
Makefile
122 lines
4 KiB
Makefile
PORTNAME= textadept
|
|
PORTVERSION= 11.4
|
|
DISTVERSIONPREFIX= ${PORTNAME}_
|
|
PORTREVISION= 1
|
|
CATEGORIES= editors
|
|
MASTER_SITES= https://www.scintilla.org/:sci \
|
|
http://www.lua.org/ftp/:lua \
|
|
http://www.inf.puc-rio.br/~roberto/lpeg/:lpeg
|
|
DISTFILES= scintilla${SCINTILLA_VER}.tgz:sci \
|
|
lexilla${LEXILLA_VER}.tgz:sci \
|
|
lua-${LUA_VER}.tar.gz:lua \
|
|
lpeg-${LPEG_VER}.tar.gz:lpeg
|
|
|
|
MAINTAINER= danfe@FreeBSD.org
|
|
COMMENT= Fast, minimalist, extensible text editor
|
|
WWW= https://orbitalquark.github.io/textadept/
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
USES= compiler:c++17-lang desktop-file-utils gmake gnome iconv \
|
|
pkgconfig
|
|
USE_CXXSTD= c++17
|
|
USE_GNOME= cairo gdkpixbuf2 glib20
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= orbitalquark keplerproject:lfs
|
|
GH_PROJECT= scintillua:scilua luafilesystem:lfs gtdialog:gtd
|
|
GH_TAGNAME= ${SCILUA_HASH}:scilua v${LFS_VER}:lfs ${GTD_HASH}:gtd
|
|
|
|
SCINTILLA_VER= 524
|
|
LEXILLA_VER= 510
|
|
SCINTERM_HASH= 475d8d4
|
|
SCILUA_HASH= 9088723
|
|
LUA_VER= 5.4.4
|
|
LPEG_VER= 1.0.2
|
|
LFS_VER= 1_8_0
|
|
GTD_HASH= 444af9c
|
|
CDK_VER= 5.0-20200923
|
|
TERMKEY_VER= 0.22
|
|
|
|
BUILD_WRKSRC= ${WRKSRC}/src
|
|
INSTALL_WRKSRC= ${BUILD_WRKSRC}
|
|
MAKE_ARGS= TA_TARGETS="${_TARGETS}"
|
|
|
|
OPTIONS_DEFINE= DOCS NCURSES
|
|
OPTIONS_SINGLE= UI
|
|
OPTIONS_SINGLE_UI= GTK2 GTK3
|
|
OPTIONS_DEFAULT= GTK2 NCURSES
|
|
OPTIONS_SUB= yes
|
|
|
|
UI_DESC= GTK version
|
|
GTK2_USE= GNOME=gtk20
|
|
GTK2_MAKE_ARGS= GTK2=1
|
|
GTK3_USE= GNOME=gtk30
|
|
_TARGETS= gtk
|
|
|
|
# HTML files require patched https://keplerproject.github.io/luadoc/ to
|
|
# build, which is also seemingly deprecated upstream, so just grab them
|
|
# from the textadept package for GNU/Linux.
|
|
DOCS_MASTER_SITES= https://github.com/orbitalquark/${PORTNAME}/releases/download/${PORTNAME}_${PORTVERSION}/:docs
|
|
DOCS_DISTFILES= ${PORTNAME}_${PORTVERSION}.linux.tgz:docs
|
|
|
|
NCURSES_MASTER_SITES= https://invisible-mirror.net/archives/cdk/:cdk \
|
|
http://www.leonerd.org.uk/code/libtermkey/:tk
|
|
NCURSES_DISTFILES= cdk-${CDK_VER}.tgz:cdk \
|
|
libtermkey-${TERMKEY_VER}.tar.gz:tk
|
|
NCURSES_GH_PROJECT= scinterm:scitrm
|
|
NCURSES_GH_TAGNAME= ${SCINTERM_HASH}:scitrm
|
|
NCURSES_VARS= _TARGETS+=curses
|
|
|
|
post-patch:
|
|
${LN} -s ${WRKDIR}/scintilla ${BUILD_WRKSRC}
|
|
${PATCH} -d ${BUILD_WRKSRC}/scintilla -N -p1 < \
|
|
${BUILD_WRKSRC}/scintilla.patch
|
|
${LN} -s ${WRKDIR}/lexilla ${BUILD_WRKSRC}
|
|
${LN} -s ${WRKDIR}/lua-${LUA_VER} ${BUILD_WRKSRC}/lua
|
|
${PATCH} -d ${BUILD_WRKSRC}/lua -N -p1 < \
|
|
${BUILD_WRKSRC}/lua.patch
|
|
${LN} -s ${WRKSRC_scilua}/*.cxx ${WRKSRC_scilua}/*.h \
|
|
${BUILD_WRKSRC}
|
|
${LN} -s ${WRKSRC_scilua}/lexers ${BUILD_WRKSRC}/..
|
|
${RM} -r ${WRKSRC_scilua}/lexers/themes
|
|
@${MKDIR} ${BUILD_WRKSRC}/lua/src/lib
|
|
${LN} -s ${WRKDIR}/lpeg-${LPEG_VER}/*.[ch] ${BUILD_WRKSRC}/lua/src/lib
|
|
${LN} -s ${WRKDIR}/luafilesystem-${LFS_VER}/src/*.[ch] \
|
|
${BUILD_WRKSRC}/lua/src/lib
|
|
${LN} -s ${WRKDIR}/gtdialog-${GTD_HASH} ${BUILD_WRKSRC}/gtdialog
|
|
# On FreeBSD, ``__progname'' and ``environ'' symbols originated from
|
|
# /lib/crt*.o must stay global (see https://bugs.freebsd.org/220103).
|
|
@${PRINTF} '%s\n%s\n' __progname environ >> ${WRKSRC}/src/lua.sym
|
|
|
|
post-patch-NCURSES-on:
|
|
@${MKDIR} ${BUILD_WRKSRC}/scintilla/curses
|
|
${LN} -s ${WRKSRC_scitrm}/*.cxx ${WRKSRC_scitrm}/*.h \
|
|
${BUILD_WRKSRC}/scintilla/curses
|
|
@${MKDIR} ${BUILD_WRKSRC}/cdk
|
|
${LN} -s ${WRKDIR}/cdk-${CDK_VER}/include/*.h \
|
|
${WRKDIR}/cdk-${CDK_VER}/*.c ${BUILD_WRKSRC}/cdk
|
|
.for ext in h c
|
|
cd ${BUILD_WRKSRC}/cdk && ${SH} \
|
|
${WRKDIR}/cdk-${CDK_VER}/gen-scale.sh SLIDER Slider \
|
|
Int int gen-slider.${ext} > slider.${ext}
|
|
.endfor
|
|
${PATCH} -d ${BUILD_WRKSRC}/cdk -N -p1 < ${BUILD_WRKSRC}/cdk.patch
|
|
@${MKDIR} ${BUILD_WRKSRC}/termkey
|
|
${LN} -s ${WRKDIR}/libtermkey-${TERMKEY_VER}/*.[ch] \
|
|
${BUILD_WRKSRC}/termkey
|
|
${PATCH} -d ${BUILD_WRKSRC}/termkey -N -p1 < \
|
|
${BUILD_WRKSRC}/termkey.patch
|
|
|
|
post-install-DOCS-on:
|
|
${INSTALL_DATA} \
|
|
${WRKDIR}/${PORTNAME}_${PORTVERSION}.linux/docs/*.html \
|
|
${STAGEDIR}${DATADIR}/docs
|
|
${MV} ${STAGEDIR}${DATADIR}/docs ${STAGEDIR}${DOCSDIR}
|
|
${LN} -sf ../../${DOCSDIR_REL} ${STAGEDIR}${DATADIR}/docs
|
|
|
|
post-install-DOCS-off:
|
|
${RM} -r ${STAGEDIR}${DATADIR}/docs
|
|
|
|
.include <bsd.port.mk>
|