Hello community, here is the log from the commit of package brltty for openSUSE:Factory checked in at 2019-03-28 22:46:37 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/brltty (Old) and /work/SRC/openSUSE:Factory/.brltty.new.25356 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "brltty" Thu Mar 28 22:46:37 2019 rev:46 rq:689171 version:6.0 Changes: -------- --- /work/SRC/openSUSE:Factory/brltty/brltty.changes 2019-03-26 15:37:28.404371078 +0100 +++ /work/SRC/openSUSE:Factory/.brltty.new.25356/brltty.changes 2019-03-28 22:46:38.619075347 +0100 @@ -1,0 +2,9 @@ +Tue Mar 26 07:03:44 UTC 2019 - [email protected] + +- Use alsa API properly. Consumers are expected to use + <alsa/asoundlib.h> instead of <asoundlib.h>. + This is in preparation of an change to pkgconfig(alsa) to + not pollute CFLAGS with -I/usr/include/alsa anymore (bsc#1130333) + brltty-alsa.patch + +------------------------------------------------------------------- New: ---- brltty-alsa.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ brltty.spec ++++++ --- /var/tmp/diff_new_pack.4aKaat/_old 2019-03-28 22:46:39.307075242 +0100 +++ /var/tmp/diff_new_pack.4aKaat/_new 2019-03-28 22:46:39.311075242 +0100 @@ -39,11 +39,12 @@ Summary: Braille display driver for Linux/Unix License: LGPL-2.1-or-later Group: System/Daemons -Url: http://mielke.cc/brltty/ +Url: https://brltty.app/ -Source0: http://mielke.cc/brltty/archive/%{name}-%{version}.tar.xz +Source0: https://brltty.app/archive/%{name}-%{version}.tar.xz Source1: README.SUSE Patch0: brltty-5.5-systemd-install.patch +Patch1: brltty-alsa.patch BuildRequires: %{espeakdev} BuildRequires: bison @@ -296,15 +297,15 @@ %lang_package %prep -%setup -q +%autosetup -p1 + +%build cp %{_sourcedir}/README.SUSE . -%patch0 -p1 # Fix "wrong-file-end-of-line-encoding" rpmlint warning sed -i 's/\r$//' Documents/Manual-BRLTTY/Portuguese/BRLTTY.txt sed -i 's:/usr/bin/python:/usr/bin/python3:' ./Tables/Contraction/latex-access.ctb -%build modified="$(sed -n '/^----/n;s/ - .*$//;p;q' "%{_sourcedir}/%{name}.changes")" DATE="\"$(date -d "${modified}" "+%%b %%e %%Y")\"" TIME="\"$(date -d "${modified}" "+%%R")\"" ++++++ brltty-alsa.patch ++++++ --- a/Programs/midi_alsa.c +++ b/Programs/midi_alsa.c @@ -18,7 +18,7 @@ #include "prologue.h" -#include <asoundlib.h> +#include <alsa/asoundlib.h> #include "log.h" #include "parse.h" --- a/Programs/pcm_alsa.c +++ b/Programs/pcm_alsa.c @@ -19,7 +19,7 @@ #include "prologue.h" #define ALSA_PCM_NEW_HW_PARAMS_API -#include <asoundlib.h> +#include <alsa/asoundlib.h> #include "log.h" #include "timing.h"
