mirror of
https://github.com/beard7n/bsdports.git
synced 2026-04-15 21:11:17 +02:00
add libfreetype210
This commit is contained in:
47
_alpha/libfreetype210/Makefile
Normal file
47
_alpha/libfreetype210/Makefile
Normal file
@@ -0,0 +1,47 @@
|
||||
# Created by: jseger@FreeBSD.org
|
||||
# $FreeBSD: head/print/freetype2/Makefile 435690 2017-03-08 15:26:28Z kwm $
|
||||
|
||||
PORTNAME= freetype2
|
||||
PORTVERSION= 2.10.2
|
||||
CATEGORIES= print
|
||||
MASTER_SITES+= http://savannah.nongnu.org/download/freetype/
|
||||
MASTER_SITES+= SF/freetype/${PORTNAME}/${PORTVERSION:C/^([0-9]+\.[0-9]+\.[0-9]+).*/\1/}/
|
||||
MASTER_SITES+= http://sunsite.cnlab-switch.ch/ftp/mirror/freetype/freetype2/
|
||||
MASTER_SITES+= http://www.funet.fi/pub/mirrors/ftp.freetype.org/freetype2/
|
||||
MASTER_SITES+= http://ftp.sunet.se/pub/text-processing/freetype/freetype2/
|
||||
MASTER_SITES+= ftp://ftp.freetype.org/freetype/freetype2/
|
||||
DISTNAME= ${PORTNAME:S/2//}-${PORTVERSION}
|
||||
PKGNAMEPREFIX= lib
|
||||
|
||||
MAINTAINER= gnome@FreeBSD.org
|
||||
COMMENT= Free and portable TrueType font rendering engine
|
||||
|
||||
USES= gmake tar:xz
|
||||
MAKE_ENV= TOP=""
|
||||
USE_LDCONFIG= yes
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= --without-harfbuzz
|
||||
CONFIGURE_WRKSRC= ${WRKSRC}/builds/unix
|
||||
|
||||
SUB_FILES= pkg-message
|
||||
|
||||
#CFLAGS= -DFT_CONFIG_OPTION_SUBPIXEL_RENDERING
|
||||
|
||||
#SUBPIXEL_HINTING_DESC= Sub-pixel hinting support
|
||||
#V38_DESC= v38 mode (Infinality code)
|
||||
#V38_VARS= SUBPIXEL_HINTING_MODE+=1
|
||||
#V40_DESC= v40 mode (minimal code, a.k.a. ClearType hinting, faster)
|
||||
#V40_VARS= SUBPIXEL_HINTING_MODE+=2
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
post-configure:
|
||||
cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} \
|
||||
${MAKE_CMD} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} setup
|
||||
|
||||
post-install:
|
||||
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libfreetype.so.*
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
#EOF
|
||||
|
||||
3
_alpha/libfreetype210/distinfo
Normal file
3
_alpha/libfreetype210/distinfo
Normal file
@@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1603530403
|
||||
SHA256 (freetype-2.10.2.tar.xz) = 1543d61025d2e6312e0a1c563652555f17378a204a61e99928c9fcef030a2d8b
|
||||
SIZE (freetype-2.10.2.tar.xz) = 2404456
|
||||
20
_alpha/libfreetype210/files/patch-x-builds-unix-configure
Normal file
20
_alpha/libfreetype210/files/patch-x-builds-unix-configure
Normal file
@@ -0,0 +1,20 @@
|
||||
--- ./builds/unix/configure.orig 2018-05-01 23:34:47.000000000 +0200
|
||||
+++ ./builds/unix/configure 2019-03-30 22:49:46.389943000 +0200
|
||||
@@ -2501,7 +2501,7 @@
|
||||
|
||||
# Don't forget to update `docs/VERSIONS.TXT'!
|
||||
|
||||
-version_info='23:2:17'
|
||||
+version_info='13:0:13'
|
||||
|
||||
ft_version=`echo $version_info | tr : .`
|
||||
|
||||
@@ -14727,7 +14727,7 @@
|
||||
-e 's/ *$//' \
|
||||
-e 's/ */ /g'`
|
||||
|
||||
-LIBSSTATIC_CONFIG="-lfreetype \
|
||||
+LIBSSTATIC_CONFIG="-lqtfreetype \
|
||||
$zlib_libsstaticconf \
|
||||
$bzip2_libsstaticconf \
|
||||
$libpng_libsstaticconf \
|
||||
20
_alpha/libfreetype210/files/patch-x-builds-unix-configure.ac
Normal file
20
_alpha/libfreetype210/files/patch-x-builds-unix-configure.ac
Normal file
@@ -0,0 +1,20 @@
|
||||
--- ./builds/unix/configure.ac.orig 2018-05-01 23:34:44.000000000 +0200
|
||||
+++ ./builds/unix/configure.ac 2019-03-30 22:49:46.393311000 +0200
|
||||
@@ -17,7 +17,7 @@
|
||||
|
||||
# Don't forget to update `docs/VERSIONS.TXT'!
|
||||
|
||||
-version_info='23:2:17'
|
||||
+version_info='13:1:13'
|
||||
AC_SUBST([version_info])
|
||||
ft_version=`echo $version_info | tr : .`
|
||||
AC_SUBST([ft_version])
|
||||
@@ -983,7 +983,7 @@
|
||||
-e 's/ *$//' \
|
||||
-e 's/ */ /g'`
|
||||
|
||||
-LIBSSTATIC_CONFIG="-lfreetype \
|
||||
+LIBSSTATIC_CONFIG="-lqtfreetype \
|
||||
$zlib_libsstaticconf \
|
||||
$bzip2_libsstaticconf \
|
||||
$libpng_libsstaticconf \
|
||||
26
_alpha/libfreetype210/files/patch-x-builds-unix-detect.mk
Normal file
26
_alpha/libfreetype210/files/patch-x-builds-unix-detect.mk
Normal file
@@ -0,0 +1,26 @@
|
||||
--- ./builds/unix/detect.mk.orig 2018-04-22 11:41:36.000000000 +0200
|
||||
+++ ./builds/unix/detect.mk 2019-03-30 22:49:46.396705000 +0200
|
||||
@@ -22,6 +22,9 @@
|
||||
$(wildcard /usr/sbin/init) \
|
||||
$(wildcard /dev/null) \
|
||||
$(wildcard /hurd/auth))
|
||||
+ # FreeBSD is "unix" so just mandate this to fix the build in
|
||||
+ # jails that do not have init (see PR#113470).
|
||||
+ is_unix := true
|
||||
ifneq ($(is_unix),)
|
||||
|
||||
PLATFORM := unix
|
||||
@@ -80,10 +83,10 @@
|
||||
ifdef must_configure
|
||||
ifneq ($(have_Makefile),)
|
||||
# we are building FT2 not in the src tree
|
||||
- $(TOP_DIR)/builds/unix/configure $(value CFG)
|
||||
+# $(TOP_DIR)/builds/unix/configure $(value CFG)
|
||||
else
|
||||
- cd builds/unix; \
|
||||
- ./configure $(value CFG)
|
||||
+# cd builds/unix; \
|
||||
+# ./configure $(value CFG)
|
||||
endif
|
||||
endif
|
||||
|
||||
36
_alpha/libfreetype210/files/patch-x-builds-unix-ltmain.sh
Normal file
36
_alpha/libfreetype210/files/patch-x-builds-unix-ltmain.sh
Normal file
@@ -0,0 +1,36 @@
|
||||
--- ./builds/unix/ltmain.sh.orig 2016-12-30 22:17:22.000000000 +0200
|
||||
+++ ./builds/unix/ltmain.sh 2017-05-03 15:42:25.006660000 +0200
|
||||
@@ -8805,13 +8805,13 @@
|
||||
#
|
||||
case $version_type in
|
||||
# correct linux to gnu/linux during the next big refactor
|
||||
- darwin|freebsd-elf|linux|osf|windows|none)
|
||||
+ darwin|linux|osf|windows|none)
|
||||
func_arith $number_major + $number_minor
|
||||
current=$func_arith_result
|
||||
age=$number_minor
|
||||
revision=$number_revision
|
||||
;;
|
||||
- freebsd-aout|qnx|sunos)
|
||||
+ freebsd*|qnx|sunos)
|
||||
current=$number_major
|
||||
revision=$number_minor
|
||||
age=0
|
||||
@@ -8891,15 +8891,9 @@
|
||||
esac
|
||||
;;
|
||||
|
||||
- freebsd-aout)
|
||||
+ freebsd*)
|
||||
major=.$current
|
||||
- versuffix=.$current.$revision
|
||||
- ;;
|
||||
-
|
||||
- freebsd-elf)
|
||||
- func_arith $current - $age
|
||||
- major=.$func_arith_result
|
||||
- versuffix=$major.$age.$revision
|
||||
+ versuffix=.$current
|
||||
;;
|
||||
|
||||
irix | nonstopux)
|
||||
@@ -0,0 +1,22 @@
|
||||
--- ./include/freetype/config/ftoption.h.orig 2020-01-19 18:02:27.000000000 +0200
|
||||
+++ ./include/freetype/config/ftoption.h 2020-10-24 11:02:14.679157000 +0200
|
||||
@@ -674,8 +674,8 @@
|
||||
* https://www.microsoft.com/typography/cleartype/truetypecleartype.aspx
|
||||
*/
|
||||
/* #define TT_CONFIG_OPTION_SUBPIXEL_HINTING 1 */
|
||||
-#define TT_CONFIG_OPTION_SUBPIXEL_HINTING 2
|
||||
-/* #define TT_CONFIG_OPTION_SUBPIXEL_HINTING ( 1 | 2 ) */
|
||||
+/* #define TT_CONFIG_OPTION_SUBPIXEL_HINTING 2 */
|
||||
+#define TT_CONFIG_OPTION_SUBPIXEL_HINTING ( 1 | 2 )
|
||||
|
||||
|
||||
/**************************************************************************
|
||||
@@ -932,7 +932,7 @@
|
||||
*
|
||||
* This problematic commit is now reverted (more or less).
|
||||
*/
|
||||
-/* #define AF_CONFIG_OPTION_TT_SIZE_METRICS */
|
||||
+//#define AF_CONFIG_OPTION_TT_SIZE_METRICS
|
||||
|
||||
/* */
|
||||
|
||||
19
_alpha/libfreetype210/files/pkg-message.in
Normal file
19
_alpha/libfreetype210/files/pkg-message.in
Normal file
@@ -0,0 +1,19 @@
|
||||
The 2.7.x series now uses the new subpixel hinting mode (V40 port's option) as
|
||||
the default, emulating a modern version of ClearType. This change inevitably
|
||||
leads to different rendering results, and you might change port's options to
|
||||
adapt it to your taste (or use the new "FREETYPE_PROPERTIES" environment
|
||||
variable).
|
||||
|
||||
The environment variable "FREETYPE_PROPERTIES" can be used to control the
|
||||
driver properties. Example:
|
||||
|
||||
FREETYPE_PROPERTIES=truetype:interpreter-version=35 \
|
||||
cff:no-stem-darkening=1 \
|
||||
autofitter:warping=1
|
||||
|
||||
This allows to select, say, the subpixel hinting mode at runtime for a given
|
||||
application.
|
||||
|
||||
The controllable properties are listed in the section "Controlling FreeType
|
||||
Modules" in the reference's table of contents
|
||||
(%%DOCSDIR%%/reference/ft2-toc.html, if documentation was installed).
|
||||
25
_alpha/libfreetype210/pkg-descr
Normal file
25
_alpha/libfreetype210/pkg-descr
Normal file
@@ -0,0 +1,25 @@
|
||||
FreeType is a freely available software library to render fonts.
|
||||
|
||||
It is written in C, designed to be small, efficient, highly customizable, and portable while capable of producing high-quality output (glyph images) of most vector and bitmap font formats.
|
||||
|
||||
Some products that use FreeType for rendering fonts on screen or on paper, either exclusively or partially:
|
||||
|
||||
---
|
||||
The FreeType engine is a free and portable font rendering
|
||||
engine, developed to provide advanced font support for a variety of
|
||||
platforms and environments. FreeType is a library which can open and
|
||||
manages font files as well as efficiently load, hint and render
|
||||
individual glyphs. FreeType is not a font server or a complete
|
||||
text-rendering library.
|
||||
|
||||
----
|
||||
This includes some tools that are in FreeType 1's contrib directory.
|
||||
|
||||
ttf2pfb: Converting TrueType fonts to the Postscript Type 1 format.
|
||||
ttf2pk: A simple conversion tool to bring TrueType quality to the
|
||||
TeX world.
|
||||
ttf2bdf: Produce bitmapped fonts from TrueType files for your X11
|
||||
applications.
|
||||
ttfbanner: make posters using a TrueType font
|
||||
|
||||
WWW: http://www.freetype.org/
|
||||
59
_alpha/libfreetype210/pkg-plist
Normal file
59
_alpha/libfreetype210/pkg-plist
Normal file
@@ -0,0 +1,59 @@
|
||||
include/freetype2/freetype/config/ftconfig.h
|
||||
include/freetype2/freetype/config/ftheader.h
|
||||
include/freetype2/freetype/config/ftmodule.h
|
||||
include/freetype2/freetype/config/ftoption.h
|
||||
include/freetype2/freetype/config/ftstdlib.h
|
||||
include/freetype2/freetype/freetype.h
|
||||
include/freetype2/freetype/ftadvanc.h
|
||||
include/freetype2/freetype/ftbbox.h
|
||||
include/freetype2/freetype/ftbdf.h
|
||||
include/freetype2/freetype/ftbitmap.h
|
||||
include/freetype2/freetype/ftbzip2.h
|
||||
include/freetype2/freetype/ftcache.h
|
||||
include/freetype2/freetype/ftchapters.h
|
||||
include/freetype2/freetype/ftcid.h
|
||||
include/freetype2/freetype/ftcolor.h
|
||||
include/freetype2/freetype/ftdriver.h
|
||||
include/freetype2/freetype/fterrdef.h
|
||||
include/freetype2/freetype/fterrors.h
|
||||
include/freetype2/freetype/ftfntfmt.h
|
||||
include/freetype2/freetype/ftgasp.h
|
||||
include/freetype2/freetype/ftglyph.h
|
||||
include/freetype2/freetype/ftgxval.h
|
||||
include/freetype2/freetype/ftgzip.h
|
||||
include/freetype2/freetype/ftimage.h
|
||||
include/freetype2/freetype/ftincrem.h
|
||||
include/freetype2/freetype/ftlcdfil.h
|
||||
include/freetype2/freetype/ftlist.h
|
||||
include/freetype2/freetype/ftlzw.h
|
||||
include/freetype2/freetype/ftmac.h
|
||||
include/freetype2/freetype/ftmm.h
|
||||
include/freetype2/freetype/ftmodapi.h
|
||||
include/freetype2/freetype/ftmoderr.h
|
||||
include/freetype2/freetype/ftotval.h
|
||||
include/freetype2/freetype/ftoutln.h
|
||||
include/freetype2/freetype/ftparams.h
|
||||
include/freetype2/freetype/ftpfr.h
|
||||
include/freetype2/freetype/ftrender.h
|
||||
include/freetype2/freetype/ftsizes.h
|
||||
include/freetype2/freetype/ftsnames.h
|
||||
include/freetype2/freetype/ftstroke.h
|
||||
include/freetype2/freetype/ftsynth.h
|
||||
include/freetype2/freetype/ftsystem.h
|
||||
include/freetype2/freetype/fttrigon.h
|
||||
include/freetype2/freetype/fttypes.h
|
||||
include/freetype2/freetype/ftwinfnt.h
|
||||
include/freetype2/freetype/t1tables.h
|
||||
include/freetype2/freetype/ttnameid.h
|
||||
include/freetype2/freetype/tttables.h
|
||||
include/freetype2/freetype/tttags.h
|
||||
include/freetype2/ft2build.h
|
||||
lib/libfreetype.a
|
||||
lib/libfreetype.la
|
||||
lib/libfreetype.so
|
||||
lib/libfreetype.so.13
|
||||
lib/pkgconfig/freetype2.pc
|
||||
share/aclocal/freetype2.m4
|
||||
@dir include/freetype2/freetype/config
|
||||
@dir include/freetype2/freetype
|
||||
@dir include/freetype2
|
||||
Reference in New Issue
Block a user