pkgsrc-Bugs archive

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

pkg/52139: PKGNAME and PLIST of fonts/takao-ex-fonts-ttf are incorrect



>Number:         52139
>Category:       pkg
>Synopsis:       PKGNAME and PLIST of fonts/takao-ex-fonts-ttf are incorrect
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Apr 04 10:10:00 +0000 2017
>Originator:     SODA Noriyuki
>Release:        NetBSD 7.1
>Organization:
the NetBSD project
>Environment:
System: NetBSD srapc2586.sra.co.jp 7.1 NetBSD 7.1 (GENERIC.201703111743Z) amd64
Architecture: x86_64
Machine: amd64
>Description:

Currently takao-ex-fonts-ttf and takao-fonts-ttf are using same
PKGNAME as follows:
	/usr/pkgsrc/fonts/takao-ex-fonts-ttf/:
		PKGNAME=	takao-fonts-ttf-002.01.01

	/usr/pkgsrc/fonts/takao-fonts-ttf/:
		PKGNAME=	takao-fonts-ttf-003.03.01

I think takao-ex-fonts-ttf should use takao-ex-fonts-ttf-002.01.01
or something like that.

Also, currently both takao-ex-fonts-ttf/PLIST and takao-fonts-ttf/PLIST
have the following entries, and that's problematic:
	share/doc/takao-fonts-ttf/ChangeLog
	share/doc/takao-fonts-ttf/IPA_Font_License_Agreement_v1.0.txt
	share/doc/takao-fonts-ttf/README
	share/doc/takao-fonts-ttf/README.ja

>How-To-Repeat:

try installing fonts/takao-ex-fonts-ttf and see the package name,
then try fonts/takao-fonts-ttf and see the the result.

>Fix:

how about applying the following patch?

Index: fonts/takao-ex-fonts-ttf/Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/fonts/takao-ex-fonts-ttf/Makefile,v
retrieving revision 1.2
diff -u -r1.2 Makefile
--- fonts/takao-ex-fonts-ttf/Makefile	4 Jul 2015 16:18:33 -0000	1.2
+++ fonts/takao-ex-fonts-ttf/Makefile	4 Apr 2017 10:02:21 -0000
@@ -2,7 +2,7 @@
 #
 
 DISTNAME=	TakaoExFonts_00201.01
-PKGNAME=	takao-fonts-ttf-002.01.01
+PKGNAME=	takao-ex-fonts-ttf-002.01.01
 CATEGORIES=	fonts japanese
 MASTER_SITES=	https://launchpad.net/takao-fonts/trunk/15.03/+download/
 EXTRACT_SUFX=	.tar.xz
Index: fonts/takao-ex-fonts-ttf/PLIST
===================================================================
RCS file: /cvsroot/pkgsrc/fonts/takao-ex-fonts-ttf/PLIST,v
retrieving revision 1.1
diff -u -r1.1 PLIST
--- fonts/takao-ex-fonts-ttf/PLIST	7 Mar 2015 12:12:59 -0000	1.1
+++ fonts/takao-ex-fonts-ttf/PLIST	4 Apr 2017 10:02:21 -0000
@@ -1,7 +1,7 @@
 @comment $NetBSD: PLIST,v 1.1 2015/03/07 12:12:59 ryoon Exp $
-share/doc/takao-fonts-ttf/ChangeLog
-share/doc/takao-fonts-ttf/IPA_Font_License_Agreement_v1.0.txt
-share/doc/takao-fonts-ttf/README
-share/doc/takao-fonts-ttf/README.ja
+share/doc/takao-ex-fonts-ttf/ChangeLog
+share/doc/takao-ex-fonts-ttf/IPA_Font_License_Agreement_v1.0.txt
+share/doc/takao-ex-fonts-ttf/README
+share/doc/takao-ex-fonts-ttf/README.ja
 share/fonts/X11/TTF/TakaoExGothic.ttf
 share/fonts/X11/TTF/TakaoExMincho.ttf



Home | Main Index | Thread Index | Old Index