Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Aug 2024 09:17:16 -0400
From:      "Jason E. Hale" <jhale@freebsd.org>
To:        Daniel Engberg <diizzy@freebsd.org>
Cc:        ports-committers@freebsd.org, dev-commits-ports-all@freebsd.org,  dev-commits-ports-main@freebsd.org
Subject:   Re: git: 5938202e494d - main - audio/libmusicbrainz5: Update to latest commit 2023-10-09
Message-ID:  <CAJE75NG0Ucs6aoajERKKga_iqsrKDn==FgXg0Un5gv=aL6vovA@mail.gmail.com>
In-Reply-To: <202408251303.47PD3Udm090874@gitrepo.freebsd.org>
References:  <202408251303.47PD3Udm090874@gitrepo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Aug 25, 2024 at 9:03=E2=80=AFAM Daniel Engberg <diizzy@freebsd.org>=
 wrote:
>
> The branch main has been updated by diizzy:
>
> URL: https://cgit.FreeBSD.org/ports/commit/?id=3D5938202e494d65dc5d008212=
7134a6b412629552
>
> commit 5938202e494d65dc5d0082127134a6b412629552
> Author:     Daniel Engberg <diizzy@FreeBSD.org>
> AuthorDate: 2024-08-25 12:59:30 +0000
> Commit:     Daniel Engberg <diizzy@FreeBSD.org>
> CommitDate: 2024-08-25 13:02:49 +0000
>
>     audio/libmusicbrainz5: Update to latest commit 2023-10-09
>
>     Fixes build with libxml2 2.12.0 and newer
>
>     PR:             279749
>     Reviewed by:    jhale (maintainer)
> ---
>  audio/libmusicbrainz5/Makefile                       |  9 ++++-----
>  audio/libmusicbrainz5/distinfo                       |  6 +++---
>  audio/libmusicbrainz5/files/patch-src_CMakeLists.txt | 14 ++------------
>  audio/libmusicbrainz5/pkg-plist                      |  8 ++++++--
>  4 files changed, 15 insertions(+), 22 deletions(-)
>
> diff --git a/audio/libmusicbrainz5/Makefile b/audio/libmusicbrainz5/Makef=
ile
> index 5c4f0dcb636a..9a3309b36cbe 100644
> --- a/audio/libmusicbrainz5/Makefile
> +++ b/audio/libmusicbrainz5/Makefile
> @@ -1,8 +1,7 @@
>  PORTNAME=3D      libmusicbrainz
>  DISTVERSIONPREFIX=3D     release-
> -DISTVERSION=3D   5.1.0-19
> -PORTREVISION=3D  2
> -DISTVERSIONSUFFIX=3D     -ge29cc9a
> +DISTVERSION=3D   5.1.0-41
> +DISTVERSIONSUFFIX=3D     -g4655b57
>  CATEGORIES=3D    audio
>  PKGNAMESUFFIX=3D 5
>
> @@ -15,7 +14,7 @@ LICENSE_FILE=3D ${WRKSRC}/COPYING.txt
>
>  LIB_DEPENDS=3D   libneon.so:www/neon
>
> -USES=3D          cmake compiler:c++11-lang gnome iconv:build pathfix
> +USES=3D          cmake compiler:c++11-lang gnome iconv:build pathfix pkg=
config
>  USE_GNOME=3D     libxml2
>  USE_LDCONFIG=3D  yes
>
> @@ -25,8 +24,8 @@ GH_ACCOUNT=3D   metabrainz
>  post-patch:
>         ${REINPLACE_CMD} -e 's|%%ICONV_PREFIX%%|${ICONV_PREFIX}|g' \
>                  ${WRKSRC}/src/CMakeLists.txt
> +       ${RM} ${WRKSRC}/cmake/modules/FindLibXml2.cmake
>         ${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \
>                  ${WRKSRC}/cmake/modules/*.cmake
> -       ${RM} ${WRKSRC}/cmake/modules/FindLibXml2.cmake
>
>  .include <bsd.port.mk>
> diff --git a/audio/libmusicbrainz5/distinfo b/audio/libmusicbrainz5/disti=
nfo
> index 6b171e5f2cac..5c473c406d64 100644
> --- a/audio/libmusicbrainz5/distinfo
> +++ b/audio/libmusicbrainz5/distinfo
> @@ -1,3 +1,3 @@
> -TIMESTAMP =3D 1603483215
> -SHA256 (metabrainz-libmusicbrainz-release-5.1.0-19-ge29cc9a_GH0.tar.gz) =
=3D 59ea04531607e0e1f552da150b263ee8cd55ccbc8c96f6f3cd7d2d7dab63db28
> -SIZE (metabrainz-libmusicbrainz-release-5.1.0-19-ge29cc9a_GH0.tar.gz) =
=3D 78950
> +TIMESTAMP =3D 1719347045
> +SHA256 (metabrainz-libmusicbrainz-release-5.1.0-41-g4655b57_GH0.tar.gz) =
=3D a3eca6bd3612e4d87bd67cc0128a329b740d24cfdcd5bef73c1f0fdda4d7f835
> +SIZE (metabrainz-libmusicbrainz-release-5.1.0-41-g4655b57_GH0.tar.gz) =
=3D 79236
> diff --git a/audio/libmusicbrainz5/files/patch-src_CMakeLists.txt b/audio=
/libmusicbrainz5/files/patch-src_CMakeLists.txt
> index 0cf2f0601718..83a16e250508 100644
> --- a/audio/libmusicbrainz5/files/patch-src_CMakeLists.txt
> +++ b/audio/libmusicbrainz5/files/patch-src_CMakeLists.txt
> @@ -1,4 +1,4 @@
> ---- src/CMakeLists.txt.orig    2015-07-06 20:45:19 UTC
> +--- src/CMakeLists.txt.orig    2024-06-25 20:26:30 UTC
>  +++ src/CMakeLists.txt
>  @@ -5,6 +5,7 @@ INCLUDE_DIRECTORIES(
>         ${CMAKE_CURRENT_BINARY_DIR}/../include
> @@ -7,14 +7,4 @@
>  +      %%ICONV_PREFIX%%/include
>   )
>
> - SET(_sources Alias.cc Annotation.cc Artist.cc ArtistCredit.cc Attribute=
.cc CDStub.cc Collection.cc
> -@@ -36,7 +37,8 @@ ADD_CUSTOM_COMMAND(
> -       OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/mb5_c.cc ${CMAKE_CURRENT_BINAR=
Y_DIR}/mb5_c.h ${CMAKE_CURRENT_BINARY_DIR}/../include/musicbrainz5/mb5_c.h
> -       COMMAND make-c-interface ${CMAKE_CURRENT_SOURCE_DIR} cinterface.x=
ml ${CMAKE_CURRENT_BINARY_DIR} mb5_c.cc mb5_c.h
> -       COMMAND ${CMAKE_COMMAND} -E copy_if_different   ${CMAKE_CURRENT_B=
INARY_DIR}/mb5_c.h ${CMAKE_CURRENT_BINARY_DIR}/../include/musicbrainz5/mb5_=
c.h
> --      DEPENDS make-c-interface cinterface.xml *.inc
> -+      DEPENDS make-c-interface cinterface.xml c-int-medium-defines.inc =
c-int-query-source.inc c-int-source-funcs.inc
> -+                c-int-medium-source.inc c-int-release-defines.inc c-int=
-query-defines.inc c-int-release-source.inc
> - )
> -
> - ADD_CUSTOM_TARGET(src_gen DEPENDS mb5_c.h)
> + SET(_sources_cc Alias.cc Annotation.cc Artist.cc ArtistCredit.cc Attrib=
ute.cc CDStub.cc Collection.cc
> diff --git a/audio/libmusicbrainz5/pkg-plist b/audio/libmusicbrainz5/pkg-=
plist
> index c21bd5b8af45..bd4cf6c8491a 100644
> --- a/audio/libmusicbrainz5/pkg-plist
> +++ b/audio/libmusicbrainz5/pkg-plist
> @@ -69,6 +69,10 @@ include/musicbrainz5/defines.h
>  include/musicbrainz5/mb5_c.h
>  include/musicbrainz5/xmlParser.h
>  lib/libmusicbrainz5.so
> -lib/libmusicbrainz5.so.1
> -lib/libmusicbrainz5.so.1.0.0
> +lib/libmusicbrainz5.so.2
> +lib/libmusicbrainz5.so.2.0.0
> +lib/libmusicbrainz5cc.so
> +lib/libmusicbrainz5cc.so.2
> +lib/libmusicbrainz5cc.so.2.0.0
>  libdata/pkgconfig/libmusicbrainz5.pc
> +libdata/pkgconfig/libmusicbrainz5cc.pc

Due to the shlib version bump, PORTREVISION needs bumped on consumers.

- Jason



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJE75NG0Ucs6aoajERKKga_iqsrKDn==FgXg0Un5gv=aL6vovA>