Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 01 Feb 2015 13:26:00 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 197090] [NEW PORT] x11-fonts/symbola - a Unicode 7.0 font
Message-ID:  <bug-197090-13-b9ME1cUmm3@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-197090-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-197090-13@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D197090

--- Comment #2 from Jan Beich <jbeich@FreeBSD.org> ---
Comment on attachment 152205
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D152205
port shar file - second try

Except maybe DOCS warning see

$ portlint -AC
WARN: Makefile: use ".if ${PORT_OPTIONS:MDOCS}" to wrap installation of fil=
es
into /usr/local/share/doc.
WARN: Makefile: new ports should not set PORTREVISION.
FATAL: Makefile: LICENSE_GROUPS appears out-of-order.
FATAL: Makefile: order must be
LICENSE/LICENSE_COMB/LICENSE_GROUPS(_\w+)?/LICENSE_NAME(_\w+)?/LICENSE_TEXT=
(_\w+)?/LICENSE_FILE(_\w+)?/LICENSE_PERMS(_\w+)?/LICENSE_DISTFILES(_\w+)?.
WARN: pkg-message: possible use of absolute pathname "/usr/local/lib/X11/f.=
..".
WARN: pkg-message: possible use of absolute pathname "/usr/local/lib/X11/f.=
..".
WARN: pkg-message: possible direct use of "You'll have to add /usr/local"
found. if so, use ${PREFIX} or ${LOCALBASE}, as appropriate.
WARN: pkg-message: possible direct use of "$ xset fp+ /usr/local" found. if=
 so,
use ${PREFIX} or ${LOCALBASE}, as appropriate.
WARN: Consider to set DEVELOPER=3Dyes in /etc/make.conf
2 fatal errors and 7 warnings found.

>XBUILD_DEPENDS=3D	fc-cache:${PORTSDIR}/x11-fonts/fontconfig
>XRUN_DEPENDS:=3D	${BUILD_DEPENDS}

Unused unless you add either @fc or @fcfontsdir into pkg-plist. Also, the
keywords are allowed to fail if fontconfig isn't installed in which case the
cache would be populated upon first use and end up under ~/.cache/fontconfig
instead of /var/db/fontconfig.

BUILD_DEPENDS is redundant because @fc* only call fc-cache(1) as part of
package install/deinstall, see /usr/ports/Keywords/fc.ucl.

> XPLIST_SUB=3D	FONTSDIR=3D"${FONTSDIR:S|${PREFIX}/||}"
> X
> XFONTSDIR?=3D	lib/X11/fonts/${PORTNAME}

Kinda pointless :S substitution if FONTSDIR isn't an absolute path.

> sed 's/^X//' >symbola/files/COPYING << 'e8f08a458d20d959cd4feed0723cfae6'
> XFonts and documents in this site are not pieces of property or merchandi=
se
> Xitems; they carry no trademark, copyright, license or other market tags;=
 they
> Xare offered free for any use.

Why not move into LICENSE_TEXT?

>sed 's/^X//' >symbola/pkg-message << 'e7eea0cdf9548a0aab4e9fc82e28f42c'
>XYou'll have to add /usr/local/lib/X11/fonts/symbola to your X font path by
>Xeither:
>X
>X$ xset fp+ /usr/local/lib/X11/fonts/symbola
>X$ xset fp rehash
>X
>Xor by adding it to your X server configuration file and restarting the X
>Xserver.

XFLDs are only necessary for legacy X11 apps or *.pcf fonts. To generate the
entries for *.ttf or *.otf fonts you need to add either @fontsdir or
@fcfontsdir into pkg-plist and depend on both mkfontdir and mkfontscale.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-197090-13-b9ME1cUmm3>