トップ 最新 追記

Masa's blog

検索キーワード:

2013年01月24日 Ctrl + Alt + plus/minus to change resolution for X Window System [長年日記]

_ Ctrl + Alt + plus/minus to change resolution for X Window System

I can change resolution for X Window System to use Ctrl+Alt+XK_KP_{Add|Subtract} on desktop computer. But laptop computer don't have XK_KP_something. So I try to use Ctrl+Alt+XK_{plus|minus} with fvwm to change resolution.

xrandr_plus.sh

#! /bin/sh
#
modenum_total=`xrandr |\
        egrep '^ *[0-9]*x[0-9]*' |\
        wc -l`
#
current_modenum=`xrandr |\
        egrep '^ *[0-9]*x[0-9]*' |\
        tac |\
        cat -n |\
        tr '\t' ' ' |\
        tr -s ' ' |\
        egrep '\*' |\
        cut -d ' ' -f 2`
current_modenum=`expr ${current_modenum} - 1`
#
next_modenum=`expr ${current_modenum} + 1`
next_modenum=`expr ${next_modenum} % ${modenum_total}`
#
modenum=0
for i in `xrandr |\
        egrep '^ *[0-9]*x[0-9]*' |\
        tr -s ' ' |\
        cut -d ' ' -f 2 |\
        tac`
do
        if [ ${modenum} -eq ${next_modenum} ]
        then
                modestr=$i
        fi
        modenum=`expr ${modenum} + 1`
done
#
xrandr --output "LVDS" --mode ${modestr}

xrandr_minus.sh

#! /bin/sh
#
modenum_total=`xrandr |\
        egrep '^ *[0-9]*x[0-9]*' |\
        wc -l`
#
current_modenum=`xrandr |\
        egrep '^ *[0-9]*x[0-9]*' |\
        tac |\
        cat -n |\
        tr '\t' ' ' |\
        tr -s ' ' |\
        egrep '\*' |\
        cut -d ' ' -f 2`
current_modenum=`expr ${current_modenum} - 1`
#
current_modenum=`expr ${current_modenum} + ${modenum_total}`
next_modenum=`expr ${current_modenum} - 1`
next_modenum=`expr ${next_modenum} % ${modenum_total}`
#
modenum=0
for i in `xrandr |\
        egrep '^ *[0-9]*x[0-9]*' |\
        tr -s ' ' |\
        cut -d ' ' -f 2 |\
        tac`
do
        if [ ${modenum} -eq ${next_modenum} ]
        then
                modestr=$i
        fi
        modenum=`expr ${modenum} + 1`
done
#
xrandr --output "LVDS" --mode ${modestr}

.fvwmrc

Key minus       A       CM      Exec "xrandr_minus" exec xrandr_minus.sh
Key semicolon   A       CM      Exec "xrandr_plus" exec xrandr_plus.sh

2013年01月26日 Slackware-14.0 on Hitachi FLORA 270W(laptop computer) [長年日記]

_ cd ~/INSTALLED/ && ls -al

~/INSTALLED/ is directory that I store installed source files etc in.

total 2263928
drwxr-xr-x  2 m-ito m-ito     12288 Jan 22 23:34 .
drwxr-xr-x 55 m-ito m-ito      4096 Jan 26 14:05 ..
-rwxr-xr-x  1 m-ito m-ito  52972948 Aug 27  2011 AdbeRdr9.4.2-1_i486linux_jpn.bin
-rw-r--r--  1 m-ito m-ito    223118 Jun 21  2012 Blue-1.8.tar.bz2
-rw-r--r--  1 m-ito m-ito       320 Nov 28 12:41 Canna37p3.README
-rw-r--r--  1 m-ito m-ito   1263065 Sep  2  2008 Canna37p3.tar.bz2
-rw-r--r--  1 m-ito m-ito    925560 Sep 25  2010 FD-3.00j.tar.gz
-rw-r--r--  1 m-ito m-ito       176 Aug 19 10:53 IPAfont00303.txt
-rw-r--r--  1 m-ito m-ito  20088137 Apr 29  2012 IPAfont00303.zip
-rw-r--r--  1 m-ito m-ito      3057 Nov 28 11:57 LPRng-3.8.35-misc.tar.gz
-rw-r--r--  1 m-ito m-ito        34 Nov 28 11:49 LPRng-3.8.35.README
-rw-r--r--  1 m-ito m-ito       558 Apr 17  2012 LPRng-3.8.35.diff
-rw-r--r--  1 m-ito m-ito  12512453 Apr 17  2012 LPRng-3.8.35.tgz
-rw-r--r--  1 m-ito m-ito       190 Dec 15 21:57 LibO.README
-rw-r--r--  1 m-ito m-ito  16975197 Dec 15 10:55 LibO_3.6.4_Linux_x86_helppack-rpm_ja.tar.gz
-rw-r--r--  1 m-ito m-ito 172098698 Dec 15 11:02 LibO_3.6.4_Linux_x86_install-rpm_en-US.tar.gz
-rw-r--r--  1 m-ito m-ito   1704263 Dec 15 10:53 LibO_3.6.4_Linux_x86_langpack-rpm_ja.tar.gz
-rw-r--r--  1 m-ito m-ito       828 Sep  5  2008 LibO_font_table.txt
-rw-r--r--  1 m-ito m-ito       109 Nov 28 16:09 MPlayer-1.1.README
-rw-r--r--  1 m-ito m-ito  17018391 Jun 21  2012 MPlayer-1.1.tar.gz
-rw-r--r--  1 m-ito m-ito   8348034 Oct 27  2011 RealPlayer11GOLD.rpm
-rw-r--r--  1 m-ito m-ito        52 Nov 29 09:52 TiMidity++-2.13.2.README
-rw-r--r--  1 m-ito m-ito   1581230 Sep  1  2011 TiMidity++-2.13.2.tar.bz2
-rw-r--r--  1 m-ito m-ito     29403 May 13  2012 adcd-1.0.tar.gz
-rw-r--r--  1 m-ito m-ito  25863214 Aug 27  2011 all-20110131.tar.bz2
-rw-r--r--  1 m-ito m-ito     47545 Dec 19 08:46 cgictrl-0.2.tar.gz
-rw-r--r--  1 m-ito m-ito  14765896 Sep 18 01:14 clamav-0.97.6.tar.gz
-rw-r--r--  1 m-ito m-ito     73728 Sep 14  2009 dbi-0.4.3.gem
-rw-r--r--  1 m-ito m-ito    414191 Aug 27  2011 dvdauthor-0.7.0.tar.gz
-rw-r--r--  1 m-ito m-ito   1068060 Mar 26  2006 dvdrtools-0.3.1.tar.gz
-rw-r--r--  1 m-ito m-ito  33701965 Dec 15 01:51 dynafont.tar.gz
-rw-r--r--  1 m-ito m-ito   6422951 Sep 13  2011 ejdic.tar.gz
-rw-r--r--  1 m-ito m-ito   1001942 Dec  8 02:16 emacs-w3m.tar.gz
-rw-r--r--  1 m-ito m-ito  10009454 Aug 27  2011 essential-20071007.tar.bz2
-rw-r--r--  1 m-ito m-ito        91 Nov 28 21:52 ffmpeg-0.8.5.README
-rw-r--r--  1 m-ito m-ito   4523772 Oct 18  2011 ffmpeg-0.8.5.tar.bz2
-rw-r--r--  1 m-ito m-ito    332143 Jan 21 23:02 firefox-18.0.1-ja.xpi
-rw-r--r--  1 m-ito m-ito  23608002 Jan 22 01:47 firefox-18.0.1.en-US.linux-i686.tar.bz2
-rw-r--r--  1 m-ito m-ito  97140833 Jan 21 23:06 firefox-18.0.1.source.tar.bz2
-rw-r--r--  1 m-ito m-ito    111949 Feb 19  2012 fswebcam-20110717.tar.gz
-rw-r--r--  1 m-ito m-ito    601095 Sep  2  2008 fvwm-1.24r.i18n-jp.tar.gz
-rw-r--r--  1 m-ito m-ito   1077714 Sep  5  2008 gc-7.1.tar.gz
-rw-r--r--  1 m-ito m-ito        63 Jan 12 02:15 gecko-mediaplayer-1.0.7.README
-rw-r--r--  1 m-ito m-ito    266427 Jan 12 02:05 gecko-mediaplayer-1.0.7.tar.gz
-rw-r--r--  1 m-ito m-ito 269946724 Jan 22 23:29 gecko-sdk-18.0.1.tar.gz
-rw-r--r--  1 m-ito m-ito       206 Dec 16 16:10 gimp-1.2.5.README
-rw-r--r--  1 m-ito m-ito  10885324 Jun 15  2003 gimp-1.2.5.tar.bz2
-rw-r--r--  1 m-ito m-ito   4432926 Dec 25  2000 gimp-data-extras-1.2.0.tar.bz2
-rw-r--r--  1 m-ito m-ito    405357 Jan 12 02:11 gmtk-1.0.7.tar.gz
-rw-r--r--  1 m-ito m-ito   1039861 Jan 12 02:03 gnome-mplayer-1.0.7.tar.gz
-rw-r--r--  1 m-ito m-ito    895624 Aug 16  2011 imlib2-1.4.5.tar.bz2
-rw-r--r--  1 m-ito m-ito   6917347 Nov 28 22:22 install_flash_player_11_linux_i386.tar.gz
-rwxr-xr-x  1 m-ito m-ito  71771782 Jan 13 01:36 jdk-6u38-linux-i586.bin
-rw-r--r--  1 m-ito m-ito    426232 Sep  2  2008 jless-358.tar.gz
-rw-r--r--  1 m-ito m-ito      1557 Aug  4 14:36 k9copy-2.3.8-Source-dvdcss.diff
-rw-r--r--  1 m-ito m-ito       124 Nov 28 21:53 k9copy-2.3.8-Source.README
-rw-r--r--  1 m-ito m-ito   1589535 Dec 19  2011 k9copy-2.3.8-Source.tar.gz
-rw-r--r--  1 m-ito m-ito   1099258 Sep  7  2001 kakasi-2.3.4.tar.gz
-rw-r--r--  1 m-ito m-ito     13373 Sep  6  2008 kinput2-1.txt
-rw-r--r--  1 m-ito m-ito     23907 Sep  6  2008 kinput2-2.txt
-rw-r--r--  1 m-ito m-ito       424 Nov 28 12:37 kinput2-v3.1.README
-rw-r--r--  1 m-ito m-ito    576569 Sep  2  2008 kinput2-v3.1.tar.gz
-rw-r--r--  1 m-ito m-ito   6304542 Dec 15 01:52 kochifont.tar.gz
-rw-r--r--  1 m-ito m-ito   5582294 Dec 13 01:38 kouzanmouhitufont.zip
-rw-r--r--  1 m-ito m-ito   1336025 Aug 27  2011 lame-3.98.4.tar.gz
-rw-r--r--  1 m-ito m-ito        72 Nov 28 12:10 libcaca-0.99.beta18.README
-rw-r--r--  1 m-ito m-ito   1168552 Apr  7  2012 libcaca-0.99.beta18.tar.gz
-rw-r--r--  1 m-ito m-ito    299035 Aug  1 23:38 libdvdcss-1.2.11.tar.bz2
-rw-r--r--  1 m-ito m-ito    524776 Jul 18  2008 libmpeg2-0.5.1.tar.gz
-rw-r--r--  1 m-ito m-ito   1054365 Nov 23 06:22 live.2012.11.22.tar.gz
-rwxr-xr-x  1 m-ito m-ito      1853 Dec 21 11:17 makefontscale.sh
-rw-r--r--  1 m-ito m-ito   1026322 Apr 16  2012 mew-6.5.tar.gz
-rw-r--r--  1 m-ito m-ito       375 Nov 29 02:04 minitube-1.9.diff
-rw-r--r--  1 m-ito m-ito    608884 Sep 27 19:17 minitube-1.9.tar.gz
-rw-r--r--  1 m-ito m-ito    158127 Sep  8  2011 nkf-2.1.2.tar.gz
-rw-r--r--  1 m-ito m-ito    868977 Jan  1  2010 opencore-amr-0.1.2.tar.gz
-rw-r--r--  1 m-ito m-ito      8385 Oct 27 23:34 pefnac-0.5.1.tar.gz
-rw-r--r--  1 m-ito m-ito      2685 Sep  2  2009 petit313.diff
-rw-r--r--  1 m-ito m-ito    390719 Jan 19  2006 petit313.tgz
-rw-r--r--  1 m-ito m-ito     23722 Dec 17 15:24 pips3500-2.1.2.README
-rw-r--r--  1 m-ito m-ito       277 Dec 17 14:48 pips3500-2.1.2.diff
-rw-r--r--  1 m-ito m-ito   2669874 Dec 17 14:31 pips3500-2.1.2.tar.gz
-rw-r--r--  1 m-ito m-ito      5186 Dec 17 15:43 prov-1.1.README
-rw-r--r--  1 m-ito m-ito     16895 Oct 29  2010 prov-1.1.tar.gz
-rw-r--r--  1 m-ito m-ito        47 Dec  8 01:11 rxvt-unicode-9.10.README
-rw-r--r--  1 m-ito m-ito    884501 Mar 20  2012 rxvt-unicode-9.10.tar.bz2
-rw-r--r--  1 m-ito m-ito       369 Dec  8 21:47 screen-4.0.3.README
-rw-r--r--  1 m-ito m-ito    741741 Oct 23  2006 screen-4.0.3.tar.bz2
-rw-r--r--  1 m-ito m-ito       479 Jul 19  2011 screen.d_termname.envterm.buffersizeincrease.diff.gz
-rw-r--r--  1 m-ito m-ito      5556 Dec  7 16:07 sf-current.tar.gz
-rw-r--r--  1 m-ito m-ito       338 Dec  7 10:17 sfaddall.sh
-rw-r--r--  1 m-ito m-ito       663 Sep  1  2011 shominst-0409.README
-rw-r--r--  1 m-ito m-ito   9977604 Sep  2  2008 shominst-0409.zip
-rw-r--r--  1 m-ito m-ito  11864226 Aug 27  2011 skkdic.tar.bz2
-rw-r--r--  1 m-ito m-ito  28817742 Jun 18  2012 skype-4.0.0.7.tar.bz2
-rw-r--r--  1 m-ito m-ito      2527 Oct 18  2011 sox-14.3.2.diff
-rw-r--r--  1 m-ito m-ito   1110175 Oct 18  2011 sox-14.3.2.tar.gz
-rw-r--r--  1 m-ito m-ito       230 Dec 18 08:36 sqlite3-ruby-1.2.5.README
-rw-r--r--  1 m-ito m-ito     74240 Jul 25  2009 sqlite3-ruby-1.2.5.gem
-rw-r--r--  1 m-ito m-ito      2922 Dec 12 13:46 tgif-QPL-4.2.5.diff
-rw-r--r--  1 m-ito m-ito   3093619 Dec 12 13:37 tgif-QPL-4.2.5.tar.gz
-rw-r--r--  1 m-ito m-ito   1066815 Aug 27  2011 vcdimager-0.7.24.tar.gz
-rw-r--r--  1 m-ito m-ito       139 Nov 30 01:45 vlc-2.0.3.README
-rw-r--r--  1 m-ito m-ito  18268208 Aug 17 14:35 vlc-2.0.3.tar.xz
-rw-r--r--  1 m-ito m-ito        47 Dec  8 22:00 w3m-0.5.3.README
-rw-r--r--  1 m-ito m-ito      2586 Dec  8 22:01 w3m-0.5.3.diff
-rw-r--r--  1 m-ito m-ito   2202328 Jan 15  2011 w3m-0.5.3.tar.gz
-rw-r--r--  1 m-ito m-ito       106 Jul 20  2012 x264-snapshot-20120719-2245.README
-rw-r--r--  1 m-ito m-ito    555493 Jul 20  2012 x264-snapshot-20120719-2245.tar.bz2
-rw-r--r--  1 m-ito m-ito      5048 Dec 23 03:18 xengine_1.11-4.diff
-rw-r--r--  1 m-ito m-ito     11817 Dec 23 03:18 xengine_1.11.orig.tar.gz

_ Canna37p3

/etc/rc.d/rc.local

if [ -x /usr/local/canna/sbin/cannaserver ]
then
        rm /tmp/.iroha_unix/IROHA
        /usr/local/canna/sbin/cannaserver -inet -u bin
        echo "Starting cannaserver."
fi

/var/log/CANNA0msgs

touch /var/log/CANNA0msgs
chown bin.bin /var/log/CANNA0msgs

_ LPRng-3.8.35

*** Makefile.in.ORG	2012-04-15 21:13:45.000000000 +0900
--- Makefile.in	2012-04-15 21:14:28.000000000 +0900
***************
*** 45,51 ****
  LPD_CONF_PATH=\"@LPD_CONF_PATH@\"
  PRINTCAP_PATH=\"@PRINTCAP_PATH@\"
  LPD_PATH=\"@LPD_DIR@/lpd\"
! SHELL="@SHELL@"
  LOCKFILE=\"@LOCKFILE@\"
  CONFIG_SUBDIR="@CONFIG_SUBDIR@"
  PSHOWALL="@PSHOWALL@"
--- 45,51 ----
  LPD_CONF_PATH=\"@LPD_CONF_PATH@\"
  PRINTCAP_PATH=\"@PRINTCAP_PATH@\"
  LPD_PATH=\"@LPD_DIR@/lpd\"
! SHELL=@SHELL@
  LOCKFILE=\"@LOCKFILE@\"
  CONFIG_SUBDIR="@CONFIG_SUBDIR@"
  PSHOWALL="@PSHOWALL@"
./configure --disable-ssl && make

_ LibO_3.6.4_Linux_x86

su
rpm2tgz foo.rpm		# !! DO AS ROOT !!
installpkg foo.tgz
cd /opt/libreoffice3.6/ure-link/lib
mv libstdc++.so.6  libstdc++.so.6.ORG
ln -s /usr/lib/libstdc++.so.6.0.17 libstdc++.so.6

_ Timidity++-2.13.2

Install shominst-0409.zip after installing Timidity

cd /usr/local/share/
mkdir timidity
cd timidity
unzip /home/m-ito/tmp/shominst-0409.zip
vi timidity.cfg
#dir /nethome/sak95/shom/lib/timidity/inst/GUS
#dir /nethome/sak95/shom/lib/timidity/inst
#dir /nethome/sak95/shom/lib/timidity/inst/test

dir /usr/local/share/timidity/inst
dir /usr/local/share/timidity/inst/GUS
dir /usr/local/share/timidity/inst/gusperc
dir /usr/local/share/timidity/inst/mazpat
dir /usr/local/share/timidity/inst/orchhit-patch
dir /usr/local/share/timidity/inst/release
dir /usr/local/share/timidity/inst/roland
dir /usr/local/share/timidity/inst/test
dir /usr/local/share/timidity/inst/wime
dir /usr/local/share/timidity/inst/wowpats

_ firefox-18.0.1

.mozconfig

. $topsrcdir/browser/config/mozconfig
ac_add_options --disable-debug
ac_add_options --enable-optimize
ac_add_options --enable-default-toolkit=cairo-gtk2

how to build and install

vi browser/locales/en-US/updater/updater.ini # delete UTF-8 character to avoid "sed stuck"
make -f client.mk build && cd obj-i686-pc-linux-gnu/ && make package
mkdir /usr/local/firefox-18.0.1
cd /usr/local/firefox-18.0.1
tar xvvf /home/m-ito/tmp/mozilla-release/obj-i686-pc-linux-gnu/dist/firefox-18.0.1.en-US.linux-i686.tar.bz2

how to install gecko-sdk

mkdir /usr/local/gecko-sdk-18.0.1
cd /usr/local/gecko-sdk-18.0.1
cp -rL /home/m-ito/tmp/mozilla-release/obj-i686-pc-linux-gnu/dist/sdk .
cd sdk
cp -rL /home/m-ito/tmp/mozilla-release/obj-i686-pc-linux-gnu/dist/idl .
cp -rL /home/m-ito/tmp/mozilla-release/obj-i686-pc-linux-gnu/dist/include .

_ gecko-mediaplayer-1.0.7

./configure --with-xulrunner-sdk=/usr/local/gecko-sdk-18.0.1/sdk

_ gimp-1.2.5

config and build

tar xvvf gimp-1.2.5.tar.bz2
cd gimp-1.2.5
./configure --disable-print
make
make install

install data

tar xvvf gimp-data-extras-1.2.0.tar.bz2
cd gimp-data-extras-1.2.0
./configure --disable-gimptest
make
make install

_ k9copy-2.3.8

install libmpeg2-0.5.1.tar.gz and ffmpeg-0.8.5.tar.bz2 first.

patch for dvdcss

*** CMakeLists.txt.ORG	2012-08-04 01:40:41.694000462 +0900
--- CMakeLists.txt	2012-08-04 14:34:15.836000487 +0900
***************
*** 69,75 ****
  FINDAVFORMAT("avformat")
  FINDAVCODEC("avcodec")

! add_definitions( -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS)
  add_subdirectory( src/dvdnav)
  add_subdirectory( src/core )
  add_subdirectory( src/mpeg2)
--- 69,75 ----
  FINDAVFORMAT("avformat")
  FINDAVCODEC("avcodec")

! add_definitions( -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -DHAVE_DVDCSS_DVDCSS_H)
  add_subdirectory( src/dvdnav)
  add_subdirectory( src/core )
  add_subdirectory( src/mpeg2)
***************
*** 351,359 ****

   MESSAGE(STATUS "Found library solid: ${KDE4_SOLID_LIBS}")

! target_link_libraries(k9copy k9copylib ${KDE4_KDEUI_LIBS} ${PHONON_LIBRARY} ${KDE4_SOLID_LIBS})
! target_link_libraries(k9play k9copylib ${KDE4_KDEUI_LIBS}  )
! target_link_libraries(k9xineplayer ${KDE4_KDEUI_LIBS} ${XINE_LIBRARY} ${X11_X11_LIB} )

  install(TARGETS k9copy DESTINATION ${BIN_INSTALL_DIR} )
  install(TARGETS k9play DESTINATION ${BIN_INSTALL_DIR} )
--- 351,359 ----

   MESSAGE(STATUS "Found library solid: ${KDE4_SOLID_LIBS}")

! target_link_libraries(k9copy k9copylib ${KDE4_KDEUI_LIBS} ${PHONON_LIBRARY} ${KDE4_SOLID_LIBS} dvdcss)
! target_link_libraries(k9play k9copylib ${KDE4_KDEUI_LIBS} dvdcss )
! target_link_libraries(k9xineplayer ${KDE4_KDEUI_LIBS} ${XINE_LIBRARY} ${X11_X11_LIB} dvdcss )

  install(TARGETS k9copy DESTINATION ${BIN_INSTALL_DIR} )
  install(TARGETS k9play DESTINATION ${BIN_INSTALL_DIR} )

build and install

cmake .
make
make install

_ libcaca-0.99.beta18

Install imlib2-1.4.5.tar.bz2 first

./configure --enable-imlib2 && make

_ minitube-1.9

*** ./src/qtsingleapplication/qtlocalpeer.cpp.ORG	2012-11-29 01:59:22.999945536 +0900
--- ./src/qtsingleapplication/qtlocalpeer.cpp	2012-11-29 02:00:01.906890406 +0900
***************
*** 49,54 ****
--- 49,55 ----
  #include <QtCore/QCoreApplication>
  #include <QtCore/QTime>
  #include <QDebug>
+ #include <unistd.h>

  #if defined(Q_OS_WIN)
  #include <QtCore/QLibrary>

_ petit313

diff -cr petit313.ORG/configure petit313/configure
*** petit313.ORG/configure	Sun May 23 01:07:58 2004
--- petit313/configure	Wed Sep  2 11:01:52 2009
***************
*** 1346,1352 ****
  		;;
  	*)
  		# default
! 		OPTIMIZATION="-O3 -fomit-frame-pointer -ffast-math \
  			-funroll-loops"
  		;;
  	esac
--- 1346,1352 ----
  		;;
  	*)
  		# default
! 		OPTIMIZATION="-O -fomit-frame-pointer \
  			-funroll-loops"
  		;;
  	esac
diff -cr petit313.ORG/engine/i386/fftsse.nas petit313/engine/i386/fftsse.nas
*** petit313.ORG/engine/i386/fftsse.nas	Sun Oct  5 09:50:37 2003
--- petit313/engine/i386/fftsse.nas	Wed Sep  2 10:56:40 2009
***************
*** 23,36 ****
  Q_SQRT2	dd	1.41421356237, 1.41421356237, 1.41421356237, 1.41421356237

  Q_1		dd	1.0, 1.0, 1.0, 1.0
! costab	dd	9.238795325112867e-01F, 9.238795325112867e-01F, 9.238795325112867e-01F, 9.238795325112867e-01F
! 		dd	3.826834323650898e-01F, 3.826834323650898e-01F, 3.826834323650898e-01F, 3.826834323650898e-01F
! 		dd	9.951847266721969e-01F, 9.951847266721969e-01F, 9.951847266721969e-01F, 9.951847266721969e-01F
! 		dd	9.801714032956060e-02F, 9.801714032956060e-02F, 9.801714032956060e-02F, 9.801714032956060e-02F
! 		dd	9.996988186962042e-01F, 9.996988186962042e-01F, 9.996988186962042e-01F, 9.996988186962042e-01F
! 		dd	2.454122852291229e-02F, 2.454122852291229e-02F, 2.454122852291229e-02F, 2.454122852291229e-02F
! 		dd	9.999811752826011e-01F, 9.999811752826011e-01F, 9.999811752826011e-01F, 9.999811752826011e-01F
! 		dd	6.135884649154475e-03F, 6.135884649154475e-03F, 6.135884649154475e-03F, 6.135884649154475e-03F

  	align	32
  revLongInit	db 0x00, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80
--- 23,36 ----
  Q_SQRT2	dd	1.41421356237, 1.41421356237, 1.41421356237, 1.41421356237

  Q_1		dd	1.0, 1.0, 1.0, 1.0
! costab	dd	9.238795325112867e-01, 9.238795325112867e-01, 9.238795325112867e-01, 9.238795325112867e-01
! 		dd	3.826834323650898e-01, 3.826834323650898e-01, 3.826834323650898e-01, 3.826834323650898e-01
! 		dd	9.951847266721969e-01, 9.951847266721969e-01, 9.951847266721969e-01, 9.951847266721969e-01
! 		dd	9.801714032956060e-02, 9.801714032956060e-02, 9.801714032956060e-02, 9.801714032956060e-02
! 		dd	9.996988186962042e-01, 9.996988186962042e-01, 9.996988186962042e-01, 9.996988186962042e-01
! 		dd	2.454122852291229e-02, 2.454122852291229e-02, 2.454122852291229e-02, 2.454122852291229e-02
! 		dd	9.999811752826011e-01, 9.999811752826011e-01, 9.999811752826011e-01, 9.999811752826011e-01
! 		dd	6.135884649154475e-03, 6.135884649154475e-03, 6.135884649154475e-03, 6.135884649154475e-03

  	align	32
  revLongInit	db 0x00, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80

_ pips3500-2.1.2

*** ./ekpstm/ekpstm-1.0.2/src/main.c.ORG	2012-12-17 14:45:52.363623800 +0900
--- ./ekpstm/ekpstm-1.0.2/src/main.c	2012-12-17 14:46:26.015900829 +0900
***************
*** 72,77 ****
--- 72,78 ----
            break;

          default:
+ 	  break;
          }
      }

_ sox-14.3.2

*** src/ffmpeg.c.ORG	2011-10-18 23:11:19.246000517 +0900
--- src/ffmpeg.c	2011-10-18 23:15:35.508000528 +0900
***************
*** 91,97 ****

    if (!codec || avcodec_open(enc, codec) < 0)
      return -1;
!   if (enc->codec_type != CODEC_TYPE_AUDIO) {
      lsx_fail("ffmpeg CODEC %x is not an audio CODEC", enc->codec_type);
      return -1;
    }
--- 91,97 ----

    if (!codec || avcodec_open(enc, codec) < 0)
      return -1;
!   if (enc->codec_type != AVMEDIA_TYPE_AUDIO) {
      lsx_fail("ffmpeg CODEC %x is not an audio CODEC", enc->codec_type);
      return -1;
    }
***************
*** 182,188 ****
    /* Find audio stream (FIXME: allow different stream to be selected) */
    for (i = 0; (unsigned)i < ffmpeg->ctxt->nb_streams; i++) {
      AVCodecContext *enc = ffmpeg->ctxt->streams[i]->codec;
!     if (enc->codec_type == CODEC_TYPE_AUDIO && ffmpeg->audio_index < 0) {
        ffmpeg->audio_index = i;
        break;
      }
--- 182,188 ----
    /* Find audio stream (FIXME: allow different stream to be selected) */
    for (i = 0; (unsigned)i < ffmpeg->ctxt->nb_streams; i++) {
      AVCodecContext *enc = ffmpeg->ctxt->streams[i]->codec;
!     if (enc->codec_type == AVMEDIA_TYPE_AUDIO && ffmpeg->audio_index < 0) {
        ffmpeg->audio_index = i;
        break;
      }
***************
*** 273,279 ****

    c = st->codec;
    c->codec_id = codec_id;
!   c->codec_type = CODEC_TYPE_AUDIO;

    /* put sample parameters */
    c->bit_rate = 256000;  /* FIXME: allow specification */
--- 273,279 ----

    c = st->codec;
    c->codec_id = codec_id;
!   c->codec_type = AVMEDIA_TYPE_AUDIO;

    /* put sample parameters */
    c->bit_rate = 256000;  /* FIXME: allow specification */
***************
*** 423,429 ****
        av_init_packet(&pkt);
        pkt.size = avcodec_encode_audio(c, ffmpeg->audio_buf_aligned, AVCODEC_MAX_AUDIO_FRAME_SIZE, ffmpeg->samples);
        pkt.pts = av_rescale_q(c->coded_frame->pts, c->time_base, ffmpeg->audio_st->time_base);
!       pkt.flags |= PKT_FLAG_KEY;
        pkt.stream_index = ffmpeg->audio_st->index;
        pkt.data = ffmpeg->audio_buf_aligned;

--- 423,429 ----
        av_init_packet(&pkt);
        pkt.size = avcodec_encode_audio(c, ffmpeg->audio_buf_aligned, AVCODEC_MAX_AUDIO_FRAME_SIZE, ffmpeg->samples);
        pkt.pts = av_rescale_q(c->coded_frame->pts, c->time_base, ffmpeg->audio_st->time_base);
!       pkt.flags |= AV_PKT_FLAG_KEY;
        pkt.stream_index = ffmpeg->audio_st->index;
        pkt.data = ffmpeg->audio_buf_aligned;

_ sqlite-ruby-1.2.5

gem install sqlite3-ruby-1.2.5.gem
gem install dbi-0.4.3.gem
gem install dbd-sqlite3-1.2.5.gem
gem uninstall deprecated

Select gem to uninstall:
 1. deprecated-2.0.1
 2. deprecated-3.0.1
 3. All versions
> 2
Successfully uninstalled deprecated-3.0.1

_ tgif-QPL-4.2.5

*** ./drawing.c.ORG	2011-06-28 11:04:57.000000000 +0900
--- ./drawing.c	2012-12-12 13:38:40.450209776 +0900
***************
*** 2043,2049 ****
--- 2043,2053 ----
        case 'l': /*^l*/ AlignSelObjs(); break;
        case 'm': /*^m*/ return(INVALID);
        case 'n': /*^n*/ NewProc(); break;
+ #ifdef CTRL_O_FOR_KANJI_INPUT
+       case ' ': /*^ */
+ #else
        case 'o': /*^o*/
+ #endif
           OpenProc((args==NULL || *args=='\0') ? NULL : args);
           break;
        case 'p': /*^p*/ Dump(""); break;
***************
*** 2063,2069 ****
--- 2067,2077 ----
        case '1': /*^1*/ ScreenCapture(); break;
        case '2': /*^2*/ FullScreenCapture(); break;

+ #ifdef CTRL_O_FOR_KANJI_INPUT
+       case 'o':
+ #else
        case ' ':
+ #endif
        case '\\':
           if (curChoice == DRAWTEXT && textCursorShown &&
                 (canvasFontDoubleByte || gstCopyUTF8Info.double_byte_valid)) {
*** ./shortcut.c.ORG	2011-06-28 11:04:58.000000000 +0900
--- ./shortcut.c	2012-12-12 13:38:40.458210793 +0900
***************
*** 50,56 ****
--- 50,60 ----
     { 'k', CNTRL_ONLY, "Pop()", 0, CMDID_POP },
     { 'l', CNTRL_ONLY, "AlignObjs()", 0, CMDID_ALIGNOBJS },
     { 'n', CNTRL_ONLY, "New()", 0, CMDID_NEW },
+ #ifdef CTRL_O_FOR_KANJI_INPUT
+    { ' ', CNTRL_ONLY, "Open()", 1, CMDID_OPEN },
+ #else
     { 'o', CNTRL_ONLY, "Open()", 1, CMDID_OPEN },
+ #endif
     { 'p', CNTRL_ONLY, "Print()", 0, CMDID_PRINT },
     { 'q', CNTRL_ONLY, "Quit()", 0, CMDID_QUIT },
     { 'r', CNTRL_ONLY, "Redraw()", 0, CMDID_REDRAW },
*** ./Tgif.tmpl.ORG	2012-12-12 13:39:36.596345662 +0900
--- ./Tgif.tmpl	2012-12-12 13:40:24.933489062 +0900
***************
*** 53,59 ****
  		  -DDEFATTRGROUP=\"TANGRAM-II:Declaration:Events:Messages:Rewards:Initialization:Watches\" \@@\
  		  -D_NO_NKF -D_NO_CHINPUT -D_NO_XCIN \@@\
  		  -DUSE_XT_INITIALIZE -DPTHREAD
! MOREDEFINES	=

  XCOMM ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  XCOMM Please see Imakefile for more defines to be added to MOREDEFINES above
--- 53,59 ----
  		  -DDEFATTRGROUP=\"TANGRAM-II:Declaration:Events:Messages:Rewards:Initialization:Watches\" \@@\
  		  -D_NO_NKF -D_NO_CHINPUT -D_NO_XCIN \@@\
  		  -DUSE_XT_INITIALIZE -DPTHREAD
! MOREDEFINES   = -DA4PAPER -DCTRL_O_FOR_KANJI_INPUT

  XCOMM ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  XCOMM Please see Imakefile for more defines to be added to MOREDEFINES above
*** ./file.c.ORG	2011-06-28 11:04:57.000000000 +0900
--- ./file.c	2012-12-12 13:38:40.455210411 +0900
***************
*** 8767,8773 ****
--- 8767,8777 ----
  /* do not translate -- program constants */
  char * fileMenuStr[] =
        { "New             ^n",
+ #ifdef CTRL_O_FOR_KANJI_INPUT
+         "Open            ^ ",
+ #else
          "Open            ^o",
+ #endif
          "Save            ^s",
          "SaveNew        ^#s",
          "Import          #p",

_ vlc-2.0.3

LC_ALL=ja_JP.UTF-8 LANG=ja_JP.UTF-8 ./configure --disable-lua --disable-postproc --disable-a52
LC_ALL=ja_JP.UTF-8 LANG=ja_JP.UTF-8 make

_ w3m-0.5.3

patch

*** ./istream.h.ORG	2012-11-28 12:23:44.903821617 +0900
--- ./istream.h	2012-11-28 12:24:31.368727065 +0900
***************
*** 20,26 ****

  typedef struct stream_buffer *StreamBuffer;

! struct file_handle {
      FILE *f;
      void (*close) ();
  };
--- 20,26 ----

  typedef struct stream_buffer *StreamBuffer;

! struct File_handle {
      FILE *f;
      void (*close) ();
  };
***************
*** 53,59 ****

  struct file_stream {
      struct stream_buffer stream;
!     struct file_handle *handle;
      char type;
      char iseos;
      int (*read) ();
--- 53,59 ----

  struct file_stream {
      struct stream_buffer stream;
!     struct File_handle *handle;
      char type;
      char iseos;
      int (*read) ();
*** ./istream.c.ORG	2012-11-28 12:23:39.465130387 +0900
--- ./istream.c	2012-11-28 12:24:16.455831711 +0900
***************
*** 22,29 ****
  static void basic_close(int *handle);
  static int basic_read(int *handle, char *buf, int len);

! static void file_close(struct file_handle *handle);
! static int file_read(struct file_handle *handle, char *buf, int len);

  static int str_read(Str handle, char *buf, int len);

--- 22,29 ----
  static void basic_close(int *handle);
  static int basic_read(int *handle, char *buf, int len);

! static void file_close(struct File_handle *handle);
! static int file_read(struct File_handle *handle, char *buf, int len);

  static int str_read(Str handle, char *buf, int len);

***************
*** 114,120 ****
      stream = New(union input_stream);
      init_base_stream(&stream->base, STREAM_BUF_SIZE);
      stream->file.type = IST_FILE;
!     stream->file.handle = New(struct file_handle);
      stream->file.handle->f = f;
      if (closep)
  	stream->file.handle->close = closep;
--- 114,120 ----
      stream = New(union input_stream);
      init_base_stream(&stream->base, STREAM_BUF_SIZE);
      stream->file.type = IST_FILE;
!     stream->file.handle = New(struct File_handle);
      stream->file.handle->f = f;
      if (closep)
  	stream->file.handle->close = closep;
***************
*** 638,650 ****
  }

  static void
! file_close(struct file_handle *handle)
  {
      handle->close(handle->f);
  }

  static int
! file_read(struct file_handle *handle, char *buf, int len)
  {
      return fread(buf, 1, len, handle->f);
  }
--- 638,650 ----
  }

  static void
! file_close(struct File_handle *handle)
  {
      handle->close(handle->f);
  }

  static int
! file_read(struct File_handle *handle, char *buf, int len)
  {
      return fread(buf, 1, len, handle->f);
  }

config and build

LIBS=-lX11 ./configure --disable-mouse && make

_ x264-snapshot

./configure --enable-shared
make
make  install-cli install-lib-dev install-lib-static install-lib-shared

_ System files

/etc/udev/rules.d/70-persistent-net.rules

# PCI device 0x10ec:/sys/devices/pci0000:00/0000:00:07.0/0000:05:00.0 (r8169)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:16:d3:51:0b:4b", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0",RUN="/etc/rc.d/rc.inet1 eth0_start"

# PCMCIA device 0x0002:0x0156 (orinoco_cs)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:02:2d:3a:29:b5", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1",RUN="/etc/rc.d/rc.inet1 eth1_start"

# PCMCIA device 0x0000:0xc00f (hostap_cs)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:09:41:41:ec:39", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan0"

# USB device 0x0b95:0x7720 (usb)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:22:cf:cc:e5:4a", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth2"

/etc/httpd/httpd.conf

*** /etc/httpd/httpd.conf.ORG	2012-12-17 16:30:39.481684175 +0900
--- /etc/httpd/httpd.conf	2012-12-17 21:07:42.777013259 +0900
***************
*** 152,158 ****
  LoadModule autoindex_module lib/httpd/modules/mod_autoindex.so
  #LoadModule asis_module lib/httpd/modules/mod_asis.so
  #LoadModule info_module lib/httpd/modules/mod_info.so
! #LoadModule cgid_module lib/httpd/modules/mod_cgid.so
  #LoadModule cgi_module lib/httpd/modules/mod_cgi.so
  #LoadModule dav_fs_module lib/httpd/modules/mod_dav_fs.so
  #LoadModule dav_lock_module lib/httpd/modules/mod_dav_lock.so
--- 152,158 ----
  LoadModule autoindex_module lib/httpd/modules/mod_autoindex.so
  #LoadModule asis_module lib/httpd/modules/mod_asis.so
  #LoadModule info_module lib/httpd/modules/mod_info.so
! LoadModule cgid_module lib/httpd/modules/mod_cgid.so
  #LoadModule cgi_module lib/httpd/modules/mod_cgi.so
  #LoadModule dav_fs_module lib/httpd/modules/mod_dav_fs.so
  #LoadModule dav_lock_module lib/httpd/modules/mod_dav_lock.so
***************
*** 161,167 ****
  LoadModule dir_module lib/httpd/modules/mod_dir.so
  #LoadModule actions_module lib/httpd/modules/mod_actions.so
  #LoadModule speling_module lib/httpd/modules/mod_speling.so
! #LoadModule userdir_module lib/httpd/modules/mod_userdir.so
  LoadModule alias_module lib/httpd/modules/mod_alias.so
  #LoadModule rewrite_module lib/httpd/modules/mod_rewrite.so

--- 161,167 ----
  LoadModule dir_module lib/httpd/modules/mod_dir.so
  #LoadModule actions_module lib/httpd/modules/mod_actions.so
  #LoadModule speling_module lib/httpd/modules/mod_speling.so
! LoadModule userdir_module lib/httpd/modules/mod_userdir.so
  LoadModule alias_module lib/httpd/modules/mod_alias.so
  #LoadModule rewrite_module lib/httpd/modules/mod_rewrite.so

***************
*** 401,407 ****
      # To use CGI scripts outside of ScriptAliased directories:
      # (You will also need to add "ExecCGI" to the "Options" directive.)
      #
!     #AddHandler cgi-script .cgi

      # For type maps (negotiated resources):
      #AddHandler type-map var
--- 401,407 ----
      # To use CGI scripts outside of ScriptAliased directories:
      # (You will also need to add "ExecCGI" to the "Options" directive.)
      #
!     AddHandler cgi-script .cgi

      # For type maps (negotiated resources):
      #AddHandler type-map var
***************
*** 473,479 ****
  #Include /etc/httpd/extra/httpd-languages.conf

  # User home directories
! #Include /etc/httpd/extra/httpd-userdir.conf

  # Real-time info on requests and configuration
  #Include /etc/httpd/extra/httpd-info.conf
--- 473,479 ----
  #Include /etc/httpd/extra/httpd-languages.conf

  # User home directories
! Include /etc/httpd/extra/httpd-userdir.conf

  # Real-time info on requests and configuration
  #Include /etc/httpd/extra/httpd-info.conf

/etc/httpd/extra/httpd-userdir.conf

*** /etc/httpd/extra/httpd-userdir.conf.ORG	2012-12-17 16:35:42.869243174 +0900
--- /etc/httpd/extra/httpd-userdir.conf	2012-12-17 20:49:54.201202764 +0900
***************
*** 14,21 ****
  # for a site where these directories are restricted to read-only.
  #
  <Directory "/home/*/public_html">
!     AllowOverride FileInfo AuthConfig Limit Indexes
!     Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
      Require method GET POST OPTIONS
  </Directory>

--- 14,23 ----
  # for a site where these directories are restricted to read-only.
  #
  <Directory "/home/*/public_html">
! ##    AllowOverride FileInfo AuthConfig Limit Indexes
! ##    Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
!     AllowOverride All
!     Options Includes FollowSymlinks ExecCGI
      Require method GET POST OPTIONS
  </Directory>

/etc/fonts/conf.avail/44-wqy-zenhei.conf

mv /etc/fonts/conf.avail/44-wqy-zenhei.conf /etc/fonts/conf.avail/44-wqy-zenhei.conf.REMOVED

/etc/modprobe.d/sound.conf

options snd-hda-intel enable_msi=0

/etc/exports

# See exports(5) for a description.
# This file contains a list of all directories exported to other computers.
# It is used by rpc.nfsd and rpc.mountd.
/       192.168.0.0/255.255.255.0(ro,no_root_squash,no_subtree_check,sync)

/etc/rc.d/rc.modules-3.2.29-smp

*** /etc/rc.d/rc.modules-3.2.29-smp.ORG	2012-11-29 01:18:37.073633674 +0900
--- /etc/rc.d/rc.modules-3.2.29-smp	2012-11-29 01:21:31.385787852 +0900
***************
*** 350,355 ****
--- 350,357 ----
  #/sbin/modprobe evdev

  ### ALSA (Advanced Linux Sound Architecture) support:
+ # lspci -> 00:14.2 Audio device: Advanced Micro Devices [AMD] nee ATI IXP SB4x0 High Definition Audio Controller (rev 01)
+ /sbin/modprobe snd-atiixp
  # Sound Blaster Pro/16 support:
  #/sbin/modprobe snd-sb16 port=0x220 irq=5 dma8=3 dma16=5 mpu_port=0x300
  # Sound Blaster Live support:

/etc/rc.d/rc.local_shutdown

#! /bin/sh
shutdown_start() {
	:
}
#
shutdown_stop() {
	if [ -x /usr/sbin/alsactl ]
	then
		/usr/sbin/alsactl store
	fi
}
#
case "$1" in
'start')
	shutdown_start
	;;
'stop')
	shutdown_stop
	;;
*)
	;;
esac

/etc/gtk-2.0/gtkrc

*** /etc/gtk-2.0/gtkrc.ORG	2012-12-14 16:39:34.393681605 +0900
--- /etc/gtk-2.0/gtkrc	2012-12-14 16:40:08.577026130 +0900
***************
*** 1 ****
--- 1,2 ----
  gtk-theme-name="GTK+"
+ gtk-print-backends="file,lpr,cups"

/etc/X11/app-defaults/Kinput2

*** /etc/X11/app-defaults/Kinput2.ORG	2012-11-28 12:36:15.891268259 +0900
--- /etc/X11/app-defaults/Kinput2	2012-12-15 22:13:49.488576746 +0900
***************
*** 96,102 ****
  ! XimpProtocol
  *XimpProtocol.ForceDefaultServer: true
  ! X Input Method Protocol
! *IMProtocol.locales: ja_JP.SJIS, ja_JP.EUC, ja_JP, japanese, japan, ja
  ! common to XimpProtocol and IMProtocol
  *defaultFontList: -misc-fixed-medium-r-normal--14-*-*-*-c-*
  *ConversionStartKeys: \
--- 96,102 ----
  ! XimpProtocol
  *XimpProtocol.ForceDefaultServer: true
  ! X Input Method Protocol
! *IMProtocol.locales: ja_JP.UTF-8, ja_JP.SJIS, ja_JP.EUC, ja_JP, japanese, japan, ja
  ! common to XimpProtocol and IMProtocol
  *defaultFontList: -misc-fixed-medium-r-normal--14-*-*-*-c-*
  *ConversionStartKeys: \

/usr/local/etc/freshclam.conf

*** /usr/local/etc/freshclam.conf.ORG	2012-12-06 18:08:38.466531029 +0900
--- /usr/local/etc/freshclam.conf	2012-12-06 18:11:05.255187113 +0900
***************
*** 5,16 ****


  # Comment or remove the line below.
! Example

  # Path to the database directory.
  # WARNING: It must match clamd.conf's directive!
  # Default: hardcoded (depends on installation options)
  #DatabaseDirectory /var/lib/clamav

  # Path to the log file (make sure it has proper permissions)
  # Default: disabled
--- 5,17 ----


  # Comment or remove the line below.
! ##Example

  # Path to the database directory.
  # WARNING: It must match clamd.conf's directive!
  # Default: hardcoded (depends on installation options)
  #DatabaseDirectory /var/lib/clamav
+ DatabaseDirectory /usr/local/share/clamav

  # Path to the log file (make sure it has proper permissions)
  # Default: disabled
***************
*** 66,71 ****
--- 67,73 ----
  # code. See http://www.iana.org/cctld/cctld-whois.htm for the full list.
  # You can use db.XY.ipv6.clamav.net for IPv6 connections.
  #DatabaseMirror db.XY.clamav.net
+ DatabaseMirror db.jp.clamav.net

  # database.clamav.net is a round-robin record which points to our most
  # reliable mirrors. It's used as a fall back in case db.XY.clamav.net is
***************
*** 104,109 ****
--- 106,113 ----
  #HTTPProxyPort 1234
  #HTTPProxyUsername myusername
  #HTTPProxyPassword mypass
+ HTTPProxyServer 192.168.0.100
+ HTTPProxyPort 8080

  # If your servers are behind a firewall/proxy which applies User-Agent
  # filtering you can use this option to force the use of a different

/usr/local/etc/clamd.conf

*** /usr/local/etc/clamd.conf.ORG	2012-12-06 18:11:13.643253193 +0900
--- /usr/local/etc/clamd.conf	2012-12-10 21:10:16.600068543 +0900
***************
*** 5,11 ****


  # Comment or remove the line below.
! Example

  # Uncomment this option to enable logging.
  # LogFile must be writable for the user running daemon.
--- 5,11 ----


  # Comment or remove the line below.
! ##Example

  # Uncomment this option to enable logging.
  # LogFile must be writable for the user running daemon.
***************
*** 67,72 ****
--- 67,73 ----
  # Path to the database directory.
  # Default: hardcoded (depends on installation options)
  #DatabaseDirectory /var/lib/clamav
+ DatabaseDirectory /usr/local/share/clamav

  # Only load the official signatures published by the ClamAV project.
  # Default: no
***************
*** 78,83 ****
--- 79,85 ----
  # Path to a local socket file the daemon will listen on.
  # Default: disabled (must be specified by a user)
  #LocalSocket /tmp/clamd.socket
+ LocalSocket /tmp/clamd.socket

  # Sets the group ownership on the unix socket.
  # Default: disabled (the primary group of the user running clamd)
***************
*** 90,99 ****
--- 92,103 ----
  # Remove stale socket after unclean shutdown.
  # Default: yes
  #FixStaleSocket yes
+ FixStaleSocket yes

  # TCP port address.
  # Default: no
  #TCPSocket 3310
+ TCPSocket 3310

  # TCP address.
  # By default we bind to INADDR_ANY, probably not wise.
***************
*** 101,106 ****
--- 105,111 ----
  # from the outside world.
  # Default: no
  #TCPAddr 127.0.0.1
+ TCPAddr 127.0.0.1

  # Maximum length the queue of pending connections may grow to.
  # Default: 200

/usr/share/sendmail/cf/cf/config.mc

dnl# This is the default sendmail .mc file for Slackware.  To generate
dnl# the sendmail.cf file from this (perhaps after making some changes),
dnl# use the m4 files in /usr/share/sendmail/cf like this:
dnl#
dnl# cp sendmail-slackware.mc /usr/share/sendmail/cf/config.mc
dnl# cd /usr/share/sendmail/cf
dnl# sh Build config.cf
dnl#
dnl# You may then install the resulting .cf file:
dnl# cp config.cf /etc/mail/sendmail.cf
dnl#
include(`../m4/cf.m4')
VERSIONID(`default setup for Slackware Linux')dnl
OSTYPE(`linux')dnl
dnl# These settings help protect against people verifying email addresses
dnl# at your site in order to send you email that you probably don't want:
define(`confPRIVACY_FLAGS', `authwarnings,novrfy,noexpn,restrictqrun')dnl
dnl# Uncomment the line below to send outgoing mail through an external server:
define(`SMART_HOST',`smtp:lib100.artie.or.jp')
dnl# No timeout for ident:
define(`confTO_IDENT', `0')dnl
dnl# Enable the line below to use smrsh to restrict what sendmail can run:
dnl FEATURE(`smrsh',`/usr/sbin/smrsh')dnl
dnl# See the README in /usr/share/sendmail/cf for a ton of information on
dnl# how these options work:
FEATURE(`use_cw_file')dnl
FEATURE(`use_ct_file')dnl
FEATURE(`mailertable',`hash -o /etc/mail/mailertable.db')dnl
FEATURE(`virtusertable',`hash -o /etc/mail/virtusertable.db')dnl
FEATURE(`access_db', `hash -T<TMPF> /etc/mail/access')dnl
FEATURE(`blacklist_recipients')dnl
FEATURE(`local_procmail',`',`procmail -t -Y -a $h -d $u')dnl
FEATURE(`always_add_domain')dnl
FEATURE(`redirect')dnl
dnl# Turn this feature on if you don't always have DNS, or enjoy junk mail:
FEATURE(`accept_unresolvable_domains')dnl
EXPOSED_USER(`root')dnl
dnl# Also accept mail for localhost.localdomain:
LOCAL_DOMAIN(`localhost.localdomain')dnl
FEATURE(`no_default_msa')dnl
MAILER(local)dnl
MAILER(smtp)dnl
MAILER(procmail)dnl

/usr/share/ghostscript/9.05/Resource/Init/cidfmap

*** /usr/share/ghostscript/9.05/Resource/Init/cidfmap.ORG	2012-12-19 21:09:13.439322766 +0900
--- /usr/share/ghostscript/9.05/Resource/Init/cidfmap	2012-12-21 23:01:41.287931048 +0900
***************
*** 94,99 ****
--- 94,109 ----
  /Adobe-Japan1           	/Sazanami-Gothic        ;
  /Adobe-Japan2           	/Sazanami-Gothic-JaH    ;

+ % add by m-ito
+ /Tyukaisyo-Medium		<< /FileType /TrueType /Path (dfjkaimd.ttf) /CSI [(Japan1) 6] >> ;
+ /Tyumarugothic-Medium		<< /FileType /TrueType /Path (dfjmrgmd.ttf) /CSI [(Japan1) 6] >> ;
+ /Gyosyo-Medium			<< /FileType /TrueType /Path (dfjgyomd.ttf) /CSI [(Japan1) 6] >> ;
+ /Kanteiryu-Medium		<< /FileType /TrueType /Path (dfjktrxb.ttf) /CSI [(Japan1) 6] >> ;
+ /Reisyo-Medium			<< /FileType /TrueType /Path (dfjleimd.ttf) /CSI [(Japan1) 6] >> ;
+ /Pop1-Medium			<< /FileType /TrueType /Path (dfjpop1.ttf)  /CSI [(Japan1) 6] >> ;
+ /Marumoji-Medium		<< /FileType /TrueType /Path (dfjmrmmd.ttf) /CSI [(Japan1) 6] >> ;
+ /Kouzanmouhitu-Medium		<< /FileType /TrueType /Path (kouzanmouhitu.ttf) /CSI [(Japan1) 6] >> ;
+
  %% cidfmap.ko
  %% To enable Korean printing support, install the fonts shown in the example
  %% here and uncomment the block below:

2013年01月30日 How to chang "ISO Media, MPEG v4 system, version 1" to "version 2" [長年日記]

_ Install gpac-0.5.0.tar.gz

$ tar xvvf gpac-0.5.0.tar.gz
$ cd gpac-0.5.0
$ ./configure
$ make
# make install

_ MP4Box

$ MP4Box -add input.mp4 -brand mp42 -new output.mp4