Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package brltty for openSUSE:Factory checked in at 2026-07-17 01:35:14 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/brltty (Old) and /work/SRC/openSUSE:Factory/.brltty.new.24530 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "brltty" Fri Jul 17 01:35:14 2026 rev:73 rq:1365831 version:6.9.1 Changes: -------- --- /work/SRC/openSUSE:Factory/brltty/brltty.changes 2026-04-16 18:45:10.772961965 +0200 +++ /work/SRC/openSUSE:Factory/.brltty.new.24530/brltty.changes 2026-07-17 01:35:33.105183881 +0200 @@ -1,0 +2,5 @@ +Tue Jul 7 07:07:07 UTC 2026 - [email protected] + +- Remove OCaml bindings on 32bit architectures + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ brltty.spec ++++++ --- /var/tmp/diff_new_pack.njSO5d/_old 2026-07-17 01:35:34.093217203 +0200 +++ /var/tmp/diff_new_pack.njSO5d/_new 2026-07-17 01:35:34.097217338 +0200 @@ -16,6 +16,11 @@ # +%ifarch aarch64 ppc64le riscv64 s390x x86_64 +%bcond_without brltty_ocaml_bindings +%else +%bcond_with brltty_ocaml_bindings +%endif %global _lto_cflags %_lto_cflags -ffat-lto-objects %define api_version 0.8.8 %define sover 0_8 @@ -25,7 +30,6 @@ Release: 0 Summary: Braille display driver for Linux/Unix License: LGPL-2.1-or-later -Group: System/Daemons URL: https://brltty.app/ Source0: https://brltty.app/archive/%name-%version.tar.xz @@ -45,8 +49,6 @@ BuildRequires: java-devel >= 1.6.0 BuildRequires: jpackage-utils BuildRequires: ncurses-devel -BuildRequires: ocaml -BuildRequires: ocaml-rpm-macros >= 20231101 BuildRequires: pkg-config BuildRequires: python-rpm-macros > 20240101 BuildRequires: python3 @@ -78,7 +80,6 @@ %package driver-at-spi2 Summary: AT-SPI 2 driver for BRLTTY -Group: System/Daemons Requires: %name = %version Supplements: (brltty and at-spi2-core) @@ -92,7 +93,6 @@ %package driver-brlapi Summary: BrlAPI driver for BRLTTY -Group: System/Daemons Requires: %name = %version Supplements: (brltty and %{soname}) @@ -106,7 +106,6 @@ %package driver-espeak Summary: ESpeak driver for BRLTTY -Group: System/Daemons Requires: %name = %version Supplements: (brltty and espeak-ng-compat) @@ -120,7 +119,6 @@ %package driver-speech-dispatcher Summary: Speech Dispatcher driver for BRLTTY -Group: System/Daemons Requires: %name = %version Supplements: (brltty and libspeechd2) @@ -134,7 +132,6 @@ %package driver-xwindow Summary: XWindow driver for BRLTTY -Group: System/Daemons Requires: %name = %version Supplements: (brltty and xorg-x11-server) @@ -148,7 +145,6 @@ %package udev-generic Summary: BRLTTY Udev rules for braille devices that use a generic USB to serial adapter -Group: System/Daemons Requires: %name = %version-%release %description udev-generic @@ -158,7 +154,6 @@ %package utils Summary: Braille display driver for Linux/Unix -Group: System/Daemons Requires: %name = %version %description utils @@ -171,7 +166,6 @@ %package -n xbrlapi Summary: X BrlAPI helper -Group: System/Daemons Requires: %name = %version Supplements: (%{soname} and xorg-x11-server) @@ -180,7 +174,6 @@ %package -n %{soname} Summary: Library to use BRLTTY from applications -Group: System/Daemons Requires(post): coreutils #!BuildIgnore: group(brlapi) Requires(post): group(brlapi) @@ -201,7 +194,6 @@ %package -n brlapi-devel Summary: Library to use BRLTTY from applications -- Development Files -Group: Development/Libraries/C and C++ Requires: %{soname} = %version %description -n brlapi-devel @@ -218,7 +210,6 @@ %package -n brlapi-java Summary: Library to use BRLTTY from applications -- Java Bindings -Group: System/Daemons Requires: java Requires: jpackage-utils @@ -234,9 +225,11 @@ ignored, whereas each piece of data coming from the braille terminal is sent to the application, rather than to brltty. +%if %{with brltty_ocaml_bindings} %package -n ocaml-brlapi Summary: Library to use BRLTTY from applications -- OCaml Bindings -Group: System/Daemons +BuildRequires: ocaml +BuildRequires: ocaml-rpm-macros Requires: ocaml %description -n ocaml-brlapi @@ -250,10 +243,10 @@ brltty sends to the braille terminal in the application's console is ignored, whereas each piece of data coming from the braille terminal is sent to the application, rather than to brltty. +%endif %package -n python3-brlapi Summary: Library to use BRLTTY from applications -- Python Bindings -Group: System/Daemons %description -n python3-brlapi BrlAPI is a service provided by the brltty daemon. @@ -269,7 +262,6 @@ %package -n tcl-brlapi Summary: Library to use BRLTTY from applications -- Tcl Bindings -Group: System/Daemons Requires: tcl %description -n tcl-brlapi @@ -286,7 +278,6 @@ %package -n system-user-brltty Summary: System user and group named brltty -Group: System/Base Requires(pre): group(pulse-access) Requires(pre): group(root) Requires(pre): group(tty) @@ -326,6 +317,9 @@ export PYTHON=/usr/bin/python3 %configure CPPFLAGS="$java_inc" \ --with-tables-directory=%_datadir/%name \ +%if %{without brltty_ocaml_bindings} + --disable-ocaml-bindings \ +%endif --disable-stripping make TCL_DIR=%tcl_archdir @@ -345,9 +339,9 @@ install -D -m644 Documents/brltty.conf %buildroot%_sysconfdir/brltty.conf # ghost brlapi.key touch %buildroot%_sysconfdir/brlapi.key -# OCaml +%if %{with brltty_ocaml_bindings} %ocaml_create_file_list -# +%endif rm %buildroot%_libdir/libbrlapi.a rm %buildroot/etc/X11/Xsession.d/90xbrlapi # TODO: install this somewhere? # fix missing executable bits @@ -523,7 +517,9 @@ %{_jnidir}/libbrlapi_java.so %{_javadir}/brlapi.jar +%if %{with brltty_ocaml_bindings} %files -n ocaml-brlapi -f %name.files.devel +%endif %files -n python3-brlapi %{python3_sitearch}/brlapi.cpython*.so
