pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/52373: update fonts/ttf-tlwg to 0.6.3



>Number:         52373
>Category:       pkg
>Synopsis:       update fonts/ttf-tlwg to 0.6.3
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Thu Jul 06 19:55:00 +0000 2017
>Originator:     scole_mail
>Release:        pkgsrc-2017Q1
>Organization:
none
>Environment:
NetBSD dstar 7.1.0_PATCH NetBSD 7.1.0_PATCH (GENERIC) #0: Wed May 24 08:04:14 PDT 2017  scole@dstar:/home/scole/nbsd/cvs/7_0/obj/sys/arch/i386/compile/GENERIC i386
>Description:
Update ttf-tlwg to 0.6.3 from 0.6.1

The patches below update to use GITHUB since it looks like the originator moved to git after 0.6.1.

Also, with both 0.6.1 and these patches for 0.6.3, I'm getting errors like

===> Installing binary package of ttf-tlwg-0.6.3
ttf-tlwg-0.6.3: copying /home/scole/pkg/share/fontconfig/conf.avail/64-01-tlwg-kinnari.conf to /home/scole/pkg/etc/conf.d/64-01-tlwg-kinnari.conf
cp: /home/scole/pkg/etc/conf.d/64-01-tlwg-kinnari.conf: No such file or directory
chmod: /home/scole/pkg/etc/conf.d/64-01-tlwg-kinnari.conf: No such file or directory
ttf-tlwg-0.6.3: copying /home/scole/pkg/share/fontconfig/conf.avail/64-02-tlwg-norasi.conf to /home/scole/pkg/etc/conf.d/64-02-tlwg-norasi.conf
cp: /home/scole/pkg/etc/conf.d/64-02-tlwg-norasi.conf: No such file or directory
chmod: /home/scole/pkg/etc/conf.d/64-02-tlwg-norasi.conf: No such file or directory
[snipped...]

Maybe this directory
 ${PKG_SYSCONFDIR}/conf.d
is missing?

If I add this 
MAKE_DIRS+=	${PKG_SYSCONFDIR}/conf.d
to the Makefile, the errors go away, but I'm not sure about the correct way to handle for pkgsrc, and if PLIST should contain all those conf.d files.

Here are patches that at least build (with the errors) on my machine and seem to display the fonts:


Summary of changes:  (A/? = New, R/D = Removed, M = Modified)
=============================================================
M Makefile
M PLIST
M distinfo

Apply patch with "cd .../pkgsrc/fonts/ttf-tlwg ; patch -s -p0 < .../patchfile"

Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/fonts/ttf-tlwg/Makefile,v
retrieving revision 1.5
diff -b -u -r1.5 Makefile
--- Makefile    19 Jan 2017 18:52:09 -0000      1.5
+++ Makefile    6 Jul 2017 19:48:41 -0000
@@ -1,11 +1,15 @@
 # $NetBSD: Makefile,v 1.5 2017/01/19 18:52:09 agc Exp $
 
-DISTNAME=      ttf-tlwg-0.6.1
+DISTNAME=      ttf-tlwg-${TLWG_VERSION}
 CATEGORIES=    fonts
-MASTER_SITES=  ftp://linux.thai.net/pub/thailinux/software/thai-ttf/
-MASTER_SITES+= http://linux.thai.net/pub/thailinux/software/thai-ttf/
+
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=tlwg/}
+GITHUB_PROJECT=        fonts-tlwg
+GITHUB_RELEASE=        v${TLWG_VERSION}
 EXTRACT_SUFX=  .tar.xz
 
+TLWG_VERSION=  0.6.3
+
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=      http://linux.thai.net/projects/thaifonts-scalable
 COMMENT=       Thai fonts in TTF format
@@ -17,14 +21,15 @@
 FONTDIR=               ${PREFIX}/share/fonts/X11/TTF
 FONTS_DIRS.ttf=                ${FONTDIR}
 INSTALLATION_DIRS=     ${FONTDIR} share/fontconfig/conf.avail
+
 CONF_FILES+=   ${PREFIX}/share/fontconfig/conf.avail/64-01-tlwg-kinnari.conf \
                ${PKG_SYSCONFDIR}/conf.d/64-01-tlwg-kinnari.conf
 CONF_FILES+=   ${PREFIX}/share/fontconfig/conf.avail/64-02-tlwg-norasi.conf \
                ${PKG_SYSCONFDIR}/conf.d/64-02-tlwg-norasi.conf
+CONF_FILES+=   ${PREFIX}/share/fontconfig/conf.avail/64-10-tlwg-loma.conf \
+               ${PKG_SYSCONFDIR}/conf.d/64-10-tlwg-loma.conf
 CONF_FILES+=   ${PREFIX}/share/fontconfig/conf.avail/64-11-tlwg-waree.conf \
                ${PKG_SYSCONFDIR}/conf.d/64-11-tlwg-waree.conf
-CONF_FILES+=   ${PREFIX}/share/fontconfig/conf.avail/64-12-tlwg-loma.conf \
-               ${PKG_SYSCONFDIR}/conf.d/64-12-tlwg-loma.conf
 CONF_FILES+=   ${PREFIX}/share/fontconfig/conf.avail/64-13-tlwg-garuda.conf \
                ${PKG_SYSCONFDIR}/conf.d/64-13-tlwg-garuda.conf
 CONF_FILES+=   ${PREFIX}/share/fontconfig/conf.avail/64-14-tlwg-umpush.conf \
@@ -43,12 +48,8 @@
                ${PKG_SYSCONFDIR}/conf.d/89-tlwg-kinnari-synthetic.conf
 CONF_FILES+=   ${PREFIX}/share/fontconfig/conf.avail/89-tlwg-laksaman-synthetic.conf \
                ${PKG_SYSCONFDIR}/conf.d/89-tlwg-laksaman-synthetic.conf
-CONF_FILES+=   ${PREFIX}/share/fontconfig/conf.avail/89-tlwg-loma-synthetic.conf \
-               ${PKG_SYSCONFDIR}/conf.d/89-tlwg-loma-synthetic.conf
 CONF_FILES+=   ${PREFIX}/share/fontconfig/conf.avail/89-tlwg-umpush-synthetic.conf \
                ${PKG_SYSCONFDIR}/conf.d/89-tlwg-umpush-synthetic.conf
-CONF_FILES+=   ${PREFIX}/share/fontconfig/conf.avail/89-tlwg-waree-synthetic.conf \
-               ${PKG_SYSCONFDIR}/conf.d/89-tlwg-waree-synthetic.conf
 
 do-install:
        cd ${WRKSRC} && for f in *.ttf ; do \
Index: PLIST
===================================================================
RCS file: /cvsroot/pkgsrc/fonts/ttf-tlwg/PLIST,v
retrieving revision 1.3
diff -b -u -r1.3 PLIST
--- PLIST       17 Aug 2015 18:09:07 -0000      1.3
+++ PLIST       6 Jul 2017 19:48:42 -0000
@@ -1,8 +1,8 @@
 @comment $NetBSD: PLIST,v 1.3 2015/08/17 18:09:07 leot Exp $
 share/fontconfig/conf.avail/64-01-tlwg-kinnari.conf
 share/fontconfig/conf.avail/64-02-tlwg-norasi.conf
+share/fontconfig/conf.avail/64-10-tlwg-loma.conf
 share/fontconfig/conf.avail/64-11-tlwg-waree.conf
-share/fontconfig/conf.avail/64-12-tlwg-loma.conf
 share/fontconfig/conf.avail/64-13-tlwg-garuda.conf
 share/fontconfig/conf.avail/64-14-tlwg-umpush.conf
 share/fontconfig/conf.avail/64-15-laksaman.conf
@@ -12,9 +12,7 @@
 share/fontconfig/conf.avail/89-tlwg-garuda-synthetic.conf
 share/fontconfig/conf.avail/89-tlwg-kinnari-synthetic.conf
 share/fontconfig/conf.avail/89-tlwg-laksaman-synthetic.conf
-share/fontconfig/conf.avail/89-tlwg-loma-synthetic.conf
 share/fontconfig/conf.avail/89-tlwg-umpush-synthetic.conf
-share/fontconfig/conf.avail/89-tlwg-waree-synthetic.conf
 share/fonts/X11/TTF/Garuda-Bold.ttf
 share/fonts/X11/TTF/Garuda-BoldOblique.ttf
 share/fonts/X11/TTF/Garuda-Oblique.ttf
Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/fonts/ttf-tlwg/distinfo,v
retrieving revision 1.3
diff -b -u -r1.3 distinfo
--- distinfo    3 Nov 2015 20:45:23 -0000       1.3
+++ distinfo    6 Jul 2017 19:48:43 -0000
@@ -1,6 +1,6 @@
 $NetBSD: distinfo,v 1.3 2015/11/03 20:45:23 agc Exp $
 
-SHA1 (ttf-tlwg-0.6.1.tar.xz) = 975bb4fb87ef52598519a6aba21bcf694d3901ff
-RMD160 (ttf-tlwg-0.6.1.tar.xz) = 717ecb59b990e242ca7d1e47d1be3c38f5090452
-SHA512 (ttf-tlwg-0.6.1.tar.xz) = 47364c9125509eb115abdaa60eb1f046d5bef694b2b51113e611b1c35c50300d682fc35c71e16ab3d6ffb43f36ba3e77af70019ec050012aebe04d9c0ece544f
-Size (ttf-tlwg-0.6.1.tar.xz) = 1931628 bytes
+SHA1 (ttf-tlwg-0.6.3.tar.xz) = 94649e8ac5dd1152d8d27f49a1c2e7b930ccc447
+RMD160 (ttf-tlwg-0.6.3.tar.xz) = 63e1d797c77307457adeca38de699641b6f87f4a
+SHA512 (ttf-tlwg-0.6.3.tar.xz) = 8b77ed00fef8591ff1bbb07ed43d017986c30e331fa69019fea53208fff93c23cdb1cc8c49d6c7fa6ed4965e9c923f200ed9c52cb819ea89136338677367b776
+Size (ttf-tlwg-0.6.3.tar.xz) = 1961492 bytes




 

>How-To-Repeat:

>Fix:



Home | Main Index | Thread Index | Old Index