Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package root-tail for openSUSE:Factory checked in at 2026-09-17 16:59:18 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/root-tail (Old) and /work/SRC/openSUSE:Factory/.root-tail.new.383539 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "root-tail" Thu Sep 17 16:59:18 2026 rev:17 rq:1378467 version:1.3 Changes: -------- --- /work/SRC/openSUSE:Factory/root-tail/root-tail.changes 2024-02-23 16:48:02.641242843 +0100 +++ /work/SRC/openSUSE:Factory/.root-tail.new.383539/root-tail.changes 2026-09-17 16:59:19.847892687 +0200 @@ -1,0 +2,13 @@ +Wed Sep 16 20:32:21 UTC 2026 - Martin Pluskal <[email protected]> + +- Update to version 1.3: + * Add -windowed option that creates its own desktop window + * Stop warning about missing charsets on UTF-8 systems + * Provide a Makefile, so xmkmf/imake is no longer needed +- Rebase default-fontset.patch and root-tail-1.2-shade.diff +- Add makefile-link-order.patch: link libraries after objects + for --as-needed (Debian #930581) +- BuildRequire pkgconfig(xfixes) for the new -windowed mode +- Spec cleanup: SPDX license, drop Group/BuildRoot/%clean + +------------------------------------------------------------------- Old: ---- root-tail-1.2.tar.bz2 New: ---- makefile-link-order.patch root-tail-1.3.tar.gz ----------(New B)---------- New:- Rebase default-fontset.patch and root-tail-1.2-shade.diff - Add makefile-link-order.patch: link libraries after objects for --as-needed (Debian #930581) ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ root-tail.spec ++++++ --- /var/tmp/diff_new_pack.Hgrkv9/_old 2026-09-17 16:59:20.573923112 +0200 +++ /var/tmp/diff_new_pack.Hgrkv9/_new 2026-09-17 16:59:20.577923280 +0200 @@ -1,7 +1,7 @@ # # spec file for package root-tail # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2026 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,26 +12,31 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: root-tail -BuildRequires: imake +Version: 1.3 +Release: 0 +Summary: Print Text Directly to the X Window System Root Window +License: GPL-2.0-or-later +URL: https://software.schmorp.de/pkg/root-tail.html +Source0: https://dist.schmorp.de/root-tail/%{name}-%{version}.tar.gz +# PATCH-FIX-OPENSUSE default-fontset.patch -- usable default fontset instead of "*" +Patch0: default-fontset.patch +# PATCH-FEATURE-OPENSUSE root-tail-1.2-shade.diff -- configurable shade offsets (-offsets) +Patch1: root-tail-1.2-shade.diff +# PATCH-FIX-UPSTREAM makefile-link-order.patch -- libs after objects for --as-needed (Debian #930581) +Patch2: makefile-link-order.patch +BuildRequires: gcc +BuildRequires: make +BuildRequires: pkgconfig BuildRequires: pkgconfig(x11) BuildRequires: pkgconfig(xext) +BuildRequires: pkgconfig(xfixes) Provides: roottail Obsoletes: roottail -Version: 1.2 -Release: 0 -Summary: Print Text Directly to the X Window System Root Window -License: GPL-2.0+ -Group: System/X11/Utilities -Source: %name-%version.tar.bz2 -Patch0: default-fontset.patch -Patch1: %name-%version-shade.diff -BuildRoot: %{_tmppath}/%{name}-%{version}-build -Url: http://goof.com/pcg/marc/root-tail.html %description Tails a given file anywhere on your X Window System root window with a @@ -39,24 +44,19 @@ and more. %prep -%setup -%patch -P 0 -p1 -b .default-fontset -%patch -P 1 -p1 -b .shade +%autosetup -p1 %build -xmkmf -a -make CFLAGS="$CFLAGS $RPM_OPT_FLAGS" +%make_build CFLAGS="%{optflags} -Wall" \ + LDFLAGS="%{build_ldflags} $(pkg-config --libs x11 xext xfixes)" \ + root-tail %install -make "DESTDIR=$RPM_BUILD_ROOT" install -make "DESTDIR=$RPM_BUILD_ROOT" install.man +install -D -m 0755 root-tail %{buildroot}%{_bindir}/root-tail +install -D -m 0644 root-tail.man %{buildroot}%{_mandir}/man1/root-tail.1 %files -%defattr(-,root,root) %doc README Changes -%{_bindir}/* -%{_mandir}/*/* - -%clean -rm -rf $RPM_BUILD_ROOT +%{_bindir}/root-tail +%{_mandir}/man1/root-tail.1%{?ext_man} ++++++ default-fontset.patch ++++++ --- /var/tmp/diff_new_pack.Hgrkv9/_old 2026-09-17 16:59:20.608924579 +0200 +++ /var/tmp/diff_new_pack.Hgrkv9/_new 2026-09-17 16:59:20.614924830 +0200 @@ -1,8 +1,9 @@ -diff -ru root-tail-1.1/config.h root-tail-1.1-new/config.h ---- root-tail-1.1/config.h 2004-04-08 21:59:31.000000000 +0200 -+++ root-tail-1.1-new/config.h 2004-04-13 17:27:09.027325381 +0200 -@@ -5,7 +5,7 @@ - +Index: root-tail-1.3/config.h +=================================================================== +--- root-tail-1.3.orig/config.h ++++ root-tail-1.3/config.h +@@ -4,7 +4,7 @@ + #define DEF_CONT_COLOR "grey" //default font.. -font at runtime should work -#define USE_FONT "*" ++++++ makefile-link-order.patch ++++++ Index: root-tail-1.3/Makefile =================================================================== --- root-tail-1.3.orig/Makefile +++ root-tail-1.3/Makefile @@ -14,7 +14,7 @@ SOURCES = root-tail.c all: root-tail man root-tail: $(SOURCES) config.h - $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(SOURCES) + $(CC) $(CFLAGS) $(CPPFLAGS) -o $@ $(SOURCES) $(LDFLAGS) man: root-tail.1.gz ++++++ root-tail-1.2-shade.diff ++++++ --- /var/tmp/diff_new_pack.Hgrkv9/_old 2026-09-17 16:59:20.640925920 +0200 +++ /var/tmp/diff_new_pack.Hgrkv9/_new 2026-09-17 16:59:20.644926088 +0200 @@ -1,6 +1,8 @@ ---- root-tail-1.2/root-tail.c -+++ root-tail-1.2/root-tail.c -@@ -46,9 +46,6 @@ +Index: root-tail-1.3/root-tail.c +=================================================================== +--- root-tail-1.3.orig/root-tail.c ++++ root-tail-1.3/root-tail.c +@@ -48,9 +48,6 @@ #include <regex.h> #endif @@ -10,20 +12,20 @@ /* some italic fonts still go over the margin - this margin of error cleans up the mess */ #define MARGIN_OF_ERROR 2 -@@ -123,9 +120,9 @@ - struct timeval interval = { 2, 400000 }; +@@ -126,9 +123,9 @@ static int do_reopen; + static struct timeval interval = { 2, 400000 }; /* command line options */ --int opt_noinitial, opt_shade, opt_frame, opt_reverse, opt_nofilename, +-static int opt_noinitial, opt_shade, opt_frame, opt_reverse, opt_nofilename, - opt_outline, opt_noflicker, opt_whole, opt_update, opt_wordwrap, -- opt_justify, geom_mask, opt_minspace, reload; -+int opt_noinitial, opt_shade = 0, opt_shade_x = 2, opt_shade_y = 2, opt_frame, +- opt_justify, geom_mask, opt_minspace, opt_windowed, reload; ++static int opt_noinitial, opt_shade = 0, opt_shade_x = 2, opt_shade_y = 2, opt_frame, + opt_reverse, opt_nofilename, opt_outline, opt_noflicker, opt_whole, -+ opt_update, opt_wordwrap, opt_justify, geom_mask, opt_minspace, reload; - const char *command = NULL, ++ opt_update, opt_wordwrap, opt_justify, geom_mask, opt_minspace, opt_windowed, reload; + static const char *command = NULL, *fontname = USE_FONT, *dispname = NULL, *def_color = DEF_COLOR, *continuation = "|| ", *cont_color = DEF_CONT_COLOR; -@@ -529,8 +526,8 @@ +@@ -555,8 +552,8 @@ refresh (int miny, int maxy, int clear, { XSetForeground (disp, WinGC, black_color); draw_text (disp, root, WinGC, @@ -34,8 +36,8 @@ } XSetForeground (disp, WinGC, line->logfile->color); -@@ -1327,7 +1324,10 @@ - } +@@ -1354,7 +1351,10 @@ main (int argc, char *argv[]) + opt_windowed = 1; else if (!strcmp (arg, "-shade")) opt_shade = 1; - else if (!strcmp (arg, "-outline")) @@ -46,7 +48,7 @@ opt_outline = 1; else if (!strcmp (arg, "-minspace")) opt_minspace = 1; -@@ -1506,14 +1506,14 @@ +@@ -1533,14 +1533,14 @@ main (int argc, char *argv[]) else if (opt_shade && !opt_minspace) { /* adding a shadow increases the space used */ @@ -65,7 +67,7 @@ } else { -@@ -1612,6 +1612,7 @@ +@@ -1640,6 +1640,7 @@ display_help (char *myname) " defaults to \"|| \"\n" " -wordwrap wrap long lines at spaces to avoid breaking words\n" " -shade add shading to font\n"
