git: 3b1104d7b141 - main - print/publisher: Update 5.6.0 => 5.8.0

Vladimir Druzenko <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.ports
Message-ID <[email protected]>
The branch main has been updated by vvd:

URL: https://cgit.FreeBSD.org/ports/commit/?id=3b1104d7b141e4090ed3049cf971eae333a3181a

commit 3b1104d7b141e4090ed3049cf971eae333a3181a
Author:     Mister D <[email protected]>
AuthorDate: 2026-08-19 11:52:05 +0000
Commit:     Vladimir Druzenko <[email protected]>
CommitDate: 2026-08-19 11:52:05 +0000

    print/publisher: Update 5.6.0 => 5.8.0
    
    Changelog:
    https://doc.speedata.de/publisher/en/manual/changelog/version-5/#580-2026-08-17
    
    PR:             297644
    Sponsored by:   UNIS Labs
---
 print/publisher/Makefile                       |   3 +-
 print/publisher/distinfo                       |   6 +-
 print/publisher/files/modules.txt              |   3 +
 print/publisher/files/patch-src_go_sp_sp_sp.go |  48 -----------
 print/publisher/modules.txt                    | 114 -------------------------
 print/publisher/pkg-plist                      |   1 +
 6 files changed, 8 insertions(+), 167 deletions(-)

diff --git a/print/publisher/Makefile b/print/publisher/Makefile
index bb6e73b5b3a0..a60e34173eba 100644
--- a/print/publisher/Makefile
+++ b/print/publisher/Makefile
@@ -1,7 +1,6 @@
 PORTNAME=	publisher
 DISTVERSIONPREFIX=	v
-DISTVERSION=	5.6.0
-PORTREVISION=	1
+DISTVERSION=	5.8.0
 CATEGORIES=	print
 
 MAINTAINER=	[email protected]
diff --git a/print/publisher/distinfo b/print/publisher/distinfo
index 907e81a8b6cc..e151a721f26e 100644
--- a/print/publisher/distinfo
+++ b/print/publisher/distinfo
@@ -1,6 +1,6 @@
-TIMESTAMP = 1783698335
-SHA256 (speedata-publisher-v5.6.0_GH0.tar.gz) = a4ef2deba447d50fcc01df3226c91b7a98c2c2ecc79dbf1d186c76f625fed935
-SIZE (speedata-publisher-v5.6.0_GH0.tar.gz) = 27058143
+TIMESTAMP = 1787057485
+SHA256 (speedata-publisher-v5.8.0_GH0.tar.gz) = 2bf45b49b286c32aa4d74269356112a704aa6e0fca66a99c57ad6c53c8bd46d8
+SIZE (speedata-publisher-v5.8.0_GH0.tar.gz) = 28880049
 SHA256 (Masterminds-semver-v1.5.0_GH0.tar.gz) = c9140eddfb03dc862f826e7761561260b9a840afa7519cc0919e89a43b5be5ba
 SIZE (Masterminds-semver-v1.5.0_GH0.tar.gz) = 21188
 SHA256 (PuerkitoBio-goquery-v1.9.1_GH0.tar.gz) = ad303bf30070c34fa0f05d2701b7bd024642e0183708a96ed0d2b837b21f4d1a
diff --git a/print/publisher/files/modules.txt b/print/publisher/files/modules.txt
index 645500096bbf..aaa324267cf5 100644
--- a/print/publisher/files/modules.txt
+++ b/print/publisher/files/modules.txt
@@ -95,6 +95,7 @@ golang.org/x/sys/unix
 golang.org/x/sys/windows
 # golang.org/x/text v0.36.0
 ## explicit; go 1.25.0
+golang.org/x/text/cases
 golang.org/x/text/encoding
 golang.org/x/text/encoding/charmap
 golang.org/x/text/encoding/htmlindex
@@ -105,6 +106,7 @@ golang.org/x/text/encoding/korean
 golang.org/x/text/encoding/simplifiedchinese
 golang.org/x/text/encoding/traditionalchinese
 golang.org/x/text/encoding/unicode
+golang.org/x/text/internal
 golang.org/x/text/internal/language
 golang.org/x/text/internal/language/compact
 golang.org/x/text/internal/tag
@@ -112,3 +114,4 @@ golang.org/x/text/internal/utf8internal
 golang.org/x/text/language
 golang.org/x/text/runes
 golang.org/x/text/transform
+golang.org/x/text/unicode/norm
diff --git a/print/publisher/files/patch-src_go_sp_sp_sp.go b/print/publisher/files/patch-src_go_sp_sp_sp.go
deleted file mode 100644
index c6086b603e33..000000000000
--- a/print/publisher/files/patch-src_go_sp_sp_sp.go
+++ /dev/null
@@ -1,48 +0,0 @@
---- src/go/sp/sp/sp.go.orig	2026-06-03 15:31:18 UTC
-+++ src/go/sp/sp/sp.go
-@@ -512,32 +512,27 @@ func prependXML(arg string) {
- }
- 
- // Return the full path to the TeX executable. It is called sdluatex(.exe) and
--// can be overridden by the 'luatex' option. It panics if the TeX binary cannot
--// be found.
-+// can be overridden by the 'luatex' option. As a fallback, luahbtex(.exe) is
-+// also accepted. It panics if no TeX binary can be found.
- func getExecutablePath() string {
--	// 1 check the installdir/bin for sdluatex(.exe)
--	// 2 panic!
- 	if luatex := getOption("luatex"); luatex != "" {
- 		return luatex
- 	}
--	executableName := "sdluatex" + exeSuffix
--	var p string
- 
--	// 1 check the installdir/bin for sdluatex(.exe)
--	p = filepath.Join(installdir, "bin", executableName)
--	fi, _ := os.Stat(p)
--	if fi != nil {
--		return p
--	}
-+	for _, name := range []string{"sdluatex", "luahbtex"} {
-+		executableName := name + exeSuffix
- 
--	// 2 look in the PATH
--	executableName, err := exec.LookPath("sdluatex" + exeSuffix)
--	if err == nil {
--		return executableName
-+		p := filepath.Join(installdir, "bin", executableName)
-+		if fi, _ := os.Stat(p); fi != nil {
-+			return p
-+		}
-+
-+		if p, err := exec.LookPath(executableName); err == nil {
-+			return p
-+		}
- 	}
- 
--	// 3 panic!
--	log.Fatal("Can't find sdluatex binary")
-+	log.Fatal("Can't find sdluatex or luahbtex binary")
- 	return ""
- }
- 
diff --git a/print/publisher/modules.txt b/print/publisher/modules.txt
deleted file mode 100644
index 645500096bbf..000000000000
--- a/print/publisher/modules.txt
+++ /dev/null
@@ -1,114 +0,0 @@
-# github.com/Masterminds/semver v1.5.0
-## explicit
-github.com/Masterminds/semver
-# github.com/PuerkitoBio/goquery v1.9.1
-## explicit; go 1.18
-github.com/PuerkitoBio/goquery
-# github.com/alecthomas/chroma/v2 v2.13.0
-## explicit; go 1.19
-github.com/alecthomas/chroma/v2
-github.com/alecthomas/chroma/v2/formatters/html
-github.com/alecthomas/chroma/v2/lexers
-github.com/alecthomas/chroma/v2/styles
-# github.com/andybalholm/cascadia v1.3.2
-## explicit; go 1.16
-github.com/andybalholm/cascadia
-# github.com/dlclark/regexp2 v1.11.0
-## explicit; go 1.13
-github.com/dlclark/regexp2
-github.com/dlclark/regexp2/syntax
-# github.com/fsnotify/fsnotify v1.7.0
-## explicit; go 1.17
-github.com/fsnotify/fsnotify
-# github.com/gammazero/deque v0.2.1
-## explicit; go 1.18
-github.com/gammazero/deque
-# github.com/gammazero/workerpool v1.1.3
-## explicit; go 1.18
-github.com/gammazero/workerpool
-# github.com/google/btree v1.1.2
-## explicit; go 1.18
-github.com/google/btree
-# github.com/gorilla/mux v1.8.1
-## explicit; go 1.20
-github.com/gorilla/mux
-# github.com/gregjones/httpcache v0.0.0-20190611155906-901d90724c79
-## explicit
-github.com/gregjones/httpcache
-github.com/gregjones/httpcache/diskcache
-# github.com/inconshreveable/mousetrap v1.1.0
-## explicit; go 1.18
-github.com/inconshreveable/mousetrap
-# github.com/peterbourgon/diskv v2.0.1+incompatible
-## explicit
-github.com/peterbourgon/diskv
-# github.com/speedata/bild v0.0.0-20240628091728-dd063a632b14
-## explicit; go 1.21
-github.com/speedata/bild/clone
-github.com/speedata/bild/imgio
-github.com/speedata/bild/math/f64
-github.com/speedata/bild/parallel
-github.com/speedata/bild/transform
-# github.com/speedata/config v0.0.0-20181203093101-3a3f44982ec4
-## explicit
-github.com/speedata/config
-# github.com/speedata/css/scanner v0.0.0-20250825095519-68d469dc62c4
-## explicit; go 1.14
-github.com/speedata/css/scanner
-# github.com/speedata/go-lua v0.1.8
-## explicit; go 1.22
-github.com/speedata/go-lua
-# github.com/speedata/goxlsx v1.0.2
-## explicit
-github.com/speedata/goxlsx
-# github.com/speedata/hotfolder v0.0.0-20181204121114-5f743a840a92
-## explicit
-github.com/speedata/hotfolder
-# github.com/speedata/optionparser v1.2.1
-## explicit; go 1.17
-github.com/speedata/optionparser
-# github.com/yuin/goldmark v1.7.1
-## explicit; go 1.19
-github.com/yuin/goldmark
-github.com/yuin/goldmark/ast
-github.com/yuin/goldmark/extension
-github.com/yuin/goldmark/extension/ast
-github.com/yuin/goldmark/parser
-github.com/yuin/goldmark/renderer
-github.com/yuin/goldmark/renderer/html
-github.com/yuin/goldmark/text
-github.com/yuin/goldmark/util
-# github.com/yuin/goldmark-highlighting/v2 v2.0.0-20230729083705-37449abec8cc
-## explicit; go 1.13
-github.com/yuin/goldmark-highlighting/v2
-# golang.org/x/image v0.39.0
-## explicit; go 1.25.0
-golang.org/x/image/bmp
-# golang.org/x/net v0.53.0
-## explicit; go 1.25.0
-golang.org/x/net/html
-golang.org/x/net/html/atom
-golang.org/x/net/html/charset
-# golang.org/x/sys v0.43.0
-## explicit; go 1.25.0
-golang.org/x/sys/unix
-golang.org/x/sys/windows
-# golang.org/x/text v0.36.0
-## explicit; go 1.25.0
-golang.org/x/text/encoding
-golang.org/x/text/encoding/charmap
-golang.org/x/text/encoding/htmlindex
-golang.org/x/text/encoding/internal
-golang.org/x/text/encoding/internal/identifier
-golang.org/x/text/encoding/japanese
-golang.org/x/text/encoding/korean
-golang.org/x/text/encoding/simplifiedchinese
-golang.org/x/text/encoding/traditionalchinese
-golang.org/x/text/encoding/unicode
-golang.org/x/text/internal/language
-golang.org/x/text/internal/language/compact
-golang.org/x/text/internal/tag
-golang.org/x/text/internal/utf8internal
-golang.org/x/text/language
-golang.org/x/text/runes
-golang.org/x/text/transform
diff --git a/print/publisher/pkg-plist b/print/publisher/pkg-plist
index 79c0c1796212..f2b444769902 100644
--- a/print/publisher/pkg-plist
+++ b/print/publisher/pkg-plist
@@ -100,6 +100,7 @@ share/speedata-publisher/sw/lua/par.lua
 share/speedata-publisher/sw/lua/publisher.lua
 share/speedata-publisher/sw/lua/publisher/attributes.lua
 share/speedata-publisher/sw/lua/publisher/colors.lua
+share/speedata-publisher/sw/lua/publisher/commandattributes.lua
 share/speedata-publisher/sw/lua/publisher/commands.lua
 share/speedata-publisher/sw/lua/publisher/dispatch.lua
 share/speedata-publisher/sw/lua/publisher/drawing.lua
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.