commit scdoc for openSUSE:Factory

2020-07-30 Thread root
Hello community,

here is the log from the commit of package scdoc for openSUSE:Factory checked 
in at 2020-07-30 12:26:03

Comparing /work/SRC/openSUSE:Factory/scdoc (Old)
 and  /work/SRC/openSUSE:Factory/.scdoc.new.3592 (New)


Package is "scdoc"

Thu Jul 30 12:26:03 2020 rev:14 rq:823536 version:1.11.0

Changes:

--- /work/SRC/openSUSE:Factory/scdoc/scdoc.changes  2020-06-16 
13:46:47.714307242 +0200
+++ /work/SRC/openSUSE:Factory/.scdoc.new.3592/scdoc.changes2020-07-30 
12:26:08.435631363 +0200
@@ -1,0 +2,5 @@
+Thu Jul 30 09:15:59 UTC 2020 - Michael Vetter 
+
+- Use _datadir macro
+
+---



Other differences:
--
++ scdoc.spec ++
--- /var/tmp/diff_new_pack.G5MOKs/_old  2020-07-30 12:26:09.251632966 +0200
+++ /var/tmp/diff_new_pack.G5MOKs/_new  2020-07-30 12:26:09.255632974 +0200
@@ -39,14 +39,14 @@
 %patch0 -p1
 
 %build
-make %{?_smp_mflags} PREFIX=%{_prefix}
+%make_build PREFIX=%{_prefix}
 
 %install
-%make_install PREFIX=%{_prefix} PCDIR=%{buildroot}/usr/share/pkgconfig 
%{?_smp_mflags} 
+%make_install PREFIX=%{_prefix} PCDIR=%{buildroot}%{_datadir}/pkgconfig 
%{?_smp_mflags}
 
 %files
 %{_bindir}/scdoc
 %{_mandir}/man?/scdoc.?%{?ext_man}
-/usr/share/pkgconfig/scdoc.pc
+%{_datadir}/pkgconfig/scdoc.pc
 
 %changelog




commit scdoc for openSUSE:Factory

2020-06-16 Thread root
Hello community,

here is the log from the commit of package scdoc for openSUSE:Factory checked 
in at 2020-06-16 13:46:08

Comparing /work/SRC/openSUSE:Factory/scdoc (Old)
 and  /work/SRC/openSUSE:Factory/.scdoc.new.3606 (New)


Package is "scdoc"

Tue Jun 16 13:46:08 2020 rev:13 rq:814844 version:1.11.0

Changes:

--- /work/SRC/openSUSE:Factory/scdoc/scdoc.changes  2020-02-18 
10:39:07.648788060 +0100
+++ /work/SRC/openSUSE:Factory/.scdoc.new.3606/scdoc.changes2020-06-16 
13:46:47.714307242 +0200
@@ -1,0 +2,10 @@
+Tue Jun 16 08:23:04 UTC 2020 - Michael Vetter 
+
+- Update to 1.11.0:
+  * Section needs to be explicitly defined
+  * Allow subsection in preamble
+  * Add basic working tests for line breaks parsing
+  * Fix parsing of line breaks without newline
+  * Fix parsing of line breaks followed by underlined text
+
+---

Old:

  1.10.1.tar.gz

New:

  1.11.0.tar.gz



Other differences:
--
++ scdoc.spec ++
--- /var/tmp/diff_new_pack.KsSZ9F/_old  2020-06-16 13:46:51.438337192 +0200
+++ /var/tmp/diff_new_pack.KsSZ9F/_new  2020-06-16 13:46:51.442337224 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package scdoc
 #
-# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 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.10.1
+Version:1.11.0
 Release:0
 Summary:A man page generator written in C99
 License:MIT

++ 1.10.1.tar.gz -> 1.11.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/scdoc-1.10.1/Makefile new/scdoc-1.11.0/Makefile
--- old/scdoc-1.10.1/Makefile   2020-02-14 22:38:03.0 +0100
+++ new/scdoc-1.11.0/Makefile   2020-06-14 17:21:58.0 +0200
@@ -1,4 +1,4 @@
-VERSION=1.10.1
+VERSION=1.11.0
 CFLAGS+=-g -DVERSION='"$(VERSION)"' -Wall -Wextra -Werror -Wno-unused-parameter
 LDFLAGS+=-static
 INCLUDE+=-Iinclude
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/scdoc-1.10.1/src/main.c new/scdoc-1.11.0/src/main.c
--- old/scdoc-1.10.1/src/main.c 2020-02-14 22:38:03.0 +0100
+++ new/scdoc-1.11.0/src/main.c 2020-06-14 17:21:58.0 +0200
@@ -16,31 +16,35 @@
 char *strstr(const char *haystack, const char *needle);
 char *strerror(int errnum);
 
-static int parse_section(struct parser *p) {
+static struct str *parse_section(struct parser *p) {
struct str *section = str_create();
uint32_t ch;
+   char *subsection;
while ((ch = parser_getch(p)) != UTF8_INVALID) {
-   if (ch < 0x80 && isdigit(ch)) {
+   if (ch < 0x80 && isalnum(ch)) {
int ret = str_append_ch(section, ch);
assert(ret != -1);
} else if (ch == ')') {
-   if (!section->str) {
+   if (section->len == 0) {
+   break;
+   }
+   int sec = strtol(section->str, , 10);
+   if (section->str == subsection) {
+   parser_fatal(p, "Expected section digit");
break;
}
-   int sec = strtol(section->str, NULL, 10);
if (sec < 0 || sec > 9) {
parser_fatal(p, "Expected section between 0 and 
9");
break;
}
-   str_free(section);
-   return sec;
+   return section;
} else {
-   parser_fatal(p, "Expected digit or )");
+   parser_fatal(p, "Expected alphanumerical character or 
)");
break;
}
};
parser_fatal(p, "Expected manual section");
-   return -1;
+   return NULL;
 }
 
 static struct str *parse_extra(struct parser *p) {
@@ -69,7 +73,7 @@
struct str *name = str_create();
int ex = 0;
struct str *extras[2] = { NULL };
-   int section = -1;
+   struct str *section = NULL;
uint32_t ch;
time_t date_time;
char date[256];
@@ -122,13 +126,12 @@
if (name->len == 0) {
parser_fatal(p, "Expected preamble");
}
-   if (section == -1) {
+   if (section == NULL) {

commit scdoc for openSUSE:Factory

2020-02-18 Thread root
Hello community,

here is the log from the commit of package scdoc for openSUSE:Factory checked 
in at 2020-02-18 10:38:21

Comparing /work/SRC/openSUSE:Factory/scdoc (Old)
 and  /work/SRC/openSUSE:Factory/.scdoc.new.26092 (New)


Package is "scdoc"

Tue Feb 18 10:38:21 2020 rev:12 rq:774820 version:1.10.1

Changes:

--- /work/SRC/openSUSE:Factory/scdoc/scdoc.changes  2019-09-13 
15:00:20.753282390 +0200
+++ /work/SRC/openSUSE:Factory/.scdoc.new.26092/scdoc.changes   2020-02-18 
10:39:07.648788060 +0100
@@ -1,0 +2,9 @@
+Mon Feb 17 10:07:06 UTC 2020 - Michael Vetter 
+
+- Update to 1.10.1:
+  * Replace str_t with struct str
+  * Expand preamble written to man page output
+  * Fix timezone-dependent tests
+  * Fix `date --date` dependent test
+
+---

Old:

  1.10.0.tar.gz

New:

  1.10.1.tar.gz



Other differences:
--
++ scdoc.spec ++
--- /var/tmp/diff_new_pack.kNyZNb/_old  2020-02-18 10:39:09.364791561 +0100
+++ /var/tmp/diff_new_pack.kNyZNb/_new  2020-02-18 10:39:09.372791578 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package scdoc
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,12 +12,12 @@
 # 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:   scdoc
-Version:1.10.0
+Version:1.10.1
 Release:0
 Summary:A man page generator written in C99
 License:MIT

++ 1.10.0.tar.gz -> 1.10.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/scdoc-1.10.0/Makefile new/scdoc-1.10.1/Makefile
--- old/scdoc-1.10.0/Makefile   2019-09-11 21:15:23.0 +0200
+++ new/scdoc-1.10.1/Makefile   2020-02-14 22:38:03.0 +0100
@@ -1,4 +1,4 @@
-VERSION=1.10.0
+VERSION=1.10.1
 CFLAGS+=-g -DVERSION='"$(VERSION)"' -Wall -Wextra -Werror -Wno-unused-parameter
 LDFLAGS+=-static
 INCLUDE+=-Iinclude
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/scdoc-1.10.0/include/str.h 
new/scdoc-1.10.1/include/str.h
--- old/scdoc-1.10.0/include/str.h  2019-09-11 21:15:23.0 +0200
+++ new/scdoc-1.10.1/include/str.h  2020-02-14 22:38:03.0 +0100
@@ -7,11 +7,9 @@
size_t len, size;
 };
 
-typedef struct str str_t;
-
-str_t *str_create();
-void str_free(str_t *str);
-void str_reset(str_t *str);
-int str_append_ch(str_t *str, uint32_t ch);
+struct str *str_create();
+void str_free(struct str *str);
+void str_reset(struct str *str);
+int str_append_ch(struct str *str, uint32_t ch);
 
 #endif
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/scdoc-1.10.0/src/main.c new/scdoc-1.10.1/src/main.c
--- old/scdoc-1.10.0/src/main.c 2019-09-11 21:15:23.0 +0200
+++ new/scdoc-1.10.1/src/main.c 2020-02-14 22:38:03.0 +0100
@@ -17,7 +17,7 @@
 char *strerror(int errnum);
 
 static int parse_section(struct parser *p) {
-   str_t *section = str_create();
+   struct str *section = str_create();
uint32_t ch;
while ((ch = parser_getch(p)) != UTF8_INVALID) {
if (ch < 0x80 && isdigit(ch)) {
@@ -43,8 +43,8 @@
return -1;
 }
 
-static str_t *parse_extra(struct parser *p) {
-   str_t *extra = str_create();
+static struct str *parse_extra(struct parser *p) {
+   struct str *extra = str_create();
int ret = str_append_ch(extra, '"');
assert(ret != -1);
uint32_t ch;
@@ -66,9 +66,9 @@
 }
 
 static void parse_preamble(struct parser *p) {
-   str_t *name = str_create();
+   struct str *name = str_create();
int ex = 0;
-   str_t *extras[2] = { NULL };
+   struct str *extras[2] = { NULL };
int section = -1;
uint32_t ch;
time_t date_time;
@@ -446,7 +446,7 @@
 
 struct table_cell {
enum table_align align;
-   str_t *contents;
+   struct str *contents;
struct table_cell *next;
 };
 
@@ -717,6 +717,8 @@
 
 static void output_scdoc_preamble(struct parser *p) {
fprintf(p->output, ".\\\" Generated by scdoc " VERSION "\n");
+   fprintf(p->output, ".\\\" Complete documentation for this program is 
not "
+   "available as a GNU info page\n");
// Fix weird quotation marks
// 

commit scdoc for openSUSE:Factory

2019-09-13 Thread root
Hello community,

here is the log from the commit of package scdoc for openSUSE:Factory checked 
in at 2019-09-13 15:00:11

Comparing /work/SRC/openSUSE:Factory/scdoc (Old)
 and  /work/SRC/openSUSE:Factory/.scdoc.new.7948 (New)


Package is "scdoc"

Fri Sep 13 15:00:11 2019 rev:11 rq:730284 version:1.10.0

Changes:

--- /work/SRC/openSUSE:Factory/scdoc/scdoc.changes  2019-08-23 
11:10:07.370455571 +0200
+++ /work/SRC/openSUSE:Factory/.scdoc.new.7948/scdoc.changes2019-09-13 
15:00:20.753282390 +0200
@@ -1,0 +2,8 @@
+Thu Sep 12 06:36:28 UTC 2019 - mvet...@suse.com
+
+- Update to 1.10.0:
+  * tables: add expand options
+  * Add contrib/_incr_version
+- Update scdoc-1.6.1-makefile.patch
+
+---

Old:

  1.9.7.tar.gz

New:

  1.10.0.tar.gz



Other differences:
--
++ scdoc.spec ++
--- /var/tmp/diff_new_pack.dsFn9M/_old  2019-09-13 15:00:21.905282439 +0200
+++ /var/tmp/diff_new_pack.dsFn9M/_new  2019-09-13 15:00:21.929282440 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   scdoc
-Version:1.9.7
+Version:1.10.0
 Release:0
 Summary:A man page generator written in C99
 License:MIT

++ 1.9.7.tar.gz -> 1.10.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/scdoc-1.9.7/Makefile new/scdoc-1.10.0/Makefile
--- old/scdoc-1.9.7/Makefile2019-08-16 02:23:43.0 +0200
+++ new/scdoc-1.10.0/Makefile   2019-09-11 21:15:23.0 +0200
@@ -1,4 +1,4 @@
-VERSION=1.9.6
+VERSION=1.10.0
 CFLAGS+=-g -DVERSION='"$(VERSION)"' -Wall -Wextra -Werror -Wno-unused-parameter
 LDFLAGS+=-static
 INCLUDE+=-Iinclude
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/scdoc-1.9.7/contrib/_incr_version 
new/scdoc-1.10.0/contrib/_incr_version
--- old/scdoc-1.9.7/contrib/_incr_version   1970-01-01 01:00:00.0 
+0100
+++ new/scdoc-1.10.0/contrib/_incr_version  2019-09-11 21:15:23.0 
+0200
@@ -0,0 +1,4 @@
+#!/bin/sh -eux
+sed -i Makefile -e "s/^VERSION=${1}/VERSION=${2}/"
+git add Makefile
+git commit -m "Update version to ${2}"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/scdoc-1.9.7/scdoc.5.scd new/scdoc-1.10.0/scdoc.5.scd
--- old/scdoc-1.9.7/scdoc.5.scd 2019-08-16 02:23:43.0 +0200
+++ new/scdoc-1.10.0/scdoc.5.scd2019-09-11 21:15:23.0 +0200
@@ -155,6 +155,21 @@
 :  世界
!
 
+You may also cause columns to expand to fill the available space with < (left
+align), = (center align), and > (right align), like so:
+
+```
+[[ *Normal column*
+:< Expanded column
+|  *Foo*
+:  Bar
+```
+
+[[ *Normal column*
+:< Expanded column
+|  *Foo*
+:  Bar
+
 ## LITERAL TEXT
 
 You may turn off scdoc formatting and output literal text with escape codes and
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/scdoc-1.9.7/src/main.c new/scdoc-1.10.0/src/main.c
--- old/scdoc-1.9.7/src/main.c  2019-08-16 02:23:43.0 +0200
+++ new/scdoc-1.10.0/src/main.c 2019-09-11 21:15:23.0 +0200
@@ -434,6 +434,9 @@
ALIGN_LEFT,
ALIGN_CENTER,
ALIGN_RIGHT,
+   ALIGN_LEFT_EXPAND,
+   ALIGN_CENTER_EXPAND,
+   ALIGN_RIGHT_EXPAND,
 };
 
 struct table_row {
@@ -508,6 +511,15 @@
case ']':
curcell->align = ALIGN_RIGHT;
break;
+   case '<':
+   curcell->align = ALIGN_LEFT_EXPAND;
+   break;
+   case '=':
+   curcell->align = ALIGN_CENTER_EXPAND;
+   break;
+   case '>':
+   curcell->align = ALIGN_RIGHT_EXPAND;
+   break;
case ' ':
if (prevrow) {
struct table_cell *pcell = prevrow->cell;
@@ -576,8 +588,28 @@
while (currow) {
curcell = currow->cell;
while (curcell) {
-   fprintf(p->output, "%c%s", "lcr"[curcell->align],
-   curcell->next ? " " : "");
+   char *align = "";
+   switch (curcell->align) {
+   case ALIGN_LEFT:
+   align = "l";
+   break;
+   case ALIGN_CENTER:
+   align = "c";
+   break;
+   case ALIGN_RIGHT:
+   align = "r";
+   break;
+   case ALIGN_LEFT_EXPAND:
+  

commit scdoc for openSUSE:Factory

2019-08-23 Thread root
Hello community,

here is the log from the commit of package scdoc for openSUSE:Factory checked 
in at 2019-08-23 11:10:06

Comparing /work/SRC/openSUSE:Factory/scdoc (Old)
 and  /work/SRC/openSUSE:Factory/.scdoc.new.7948 (New)


Package is "scdoc"

Fri Aug 23 11:10:06 2019 rev:10 rq:725439 version:1.9.7

Changes:

--- /work/SRC/openSUSE:Factory/scdoc/scdoc.changes  2019-07-11 
13:19:02.546755124 +0200
+++ /work/SRC/openSUSE:Factory/.scdoc.new.7948/scdoc.changes2019-08-23 
11:10:07.370455571 +0200
@@ -1,0 +2,7 @@
+Fri Aug 23 05:32:22 UTC 2019 - mvet...@suse.com
+
+- Update to 1.9.7:
+  * Remove unnecessary `closed` variable in parse_list
+  * Fix bug preventing indented literal blocks
+
+---

Old:

  1.9.6.tar.gz

New:

  1.9.7.tar.gz



Other differences:
--
++ scdoc.spec ++
--- /var/tmp/diff_new_pack.SuEbnV/_old  2019-08-23 11:10:07.954455499 +0200
+++ /var/tmp/diff_new_pack.SuEbnV/_new  2019-08-23 11:10:07.954455499 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   scdoc
-Version:1.9.6
+Version:1.9.7
 Release:0
 Summary:A man page generator written in C99
 License:MIT

++ 1.9.6.tar.gz -> 1.9.7.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/scdoc-1.9.6/src/main.c new/scdoc-1.9.7/src/main.c
--- old/scdoc-1.9.6/src/main.c  2019-07-10 20:09:27.0 +0200
+++ new/scdoc-1.9.7/src/main.c  2019-08-16 02:23:43.0 +0200
@@ -333,7 +333,6 @@
}
list_header(p, );
parse_text(p);
-   bool closed = false;
do {
parse_indent(p, indent, true);
if ((ch = parser_getch(p)) == UTF8_INVALID) {
@@ -351,12 +350,9 @@
if ((ch = parser_getch(p)) != ' ') {
parser_fatal(p, "Expected space before start of 
list entry");
}
-   if (!closed) {
-   roff_macro(p, "RE", NULL);
-   }
+   roff_macro(p, "RE", NULL);
list_header(p, );
parse_text(p);
-   closed = false;
break;
default:
fprintf(p->output, "\n");
@@ -365,9 +361,7 @@
}
} while (ch != UTF8_INVALID);
 ret:
-   if (!closed) {
-   roff_macro(p, "RE", NULL);
-   }
+   roff_macro(p, "RE", NULL);
 }
 
 static void parse_literal(struct parser *p, int *indent) {
@@ -380,15 +374,19 @@
int stops = 0;
roff_macro(p, "nf", NULL);
fprintf(p->output, ".RS 4\n");
+   bool check_indent = true;
do {
-   int _indent = *indent;
-   parse_indent(p, &_indent, false);
-   if (_indent < *indent) {
-   parser_fatal(p, "Cannot deindent in literal block");
-   }
-   while (_indent > *indent) {
-   --_indent;
-   fprintf(p->output, "\t");
+   if (check_indent) {
+   int _indent = *indent;
+   parse_indent(p, &_indent, false);
+   if (_indent < *indent) {
+   parser_fatal(p, "Cannot deindent in literal 
block");
+   }
+   while (_indent > *indent) {
+   --_indent;
+   fprintf(p->output, "\t");
+   }
+   check_indent = false;
}
if ((ch = parser_getch(p)) == UTF8_INVALID) {
break;
@@ -421,6 +419,9 @@
utf8_fputch(p->output, ch);
}
break;
+   case '\n':
+   check_indent = true;
+   /* fallthrough */
default:
utf8_fputch(p->output, ch);
break;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/scdoc-1.9.6/test/indent new/scdoc-1.9.7/test/indent
--- old/scdoc-1.9.6/test/indent 2019-07-10 20:09:27.0 +0200
+++ new/scdoc-1.9.7/test/indent 2019-08-16 02:23:43.0 +0200
@@ -54,3 +54,24 @@
 Not indented
 EOF
 end 0
+
+begin "Allows indented literal blocks"
+scdoc 

commit scdoc for openSUSE:Factory

2019-07-11 Thread root
Hello community,

here is the log from the commit of package scdoc for openSUSE:Factory checked 
in at 2019-07-11 13:18:52

Comparing /work/SRC/openSUSE:Factory/scdoc (Old)
 and  /work/SRC/openSUSE:Factory/.scdoc.new.4615 (New)


Package is "scdoc"

Thu Jul 11 13:18:52 2019 rev:9 rq:714540 version:1.9.6

Changes:

--- /work/SRC/openSUSE:Factory/scdoc/scdoc.changes  2019-03-13 
09:12:56.607400896 +0100
+++ /work/SRC/openSUSE:Factory/.scdoc.new.4615/scdoc.changes2019-07-11 
13:19:02.546755124 +0200
@@ -1,0 +2,10 @@
+Thu Jul 11 05:02:32 UTC 2019 - mvet...@suse.com
+
+- Update to 1.9.6:
+  * Fix regression with manual name check
+- Changes from 1.9.5:
+  * Use TZ=UTC in test case
+  * Disallow invalid name characters
+  * Enforce 1-step indentation
+
+---

Old:

  1.9.4.tar.gz

New:

  1.9.6.tar.gz



Other differences:
--
++ scdoc.spec ++
--- /var/tmp/diff_new_pack.rglDCp/_old  2019-07-11 13:19:03.490754826 +0200
+++ /var/tmp/diff_new_pack.rglDCp/_new  2019-07-11 13:19:03.494754826 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   scdoc
-Version:1.9.4
+Version:1.9.6
 Release:0
 Summary:A man page generator written in C99
 License:MIT

++ 1.9.4.tar.gz -> 1.9.6.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/scdoc-1.9.4/.build.yml new/scdoc-1.9.6/.build.yml
--- old/scdoc-1.9.4/.build.yml  1970-01-01 01:00:00.0 +0100
+++ new/scdoc-1.9.6/.build.yml  2019-07-10 20:09:27.0 +0200
@@ -0,0 +1,27 @@
+image: alpine/edge
+packages:
+- flex
+- bison
+sources:
+- https://git.sr.ht/~sircmpwn/scdoc
+- https://git.sr.ht/~sircmpwn/annotatec
+secrets:
+- 52022781-b772-4d8d-b7fe-0d962a4947b6
+tasks:
+- build: |
+cd scdoc
+make
+- check: |
+cd scdoc
+make check
+- annotatec: |
+cd annotatec
+make
+sudo make install PREFIX=/usr
+- annotations: |
+cd ~/scdoc
+# that version string, jesus christ
+find src -name "*.c" | \
+  xargs annotatec -gC 'cpp -DVERSION='"'"'"0.0.0"'"'"' -std=c99 -Iinclude 
-U__GNUC__' \
+  >annotations.json
+~/upload-annotations annotations.json sircmpwn scdoc
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/scdoc-1.9.4/Makefile new/scdoc-1.9.6/Makefile
--- old/scdoc-1.9.4/Makefile2019-03-04 16:43:31.0 +0100
+++ new/scdoc-1.9.6/Makefile2019-07-10 20:09:27.0 +0200
@@ -1,4 +1,4 @@
-VERSION=1.9.4
+VERSION=1.9.6
 CFLAGS+=-g -DVERSION='"$(VERSION)"' -Wall -Wextra -Werror -Wno-unused-parameter
 LDFLAGS+=-static
 INCLUDE+=-Iinclude
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/scdoc-1.9.4/src/main.c new/scdoc-1.9.6/src/main.c
--- old/scdoc-1.9.4/src/main.c  2019-03-04 16:43:31.0 +0100
+++ new/scdoc-1.9.6/src/main.c  2019-07-10 20:09:27.0 +0200
@@ -138,6 +138,8 @@
}
fprintf(p->output, "\n");
break;
+   } else if (section == -1) {
+   parser_fatal(p, "Name characters must be A-Z, a-z, 0-9, 
`-`, `_`, or `.`");
}
}
str_free(name);
@@ -284,19 +286,19 @@
++i;
}
parser_pushch(p, ch);
-   if (ch == '\n' && *indent != 0) {
-   // Don't change indent when we encounter empty lines
+   if ((ch == '\n' || ch == UTF8_INVALID) && *indent != 0) {
+   // Don't change indent when we encounter empty lines or EOF
return *indent;
}
if (write) {
-   if (i < *indent) {
+   if ((i - *indent) > 1) {
+   parser_fatal(p, "Indented by an amount greater than 1");
+   } else if (i < *indent) {
for (int j = *indent; i < j; --j) {
roff_macro(p, "RE", NULL);
}
} else if (i == *indent + 1) {
fprintf(p->output, ".RS 4\n");
-   } else if (i != *indent && ch == '\t') {
-   parser_fatal(p, "Indented by an amount greater than 1");
}
}
*indent = i;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/scdoc-1.9.4/test/indent new/scdoc-1.9.6/test/indent
--- old/scdoc-1.9.4/test/indent 2019-03-04 16:43:31.0 +0100
+++ new/scdoc-1.9.6/test/indent 2019-07-10 20:09:27.0 +0200
@@ -19,3 +19,38 @@
 Not indented
 EOF
 end 0
+
+begin "Disallows multi-step indents"
+scdoc 

commit scdoc for openSUSE:Factory

2019-03-13 Thread root
Hello community,

here is the log from the commit of package scdoc for openSUSE:Factory checked 
in at 2019-03-13 09:12:51

Comparing /work/SRC/openSUSE:Factory/scdoc (Old)
 and  /work/SRC/openSUSE:Factory/.scdoc.new.28833 (New)


Package is "scdoc"

Wed Mar 13 09:12:51 2019 rev:8 rq:684221 version:1.9.4

Changes:

--- /work/SRC/openSUSE:Factory/scdoc/scdoc.changes  2019-03-05 
12:26:16.100829194 +0100
+++ /work/SRC/openSUSE:Factory/.scdoc.new.28833/scdoc.changes   2019-03-13 
09:12:56.607400896 +0100
@@ -1,0 +2,5 @@
+Tue Mar 12 09:50:37 UTC 2019 - mvet...@suse.com
+
+- bsc#1128844: Use correct prefix in pkgconfig file
+
+---



Other differences:
--
++ scdoc.spec ++
--- /var/tmp/diff_new_pack.V1CWtW/_old  2019-03-13 09:12:58.019400751 +0100
+++ /var/tmp/diff_new_pack.V1CWtW/_new  2019-03-13 09:12:58.023400750 +0100
@@ -39,7 +39,7 @@
 %patch0 -p1
 
 %build
-make %{?_smp_mflags}
+make %{?_smp_mflags} PREFIX=%{_prefix}
 
 %install
 %make_install PREFIX=%{_prefix} PCDIR=%{buildroot}/usr/share/pkgconfig 
%{?_smp_mflags} 




commit scdoc for openSUSE:Factory

2019-03-05 Thread root
Hello community,

here is the log from the commit of package scdoc for openSUSE:Factory checked 
in at 2019-03-05 12:26:14

Comparing /work/SRC/openSUSE:Factory/scdoc (Old)
 and  /work/SRC/openSUSE:Factory/.scdoc.new.28833 (New)


Package is "scdoc"

Tue Mar  5 12:26:14 2019 rev:7 rq:681623 version:1.9.4

Changes:

--- /work/SRC/openSUSE:Factory/scdoc/scdoc.changes  2019-03-01 
16:47:32.077796597 +0100
+++ /work/SRC/openSUSE:Factory/.scdoc.new.28833/scdoc.changes   2019-03-05 
12:26:16.100829194 +0100
@@ -1,0 +2,15 @@
+Tue Mar  5 07:18:35 UTC 2019 - mvet...@suse.com
+
+- Update to 1.9.4:
+  * Fix SOURCE_DATE_EPOCH test w/busybox date
+  * Drop install -D flag after acb0f64a7b73
+  * Fix the "Ignores underscores in underlined words" test
+  * Add a pkg-config template
+
+---
+Mon Mar  4 08:30:32 UTC 2019 - mvet...@suse.com
+
+- Update to 1.9.3:
+  * parse_text: return if next is UTF8_INVALID
+
+---

Old:

  1.9.1.tar.gz

New:

  1.9.4.tar.gz



Other differences:
--
++ scdoc.spec ++
--- /var/tmp/diff_new_pack.swCtUL/_old  2019-03-05 12:26:16.680829298 +0100
+++ /var/tmp/diff_new_pack.swCtUL/_new  2019-03-05 12:26:16.684829299 +0100
@@ -12,12 +12,12 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via https://bugs.opensuse.org/
+# Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
 
 Name:   scdoc
-Version:1.9.1
+Version:1.9.4
 Release:0
 Summary:A man page generator written in C99
 License:MIT

++ 1.9.1.tar.gz -> 1.9.4.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/scdoc-1.9.1/.gitignore new/scdoc-1.9.4/.gitignore
--- old/scdoc-1.9.1/.gitignore  2019-02-28 01:09:09.0 +0100
+++ new/scdoc-1.9.4/.gitignore  2019-03-04 16:43:31.0 +0100
@@ -2,3 +2,4 @@
 scdoc
 scdoc.1
 scdoc.5
+scdoc.pc
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/scdoc-1.9.1/Makefile new/scdoc-1.9.4/Makefile
--- old/scdoc-1.9.1/Makefile2019-02-28 01:09:09.0 +0100
+++ new/scdoc-1.9.4/Makefile2019-03-04 16:43:31.0 +0100
@@ -1,4 +1,4 @@
-VERSION=1.9.1
+VERSION=1.9.4
 CFLAGS+=-g -DVERSION='"$(VERSION)"' -Wall -Wextra -Werror -Wno-unused-parameter
 LDFLAGS+=-static
 INCLUDE+=-Iinclude
@@ -35,16 +35,20 @@
 scdoc.5: scdoc.5.scd $(HOST_SCDOC)
$(HOST_SCDOC) < $< > $@
 
-all: scdoc scdoc.1 scdoc.5
+scdoc.pc: scdoc.pc.in
+   sed -e 's:@prefix@:$(PREFIX):g' -e 's:@version@:$(VERSION):g' < $< > $@
+
+all: scdoc scdoc.1 scdoc.5 scdoc.pc
 
 clean:
-   rm -rf $(OUTDIR) scdoc scdoc.1 scdoc.5
+   rm -rf $(OUTDIR) scdoc scdoc.1 scdoc.5 scdoc.pc
 
 install: all
-   install -Dm755 scdoc $(BINDIR)/scdoc
-   install -Dm644 scdoc.1 $(MANDIR)/man1/scdoc.1
-   install -Dm644 scdoc.5 $(MANDIR)/man5/scdoc.5
-   install -Dm644 scdoc.pc $(PCDIR)/scdoc.pc
+   mkdir -p $(BINDIR) $(MANDIR)/man1 $(MANDIR)/man5 $(PCDIR)
+   install -m755 scdoc $(BINDIR)/scdoc
+   install -m644 scdoc.1 $(MANDIR)/man1/scdoc.1
+   install -m644 scdoc.5 $(MANDIR)/man5/scdoc.5
+   install -m644 scdoc.pc $(PCDIR)/scdoc.pc
 
 check: scdoc scdoc.1 scdoc.5
@find test -perm -111 -exec '{}' \;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/scdoc-1.9.1/scdoc.pc new/scdoc-1.9.4/scdoc.pc
--- old/scdoc-1.9.1/scdoc.pc2019-02-28 01:09:09.0 +0100
+++ new/scdoc-1.9.4/scdoc.pc1970-01-01 01:00:00.0 +0100
@@ -1,7 +0,0 @@
-prefix=/usr
-exec_prefix=${prefix}
-scdoc=${exec_prefix}/bin/scdoc
-
-Name: scdoc
-Description: Man page generator
-Version: 1.9.1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/scdoc-1.9.1/scdoc.pc.in new/scdoc-1.9.4/scdoc.pc.in
--- old/scdoc-1.9.1/scdoc.pc.in 1970-01-01 01:00:00.0 +0100
+++ new/scdoc-1.9.4/scdoc.pc.in 2019-03-04 16:43:31.0 +0100
@@ -0,0 +1,7 @@
+prefix=@prefix@
+exec_prefix=${prefix}
+scdoc=${exec_prefix}/bin/scdoc
+
+Name: scdoc
+Description: Man page generator
+Version: @version@
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/scdoc-1.9.1/src/main.c new/scdoc-1.9.4/src/main.c
--- old/scdoc-1.9.1/src/main.c  2019-02-28 01:09:09.0 +0100
+++ new/scdoc-1.9.4/src/main.c  2019-03-04 16:43:31.0 +0100
@@ -219,6 +219,9 @@
} else {
utf8_fputch(p->output, ch);
 

commit scdoc for openSUSE:Factory

2019-03-01 Thread root
Hello community,

here is the log from the commit of package scdoc for openSUSE:Factory checked 
in at 2019-03-01 16:47:30

Comparing /work/SRC/openSUSE:Factory/scdoc (Old)
 and  /work/SRC/openSUSE:Factory/.scdoc.new.28833 (New)


Package is "scdoc"

Fri Mar  1 16:47:30 2019 rev:6 rq:680031 version:1.9.1

Changes:

--- /work/SRC/openSUSE:Factory/scdoc/scdoc.changes  2019-02-25 
18:00:55.618103328 +0100
+++ /work/SRC/openSUSE:Factory/.scdoc.new.28833/scdoc.changes   2019-03-01 
16:47:32.077796597 +0100
@@ -1,0 +2,6 @@
+Thu Feb 28 07:52:05 UTC 2019 - Michael Vetter 
+
+- Update to 1.9.1:
+  Fix underscores in underlined words
+
+---

Old:

  1.9.0.tar.gz

New:

  1.9.1.tar.gz



Other differences:
--
++ scdoc.spec ++
--- /var/tmp/diff_new_pack.8377Yu/_old  2019-03-01 16:47:32.585796404 +0100
+++ /var/tmp/diff_new_pack.8377Yu/_new  2019-03-01 16:47:32.589796403 +0100
@@ -12,12 +12,12 @@
 # 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:   scdoc
-Version:1.9.0
+Version:1.9.1
 Release:0
 Summary:A man page generator written in C99
 License:MIT

++ 1.9.0.tar.gz -> 1.9.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/scdoc-1.9.0/Makefile new/scdoc-1.9.1/Makefile
--- old/scdoc-1.9.0/Makefile2019-02-24 18:20:09.0 +0100
+++ new/scdoc-1.9.1/Makefile2019-02-28 01:09:09.0 +0100
@@ -1,4 +1,4 @@
-VERSION=1.9.0
+VERSION=1.9.1
 CFLAGS+=-g -DVERSION='"$(VERSION)"' -Wall -Wextra -Werror -Wno-unused-parameter
 LDFLAGS+=-static
 INCLUDE+=-Iinclude
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/scdoc-1.9.0/scdoc.pc new/scdoc-1.9.1/scdoc.pc
--- old/scdoc-1.9.0/scdoc.pc2019-02-24 18:20:09.0 +0100
+++ new/scdoc-1.9.1/scdoc.pc2019-02-28 01:09:09.0 +0100
@@ -4,4 +4,4 @@
 
 Name: scdoc
 Description: Man page generator
-Version: 1.9.0
+Version: 1.9.1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/scdoc-1.9.0/src/main.c new/scdoc-1.9.1/src/main.c
--- old/scdoc-1.9.0/src/main.c  2019-02-24 18:20:09.0 +0100
+++ new/scdoc-1.9.1/src/main.c  2019-02-28 01:09:09.0 +0100
@@ -195,7 +195,7 @@
 }
 
 static void parse_text(struct parser *p) {
-   uint32_t ch, last = ' ';
+   uint32_t ch, next, last = ' ';
int i = 0;
while ((ch = parser_getch(p)) != UTF8_INVALID) {
switch (ch) {
@@ -213,11 +213,13 @@
parse_format(p, FORMAT_BOLD);
break;
case '_':
-   if (!isalnum(last) || (p->flags & FORMAT_UNDERLINE)) {
+   next = parser_getch(p);
+   if (!isalnum(last) || ((p->flags & FORMAT_UNDERLINE) && 
!isalnum(next))) {
parse_format(p, FORMAT_UNDERLINE);
} else {
utf8_fputch(p->output, ch);
}
+   parser_pushch(p, next);
break;
case '+':
parse_linebreak(p);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/scdoc-1.9.0/test/inline-formatting 
new/scdoc-1.9.1/test/inline-formatting
--- old/scdoc-1.9.0/test/inline-formatting  2019-02-24 18:20:09.0 
+0100
+++ new/scdoc-1.9.1/test/inline-formatting  2019-02-28 01:09:09.0 
+0100
@@ -17,7 +17,15 @@
 EOF
 end 0
 
-begin "Allows underscores in bolded words"
+begin "Ignores underscores in underlined words"
+scdoc 

commit scdoc for openSUSE:Factory

2019-02-25 Thread root
Hello community,

here is the log from the commit of package scdoc for openSUSE:Factory checked 
in at 2019-02-25 18:00:50

Comparing /work/SRC/openSUSE:Factory/scdoc (Old)
 and  /work/SRC/openSUSE:Factory/.scdoc.new.28833 (New)


Package is "scdoc"

Mon Feb 25 18:00:50 2019 rev:5 rq:678899 version:1.9.0

Changes:

--- /work/SRC/openSUSE:Factory/scdoc/scdoc.changes  2019-02-08 
12:11:11.261519095 +0100
+++ /work/SRC/openSUSE:Factory/.scdoc.new.28833/scdoc.changes   2019-02-25 
18:00:55.618103328 +0100
@@ -1,0 +2,15 @@
+Mon Feb 25 11:42:11 UTC 2019 - mvet...@suse.com
+
+- Install pc file in /usr/share/pkgconfig/ instead of /usr/lib
+
+---
+Mon Feb 25 11:12:43 UTC 2019 - mvet...@suse.com
+
+- Update to 1.9.0:
+  * Replace localtime with gmtime
+  * Add pkg-config file, scdoc -v
+  * Allow continuation of table cells on the next line
+  * Fix link to mailing list in README
+- Add scdoc-rpmlintrc: allow .pc file
+
+---

Old:

  1.8.1.tar.gz

New:

  1.9.0.tar.gz
  scdoc-rpmlintrc



Other differences:
--
++ scdoc.spec ++
--- /var/tmp/diff_new_pack.Vy8qfg/_old  2019-02-25 18:00:56.314102786 +0100
+++ /var/tmp/diff_new_pack.Vy8qfg/_new  2019-02-25 18:00:56.314102786 +0100
@@ -17,14 +17,15 @@
 
 
 Name:   scdoc
-Version:1.8.1
+Version:1.9.0
 Release:0
 Summary:A man page generator written in C99
 License:MIT
 Group:  Development/Tools/Doc Generators
 URL:https://git.sr.ht/~sircmpwn/scdoc/
 Source: https://git.sr.ht/~sircmpwn/scdoc/archive/%{version}.tar.gz
-Patch:  scdoc-1.6.1-makefile.patch
+Source1:scdoc-rpmlintrc
+Patch0: scdoc-1.6.1-makefile.patch
 BuildRequires:  autoconf
 BuildRequires:  gcc
 BuildRequires:  glibc-devel-static
@@ -35,16 +36,17 @@
 
 %prep
 %setup -q
-%patch -p1
+%patch0 -p1
 
 %build
 make %{?_smp_mflags} 
 
 %install
-%make_install PREFIX=%{_prefix} %{?_smp_mflags}
+%make_install PREFIX=%{_prefix} PCDIR=%{buildroot}/usr/share/pkgconfig 
%{?_smp_mflags} 
 
 %files
 %{_bindir}/scdoc
 %{_mandir}/man?/scdoc.?%{?ext_man}
+/usr/share/pkgconfig/scdoc.pc
 
 %changelog

++ 1.8.1.tar.gz -> 1.9.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/scdoc-1.8.1/Makefile new/scdoc-1.9.0/Makefile
--- old/scdoc-1.8.1/Makefile2019-01-30 18:13:04.0 +0100
+++ new/scdoc-1.9.0/Makefile2019-02-24 18:20:09.0 +0100
@@ -1,4 +1,4 @@
-VERSION=1.8.1
+VERSION=1.9.0
 CFLAGS+=-g -DVERSION='"$(VERSION)"' -Wall -Wextra -Werror -Wno-unused-parameter
 LDFLAGS+=-static
 INCLUDE+=-Iinclude
@@ -6,6 +6,7 @@
 _INSTDIR=$(DESTDIR)$(PREFIX)
 BINDIR?=$(_INSTDIR)/bin
 MANDIR?=$(_INSTDIR)/share/man
+PCDIR?=$(_INSTDIR)/lib/pkgconfig
 OUTDIR=.build
 HOST_SCDOC=./scdoc
 .DEFAULT_GOAL=all
@@ -43,6 +44,7 @@
install -Dm755 scdoc $(BINDIR)/scdoc
install -Dm644 scdoc.1 $(MANDIR)/man1/scdoc.1
install -Dm644 scdoc.5 $(MANDIR)/man5/scdoc.5
+   install -Dm644 scdoc.pc $(PCDIR)/scdoc.pc
 
 check: scdoc scdoc.1 scdoc.5
@find test -perm -111 -exec '{}' \;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/scdoc-1.8.1/README.md new/scdoc-1.9.0/README.md
--- old/scdoc-1.8.1/README.md   2019-01-30 18:13:04.0 +0100
+++ new/scdoc-1.9.0/README.md   2019-02-24 18:20:09.0 +0100
@@ -18,4 +18,6 @@
 
 ## Contributing
 
-Send patches/bug reports to ~sircmpwn/public-in...@lists.sr.ht
+Send patches/bug reports to [~sircmpwn/public-in...@lists.sr.ht][mailing-list]
+
+[mailing-list]: mailto:~sircmpwn/public-in...@lists.sr.ht
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/scdoc-1.8.1/include/str.h 
new/scdoc-1.9.0/include/str.h
--- old/scdoc-1.8.1/include/str.h   1970-01-01 01:00:00.0 +0100
+++ new/scdoc-1.9.0/include/str.h   2019-02-24 18:20:09.0 +0100
@@ -0,0 +1,17 @@
+#ifndef _SCDOC_STRING_H
+#define _SCDOC_STRING_H
+#include 
+
+struct str {
+   char *str;
+   size_t len, size;
+};
+
+typedef struct str str_t;
+
+str_t *str_create();
+void str_free(str_t *str);
+void str_reset(str_t *str);
+int str_append_ch(str_t *str, uint32_t ch);
+
+#endif
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/scdoc-1.8.1/include/string.h 
new/scdoc-1.9.0/include/string.h
--- old/scdoc-1.8.1/include/string.h2019-01-30 18:13:04.0 +0100
+++ new/scdoc-1.9.0/include/string.h1970-01-01 01:00:00.0 +0100
@@ -1,17 +0,0 @@
-#ifndef _SCDOC_STRING_H
-#define _SCDOC_STRING_H
-#include 
-

commit scdoc for openSUSE:Factory

2019-02-08 Thread root
Hello community,

here is the log from the commit of package scdoc for openSUSE:Factory checked 
in at 2019-02-08 12:10:48

Comparing /work/SRC/openSUSE:Factory/scdoc (Old)
 and  /work/SRC/openSUSE:Factory/.scdoc.new.28833 (New)


Package is "scdoc"

Fri Feb  8 12:10:48 2019 rev:4 rq:672085 version:1.8.1

Changes:

--- /work/SRC/openSUSE:Factory/scdoc/scdoc.changes  2019-02-05 
11:19:18.652877672 +0100
+++ /work/SRC/openSUSE:Factory/.scdoc.new.28833/scdoc.changes   2019-02-08 
12:11:11.261519095 +0100
@@ -1,0 +2,6 @@
+Wed Feb  6 09:50:27 UTC 2019 - mvet...@suse.com
+
+- Update to 1.8.1:
+  * Use !isalnum instead of isspace for this_stuff
+
+---

Old:

  1.8.0.tar.gz

New:

  1.8.1.tar.gz



Other differences:
--
++ scdoc.spec ++
--- /var/tmp/diff_new_pack.vtzYM5/_old  2019-02-08 12:11:11.817518887 +0100
+++ /var/tmp/diff_new_pack.vtzYM5/_new  2019-02-08 12:11:11.821518885 +0100
@@ -12,12 +12,12 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via https://bugs.opensuse.org/
+# Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
 
 Name:   scdoc
-Version:1.8.0
+Version:1.8.1
 Release:0
 Summary:A man page generator written in C99
 License:MIT

++ 1.8.0.tar.gz -> 1.8.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/scdoc-1.8.0/Makefile new/scdoc-1.8.1/Makefile
--- old/scdoc-1.8.0/Makefile2019-01-27 17:09:10.0 +0100
+++ new/scdoc-1.8.1/Makefile2019-01-30 18:13:04.0 +0100
@@ -1,4 +1,4 @@
-VERSION=1.8.0
+VERSION=1.8.1
 CFLAGS+=-g -DVERSION='"$(VERSION)"' -Wall -Wextra -Werror -Wno-unused-parameter
 LDFLAGS+=-static
 INCLUDE+=-Iinclude
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/scdoc-1.8.0/src/main.c new/scdoc-1.8.1/src/main.c
--- old/scdoc-1.8.0/src/main.c  2019-01-27 17:09:10.0 +0100
+++ new/scdoc-1.8.1/src/main.c  2019-01-30 18:13:04.0 +0100
@@ -212,9 +212,7 @@
parse_format(p, FORMAT_BOLD);
break;
case '_':
-   if ((p->flags & FORMAT_UNDERLINE)) {
-   parse_format(p, FORMAT_UNDERLINE);
-   } else if (!p->flags && isspace(last)) {
+   if (!isalnum(last) || (p->flags & FORMAT_UNDERLINE)) {
parse_format(p, FORMAT_UNDERLINE);
} else {
utf8_fputch(p->output, ch);

++ scdoc-1.6.1-makefile.patch ++
--- /var/tmp/diff_new_pack.vtzYM5/_old  2019-02-08 12:11:11.885518861 +0100
+++ /var/tmp/diff_new_pack.vtzYM5/_new  2019-02-08 12:11:11.885518861 +0100
@@ -2,7 +2,7 @@
 --- scdoc-1.8.0/Makefile   2019-01-27 17:09:10.0 +0100
 +++ scdoc-1.8.0.new/Makefile   2019-02-04 10:31:38.792833379 +0100
 @@ -1,6 +1,5 @@
- VERSION=1.8.0
+ VERSION=1.8.1
  CFLAGS+=-g -DVERSION='"$(VERSION)"' -Wall -Wextra -Werror 
-Wno-unused-parameter
 -LDFLAGS+=-static
  INCLUDE+=-Iinclude




commit scdoc for openSUSE:Factory

2019-02-05 Thread root
Hello community,

here is the log from the commit of package scdoc for openSUSE:Factory checked 
in at 2019-02-05 11:19:17

Comparing /work/SRC/openSUSE:Factory/scdoc (Old)
 and  /work/SRC/openSUSE:Factory/.scdoc.new.28833 (New)


Package is "scdoc"

Tue Feb  5 11:19:17 2019 rev:3 rq:671312 version:1.8.0

Changes:

--- /work/SRC/openSUSE:Factory/scdoc/scdoc.changes  2019-02-04 
14:26:12.893030931 +0100
+++ /work/SRC/openSUSE:Factory/.scdoc.new.28833/scdoc.changes   2019-02-05 
11:19:18.652877672 +0100
@@ -1,0 +2,5 @@
+Mon Feb  4 18:39:29 UTC 2019 - Jan Engelhardt 
+
+- Ensure neutrality of descriptions.
+
+---



Other differences:
--
++ scdoc.spec ++
--- /var/tmp/diff_new_pack.T57EmY/_old  2019-02-05 11:19:19.140877404 +0100
+++ /var/tmp/diff_new_pack.T57EmY/_new  2019-02-05 11:19:19.140877404 +0100
@@ -12,14 +12,14 @@
 # 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:   scdoc
 Version:1.8.0
 Release:0
-Summary:A simple man page generator written for POSIX systems written 
in C99
+Summary:A man page generator written in C99
 License:MIT
 Group:  Development/Tools/Doc Generators
 URL:https://git.sr.ht/~sircmpwn/scdoc/
@@ -31,7 +31,7 @@
 BuildRequires:  make
 
 %description
-scdoc is a simple man page generator written for POSIX systems written in C99.
+scdoc is a man page generator written for POSIX systems written in C99.
 
 %prep
 %setup -q




commit scdoc for openSUSE:Factory

2019-02-04 Thread root
Hello community,

here is the log from the commit of package scdoc for openSUSE:Factory checked 
in at 2019-02-04 14:26:08

Comparing /work/SRC/openSUSE:Factory/scdoc (Old)
 and  /work/SRC/openSUSE:Factory/.scdoc.new.28833 (New)


Package is "scdoc"

Mon Feb  4 14:26:08 2019 rev:2 rq:671008 version:1.8.0

Changes:

--- /work/SRC/openSUSE:Factory/scdoc/scdoc.changes  2019-01-28 
20:50:11.277794886 +0100
+++ /work/SRC/openSUSE:Factory/.scdoc.new.28833/scdoc.changes   2019-02-04 
14:26:12.893030931 +0100
@@ -1,0 +2,9 @@
+Mon Feb  4 09:29:54 UTC 2019 - mvet...@suse.com
+
+- Update to 1.8.0:
+  * Use a more robust approach for in-word-underscores
+  * Deal with bogus uninitialized warning (thx gcc)
+  * Ignore underscores in the middle_of_a_word
+- Update scdoc-1.6.1-makefile.patch
+
+---

Old:

  1.6.1.tar.gz

New:

  1.8.0.tar.gz



Other differences:
--
++ scdoc.spec ++
--- /var/tmp/diff_new_pack.XMifFm/_old  2019-02-04 14:26:13.353030713 +0100
+++ /var/tmp/diff_new_pack.XMifFm/_new  2019-02-04 14:26:13.353030713 +0100
@@ -12,12 +12,12 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via https://bugs.opensuse.org/
+# Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
 
 Name:   scdoc
-Version:1.6.1
+Version:1.8.0
 Release:0
 Summary:A simple man page generator written for POSIX systems written 
in C99
 License:MIT

++ 1.6.1.tar.gz -> 1.8.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/scdoc-1.6.1/Makefile new/scdoc-1.8.0/Makefile
--- old/scdoc-1.6.1/Makefile2019-01-20 16:25:12.0 +0100
+++ new/scdoc-1.8.0/Makefile2019-01-27 17:09:10.0 +0100
@@ -1,4 +1,4 @@
-VERSION=1.6.1
+VERSION=1.8.0
 CFLAGS+=-g -DVERSION='"$(VERSION)"' -Wall -Wextra -Werror -Wno-unused-parameter
 LDFLAGS+=-static
 INCLUDE+=-Iinclude
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/scdoc-1.6.1/scdoc.5.scd new/scdoc-1.8.0/scdoc.5.scd
--- old/scdoc-1.6.1/scdoc.5.scd 2019-01-20 16:25:12.0 +0100
+++ new/scdoc-1.8.0/scdoc.5.scd 2019-01-27 17:09:10.0 +0100
@@ -45,7 +45,7 @@
 ## FORMATTING
 
 Text can be made *bold* or _underlined_ with asterisks and underscores: 
\*bold\*
-or \_underlined\_.
+or \_underlined\_. Underscores in the_middle_of_words will be disregarded.
 
 ## INDENTATION
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/scdoc-1.6.1/src/main.c new/scdoc-1.8.0/src/main.c
--- old/scdoc-1.6.1/src/main.c  2019-01-20 16:25:12.0 +0100
+++ new/scdoc-1.8.0/src/main.c  2019-01-27 17:09:10.0 +0100
@@ -194,7 +194,7 @@
 }
 
 static void parse_text(struct parser *p) {
-   uint32_t ch;
+   uint32_t ch, last = ' ';
int i = 0;
while ((ch = parser_getch(p)) != UTF8_INVALID) {
switch (ch) {
@@ -212,7 +212,13 @@
parse_format(p, FORMAT_BOLD);
break;
case '_':
-   parse_format(p, FORMAT_UNDERLINE);
+   if ((p->flags & FORMAT_UNDERLINE)) {
+   parse_format(p, FORMAT_UNDERLINE);
+   } else if (!p->flags && isspace(last)) {
+   parse_format(p, FORMAT_UNDERLINE);
+   } else {
+   utf8_fputch(p->output, ch);
+   }
break;
case '+':
parse_linebreak(p);
@@ -228,6 +234,7 @@
}
/* fallthrough */
default:
+   last = ch;
utf8_fputch(p->output, ch);
break;
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/scdoc-1.6.1/test/inline-formatting 
new/scdoc-1.8.0/test/inline-formatting
--- old/scdoc-1.6.1/test/inline-formatting  2019-01-20 16:25:12.0 
+0100
+++ new/scdoc-1.8.0/test/inline-formatting  2019-01-27 17:09:10.0 
+0100
@@ -9,6 +9,22 @@
 EOF
 end 1
 
+begin "Ignores underscores in words"
+scdoc