From: Stuart Henderson Subject: Re: [UPDATE] devel/msgpack-6.0.0 To: SASANO Takayoshi Cc: ports@openbsd.org Date: Fri, 2 Feb 2024 13:41:05 +0000 On 2024/02/02 21:28, SASANO Takayoshi wrote: > Hi, > > here is the msgpack-5.0.0 -> 6.0.0 update. > > From this release, the name "msgpackc" become "msgpack-c" > (see https://github.com/msgpack/msgpack-c/releases/tag/c-6.0.0), > this might widely affect I think. > > Should we update this library? It will need doing sometime. It's probably easier to do it sooner rather than later before more other ports start using it. These ports will need changes to adapt: editors/neovim editors/neovim-qt sysutils/tmate > And, I want to add msgpack-cxx (for C++) to build OpenDHT, > is this port conbined into devel/msgpack or devel/msgpack-cxx? > (msgpack-cxx is 6.1.0, and no msgpack-c 6.1.0). msgpack-c and msgpack-cxx are separate distributions, it makes most sense to use separate ports. > Index: Makefile > =================================================================== > RCS file: /cvs/ports/devel/msgpack/Makefile,v > diff -u -p -r1.18 Makefile > --- Makefile 21 Sep 2023 09:50:01 -0000 1.18 > +++ Makefile 2 Feb 2024 12:19:12 -0000 > @@ -1,10 +1,10 @@ > COMMENT = MessagePack implementation for C and C++ > > -V = 5.0.0 > +V = 6.0.0 > DISTNAME = msgpack-c-${V} > PKGNAME = msgpack-${V} > > -SHARED_LIBS += msgpackc 2.0 # 2.0 > +SHARED_LIBS += msgpack-c 2.0 # 2.0 the name changes, so that can go back to 0.0. > CATEGORIES = devel > > @@ -21,7 +21,7 @@ BUILD_DEPENDS = devel/gtest>=1.11.0pl20 > TEST_DEPENDS = devel/gtest>=1.11.0pl20220208 > > # evertyhing except tests > -ALL_TARGET = msgpackc msgpackc-static > +ALL_TARGET = msgpack-c msgpack-c-static > > # build whatever is left (ca. 22 C++ test files) > pre-test: > Index: distinfo > =================================================================== > RCS file: /cvs/ports/devel/msgpack/distinfo,v > diff -u -p -r1.6 distinfo > --- distinfo 2 Sep 2023 11:10:13 -0000 1.6 > +++ distinfo 2 Feb 2024 12:19:12 -0000 > @@ -1,2 +1,2 @@ > -SHA256 (msgpack-c-5.0.0.tar.gz) = 62138y26qukXTZbKz+Aq8wvx6jKcRQGAdM2VrG5vpuU= > -SIZE (msgpack-c-5.0.0.tar.gz) = 69275 > +SHA256 (msgpack-c-6.0.0.tar.gz) = NlT14sZS3FLgqZPicLtX1XArJicD8DdxwVK7pRYCrro= > +SIZE (msgpack-c-6.0.0.tar.gz) = 69341 > Index: pkg/PLIST > =================================================================== > RCS file: /cvs/ports/devel/msgpack/pkg/PLIST,v > diff -u -p -r1.6 PLIST > --- pkg/PLIST 2 Sep 2023 11:10:13 -0000 1.6 > +++ pkg/PLIST 2 Feb 2024 12:19:12 -0000 > @@ -19,11 +19,11 @@ include/msgpack/vrefbuffer.h > include/msgpack/zbuffer.h > include/msgpack/zone.h > lib/cmake/ > -lib/cmake/msgpackc/ > -lib/cmake/msgpackc/msgpackc-config-version.cmake > -lib/cmake/msgpackc/msgpackc-config.cmake > -lib/cmake/msgpackc/msgpackc-targets${MODCMAKE_BUILD_SUFFIX} > -lib/cmake/msgpackc/msgpackc-targets.cmake > -@static-lib lib/libmsgpackc.a > -@lib lib/libmsgpackc.so.${LIBmsgpackc_VERSION} > -lib/pkgconfig/msgpack.pc > +lib/cmake/msgpack-c/ > +lib/cmake/msgpack-c/msgpack-c-config-version.cmake > +lib/cmake/msgpack-c/msgpack-c-config.cmake > +lib/cmake/msgpack-c/msgpack-c-targets${MODCMAKE_BUILD_SUFFIX} > +lib/cmake/msgpack-c/msgpack-c-targets.cmake > +@static-lib lib/libmsgpack-c.a > +@lib lib/libmsgpack-c.so.${LIBmsgpack-c_VERSION} > +lib/pkgconfig/msgpack-c.pc > > -- > SASANO Takayoshi (JG1UAA) >