Accepting request 856918 from GNOME:Next

New stable release

OBS-URL: https://build.opensuse.org/request/show/856918
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/pangomm1_4?expand=0&rev=10
This commit is contained in:
Dominique Leuenberger 2020-12-21 10:19:23 +00:00 committed by Git OBS Bridge
parent f6f7397622
commit 7b6b5964c9
4 changed files with 39 additions and 15 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:14bf04939930870d5cfa96860ed953ad2ce07c3fd8713add4a1bfe585589f40f
size 882508

3
pangomm-2.42.2.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1b24c92624ae1275ccb57758175d35f7c39ad3342d8c0b4ba60f0d9849d2d08a
size 656760

View File

@ -1,3 +1,25 @@
-------------------------------------------------------------------
Fri Dec 18 19:00:24 UTC 2020 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 2.42.2:
+ Build:
- Use __declspec(dllexport) when building with Visual Studio
- Meson build: Avoid some recompilations
- Meson build: Better error message if trying to build with
maintainer-mode=false when true is necessary
- Meson build: Set default value of the 'warnings' option to
'min'
- Improve NMake support
-
- Improve Visual Studio support
- docs/reference/: Update for Doxygen >= 1.8.16
- Meson build: Fix versioning on macOS
- Add meson BuildRequires and macros following upstreams port.
- Add doxygen, graphviz and xsltproc BuildRequires, needed now for
building documentation.
- Replace gcc-c++ with generic c++_compiler BuildRequires.
- Tweak setup macro and fdupes call.
-------------------------------------------------------------------
Sat Mar 21 15:08:18 UTC 2020 - Bjørn Lie <bjorn.lie@gmail.com>

View File

@ -19,8 +19,9 @@
# Update baselibs.conf when changing this
%define so_ver -1_4-1
%define _name pangomm
Name: pangomm1_4
Version: 2.42.1
Version: 2.42.2
Release: 0
Summary: C++ interface for pango
License: GPL-2.0-or-later AND LGPL-2.0-or-later
@ -29,9 +30,13 @@ URL: http://www.gtkmm.org
Source0: https://download.gnome.org/sources/pangomm/2.42/%{_name}-%{version}.tar.xz
Source99: baselibs.conf
BuildRequires: c++_compiler
BuildRequires: doxygen
BuildRequires: fdupes
BuildRequires: gcc-c++
BuildRequires: graphviz
BuildRequires: meson
BuildRequires: pkgconfig
BuildRequires: xsltproc
BuildRequires: pkgconfig(cairomm-1.0) >= 1.2.2
BuildRequires: pkgconfig(glibmm-2.4) >= 2.48.0
BuildRequires: pkgconfig(pangocairo) >= 1.41.0
@ -62,19 +67,19 @@ Group: Documentation/HTML
pangomm provides a C++ interface to the pango library.
%prep
%setup -q -n %{_name}-%{version}
%autosetup -p1 -n %{_name}-%{version}
%build
%configure --disable-static
make %{?_smp_mflags}
%meson \
-Dbuild-documentation=true \
%{nil}
%meson_build
%install
%make_install
rm %{buildroot}%{_libdir}/*.la
%fdupes %{buildroot}
%meson_install
%fdupes %{buildroot}/%{prefix}
%post -n libpangomm%{so_ver} -p /sbin/ldconfig
%postun -n libpangomm%{so_ver} -p /sbin/ldconfig
%files -n libpangomm%{so_ver}
@ -91,8 +96,5 @@ rm %{buildroot}%{_libdir}/*.la
%files doc
%{_datadir}/devhelp/books/pangomm-1.4/
%{_datadir}/doc/pangomm-1.4/
# Avoid BuildRequires on devhelp
%dir %{_datadir}/devhelp
%dir %{_datadir}/devhelp/books
%changelog