git: f82f566f082e - main - x11-toolkits/pangomm24: copy of pangomm, update to 2.56.1
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 11 Jun 2025 11:54:50 UTC
The branch main has been updated by bapt:
URL: https://cgit.FreeBSD.org/ports/commit/?id=f82f566f082eff4deffa020344270f2ac1bd1ac1
commit f82f566f082eff4deffa020344270f2ac1bd1ac1
Author: Baptiste Daroussin <bapt@FreeBSD.org>
AuthorDate: 2025-06-11 11:21:29 +0000
Commit: Baptiste Daroussin <bapt@FreeBSD.org>
CommitDate: 2025-06-11 11:54:05 +0000
x11-toolkits/pangomm24: copy of pangomm, update to 2.56.1
PR: 286697
---
Mk/Uses/gnome.mk | 5 +-
x11-toolkits/Makefile | 1 +
x11-toolkits/pangomm24/Makefile | 25 +++++++++
x11-toolkits/pangomm24/distinfo | 3 ++
.../files/patch-tools_extra__defs__gen_meson.build | 10 ++++
x11-toolkits/pangomm24/pkg-descr | 1 +
x11-toolkits/pangomm24/pkg-plist | 63 ++++++++++++++++++++++
7 files changed, 107 insertions(+), 1 deletion(-)
diff --git a/Mk/Uses/gnome.mk b/Mk/Uses/gnome.mk
index 535f979381f7..6aca0001651a 100644
--- a/Mk/Uses/gnome.mk
+++ b/Mk/Uses/gnome.mk
@@ -85,7 +85,7 @@ _USE_GNOME_ALL+=gtk40 libadwaita gtksourceview5 gnomedesktop4 nautilus4
# C++ bindings
_USE_GNOME_ALL+=atkmm cairomm cairomm11 gconfmm26 glibmm glibmm26 gtkmm24 \
gtkmm30 gtksourceviewmm3 libgdamm5 libxml++26 libsigc++20 \
- libsigc++30 pangomm
+ libsigc++30 pangomm pangomm24
# glib-mkenums often fails with C locale
# https://gitlab.gnome.org/GNOME/glib/issues/1430
@@ -149,6 +149,9 @@ libsigc++30_LIB_DEPENDS= libsigc-3.0.so:devel/libsigc++30
pangomm_LIB_DEPENDS= libpangomm-1.4.so:x11-toolkits/pangomm
pangomm_USE_GNOME_IMPL= pango glibmm cairomm
+pangomm24_LIB_DEPENDS= libpangomm-2.48.so:x11-toolkits/pangomm24
+pangomm24_USE_GNOME_IMPL= pango glibmm26 cairomm11
+
gnomemimedata_BUILD_DEPENDS=${LOCALBASE}/libdata/pkgconfig/gnome-mime-data-2.0.pc:misc/gnome-mime-data
gnomemimedata_RUN_DEPENDS=${LOCALBASE}/libdata/pkgconfig/gnome-mime-data-2.0.pc:misc/gnome-mime-data
diff --git a/x11-toolkits/Makefile b/x11-toolkits/Makefile
index 4460d010f8c1..0125824c748f 100644
--- a/x11-toolkits/Makefile
+++ b/x11-toolkits/Makefile
@@ -167,6 +167,7 @@
SUBDIR += pango
SUBDIR += pangolin
SUBDIR += pangomm
+ SUBDIR += pangomm24
SUBDIR += pangox-compat
SUBDIR += plasma6-kdeplasma-addons
SUBDIR += plib
diff --git a/x11-toolkits/pangomm24/Makefile b/x11-toolkits/pangomm24/Makefile
new file mode 100644
index 000000000000..fa875bf84693
--- /dev/null
+++ b/x11-toolkits/pangomm24/Makefile
@@ -0,0 +1,25 @@
+PORTNAME= pangomm
+PORTVERSION= 2.56.1
+CATEGORIES= x11-toolkits
+MASTER_SITES= GNOME
+DIST_SUBDIR= gnome
+PKGNAMESUFFIX= 24
+
+MAINTAINER= gnome@FreeBSD.org
+COMMENT= C++ bindings for Pango
+WWW= https://gtkmm.gnome.org/
+
+LICENSE= LGPL21+
+
+USES+= compiler:c++17-lang gnome libtool localbase meson \
+ pkgconfig python:build tar:xz
+USE_CXXSTD= c++17
+USE_GNOME= cairomm11 glibmm26 pango libxslt
+USE_LDCONFIG= yes
+MESON_ARGS= -Dmaintainer-mode=false \
+ -Dbuild-documentation=false
+BINARY_WRAPPERS= gm4
+
+PLIST_SUB= API_VERSION="2.48"
+
+.include <bsd.port.mk>
diff --git a/x11-toolkits/pangomm24/distinfo b/x11-toolkits/pangomm24/distinfo
new file mode 100644
index 000000000000..110be7f81427
--- /dev/null
+++ b/x11-toolkits/pangomm24/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1741621823
+SHA256 (gnome/pangomm-2.56.1.tar.xz) = 539f5aa60e9bdc6b955bb448e2a62cc14562744df690258040fbb74bf885755d
+SIZE (gnome/pangomm-2.56.1.tar.xz) = 741708
diff --git a/x11-toolkits/pangomm24/files/patch-tools_extra__defs__gen_meson.build b/x11-toolkits/pangomm24/files/patch-tools_extra__defs__gen_meson.build
new file mode 100644
index 000000000000..6b87a975956d
--- /dev/null
+++ b/x11-toolkits/pangomm24/files/patch-tools_extra__defs__gen_meson.build
@@ -0,0 +1,10 @@
+--- tools/extra_defs_gen/meson.build.orig 2022-09-21 14:46:16 UTC
++++ tools/extra_defs_gen/meson.build
+@@ -6,6 +6,7 @@
+
+ glibmm_generate_extra_defs_dep = cpp_compiler.find_library(
+ 'glibmm_generate_extra_defs@0@-2.68'.format(msvc14x_toolset_ver),
++ dirs: ['/usr/local/lib'],
+ required: glibmm_dep.type_name() != 'internal',
+ )
+ if not glibmm_generate_extra_defs_dep.found()
diff --git a/x11-toolkits/pangomm24/pkg-descr b/x11-toolkits/pangomm24/pkg-descr
new file mode 100644
index 000000000000..44aaa76d655c
--- /dev/null
+++ b/x11-toolkits/pangomm24/pkg-descr
@@ -0,0 +1 @@
+C++ wrapper for Pango.
diff --git a/x11-toolkits/pangomm24/pkg-plist b/x11-toolkits/pangomm24/pkg-plist
new file mode 100644
index 000000000000..8b857a8a302e
--- /dev/null
+++ b/x11-toolkits/pangomm24/pkg-plist
@@ -0,0 +1,63 @@
+include/pangomm-%%API_VERSION%%/pangomm.h
+include/pangomm-%%API_VERSION%%/pangomm/attributes.h
+include/pangomm-%%API_VERSION%%/pangomm/attriter.h
+include/pangomm-%%API_VERSION%%/pangomm/attrlist.h
+include/pangomm-%%API_VERSION%%/pangomm/cairofontmap.h
+include/pangomm-%%API_VERSION%%/pangomm/cairofontmapimpl.h
+include/pangomm-%%API_VERSION%%/pangomm/color.h
+include/pangomm-%%API_VERSION%%/pangomm/context.h
+include/pangomm-%%API_VERSION%%/pangomm/coverage.h
+include/pangomm-%%API_VERSION%%/pangomm/font.h
+include/pangomm-%%API_VERSION%%/pangomm/fontdescription.h
+include/pangomm-%%API_VERSION%%/pangomm/fontface.h
+include/pangomm-%%API_VERSION%%/pangomm/fontfamily.h
+include/pangomm-%%API_VERSION%%/pangomm/fontmap.h
+include/pangomm-%%API_VERSION%%/pangomm/fontmetrics.h
+include/pangomm-%%API_VERSION%%/pangomm/fontset.h
+include/pangomm-%%API_VERSION%%/pangomm/glyph.h
+include/pangomm-%%API_VERSION%%/pangomm/glyphitem.h
+include/pangomm-%%API_VERSION%%/pangomm/glyphstring.h
+include/pangomm-%%API_VERSION%%/pangomm/init.h
+include/pangomm-%%API_VERSION%%/pangomm/item.h
+include/pangomm-%%API_VERSION%%/pangomm/language.h
+include/pangomm-%%API_VERSION%%/pangomm/layout.h
+include/pangomm-%%API_VERSION%%/pangomm/layoutiter.h
+include/pangomm-%%API_VERSION%%/pangomm/layoutline.h
+include/pangomm-%%API_VERSION%%/pangomm/private/attributes_p.h
+include/pangomm-%%API_VERSION%%/pangomm/private/attriter_p.h
+include/pangomm-%%API_VERSION%%/pangomm/private/attrlist_p.h
+include/pangomm-%%API_VERSION%%/pangomm/private/cairofontmap_p.h
+include/pangomm-%%API_VERSION%%/pangomm/private/color_p.h
+include/pangomm-%%API_VERSION%%/pangomm/private/context_p.h
+include/pangomm-%%API_VERSION%%/pangomm/private/coverage_p.h
+include/pangomm-%%API_VERSION%%/pangomm/private/font_p.h
+include/pangomm-%%API_VERSION%%/pangomm/private/fontdescription_p.h
+include/pangomm-%%API_VERSION%%/pangomm/private/fontface_p.h
+include/pangomm-%%API_VERSION%%/pangomm/private/fontfamily_p.h
+include/pangomm-%%API_VERSION%%/pangomm/private/fontmap_p.h
+include/pangomm-%%API_VERSION%%/pangomm/private/fontmetrics_p.h
+include/pangomm-%%API_VERSION%%/pangomm/private/fontset_p.h
+include/pangomm-%%API_VERSION%%/pangomm/private/glyph_p.h
+include/pangomm-%%API_VERSION%%/pangomm/private/glyphitem_p.h
+include/pangomm-%%API_VERSION%%/pangomm/private/glyphstring_p.h
+include/pangomm-%%API_VERSION%%/pangomm/private/item_p.h
+include/pangomm-%%API_VERSION%%/pangomm/private/language_p.h
+include/pangomm-%%API_VERSION%%/pangomm/private/layout_p.h
+include/pangomm-%%API_VERSION%%/pangomm/private/layoutiter_p.h
+include/pangomm-%%API_VERSION%%/pangomm/private/layoutline_p.h
+include/pangomm-%%API_VERSION%%/pangomm/private/rectangle_p.h
+include/pangomm-%%API_VERSION%%/pangomm/private/renderer_p.h
+include/pangomm-%%API_VERSION%%/pangomm/private/tabarray_p.h
+include/pangomm-%%API_VERSION%%/pangomm/rectangle.h
+include/pangomm-%%API_VERSION%%/pangomm/renderer.h
+include/pangomm-%%API_VERSION%%/pangomm/tabarray.h
+include/pangomm-%%API_VERSION%%/pangomm/types.h
+include/pangomm-%%API_VERSION%%/pangomm/wrap_init.h
+lib/libpangomm-%%API_VERSION%%.so
+lib/libpangomm-%%API_VERSION%%.so.1
+lib/libpangomm-%%API_VERSION%%.so.1.0.30
+lib/pangomm-%%API_VERSION%%/include/pangommconfig.h
+lib/pangomm-%%API_VERSION%%/proc/m4/convert.m4
+lib/pangomm-%%API_VERSION%%/proc/m4/convert_pango.m4
+lib/pangomm-%%API_VERSION%%/proc/m4/convert_pangomm.m4
+libdata/pkgconfig/pangomm-%%API_VERSION%%.pc