OpenIndiana MPlayerのインストール

OpenIndiana MPlayerのインストール

2020年1月13日
OpenIndiana

 OpenIndiana Hipster 2019.10にMPlayerをインストールするには、Joyent Packages DocumentationにあるSmartOS/Illumosの手順に従い、pkginコマンドを先にインストールする必要がある。
 まず、rootになってbootstrap-trunk-x86_64-20190317.tar.gzをダウンロードし、/以下に解凍・展開する。pkginコマンドが、/opt/local/binにインストールされるので環境変数PATH、MANPATHにそれぞれ/opt/local/sbin:/opt/local/bin、/opt/local/manを付け加える。
 「pkgin search mplayer」とコマンド入力してMPlayerを検索するもMPlayerのドキュメントやフォントなどは検索されたがMPlayer本体のパッケージが見つからなかった。
 pkginコマンドは、どうも「Index of /packages/SmartOS/trunk/x86_64/All/」からソフトウェアパッケージをダウンロードしてくるようで、「Index of /packages/SmartOS/」には、過去に定期的に作成されたリポジトリも保存されていた。
 一世代前のリポジトリは、「Index of /packages/SmartOS/2019Q4/x86_64/All/」になるようで、その中には、mplayer-1.4nb1.tgzが保存されていた。

$ BOOTSTRAP_TAR="bootstrap-trunk-x86_64-20200124.tar.gz"
$ sudo curl -O https://pkgsrc.joyent.com/packages/SmartOS/bootstrap/${BOOTSTRAP_TAR}
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 25.3M  100 25.3M    0     0  2790k      0  0:00:09  0:00:09 --:--:-- 3736k
$ sudo tar -zxpf ${BOOTSTRAP_TAR} -C /
$ PATH=/opt/local/sbin:/opt/local/bin:$PATH
$ MANPATH=/opt/local/man:$MANPATH
$ sudo pkgin search mplayer
mplayerthumbs-16.04.0nb11  thumbnail generator for all KDE file managers
mplayer-share-1.4nb2  Documentation used by mplayer and gmplayer
mplayer-fonts-20030714nb1  Fonts for mplayer and gmplayer
gmtk-1.0.9nb17       Gnome-mplayer toolkit

=: package is installed and up-to-date
<: package is installed but newer version is available
>: installed package has a greater version than available package

 pkginコマンドのリポジトリは、/opt/local/etc/pkgin/repositories.confで定義されており、その定義をtrunkから2019Q4に変更する。

#
# Pkgin repositories list
#
# Simply add repositories URIs one below the other
#
# WARNING: order matters, duplicates will not be added, if two
# repositories hold the same package, it will be fetched from
# the first one listed in this file.
#
# This file format supports the following macros:
# $arch to define the machine hardware platform
# $osrelease to define the release version for the operating system
#
# Remote ftp repository
#
# ftp://ftp.netbsd.org/pub/pkgsrc/packages/NetBSD/$arch/5.1/All
#
# Remote http repository
#
# http://mirror-master.dragonflybsd.org/packages/$arch/DragonFly-$osrelease/stable/All
#
# Local repository (must contain a pkg_summary.gz or bz2)
#
# file:///usr/pkgsrc/packages/All
#
# https://pkgsrc.joyent.com/packages/SmartOS/trunk/x86_64/All
https://pkgsrc.joyent.com/packages/SmartOS/2019Q4/x86_64/All

「pkgin search mplayer」とMPlayerを検索するとインストール可能なパッケージ一覧に表示された。

$ sudo pkgin search mplayer
cleaning database from https://pkgsrc.joyent.com/packages/SmartOS/trunk/x86_64/All entries...
reading local summary...
processing local summary...
processing remote summary (https://pkgsrc.joyent.com/packages/SmartOS/2019Q4/x86_64/All)...
pkg_summary.xz                                                    100% 2172KB 724.2KB/s   00:03
mplayerthumbs-16.04.0nb9  thumbnail generator for all KDE file managers
mplayer-share-1.4nb2  Documentation used by mplayer and gmplayer
mplayer-fonts-20030714nb1  Fonts for mplayer and gmplayer
mplayer-1.4nb1       Fast, cross-platform movie player
mencoder-1.4nb1      Simple movie encoder for MPlayer-playable movies
kmplayer-0.11.3dnb54  KDE frontend to mplayer
gmtk-1.0.9nb17       Gnome-mplayer toolkitgmp
gmplayer-1.4nb2      Fast, cross-platform movie player with GTK2+ interface
albumplayer-0.3.1nb28  FLAC album player

=: package is installed and up-to-date
<: package is installed but newer version is available
>: installed package has a greater version than available packag

 MPlayerは、本来、「mplayer 再生ファイル」とコマンドで起動させるメディアプレーヤーであり、設定や音量、再生箇所を指定するGUIを持たないが、リポジトリを変更したことでMPlayerのフロントエンドであるgmplayerもインストールすることができるようになった。デフォルトのリポジトリで何故、MPlayerが無いのか不思議である。
 pkginコマンドでMPlayer、gmplayerの両方をインストールする。pkginコマンドでは、MPlayerのバイナリパッケージが依存関係のあるパッケージとともにインストールされる。

nakada@openindiana:~$ sudo pkgin install gmplayer mplayer
calculating dependencies...done.

7 packages to refresh:
  readline-8.0 mozilla-rootcerts-1.0.20191207 pkg_install-info-4.5nb3 xz-5.2.4 bzip2-1.0.8
  zlib-1.2.11 gcc7-libs-7.4.0nb4

105 packages to install:
  nspr-4.24 pciids-20150907 libpciaccess-0.16 jbigkit-2.1 spidermonkey52-52.7.4nb11
  libdaemon-0.14nb1 polkit-0.115nb3 dbus-glib-0.110 flac-1.3.3 speex-1.2.0 icu-64.2nb1
  pixman-0.38.4nb1 lzo-2.10 tiff-4.1.0 graphite2-1.3.13 cairo-gobject-1.16.0nb3 db4-4.8.30nb1
  xmlcatmgr-2.2nb1 libxshmfence-1.3nb1 libdrm-2.4.100 glu-9.0.1 MesaLib-19.2.7 x265-3.2.1
  opencore-amr-0.1.5 libxml2-2.9.10nb1 libvpx-1.8.1nb1 libbluray-1.1.2 libaom-1.0.0nb2
  lame-3.100nb1 libuuid-2.32.1 expat-2.2.8 pcre-8.43 libffi-3.2.1nb4 shared-mime-info-1.10
  python27-2.7.17 py27-expat-2.7.17 pango-1.44.7 libXt-1.2.0 libXrender-0.9.10nb1 libXrandr-1.5.2
  libXi-1.7.10 libXft-2.3.3 libXfixes-5.0.3nb1 libXdamage-1.1.5 libXcursor-1.2.0
  libXcomposite-0.4.5 gdk-pixbuf2-2.40.0 cairo-1.16.0 atk-2.33.3 libxcb-1.13.1nb1 libXdmcp-1.1.3
  libXau-1.0.9 harfbuzz-2.6.4 fribidi-1.0.8 enca-1.15 popt-1.16nb2 gettext-lib-0.20.1
  python37-3.7.5 libXext-1.3.4 libogg-1.3.4nb1 mplayer-fonts-20030714nb1 speexdsp-1.2.0
  libsndfile-1.0.28nb3 libltdl-2.4.6 libatomic_ops-7.6.10 libXtst-1.2.3nb1 libSM-1.2.3
  libICE-1.0.10 gdbm-1.14.1 dbus-1.12.16 consolekit-1.2.1nb3 avahi-0.6.32nb19 xvidcore-1.3.3nb1
  x264-devel-20190312nb1 pulseaudio-13.0nb1 png-1.6.37 mplayer-share-1.4nb2 libvorbis-1.3.6nb1
  libvdpau-1.3 libtheora-1.1.1nb2 libopus-1.3.1 libmad-0.15.1bnb2 libjpeg-turbo-1.5.3
  libiconv-1.14nb3 libdvdread-6.0.2 libdvdnav-6.0.1 libdv-1.0.0nb2 libass-0.14.0nb2
  libXxf86vm-1.1.4nb1 libXxf86dga-1.1.5 libXvMC-1.0.12 libXv-1.0.11nb1 libXinerama-1.1.4
  libXScrnSaver-1.2.3 libX11-1.6.9 gtk2+-2.24.32nb11 glib2-2.62.3 giflib-5.1.4 freetype2-2.10.1
  fontconfig-2.13.1 ffmpeg4-4.2.1nb1 faad2-2.9.1 SDL-1.2.15nb29 gmplayer-1.4nb2 mplayer-1.4nb1

7 to refresh, 0 to upgrade, 105 to install
273M to download, 823M to install

proceed ? [Y/n]
nspr-4.24.tgz                                                     100%  438KB 438.4KB/s   00:01
pciids-20150907.tgz                                               100%  235KB 234.6KB/s   00:00
libpciaccess-0.16.tgz                                             100%   56KB  56.1KB/s   00:01
jbigkit-2.1.tgz                                                   100%  125KB 125.2KB/s   00:01
spidermonkey52-52.7.4nb11.tgz                                     100%   10MB   2.5MB/s   00:04
libdaemon-0.14nb1.tgz                                             100%   40KB  39.8KB/s   00:00
polkit-0.115nb3.tgz                                               100%  343KB 343.4KB/s   00:01
dbus-glib-0.110.tgz                                               100%  311KB 310.9KB/s   00:01
readline-8.0.tgz                                                  100%  555KB 554.8KB/s   00:01
flac-1.3.3.tgz                                                    100%  750KB 750.3KB/s   00:01
speex-1.2.0.tgz                                                   100%  583KB 583.2KB/s   00:01
icu-64.2nb1.tgz                                                   100%   28MB   2.6MB/s   00:11
pixman-0.38.4nb1.tgz                                              100%  643KB 642.6KB/s   00:01
lzo-2.10.tgz                                                      100%  166KB 165.9KB/s   00:00
tiff-4.1.0.tgz                                                    100% 1331KB   1.3MB/s   00:01
graphite2-1.3.13.tgz                                              100%  120KB 119.7KB/s   00:00
cairo-gobject-1.16.0nb3.tgz                                       100%   31KB  31.0KB/s   00:00
mozilla-rootcerts-1.0.20191207.tgz                                100%  583KB 583.1KB/s   00:01
db4-4.8.30nb1.tgz                                                 100% 5494KB   1.1MB/s   00:05
pkg_install-info-4.5nb3.tgz                                       100%   21KB  21.1KB/s   00:00
xmlcatmgr-2.2nb1.tgz                                              100%   37KB  36.7KB/s   00:00
libxshmfence-1.3nb1.tgz                                           100%   12KB  11.8KB/s   00:00
libdrm-2.4.100.tgz                                                100%  512KB 512.0KB/s   00:01
glu-9.0.1.tgz                                                     100%  525KB 524.8KB/s   00:01
MesaLib-19.2.7.tgz                                                100%   59MB   2.8MB/s   00:21
xz-5.2.4.tgz                                                      100%  392KB 391.9KB/s   00:01
x265-3.2.1.tgz                                                    100% 2015KB   1.0MB/s   00:02
opencore-amr-0.1.5.tgz                                            100%  357KB 356.9KB/s   00:00
libxml2-2.9.10nb1.tgz                                             100% 2475KB 618.8KB/s   00:04
libvpx-1.8.1nb1.tgz                                               100% 2906KB 968.7KB/s   00:03
libbluray-1.1.2.tgz                                               100%  396KB 396.1KB/s   00:01
libaom-1.0.0nb2.tgz                                               100% 2057KB 685.7KB/s   00:03
lame-3.100nb1.tgz                                                 100%  697KB 697.1KB/s   00:01
libuuid-2.32.1.tgz                                                100%   59KB  59.4KB/s   00:01
expat-2.2.8.tgz                                                   100%  250KB 249.8KB/s   00:00
bzip2-1.0.8.tgz                                                   100%  146KB 145.6KB/s   00:00
pcre-8.43.tgz                                                     100% 1289KB 644.6KB/s   00:02
libffi-3.2.1nb4.tgz                                               100%   59KB  58.8KB/s   00:01
shared-mime-info-1.10.tgz                                         100% 1111KB   1.1MB/s   00:01
python27-2.7.17.tgz                                               100%   18MB 995.5KB/s   00:19
py27-expat-2.7.17.tgz                                             100%   35KB  34.6KB/s   00:00
pango-1.44.7.tgz                                                  100%  601KB 600.6KB/s   00:01
libXt-1.2.0.tgz                                                   100%  899KB 898.9KB/s   00:01
libXrender-0.9.10nb1.tgz                                          100%   67KB  67.0KB/s   00:00
libXrandr-1.5.2.tgz                                               100%   68KB  68.0KB/s   00:00
libXi-1.7.10.tgz                                                  100%  229KB 228.8KB/s   00:01
libXft-2.3.3.tgz                                                  100%  126KB 126.0KB/s   00:01
libXfixes-5.0.3nb1.tgz                                            100%   37KB  37.1KB/s   00:00
libXdamage-1.1.5.tgz                                              100%   24KB  24.1KB/s   00:00
libXcursor-1.2.0.tgz                                              100%   70KB  70.0KB/s   00:00
libXcomposite-0.4.5.tgz                                           100%   29KB  28.7KB/s   00:00
gdk-pixbuf2-2.40.0.tgz                                            100%  908KB 908.1KB/s   00:01
cairo-1.16.0.tgz                                                  100% 2024KB 674.6KB/s   00:03
atk-2.33.3.tgz                                                    100%  463KB 463.1KB/s   00:01
libxcb-1.13.1nb1.tgz                                              100% 1647KB   1.6MB/s   00:01
libXdmcp-1.1.3.tgz                                                100%   41KB  40.6KB/s   00:00
libXau-1.0.9.tgz                                                  100%   20KB  19.8KB/s   00:00
harfbuzz-2.6.4.tgz                                                100% 2073KB   1.0MB/s   00:02
fribidi-1.0.8.tgz                                                 100%  119KB 118.6KB/s   00:00
enca-1.15.tgz                                                     100%  200KB 200.4KB/s   00:00
popt-1.16nb2.tgz                                                  100%   95KB  95.5KB/s   00:01
gettext-lib-0.20.1.tgz                                            100%   68KB  67.7KB/s   00:00
python37-3.7.5.tgz                                                100%   26MB   1.0MB/s   00:26
libXext-1.3.4.tgz                                                 100%  178KB 177.9KB/s   00:00
libogg-1.3.4nb1.tgz                                               100%  235KB 235.3KB/s   00:01
mplayer-fonts-20030714nb1.tgz                                     100% 1025KB 512.3KB/s   00:02
zlib-1.2.11.tgz                                                   100%  146KB 146.0KB/s   00:00
speexdsp-1.2.0.tgz                                                100%  512KB 512.2KB/s   00:01
libsndfile-1.0.28nb3.tgz                                          100%  713KB 356.3KB/s   00:02
libltdl-2.4.6.tgz                                                 100%   54KB  54.4KB/s   00:00
libatomic_ops-7.6.10.tgz                                          100%  110KB 109.7KB/s   00:00
libXtst-1.2.3nb1.tgz                                              100%   59KB  59.4KB/s   00:00
libSM-1.2.3.tgz                                                   100%   81KB  81.1KB/s   00:00
libICE-1.0.10.tgz                                                 100%  167KB 166.6KB/s   00:01
gdbm-1.14.1.tgz                                                   100%  248KB 247.9KB/s   00:00
dbus-1.12.16.tgz                                                  100%  894KB 893.5KB/s   00:01
consolekit-1.2.1nb3.tgz                                           100%  372KB 372.2KB/s   00:01
avahi-0.6.32nb19.tgz                                              100%  889KB 889.5KB/s   00:01
xvidcore-1.3.3nb1.tgz                                             100%  468KB 468.2KB/s   00:00
x264-devel-20190312nb1.tgz                                        100% 2218KB 554.6KB/s   00:04
pulseaudio-13.0nb1.tgz                                            100% 5309KB   1.0MB/s   00:05
png-1.6.37.tgz                                                    100%  416KB 415.6KB/s   00:01
mplayer-share-1.4nb2.tgz                                          100% 4830KB   1.2MB/s   00:04
libvorbis-1.3.6nb1.tgz                                            100%  655KB 655.2KB/s   00:01
libvdpau-1.3.tgz                                                  100%   98KB  97.8KB/s   00:01
libtheora-1.1.1nb2.tgz                                            100%  854KB 854.0KB/s   00:01
libopus-1.3.1.tgz                                                 100%  537KB 268.6KB/s   00:02
libmad-0.15.1bnb2.tgz                                             100%  147KB 147.1KB/s   00:01
libjpeg-turbo-1.5.3.tgz                                           100%  924KB 924.0KB/s   00:01
libiconv-1.14nb3.tgz                                              100% 2063KB 687.7KB/s   00:03
libdvdread-6.0.2.tgz                                              100%  187KB 187.4KB/s   00:01
libdvdnav-6.0.1.tgz                                               100%  127KB 126.7KB/s   00:00
libdv-1.0.0nb2.tgz                                                100%  135KB 135.3KB/s   00:01
libass-0.14.0nb2.tgz                                              100%  246KB 246.3KB/s   00:01
libXxf86vm-1.1.4nb1.tgz                                           100%   41KB  40.7KB/s   00:00
libXxf86dga-1.1.5.tgz                                             100%   45KB  45.4KB/s   00:00
libXvMC-1.0.12.tgz                                                100%   60KB  59.5KB/s   00:00
libXv-1.0.11nb1.tgz                                               100%   59KB  59.2KB/s   00:01
libXinerama-1.1.4.tgz                                             100%   27KB  27.3KB/s   00:01
libXScrnSaver-1.2.3.tgz                                           100%   33KB  32.6KB/s   00:00
libX11-1.6.9.tgz                                                  100% 2829KB   2.8MB/s   00:01
gtk2+-2.24.32nb11.tgz                                             100%   16MB 418.1KB/s   00:40
glib2-2.62.3.tgz                                                  100% 4857KB 693.9KB/s   00:07
giflib-5.1.4.tgz                                                  100%   48KB  48.3KB/s   00:00
gcc7-libs-7.4.0nb4.tgz                                            100% 3657KB   1.2MB/s   00:03
freetype2-2.10.1.tgz                                              100% 1061KB   1.0MB/s   00:01
fontconfig-2.13.1.tgz                                             100% 1176KB   1.2MB/s   00:01
ffmpeg4-4.2.1nb1.tgz                                              100%   20MB   1.1MB/s   00:18
faad2-2.9.1.tgz                                                   100%  754KB 754.0KB/s   00:01
SDL-1.2.15nb29.tgz                                                100%  659KB 659.0KB/s   00:01
gmplayer-1.4nb2.tgz                                               100%   19MB 687.2KB/s   00:28
mplayer-1.4nb1.tgz                                                100% 1209KB 604.3KB/s   00:02
refreshing readline-8.0...
readline-8.0: unregistering info file /opt/local/info/history.info
readline-8.0: unregistering info file /opt/local/info/readline.info
readline-8.0: unregistering info file /opt/local/info/rluserman.info
readline-8.0: registering info file /opt/local/info/history.info
readline-8.0: registering info file /opt/local/info/readline.info
readline-8.0: registering info file /opt/local/info/rluserman.info
refreshing mozilla-rootcerts-1.0.20191207...
===========================================================================
$NetBSD: MESSAGE,v 1.5 2014/08/10 10:47:42 wiz Exp $

Execute this command to extract and rehash all CA root certificates
distributed by the Mozilla Project, so that they can be used by third
party applications using OpenSSL. It also creates a single file
certificate bundle in PEM format which can be used by applications using
GnuTLS.

        # mozilla-rootcerts install

To mark these certificates as trusted for users of gnupg2, do
the following (assuming default PKG_SYSCONFBASE and a Bourne shell):

        # mkdir -p /usr/pkg/etc/gnupg
        # cd /usr/pkg/etc/gnupg
        # for c in /etc/openssl/certs/*.pem; do
        > openssl x509 -in $c -noout -fingerprint|sed 's|^.*=\(.*\)|\1 S|'
        > done > trustlist.txt
===========================================================================
refreshing pkg_install-info-4.5nb3...
refreshing xz-5.2.4...
refreshing bzip2-1.0.8...
refreshing zlib-1.2.11...
refreshing gcc7-libs-7.4.0nb4...
pkg_install warnings: 0, errors: 0
installing nspr-4.24...
installing pciids-20150907...
installing libpciaccess-0.16...
installing jbigkit-2.1...
installing spidermonkey52-52.7.4nb11...
libiconv-1.14nb3: copying /opt/local/share/examples/libiconv/charset.alias to /opt/local/lib/charset.alias
gettext-lib-0.20.1: copying /opt/local/share/examples/gettext/locale.alias to /opt/local/lib/locale/locale.alias
libffi-3.2.1nb4: registering info file /opt/local/info/libffi.info
installing libdaemon-0.14nb1...
===========================================================================
$NetBSD: MESSAGE,v 1.1.1.1 2008/12/20 17:24:48 ahoka Exp $

Full documentation for this package is available from:

  
0pointer.de
=========================================================================== installing polkit-0.115nb3... No schema files found: doing nothing. polkit-0.115nb3: Creating group ``polkitd'' polkit-0.115nb3: Creating user ``polkitd'' passwd: password information changed for polkitd polkit-0.115nb3: copying /opt/local/share/examples/pam.d/polkit-1 to /etc/pam.d/polkit-1 polkit-0.115nb3: copying /opt/local/share/examples/polkit/dbus-1/system.d/org.freedesktop.PolicyKit1.conf to /opt/local/etc/dbus-1/system.d/org.freedesktop.PolicyKit1.conf polkit-0.115nb3: copying /opt/local/share/examples/polkit/polkit-1/rules.d/50-default.rules to /opt/local/etc/polkit-1/rules.d/50-default.rules polkit-0.115nb3: setting permissions on /opt/local/bin/pkexec (o=root, g=root, m=4511) polkit-0.115nb3: setting permissions on /opt/local/lib/polkit-1/polkit-agent-helper-1 (o=root, g=root, m=4511) installing dbus-glib-0.110... dbus-1.12.16: Creating group ``dbus'' dbus-1.12.16: Creating user ``dbus'' passwd: password information changed for dbus dbus-1.12.16: setting permissions on /opt/local/libexec/dbus-daemon-launch-helper (o=root, g=dbus, m=4511) =========================================================================== This package has SMF support. You may use svcadm(1M) to 'enable', 'disable' or 'restart' services. To enable the instance(s) for this package, run: /usr/sbin/svcadm enable -r svc:/pkgsrc/dbus:default Use svcs(1) to check on service status. See smf(5) for more information. =========================================================================== =========================================================================== $NetBSD: MESSAGE,v 1.2 2014/12/02 05:20:24 snj Exp $ You should enable the dbus system-wide daemon for correct operation. You can do this by using one of the three start-up scripts installed by the package. Use: * /opt/local/share/examples/rc.d/dbus: if you are using NetBSD's and pkgsrc's rc.subr start-up framework. * /opt/local/share/examples/rc.d/messagebus.redhat: if you are using a Red-Hat based system (such as Fedora). * /opt/local/share/examples/rc.d/rc.messagebus.slackware: if you are using a Slackware-like system. =========================================================================== installing flac-1.3.3... installing speex-1.2.0... installing icu-64.2nb1... installing pixman-0.38.4nb1... installing lzo-2.10... installing tiff-4.1.0... installing graphite2-1.3.13... installing cairo-gobject-1.16.0nb3... fontconfig-2.13.1: copying /opt/local/share/fontconfig/conf.avail/10-hinting-full.conf to /opt/local/etc/fontconfig/conf.d/10-hinting-full.conf fontconfig-2.13.1: copying /opt/local/share/fontconfig/conf.avail/10-hinting-medium.conf to /opt/local/etc/fontconfig/conf.d/10-hinting-medium.conf fontconfig-2.13.1: copying /opt/local/share/fontconfig/conf.avail/10-hinting-none.conf to /opt/local/etc/fontconfig/conf.d/10-hinting-none.conf fontconfig-2.13.1: copying /opt/local/share/fontconfig/conf.avail/10-hinting-slight.conf to /opt/local/etc/fontconfig/conf.d/10-hinting-slight.conf fontconfig-2.13.1: copying /opt/local/share/fontconfig/conf.avail/10-scale-bitmap-fonts.conf to /opt/local/etc/fontconfig/conf.d/10-scale-bitmap-fonts.conf fontconfig-2.13.1: copying /opt/local/share/fontconfig/conf.avail/20-unhint-small-vera.conf to /opt/local/etc/fontconfig/conf.d/20-unhint-small-vera.conf fontconfig-2.13.1: copying /opt/local/share/fontconfig/conf.avail/30-metric-aliases.conf to /opt/local/etc/fontconfig/conf.d/30-metric-aliases.conf fontconfig-2.13.1: copying /opt/local/share/fontconfig/conf.avail/30-pkgsrc-aliases.conf to /opt/local/etc/fontconfig/conf.d/30-pkgsrc-aliases.conf fontconfig-2.13.1: copying /opt/local/share/fontconfig/conf.avail/40-nonlatin.conf to /opt/local/etc/fontconfig/conf.d/40-nonlatin.conf fontconfig-2.13.1: copying /opt/local/share/fontconfig/conf.avail/45-latin.conf to /opt/local/etc/fontconfig/conf.d/45-latin.conf fontconfig-2.13.1: copying /opt/local/share/fontconfig/conf.avail/49-sansserif.conf to /opt/local/etc/fontconfig/conf.d/49-sansserif.conf fontconfig-2.13.1: copying /opt/local/share/fontconfig/conf.avail/50-user.conf to /opt/local/etc/fontconfig/conf.d/50-user.conf fontconfig-2.13.1: copying /opt/local/share/fontconfig/conf.avail/51-local.conf to /opt/local/etc/fontconfig/conf.d/51-local.conf fontconfig-2.13.1: copying /opt/local/share/fontconfig/conf.avail/60-latin.conf to /opt/local/etc/fontconfig/conf.d/60-latin.conf fontconfig-2.13.1: copying /opt/local/share/fontconfig/conf.avail/65-fonts-persian.conf to /opt/local/etc/fontconfig/conf.d/65-fonts-persian.conf fontconfig-2.13.1: copying /opt/local/share/fontconfig/conf.avail/65-nonlatin.conf to /opt/local/etc/fontconfig/conf.d/65-nonlatin.conf fontconfig-2.13.1: copying /opt/local/share/fontconfig/conf.avail/69-unifont.conf to /opt/local/etc/fontconfig/conf.d/69-unifont.conf fontconfig-2.13.1: copying /opt/local/share/fontconfig/conf.avail/80-delicious.conf to /opt/local/etc/fontconfig/conf.d/80-delicious.conf fontconfig-2.13.1: copying /opt/local/share/fontconfig/conf.avail/90-synthetic.conf to /opt/local/etc/fontconfig/conf.d/90-synthetic.conf fontconfig-2.13.1: copying /opt/local/share/examples/fontconfig/conf.d/README to /opt/local/etc/fontconfig/conf.d/README fontconfig-2.13.1: copying /opt/local/share/examples/fontconfig/fonts.conf to /opt/local/etc/fontconfig/fonts.conf installing db4-4.8.30nb1... installing xmlcatmgr-2.2nb1... xmlcatmgr-2.2nb1: copying /opt/local/share/examples/xmlcatmgr/catalog.etc.sgml to /opt/local/etc/sgml/catalog xmlcatmgr-2.2nb1: copying /opt/local/share/examples/xmlcatmgr/catalog.etc.xml to /opt/local/etc/xml/catalog xmlcatmgr-2.2nb1: copying /opt/local/share/examples/xmlcatmgr/catalog.share.sgml to /opt/local/share/sgml/catalog xmlcatmgr-2.2nb1: copying /opt/local/share/examples/xmlcatmgr/catalog.share.xml to /opt/local/share/xml/catalog =========================================================================== $NetBSD: MESSAGE,v 1.5 2004/01/23 17:12:16 jmmv Exp $ The following catalogs have been installed: * /opt/local/etc/sgml/catalog System wide SGML catalog. Can be edited by the administrator and is not changed by packages. This is the *default* catalog when working in SGML mode. * /opt/local/etc/xml/catalog System wide XML catalog. Can be edited by the administrator and is not changed by packages. This is the *default* catalog when working in XML mode. * /opt/local/share/sgml/catalog Handles SGML stuff installed under /opt/local/share/sgml. Automatically handled by packages. * /opt/local/share/xml/catalog Handles XML stuff installed under /opt/local/share/xml. Automatically handled by packages. =========================================================================== installing libxshmfence-1.3nb1... installing libdrm-2.4.100... installing glu-9.0.1... libvdpau-1.3: copying /opt/local/share/examples/libvdpau/vdpau_wrapper.cfg to /opt/local/etc/vdpau_wrapper.cfg MesaLib-19.2.7: copying /opt/local/share/examples/mesa/00-mesa-defaults.conf to /opt/local/etc/drirc installing MesaLib-19.2.7... MesaLib-19.2.7: copying /opt/local/share/examples/mesa/00-mesa-defaults.conf to /opt/local/etc/drirc installing x265-3.2.1... installing opencore-amr-0.1.5... installing libxml2-2.9.10nb1... installing libvpx-1.8.1nb1... installing libbluray-1.1.2... installing libaom-1.0.0nb2... installing lame-3.100nb1... installing libuuid-2.32.1... installing expat-2.2.8... installing pcre-8.43... installing libffi-3.2.1nb4... libffi-3.2.1nb4: unregistering info file /opt/local/info/libffi.info libffi-3.2.1nb4: registering info file /opt/local/info/libffi.info installing shared-mime-info-1.10... installing python27-2.7.17... installing py27-expat-2.7.17... installing pango-1.44.7... installing libXt-1.2.0... installing libXrender-0.9.10nb1... installing libXrandr-1.5.2... installing libXi-1.7.10... installing libXft-2.3.3... installing libXfixes-5.0.3nb1... installing libXdamage-1.1.5... installing libXcursor-1.2.0... installing libXcomposite-0.4.5... installing gdk-pixbuf2-2.40.0... installing cairo-1.16.0... installing atk-2.33.3... installing libxcb-1.13.1nb1... installing libXdmcp-1.1.3... installing libXau-1.0.9... installing harfbuzz-2.6.4... installing fribidi-1.0.8... installing enca-1.15... installing popt-1.16nb2... installing gettext-lib-0.20.1... gettext-lib-0.20.1: copying /opt/local/share/examples/gettext/locale.alias to /opt/local/lib/locale/locale.alias installing python37-3.7.5... installing libXext-1.3.4... installing libogg-1.3.4nb1... installing mplayer-fonts-20030714nb1... installing speexdsp-1.2.0... installing libsndfile-1.0.28nb3... installing libltdl-2.4.6... installing libatomic_ops-7.6.10... =========================================================================== $NetBSD: MESSAGE,v 1.2 2017/05/19 12:05:51 szptvlfn Exp $ There are two kinds of entities in: /opt/local/include/atomic_ops/sysdeps - Subdirectories corresponding to specific compilers (or compiler/OS combinations). Each of these includes one or more architecture-specific headers. - More generic header files corresponding to a particular ordering and/or atomicity property that might be shared by multiple hardware platforms. =========================================================================== installing libXtst-1.2.3nb1... installing libSM-1.2.3... installing libICE-1.0.10... installing gdbm-1.14.1... gdbm-1.14.1: registering info file /opt/local/info/gdbm.info installing dbus-1.12.16... =========================================================================== This package has SMF support. You can remove the SMF service from your system with the following command: /usr/sbin/svccfg delete svc:/pkgsrc/dbus =========================================================================== =========================================================================== The following directories are no longer being used by dbus-1.12.16, and they can be removed if no other packages are using them: /var/db/dbus =========================================================================== dbus-1.12.16: setting permissions on /opt/local/libexec/dbus-daemon-launch-helper (o=root, g=dbus, m=4511) =========================================================================== This package has SMF support. You may use svcadm(1M) to 'enable', 'disable' or 'restart' services. To enable the instance(s) for this package, run: /usr/sbin/svcadm enable -r svc:/pkgsrc/dbus:default Use svcs(1) to check on service status. See smf(5) for more information. =========================================================================== =========================================================================== $NetBSD: MESSAGE,v 1.2 2014/12/02 05:20:24 snj Exp $ You should enable the dbus system-wide daemon for correct operation. You can do this by using one of the three start-up scripts installed by the package. Use: * /opt/local/share/examples/rc.d/dbus: if you are using NetBSD's and pkgsrc's rc.subr start-up framework. * /opt/local/share/examples/rc.d/messagebus.redhat: if you are using a Red-Hat based system (such as Fedora). * /opt/local/share/examples/rc.d/rc.messagebus.slackware: if you are using a Slackware-like system. =========================================================================== installing consolekit-1.2.1nb3... consolekit-1.2.1nb3: copying /opt/local/share/examples/consolekit/ConsoleKit/seats.d/00-primary.seat to /opt/local/etc/ConsoleKit/seats.d/00-primary.seat consolekit-1.2.1nb3: copying /opt/local/share/examples/consolekit/dbus-1/system.d/ConsoleKit.conf to /opt/local/etc/dbus-1/system.d/ConsoleKit.conf consolekit-1.2.1nb3: copying /opt/local/share/examples/consolekit/logrotate.d/consolekit to /opt/local/etc/logrotate.d/consolekit consolekit-1.2.1nb3: copying /opt/local/share/examples/consolekit/X11/xinit/xinitrc.d/90-consolekit to /opt/local/etc/X11/xinit/xinitrc.d/90-consolekit =========================================================================== $NetBSD: MESSAGE,v 1.1 2016/06/18 10:23:16 youri Exp $ ConsoleKit: Users in the operator group can stop, restart, suspend, hibernate the machine as described in /opt/local/share/polkit-1/rules.d/50-shutdown.rules. =========================================================================== installing avahi-0.6.32nb19... avahi-0.6.32nb19: Creating group ``avahi'' avahi-0.6.32nb19: Creating user ``avahi'' passwd: password information changed for avahi avahi-0.6.32nb19: copying /opt/local/share/examples/avahi/avahi-daemon.conf to /opt/local/etc/avahi/avahi-daemon.conf avahi-0.6.32nb19: copying /opt/local/share/examples/avahi/avahi-dnsconfd.action to /opt/local/etc/avahi/avahi-dnsconfd.action avahi-0.6.32nb19: copying /opt/local/share/examples/avahi/hosts to /opt/local/etc/avahi/hosts avahi-0.6.32nb19: copying /opt/local/share/examples/avahi/services/sftp-ssh.service to /opt/local/etc/avahi/services/sftp-ssh.service avahi-0.6.32nb19: copying /opt/local/share/examples/avahi/services/ssh.service to /opt/local/etc/avahi/services/ssh.service avahi-0.6.32nb19: copying /opt/local/share/examples/avahi/avahi-dbus.conf to /opt/local/etc/dbus-1/system.d/avahi-dbus.conf =========================================================================== This package has SMF support. You may use svcadm(1M) to 'enable', 'disable' or 'restart' services. To enable the instance(s) for this package, run: /usr/sbin/svcadm enable -r svc:/pkgsrc/avahi:default Use svcs(1) to check on service status. See smf(5) for more information. =========================================================================== installing xvidcore-1.3.3nb1... installing x264-devel-20190312nb1... installing pulseaudio-13.0nb1... pulseaudio-13.0nb1: Creating group ``pulse'' pulseaudio-13.0nb1: Creating group ``pulseacc'' pulseaudio-13.0nb1: Creating group ``pulsert'' pulseaudio-13.0nb1: Creating user ``pulse'' passwd: password information changed for pulse pulseaudio-13.0nb1: copying /opt/local/share/examples/pulseaudio/pulseaudio-system.conf to /opt/local/etc/dbus-1/system.d/pulseaudio-system.conf pulseaudio-13.0nb1: copying /opt/local/share/examples/pulseaudio/client.conf to /opt/local/etc/pulse/client.conf pulseaudio-13.0nb1: copying /opt/local/share/examples/pulseaudio/daemon.conf to /opt/local/etc/pulse/daemon.conf pulseaudio-13.0nb1: copying /opt/local/share/examples/pulseaudio/default.pa to /opt/local/etc/pulse/default.pa pulseaudio-13.0nb1: copying /opt/local/share/examples/pulseaudio/system.pa to /opt/local/etc/pulse/system.pa installing png-1.6.37... installing mplayer-share-1.4nb2... installing libvorbis-1.3.6nb1... installing libvdpau-1.3... libvdpau-1.3: copying /opt/local/share/examples/libvdpau/vdpau_wrapper.cfg to /opt/local/etc/vdpau_wrapper.cfg installing libtheora-1.1.1nb2... installing libopus-1.3.1... installing libmad-0.15.1bnb2... installing libjpeg-turbo-1.5.3... installing libiconv-1.14nb3... libiconv-1.14nb3: copying /opt/local/share/examples/libiconv/charset.alias to /opt/local/lib/charset.alias installing libdvdread-6.0.2... =========================================================================== $NetBSD: MESSAGE,v 1.1.1.1 2004/01/28 14:29:01 recht Exp $ Because of the unclear legal status of libdvdcss, it is not automatically installed as part of libdvdread. It is however needed to play encrypted DVDs. If you want to play encrypted DVDs, simply install it yourself. =========================================================================== installing libdvdnav-6.0.1... installing libdv-1.0.0nb2... installing libass-0.14.0nb2... installing libXxf86vm-1.1.4nb1... installing libXxf86dga-1.1.5... installing libXvMC-1.0.12... installing libXv-1.0.11nb1... installing libXinerama-1.1.4... installing libXScrnSaver-1.2.3... installing libX11-1.6.9... installing gtk2+-2.24.32nb11... installing glib2-2.62.3... No schema files found: doing nothing. installing giflib-5.1.4... installing freetype2-2.10.1... installing fontconfig-2.13.1... fontconfig-2.13.1: copying /opt/local/share/fontconfig/conf.avail/10-hinting-full.conf to /opt/local/etc/fontconfig/conf.d/10-hinting-full.conf fontconfig-2.13.1: copying /opt/local/share/fontconfig/conf.avail/10-hinting-medium.conf to /opt/local/etc/fontconfig/conf.d/10-hinting-medium.conf fontconfig-2.13.1: copying /opt/local/share/fontconfig/conf.avail/10-hinting-none.conf to /opt/local/etc/fontconfig/conf.d/10-hinting-none.conf fontconfig-2.13.1: copying /opt/local/share/fontconfig/conf.avail/10-hinting-slight.conf to /opt/local/etc/fontconfig/conf.d/10-hinting-slight.conf fontconfig-2.13.1: copying /opt/local/share/fontconfig/conf.avail/10-scale-bitmap-fonts.conf to /opt/local/etc/fontconfig/conf.d/10-scale-bitmap-fonts.conf fontconfig-2.13.1: copying /opt/local/share/fontconfig/conf.avail/20-unhint-small-vera.conf to /opt/local/etc/fontconfig/conf.d/20-unhint-small-vera.conf fontconfig-2.13.1: copying /opt/local/share/fontconfig/conf.avail/30-metric-aliases.conf to /opt/local/etc/fontconfig/conf.d/30-metric-aliases.conf fontconfig-2.13.1: copying /opt/local/share/fontconfig/conf.avail/30-pkgsrc-aliases.conf to /opt/local/etc/fontconfig/conf.d/30-pkgsrc-aliases.conf fontconfig-2.13.1: copying /opt/local/share/fontconfig/conf.avail/40-nonlatin.conf to /opt/local/etc/fontconfig/conf.d/40-nonlatin.conf fontconfig-2.13.1: copying /opt/local/share/fontconfig/conf.avail/45-latin.conf to /opt/local/etc/fontconfig/conf.d/45-latin.conf fontconfig-2.13.1: copying /opt/local/share/fontconfig/conf.avail/49-sansserif.conf to /opt/local/etc/fontconfig/conf.d/49-sansserif.conf fontconfig-2.13.1: copying /opt/local/share/fontconfig/conf.avail/50-user.conf to /opt/local/etc/fontconfig/conf.d/50-user.conf fontconfig-2.13.1: copying /opt/local/share/fontconfig/conf.avail/51-local.conf to /opt/local/etc/fontconfig/conf.d/51-local.conf fontconfig-2.13.1: copying /opt/local/share/fontconfig/conf.avail/60-latin.conf to /opt/local/etc/fontconfig/conf.d/60-latin.conf fontconfig-2.13.1: copying /opt/local/share/fontconfig/conf.avail/65-fonts-persian.conf to /opt/local/etc/fontconfig/conf.d/65-fonts-persian.conf fontconfig-2.13.1: copying /opt/local/share/fontconfig/conf.avail/65-nonlatin.conf to /opt/local/etc/fontconfig/conf.d/65-nonlatin.conf fontconfig-2.13.1: copying /opt/local/share/fontconfig/conf.avail/69-unifont.conf to /opt/local/etc/fontconfig/conf.d/69-unifont.conf fontconfig-2.13.1: copying /opt/local/share/fontconfig/conf.avail/80-delicious.conf to /opt/local/etc/fontconfig/conf.d/80-delicious.conf fontconfig-2.13.1: copying /opt/local/share/fontconfig/conf.avail/90-synthetic.conf to /opt/local/etc/fontconfig/conf.d/90-synthetic.conf fontconfig-2.13.1: copying /opt/local/share/examples/fontconfig/conf.d/README to /opt/local/etc/fontconfig/conf.d/README fontconfig-2.13.1: copying /opt/local/share/examples/fontconfig/fonts.conf to /opt/local/etc/fontconfig/fonts.conf installing ffmpeg4-4.2.1nb1... installing faad2-2.9.1... installing SDL-1.2.15nb29... =========================================================================== $NetBSD: MESSAGE,v 1.1 2017/10/27 01:28:53 nat Exp $ To enable dma for use with NetBSD-8 or above. Set the following environment variables: SDL_DSP_DMA_PRECISION SDL_DSP_DMA_FREQ SDL_DSP_DMA_CHANNELS SDL_DSP_NOSELECT=1 DMA parameters must match the hw virtual channel format for playback to work with dma. =========================================================================== installing gmplayer-1.4nb2... installing mplayer-1.4nb1... pkg_install warnings: 0, errors: 0 reading local summary... processing local summary... marking gmplayer-1.4nb2 as non auto-removable marking mplayer-1.4nb1 as non auto-removable

mplayerコマンドを実行させたところ


gmplayerで再生させたところ


 gmplayerのメニューやファイル選択の画面が以下のような文字化けを起こした場合は、フォントが足りていないので日本語フォントの追加を行う。

$ sudo pkgin install watanabe-vfont-19930318 vlgothic-ttf-20141206 umefont-ttf-0.610 tex-zxjafont-0.5 tex-wadalab-2011nb1 tex-ptex-fontmaps-20190506.0nb1 ohruri-ttf-20150606 monafonts-ttf-2.90nb1 monafonts-2.90nb9 koruri-ttf-20180915 konatu-ttf-26nb1 kochi-ttf-20030809nb6 kiloji-ttf-2.1.0nb1 kanjistrokeorders-ttf-4.000 ja-vflib-lib-2.24.2nb3 ja-vflib-2.24.2nb2 ja-shinonome-0.9.11pl1nb2 ja-sazanami-ttf-20040629nb2 ja-kappa20-0.394nb2 font-jis-misc-1.0.3

 フォント追加を行うと文字が表示されるようになる。