FreeBSD Bugzilla – Attachment 240624 Details for
Bug 269996
accessibility/at-spi2-core: make dependency on dbus optional
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
accessibility/at-spi2-core: make dependency on dbus optional
accessibility_at-spi2-core.diff (text/plain), 7.86 KB, created by
Dmitry Pryakhin
on 2023-03-06 20:07:47 UTC
(
hide
)
Description:
accessibility/at-spi2-core: make dependency on dbus optional
Filename:
MIME Type:
Creator:
Dmitry Pryakhin
Created:
2023-03-06 20:07:47 UTC
Size:
7.86 KB
patch
obsolete
>diff --git a/accessibility/at-spi2-core/Makefile b/accessibility/at-spi2-core/Makefile >index 6aa8898f5e34..754e680b19fa 100644 >--- a/accessibility/at-spi2-core/Makefile >+++ b/accessibility/at-spi2-core/Makefile >@@ -10,8 +10,7 @@ WWW= https://gitlab.gnome.org/GNOME/at-spi2-core > > LICENSE= LGPL21 > >-LIB_DEPENDS= libdbus-1.so:devel/dbus \ >- libxkbcommon.so:x11/libxkbcommon >+LIB_DEPENDS= libxkbcommon.so:x11/libxkbcommon > > PORTSCOUT= limitw:1,even > >@@ -20,6 +19,12 @@ USE_GNOME= glib20 introspection:build > USE_XORG= ice sm x11 xi xtst xext > USE_LDCONFIG= yes > >+OPTIONS_DEFINE= ATKONLY >+OPTIONS_SUB= yes >+ATKONLY_DESC= Build only ATK, no dbus dependency >+ATKONLY_LIB_DEPENDS_OFF= libdbus-1.so:devel/dbus >+ATKONLY_EXTRA_PATCHES= ${PATCHDIR}/extra-patch-meson.build >+ > post-install: > ${RM} -r ${STAGEDIR}${PREFIX}/lib/systemd > >diff --git a/accessibility/at-spi2-core/files/extra-patch-meson.build b/accessibility/at-spi2-core/files/extra-patch-meson.build >new file mode 100644 >index 000000000000..ca3f487ce129 >--- /dev/null >+++ b/accessibility/at-spi2-core/files/extra-patch-meson.build >@@ -0,0 +1,41 @@ >+--- meson.build.orig 2022-09-17 13:53:22 UTC >++++ meson.build >+@@ -126,7 +126,6 @@ gio_req_version = '>= 2.28.0' >+ gir_req_version = '>= 0.6.7' >+ libxml_req_version = '>= 2.9.1' >+ >+-libdbus_dep = dependency('dbus-1', version: libdbus_req_version) >+ glib_dep = dependency('glib-2.0', version: glib_req_version) >+ gobject_dep = dependency('gobject-2.0', version: gobject_req_version) >+ gio_dep = dependency('gio-2.0', version: gio_req_version) >+@@ -173,11 +172,6 @@ dbus_alignments = [ >+ 'dbus_int64_t', >+ ] >+ >+-foreach a: dbus_alignments >+- at_spi_conf.set('ALIGNOF_' + a.underscorify().to_upper(), >+- cc.alignment(a, prefix: '#include <dbus/dbus.h>', dependencies: libdbus_dep)) >+-endforeach >+- >+ at_spi_conf.set('ALIGNOF_DBIND_POINTER', cc.alignment('dbind_pointer', prefix: 'typedef void *dbind_pointer;')) >+ at_spi_conf.set('ALIGNOF_DBIND_STRUCT', cc.alignment('dbind_struct', prefix: 'typedef struct { char s1; } dbind_struct;')) >+ >+@@ -206,18 +200,7 @@ else >+ p2p_cflags = [] >+ endif >+ >+-install_data('at-spi2-atk.desktop', >+- install_dir: join_paths(get_option('libdir'), 'gnome-settings-daemon-3.0', 'gtk-modules')) >+- >+-subdir('xml') >+-subdir('dbind') >+-subdir('atspi') >+-subdir('bus') >+-subdir('registryd') >+ subdir('atk') >+-subdir('droute') >+-subdir('atk-adaptor') >+-subdir('tests') >+ >+ if get_option('docs') >+ subdir('doc') >diff --git a/accessibility/at-spi2-core/pkg-plist b/accessibility/at-spi2-core/pkg-plist >index 4fa6ce6e793f..194aeb424570 100644 >--- a/accessibility/at-spi2-core/pkg-plist >+++ b/accessibility/at-spi2-core/pkg-plist >@@ -1,37 +1,37 @@ >-etc/xdg/Xwayland-session.d/00-at-spi >-etc/xdg/autostart/at-spi-dbus-bus.desktop >-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-legacy.h >-include/at-spi-2.0/atspi/atspi-device-listener.h >-include/at-spi-2.0/atspi/atspi-device-x11.h >-include/at-spi-2.0/atspi/atspi-device.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.h >-include/at-spi-2.0/atspi/atspi-gmain.h >-include/at-spi-2.0/atspi/atspi-hyperlink.h >-include/at-spi-2.0/atspi/atspi-hypertext.h >-include/at-spi-2.0/atspi/atspi-image.h >-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-registry.h >-include/at-spi-2.0/atspi/atspi-relation.h >-include/at-spi-2.0/atspi/atspi-selection.h >-include/at-spi-2.0/atspi/atspi-stateset.h >-include/at-spi-2.0/atspi/atspi-table-cell.h >-include/at-spi-2.0/atspi/atspi-table.h >-include/at-spi-2.0/atspi/atspi-text.h >-include/at-spi-2.0/atspi/atspi-types.h >-include/at-spi-2.0/atspi/atspi-value.h >-include/at-spi-2.0/atspi/atspi.h >-include/at-spi2-atk/2.0/atk-bridge.h >+%%NO_ATKONLY%%etc/xdg/Xwayland-session.d/00-at-spi >+%%NO_ATKONLY%%etc/xdg/autostart/at-spi-dbus-bus.desktop >+%%NO_ATKONLY%%include/at-spi-2.0/atspi/atspi-accessible.h >+%%NO_ATKONLY%%include/at-spi-2.0/atspi/atspi-action.h >+%%NO_ATKONLY%%include/at-spi-2.0/atspi/atspi-application.h >+%%NO_ATKONLY%%include/at-spi-2.0/atspi/atspi-collection.h >+%%NO_ATKONLY%%include/at-spi-2.0/atspi/atspi-component.h >+%%NO_ATKONLY%%include/at-spi-2.0/atspi/atspi-constants.h >+%%NO_ATKONLY%%include/at-spi-2.0/atspi/atspi-device-legacy.h >+%%NO_ATKONLY%%include/at-spi-2.0/atspi/atspi-device-listener.h >+%%NO_ATKONLY%%include/at-spi-2.0/atspi/atspi-device-x11.h >+%%NO_ATKONLY%%include/at-spi-2.0/atspi/atspi-device.h >+%%NO_ATKONLY%%include/at-spi-2.0/atspi/atspi-document.h >+%%NO_ATKONLY%%include/at-spi-2.0/atspi/atspi-editabletext.h >+%%NO_ATKONLY%%include/at-spi-2.0/atspi/atspi-enum-types.h >+%%NO_ATKONLY%%include/at-spi-2.0/atspi/atspi-event-listener.h >+%%NO_ATKONLY%%include/at-spi-2.0/atspi/atspi-gmain.h >+%%NO_ATKONLY%%include/at-spi-2.0/atspi/atspi-hyperlink.h >+%%NO_ATKONLY%%include/at-spi-2.0/atspi/atspi-hypertext.h >+%%NO_ATKONLY%%include/at-spi-2.0/atspi/atspi-image.h >+%%NO_ATKONLY%%include/at-spi-2.0/atspi/atspi-matchrule.h >+%%NO_ATKONLY%%include/at-spi-2.0/atspi/atspi-misc.h >+%%NO_ATKONLY%%include/at-spi-2.0/atspi/atspi-object.h >+%%NO_ATKONLY%%include/at-spi-2.0/atspi/atspi-registry.h >+%%NO_ATKONLY%%include/at-spi-2.0/atspi/atspi-relation.h >+%%NO_ATKONLY%%include/at-spi-2.0/atspi/atspi-selection.h >+%%NO_ATKONLY%%include/at-spi-2.0/atspi/atspi-stateset.h >+%%NO_ATKONLY%%include/at-spi-2.0/atspi/atspi-table-cell.h >+%%NO_ATKONLY%%include/at-spi-2.0/atspi/atspi-table.h >+%%NO_ATKONLY%%include/at-spi-2.0/atspi/atspi-text.h >+%%NO_ATKONLY%%include/at-spi-2.0/atspi/atspi-types.h >+%%NO_ATKONLY%%include/at-spi-2.0/atspi/atspi-value.h >+%%NO_ATKONLY%%include/at-spi-2.0/atspi/atspi.h >+%%NO_ATKONLY%%include/at-spi2-atk/2.0/atk-bridge.h > include/atk-1.0/atk/atk-autocleanups.h > include/atk-1.0/atk/atk-enum-types.h > include/atk-1.0/atk/atk.h >@@ -68,28 +68,28 @@ include/atk-1.0/atk/atkvalue.h > include/atk-1.0/atk/atkversion.h > include/atk-1.0/atk/atkwindow.h > lib/girepository-1.0/Atk-1.0.typelib >-lib/girepository-1.0/Atspi-2.0.typelib >-lib/gnome-settings-daemon-3.0/gtk-modules/at-spi2-atk.desktop >-lib/gtk-2.0/modules/libatk-bridge.so >+%%NO_ATKONLY%%lib/girepository-1.0/Atspi-2.0.typelib >+%%NO_ATKONLY%%lib/gnome-settings-daemon-3.0/gtk-modules/at-spi2-atk.desktop >+%%NO_ATKONLY%%lib/gtk-2.0/modules/libatk-bridge.so > lib/libatk-1.0.so > lib/libatk-1.0.so.0 > lib/libatk-1.0.so.0.24609.1 >-lib/libatk-bridge-2.0.so >-lib/libatk-bridge-2.0.so.0 >-lib/libatk-bridge-2.0.so.0.0.0 >-lib/libatspi.so >-lib/libatspi.so.0 >-lib/libatspi.so.0.0.1 >-libdata/pkgconfig/atk-bridge-2.0.pc >+%%NO_ATKONLY%%lib/libatk-bridge-2.0.so >+%%NO_ATKONLY%%lib/libatk-bridge-2.0.so.0 >+%%NO_ATKONLY%%lib/libatk-bridge-2.0.so.0.0.0 >+%%NO_ATKONLY%%lib/libatspi.so >+%%NO_ATKONLY%%lib/libatspi.so.0 >+%%NO_ATKONLY%%lib/libatspi.so.0.0.1 >+%%NO_ATKONLY%%libdata/pkgconfig/atk-bridge-2.0.pc > libdata/pkgconfig/atk.pc >-libdata/pkgconfig/atspi-2.pc >-libexec/at-spi-bus-launcher >-libexec/at-spi2-registryd >-share/dbus-1/accessibility-services/org.a11y.atspi.Registry.service >-share/dbus-1/services/org.a11y.Bus.service >-share/defaults/at-spi2/accessibility.conf >+%%NO_ATKONLY%%libdata/pkgconfig/atspi-2.pc >+%%NO_ATKONLY%%libexec/at-spi-bus-launcher >+%%NO_ATKONLY%%libexec/at-spi2-registryd >+%%NO_ATKONLY%%share/dbus-1/accessibility-services/org.a11y.atspi.Registry.service >+%%NO_ATKONLY%%share/dbus-1/services/org.a11y.Bus.service >+%%NO_ATKONLY%%share/defaults/at-spi2/accessibility.conf > share/gir-1.0/Atk-1.0.gir >-share/gir-1.0/Atspi-2.0.gir >+%%NO_ATKONLY%%share/gir-1.0/Atspi-2.0.gir > share/locale/ab/LC_MESSAGES/at-spi2-core.mo > share/locale/af/LC_MESSAGES/at-spi2-core.mo > share/locale/am/LC_MESSAGES/at-spi2-core.mo
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 269996
:
240624
|
240679
|
240884
|
240885
|
241055