Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package alevt for openSUSE:Factory checked in at 2021-08-24 10:54:51 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/alevt (Old) and /work/SRC/openSUSE:Factory/.alevt.new.1899 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "alevt" Tue Aug 24 10:54:51 2021 rev:23 rq:913857 version:1.8.1 Changes: -------- --- /work/SRC/openSUSE:Factory/alevt/alevt.changes 2021-04-19 21:06:45.248097266 +0200 +++ /work/SRC/openSUSE:Factory/.alevt.new.1899/alevt.changes 2021-08-24 10:55:49.672245054 +0200 @@ -1,0 +2,7 @@ +Mon Aug 23 10:49:31 UTC 2021 - Ferdinand Thiessen <r...@fthiessen.de> + +- Update to 1.8.1 + * Some SI fixes + * Use pkg-config to find libraries, obsoletes use-pkgconfig.patch + +------------------------------------------------------------------- Old: ---- alevt-v1.8.0.tar.bz2 use-pkgconfig.patch New: ---- alevt-v1.8.1.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ alevt.spec ++++++ --- /var/tmp/diff_new_pack.fgfOOz/_old 2021-08-24 10:55:50.060244540 +0200 +++ /var/tmp/diff_new_pack.fgfOOz/_new 2021-08-24 10:55:50.064244535 +0200 @@ -17,7 +17,7 @@ Name: alevt -Version: 1.8.0 +Version: 1.8.1 Release: 0 Summary: Teletext and Videotext Decoder for the BTTV Driver License: GPL-2.0-or-later @@ -25,8 +25,6 @@ URL: https://gitlab.com/alevt/alevt Source0: %{URL}/-/archive/v%{version}/alevt-v%{version}.tar.bz2 Source1: alevt.desktop -# PATCH-FEATURE-UPSTREAM use-pkgconfig.patch -- https://gitlab.com/alevt/alevt/-/issues/1 -Patch0: use-pkgconfig.patch BuildRequires: pkgconfig BuildRequires: update-desktop-files BuildRequires: pkgconfig(libpng) ++++++ alevt-v1.8.0.tar.bz2 -> alevt-v1.8.1.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/alevt-v1.8.0/.gitlab-ci.yml new/alevt-v1.8.1/.gitlab-ci.yml --- old/alevt-v1.8.0/.gitlab-ci.yml 2019-04-02 22:12:06.000000000 +0200 +++ new/alevt-v1.8.1/.gitlab-ci.yml 2021-08-20 21:35:44.000000000 +0200 @@ -3,7 +3,7 @@ build: stage: build before_script: - - apt update && apt -y install gcc make libzvbi-dev libpng-dev libx11-dev + - apt update && apt -y install gcc make libzvbi-dev libpng-dev libx11-dev pkg-config script: - make # artifacts: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/alevt-v1.8.0/Makefile new/alevt-v1.8.1/Makefile --- old/alevt-v1.8.0/Makefile 2019-04-02 22:12:06.000000000 +0200 +++ new/alevt-v1.8.1/Makefile 2021-08-20 21:35:44.000000000 +0200 @@ -1,4 +1,4 @@ -VER=1.8.0 +VER=1.8.1 OPT=-O2 -g -w #OPT=-O -g DEFS=-DWITH_PNG @@ -16,26 +16,30 @@ CFLAGS=$(OPT) -DVERSION=\"$(VER)\" $(DEFS) -I$(USR_X11R6)/include +PKGS="x11" + EXPOBJS=export.o exp-txt.o exp-html.o exp-gfx.o font.o OBJS=main.o ui.o xio.o fdset.o vbi.o cache.o help.o edline.o search.o edit.o misc.o hamm.o lang.o $(EXPOBJS) TOBJS=alevt-date.o vbi.o fdset.o misc.o hamm.o lang.o COBJS=alevt-cap.o vbi.o fdset.o misc.o hamm.o lang.o $(EXPOBJS) ifneq ($(findstring WITH_PNG,$(DEFS)),) -EXPLIBS=-lpng +PKGS+="libpng" endif ifneq ($(findstring USE_LIBZVBI,$(DEFS)),) -ZVBILIB=-lzvbi -lpthread -EXPLIBS+=$(ZVBILIB) +PKGS+="zvbi-0.2" endif +CFLAGS+=$(shell pkg-config --cflags $(PKGS)) +EXPLIBS=$(shell pkg-config --libs $(PKGS)) + all: alevt alevt-date alevt-cap alevt.1x alevt-date.1 alevt-cap.1 alevt: $(OBJS) - $(CC) $(OPT) $(OBJS) -o alevt -L$(USR_X11R6)/lib -L$(USR_X11R6)/lib64 -lX11 $(EXPLIBS) + $(CC) $(OPT) $(OBJS) -o alevt $(EXPLIBS) alevt-date: $(TOBJS) - $(CC) $(OPT) $(TOBJS) -o alevt-date $(ZVBILIB) + $(CC) $(OPT) $(TOBJS) -o alevt-date $(EXPLIBS) alevt-cap: $(COBJS) $(CC) $(OPT) $(COBJS) -o alevt-cap $(EXPLIBS) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/alevt-v1.8.0/README.md new/alevt-v1.8.1/README.md --- old/alevt-v1.8.0/README.md 2019-04-02 22:12:06.000000000 +0200 +++ new/alevt-v1.8.1/README.md 2021-08-20 21:35:44.000000000 +0200 @@ -9,6 +9,12 @@ [legacy]: https://www.linuxtv.org/downloads/legacy/ +# Use with Digital TV + +AleVT does not have any method for changing the channel. One option is +to use [VLC](https://www.videolan.org/vlc/) for this. VLC also has a +Teletext browser, so it is a more complete solution. + # Web site The new web site for AleVT is https://gitlab.com/alevt/alevt diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/alevt-v1.8.0/vbi.c new/alevt-v1.8.1/vbi.c --- old/alevt-v1.8.0/vbi.c 2019-04-02 22:12:06.000000000 +0200 +++ new/alevt-v1.8.1/vbi.c 2021-08-20 21:35:44.000000000 +0200 @@ -1064,10 +1064,15 @@ printf("Using command line specified teletext PID 0x%x\n", vbi->txtpid); goto txtpidfound; } + /* parse PAT to enumerate services and to find the PMT PIDs */ r = dvb_get_table(vbi->fd, 0, 0, tbl, sizeof(tbl)); if (r == -1) goto outerr; + if (r < 12) { + error("PAT too short\n"); + goto outerr; + } if (!(tbl[5] & 1)) { error("PAT not active (current_next_indicator == 0)"); goto outerr; @@ -1076,11 +1081,7 @@ error("PAT has multiple sections"); goto outerr; } - if (r < 13) { - error("PAT too short\n"); - goto outerr; - } - r -= 13; + r -= 12; // header+CRC for (i = 0; i < (unsigned)r; i += 4) { if (progcnt >= sizeof(progtbl)/sizeof(progtbl[0])) { error("Program table overflow"); @@ -1092,10 +1093,15 @@ progtbl[progcnt].pmtpid = ((tbl[10 + i] << 8) | tbl[11 + i]) & 0x1fff; progcnt++; } + /* find the SDT to get the station names */ r = dvb_get_table(vbi->fd, 0x11, 0x42, tbl, sizeof(tbl)); if (r == -1) goto outerr; + if (r < 15) { + error("SDT too short\n"); + goto outerr; + } if (!(tbl[5] & 1)) { error("SDT not active (current_next_indicator == 0)"); goto outerr; @@ -1104,10 +1110,7 @@ error("SDT has multiple sections"); goto outerr; } - if (r < 12) { - error("SDT too short\n"); - goto outerr; - } + r -= 4; // CRC i = 11; while (i < (unsigned)r - 1) { k = (tbl[i] << 8) | tbl[i+1]; /* service ID */ @@ -1137,6 +1140,7 @@ j += 2 + tbl[j + 1]; } } + /* parse PMT's to find Teletext Services */ for (l = 0; l < progcnt; l++) { progtbl[l].txtpid = 0x1fff; @@ -1148,6 +1152,7 @@ case 0x19: // H.264/AVC HD digital television service case 0x1c: // H.264/AVC frame compatible plano-stereoscopic HD digital television service case 0x1f: // HEVC digital television service + case 0x20: // HEVC digital television service with HDR and/or a frame rate of 100 Hz, 120 000/1 001 Hz, or 120 Hz break; default: continue; /* service is not digital TV */ @@ -1158,6 +1163,10 @@ r = dvb_get_table(vbi->fd, progtbl[l].pmtpid, 0x02, tbl, sizeof(tbl)); if (r == -1) goto outerr; + if (r < 16) { + error("PMT pid 0x%x too short\n", progtbl[l].pmtpid); + goto outerr; + } if (!(tbl[5] & 1)) { error("PMT pid 0x%x not active (current_next_indicator == 0)", progtbl[l].pmtpid); goto outerr; @@ -1166,12 +1175,9 @@ error("PMT pid 0x%x has multiple sections", progtbl[l].pmtpid); goto outerr; } - if (r < 13) { - error("PMT pid 0x%x too short\n", progtbl[l].pmtpid); - goto outerr; - } + r -= 4; // CRC i = 12 + (((tbl[10] << 8) | tbl[11]) & 0x0fff); /* skip program info section */ - while (i <= (unsigned)r-6) { + while (i < (unsigned)r - 1) { j = i + 5; i = j + (((tbl[i + 3] << 8) | tbl[i + 4]) & 0x0fff); if (tbl[j - 5] != 0x06) /* teletext streams have type 0x06 */