From nobody Thu Dec 5 20:16:03 2024 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Y45Hl4wV7z5fbhF; Thu, 05 Dec 2024 20:16:03 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Y45Hl4LJsz4SRr; Thu, 5 Dec 2024 20:16:03 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1733429763; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=JcV+MBLSOo3uK4RuR8iuUx2gvKspSvSwUCcgMIU9tLQ=; b=ULuYblP1mO+gahl3BAZf5fj7i3T9H962iN3m+H9XBu5wGvCSJIRxds8f6Q1SbZg+j5xyPO U4XfDf/CsC3iRjATx8Nyfozx8DaOd1p6Oi/xwZfya9vWOeslkzxVk15U3gVI7o0EWESU8b z2idI/iuGMl2Y+lXOjpKsy8TUAKYOWdmYqa0jGrbAorfRyGxEEJPgMw1yJqoRU8TpBMLBD qu1PNzVakc/Pguzx3acRXKAtCsIGEI7hDoLCBvQzmguUFdkZjLwNdY8EzmrdOq8EZHq1P1 cjNulB3USEkh8bodjm82bijP1DgX3zhEw3wNmzxkMNCNRYjxI0C9m7kUlXv8vg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1733429763; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=JcV+MBLSOo3uK4RuR8iuUx2gvKspSvSwUCcgMIU9tLQ=; b=BkZM/MvLZK70jE4Cgaekj0anGbZ49xyrvOJu3cPVrIRkAxG1UCexsjwkRK4Itaa/GC1q35 Z8TAVdSdAUbO/2smKw0/HYa5282hTvLVPMFm5pRa2hwo9ZgqaGqAdVf2EqpdU/tDqlkpai 6TcxO4O8+53uL+1+KWNsQfj/T94lrRfDJvSs3ZGzBzt4NPaCK1B7dcQjMJlldJf5T4i5h+ fVZpWT7SYNLcp4/2KSJ+yu0GhLPWyUwn81ruGQvIp6M4Egn6Yu/Ip2FE18fvzus9GUSned uaim+5x3oJMzYSMIkenghrn9iGoaVcjD/sej8MPjAbtzzFOKBWyfSnvG6z2/Uw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1733429763; a=rsa-sha256; cv=none; b=wisF/T/cgIzQL0HC1YMHef57R1dX90NF1mCVXVyWPfqCoE5kihnsW+E1OFI5gsuOn6LA0W 4RWLDcx4Vb5oMDjjp7BuPK9NZuruP7sRuadu3pZqMhYWGyZjCipEuYqeIaQh1fz76uJzTU 55nvLuVj7Vp1+uXTJAf6yPJw6d0lxBBgqt2wWwAJujYsz4NHHLXFTWVmJgdBqsQ0fSk3TM IrlaeiznupQBzVBTebu35rx0Szk06bajts/cl16KL2jM0YPnR/WQLxRnTMfIK9g1ZW0teH fn0MiyW4+IZdyaK6q9UbykIiJyC9nqIAqLJNlC6zTuhJe12/ColvfRet0X6d0g== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Y45Hl3xqwz171L; Thu, 5 Dec 2024 20:16:03 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 4B5KG32x044686; Thu, 5 Dec 2024 20:16:03 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4B5KG3Br044683; Thu, 5 Dec 2024 20:16:03 GMT (envelope-from git) Date: Thu, 5 Dec 2024 20:16:03 GMT Message-Id: <202412052016.4B5KG3Br044683@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Charlie Li Subject: git: 92a9f9d9b564 - main - x11-toolkits/pangomm: update to 2.46.4 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: vishwin X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 92a9f9d9b564f926d8f4d34a1cfde47ae3d9e113 Auto-Submitted: auto-generated The branch main has been updated by vishwin: URL: https://cgit.FreeBSD.org/ports/commit/?id=92a9f9d9b564f926d8f4d34a1cfde47ae3d9e113 commit 92a9f9d9b564f926d8f4d34a1cfde47ae3d9e113 Author: Charlie Li AuthorDate: 2024-12-05 20:03:51 +0000 Commit: Charlie Li CommitDate: 2024-12-05 20:15:52 +0000 x11-toolkits/pangomm: update to 2.46.4 Converted to meson and removed REFERENCE_PORT vestiges. PORTSCOUT limited to the 2.46 series as 2.48 and later have an incompatible API intended for GTK4 consumers. Changelog: https://gitlab.gnome.org/GNOME/pangomm/-/blob/2.46.4/NEWS Reviewed by: tcberner, arrowd Differential Revision: https://reviews.freebsd.org/D33940 --- x11-toolkits/pangomm/Makefile | 39 ++++++---------------- x11-toolkits/pangomm/distinfo | 6 ++-- .../pangomm/files/patch-pango_pangomm_attributes.h | 22 ------------ .../files/patch-tools_extra__defs__gen_meson.build | 10 ++++++ 4 files changed, 24 insertions(+), 53 deletions(-) diff --git a/x11-toolkits/pangomm/Makefile b/x11-toolkits/pangomm/Makefile index f9ddaf64ed79..f948992abb1b 100644 --- a/x11-toolkits/pangomm/Makefile +++ b/x11-toolkits/pangomm/Makefile @@ -1,42 +1,25 @@ PORTNAME= pangomm -PORTVERSION= 2.40.1 -PORTREVISION?= 6 +PORTVERSION= 2.46.4 CATEGORIES= x11-toolkits MASTER_SITES= GNOME -DIST_SUBDIR= gnome2 +DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org COMMENT= C++ wrapper for Pango -WWW= http://gtkmm.sourceforge.net/ +WWW= https://www.gtkmm.org/ LICENSE= LGPL21 -USES= tar:xz - -.if !defined(REFERENCE_PORT) -PORTSCOUT= limitw:1,even - -USES+= compiler:c++11-lang gmake gnome libtool localbase pathfix \ - pkgconfig -USE_CXXSTD= c++11 +USES= compiler:c++11-lang gnome localbase meson pkgconfig \ + python:build tar:xz USE_GNOME= cairomm glibmm pango -GNU_CONFIGURE= yes -USE_LDCONFIG= yes -CONFIGURE_ARGS= --disable-documentation \ - --enable-static=yes -INSTALL_TARGET= install-strip -BINARY_WRAPPERS= gm4 -PLIST_SUB= VERSION="2.4" API_VERSION="1.4" +USE_LDCONFIG= yes +MESON_ARGS= -Ddefault_library=both +BINARY_ALIAS= python3=${PYTHON_CMD} -post-patch: -.for d in tests - @${REINPLACE_CMD} -e '/^SUBDIRS =/s/${d}//' \ - ${WRKSRC}/Makefile.in -.endfor +# 2.48 and later are incompatible +PORTSCOUT= limit:^2\.46 +PLIST_SUB= API_VERSION=1.4 .include - -.else -PORTSCOUT= ignore:1 -.endif diff --git a/x11-toolkits/pangomm/distinfo b/x11-toolkits/pangomm/distinfo index 426a001745c3..6ba4ec5cfcbb 100644 --- a/x11-toolkits/pangomm/distinfo +++ b/x11-toolkits/pangomm/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1491167697 -SHA256 (gnome2/pangomm-2.40.1.tar.xz) = 9762ee2a2d5781be6797448d4dd2383ce14907159b30bc12bf6b08e7227be3af -SIZE (gnome2/pangomm-2.40.1.tar.xz) = 810384 +TIMESTAMP = 1733426036 +SHA256 (gnome/pangomm-2.46.4.tar.xz) = b92016661526424de4b9377f1512f59781f41fb16c9c0267d6133ba1cd68db22 +SIZE (gnome/pangomm-2.46.4.tar.xz) = 695088 diff --git a/x11-toolkits/pangomm/files/patch-pango_pangomm_attributes.h b/x11-toolkits/pangomm/files/patch-pango_pangomm_attributes.h deleted file mode 100644 index 70e3f057e9f6..000000000000 --- a/x11-toolkits/pangomm/files/patch-pango_pangomm_attributes.h +++ /dev/null @@ -1,22 +0,0 @@ -https://gitlab.gnome.org/GNOME/pangomm/-/commit/a8ab02ac9b96 -https://gitlab.gnome.org/GNOME/pangomm/-/commit/c098f35144ff - -attrlist.cc:38:20: error: use of undeclared identifier 'pango_parse_markup' - gboolean bTest = pango_parse_markup(markup_text.c_str(), -1 /* means null-terminated */, accel_marker, - ^ -attrlist.cc:65:20: error: use of undeclared identifier 'pango_parse_markup' - gboolean bTest = pango_parse_markup(markup_text.c_str(), -1 /* means null-terminated */, accel_marker, - ^ - ---- pango/pangomm/attributes.h.orig 2016-08-19 13:58:37 UTC -+++ pango/pangomm/attributes.h -@@ -30,6 +30,9 @@ - #include - #include - #include -+#if __has_include() -+#include -+#endif - #include - - diff --git a/x11-toolkits/pangomm/files/patch-tools_extra__defs__gen_meson.build b/x11-toolkits/pangomm/files/patch-tools_extra__defs__gen_meson.build new file mode 100644 index 000000000000..f7fcf0b9ca7f --- /dev/null +++ b/x11-toolkits/pangomm/files/patch-tools_extra__defs__gen_meson.build @@ -0,0 +1,10 @@ +--- tools/extra_defs_gen/meson.build.orig 2021-12-06 18:18:10 UTC ++++ tools/extra_defs_gen/meson.build +@@ -7,6 +7,7 @@ + glibmm_generate_extra_defs_dep = cpp_compiler.find_library( + 'glibmm_generate_extra_defs@0@-2.68'.format(msvc14x_toolset_ver), + required: glibmm_dep.type_name() != 'internal', ++ dirs: join_paths(get_option('prefix'), get_option('libdir')), + ) + if not glibmm_generate_extra_defs_dep.found() + glibmm_generate_extra_defs_dep = dependency(