public inbox for cygwin-apps@cygwin.com
 help / color / mirror / Atom feed
* [ITA from Yaakov] freeport2
@ 2020-05-12 16:50 Ken Brown
  2020-05-12 16:53 ` Ken Brown
  2020-05-12 18:02 ` [ITA from Yaakov] freetype2 Yaakov Selkowitz
  0 siblings, 2 replies; 11+ messages in thread
From: Ken Brown @ 2020-05-12 16:50 UTC (permalink / raw)
  To: cygwin-apps

[-- Attachment #1: Type: text/plain, Size: 544 bytes --]

My cygport file is attached.  Aside from some trivial URL changes, it differs 
from Yaakov's as follows:

1. I've bumped the version from 2.9.1 to 2.10.2, the latest upstream release.

2. I removed the Fedora patch freetype-2.9-ftsmooth.patch, which is no longer 
used in the Fedora build.

3. I removed the line 'cygmake refdoc', which was previously used to build the 
API reference manual.  The html files are now included in the source tarball. 
The refdoc target is apparently now only needed for a build from the upstream 
git repo.

Ken

[-- Attachment #2: freetype2.cygport --]
[-- Type: text/plain, Size: 1961 bytes --]

NAME="freetype2"
VERSION=2.10.2
RELEASE=1
CATEGORY="Libs"
SUMMARY="FreeType font engine"
DESCRIPTION="FreeType 2 is a software font engine that is designed to be small,
efficient, and highly customizable while capable of producing
high-quality output (glyph images)."
HOMEPAGE="http://freetype.sourceforge.net/"
SRC_URI="mirror://sourceforge/freetype/freetype-${VERSION}.tar.xz
         mirror://sourceforge/freetype/freetype-doc-${VERSION}.tar.xz
         mirror://sourceforge/freetype/ft2demos-${VERSION}.tar.xz"
SRC_DIR="freetype-${VERSION}"
PATCH_URI="
	https://src.fedoraproject.org/cgit/rpms/freetype.git/plain/freetype-2.3.0-enable-spr.patch
	https://src.fedoraproject.org/cgit/rpms/freetype.git/plain/freetype-2.2.1-enable-valid.patch
	https://src.fedoraproject.org/cgit/rpms/freetype.git/plain/freetype-2.6.5-libtool.patch
"

PKG_NAMES="${NAME}-demos libfreetype6 libfreetype-devel libfreetype-doc"
freetype2_demos_SUMMARY="${SUMMARY} (demo programs)"
freetype2_demos_CONTENTS="usr/bin/ft*.exe* usr/bin/tt*.exe"
libfreetype6_CONTENTS="--exclude=html usr/bin/*.dll usr/share/doc/"
libfreetype_devel_CONTENTS="usr/include/ usr/lib/ usr/share/aclocal/"
libfreetype_doc_CATEGORY="Doc"
libfreetype_doc_CONTENTS="usr/share/doc/${NAME}/html/"

DIFF_EXCLUDES='aclocal.m4 configure *.html'

src_compile() {
	cd ${S}/builds/unix
	NO_AUTOHEADER=1 \
	ACLOCAL_FLAGS="-I ." \
	cygautoreconf

	mkdir -p ${B}/freetype2
	lndir ${S} ${B}/freetype2
	cd ${B}/freetype2
	CYGCONF_SOURCE=${B}/freetype2
	# harfbuzz: new in 2.5.3, circular dep
	cygconf --with-zlib --with-bzip2 --with-png --without-harfbuzz
	cygmake all

	mkdir -p ${B}/ft2demos
	lndir ${S}/../ft2demos-${PV} ${B}/ft2demos
	cd ${B}/ft2demos
	cygmake
}

src_install() {
	local d

	cd ${B}/freetype2
	cyginstall

	cd ${B}/ft2demos
	dobin bin/*.exe

	cd ${S}/docs
	dodoc [A-HJ-Z]* *.txt

	docinto html
	dodoc ft2faq.html

	for d in design glyphs reference tutorial
	do
		docinto html/${d}
		dodoc ${d}/*
	done
}

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2020-10-21 21:20 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-12 16:50 [ITA from Yaakov] freeport2 Ken Brown
2020-05-12 16:53 ` Ken Brown
2020-05-12 18:08   ` Marco Atzeri
2020-05-12 18:34     ` Ken Brown
2020-05-12 19:00     ` Marco Atzeri
2020-05-12 18:02 ` [ITA from Yaakov] freetype2 Yaakov Selkowitz
2020-05-12 18:46   ` Ken Brown
2020-10-20 14:46     ` libfreetype CVE FYI Brian Inglis
2020-10-20 18:00       ` Ken Brown
2020-10-21 17:03         ` Achim Gratz
2020-10-21 21:20           ` Ken Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).