Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package scdoc for openSUSE:Factory checked 
in at 2024-02-18 20:24:42
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/scdoc (Old)
 and      /work/SRC/openSUSE:Factory/.scdoc.new.1815 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "scdoc"

Sun Feb 18 20:24:42 2024 rev:17 rq:1147320 version:1.11.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/scdoc/scdoc.changes      2021-11-18 
10:34:02.811919310 +0100
+++ /work/SRC/openSUSE:Factory/.scdoc.new.1815/scdoc.changes    2024-02-18 
20:25:18.106626622 +0100
@@ -1,0 +2,15 @@
+Sat Feb 17 11:54:13 UTC 2024 - Michael Vetter <mvet...@suse.com>
+
+- Update to 1.11.3:
+  * Fix clang 15 -Wstrict-prototypes warnings
+  * Remove useless re-declarations of standard functions
+    get rid of some unused includes
+  * Use .PP for paragraph breaks
+  * scdoc(1), scdoc(5): follow conventions more closely
+  * Fix formatting of escaped backticks
+  * scdoc.5: fix capitalization of subsection headers
+  * scdoc.5: fix formatting in the preamble
+  * man: add section about SOURCE_DATE_EPOCH
+  * Emit '\e' instead of '\\'
+
+-------------------------------------------------------------------

Old:
----
  1.11.2.tar.gz

New:
----
  1.11.3.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ scdoc.spec ++++++
--- /var/tmp/diff_new_pack.cW68B3/_old  2024-02-18 20:25:18.642645926 +0100
+++ /var/tmp/diff_new_pack.cW68B3/_new  2024-02-18 20:25:18.642645926 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package scdoc
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2024 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:           scdoc
-Version:        1.11.2
+Version:        1.11.3
 Release:        0
 Summary:        A man page generator written in C99
 License:        MIT

++++++ 1.11.2.tar.gz -> 1.11.3.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/scdoc-1.11.2/Makefile new/scdoc-1.11.3/Makefile
--- old/scdoc-1.11.2/Makefile   2021-11-13 09:04:45.000000000 +0100
+++ new/scdoc-1.11.3/Makefile   2024-02-17 10:51:31.000000000 +0100
@@ -1,4 +1,4 @@
-VERSION=1.11.2
+VERSION=1.11.3
 CFLAGS?=-g
 MAINFLAGS:=-DVERSION='"$(VERSION)"' -Wall -Wextra -Werror -Wno-unused-parameter
 LDFLAGS+=-static
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/scdoc-1.11.2/README.md new/scdoc-1.11.3/README.md
--- old/scdoc-1.11.2/README.md  2021-11-13 09:04:45.000000000 +0100
+++ new/scdoc-1.11.3/README.md  2024-02-17 10:51:31.000000000 +0100
@@ -4,6 +4,11 @@
 
 ## Installation
 
+scdoc is likely available from your local system distribution -- your package
+manager is the preferred means of installation.
+
+To install from source:
+
     make
     sudo make install
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/scdoc-1.11.2/include/str.h 
new/scdoc-1.11.3/include/str.h
--- old/scdoc-1.11.2/include/str.h      2021-11-13 09:04:45.000000000 +0100
+++ new/scdoc-1.11.3/include/str.h      2024-02-17 10:51:31.000000000 +0100
@@ -7,7 +7,7 @@
        size_t len, size;
 };
 
-struct str *str_create();
+struct str *str_create(void);
 void str_free(struct str *str);
 void str_reset(struct str *str);
 int str_append_ch(struct str *str, uint32_t ch);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/scdoc-1.11.2/include/util.h 
new/scdoc-1.11.3/include/util.h
--- old/scdoc-1.11.2/include/util.h     2021-11-13 09:04:45.000000000 +0100
+++ new/scdoc-1.11.3/include/util.h     2024-02-17 10:51:31.000000000 +0100
@@ -1,6 +1,5 @@
 #ifndef _SCDOC_PARSER_H
 #define _SCDOC_PARSER_H
-#include <stdarg.h>
 #include <stdint.h>
 #include <stdio.h>
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/scdoc-1.11.2/scdoc.1.scd new/scdoc-1.11.3/scdoc.1.scd
--- old/scdoc-1.11.2/scdoc.1.scd        2021-11-13 09:04:45.000000000 +0100
+++ new/scdoc-1.11.3/scdoc.1.scd        2024-02-17 10:51:31.000000000 +0100
@@ -1,8 +1,8 @@
-scdoc(1)
+SCDOC(1)
 
 # NAME
 
-scdoc - generate *man*(7) manual pages
+scdoc - generate _man_(7) manual pages
 
 # SYNOPSIS
 
@@ -10,12 +10,19 @@
 
 # DESCRIPTION
 
-The scdoc utility reads *scdoc*(5) syntax from the standard input and writes
-*man*(7) style roff to the standard output.
+The scdoc utility reads _scdoc_(5) syntax from the standard input and writes
+_man_(7) style roff to the standard output.
+
+# ENVIRONMENT
+
+The scdoc utility supports the standard _SOURCE_DATE_EPOCH_ environment
+variable for reproducible builds. This variables specifies the date in number
+of seconds since the Unix epoch, see:
+https://reproducible-builds.org/specs/source-date-epoch/
 
 # SEE ALSO
 
-*scdoc*(5)
+_scdoc_(5)
 
 # AUTHORS
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/scdoc-1.11.2/scdoc.5.scd new/scdoc-1.11.3/scdoc.5.scd
--- old/scdoc-1.11.2/scdoc.5.scd        2021-11-13 09:04:45.000000000 +0100
+++ new/scdoc-1.11.3/scdoc.5.scd        2024-02-17 10:51:31.000000000 +0100
@@ -1,4 +1,4 @@
-scdoc(5)
+SCDOC(5)
 
 # NAME
 
@@ -8,20 +8,20 @@
 
 Input files must use the UTF-8 encoding.
 
-## PREAMBLE
+## Preamble
 
 Each scdoc file must begin with the following preamble:
 
-       *name*(_section_) ["left\_footer" ["center\_header"]]
+       _NAME_(_section_) ["left\_footer" ["center\_header"]]
 
-*name* is the name of the man page you are writing, and _section_ is the 
section
-you're writing for (see *man*(1) for information on manual sections).
+_NAME_ is the name of the man page you are writing, and _section_ is the 
section
+you're writing for (see _man_(1) for information on manual sections).
 
 _left\_footer_ and _center\_header_ are optional arguments which set the text
 positioned at those locations in the generated man page, and *must* be
 surrounded with double quotes.
 
-## SECTION HEADERS
+## Section headers
 
 Each section of your man page should begin with something similar to the
 following:
@@ -31,23 +31,23 @@
 Subsection headers are also understood - use two hashes. Each header must have
 an empty line on either side.
 
-## PARAGRAPHS
+## Paragraphs
 
 Begin a new paragraph with an empty line.
 
-## LINE BREAKS
+## Line breaks
 
 Insert a line break by ending a line with \+\+.
 
 The result looks++
 like this.
 
-## FORMATTING
+## Formatting
 
 Text can be made *bold* or _underlined_ with asterisks and underscores: 
\*bold\*
 or \_underlined\_. Underscores in the_middle_of_words will be disregarded.
 
-## INDENTATION
+## Indentation
 
 You may indent lines with tab characters (*\\t*) to indent them by 4 spaces in
 the output. Indented lines may not contain headers.
@@ -59,7 +59,7 @@
 Deindent to return to normal, or indent again to increase your indentation
 depth.
 
-## LISTS
+## Lists
 
 You may start bulleted lists with dashes (-), like so:
 
@@ -96,7 +96,7 @@
        - But its children can go on
          for a while
 
-## NUMBERED LISTS
+## Numbered lists
 
 Numbered lists are similar to normal lists, but begin with periods (.) instead
 of dashes (-), like so:
@@ -113,7 +113,7 @@
 . Item 3,
   with multiple lines
 
-## TABLES
+## Tables
 
 To begin a table, add an empty line followed by any number of rows.
 
@@ -171,7 +171,7 @@
 |  *Foo*
 :  Bar
 
-## LITERAL TEXT
+## Literal text
 
 You may turn off scdoc formatting and output literal text with escape codes and
 literal blocks. Inserting a \\ into your source will cause the subsequent 
symbol
@@ -190,7 +190,7 @@
 blocks, which for example can be useful to output \``` inside of a literal
 block.
 
-## COMMENTS
+## Comments
 
 Lines beginning with ; and a space are ignored.
 
@@ -204,7 +204,7 @@
 
 # SEE ALSO
 
-*scdoc*(1)
+_scdoc_(1)
 
 # AUTHORS
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/scdoc-1.11.2/src/main.c new/scdoc-1.11.3/src/main.c
--- old/scdoc-1.11.2/src/main.c 2021-11-13 09:04:45.000000000 +0100
+++ new/scdoc-1.11.3/src/main.c 2024-02-17 10:51:31.000000000 +0100
@@ -4,18 +4,15 @@
 #include <errno.h>
 #include <limits.h>
 #include <stdbool.h>
+#include <stdint.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
 #include <time.h>
-#include <unistd.h>
 #include "str.h"
 #include "unicode.h"
 #include "util.h"
 
-char *strstr(const char *haystack, const char *needle);
-char *strerror(int errnum);
-
 static struct str *parse_section(struct parser *p) {
        struct str *section = str_create();
        uint32_t ch;
@@ -211,7 +208,9 @@
                        if (ch == UTF8_INVALID) {
                                parser_fatal(p, "Unexpected EOF");
                        } else if (ch == '\\') {
-                               fprintf(p->output, "\\\\");
+                               fprintf(p->output, "\\e");
+                       } else if (ch == '`') {
+                               fprintf(p->output, "\\`");
                        } else {
                                utf8_fputch(p->output, ch);
                        }
@@ -329,24 +328,12 @@
 }
 
 static void list_header(struct parser *p, int *num) {
-       fprintf(p->output, ".RS 4\n");
-       fprintf(p->output, ".ie n \\{\\\n");
-       if (*num == -1) {
-               fprintf(p->output, "\\h'-0%d'%s\\h'+03'\\c\n",
-                               *num >= 10 ? 5 : 4, "\\(bu");
-       } else {
-               fprintf(p->output, "\\h'-0%d'%d.\\h'+03'\\c\n",
-                               *num >= 10 ? 5 : 4, *num);
-       }
-       fprintf(p->output, ".\\}\n");
-       fprintf(p->output, ".el \\{\\\n");
        if (*num == -1) {
                fprintf(p->output, ".IP %s 4\n", "\\(bu");
        } else {
                fprintf(p->output, ".IP %d. 4\n", *num);
                *num = *num + 1;
        }
-       fprintf(p->output, ".\\}\n");
 }
 
 static void parse_list(struct parser *p, int *indent, int num) {
@@ -354,6 +341,7 @@
        if ((ch = parser_getch(p)) != ' ') {
                parser_fatal(p, "Expected space before start of list entry");
        }
+       fprintf(p->output, ".PD 0\n");
        list_header(p, &num);
        parse_text(p);
        do {
@@ -373,18 +361,15 @@
                        if ((ch = parser_getch(p)) != ' ') {
                                parser_fatal(p, "Expected space before start of 
list entry");
                        }
-                       roff_macro(p, "RE", NULL);
                        list_header(p, &num);
                        parse_text(p);
                        break;
                default:
-                       fprintf(p->output, "\n");
+                       roff_macro(p, "PD", NULL);
                        parser_pushch(p, ch);
-                       goto ret;
+                       return;
                }
        } while (ch != UTF8_INVALID);
-ret:
-       roff_macro(p, "RE", NULL);
 }
 
 static void parse_literal(struct parser *p, int *indent) {
@@ -736,7 +721,7 @@
                                                p->fmt_line, p->fmt_col);
                                parser_fatal(p, error);
                        }
-                       roff_macro(p, "P", NULL);
+                       roff_macro(p, "PP", NULL);
                        break;
                default:
                        parser_pushch(p, ch);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/scdoc-1.11.2/src/string.c 
new/scdoc-1.11.3/src/string.c
--- old/scdoc-1.11.2/src/string.c       2021-11-13 09:04:45.000000000 +0100
+++ new/scdoc-1.11.3/src/string.c       2024-02-17 10:51:31.000000000 +0100
@@ -12,7 +12,7 @@
        }
 }
 
-struct str *str_create() {
+struct str *str_create(void) {
        struct str *str = xcalloc(1, sizeof(struct str));
        str->str = xcalloc(16, 1);
        str->size = 16;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/scdoc-1.11.2/src/utf8_decode.c 
new/scdoc-1.11.3/src/utf8_decode.c
--- old/scdoc-1.11.2/src/utf8_decode.c  2021-11-13 09:04:45.000000000 +0100
+++ new/scdoc-1.11.3/src/utf8_decode.c  2024-02-17 10:51:31.000000000 +0100
@@ -1,5 +1,4 @@
 #include <stdint.h>
-#include <stddef.h>
 #include "unicode.h"
 
 uint8_t masks[] = {

++++++ scdoc-1.6.1-makefile.patch ++++++
--- /var/tmp/diff_new_pack.cW68B3/_old  2024-02-18 20:25:18.718648664 +0100
+++ /var/tmp/diff_new_pack.cW68B3/_new  2024-02-18 20:25:18.722648808 +0100
@@ -1,8 +1,9 @@
-diff -urEbw scdoc-1.11.2/Makefile scdoc-1.11.2.new/Makefile
---- scdoc-1.11.2/Makefile      2021-11-13 09:04:45.000000000 +0100
-+++ scdoc-1.11.2.new/Makefile  2021-11-17 17:09:08.671402330 +0100
+Index: scdoc-1.11.3/Makefile
+===================================================================
+--- scdoc-1.11.3.orig/Makefile
++++ scdoc-1.11.3/Makefile
 @@ -1,7 +1,6 @@
- VERSION=1.11.2
+ VERSION=1.11.3
  CFLAGS?=-g
  MAINFLAGS:=-DVERSION='"$(VERSION)"' -Wall -Wextra -Werror 
-Wno-unused-parameter
 -LDFLAGS+=-static

Reply via email to