pkgsrc/devel/at-spi2-core/Makefile

54 lines
1.7 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.27 2017/12/04 16:36:24 maya Exp $
DISTNAME= at-spi2-core-2.26.2
PKGREVISION= 1
Update at-spi2-core to 2.10.2 * Fix atspi_component_contains (BGO#710730). * Hopefully fix a crash when unable to register with the session manager (BGO#710689). * Fix a leak introduced in 2.9.92 that adversely affected performance (BGO#709625). * Fix multiple deadlocks with keystroke listeners (BGO#707218). * Fix a performance issue when running for a long time without a main loop, such as with a dogtail script (BGO#701145). * Remove an unneeded unref that was causing a warning (BGO#706893). * Skip some functions that were not introspectable (BGO#707010). * Separate out X-dependent functionality, allow building without X11 (albeit with various things not working), and don't query/use X if DISPLAY is not set (BGO#682199, BGO#701378). * Add atspi_text_get_string_at_offset, and deprecate atspi_text_get_text_at_offset. * Fix possible memory leak when D-Bus calls time out. * Fix a memory leak in atspi_accessible_get_role_name that was introduced earlier in the 2.9 cycle with the enum refactor. * A couple of functions not intended for introspection are now marked as skip. * Add atspi_set_main_context (mainly for use by at-spi2-atk). * Add atspi_is_initialized (BGO#681276). * Fix D-Bus introspection for GetActions. * Use glib-mkenums to generate enum types, and use these generated types for role and state names, rather than static tables. * Annotate filter in atspi_register_device_event_listener with allow-none (BGO#700237). * Rename various functions to avoid name collisions (BGO#700243). The old functions are deprecated in favor of the renamed functions and renamed for introspection.
2013-12-08 14:40:20 +01:00
CATEGORIES= devel gnome
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/at-spi2-core/${PKGVERSION_NOREV:R}/}
EXTRACT_SUFX= .tar.xz
MAINTAINER= prlw1@cam.ac.uk
HOMEPAGE= http://www.linuxfoundation.org/collaborate/workgroups/accessibility/atk/at-spi/at-spi_on_d-bus
COMMENT= Assistive Technology Service Provider Interface Core
LICENSE= gnu-lgpl-v2
USE_LIBTOOL= yes
USE_PKGLOCALEDIR= yes
USE_TOOLS+= gmake intltool msgfmt pkg-config
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --localstatedir=${VARBASE}
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFBASE}
PKGCONFIG_OVERRIDE+= atspi-2.pc.in
Update at-spi2-core to 2.25.91 This has several fixes which aren't in the "stable" 2.24.1 What's new in at-spi2-core 2.25.91: * Meson builds should now be usable. What's new in at-spi2-core 2.25.90: * Fix a couple of introspection issues (bgo#784481). * atspi_get_a11_bus: don't leak the DBusConnection. * Meson fixes. What's new in at-spi2-core 2.25.4: * Fix gir generation with autotools (bgo#783994). What's new in at-spi2-core 2.25.3: * Fix -Wmisleading-indentation warnings. * Fix memory leak of at-spi-bus-launcher. * Add error-message, error-for, details, and details-for relation types. * Poll direct dbus connections in the main loop--fixes processes being marked hung and the hung flag never being removed. * Add Meson build system (thanks to Emmanuele Bassi). * Various build fixes (thanks to Emmanuele Bassi). What's new in at-spi2-core 2.25.2: * attempt to fix an occasional crash when an application disappears (bgo#767074). * Add some missing roles to correspond with atk (description list, description term, description value, and footnote). What's new in at-spi2-core 2.25.1: * atspi_table_cell_get_position: don't crash on error. What's new in at-spi2-core 2.23.92: * Table cell API fixes (bgo#779835). What's new in at-spi2-core 2.23.90: * Fix an occasional crash when an application is closed (bgo#767074). What's new in at-spi2-core 2.23.4: * Don't pull in X headers if x11 is disabled (bgo#773710). * at-spi-bus-launcher: session management fixes (bgo#774441). * events: add recently added page changed event (bgo#719898). * roles: EXTENDED roles are deprecated (bgo#W720123).
2017-08-25 14:17:00 +02:00
CHECK_PORTABILITY_SKIP+= config/test-driver
BUILD_DEFS+= VARBASE PKG_SYSCONFBASE
EGDIR= ${PREFIX}/share/examples/at-spi2-core
PKG_SYSCONFSUBDIR= at-spi2
busconfigdir= ${PKG_SYSCONFDIR}
eg_busconfigdir= ${EGDIR}/at-spi2
default_sessiondir= ${PKG_SYSCONFBASE}/xdg/autostart
eg_default_sessiondir= ${EGDIR}/xdg/autostart
INSTALL_MAKE_FLAGS+= sysconfdir=${EGDIR}
Update at-spi2-core to 2.25.91 This has several fixes which aren't in the "stable" 2.24.1 What's new in at-spi2-core 2.25.91: * Meson builds should now be usable. What's new in at-spi2-core 2.25.90: * Fix a couple of introspection issues (bgo#784481). * atspi_get_a11_bus: don't leak the DBusConnection. * Meson fixes. What's new in at-spi2-core 2.25.4: * Fix gir generation with autotools (bgo#783994). What's new in at-spi2-core 2.25.3: * Fix -Wmisleading-indentation warnings. * Fix memory leak of at-spi-bus-launcher. * Add error-message, error-for, details, and details-for relation types. * Poll direct dbus connections in the main loop--fixes processes being marked hung and the hung flag never being removed. * Add Meson build system (thanks to Emmanuele Bassi). * Various build fixes (thanks to Emmanuele Bassi). What's new in at-spi2-core 2.25.2: * attempt to fix an occasional crash when an application disappears (bgo#767074). * Add some missing roles to correspond with atk (description list, description term, description value, and footnote). What's new in at-spi2-core 2.25.1: * atspi_table_cell_get_position: don't crash on error. What's new in at-spi2-core 2.23.92: * Table cell API fixes (bgo#779835). What's new in at-spi2-core 2.23.90: * Fix an occasional crash when an application is closed (bgo#767074). What's new in at-spi2-core 2.23.4: * Don't pull in X headers if x11 is disabled (bgo#773710). * at-spi-bus-launcher: session management fixes (bgo#774441). * events: add recently added page changed event (bgo#719898). * roles: EXTENDED roles are deprecated (bgo#W720123).
2017-08-25 14:17:00 +02:00
SUBST_CLASSES+= eg
SUBST_SED.eg+= -e 's,defaults,examples/${PKGBASE},g'
SUBST_FILES.eg+= bus/Makefile.in
SUBST_STAGE.eg= pre-configure
SUBST_MESSAGE.eg= Fixing path to examples directory.
CONF_FILES= ${eg_busconfigdir}/accessibility.conf \
${busconfigdir}/accessibility.conf
CONF_FILES+= ${eg_default_sessiondir}/at-spi-dbus-bus.desktop \
${default_sessiondir}/at-spi-dbus-bus.desktop
MAKE_DIRS+= ${default_sessiondir}
.include "../../devel/glib2/buildlink3.mk"
Update at-spi2-core from 2.3.5 -> 2.5.2 2.5.2: * Fix a crash when a call to fetch a hyperlink times out. * Fix C++ compilation. * Remove a warning that was sometimes logged when a method call timed out. * Fix crash in atspi_deregister_keystroke_listener (FDO#50578) 2.5.1: * Add atspi_set_timeout. * By default, disable method call timeouts until an application has been on the bus for 15 seconds (work-around for applications with potentially long start-up times). This behavior can be changed with a call to atspi_set_timeout. * Fix GError sent when receiving a reply of the wrong type * Fix typo in atspi_document_get_attribute_value * Fix for bug 675004 - object:state-changed:defunct events are emitted as object:state-change:defunct 2.4.0: * Fix typo in at-spi-dbus-bus.desktop.in (BGO#605662). 2.3.92: * Some changes to try to prevent at-spi2-registryd from incorrectly thinking that an AT is hung and passing keys meant for it to the application. * Fix crash fetching an error from a reply when retrieving a property. 2.3.91: * Invalidate states when receiving a focus event (BGO#663992). * Fix atspi_table_get_row_column_extents_at_index. * Expect a signed int for GetIndexInParent, per the spec. * Send key events to listeners assumed to be hung, but don't block. * Reduce the method call timeout slightly, so that it will be lower than the keystroke listener timeout. * Don't cache data for transient objects. * Enable caching on a call to atspi_accessible_set_cache_mask, even if atspi-event_main() hasn't been called. 2.3.90: * At-spi-bus-launcher now emits PropertiesChanged signals from the correct interface. * If a keystroke listener does not respond, disable it until it responds. This prevents the desktop from locking up if an AT hangs or is suspended and has a keyboard listener registered. * Fix a warning when a NULL object is returned as the detail of an event.
2012-06-12 19:16:13 +02:00
.include "../../devel/gobject-introspection/buildlink3.mk"
.include "../../sysutils/dbus/buildlink3.mk"
.include "../../x11/libXi/buildlink3.mk"
.include "../../x11/libXtst/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"