pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/pangomm2.48



Module Name:    pkgsrc
Committed By:   wiz
Date:           Mon May 31 22:29:20 UTC 2021

Added Files:
        pkgsrc/devel/pangomm2.48: DESCR Makefile PLIST buildlink3.mk distinfo
        pkgsrc/devel/pangomm2.48/patches: patch-meson.build

Log Message:
devel/pangomm2.48: import pangomm2.48-2.48.1

pangomm (used to be part of gtkmm) is the official C++ interface for the
popular GUI library GTK+. Highlights include typesafe callbacks, widgets
extensible via inheritance and a comprehensive set of widget classes that
can be freely combined to quickly create complex user interfaces.

This package follows the 2.48 API.

Changes compared to pangomm:

2.48.1 (stable):

* GlyphItem: Fix a memory leak in split()
  (Kjell Ahlstedt)
* Layout: Speed up get_log_attrs()
  (Kjell Ahlstedt)

Build:
* Meson build: Use relative paths to untracked/
  (Kjell Ahlstedt) Merge request gtkmm!61 (Mingli Yu)
* pangommconfig.h.*: Don't dllimport on MinGW
  (Chun-wei Fan) Issue gtkmm#90 (Lukas K.)
* Meson build: Make it possible to use pangomm as a subproject
  (Kjell Ahlstedt)
* Meson build: No implicit_include_directories
  (Kjell Ahlstedt)

2.48.0 (stable):
This is the first stable release in the pangomm-2.48 ABI series.
It is parallel-installable with the pangomm-1.4 ABI.

The tarball for 2.48.0 has been created with 'meson dist'.
If you build with Autotools from the tarball, please read the relevant
part of the README file.

* FontFamily, FontMap: Implement the Gio::ListModel interface
  CairoFontMap: Add get_default()
  (Andreas Persson) Merge request !20
* Attribute: Add Overline and ShowFlags enums and some create*() methods
  Renderer: Add vfuncs
  (Kjell Ahlstedt) Issue #9 (misos1)
* Font, FontFace, FontFamily, FontMetrics: Add new methods
  (Kjell Ahlstedt)
* LayoutRun: Rename to GlyphItem
  (Kjell Ahlstedt)
* LayoutIter: Fix get_run() and get_line()
  (Kjell Ahlstedt)
* GlyphString, Item: Wrap pango_shape_with_flags()
  (Kjell Ahlstedt) Issue #9 (Tavmjong Bah)
* Layout: Add set/get_line_spacing()
  (Kjell Ahlstedt) Issue #9 (misos1)

Build:
* Depend on giomm (not just glibmm)
  (Andreas Persson) Merge request !20
* Use __declspec(dllexport) when building with Visual Studio
  (Chun-wei Fan) Merge request !15, !16
* Meson build: Avoid some recompilations
  (Kjell Ahlstedt)
* Meson build: Better error message if trying to build with
  maintainer-mode=false when true is necessary
  (Kjell Ahlstedt) Issue #6 (Rasmus Thomsen)
* Meson build: Set default value of the 'warnings' option to 'min'
  (Kjell Ahlstedt)
* Improve NMake support
  (Chun-wei Fan)
* Improve Visual Studio support
  (Chun-wei Fan) Merge request !15, !19
* docs/reference/: Update for Doxygen >= 1.8.16
  (Kjell Ahlstedt)
* Meson build: Fix versioning on macOS
  (Kjell Ahlstedt) Pull request libsigcplusplus#65 (Tom Schoonjans)
* Change the ABI to pangomm-2.48
  (Kjell Ahlstedt)


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/pangomm2.48/DESCR \
    pkgsrc/devel/pangomm2.48/Makefile pkgsrc/devel/pangomm2.48/PLIST \
    pkgsrc/devel/pangomm2.48/buildlink3.mk pkgsrc/devel/pangomm2.48/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/pangomm2.48/patches/patch-meson.build

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/devel/pangomm2.48/DESCR
diff -u /dev/null pkgsrc/devel/pangomm2.48/DESCR:1.1
--- /dev/null   Mon May 31 22:29:20 2021
+++ pkgsrc/devel/pangomm2.48/DESCR      Mon May 31 22:29:20 2021
@@ -0,0 +1,6 @@
+pangomm (used to be part of gtkmm) is the official C++ interface for the
+popular GUI library GTK+. Highlights include typesafe callbacks, widgets
+extensible via inheritance and a comprehensive set of widget classes that
+can be freely combined to quickly create complex user interfaces.
+
+This package follows the 2.48 API.
Index: pkgsrc/devel/pangomm2.48/Makefile
diff -u /dev/null pkgsrc/devel/pangomm2.48/Makefile:1.1
--- /dev/null   Mon May 31 22:29:20 2021
+++ pkgsrc/devel/pangomm2.48/Makefile   Mon May 31 22:29:20 2021
@@ -0,0 +1,28 @@
+# $NetBSD: Makefile,v 1.1 2021/05/31 22:29:20 wiz Exp $
+
+DISTNAME=      pangomm-2.48.1
+PKGNAME=       ${DISTNAME:S/pangomm/pangomm2.48/}
+CATEGORIES=    devel
+MASTER_SITES=  ${MASTER_SITE_GNOME:=sources/pangomm/${PKGVERSION_NOREV:R}/}
+EXTRACT_SUFX=  .tar.xz
+
+MAINTAINER=    adam%NetBSD.org@localhost
+HOMEPAGE=      https://www.gtkmm.org/
+COMMENT=       C++ bindings for pango (2.48 API)
+LICENSE=       gnu-lgpl-v2.1
+
+GCC_REQD+=             4.9
+USE_LANGUAGES=         c c++11
+USE_PKGLOCALEDIR=      yes
+USE_TOOLS+=            gm4 perl:run pkg-config
+# TODO: update
+PKGCONFIG_OVERRIDE+=   pango/pangomm.pc.in
+
+.include "../../devel/glibmm2.68/buildlink3.mk"
+.include "../../devel/meson/build.mk"
+BUILDLINK_API_DEPENDS.mm-common+=      mm-common>=0.9.10
+.include "../../devel/mm-common/buildlink3.mk"
+BUILDLINK_API_DEPENDS.pango+=  pango>=1.48.0
+.include "../../devel/pango/buildlink3.mk"
+.include "../../graphics/cairomm1.16/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/pangomm2.48/PLIST
diff -u /dev/null pkgsrc/devel/pangomm2.48/PLIST:1.1
--- /dev/null   Mon May 31 22:29:20 2021
+++ pkgsrc/devel/pangomm2.48/PLIST      Mon May 31 22:29:20 2021
@@ -0,0 +1,63 @@
+@comment $NetBSD: PLIST,v 1.1 2021/05/31 22:29:20 wiz Exp $
+include/pangomm-2.48/pangomm.h
+include/pangomm-2.48/pangomm/attributes.h
+include/pangomm-2.48/pangomm/attriter.h
+include/pangomm-2.48/pangomm/attrlist.h
+include/pangomm-2.48/pangomm/cairofontmap.h
+include/pangomm-2.48/pangomm/color.h
+include/pangomm-2.48/pangomm/context.h
+include/pangomm-2.48/pangomm/coverage.h
+include/pangomm-2.48/pangomm/font.h
+include/pangomm-2.48/pangomm/fontdescription.h
+include/pangomm-2.48/pangomm/fontface.h
+include/pangomm-2.48/pangomm/fontfamily.h
+include/pangomm-2.48/pangomm/fontmap.h
+include/pangomm-2.48/pangomm/fontmetrics.h
+include/pangomm-2.48/pangomm/fontset.h
+include/pangomm-2.48/pangomm/glyph.h
+include/pangomm-2.48/pangomm/glyphitem.h
+include/pangomm-2.48/pangomm/glyphstring.h
+include/pangomm-2.48/pangomm/init.h
+include/pangomm-2.48/pangomm/item.h
+include/pangomm-2.48/pangomm/language.h
+include/pangomm-2.48/pangomm/layout.h
+include/pangomm-2.48/pangomm/layoutiter.h
+include/pangomm-2.48/pangomm/layoutline.h
+include/pangomm-2.48/pangomm/private/attributes_p.h
+include/pangomm-2.48/pangomm/private/attriter_p.h
+include/pangomm-2.48/pangomm/private/attrlist_p.h
+include/pangomm-2.48/pangomm/private/cairofontmap_p.h
+include/pangomm-2.48/pangomm/private/color_p.h
+include/pangomm-2.48/pangomm/private/context_p.h
+include/pangomm-2.48/pangomm/private/coverage_p.h
+include/pangomm-2.48/pangomm/private/font_p.h
+include/pangomm-2.48/pangomm/private/fontdescription_p.h
+include/pangomm-2.48/pangomm/private/fontface_p.h
+include/pangomm-2.48/pangomm/private/fontfamily_p.h
+include/pangomm-2.48/pangomm/private/fontmap_p.h
+include/pangomm-2.48/pangomm/private/fontmetrics_p.h
+include/pangomm-2.48/pangomm/private/fontset_p.h
+include/pangomm-2.48/pangomm/private/glyph_p.h
+include/pangomm-2.48/pangomm/private/glyphitem_p.h
+include/pangomm-2.48/pangomm/private/glyphstring_p.h
+include/pangomm-2.48/pangomm/private/item_p.h
+include/pangomm-2.48/pangomm/private/language_p.h
+include/pangomm-2.48/pangomm/private/layout_p.h
+include/pangomm-2.48/pangomm/private/layoutiter_p.h
+include/pangomm-2.48/pangomm/private/layoutline_p.h
+include/pangomm-2.48/pangomm/private/rectangle_p.h
+include/pangomm-2.48/pangomm/private/renderer_p.h
+include/pangomm-2.48/pangomm/private/tabarray_p.h
+include/pangomm-2.48/pangomm/rectangle.h
+include/pangomm-2.48/pangomm/renderer.h
+include/pangomm-2.48/pangomm/tabarray.h
+include/pangomm-2.48/pangomm/types.h
+include/pangomm-2.48/pangomm/wrap_init.h
+lib/libpangomm-2.48.so
+lib/libpangomm-2.48.so.1
+lib/libpangomm-2.48.so.1.0.30
+lib/pangomm-2.48/include/pangommconfig.h
+lib/pangomm-2.48/proc/m4/convert.m4
+lib/pangomm-2.48/proc/m4/convert_pango.m4
+lib/pangomm-2.48/proc/m4/convert_pangomm.m4
+lib/pkgconfig/pangomm-2.48.pc
Index: pkgsrc/devel/pangomm2.48/buildlink3.mk
diff -u /dev/null pkgsrc/devel/pangomm2.48/buildlink3.mk:1.1
--- /dev/null   Mon May 31 22:29:20 2021
+++ pkgsrc/devel/pangomm2.48/buildlink3.mk      Mon May 31 22:29:20 2021
@@ -0,0 +1,16 @@
+# $NetBSD: buildlink3.mk,v 1.1 2021/05/31 22:29:20 wiz Exp $
+
+BUILDLINK_TREE+=       pangomm2.48
+
+.if !defined(PANGOMM2.48_BUILDLINK3_MK)
+PANGOMM2.48_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.pangomm2.48+=    pangomm2.48>=2.48.1
+BUILDLINK_PKGSRCDIR.pangomm2.48?=      ../../devel/pangomm2.48
+
+.include "../../devel/glibmm2.68/buildlink3.mk"
+.include "../../devel/pango/buildlink3.mk"
+.include "../../graphics/cairomm1.16/buildlink3.mk"
+.endif # PANGOMM2.48_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -pangomm2.48
Index: pkgsrc/devel/pangomm2.48/distinfo
diff -u /dev/null pkgsrc/devel/pangomm2.48/distinfo:1.1
--- /dev/null   Mon May 31 22:29:20 2021
+++ pkgsrc/devel/pangomm2.48/distinfo   Mon May 31 22:29:20 2021
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2021/05/31 22:29:20 wiz Exp $
+
+SHA1 (pangomm-2.48.1.tar.xz) = 95cbe9e4daf7910fdfe083687e9cd41bd3247ca3
+RMD160 (pangomm-2.48.1.tar.xz) = 1067f32d7605e3e81c85ff3e277e0b620b8a02a4
+SHA512 (pangomm-2.48.1.tar.xz) = c204a1cb7a404f055d62880a760716c5567a835ca495cc5e01589ed59fabb332490e529de716c3438cefbc4428c025d6d01c71e4412b2843e3ab3a3175ccc2f4
+Size (pangomm-2.48.1.tar.xz) = 675452 bytes
+SHA1 (patch-meson.build) = b09516870f4e33aab8d4039f995aedd4dc236832

Index: pkgsrc/devel/pangomm2.48/patches/patch-meson.build
diff -u /dev/null pkgsrc/devel/pangomm2.48/patches/patch-meson.build:1.1
--- /dev/null   Mon May 31 22:29:20 2021
+++ pkgsrc/devel/pangomm2.48/patches/patch-meson.build  Mon May 31 22:29:20 2021
@@ -0,0 +1,15 @@
+$NetBSD: patch-meson.build,v 1.1 2021/05/31 22:29:20 wiz Exp $
+
+Fix finding Python.
+
+--- meson.build.orig   2021-04-08 16:35:21.531396769 +0000
++++ meson.build
+@@ -43,7 +43,7 @@ project_build_root = meson.current_build
+ 
+ cpp_compiler = meson.get_compiler('cpp')
+ is_msvc = cpp_compiler.get_id() == 'msvc'
+-python3 = import('python').find_installation('python3')
++python3 = import('python').find_installation()
+ 
+ python_version = python3.language_version()
+ python_version_req = '>= 3.5'



Home | Main Index | Thread Index | Old Index