cygport file attached. I've bumped the version to 1.12.2, which is the latest stable upstream release. Upstream has actually released 1.15.5, but the News file says it's unstable and recommends that distros not package it.

I'm proposing an unversioned source package cairomm, as well as unversioned devel and doc packages. This is what we do with many library packages, and it is consistent with Fedora's packaging.

It will also ease future maintenance. I've looked at the upstream git repo, and there's been an ABI change from 1.0 to 1.14 and then to 1.16. It would be annoying to have to create a new Cygwin package for each such change.

I'll wait for Yaakov to weigh in on this before I upload anything.

The change might require some manual intervention on sourceware, to rename the existing cairomm1.0 directory to cairomm.

Ken
inherit gtkmm

NAME="cairomm"
VERSION=1.12.2
RELEASE=1
CATEGORY="Libs"
SUMMARY="C++ bindings for the cairo graphics engine"
DESCRIPTION="cairomm is a C++ wrapper for the cairo graphics library.  It offers
all the power of cairo with an interface familiar to C++ developers,
including use of the Standard Template Library where it makes sense."
HOMEPAGE="http://cairographics.org/cairomm";
SRC_URI="http://cairographics.org/releases/cairomm-${VERSION}.tar.gz";
SRC_DIR="cairomm-${VERSION}"
PATCH_URI="1.12.0-std-c++11.patch"

abi=1.0

PKG_NAMES="lib${NAME}${abi}_1 lib${NAME}-devel lib${NAME}-doc"
libcairomm1_0_1_CONTENTS="usr/bin/cygcairomm-${abi}-1.dll 
usr/share/doc/${NAME}/"
libcairomm_devel_CONTENTS="usr/include/ usr/lib/"
libcairomm_devel_OBSOLETES="libcairomm1.0-devel"
libcairomm_doc_CONTENTS="usr/share/devhelp/ usr/share/doc/cairomm-${abi}/"
libcairomm_doc_OBSOLETES="libcairomm1.0-doc"

DIFF_EXCLUDES="cairommconfig.h"

BUILD_REQUIRES="libsigc2.0-devel"

Reply via email to