Compare commits
2 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| fe15ae8ed3 | |||
| ff74fb0501 |
@@ -1,3 +1,2 @@
|
||||
libkate1
|
||||
liboggkate1
|
||||
|
||||
|
||||
@@ -1,32 +0,0 @@
|
||||
diff --git a/tests/Makefile.am b/tests/Makefile.am
|
||||
index 4fa768a..16883c2 100644
|
||||
--- a/tests/Makefile.am
|
||||
+++ b/tests/Makefile.am
|
||||
@@ -41,11 +41,6 @@ tmp_srt2:="$(top_builddir)/kate-check-2.srt"
|
||||
KATEENC_OPTS=-s 0 -c test -l en -K 5 -R 15
|
||||
|
||||
check-local:
|
||||
- @echo " Checking Kate namespace"
|
||||
- @! @NM@ $(top_builddir)/lib/.libs/*.{a,so} \
|
||||
- | $(GREP) "^[0123456789abcdef]\{8\} [ABCDEFGHIJKLMOPQRSTUVWXYZ] [^\.]" \
|
||||
- | $(GREP) -v "^.\{11\}_" \
|
||||
- | $(GREP) -v "^.\{11\}kate_"
|
||||
@echo " Checking memory allocation routines"
|
||||
@! $(GREP) -EHn '[^_](malloc|realloc|free|calloc|memalign)\(' \
|
||||
$(top_srcdir)/src/*.[ch] $(top_srcdir)/include/kate/*.h \
|
||||
diff --git a/tests/Makefile.in b/tests/Makefile.in
|
||||
index 2fe27a1..8b4efa4 100644
|
||||
--- a/tests/Makefile.in
|
||||
+++ b/tests/Makefile.in
|
||||
@@ -698,11 +698,6 @@ uninstall-am:
|
||||
|
||||
|
||||
check-local:
|
||||
- @echo " Checking Kate namespace"
|
||||
- @! @NM@ $(top_builddir)/lib/.libs/*.{a,so} \
|
||||
- | $(GREP) "^[0123456789abcdef]\{8\} [ABCDEFGHIJKLMOPQRSTUVWXYZ] [^\.]" \
|
||||
- | $(GREP) -v "^.\{11\}_" \
|
||||
- | $(GREP) -v "^.\{11\}kate_"
|
||||
@echo " Checking memory allocation routines"
|
||||
@! $(GREP) -EHn '[^_](malloc|realloc|free|calloc|memalign)\(' \
|
||||
$(top_srcdir)/src/*.[ch] $(top_srcdir)/include/kate/*.h \
|
||||
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c40e81d5866c3d4bf744e76ce0068d8f388f0e25f7e258ce0c8e76d7adc87b68
|
||||
size 906896
|
||||
3
libkate-0.4.3.tar.gz
Normal file
3
libkate-0.4.3.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:96827ca136ad496b4e34ff3ed2434a8e76ad83b1e6962b5df06ad24cbbfeebaf
|
||||
size 989063
|
||||
@@ -1,3 +1,18 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Mar 9 16:33:52 UTC 2025 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||
|
||||
- update to 0.4.3:
|
||||
* full Python 3 compatibility
|
||||
- includes changes from 0.4.2:
|
||||
* Adjust decoder to allow zero sized metadata content
|
||||
* Adjust text parsing to better recognize invalid UNICODE
|
||||
* Eliminate timing precision issues in writing to kate format,
|
||||
and ensure seconds are written with a leading 0 if less than 10
|
||||
* Fixes to build systems, compiler warnings
|
||||
* Correct option handling in KateDJ.
|
||||
* Adust kate_high_decode_init() to avoid use after free
|
||||
- drop disable-namespace-test.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 29 16:51:20 UTC 2024 - pgajdos@suse.com
|
||||
|
||||
|
||||
56
libkate.spec
56
libkate.spec
@@ -3,6 +3,7 @@
|
||||
#
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
# Copyright (c) 2010 SUSE Dominique Leuenberger, Amsterdam, Netherlands
|
||||
# Copyright (c) 2025 Andreas Stieger <Andreas.Stieger@gmx.de>
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -17,24 +18,20 @@
|
||||
#
|
||||
|
||||
|
||||
%bcond_without python2
|
||||
%define sover 1
|
||||
Name: libkate
|
||||
Version: 0.4.1
|
||||
Version: 0.4.3
|
||||
Release: 0
|
||||
Summary: A karaoke and text codec for embedding in Ogg
|
||||
License: BSD-3-Clause
|
||||
URL: http://libkate.googlecode.com
|
||||
Source: http://libkate.googlecode.com/files/%{name}-%{version}.tar.gz
|
||||
URL: https://gitlab.xiph.org/xiph/kate
|
||||
Source: https://downloads.xiph.org/releases/kate/%{name}-%{version}.tar.gz
|
||||
Source99: baselibs.conf
|
||||
Patch0: disable-namespace-test.patch
|
||||
BuildRequires: doxygen
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: pkgconfig(libpng)
|
||||
BuildRequires: pkgconfig(ogg)
|
||||
%if %{with python2}
|
||||
BuildRequires: python2-base
|
||||
%endif
|
||||
|
||||
%description
|
||||
Kate is a codec for karaoke and text encapsulation for Ogg. Most of the
|
||||
@@ -48,10 +45,10 @@ This was originally meant for karaoke use, but can be used for any
|
||||
purpose. Motions can be attached to various semantics, like position,
|
||||
color, etc, so scrolling or fading text can be defined.
|
||||
|
||||
%package -n %{name}1
|
||||
%package -n %{name}%{sover}
|
||||
Summary: A karaoke and text codec for embedding in Ogg
|
||||
|
||||
%description -n %{name}1
|
||||
%description -n %{name}%{sover}
|
||||
Kate is a codec for karaoke and text encapsulation for Ogg. Most of the
|
||||
time, this would be multiplexed with audio/video to carry subtitles,
|
||||
song lyrics (with or without karaoke data), etc, but doesn't have to be.
|
||||
@@ -63,11 +60,11 @@ This was originally meant for karaoke use, but can be used for any
|
||||
purpose. Motions can be attached to various semantics, like position,
|
||||
color, etc, so scrolling or fading text can be defined.
|
||||
|
||||
%package -n liboggkate1
|
||||
%package -n liboggkate%{sover}
|
||||
Summary: A karaoke and text codec for embedding in Ogg
|
||||
Conflicts: libkate1 < 0.4.1
|
||||
|
||||
%description -n liboggkate1
|
||||
%description -n liboggkate%{sover}
|
||||
Kate is a codec for karaoke and text encapsulation for Ogg. Most of the
|
||||
time, this would be multiplexed with audio/video to carry subtitles,
|
||||
song lyrics (with or without karaoke data), etc, but doesn't have to be.
|
||||
@@ -81,10 +78,8 @@ color, etc, so scrolling or fading text can be defined.
|
||||
|
||||
%package devel
|
||||
Summary: A karaoke and text codec for embedding in Ogg - Development Files
|
||||
Requires: %{name}1 = %{version}
|
||||
Requires: glibc-devel
|
||||
Requires: liboggkate1 = %{version}
|
||||
Requires: pkgconfig(ogg)
|
||||
Requires: %{name}%{sover} = %{version}
|
||||
Requires: liboggkate%{sover} = %{version}
|
||||
|
||||
%description devel
|
||||
Kate is a codec for karaoke and text encapsulation for Ogg. Most of the
|
||||
@@ -133,9 +128,6 @@ them, and rebuilding the Ogg stream after the Kate tracks are modified.
|
||||
|
||||
%build
|
||||
echo 'HTML_TIMESTAMP=NO' >> doc/kate.doxygen.in
|
||||
%if !%{with python2}
|
||||
sed -i -e 's:PYTHON=python:PYTHON=python3:g' misc/autotools/py-compile
|
||||
%endif
|
||||
%configure \
|
||||
--disable-static
|
||||
%make_build
|
||||
@@ -157,23 +149,23 @@ rm -rf %{buildroot}%{_mandir}/man1/KateDJ.1*
|
||||
%check
|
||||
%make_build check
|
||||
|
||||
%post -n %{name}1 -p /sbin/ldconfig
|
||||
%postun -n %{name}1 -p /sbin/ldconfig
|
||||
%ldconfig_scriptlets -n %{name}%{sover}
|
||||
%ldconfig_scriptlets -n liboggkate%{sover}
|
||||
|
||||
%files -n %{name}1
|
||||
%files -n %{name}%{sover}
|
||||
%doc AUTHORS ChangeLog README THANKS
|
||||
%license COPYING
|
||||
%{_libdir}/%{name}.so.1*
|
||||
%{_libdir}/%{name}.so.%{sover}
|
||||
%{_libdir}/%{name}.so.%{sover}.*
|
||||
|
||||
%post -n liboggkate1 -p /sbin/ldconfig
|
||||
%postun -n liboggkate1 -p /sbin/ldconfig
|
||||
|
||||
%files -n liboggkate1
|
||||
%files -n liboggkate%{sover}
|
||||
%license COPYING
|
||||
%doc AUTHORS ChangeLog README THANKS
|
||||
%{_libdir}/liboggkate.so.1*
|
||||
%{_libdir}/liboggkate.so.%{sover}
|
||||
%{_libdir}/liboggkate.so.%{sover}.*
|
||||
|
||||
%files devel
|
||||
%license COPYING
|
||||
%doc doc/html/
|
||||
%{_includedir}/kate/
|
||||
%{_libdir}/%{name}.so
|
||||
@@ -182,6 +174,7 @@ rm -rf %{buildroot}%{_mandir}/man1/KateDJ.1*
|
||||
%{_libdir}/pkgconfig/oggkate.pc
|
||||
|
||||
%files tools
|
||||
%license COPYING
|
||||
%{_bindir}/katedec
|
||||
%{_bindir}/kateenc
|
||||
%{_bindir}/katalyzer
|
||||
@@ -189,11 +182,4 @@ rm -rf %{buildroot}%{_mandir}/man1/KateDJ.1*
|
||||
%{_mandir}/man1/katedec.1%{?ext_man}
|
||||
%{_mandir}/man1/kateenc.1%{?ext_man}
|
||||
|
||||
%if %{with python2}
|
||||
%files -n python-katedj
|
||||
%{_bindir}/KateDJ
|
||||
%{_mandir}/man1/KateDJ.1%{?ext_man}
|
||||
%{python_sitelib}/kdj/
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user