Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package fbcat for openSUSE:Factory checked in at 2021-11-01 18:35:54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/fbcat (Old) and /work/SRC/openSUSE:Factory/.fbcat.new.1890 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "fbcat" Mon Nov 1 18:35:54 2021 rev:2 rq:928553 version:0.5.2 Changes: -------- --- /work/SRC/openSUSE:Factory/fbcat/fbcat.changes 2021-04-01 14:18:20.452076151 +0200 +++ /work/SRC/openSUSE:Factory/.fbcat.new.1890/fbcat.changes 2021-11-01 18:36:14.257353806 +0100 @@ -1,0 +2,7 @@ +Mon Nov 1 12:42:20 UTC 2021 - Ferdinand Thiessen <rpm@fthiessen.de> + +- Update to version 0.5.2 + * fbgrab: don't print full path in the help message. + * Makefile: use bindir and mandir variables. + +------------------------------------------------------------------- Old: ---- fbcat-0.5.1.tar.gz fbcat-0.5.1.tar.gz.asc New: ---- fbcat-0.5.2.tar.gz fbcat-0.5.2.tar.gz.asc ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ fbcat.spec ++++++ --- /var/tmp/diff_new_pack.AUhHzB/_old 2021-11-01 18:36:14.729354076 +0100 +++ /var/tmp/diff_new_pack.AUhHzB/_new 2021-11-01 18:36:14.733354078 +0100 @@ -17,14 +17,14 @@ # Name: fbcat -Version: 0.5.1 +Version: 0.5.2 Release: 0 Summary: Framebuffer screenshot programs License: GPL-2.0 Group: Productivity/Graphics/Convertors URL: https://github.com/jwilk/fbcat -Source0: https://github.com/jwilk/fbcat/releases/download/%{version}/fbcat-%{version}.tar.gz#/fbcat-%{version}.tar.gz -Source1: https://github.com/jwilk/fbcat/releases/download/%{version}/fbcat-%{version}.tar.gz.asc#/fbcat-%{version}.tar.gz.asc +Source0: https://github.com/jwilk/fbcat/releases/download/%{version}/fbcat-%{version}.tar.gz +Source1: https://github.com/jwilk/fbcat/releases/download/%{version}/fbcat-%{version}.tar.gz.asc %description Contains fbcat and fbgrab for taking a screenshot using the framebuffer @@ -39,7 +39,7 @@ %autosetup %build -make CFLAGS='%{optflags}' %{?_smp_mflags} +%make_build CFLAGS='%{optflags}' %install %make_install PREFIX=%{_prefix} ++++++ fbcat-0.5.1.tar.gz -> fbcat-0.5.2.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/fbcat-0.5.1/Makefile new/fbcat-0.5.2/Makefile --- old/fbcat-0.5.1/Makefile 2017-12-16 17:47:26.000000000 +0100 +++ new/fbcat-0.5.2/Makefile 2021-08-30 16:48:10.000000000 +0200 @@ -1,4 +1,4 @@ -# Copyright �� 2009-2017 Jakub Wilk +# Copyright �� 2009-2021 Jakub Wilk # # This package is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -11,6 +11,9 @@ PREFIX = /usr/local DESTDIR = +bindir = $(PREFIX)/bin +mandir = $(PREFIX)/share/man + .PHONY: all all: fbcat @@ -19,15 +22,15 @@ .PHONY: install install: fbcat - install -d $(DESTDIR)$(PREFIX)/bin - install -m755 fbcat $(DESTDIR)$(PREFIX)/bin/fbcat - install -m755 fbgrab $(DESTDIR)$(PREFIX)/bin/fbgrab -ifeq "$(wildcard .git doc/fbcat.1 doc/fbgrab.1)" ".git" + install -d $(DESTDIR)$(bindir) + install -m755 fbcat $(DESTDIR)$(bindir)/ + install -m755 fbgrab $(DESTDIR)$(bindir)/ +ifeq "$(wildcard doc/fbcat.1 doc/fbgrab.1)" "" # run "$(MAKE) -C doc" to build the manpages else - install -d $(DESTDIR)$(PREFIX)/share/man/man1 - install -m644 doc/fbcat.1 $(DESTDIR)$(PREFIX)/share/man/man1/fbcat.1 - install -m644 doc/fbgrab.1 $(DESTDIR)$(PREFIX)/share/man/man1/fbgrab.1 + install -d $(DESTDIR)$(mandir)/man1 + install -m644 doc/fbcat.1 $(DESTDIR)$(mandir)/man1/fbcat.1 + install -m644 doc/fbgrab.1 $(DESTDIR)$(mandir)/man1/fbgrab.1 endif .PHONY: clean diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/fbcat-0.5.1/doc/Makefile new/fbcat-0.5.2/doc/Makefile --- old/fbcat-0.5.1/doc/Makefile 2017-12-16 17:47:26.000000000 +0100 +++ new/fbcat-0.5.2/doc/Makefile 2021-08-30 16:48:10.000000000 +0200 @@ -1,3 +1,11 @@ +# Copyright �� 2009-2020 Jakub Wilk +# +# This package is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; version 2 dated June, 1991. + +rst2xml = $(notdir $(shell command -v rst2xml || echo rst2xml.py)) + xsl = http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl xsltproc = xsltproc --nonet \ --param man.charmap.use.subset 0 \ @@ -12,8 +20,19 @@ %.1: %.xml $(xsltproc) $(xsl) $(<) -.PHONY: validate -validate: $(xml_files) +.PHONY: check +check: check-changelog check-rst check-xml + +.PHONY: check-changelog +check-changelog: changelog + dpkg-parsechangelog -l$(<) --all 2>&1 >/dev/null | { ! grep .; } + +.PHONY: check-rst +check-rst: README tested.txt + ls $(^) | xargs -t -I{} $(rst2xml) --input-encoding=UTF-8 --strict {} > /dev/null + +.PHONY: check-xml +check-xml: $(xml_files) xmllint --nonet --noout --valid $(^) .PHONY: clean diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/fbcat-0.5.1/doc/README new/fbcat-0.5.2/doc/README --- old/fbcat-0.5.1/doc/README 1970-01-01 01:00:00.000000000 +0100 +++ new/fbcat-0.5.2/doc/README 2021-08-30 16:48:10.000000000 +0200 @@ -0,0 +1,93 @@ +Overview +======== + +**fbcat** takes a screenshot using the Linux framebuffer device. +Two executables are provided: + +* Low-level ``fbcat`` that operates on the current virtual terminal and writes + the screenshot to stdout in the PPM_ format: + + .. code:: console + + $ fbcat > screenshot.ppm + $ file screenshot.ppm + screenshot.ppm: Netpbm image data, size = 1280 x 1024, rawbits, pixmap + +.. _PPM: http://netpbm.sourceforge.net/doc/ppm.html + +* High-level ``fbgrab`` that supports the PNG format and virtual terminal + switching: + + .. code:: console + + $ fbgrab '-?' + Usage: fbgrab [option...] <filename.png|-> + + Options: + -c <N> grab from /dev/ttyN + -C <N> grab from /dev/ttyN, for slower devices + -d <dev> use framebuffer device <dev> + -i turn on PNG interlacing + -s <N> sleep <N> seconds before making screenshot + -? display this help and exit + + If the specified destination is "-", the PNG output is piped to stdout. + +See the manual pages for details. + +The following visuals are supported: + +- ``TRUECOLOR`` +- ``DIRECTCOLOR`` +- ``PSEUDOCOLOR`` +- ``STATIC_PSEUDOCOLOR`` +- ``MONO01`` +- ``MONO10`` + +Prerequisites +============= + +The following software is needed to build ``fbcat``: + +- C compiler +- Linux kernel userspace headers +- GNU make + +Additionally, the following software is needed to rebuild the manual pages from +source: + +- ``xsltproc`` (part of libxslt_) +- `DocBook XSL stylesheets`_ + +``fbgrab`` requires the following software: + +- ``chvt`` (part of KBD_) +- ``pnmtopng`` (part of Netpbm_) or GraphicsMagick_ or ImageMagick_ + +.. _libxslt: + http://xmlsoft.org/xslt/ +.. _DocBook XSL stylesheets: + https://github.com/docbook/xslt10-stylesheets +.. _KBD: + http://kbd-project.org/ +.. _Netpbm: + http://netpbm.sourceforge.net/ +.. _GraphicsMagick: + http://www.graphicsmagick.org/ +.. _ImageMagick: + https://imagemagick.org/ + +Installation +============ + +To install system-wide:: + + $ make + $ sudo make install + +The default installation prefix is ``/usr/local``. +You can specify different one using the ``PREFIX`` variable, e.g.:: + + $ make install PREFIX="$HOME/.local" + +.. vim:ft=rst ts=3 sts=3 sw=3 et diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/fbcat-0.5.1/doc/changelog new/fbcat-0.5.2/doc/changelog --- old/fbcat-0.5.1/doc/changelog 2017-12-16 17:47:26.000000000 +0100 +++ new/fbcat-0.5.2/doc/changelog 2021-08-30 16:48:10.000000000 +0200 @@ -1,3 +1,12 @@ +fbcat (0.5.2) unstable; urgency=low + + * Add README. + https://github.com/jwilk/fbcat/issues/16 + * fbgrab: don't print full path in the help message. + * Makefile: use bindir and mandir variables. + + -- Jakub Wilk <jwilk@jwilk.net> Mon, 30 Aug 2021 16:48:01 +0200 + fbcat (0.5.1) unstable; urgency=low * Fix fbgrab's option parser, so that it handles ���-?��� correctly. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/fbcat-0.5.1/doc/fbcat.1 new/fbcat-0.5.2/doc/fbcat.1 --- old/fbcat-0.5.1/doc/fbcat.1 2017-12-16 17:47:30.000000000 +0100 +++ new/fbcat-0.5.2/doc/fbcat.1 2021-08-30 16:48:23.000000000 +0200 @@ -1,13 +1,13 @@ '\" t .\" Title: fbcat -.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] -.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/> -.\" Date: 2015-06-27 +.\" Author: [FIXME: author] [see http://www.docbook.org/tdg5/en/html/author] +.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/> +.\" Date: 2018-08-09 .\" Manual: fbcat manual -.\" Source: fbcat 0.5.1 +.\" Source: fbcat 0.5.2 .\" Language: English .\" -.TH "FBCAT" "1" "2015\-06\-27" "fbcat 0\&.5\&.1" "fbcat manual" +.TH "FBCAT" "1" "2018\-08\-09" "fbcat 0\&.5\&.2" "fbcat manual" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/fbcat-0.5.1/doc/fbcat.xml new/fbcat-0.5.2/doc/fbcat.xml --- old/fbcat-0.5.1/doc/fbcat.xml 2017-12-16 17:47:26.000000000 +0100 +++ new/fbcat-0.5.2/doc/fbcat.xml 2021-08-30 16:48:10.000000000 +0200 @@ -2,15 +2,15 @@ <!DOCTYPE refentry PUBLIC '-//OASIS//DTD DocBook XML V4.5//EN' 'http://www.docbook.org/xml/4.5/docbookx.dtd' [ <!ENTITY p 'fbcat'> - <!ENTITY version '0.5.1'> + <!ENTITY version '0.5.2'> ]> <refentry> <refentryinfo> <title>&p; manual</title> - <productname>&p;</productname> - <date>2015-06-27</date> + <productname>fbcat</productname> + <date>2018-08-09</date> <!-- copyright information for THIS document: --> <copyright> <year>2009</year> @@ -19,6 +19,7 @@ <copyright> <year>2009</year> <year>2013</year> + <year>2018</year> <holder>Jakub Wilk</holder> </copyright> </refentryinfo> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/fbcat-0.5.1/doc/fbgrab.1 new/fbcat-0.5.2/doc/fbgrab.1 --- old/fbcat-0.5.1/doc/fbgrab.1 2017-12-16 17:47:31.000000000 +0100 +++ new/fbcat-0.5.2/doc/fbgrab.1 2021-08-30 16:48:24.000000000 +0200 @@ -1,13 +1,13 @@ '\" t .\" Title: fbgrab -.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] -.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/> -.\" Date: 2017-08-16 +.\" Author: [FIXME: author] [see http://www.docbook.org/tdg5/en/html/author] +.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/> +.\" Date: 2018-08-09 .\" Manual: fbgrab manual -.\" Source: fbgrab 0.5.1 +.\" Source: fbcat 0.5.2 .\" Language: English .\" -.TH "FBGRAB" "1" "2017\-08\-16" "fbgrab 0\&.5\&.1" "fbgrab manual" +.TH "FBGRAB" "1" "2018\-08\-09" "fbcat 0\&.5\&.2" "fbgrab manual" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/fbcat-0.5.1/doc/fbgrab.xml new/fbcat-0.5.2/doc/fbgrab.xml --- old/fbcat-0.5.1/doc/fbgrab.xml 2017-12-16 17:47:26.000000000 +0100 +++ new/fbcat-0.5.2/doc/fbgrab.xml 2021-08-30 16:48:10.000000000 +0200 @@ -2,15 +2,15 @@ <!DOCTYPE refentry PUBLIC '-//OASIS//DTD DocBook XML V4.5//EN' 'http://www.docbook.org/xml/4.5/docbookx.dtd' [ <!ENTITY p 'fbgrab'> - <!ENTITY version '0.5.1'> + <!ENTITY version '0.5.2'> ]> <refentry> <refentryinfo> <title>&p; manual</title> - <productname>&p;</productname> - <date>2017-08-16</date> + <productname>fbcat</productname> + <date>2018-08-09</date> <!-- copyright information for THIS document: --> <copyright> <year>2009</year> @@ -21,6 +21,7 @@ <year>2011</year> <year>2013</year> <year>2017</year> + <year>2018</year> <holder>Jakub Wilk</holder> </copyright> <copyright> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/fbcat-0.5.1/doc/tested.txt new/fbcat-0.5.2/doc/tested.txt --- old/fbcat-0.5.1/doc/tested.txt 2017-12-16 17:47:26.000000000 +0100 +++ new/fbcat-0.5.2/doc/tested.txt 2021-08-30 16:48:10.000000000 +0200 @@ -37,6 +37,13 @@ ------------------------ +:Name: nouveaudrmfb +:Type: PACKED PIXELS +:Visual: PSEUDOCOLOR +:RGBA: 8/0,8/0,8/0,0/0 + +------------------------ + :Name: nouveaufb :Type: PACKED PIXELS :Visual: TRUECOLOR @@ -90,3 +97,5 @@ :Type: PACKED PIXELS :Visual: TRUECOLOR :RGBA: 6/0,6/0,6/0,0/0 + +.. vim:ft=rst diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/fbcat-0.5.1/fbcat.c new/fbcat-0.5.2/fbcat.c --- old/fbcat-0.5.1/fbcat.c 2017-12-16 17:47:26.000000000 +0100 +++ new/fbcat-0.5.2/fbcat.c 2021-08-30 16:48:10.000000000 +0200 @@ -1,5 +1,5 @@ /* Copyright �� 2009 Piotr Lewandowski - * Copyright �� 2009-2016 Jakub Wilk + * Copyright �� 2009-2018 Jakub Wilk * Copyright �� 2013 David Lechner * * This package is free software; you can redistribute it and/or modify @@ -246,11 +246,11 @@ /* initialize dummy colormap */ unsigned int i; for (i = 0; i < (1U << var_info.red.length); i++) - colormap.red[i] = i * 0xffff / ((1 << var_info.red.length) - 1); + colormap.red[i] = i * 0xFFFF / ((1 << var_info.red.length) - 1); for (i = 0; i < (1U << var_info.green.length); i++) - colormap.green[i] = i * 0xffff / ((1 << var_info.green.length) - 1); + colormap.green[i] = i * 0xFFFF / ((1 << var_info.green.length) - 1); for (i = 0; i < (1U << var_info.blue.length); i++) - colormap.blue[i] = i * 0xffff / ((1 << var_info.blue.length) - 1); + colormap.blue[i] = i * 0xFFFF / ((1 << var_info.blue.length) - 1); break; } case FB_VISUAL_DIRECTCOLOR: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/fbcat-0.5.1/fbgrab new/fbcat-0.5.2/fbgrab --- old/fbcat-0.5.1/fbgrab 2017-12-16 17:47:26.000000000 +0100 +++ new/fbcat-0.5.2/fbgrab 2021-08-30 16:48:10.000000000 +0200 @@ -1,6 +1,6 @@ #!/bin/sh -# Copyright �� 2009-2017 Jakub Wilk +# Copyright �� 2009-2020 Jakub Wilk # Copyright �� 2017 Kaelin Laundry # # This package is free software; you can redistribute it and/or modify @@ -12,7 +12,7 @@ usage() { cat <<EOF -Usage: $0 [option...] <filename.png|-> +Usage: ${0##*/} [option...] <filename.png|-> Options: -c <N> grab from /dev/ttyN @@ -61,7 +61,7 @@ esac done -shift $(($OPTIND - 1)) +shift $((OPTIND - 1)) [ $# -ne 1 ] && usage diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/fbcat-0.5.1/private/update-version new/fbcat-0.5.2/private/update-version --- old/fbcat-0.5.1/private/update-version 2017-12-16 17:47:26.000000000 +0100 +++ new/fbcat-0.5.2/private/update-version 2021-08-30 16:48:10.000000000 +0200 @@ -1,6 +1,6 @@ #!/bin/sh -version=${1:?"no version number provided"} +export version=${1:?"no version number provided"} set -e set -x dch -m -v "$version" -u low -c doc/changelog -sed -i -E -e "s/<(!ENTITY version) '[0-9.]+'>/<\1 '$version'>/" doc/*.xml +perl -pi -e 's/<!ENTITY version \047\K[0-9.]+/$ENV{version}/' doc/*.xml
participants (1)
-
Source-Sync