Compare commits

...

68 Commits
i9ce ... epel9

Author SHA1 Message Date
Xavier Bachelot 676a976638 Merge branch 'rawhide' into epel8
3 months ago
Xavier Bachelot ba7fe59b68 Merge branch 'rawhide' into epel9
3 months ago
Xavier Bachelot 580382233d Update to 0.2.42
3 months ago
Fedora Release Engineering 71ecef088a Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
5 months ago
Fedora Release Engineering b4f09b45e9 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
11 months ago
Fedora Release Engineering 95a871dde9 Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
1 year ago
David Cantrell eeaf0a4e26 Update License tag to SPDX identifiers; use '%patch -P N'
2 years ago
Kalev Lember 5add315208 Avoid requiring systemd for systemd rpm scriptlets
2 years ago
Fedora Release Engineering e2a7bba847 Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
2 years ago
Fedora Release Engineering 43c8c12b23 Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
2 years ago
Fedora Release Engineering 8ae4fde27c - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
3 years ago
Dmitry Butskoy 291cc7aa62 avoid rpath in binaries
3 years ago
Fedora Release Engineering d6b2c0387d - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
3 years ago
Zbigniew Jędrzejewski-Szmek 52443b5331 Rebuilt for updated systemd-rpm-macros
4 years ago
Dmitry Butskoy 8bd2c03756 Fix BuildRequires (#1933652)
4 years ago
Fedora Release Engineering 80569d3372 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
4 years ago
Tom Stellard 046e3cffc0 Add BuildRequires: make
4 years ago
Troy Dawson bacde458ad remove package.cfg per new epel-playground policy
4 years ago
Fedora Release Engineering 1eacb76059 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
4 years ago
Fedora Release Engineering c7c123b50b - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
5 years ago
Dmitry Butskoy 3b6c803c95 Port to EPEL8
5 years ago
Gwyn Ciesla 075990cdcd "Adding package.cfg file"
5 years ago
Fedora Release Engineering dba2dd6329 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
6 years ago
Igor Gnatenko 9e151cd015
Remove obsolete scriptlets
6 years ago
Fedora Release Engineering facb418796 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
6 years ago
Igor Gnatenko ddb4cfbcd0 Remove obsolete Group tag
6 years ago
buc 86db1286f4 BR: gcc-c++
7 years ago
Fedora Release Engineering 8150abca3b - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
7 years ago
Igor Gnatenko b14d91a384 add BuildRequires: gcc
7 years ago
Fedora Release Engineering a715ceae31 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
7 years ago
Fedora Release Engineering c0e3084864 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
8 years ago
Fedora Release Engineering c0e4501f0a - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
8 years ago
Fedora Release Engineering de41c24f58 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
8 years ago
buc 5327124c96 Update to 0.2.35
9 years ago
Fedora Release Engineering 96bb480000 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
9 years ago
Dennis Gilmore 92cbd856da - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
10 years ago
Peter Robinson a68fa7b654 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
11 years ago
Dennis Gilmore 5dd725eb42 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
11 years ago
Dennis Gilmore 48dfeaa4a1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
12 years ago
Dennis Gilmore 70adb3eaad - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
12 years ago
Dmitry Butskoy f7a6f76965 new systemd-rpm macros
12 years ago
Dennis Gilmore dca39411ff - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
13 years ago
Dennis Gilmore 6fa91b0a63 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
13 years ago
Hans de Goede 93650a589c Fix build with libpng-1.5
13 years ago
Adam Jackson 168ca9f85b Rebuild for new libpng
13 years ago
Tom "spot" Callaway 922b209a51 add missing triggerun for systemd migration
13 years ago
Dmitry Butskoy 01b147cfff Drop chkconfig completely
14 years ago
Dmitry Butskoy 4e098167e5 fix typo
14 years ago
Dmitry Butskoy c7f8a5282a Migration to Systemd
14 years ago
Dennis Gilmore 38a40e1b05 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
14 years ago
Fedora Release Engineering 4aad2a915e dist-git conversion
15 years ago
Dmitry Butskoy 8d37d22454 *** empty log message ***
15 years ago
Dmitry Butskoy 4c8e258f33 *** empty log message ***
15 years ago
Dmitry Butskoy 8f00f54ddf *** empty log message ***
15 years ago
Bill Nottingham e00cf908b5 Fix typo that causes a failure to update the common directory. (releng
15 years ago
Jesse Keating a0175368dd - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
16 years ago
Dmitry Butskoy c62298d66f *** empty log message ***
16 years ago
Jesse Keating 3eeeea2a6b - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
16 years ago
Subhodip Biswas db7f745144 Package Updated to 0.2.33
16 years ago
Ville Skyttä b014d92519 - Fix Patch0:/%patch mismatch.
17 years ago
oddsocks 2d5c2cf9d4 *** empty log message ***
17 years ago
Jesse Keating 2c1584f4ba - Autorebuild for GCC 4.3
17 years ago
oddsocks 66dd05067e *** empty log message ***
17 years ago
oddsocks cefb4b0fc8 *** empty log message ***
17 years ago
oddsocks d8e1d67e2e *** empty log message ***
18 years ago
oddsocks f6a9ce595d *** empty log message ***
18 years ago
oddsocks 77415a7cf7 auto-import zvbi-0.2.24-1 on branch devel from zvbi-0.2.24-1.src.rpm
18 years ago
oddsocks 254314ee53 auto-import zvbi-0.2.22-2 on branch devel from zvbi-0.2.22-2.src.rpm
19 years ago

1
.gitignore vendored

@ -1 +1,2 @@
zvbi-0.2.33.tar.bz2
/zvbi-0.2.42.tar.gz

@ -1 +1 @@
95e53eb208c65ba6667fd4341455fa27 zvbi-0.2.35.tar.bz2
SHA512 (zvbi-0.2.42.tar.gz) = 65ebbab09d0180f62c2016fe3462786a6f89d0ee414f9983d1a89582bff0c17e58fcb8f45690add0314bd3b7d2de86f82e97fd49c93842e0a4f294b2b5508687

@ -0,0 +1,51 @@
From 429cf9337588d6e028bd1dc4633953b4eff09597 Mon Sep 17 00:00:00 2001
From: Ileana Dumitrescu <ileanadumitrescu95@gmail.com>
Date: Wed, 13 Mar 2024 17:42:18 +0200
Subject: [PATCH] configure.ac: Move sincos function check to AC_CHECK_FUNCS
---
configure.ac | 24 +-----------------------
1 file changed, 1 insertion(+), 23 deletions(-)
diff --git a/configure.ac b/configure.ac
index ba6f385..476fd69 100644
--- a/configure.ac
+++ b/configure.ac
@@ -89,7 +89,7 @@ AC_CHECK_FUNCS([alarm dup2 gethostbyaddr gethostbyname getopt_long gettimeofday
inet_ntoa localtime_r memmove memset mkdir modf munmap
nl_langinfo putenv select setenv setlocale socket strcasecmp
strchr strdup strerror strncasecmp strndup strrchr strstr
- strtol strtoul tzset strptime getaddrinfo])
+ strtol strtoul tzset strptime getaddrinfo sincos])
AM_CONDITIONAL(HAVE_STRPTIME, [test "x$HAVE_STRPTIME" = xyes])
@@ -112,28 +112,6 @@ dnl autoconf 2.71 required additional quotations and usages of "AC_LANG_SOURCE".
dnl "Noteworthy changes in autoconf version 2.66 through 2.68"
dnl <https://autotools.info/forwardporting/autoconf.html>
-dnl sincos() is a GNU extension (a macro, not a function).
-dnl If not present we use a replacement.
-AC_MSG_CHECKING([for sincos])
-AC_LINK_IFELSE([AC_LANG_SOURCE([
-#include <stdio.h>
-#include <math.h>
-int main (void) {
-double s, c;
-/* Make sure the compiler does not optimize sincos() away
- so the linker can confirm its availability. */
-scanf ("%f", &s);
-sincos (s, &s, &c);
-printf ("%f %f", s, c);
-return 0;
-}
-])],[
- AC_MSG_RESULT([yes])
- AC_DEFINE(HAVE_SINCOS, 1, [Define if the sincos() function is available])
-],[
- AC_MSG_RESULT([no])
-])
-
dnl log2() is a GNU extension (a macro, not a function).
dnl If not present we use a replacement.
AC_MSG_CHECKING([for log2])

@ -2,30 +2,31 @@
%define catalogue %{_sysconfdir}/X11/fontpath.d
Name: zvbi
Version: 0.2.35
Release: 15%{?dist}
Version: 0.2.42
Release: 1%{?dist}
Summary: Raw VBI, Teletext and Closed Caption decoding library
# See NEWS for a full breakdown of licensing.
License: LGPLv2+ and GPLv2+ and BSD
URL: http://zapping.sourceforge.net/ZVBI/index.html
Source0: http://downloads.sourceforge.net/zapping/%{name}-%{version}.tar.bz2
License: GPL-2.0-or-later AND LGPL-2.0-or-later AND LGPL-2.1-or-later AND BSD-2-Clause AND MIT
URL: https://github.com/zapping-vbi/zvbi
Source0: https://github.com/zapping-vbi/zvbi/archive/v%{version}/%{name}-%{version}.tar.gz
Patch0: %{name}-0.2.24-tvfonts.patch
Patch1: %{name}-0.2.25-openfix.patch
# slightly adapted from https://github.com/zapping-vbi/zvbi/commit/ae74ae513714f81b9b8abdb12e1b235d16fad74e.patch
Patch2: zvbi-0.2.42-fix_sincos_declaration.patch
BuildRequires: make
BuildRequires: gcc-c++
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: bdftopcf
BuildRequires: doxygen
BuildRequires: fontconfig
BuildRequires: gettext >= 0.16.1
BuildRequires: libpng-devel
BuildRequires: gcc-c++
BuildRequires: gettext-devel
BuildRequires: libICE-devel
BuildRequires: bdftopcf
BuildRequires: libpng-devel
BuildRequires: libtool
BuildRequires: make
BuildRequires: mkfontdir
BuildRequires: systemd-units
Requires(post): systemd-units
Requires(preun): systemd-units
Requires(postun): systemd-units
BuildRequires: tzdata
%description
@ -48,7 +49,7 @@ Development files for zvbi
%package fonts
Summary: Fonts from zvbi converted to X11
BuildArch: noarch
BuildArch: noarch
Obsoletes: xawtv-tv-fonts < 3.95
Provides: xawtv-tv-fonts >= 3.95
@ -58,11 +59,9 @@ Fonts from zvbi converted for use with X11
%prep
%setup -q
%patch0 -p1
%patch1 -p1
# Fix character encodings
iconv -f iso8859-1 README -t utf8 > README.conv && /bin/mv -f README.conv README
%patch -P 0 -p1
%patch -P 1 -p1
%patch -P 2 -p1
# systemd service file
cat >zvbid.service <<EOF
@ -81,6 +80,7 @@ EOF
%build
./autogen.sh
# Note: We don't do --enable-static=no because static libs are needed to build
# x11font during compile time to convert zvbi fonts into x11 fonts. x11font
# is thrown away and not installed as it's not useful for anything else
@ -89,7 +89,7 @@ EOF
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
make %{?_smp_mflags}
%make_build
# Generate fonts, fonts.alias and fonts.dir
pushd contrib
@ -107,7 +107,7 @@ popd
%install
mkdir -p %{buildroot}%{fontdir}
make install DESTDIR=%{buildroot}
%make_install
%find_lang %{name}
@ -122,6 +122,13 @@ touch %{buildroot}%{fontdir}/fonts.cache-1
mkdir -p %{buildroot}%{catalogue}
ln -sf %{fontdir} %{buildroot}%{catalogue}/%{name}
find %{buildroot}%{_libdir} -name '*.a' -delete
%check
cd test
make check
%post
%systemd_post zvbid.service
@ -136,14 +143,14 @@ ln -sf %{fontdir} %{buildroot}%{catalogue}/%{name}
%files -f %{name}.lang
%license COPYING.md
%doc AUTHORS BUGS ChangeLog NEWS README.md TODO
%{_bindir}/%{name}*
%{_sbindir}/zvbid
%{_unitdir}/zvbid.service
%{_libdir}/*.so.*
%{_mandir}/man1/*
%exclude %{_libdir}/*.a
%exclude %{_libdir}/*.la
%doc AUTHORS BUGS ChangeLog COPYING COPYING.LIB NEWS README TODO
%{_libdir}/libzvbi.so.0*
%{_libdir}/libzvbi-chains.so.0*
%{_mandir}/man1/zvbi*1*
%files devel
@ -162,6 +169,34 @@ ln -sf %{fontdir} %{buildroot}%{catalogue}/%{name}
%changelog
* Fri Sep 13 2024 Xavier Bachelot <xavier@bachelot.org> - 0.2.42-1
- Update to 0.2.42
* Sat Jul 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.35-23
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
* Sat Jan 27 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.35-22
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Sat Jul 22 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.35-21
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Wed May 17 2023 David Cantrell <dcantrell@redhat.com> - 0.2.35-20
- Update License tag to use SPDX identifiers
- Change deprecated %%patchN macros to %%patch -P N
* Sun Feb 05 2023 Kalev Lember <klember@redhat.com> - 0.2.35-19
- Avoid requiring systemd for systemd rpm scriptlets
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.35-18
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.35-17
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.35-16
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.35-15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
- avoid rpath in binaries

Loading…
Cancel
Save