Sync from SUSE:SLFO:Main cairomm1_0 revision 38f550226e443c79743c0112aed7fb22

This commit is contained in:
Adrian Schröter 2024-05-03 11:29:14 +02:00
commit 85225c07ad
4 changed files with 412 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

BIN
cairomm-1.12.2.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

291
cairomm1_0.changes Normal file
View File

@ -0,0 +1,291 @@
-------------------------------------------------------------------
Mon Dec 19 08:44:06 UTC 2022 - Dominique Leuenberger <dimstar@opensuse.org>
- Drop baselibs.conf: there is no known consumer of the -32bit
package.
-------------------------------------------------------------------
Thu Apr 18 18:19:36 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
- Remove --with-pic which has no effect with --disable-static.
- Update descriptions.
-------------------------------------------------------------------
Wed Feb 28 16:24:00 UTC 2018 - dimstar@opensuse.org
- Modernize spec-file by calling spec-cleaner
-------------------------------------------------------------------
Fri Dec 2 14:39:49 UTC 2016 - dimstar@opensuse.org
- Rename to cairomm1_0: legacy package with the 1.0 API. The
existing package 'cairomm' will remain to be the 'latest'
version.
-------------------------------------------------------------------
Sun Nov 20 17:57:31 UTC 2016 - zaitor@opensuse.org
- Update to version 1.12.2:
+ Remove new API that was not meant to be added in 1.12.1.
- Changes from version 1.12.1:
+ C++11:
- Use nullptr instead of 0.
- Use override keyword on destructors.
- Make operator bool() explicit.
-------------------------------------------------------------------
Wed Jun 1 13:25:36 UTC 2016 - jengelh@inai.de
- Remove unnecessary INSTALL file (resolves rpmlint warning)
-------------------------------------------------------------------
Fri Apr 15 18:39:18 UTC 2016 - mgorse@suse.com
- Update to GNOME 3.20 Fate#318572
-------------------------------------------------------------------
Wed Sep 30 11:02:17 UTC 2015 - zaitor@opensuse.org
- Update to version 1.12.0:
+ Cairo::RefPtr: Add move constructors and move operator=().
+ MSVC build fixes.
-------------------------------------------------------------------
Sun Aug 16 09:45:22 UTC 2015 - zaitor@opensuse.org
- Update to version 1.11.4:
+ Use (and require) C++11.
+ Add Script and ScriptSurface.
+ Context: get_surface_wrapper(): Handle
CAIRO_SURFACE_TYPE_SCRIPT, returning a ScriptSurface.
+ Surface: get_device(): Handle CAIRO_SURFACE_TYPE_SCRIPT,
returning a Script.
+ Wrap cairo script device and script surface APIs.
+ FtFontFace: Add get/set/unset_synthesize().
+ Update MSVC.Net 2010 project files.
-------------------------------------------------------------------
Fri May 15 10:48:00 UTC 2015 - dimstar@opensuse.org
- Add baselibs.conf to source list.
-------------------------------------------------------------------
Mon Mar 3 20:13:12 UTC 2014 - zaitor@opensuse.org
- Update to version 1.11.2:
+ Pattern: Add set_extend() and get_extend().
+ ScaledFont: Add the missing get_extents() method
implementation.
+ Allow use from Objective-C instead of just allowing building.
+ Avoid dereferencing empty std::vector<>s.
+ Documentation improvements.
+ Fix linker problems in examples.
-------------------------------------------------------------------
Sat Sep 21 14:32:34 UTC 2013 - dimstar@opensuse.org
- Change RPM Group of shared library package to System/Libraries.
-------------------------------------------------------------------
Thu Mar 21 09:31:24 UTC 2013 - mmeister@suse.com
- Added url as source.
Please see http://en.opensuse.org/SourceUrls
-------------------------------------------------------------------
Fri Mar 1 12:42:24 UTC 2013 - dimstar@opensuse.org
- Spec-cleanup using format_spec_file service.
-------------------------------------------------------------------
Sat Sep 17 22:32:01 UTC 2011 - jengelh@medozas.de
- Remove redundant tags/sections from specfile
- Use %_smp_mflags for parallel building
- Add cairomm-devel to baselibs
-------------------------------------------------------------------
Fri May 27 17:39:51 CEST 2011 - vuntz@opensuse.org
- Update to version 1.10.0:
+ Documentation: Context::arc(): Correct the documentation, as in
the C documentation (fdo#31345).
-------------------------------------------------------------------
Fri Jan 7 17:41:57 CET 2011 - vuntz@opensuse.org
- Update to version 1.9.8:
+ Surface:
- added create() for creating a sub-surface representing a
rectangle on a target surface
- PDF versioning API: get_versions(), restrict_to_version(),
version_to_string()
- add get_device()
- add new surface type enum values
+ Device
- add acquire() and release() functions
- Add Device::Lock convenience class
+ Region
- UNSTABLE API CHANGE: Fix do_union(), subtract(), intersect()
to throw exceptions instead of returning error statuses to be
consistent with the rest of the cairomm API
- add xor() functions
- add API for creating a region from a list of rectangles
- implement copy()
+ Documentation:
- Context::arc(): Fix fdo#31345 about bad math in arc()
documentation.
- Add documentation for Device class
- Add documentation for Region class
- Create a libcairomm-1_0-1 subpackage to follow the shared library
packaging policy. Add appropriate Provides/Obsoletes.
- Remove explicit cairo-devel and libsigc++2-devel Requires of
devel package: they will automatically be added the
pkgconfig()-way.
-------------------------------------------------------------------
Thu Oct 28 15:58:31 CEST 2010 - vuntz@opensuse.org
- Update to version 1.9.6:
+ Context: Added in_clip().
+ Surface: Added get_mime_data(), set_mime_data(),
unset_mime_data().
+ Build: Added support for Windows 64-bit and Visual Studio 2010.
-------------------------------------------------------------------
Sat Oct 23 14:08:13 CEST 2010 - vuntz@opensuse.org
- Update to version 1.9.4:
+ Added Device.
-------------------------------------------------------------------
Mon Sep 6 15:29:35 CEST 2010 - dimstar@opensuse.org
- Update to version 1.9.2:
+ Context:
- set_dash(): Make the dashes parameter const.
- device_to_user(), device_to_user_distance(), user_to_device()
user_to_device_distance(): Deprecate the non-const versions,
adding const versions.
+ fdo#28246: Cleanup of most -Weffc++ warnings
-------------------------------------------------------------------
Mon Aug 2 22:22:50 CEST 2010 - dimstar@opensuse.org
- Update to version 1.9.1:
+ Added Region.
+ Context: Don't allow this to be copied.
+ Fix the MSVC build
+ Fix the 64-bit build.
+ Actually install cairomm-xlib-xrender-1.0.pc
-------------------------------------------------------------------
Thu Jun 10 08:54:03 UTC 2010 - wittemar@googlemail.com
- build 32bit-package
-------------------------------------------------------------------
Wed Dec 2 00:59:43 CET 2009 - vuntz@opensuse.org
- Update to version 1.8.4:
+ move to new mm-common build infrastructure
- Use spec-cleaner on the spec file.
-------------------------------------------------------------------
Sun Jul 19 22:58:30 CEST 2009 - dominique-obs@leuenberger.net
- Update to version 1.8.2:
+ Fix accidental ABI breakage from 1.8.0
-------------------------------------------------------------------
Tue Feb 3 14:19:52 EST 2009 - hfiguiere@suse.de
- Install documentation (bnc#472078)
-------------------------------------------------------------------
Sun Feb 1 19:39:51 EST 2009 - mboman@suse.de
- Update to version 1.8.0:
+ No notable changes since 1.7.2
-------------------------------------------------------------------
Fri Dec 26 14:42:40 EST 2008 - mboman@suse.de
- Update to version 1.7.2:
+ API Changes (all API changes are in unstable API introduced in 1.7.x)
+ UserFontFace is not implemented with virtual functions rather than by
registering callbacks
+ Cairo::scaled_matrix() -> Cairo::scaling_matrix() to match other matrix
convenience functions
+ Incorrect refcounting on ScaledFont
+ build fixes for Mac OSX
-------------------------------------------------------------------
Sun Dec 14 17:55:43 EST 2008 - mboman@suse.de
- Update to version 1.7.0:
+ To many changes and fixes to list. See NEWS for full details.
-------------------------------------------------------------------
Tue Sep 23 17:03:38 CDT 2008 - maw@suse.de
- Update to version 1.6.4:
+ New API:
* wrap cairo_format_stride_for_width()
+ Fixed a bug where an exception message would often report
"Success" when it should have reported an error message
+ Added ability to get the error status code from an exception:
Cairo::logic_error::get_status_code()
+ Added new elements to the surface type enumeration
+ Bugs fixed: bfo#14559 and bfo#14558.
-------------------------------------------------------------------
Tue Jun 17 22:00:11 CEST 2008 - crrodriguez@suse.de
- disable unusable static libraries
-------------------------------------------------------------------
Mon Mar 31 20:30:50 CEST 2008 - vuntz@suse.de
- Update to version 1.4.8:
+ Bug fd.o #14559: build failure in exception.cc on Solaris with
Sun Workshop C++
+ Bug fd.o #14558: cairomm 1.4.6 context.cc needs math.h on
Solaris
- Changes from version 1.4.6:
+ Bug fd.o #11972: Cannot build cairomm with Quartz enabled
- Changes from version 1.4.4:
+ Added the --enable-api-exceptions=yes/no configure option, to
allow cairomm to build when exceptions are disabled. For
instance, when using CXXFLAGS=-fno-exceptions with g++.
- Changes from version 1.4.2:
+ Bug fd.o #11596: Fixed broken shared library versioning
+ Bug fd.o #8511: RefPtr: refcounting broken with cast_*()
methods
- Changes from version 1.4.0:
+ Wrapped new API added in cairo 1.4
+ Added support for Quartz surfaces
+ ability to use dynamic casting for surfaces and patterns
returned from Context::get_target(), Context::get_source(),
etc.
+ Various build and bug fixes
- Changes from version 1.2.4:
+ Fixed an error that prevented Cairo::RefPtr<>::cast_static()
and Cairo::RefPtr<>::cast_dynamic() from compiling.
- Stop using %run_ldconfig and run /sbin/ldconfig directly.
-------------------------------------------------------------------
Fri Jan 12 13:31:59 CET 2007 - sbrabec@suse.cz
- Spec file cleanup.
-------------------------------------------------------------------
Mon Jan 8 00:08:01 CET 2007 - ro@suse.de
- GNOME moved to /usr
-------------------------------------------------------------------
Mon Sep 18 19:35:22 CEST 2006 - jhargadon@suse.de
- Initial SuSE package version 1.2.2

95
cairomm1_0.spec Normal file
View File

@ -0,0 +1,95 @@
#
# spec file for package cairomm1_0
#
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define _name cairomm
Name: cairomm1_0
Version: 1.12.2
Release: 0
Summary: C++ Interface for Cairo
License: LGPL-2.1-or-later
Group: System/GUI/GNOME
URL: http://cairographics.org
Source: http://cairographics.org/releases/%{_name}-%{version}.tar.gz
# needs doxygen for the documentation
BuildRequires: doxygen
BuildRequires: gcc-c++
BuildRequires: pkgconfig
BuildRequires: update-desktop-files
BuildRequires: pkgconfig(cairo) >= 1.10.0
BuildRequires: pkgconfig(sigc++-2.0) >= 2.5.1
%description
This package provides a C++ interface for Cairo.
%package -n libcairomm-1_0-1
Summary: C++ interface for Cairo
Group: System/Libraries
%description -n libcairomm-1_0-1
This package provides a C++ interface for Cairo.
%package devel
Summary: Header files for the Cairo C++ interface
Group: Development/Libraries/GNOME
Requires: libcairomm-1_0-1 = %{version}
%description devel
This package contains the header files for developing
applications that want to make use of cairomm1_0.
%package doc
Summary: Documentation for the Cairo C++ interface
Group: Documentation/HTML
%description doc
This package provides documentation for the Cairo C++ interface.
%prep
%setup -q -n %{_name}-%{version}
%build
%configure --disable-static
make %{?_smp_mflags}
%install
%make_install
find %{buildroot} -type f -name "*.la" -delete -print
%post -n libcairomm-1_0-1 -p /sbin/ldconfig
%postun -n libcairomm-1_0-1 -p /sbin/ldconfig
%files -n libcairomm-1_0-1
%license COPYING
%doc AUTHORS ChangeLog NEWS README
%{_libdir}/*.so.*
%files devel
%{_libdir}/*.so
%dir %{_libdir}/cairomm-1.0/
%{_libdir}/cairomm-1.0/include
%{_libdir}/pkgconfig/*.pc
%{_includedir}/*
%files doc
%{_datadir}/devhelp/books/cairomm-1.0
%{_datadir}/doc/cairomm-1.0
# Avoid BuildRequires on devhelp
%dir %{_datadir}/devhelp
%dir %{_datadir}/devhelp/books
%changelog