Import from AlmaLinux stable repository

This commit is contained in:
eabdullin 2024-05-31 16:50:51 +00:00
parent 0baad5532b
commit 1b137fd11a
3 changed files with 20 additions and 2 deletions

View File

@ -1 +0,0 @@
91a857e9888608efbbeec3b54e60e1039eea1bfe SOURCES/libucil-0.9.10.tar.gz

View File

@ -0,0 +1,11 @@
--- libucil-0.9.10/src/ucil_alsa.c 2010-01-17 08:49:29.000000000 +0100
+++ libucil-0.9.10/src/ucil_alsa.c.include-alsa 2019-07-28 19:28:30.425902735 +0200
@@ -29,7 +29,7 @@
#include "ucil_alsa.h"
#include <stdlib.h>
-#include <asoundlib.h>
+#include <alsa/asoundlib.h>
#include <glib-2.0/glib.h>
/* #if UCIL_DEBUG */
#define DEBUG

View File

@ -1,7 +1,7 @@
Summary: Library to render text and graphic overlays onto video images Summary: Library to render text and graphic overlays onto video images
Name: libucil Name: libucil
Version: 0.9.10 Version: 0.9.10
Release: 16%{?dist} Release: 17%{?dist}
License: GPLv2+ License: GPLv2+
Group: System Environment/Libraries Group: System Environment/Libraries
URL: http://www.unicap-imaging.org/ URL: http://www.unicap-imaging.org/
@ -16,6 +16,9 @@ Patch1: libucil-0.9.10-leaks.patch
# fix some compile-time warnings # fix some compile-time warnings
Patch2: libucil-0.9.10-warnings.patch Patch2: libucil-0.9.10-warnings.patch
# asoundlib.h is alsa/asoundlib.h meanwhile
Patch3: libucil-0.9.10-include-alsa.patch
BuildRequires: autoconf, automake, gettext-devel, libtool BuildRequires: autoconf, automake, gettext-devel, libtool
BuildRequires: intltool, /usr/bin/perl, perl(XML::Parser), gettext, gtk-doc >= 1.4 BuildRequires: intltool, /usr/bin/perl, perl(XML::Parser), gettext, gtk-doc >= 1.4
BuildRequires: libunicap-devel, glib2-devel, pango-devel, alsa-lib-devel BuildRequires: libunicap-devel, glib2-devel, pango-devel, alsa-lib-devel
@ -45,6 +48,7 @@ documentation of the library, too.
%patch0 -p1 %patch0 -p1
%patch1 -p1 %patch1 -p1
%patch2 -p1 %patch2 -p1
%patch3 -p1
# fixes for gtk-doc 1.26 # fixes for gtk-doc 1.26
sed -i -e '/^DOC_SOURCE_DIR/s/--source-dir=//g' doc/libucil/Makefile.am sed -i -e '/^DOC_SOURCE_DIR/s/--source-dir=//g' doc/libucil/Makefile.am
mkdir -p m4 mkdir -p m4
@ -82,6 +86,10 @@ rm -rf $RPM_BUILD_ROOT
%{_datadir}/gtk-doc/html/%{name} %{_datadir}/gtk-doc/html/%{name}
%changelog %changelog
* Tue May 30 2023 Vitezslav Crhonek <vcrhonek@redhat.com> - 0.9.10-17
- alsa/asoundlib.h should be used instead of asoundlib.h since alsa-1.1.9
Resolves: #2108023
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.10-16 * Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.10-16
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild