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-04-19 21:06:19 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/alevt (Old) and /work/SRC/openSUSE:Factory/.alevt.new.12324 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "alevt" Mon Apr 19 21:06:19 2021 rev:22 rq:886640 version:1.8.0 Changes: -------- --- /work/SRC/openSUSE:Factory/alevt/alevt.changes 2019-11-06 13:51:06.635831513 +0100 +++ /work/SRC/openSUSE:Factory/.alevt.new.12324/alevt.changes 2021-04-19 21:06:45.248097266 +0200 @@ -1,0 +2,27 @@ +Mon Apr 19 10:16:55 UTC 2021 - Martin Pluskal <mplus...@suse.com> + + - Fix previous changelog entry + +------------------------------------------------------------------- +Sat Apr 17 16:51:37 UTC 2021 - Ferdinand Thiessen <r...@fthiessen.de> + +- Update to 1.8.0 + * DVB-T support + * Increase program table size from 16 to 128 + * Fix crash if no DVB service has Teletext + * Detect HEVC services for all regions (this fixes HEVC in Germany) + * Fix 100% cpu use when there is no vbi device + * Add zvbi support + * Add support for iso8859-7 (greek) + * Add support for KOI8-R encoding + * Support libpng-1.6 +- Update to 1.6.3 + * compilation fix for libpng-1.5, this obsoletes alevt-libpng15.patch +- Dropped obsoleted alevt-1.6.0-dvb-demux.patch, + alevt-happy-abuild.diff and alevt-overflow2.diff + alevt-libpng15.patch +- Modernized and fixed SPEC file + * Added working upstream URL +- Add use-pkgconfig.patch + +------------------------------------------------------------------- Old: ---- alevt-1.6.0-dvb-demux.patch alevt-1.6.2.tar.bz2 alevt-happy-abuild.diff alevt-libpng15.patch alevt-overflow2.diff alevt.png New: ---- alevt-v1.8.0.tar.bz2 use-pkgconfig.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ alevt.spec ++++++ --- /var/tmp/diff_new_pack.CmHxOX/_old 2021-04-19 21:06:45.792098081 +0200 +++ /var/tmp/diff_new_pack.CmHxOX/_new 2021-04-19 21:06:45.792098081 +0200 @@ -1,7 +1,7 @@ # # spec file for package alevt # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,31 +17,22 @@ Name: alevt -%{expand:%%global _prefix %(pkg-config --variable prefix x11 || echo /usr/X11R6)} -%if "%_prefix" == "/usr/X11R6" -%define _man_dir man -%else -%define _man_dir share/man -%endif -BuildRequires: libpng-devel -BuildRequires: pkgconfig -BuildRequires: update-desktop-files -BuildRequires: pkgconfig(x11) -Url: http://www.goron.de/~froese/ +Version: 1.8.0 +Release: 0 Summary: Teletext and Videotext Decoder for the BTTV Driver License: GPL-2.0-or-later -Version: 1.6.2 -Release: 0 -Source0: alevt-%version.tar.bz2 +Group: Hardware/TV +URL: https://gitlab.com/alevt/alevt +Source0: %{URL}/-/archive/v%{version}/alevt-v%{version}.tar.bz2 Source1: alevt.desktop -Source2: alevt.png -Patch2: alevt-1.6.0-dvb-demux.patch -Patch4: alevt-overflow2.diff -Patch5: alevt-happy-abuild.diff -# PATCH-FIX-UPSTREAM pngtoico-libpng15.patch -- pgaj...@suse.com; build with libpng15; sent today to fro...@gmx.de -# build against libpng14 should not be affected, otherwise please let me know -Patch6: alevt-libpng15.patch -BuildRoot: %{_tmppath}/%{name}-%{version}-build +# 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) +BuildRequires: pkgconfig(x11) +BuildRequires: pkgconfig(zlib) +BuildRequires: pkgconfig(zvbi-0.2) %description AleVT is a teletext and videotext decoder and browser for the BTTV @@ -50,34 +41,25 @@ There is also a program to get the time from teletext. %prep -%setup -q -%patch2 -p1 -%patch4 -p1 -%patch5 -p1 -%patch6 -p1 +%autosetup -p1 -n alevt-v%{version} +# Enable ZVBI +sed -i "s|#DEFS+=-DUSE_LIBZVBI|DEFS+=-DUSE_LIBZVBI|" Makefile %build -make OPT="$RPM_OPT_FLAGS" %{?_smp_mflags} +%make_build OPT="%{optflags}" %install -echo "Using _prefix=%{_prefix} _man_dir=%{_man_dir}" -rm -rf $RPM_BUILD_ROOT -mkdir -p $RPM_BUILD_ROOT%{_prefix}/bin $RPM_BUILD_ROOT%{_prefix}/%{_man_dir}/man1 -make rpm-install USR_X11R6=%{_prefix} MAN=%{_man_dir} -%suse_update_desktop_file -i alevt AudioVideo TV +%make_install PREFIX="%{_prefix}" +%suse_update_desktop_file -i alevt %files -%defattr(-,root,root) -%doc CHANGELOG COPYRIGHT README -%dir %{_prefix}/include/X11/pixmaps -/usr/share/applications/*.desktop -/usr/share/pixmaps/alevt.png -%{_prefix}/bin/alevt -%{_prefix}/bin/alevt-cap -%{_prefix}/bin/alevt-date -%{_prefix}/include/X11/pixmaps/mini-alevt.xpm -%doc %{_prefix}/%{_man_dir}/man1/alevt-cap.1.gz -%doc %{_prefix}/%{_man_dir}/man1/alevt-date.1.gz -%doc %{_prefix}/%{_man_dir}/man1/alevt.1x.gz +%license COPYRIGHT +%doc CHANGELOG README.md +%{_bindir}/alevt +%{_bindir}/alevt-cap +%{_bindir}/alevt-date +%{_datadir}/pixmaps/mini-alevt.xpm +%{_datadir}/applications/*.desktop +%{_mandir}/man1/alevt*.1{,x}* %changelog ++++++ alevt.desktop ++++++ --- /var/tmp/diff_new_pack.CmHxOX/_old 2021-04-19 21:06:45.844098160 +0200 +++ /var/tmp/diff_new_pack.CmHxOX/_new 2021-04-19 21:06:45.844098160 +0200 @@ -2,6 +2,7 @@ Encoding=UTF-8 GenericName=VideoText Viewer Exec=alevt -Icon=alevt +Icon=mini-alevt Name=AleVT Type=Application +Categories=AudioVideo;TV; ++++++ use-pkgconfig.patch ++++++ diff -Nur alevt-v1.8.0/Makefile new/Makefile --- alevt-v1.8.0/Makefile 2019-04-02 22:12:06.000000000 +0200 +++ new/Makefile 2021-04-17 19:40:45.296304899 +0200 @@ -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)