2 Commits

Author SHA256 Message Date
61c39c3423 Accepting request 1286850 from multimedia:apps
OBS-URL: https://build.opensuse.org/request/show/1286850
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/alevt?expand=0&rev=25
2025-06-20 14:49:27 +00:00
7c73f752a5 - version update to 1.8.2
* Avoid implicit function declarations in lang.c
  * remove output of serviceid et. al from alevt-date and alevt-cap
  * Fix install command in make target 'rpm-install'
  * Add simple desktop entry file
  * Fix reading of strings from DVB tables according to DVB-SI Annex A
  * Merge branch 'dvb-si-fixes' into 'master'
  * Let alevt-date display the time in the same fashion as date from coreutils
  * Adjust the command to set the RTC on Linux, it is hwclock from util-linux
  * Add a note on dvbv5-zap from DVBv5 Tools
  * Fix first line of icon48x48.xpm, it should not be a black line
- added patches
  https://gitlab.com/alevt/alevt/-/issues/2
  + alevt-gcc15.patch

OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/alevt?expand=0&rev=23
2025-06-19 07:48:59 +00:00
5 changed files with 82 additions and 6 deletions

55
alevt-gcc15.patch Normal file
View File

@@ -0,0 +1,55 @@
Binary files alevt-v1.8.2.orig/alevt-date.o and alevt-v1.8.2/alevt-date.o differ
diff -upr alevt-v1.8.2.orig/cache.c alevt-v1.8.2/cache.c
--- alevt-v1.8.2.orig/cache.c 2025-06-18 16:45:53.829058452 +0000
+++ alevt-v1.8.2/cache.c 2025-06-18 16:59:47.513643681 +0000
@@ -196,7 +196,7 @@ cache_foreach_pg(struct cache *ca, int p
return 0;
if (s_vtp == 0)
s_vtp = vtp;
- if (func(data, vtp))
+ if (((int (*)(int *, struct vt_page *))func)(data, vtp))
return vtp;
}
}
Binary files alevt-v1.8.2.orig/edit.o and alevt-v1.8.2/edit.o differ
diff -upr alevt-v1.8.2.orig/edline.h alevt-v1.8.2/edline.h
--- alevt-v1.8.2.orig/edline.h 2025-06-18 16:45:53.830974303 +0000
+++ alevt-v1.8.2/edline.h 2025-06-18 16:52:43.184143884 +0000
@@ -10,9 +10,9 @@ struct edline
{
struct xio_win *xw;
u8 *prompt;
- void (*exit_func)();
+ void (*exit_func)(void *, u8 *);
void *exit_data;
- void (*old_handler)();
+ void (*old_handler)(void *, struct vt_event *);
void *old_data;
u8 buf[EDLEN];
Binary files alevt-v1.8.2.orig/main.o and alevt-v1.8.2/main.o differ
diff -upr alevt-v1.8.2.orig/search.c alevt-v1.8.2/search.c
--- alevt-v1.8.2.orig/search.c 2025-06-18 16:45:53.831351723 +0000
+++ alevt-v1.8.2/search.c 2025-06-18 17:00:19.591515833 +0000
@@ -118,7 +118,7 @@ search_next(struct search *s, int *pgno,
if (s->cache)
vtp = s->cache->op->foreach_pg(s->cache, *pgno, *subno, dir,
- search_pg, s);
+ (int (*)(void))search_pg, s);
if (vtp == 0)
return -1;
diff -upr alevt-v1.8.2.orig/ui.c alevt-v1.8.2/ui.c
--- alevt-v1.8.2.orig/ui.c 2025-06-18 16:45:53.831351723 +0000
+++ alevt-v1.8.2/ui.c 2025-06-18 16:55:13.779952850 +0000
@@ -156,7 +156,7 @@ do_next_pgno(struct vtwin *w, int dir, i
arg[0] = pgno;
arg[1] = bcd_mode;
if (vtp = w->vbi->cache->op->foreach_pg(w->vbi->cache,
- pgno, subno, dir, subs ? _next_subno:_next_pgno, &arg))
+ pgno, subno, dir, (int (*)(void)) (subs ? _next_subno:_next_pgno), &arg))
{
new_or_query(w, vtp->pgno, subs ? vtp->subno : ANY_SUB, new_win);
return;
Binary files alevt-v1.8.2.orig/vbi.o and alevt-v1.8.2/vbi.o differ

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7ea02eff2a0b3937e8466165b5369dc265483a063f1001388bd52dbb8ac5123c
size 135822

3
alevt-v1.8.2.tar.bz2 Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:37a870ea377d721c50c29a8602db6b3bc4029956cc5674441554485d605a4a0c
size 137373

View File

@@ -1,3 +1,21 @@
-------------------------------------------------------------------
Wed Jun 18 17:22:25 UTC 2025 - pgajdos@suse.com
- version update to 1.8.2
* Avoid implicit function declarations in lang.c
* remove output of serviceid et. al from alevt-date and alevt-cap
* Fix install command in make target 'rpm-install'
* Add simple desktop entry file
* Fix reading of strings from DVB tables according to DVB-SI Annex A
* Merge branch 'dvb-si-fixes' into 'master'
* Let alevt-date display the time in the same fashion as date from coreutils
* Adjust the command to set the RTC on Linux, it is hwclock from util-linux
* Add a note on dvbv5-zap from DVBv5 Tools
* Fix first line of icon48x48.xpm, it should not be a black line
- added patches
https://gitlab.com/alevt/alevt/-/issues/2
+ alevt-gcc15.patch
-------------------------------------------------------------------
Tue May 7 11:12:28 UTC 2024 - Marcus Meissner <meissner@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package alevt
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
Name: alevt
Version: 1.8.1
Version: 1.8.2
Release: 0
Summary: Teletext and Videotext Decoder for the BTTV Driver
License: GPL-2.0-or-later
@@ -26,6 +26,8 @@ URL: https://gitlab.com/alevt/alevt
Source0: %{URL}/-/archive/v%{version}/alevt-v%{version}.tar.bz2
Source1: alevt.desktop
Patch0: alevt-fix-implicit.patch
# https://gitlab.com/alevt/alevt/-/issues/2
Patch1: alevt-gcc15.patch
BuildRequires: pkgconfig
BuildRequires: update-desktop-files
BuildRequires: pkgconfig(libpng)
@@ -59,6 +61,7 @@ sed -i "s|#DEFS+=-DUSE_LIBZVBI|DEFS+=-DUSE_LIBZVBI|" Makefile
%{_bindir}/alevt-date
%{_datadir}/pixmaps/mini-alevt.xpm
%{_datadir}/applications/*.desktop
%{_mandir}/man1/alevt*.1{,x}*
%{_mandir}/man1/alevt*
%{_datadir}/pixmaps/*.xpm
%changelog