pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/at-spi2-core Update at-spi2-core to 2.33.2



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6b06a191e457
branches:  trunk
changeset: 336620:6b06a191e457
user:      prlw1 <prlw1%pkgsrc.org@localhost>
date:      Thu Jul 18 14:48:08 2019 +0000

description:
Update at-spi2-core to 2.33.2

Unstable branch chosen for:
* Add ATSPI_ROLE_CONTENT_DELETION and ATSPI_ROLE_CONTENT_INSERTION.

Many other bug fixes and translation updates including:
* Add atspi_accessible_get_accessible_id.
* Add atspi_text_notify_reading_position.
* Fix a compiler warning on BSD.
* Fix atspi_table_cell_get_(row_column)_header_cells.
* Add ScrollTo and ScrollToPoint component interfaces.
* Fix a potential buffer overflow in at-spi-bus-launcher (bgo#791124).

Full list at:
https://gitlab.gnome.org/GNOME/at-spi2-core/blob/AT_SPI2_CORE_2_33_2/NEWS

diffstat:

 devel/at-spi2-core/Makefile                                |  38 +++++-----
 devel/at-spi2-core/PLIST                                   |  49 +------------
 devel/at-spi2-core/distinfo                                |  11 +-
 devel/at-spi2-core/patches/patch-bus_at-spi-bus-launcher.c |  16 ----
 4 files changed, 27 insertions(+), 87 deletions(-)

diffs (194 lines):

diff -r 81c15017dc03 -r 6b06a191e457 devel/at-spi2-core/Makefile
--- a/devel/at-spi2-core/Makefile       Thu Jul 18 14:41:25 2019 +0000
+++ b/devel/at-spi2-core/Makefile       Thu Jul 18 14:48:08 2019 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.27 2017/12/04 16:36:24 maya Exp $
+# $NetBSD: Makefile,v 1.28 2019/07/18 14:48:08 prlw1 Exp $
 
-DISTNAME=      at-spi2-core-2.26.2
-PKGREVISION=   1
+DISTNAME=      at-spi2-core-2.33.2
 CATEGORIES=    devel gnome
 MASTER_SITES=  ${MASTER_SITE_GNOME:=sources/at-spi2-core/${PKGVERSION_NOREV:R}/}
 EXTRACT_SUFX=  .tar.xz
@@ -11,31 +10,23 @@
 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}
+USE_TOOLS+=            msgfmt pkg-config
 
-PKGCONFIG_OVERRIDE+=   atspi-2.pc.in
-
-CHECK_PORTABILITY_SKIP+=       config/test-driver
+PKGCONFIG_OVERRIDE=    output/meson-private/atspi-2.pc
+PKGCONFIG_OVERRIDE_STAGE=pre-install
+MAKE_ENV+=             LD_LIBRARY_PATH=${WRKSRC}/output/${PKGBASE}
 
-BUILD_DEFS+=           VARBASE PKG_SYSCONFBASE
+BUILDDEFS+=            PKG_SYSCONFBASE
 
-EGDIR=                 ${PREFIX}/share/examples/at-spi2-core
-PKG_SYSCONFSUBDIR=     at-spi2
-busconfigdir=          ${PKG_SYSCONFDIR}
+EGDIR=                 ${PREFIX}/share/examples/${PKGBASE}
+busconfigdir=          ${PKG_SYSCONFDIR}/at-spi2
 eg_busconfigdir=       ${EGDIR}/at-spi2
 default_sessiondir=    ${PKG_SYSCONFBASE}/xdg/autostart
 eg_default_sessiondir= ${EGDIR}/xdg/autostart
 
-INSTALL_MAKE_FLAGS+=   sysconfdir=${EGDIR}
-
 SUBST_CLASSES+=                eg
-SUBST_SED.eg+=         -e 's,defaults,examples/${PKGBASE},g'
-SUBST_FILES.eg+=       bus/Makefile.in
+SUBST_SED.eg+=         -e 's,defaults,examples/${PKGBASE},'
+SUBST_FILES.eg+=       bus/meson.build
 SUBST_STAGE.eg=        pre-configure
 SUBST_MESSAGE.eg=      Fixing path to examples directory.
 
@@ -45,9 +36,16 @@
                        ${default_sessiondir}/at-spi-dbus-bus.desktop
 MAKE_DIRS+=    ${default_sessiondir}
 
+post-install:
+       ${INSTALL_DATA_DIR} ${DESTDIR}${eg_default_sessiondir}
+       ${MV} ${DESTDIR}${PKG_SYSCONFDIR}/xdg/autostart/at-spi-dbus-bus.desktop \
+             ${DESTDIR}${eg_default_sessiondir}/at-spi-dbus-bus.desktop
+
 .include "../../devel/glib2/buildlink3.mk"
 .include "../../devel/gobject-introspection/buildlink3.mk"
 .include "../../sysutils/dbus/buildlink3.mk"
 .include "../../x11/libXi/buildlink3.mk"
 .include "../../x11/libXtst/buildlink3.mk"
+
+.include "../../devel/py-meson/build.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 81c15017dc03 -r 6b06a191e457 devel/at-spi2-core/PLIST
--- a/devel/at-spi2-core/PLIST  Thu Jul 18 14:41:25 2019 +0000
+++ b/devel/at-spi2-core/PLIST  Thu Jul 18 14:48:08 2019 +0000
@@ -1,16 +1,14 @@
-@comment $NetBSD: PLIST,v 1.14 2017/11/23 15:16:39 wiz Exp $
+@comment $NetBSD: PLIST,v 1.15 2019/07/18 14:48:08 prlw1 Exp $
 include/at-spi-2.0/atspi/atspi-accessible.h
 include/at-spi-2.0/atspi/atspi-action.h
 include/at-spi-2.0/atspi/atspi-application.h
 include/at-spi-2.0/atspi/atspi-collection.h
 include/at-spi-2.0/atspi/atspi-component.h
 include/at-spi-2.0/atspi/atspi-constants.h
-include/at-spi-2.0/atspi/atspi-device-listener-private.h
 include/at-spi-2.0/atspi/atspi-device-listener.h
 include/at-spi-2.0/atspi/atspi-document.h
 include/at-spi-2.0/atspi/atspi-editabletext.h
 include/at-spi-2.0/atspi/atspi-enum-types.h
-include/at-spi-2.0/atspi/atspi-event-listener-private.h
 include/at-spi-2.0/atspi/atspi-event-listener.h
 include/at-spi-2.0/atspi/atspi-gmain.h
 include/at-spi-2.0/atspi/atspi-hyperlink.h
@@ -19,7 +17,6 @@
 include/at-spi-2.0/atspi/atspi-matchrule.h
 include/at-spi-2.0/atspi/atspi-misc.h
 include/at-spi-2.0/atspi/atspi-object.h
-include/at-spi-2.0/atspi/atspi-private.h
 include/at-spi-2.0/atspi/atspi-registry.h
 include/at-spi-2.0/atspi/atspi-relation.h
 include/at-spi-2.0/atspi/atspi-selection.h
@@ -31,7 +28,9 @@
 include/at-spi-2.0/atspi/atspi-value.h
 include/at-spi-2.0/atspi/atspi.h
 lib/girepository-1.0/Atspi-2.0.typelib
-lib/libatspi.la
+lib/libatspi.so
+lib/libatspi.so.0
+lib/libatspi.so.0.0.1
 lib/pkgconfig/atspi-2.pc
 lib/systemd/user/at-spi-dbus-bus.service
 libexec/at-spi-bus-launcher
@@ -41,46 +40,6 @@
 share/examples/at-spi2-core/at-spi2/accessibility.conf
 share/examples/at-spi2-core/xdg/autostart/at-spi-dbus-bus.desktop
 share/gir-1.0/Atspi-2.0.gir
-share/gtk-doc/html/libatspi/AtspiAccessible.html
-share/gtk-doc/html/libatspi/AtspiDeviceListener.html
-share/gtk-doc/html/libatspi/AtspiEventListener.html
-share/gtk-doc/html/libatspi/AtspiHyperlink.html
-share/gtk-doc/html/libatspi/AtspiMatchRule.html
-share/gtk-doc/html/libatspi/AtspiObject.html
-share/gtk-doc/html/libatspi/AtspiRelation.html
-share/gtk-doc/html/libatspi/AtspiStateSet.html
-share/gtk-doc/html/libatspi/annotation-glossary.html
-share/gtk-doc/html/libatspi/api-index-full.html
-share/gtk-doc/html/libatspi/ch01.html
-share/gtk-doc/html/libatspi/home.png
-share/gtk-doc/html/libatspi/index.html
-share/gtk-doc/html/libatspi/left-insensitive.png
-share/gtk-doc/html/libatspi/left.png
-share/gtk-doc/html/libatspi/libatspi-AtspiApplication.html
-share/gtk-doc/html/libatspi/libatspi-atspi-action.html
-share/gtk-doc/html/libatspi/libatspi-atspi-collection.html
-share/gtk-doc/html/libatspi/libatspi-atspi-component.html
-share/gtk-doc/html/libatspi/libatspi-atspi-constants.html
-share/gtk-doc/html/libatspi/libatspi-atspi-document.html
-share/gtk-doc/html/libatspi/libatspi-atspi-editabletext.html
-share/gtk-doc/html/libatspi/libatspi-atspi-hypertext.html
-share/gtk-doc/html/libatspi/libatspi-atspi-image.html
-share/gtk-doc/html/libatspi/libatspi-atspi-listener-private.html
-share/gtk-doc/html/libatspi/libatspi-atspi-misc-private.html
-share/gtk-doc/html/libatspi/libatspi-atspi-misc.html
-share/gtk-doc/html/libatspi/libatspi-atspi-registry.html
-share/gtk-doc/html/libatspi/libatspi-atspi-selection.html
-share/gtk-doc/html/libatspi/libatspi-atspi-table-cell.html
-share/gtk-doc/html/libatspi/libatspi-atspi-table.html
-share/gtk-doc/html/libatspi/libatspi-atspi-text.html
-share/gtk-doc/html/libatspi/libatspi-atspi-types.html
-share/gtk-doc/html/libatspi/libatspi-atspi-value.html
-share/gtk-doc/html/libatspi/object-tree.html
-share/gtk-doc/html/libatspi/right-insensitive.png
-share/gtk-doc/html/libatspi/right.png
-share/gtk-doc/html/libatspi/style.css
-share/gtk-doc/html/libatspi/up-insensitive.png
-share/gtk-doc/html/libatspi/up.png
 share/locale/an/LC_MESSAGES/at-spi2-core.mo
 share/locale/as/LC_MESSAGES/at-spi2-core.mo
 share/locale/ast/LC_MESSAGES/at-spi2-core.mo
diff -r 81c15017dc03 -r 6b06a191e457 devel/at-spi2-core/distinfo
--- a/devel/at-spi2-core/distinfo       Thu Jul 18 14:41:25 2019 +0000
+++ b/devel/at-spi2-core/distinfo       Thu Jul 18 14:48:08 2019 +0000
@@ -1,7 +1,6 @@
-$NetBSD: distinfo,v 1.23 2017/12/04 16:36:24 maya Exp $
+$NetBSD: distinfo,v 1.24 2019/07/18 14:48:08 prlw1 Exp $
 
-SHA1 (at-spi2-core-2.26.2.tar.xz) = 1c39d66c1ca02005abff884fdab0ab510311d018
-RMD160 (at-spi2-core-2.26.2.tar.xz) = 8b4da05431a7c764701a36d8be4753ff0dc17574
-SHA512 (at-spi2-core-2.26.2.tar.xz) = 6a8e158e30c37ce475467b6634aff046a318875271966d7bfa3e56052d0cd26cd37435d0b9ae14f079542b8b3e76088da5bd50ed39eb39f3f40394c55ed3f255
-Size (at-spi2-core-2.26.2.tar.xz) = 494484 bytes
-SHA1 (patch-bus_at-spi-bus-launcher.c) = f897928b6b032c729c409ccecc9d8088b45bca5a
+SHA1 (at-spi2-core-2.33.2.tar.xz) = ef2d8acadf46af988a1dcee3fea3a1baa33e0089
+RMD160 (at-spi2-core-2.33.2.tar.xz) = aa9e536b92529be80f1376c888cf2364a4062c96
+SHA512 (at-spi2-core-2.33.2.tar.xz) = b2b9648693409c1e3da0b0a70224447c848cff7c343d03559d36bd08a25bdf878127078f768937b2d81725928a4197a0b1938b91a2d3bbfe150992df90591740
+Size (at-spi2-core-2.33.2.tar.xz) = 183308 bytes
diff -r 81c15017dc03 -r 6b06a191e457 devel/at-spi2-core/patches/patch-bus_at-spi-bus-launcher.c
--- a/devel/at-spi2-core/patches/patch-bus_at-spi-bus-launcher.c        Thu Jul 18 14:41:25 2019 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,16 +0,0 @@
-$NetBSD: patch-bus_at-spi-bus-launcher.c,v 1.1 2017/12/04 16:36:24 maya Exp $
-
-Fix inverted logic. Don't write to a buffer more than it can hold.
-https://bugzilla.gnome.org/show_bug.cgi?id=791124
-
---- bus/at-spi-bus-launcher.c.orig     2017-06-20 17:27:11.000000000 +0000
-+++ bus/at-spi-bus-launcher.c
-@@ -244,7 +244,7 @@ unix_read_all_fd_to_string (int      fd,
- {
-   ssize_t bytes_read;
- 
--  while (max_bytes > 1 && (bytes_read = read (fd, buf, MAX (4096, max_bytes - 1))))
-+  while (max_bytes > 1 && (bytes_read = read (fd, buf, MIN (4096, max_bytes - 1))))
-     {
-       if (bytes_read < 0)
-         return FALSE;



Home | Main Index | Thread Index | Old Index