On 2023/07/17 00:00, Grigory Kirillov wrote:
> Hello, OpenBSD ports team!
> 
> I write to you because old gumbo-parser repository has been archived and 
> marked
> unmaintained by original author (actually it was unmaintained since 2016).
> 
> Fortunately I created fork which continues the ideas of the original project,
> monitors bug reports and is being maintained. It's hosted on Codeberg 
> (grisha/gumbo-parser).
> 
> In the new release of gumbo-parser 0.11.0 I added support for picture tag and
> made one of the build script compatible with Python 3. Also all email 
> addresses
> for bug reporting were changed to my email address.
> 
> Main reasoning behind this move is my use of gumbo-parser in one of the 
> software
> projects, which strives to develop and unmaintained gumbo-parser is a block on
> the way to this.
> 
> I humbly ask you to update gumbo-parser to 0.11.0 changing source repo to 
> page on
> Codeberg (grisha/gumbo-parser). Thank you very much :)
> 
> Best regards, Grigory Kirillov
> 

Here's a ports diff, but I don't have time to test with dependent
ports at the moment (besides newsraft, it's also used by a few others
like mupdf, claws-mail, and p5-HTML-Gumbo which is used by RT).

I've bumped the shared library version because of the change in
kGumboTagNames though it's possible that wasn't necessary.

/usr/local/lib/libgumbo.so.0.0 -->
/pobj/gumbo-0.11.0/fake-amd64//usr/local/lib/libgumbo.so.0.0
Dynamic export changes:
data object sizes changes:
        kGumboTagNames 1216 --> 1224

Index: Makefile
===================================================================
RCS file: /cvs/ports/www/gumbo/Makefile,v
retrieving revision 1.5
diff -u -p -r1.5 Makefile
--- Makefile    11 Mar 2022 20:09:54 -0000      1.5
+++ Makefile    17 Jul 2023 20:26:57 -0000
@@ -1,19 +1,22 @@
 COMMENT =      HTML5 parsing library in pure C99
 
-GH_ACCOUNT =   google
-GH_PROJECT =   gumbo-parser
-GH_TAGNAME =   v0.10.1
+V =            0.11.0
+DISTNAME =     gumbo-parser-$V
+DISTFILES =    ${DISTNAME}{$V}.tar.gz
+PKGNAME =      gumbo-$V
+WRKDIST =      ${WRKDIR}/gumbo-parser
 
-PKGNAME =      ${DISTNAME:S/-parser//}
-REVISION =     0
-
-SHARED_LIBS += gumbo   0.0 # 1.0
+SHARED_LIBS += gumbo   1.0 # 1.0
 
 CATEGORIES =   www
 
+HOMEPAGE =     https://codeberg.org/grisha/gumbo-parser
+
 # Apache 2.0
 PERMIT_PACKAGE =       Yes
 
+MASTER_SITES = https://codeberg.org/grisha/gumbo-parser/archive/
+
 TEST_DEPENDS = devel/gtest
 
 CONFIGURE_STYLE =      autoreconf
@@ -21,8 +24,8 @@ CONFIGURE_STYLE =     autoreconf
 # Allow gtest detection
 CONFIGURE_ENV =        LDFLAGS=-L${LOCALBASE}/lib
 
-AUTOCONF_VERSION =     2.69
-AUTOMAKE_VERSION =     1.15
+AUTOCONF_VERSION =     2.71
+AUTOMAKE_VERSION =     1.16
 AUTORECONF =           ./autogen.sh
 
 pre-test:
Index: distinfo
===================================================================
RCS file: /cvs/ports/www/gumbo/distinfo,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 distinfo
--- distinfo    21 Aug 2018 09:28:20 -0000      1.1.1.1
+++ distinfo    17 Jul 2023 20:26:57 -0000
@@ -1,2 +1,2 @@
-SHA256 (gumbo-parser-0.10.1.tar.gz) = 
KEYwU9RKXfvEt3vPScjO4Rkzj/pjbMF/wzeEIdcU760=
-SIZE (gumbo-parser-0.10.1.tar.gz) = 2119285
+SHA256 (gumbo-parser-0.11.0.tar.gz) = 
0GiODcVNpSJIUGY4zqT6OjSnceTXrzxhy9ll7usqjX0=
+SIZE (gumbo-parser-0.11.0.tar.gz) = 2119456
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/www/gumbo/pkg/PLIST,v
retrieving revision 1.2
diff -u -p -r1.2 PLIST
--- pkg/PLIST   11 Mar 2022 20:09:54 -0000      1.2
+++ pkg/PLIST   17 Jul 2023 20:26:57 -0000
@@ -1,6 +1,6 @@
 include/gumbo.h
 include/tag_enum.h
-lib/libgumbo.a
+@static-lib lib/libgumbo.a
 lib/libgumbo.la
 @lib lib/libgumbo.so.${LIBgumbo_VERSION}
 lib/pkgconfig/gumbo.pc

Reply via email to