[PC-BSD Pbi-dev] multimedia/vlc: Patch for Japanese fonts

Yamashiro, Jun yamajun at ofug.net
Sat Sep 11 20:55:24 PDT 2010


Hello lists,

multimedia/vlc PBI module haven't link to /usr/local/etc/fonts.  Cannot display 
Japanese text in menu / media information.
I wrote ad-hoc patch to PBI.SetupScript.sh .  Please fix it.

How to fix:
% svn checkout svn://svn.pcbsd.org/pbibuild pbibuild
% cd pbibuild/modules/multimedia/vlc
% patch -p0 < /path/to/this/mail
% rm overlay-dir/PBI.SetupScript.sh.orig
% svn commit

-- 
Yamashiro, Jun			Email: yamajun at ofug.net
Okinawa FreeBSD Users Group


Index: overlay-dir/PBI.SetupScript.sh
===================================================================
--- overlay-dir/PBI.SetupScript.sh	(revision 7512)
+++ overlay-dir/PBI.SetupScript.sh	(working copy)
@@ -15,3 +15,7 @@
 # echo 'MSG: <text>' # Display this text above progress bar
 #########################################
 
+if [ ! -L /Programs/${PROGDIR}/etc/fonts ]; then 
+	ln -s /usr/local/etc/fonts /Programs/${PROGDIR}/etc/fonts
+fi
+


More information about the Pbi-dev mailing list