<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>h1de0ut</title>
	<atom:link href="http://h1de0ut.com/bl0g/feed/" rel="self" type="application/rss+xml" />
	<link>http://h1de0ut.com/bl0g</link>
	<description>4 my Eyes only</description>
	<lastBuildDate>Thu, 17 May 2012 02:16:23 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>nginx-1.2.0 stable version released</title>
		<link>http://h1de0ut.com/bl0g/article/2012/04/24/nginx-1-2-0-stable-version-released/</link>
		<comments>http://h1de0ut.com/bl0g/article/2012/04/24/nginx-1-2-0-stable-version-released/#comments</comments>
		<pubDate>Tue, 24 Apr 2012 01:45:47 +0000</pubDate>
		<dc:creator>なかの人</dc:creator>
				<category><![CDATA[CentOS]]></category>
		<category><![CDATA[OS X]]></category>
		<category><![CDATA[nginx]]></category>

		<guid isPermaLink="false">http://h1de0ut.com/bl0g/?p=1251</guid>
		<description><![CDATA[With 1.2.0 release today nginx-1.1 development branch become 1.2-stable mailman.nginx.org/pipermail/ngin… ngin...  <a href="http://h1de0ut.com/bl0g/article/2012/04/24/nginx-1-2-0-stable-version-released/" class="more-link" title="Read nginx-1.2.0 stable version released">Read more &#187;</a>]]></description>
			<content:encoded><![CDATA[<blockquote class="twitter-tweet"><p>With 1.2.0 release today nginx-1.1 development branch become 1.2-stable <a href="http://t.co/FriW3duX" title="http://mailman.nginx.org/pipermail/nginx-announce/2012/000082.html">mailman.nginx.org/pipermail/ngin…</a> <a href="http://t.co/UszbK4A6" title="http://nginx.org/en/CHANGES-1.2">nginx.org/en/CHANGES-1.2</a></p>
<p>&mdash; nginx web server (@nginxorg) <a href="https://twitter.com/nginxorg/status/194455492502896640" data-datetime="2012-04-23T15:59:36+00:00">April 23, 2012</a></p></blockquote>
<p><script src="//platform.twitter.com/widgets.js" charset="utf-8"></script></p>
<p>memo on Lion.</p>
<pre>Activating nginx @1.2.0_0+addition+dav+flv+geoip+gzip_static+mail+realip+redis+ssl+status+substitution+upload+zip</pre>
<img class="colorbox-1251"  src="http://h1de0ut.com/wp-trunk/?ak_action=api_record_view&id=1251&type=feed" alt="" />
]]></content:encoded>
			<wfw:commentRss>http://h1de0ut.com/bl0g/article/2012/04/24/nginx-1-2-0-stable-version-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mosh:Use protobuf’s Gzip</title>
		<link>http://h1de0ut.com/bl0g/article/2012/04/23/mosh_use-protobufs-gzip/</link>
		<comments>http://h1de0ut.com/bl0g/article/2012/04/23/mosh_use-protobufs-gzip/#comments</comments>
		<pubDate>Mon, 23 Apr 2012 07:45:49 +0000</pubDate>
		<dc:creator>なかの人</dc:creator>
				<category><![CDATA[CentOS]]></category>
		<category><![CDATA[mosh]]></category>

		<guid isPermaLink="false">http://h1de0ut.com/bl0g/?p=1242</guid>
		<description><![CDATA[日課と化してるgit pull後のmakeでエラー…transportfragment.cc:20:44: error: google/protobuf/io/gzip_stream.h: No such file or...  <a href="http://h1de0ut.com/bl0g/article/2012/04/23/mosh_use-protobufs-gzip/" class="more-link" title="Read Mosh:Use protobuf’s Gzip">Read more &#187;</a>]]></description>
			<content:encoded><![CDATA[<p>日課と化してるgit pull後のmakeでエラー…<br />transportfragment.cc:20:44: error: google/protobuf/io/gzip_stream.h: No such file or directory</p>
<blockquote cite="https://github.com/keithw/mosh/pull/230" title="Pull Request #230: Use protobuf’s Gzip{Input,Output}Stream wrapper around zlib by andersk ・ keithw/mosh ・ GitHub">
<p>+#include &lt;google/protobuf/io/gzip_stream.h></p>
</blockquote>
<p>[<cite><a href="URI">Use protobuf’s Gzip{Input,Output}Stream wrapper around zlib</a></cite>]</p>
<p>これっぽいので<em>protobuf</em>を入れ直す。<br /><span style="color: #cc0000;">%</span>&nbsp;yum list installed | grep protobuf</p>
<pre>protobuf.x86_64        2.3.0-7.el6      @epel
protobuf-compiler.x86_64
protobuf-devel.x86_64  2.3.0-7.el6      @epel
</pre>
<p><span style="color: #cc0000;">%</span>&nbsp;yum remove protobuf\*<br /><span style="color: #cc0000;">%</span>&nbsp;wget http://protobuf.googlecode.com/files/protobuf-2.4.1.tar.bz2<br /><span style="color: #cc0000;">protobuf-2.4.1%</span>&nbsp;./configure &#8211;with-PACKAGE=yes</p>
<pre>checking for protobuf... no
configure: error: Package requirements (protobuf) were not met:

No package 'protobuf' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables protobuf_CFLAGS
and protobuf_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
</pre>
<p><span style="color: #cc0000;">mosh%</span>&nbsp;PKG_CONFIG_PATH=/usr/local/lib/pkgconfig ./configure</p>
<p><span style="color: #cc0000;">%</span>&nbsp;cat /etc/ld.so.conf.d/ull.conf</p>
<pre>/usr/local/lib</pre>
<p><span style="color: #cc0000;">%</span>&nbsp;ldconfig</p>
<img class="colorbox-1242"  src="http://h1de0ut.com/wp-trunk/?ak_action=api_record_view&id=1242&type=feed" alt="" />
]]></content:encoded>
			<wfw:commentRss>http://h1de0ut.com/bl0g/article/2012/04/23/mosh_use-protobufs-gzip/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Mosh:Removed Boost dependency</title>
		<link>http://h1de0ut.com/bl0g/article/2012/04/20/mosh_removed-boost-dependency/</link>
		<comments>http://h1de0ut.com/bl0g/article/2012/04/20/mosh_removed-boost-dependency/#comments</comments>
		<pubDate>Fri, 20 Apr 2012 03:00:01 +0000</pubDate>
		<dc:creator>なかの人</dc:creator>
				<category><![CDATA[CentOS]]></category>
		<category><![CDATA[OS X]]></category>
		<category><![CDATA[mosh]]></category>

		<guid isPermaLink="false">http://h1de0ut.com/bl0g/?p=1227</guid>
		<description><![CDATA[今更だけどcommitされてた。これかなりハードル下がった気が。 LC_ALL=&#160;でもおっけ&#160;&#60;&#160;OS X 10.8.0どんどん良くなるし、あのsaurikもいるのでiOS版も近いか…]]></description>
			<content:encoded><![CDATA[<p>今更だけど<a href="https://github.com/keithw/mosh/pull/158" title="Pull Request #158: Remove Boost dependency by kmcallister ・ keithw/mosh ・ GitHub">commit</a>されてた。これかなりハードル下がった気が。</p>
<p>LC_ALL=&nbsp;でもおっけ&nbsp;&lt;&nbsp;OS X 10.8.0<br />どんどん良くなるし、あの<a href="https://github.com/saurik" title="saurik (Jay Freeman (saurik)) · GitHub">saurik</a>もいるのでiOS版も近いか…</p>
<img class="colorbox-1227"  src="http://h1de0ut.com/wp-trunk/?ak_action=api_record_view&id=1227&type=feed" alt="" />
]]></content:encoded>
			<wfw:commentRss>http://h1de0ut.com/bl0g/article/2012/04/20/mosh_removed-boost-dependency/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>mosh on OS X 10.8.0</title>
		<link>http://h1de0ut.com/bl0g/article/2012/04/17/mosh-on-os-x-10-8-0/</link>
		<comments>http://h1de0ut.com/bl0g/article/2012/04/17/mosh-on-os-x-10-8-0/#comments</comments>
		<pubDate>Mon, 16 Apr 2012 23:45:41 +0000</pubDate>
		<dc:creator>なかの人</dc:creator>
				<category><![CDATA[OS X]]></category>
		<category><![CDATA[mosh]]></category>

		<guid isPermaLink="false">http://h1de0ut.com/bl0g/?p=1222</guid>
		<description><![CDATA[何気にpullしたら動く様になってた。 Darwin bar.local 10.8.0 Darwin Kernel Version 10.8.0: Tue Jun 7 16:33:36 PDT 2011; root:xn...  <a href="http://h1de0ut.com/bl0g/article/2012/04/17/mosh-on-os-x-10-8-0/" class="more-link" title="Read mosh on OS X 10.8.0">Read more &#187;</a>]]></description>
			<content:encoded><![CDATA[<p>何気にpullしたら動く様になってた。</p>
<pre>Darwin bar.local 10.8.0 Darwin Kernel Version 10.8.0: Tue Jun  7 16:33:36 PDT 2011; root:xnu-1504.15.3~1/RELEASE_I386 i386</pre>
<p><span style="color: #cc0000;">%</span>&nbsp;mosh foo</p>
<pre>setlocale: No such file or directory
setlocale: Illegal seek
mosh-server needs a UTF-8 native locale to run.

Unfortunately, the locale environment variables currently specify
the character set "US-ASCII (ANSI_X3.4-1968)".

locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: LC_ALL?????????????????????: ??????????????????????
LANG=ja_JP.UTF-8
LC_CTYPE=UTF-8
LC_NUMERIC="ja_JP.UTF-8"
LC_TIME="ja_JP.UTF-8"
LC_COLLATE="ja_JP.UTF-8"
LC_MONETARY="ja_JP.UTF-8"
LC_MESSAGES="ja_JP.UTF-8"
LC_PAPER="ja_JP.UTF-8"
LC_NAME="ja_JP.UTF-8"
LC_ADDRESS="ja_JP.UTF-8"
LC_TELEPHONE="ja_JP.UTF-8"
LC_MEASUREMENT="ja_JP.UTF-8"
LC_IDENTIFICATION="ja_JP.UTF-8"
LC_ALL=
Connection to XXX.XXX.XXX.XXX closed.
/opt/local/bin/mosh: Did not find mosh server startup message.
</pre>
<p><span style="color: #cc0000;">%</span>&nbsp;<strong>LC_ALL=ja_JP.UTF-8 mosh foo</strong>&nbsp;でおけ。</p>
<img class="colorbox-1222"  src="http://h1de0ut.com/wp-trunk/?ak_action=api_record_view&id=1222&type=feed" alt="" />
]]></content:encoded>
			<wfw:commentRss>http://h1de0ut.com/bl0g/article/2012/04/17/mosh-on-os-x-10-8-0/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>mosh on OS X</title>
		<link>http://h1de0ut.com/bl0g/article/2012/04/12/mosh-on-os-x/</link>
		<comments>http://h1de0ut.com/bl0g/article/2012/04/12/mosh-on-os-x/#comments</comments>
		<pubDate>Thu, 12 Apr 2012 10:15:34 +0000</pubDate>
		<dc:creator>なかの人</dc:creator>
				<category><![CDATA[OS X]]></category>
		<category><![CDATA[mosh]]></category>

		<guid isPermaLink="false">http://h1de0ut.com/bl0g/?p=1203</guid>
		<description><![CDATA[Darwin foo.local 11.3.0 Darwin Kernel Version 11.3.0: Thu Jan 12 18:47:41 PST 2012; root:xnu-1699.24.23~1/RELE...  <a href="http://h1de0ut.com/bl0g/article/2012/04/12/mosh-on-os-x/" class="more-link" title="Read mosh on OS X">Read more &#187;</a>]]></description>
			<content:encoded><![CDATA[<pre>Darwin foo.local 11.3.0 Darwin Kernel Version 11.3.0: Thu Jan 12 18:47:41 PST 2012; root:xnu-1699.24.23~1/RELEASE_X86_64 x86_64</pre>
<p><span style="color: #cc0000;">%</span>&nbsp;MOSH_KEY=key mosh-client remote-IP remote-PORT<br />なら繋がるのに<br /><span style="color: #cc0000;">%</span>&nbsp;mosh remote-IP<br />だと</p>
<pre>setlocale: No such file or directory
Connection to remote-IP closed.
/opt/local/bin/mosh: Did not find mosh server startup message.
</pre>
<p><span style="color: #cc0000;">%</span>&nbsp;locale</p>
<pre>LANG="ja_JP.UTF-8"
LC_COLLATE="ja_JP.UTF-8"
LC_CTYPE="UTF-8"
LC_MESSAGES="ja_JP.UTF-8"
LC_MONETARY="ja_JP.UTF-8"
LC_NUMERIC="ja_JP.UTF-8"
LC_TIME="ja_JP.UTF-8"
LC_ALL=
</pre>
<p><span style="color: #cc0000;">%</span>&nbsp;LC_ALL=ja_JP.UTF-8 mosh remote-IP<br />yep!</p>
<p>ん？こっちは駄目だ…</p>
<pre>Darwin bar.local 10.8.0 Darwin Kernel Version 10.8.0: Tue Jun  7 16:33:36 PDT 2011; root:xnu-1504.15.3~1/RELEASE_I386 i386</pre>
<p><span style="color: #cc0000;">%</span>&nbsp;locale</p>
<pre>LANG="ja_JP.UTF-8"
LC_COLLATE="ja_JP.UTF-8"
LC_CTYPE="UTF-8"
LC_MESSAGES="ja_JP.UTF-8"
LC_MONETARY="ja_JP.UTF-8"
LC_NUMERIC="ja_JP.UTF-8"
LC_TIME="ja_JP.UTF-8"
LC_ALL=
</pre>
<p><span style="color: #cc0000;">%</span>&nbsp;LC_ALL=ja_JP.UTF-8 mosh remote-IP</p>
<pre>mosh requires a UTF-8 locale.
Connection to remote-IP closed.
/opt/local/bin/mosh: Did not find mosh server startup message.
</pre>
<p>sigh&#8230;</p>
<pre><span style="color: #cc0000;">つ</span>&nbsp;CentOS release 6.2 (Final)</pre>
<p><span style="color: #cc0000;">%</span>&nbsp;locale</p>
<pre>LANG=ja_JP.UTF-8
LC_CTYPE="ja_JP.UTF-8"
LC_NUMERIC="ja_JP.UTF-8"
LC_TIME="ja_JP.UTF-8"
LC_COLLATE="ja_JP.UTF-8"
LC_MONETARY="ja_JP.UTF-8"
LC_MESSAGES="ja_JP.UTF-8"
LC_PAPER="ja_JP.UTF-8"
LC_NAME="ja_JP.UTF-8"
LC_ADDRESS="ja_JP.UTF-8"
LC_TELEPHONE="ja_JP.UTF-8"
LC_MEASUREMENT="ja_JP.UTF-8"
LC_IDENTIFICATION="ja_JP.UTF-8"
LC_ALL=
</pre>
<p>こっちは無問題なんだが…</p>
<img class="colorbox-1203"  src="http://h1de0ut.com/wp-trunk/?ak_action=api_record_view&id=1203&type=feed" alt="" />
]]></content:encoded>
			<wfw:commentRss>http://h1de0ut.com/bl0g/article/2012/04/12/mosh-on-os-x/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mosh</title>
		<link>http://h1de0ut.com/bl0g/article/2012/04/11/mosh/</link>
		<comments>http://h1de0ut.com/bl0g/article/2012/04/11/mosh/#comments</comments>
		<pubDate>Wed, 11 Apr 2012 06:30:33 +0000</pubDate>
		<dc:creator>なかの人</dc:creator>
				<category><![CDATA[CentOS]]></category>
		<category><![CDATA[mosh]]></category>

		<guid isPermaLink="false">http://h1de0ut.com/bl0g/?p=1200</guid>
		<description><![CDATA[どっちかと言えばこっちだったかも… Mosh is a replacement for SSH. It&#8217;s more robust and responsive, especially over Wi-Fi,...  <a href="http://h1de0ut.com/bl0g/article/2012/04/11/mosh/" class="more-link" title="Read Mosh">Read more &#187;</a>]]></description>
			<content:encoded><![CDATA[<p><del>どっちかと言えばこっちだったかも…</del></p>
<blockquote cite="http://mosh.mit.edu/" title="Mosh: the mobile shell">
<p>Mosh is a replacement for SSH. It&#8217;s more robust and responsive, especially over Wi-Fi, cellular, and long-distance links.</p>
</blockquote>
<p>[<cite><a href="http://mosh.mit.edu/">Mosh: the mobile shell</a></cite>]</p>
<p>って事でCentOS 6.2ではすんなりビルド出来たけどCentOS 5.8では嵌ったメモ。</p>
<pre class="CodeRay"><code>configure: error: Unable to find byte swapping functions</code></pre>
<blockquote cite="https://github.com/keithw/mosh/issues/107" title="Issue #107: Missing byte swapping functions ・ keithw/mosh ・ GitHub">
<p>Missing byte swapping functions</p>
</blockquote>
<p>[<cite><a href="https://github.com/keithw/mosh/issues/107">Issue #107: Missing byte swapping functions ・ keithw/mosh ・ GitHub</a></cite>]</p>
<p>踏まえてmakeしたら…</p>
<pre><code>terminaldisplay.cc:19:35: error: boost/typeof/typeof.hpp: No such file or directory
terminaldisplay.cc: In member function 'std::string Terminal::Display::new_frame(bool, const Terminal::Framebuffer&#038;, const Terminal::Framebuffer&#038;) const':
terminaldisplay.cc:51: error: 'i' was not declared in this scope
terminaldisplay.cc:51: error: 'BOOST_AUTO' was not declared in this scope
make[3]: *** [terminaldisplay.o] Error 1
</code></pre>
<p>EPELから入れたboostは</p>
<pre>boost        x86_64  1.33.1-15.el5
boost-devel  x86_64  1.33.1-15.el5</pre>
<p>なんだけど、この際<a href="http://www.boost.org/" title="Boost C++ Libraries">本家</a>からダウンロードして作る。<br /><span style="color: #cc0000;">boost_1_49_0%</span>&nbsp;./bootsrap.sh</p>
<pre class="CodeRay"><code>Building Boost.Build engine with toolset gcc... tools/build/v2/engine/bin.linuxx86_64/b2
Detecting Python version... 2.4
Detecting Python root... /usr
Unicode/ICU support for Boost.Regex?... not found.
Backing up existing Boost.Build configuration in project-config.jam.1
Generating Boost.Build configuration in project-config.jam...

Bootstrapping is done. To build, run:

    ./b2
</code></pre>
<p><span style="color: #cc0000;">boost_1_49_0%</span>&nbsp;./b2</p>
<pre><code>The Boost C++ Libraries were successfully built!

The following directory should be added to compiler include paths:

    /home/foo/src/boost_1_49_0

The following directory should be added to linker library paths:

    /home/foo/src/boost_1_49_0/stage/lib
</code></pre>
<p><span style="color: #cc0000;">mosh%</span>&nbsp;BOOST_ROOT=/home/foo/src/boost_1_49_0 ./configure<br /><span style="color: #cc0000;">mosh%</span>&nbsp;make<br /><span style="color: #cc0000;">mosh%</span>&nbsp;sudo make install<br /><span style="color: #cc0000;">mosh%</span>&nbsp;mosh-server</p>
<pre class="CodeRay"><code>MOSH CONNECT 60001 wFOOBbXW/adNneBhhwqcSA

mosh-server (mosh 1.1.3)
Copyright 2012 Keith Winstein &lt;mosh-devel@mit.edu>
License GPLv3+: GNU GPL version 3 or later &lt;http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

[mosh-server detached, pid = 26055]
</code></pre>
<p>このVPS、60000-61000のudpなんて開けられないので…iptablesを書き換えたら<br /><span style="color: #cc0000;">5.8%</span>&nbsp;mosh-server new -p 10000<br />クライアント側で<br /><span style="color: #cc0000;">6.2%</span>&nbsp;MOSH_KEY=5fr8k8ulRYdosEqlFpvoHg mosh-client IP 10000<br />おぉ繋がった。</p>
<img class="colorbox-1200"  src="http://h1de0ut.com/wp-trunk/?ak_action=api_record_view&id=1200&type=feed" alt="" />
]]></content:encoded>
			<wfw:commentRss>http://h1de0ut.com/bl0g/article/2012/04/11/mosh/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WPBS</title>
		<link>http://h1de0ut.com/bl0g/article/2012/04/05/wpbs/</link>
		<comments>http://h1de0ut.com/bl0g/article/2012/04/05/wpbs/#comments</comments>
		<pubDate>Thu, 05 Apr 2012 11:00:37 +0000</pubDate>
		<dc:creator>なかの人</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[bootstrap]]></category>
		<category><![CDATA[bootswatch.com]]></category>
		<category><![CDATA[css3]]></category>
		<category><![CDATA[html5]]></category>

		<guid isPermaLink="false">http://h1de0ut.com/bl0g/?p=1191</guid>
		<description><![CDATA[We&#8217;ve built the WordPress Bootstrap theme so that it could be used as-is or as a starting point for them...  <a href="http://h1de0ut.com/bl0g/article/2012/04/05/wpbs/" class="more-link" title="Read WPBS">Read more &#187;</a>]]></description>
			<content:encoded><![CDATA[<blockquote cite="http://320press.com/wpbs/" title="Wordpress Bootstrap - A WordPress theme based on Twitter Bootstrap">
<p>We&#8217;ve built the WordPress Bootstrap theme so that it could be used as-is or as a starting point for theme developers.</p>
</blockquote>
<p>[<cite><a href="http://320press.com/wpbs/">WordPress Bootstrap - A WordPress theme based on Twitter Bootstrap</a></cite>]</p>
<p>選んでるのは、<a href="http://bootswatch.com/slate/" title="Bootswatch: Slate">Shades of gunmetal gray.</a>。</p>
<blockquote cite="http://bootswatch.com/" title="Bootswatch: Free themes for Twitter Bootstrap">
<p>Saving the web from default Bootstrap</p>
</blockquote>
<p>[<cite><a href="http://bootswatch.com/">Bootswatch: Free themes for Twitter Bootstrap</a></cite>]</p>
<img class="colorbox-1191"  src="http://h1de0ut.com/wp-trunk/?ak_action=api_record_view&id=1191&type=feed" alt="" />
]]></content:encoded>
			<wfw:commentRss>http://h1de0ut.com/bl0g/article/2012/04/05/wpbs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Emacs 24 with Ricty on CentOS 6.2</title>
		<link>http://h1de0ut.com/bl0g/article/2012/03/01/emacs24-ricty-centos6/</link>
		<comments>http://h1de0ut.com/bl0g/article/2012/03/01/emacs24-ricty-centos6/#comments</comments>
		<pubDate>Wed, 29 Feb 2012 16:45:54 +0000</pubDate>
		<dc:creator>なかの人</dc:creator>
				<category><![CDATA[CentOS]]></category>
		<category><![CDATA[emacs]]></category>
		<category><![CDATA[HELLO]]></category>
		<category><![CDATA[Ricty]]></category>

		<guid isPermaLink="false">http://h1de0ut.com/bl0g/?p=1167</guid>
		<description><![CDATA[CentOSを触るついでにemacsの先端にプログラミング用フォントのRictyを作って入れたメモ。 src% uname -a Linux localhost.localdomain 2.6.32-220.4.2.el...  <a href="http://h1de0ut.com/bl0g/article/2012/03/01/emacs24-ricty-centos6/" class="more-link" title="Read Emacs 24 with Ricty on CentOS 6.2">Read more &#187;</a>]]></description>
			<content:encoded><![CDATA[<p>CentOSを触るついでに<a href="http://savannah.gnu.org/git/?group=emacs" title="emacs - Git Repositories [Savannah]">emacs</a>の先端にプログラミング用フォントの<a href="http://save.sys.t.u-tokyo.ac.jp/~yusa/fonts/ricty.html" title="プログラミング用フォント Ricty">Ricty</a>を作って入れたメモ。</p>
<pre><span style="color: #cc0000;">src% </span><strong>uname -a</strong>
Linux localhost.localdomain 2.6.32-220.4.2.el6.x86_64 #1 SMP Tue Feb 14 04:00:16 GMT 2012 x86_64 x86_64 x86_64 GNU/Linux
<span style="color: #cc0000;">src% </span><strong>cat /etc/redhat-release</strong>
CentOS release 6.2 (Final)
</pre>
<p>先ずはemacs作る。</p>
<pre><span style="color: #cc0000;">src% </span><strong>git clone git://git.savannah.gnu.org/emacs.git</strong>
<span style="color: #cc0000;">src/emacs% </span><strong>./autogen.sh</strong>
Checking whether you have the necessary tools...
(Read INSTALL.BZR for more details on building Emacs)

Checking for autoconf (need at least version 2.65)...
too old
Checking for automake (need at least version 1.11)...
ok

Building Emacs from Bzr requires the following specialized programs:
autoconf (minimum version 2.65)
automake (minimum version 1.11)

Your system seems to be missing the following tool(s):
autoconf (too old)
&lt;snip></pre>
<p>パッケージが見つからないので、安易(<strong>/usr/local/</strong>配下)に、作る。</p>
<pre><span style="color: #cc0000;">src% </span><strong>wget ftp://ftp.gnu.org/gnu/autoconf/autoconf-2.68.tar.bz2</strong>
<span style="color: #cc0000;">src/autoconf-2.68% </span><strong>./configure; make; sudo make install</strong>
<span style="color: #cc0000;">src/emacs% </span><strong>./autogen.sh</strong>
Checking whether you have the necessary tools...
(Read INSTALL.BZR for more details on building Emacs)

Checking for autoconf (need at least version 2.65)...
ok
Checking for automake (need at least version 1.11)...
ok
Your system has the required tools, running autoreconf...
configure.in:638: installing `build-aux/compile'
configure.in:382: installing `build-aux/config.guess'
configure.in:382: installing `build-aux/config.sub'
configure.in:29: installing `build-aux/install-sh'
configure.in:29: installing `build-aux/missing'
lib/Makefile.am: installing `build-aux/depcomp'
You can now run `./configure'.

<span style="color: #cc0000;">src/emacs% </span><strong>./configure</strong>
&lt;snip>
checking for makeinfo... no
configure: error: You do not seem to have makeinfo >= 4.6, and your
source tree does not seem to have pre-built manuals in the `info' directory.
Either install a suitable version of makeinfo, or re-run configure
with the `--without-makeinfo' option to build without the manuals.

<span style="color: #cc0000;">src/emacs% </span><strong>sudo yum install texinfo</strong>
&lt;snip>
Installed:
  texinfo.x86_64 0:4.13a-8.el6

<span style="color: #cc0000;">src/emacs% </span><strong>./configure</strong>
&lt;snip>
configure: error: The following required libraries were not found:
    libXpm libgif/libungif libtiff
Maybe some development libraries/packages are missing?
If you don't want to link with them give
    --with-xpm=no --with-gif=no --with-tiff=no
as options to configure

<span style="color: #cc0000;">src/emacs% </span><strong>sudo yum install libXpm-devel giflib-devel libtiff-devel</strong>
<span style="color: #cc0000;">src/emacs% </span><strong>./configure</strong>
&lt;snip>
Configured for `x86_64-unknown-linux-gnu'.

  Where should the build process find the source code?    /home/foo/src/emacs
  What operating system and machine description files should Emacs use?
        `s/gnu-linux.h' and `m/amdx86-64.h'
  What compiler should emacs be built with?               gcc -std=gnu99 -g -O2
  Should Emacs use the GNU version of malloc?             yes
      (Using Doug Lea's new malloc from the GNU C Library.)
  Should Emacs use a relocating allocator for buffers?    no
  Should Emacs use mmap(2) for buffer allocation?         no
  What window system should Emacs use?                    x11
  What toolkit should Emacs use?                          GTK
  Where do we find X Windows header files?                Standard dirs
  Where do we find X Windows libraries?                   Standard dirs
  Does Emacs use -lXaw3d?                                 no
  Does Emacs use -lXpm?                                   yes
  Does Emacs use -ljpeg?                                  yes
  Does Emacs use -ltiff?                                  yes
  Does Emacs use a gif library?                           yes -lgif
  Does Emacs use -lpng?                                   yes
  Does Emacs use -lrsvg-2?                                yes
  Does Emacs use imagemagick?                             no
  Does Emacs use -lgpm?                                   no
  Does Emacs use -ldbus?                                  yes
  Does Emacs use -lgconf?                                 yes
  Does Emacs use GSettings?                               no
  Does Emacs use -lselinux?                               yes
  Does Emacs use -lgnutls?                                yes
  Does Emacs use -lxml2?                                  yes
  Does Emacs use -lfreetype?                              yes
  Does Emacs use -lm17n-flt?                              no
  Does Emacs use -lotf?                                   no
  Does Emacs use -lxft?                                   yes
  Does Emacs use toolkit scroll bars?                     yes

<span style="color: #cc0000;">src/emacs% </span><strong>sudo yum install libotf-devel</strong>
<span style="color: #cc0000;">src/emacs% </span><strong>./configure</strong>
&lt;snip>

  Does Emacs use -lfreetype?                              yes
  Does Emacs use -lm17n-flt?                              no
  Does Emacs use -lotf?                                   yes
  Does Emacs use -lxft?                                   yes

<span style="color: #cc0000;">src/emacs% </span><strong>make bootstrap; sudo make install</strong></pre>
<p>Ricty作る。<br />
<a href="http://levien.com/type/myfonts/inconsolata.html" title="Inconsolata">Inconsolata</a>と<a href="http://mix-mplus-ipa.sourceforge.jp/" title="M+とIPAの合成フォント">Migu 1M</a>をそれぞれ公式サイトから有難く頂いたら、<a href="http://save.sys.t.u-tokyo.ac.jp/~yusa/fonts/ricty.html" title="プログラミング用フォント Ricty">生成スクリプト</a>も有難く頂戴する。<br />fontforgeをインストールしたら準備完了。</p>
<pre><span style="color: #cc0000;">src% </span><span style="color: #f0f0f0;">wget http://levien.com/type/myfonts/Inconsolata.otf</span>
<span style="color: #cc0000;">src% </span><span style="color: #f0f0f0;">wget "http://sourceforge.jp/frs/redir.php?m=jaist&#038;f=%2Fmix-mplus-ipa%2F53389%2Fmigu-1m-20111002.zip"</span>
<span style="color: #cc0000;">src% </span><strong>git clone git://github.com/yascentur/Ricty.git</strong>
</pre>
<pre><span style="color: #cc0000;">src% </span><strong>sudo yum install fontforge</strong>
<span style="color: #cc0000;">src/Ricty% </span><strong>./ricty_generator.sh -v ../Inconsolata.otf ../migu-1m-20111002/migu-1m-regular.ttf ../migu-1m-20111002/migu-1m-bold.ttf</strong>
Ricty Generator 3.2.0b

Author: Yasunori Yusa &lt;lastname at save dot sys.t.u-tokyo.ac.jp>

This script is for generating ``Ricty'' font from Inconsolata and Migu 1M.
It requires 2-5 minutes to generate Ricty. Owing to SIL Open Font License
Version 1.1 section 5, it is PROHIBITED to distribute the generated font.

Option: Enable verbose mode
Copyright (c) 2000-2009 by George Williams.
 Executable based on sources from 22:35 GMT 22-Jun-2009.
 Library based on sources from 22:35 GMT 22-Jun-2009.
Generate modified Inconsolata.
Find ../Inconsolata.otf.
In Inconsolata, the advance width (65528) for glyph NameMe.154 is greater than the maximum (500)
  Subsequent errors will not be reported.
In Inconsolata, in glyph NameMe.154, 'CFF ' advance width (-8) and
  'hmtx' width (65528) do not match. (Subsequent mismatches will not be reported)
The glyph named visiblespace is mapped to U+2423.
  But its name indicates it should be mapped to U+2420.
Save Modified-Inconsolata-Regular.sfd.
While making Inconsolata bold, wait a moment...
ストロークが太すぎるので, dollarに含まれる生成されたパスが自分自身と交差している可能性があります
Save Modified-Inconsolata-Bold.sfd.
Copyright (c) 2000-2009 by George Williams.
 Executable based on sources from 22:35 GMT 22-Jun-2009.
 Library based on sources from 22:35 GMT 22-Jun-2009.
Generate modified Migu 1M.
Find ../migu-1m-20111002/migu-1m-regular.ttf.
While scaling migu-1m-regular.ttf, wait a little...
Save Modified-migu-1m-regular.sfd.
Find ../migu-1m-20111002/migu-1m-bold.ttf.
While scaling migu-1m-bold.ttf, wait a little...
Internal Error in uni5A49: monotonic is both needed and unneeded.
Internal Error in uni5A49: Humph. This monotonic leads nowhere.
Internal Error in uni5A49: couldn't find a needed exit from an intersection
Internal Error in uni5C28: monotonic is both needed and unneeded.
Internal Error in uni5C28: monotonic is both needed and unneeded.
Save Modified-migu-1m-bold.sfd.
Copyright (c) 2000-2009 by George Williams.
 Executable based on sources from 22:35 GMT 22-Jun-2009.
 Library based on sources from 22:35 GMT 22-Jun-2009.
Generate Ricty.
While merging Modified-Inconsolata-Regular.sfd with Modified-migu-1m-regular.sfd, wait a little more...
Save Ricty-Regular.ttf.
While merging Modified-Inconsolata-Bold.sfd with Modified-migu-1m-bold.sfd, wait a little more...
Internal Error in uni32BF: monotonic is both needed and unneeded.
Internal Error in uni32BF: monotonic is both needed and unneeded.
Internal Error in uni7DFB: monotonic is both needed and unneeded.
Internal Error in uni7DFB: monotonic is both needed and unneeded.
Internal Error in uni7DFB: monotonic is both needed and unneeded.
Internal Error in uni7DFB: monotonic is both needed and unneeded.
Internal Error in uni7DFB: monotonic is both needed and unneeded.
Internal Error in uni7DFB: monotonic is both needed and unneeded.
Save Ricty-Bold.ttf.
Remove temporary files.
Copyright (c) 2000-2009 by George Williams.
 Executable based on sources from 22:35 GMT 22-Jun-2009.
 Library based on sources from 22:35 GMT 22-Jun-2009.
Generate RictyDiscord-Regular.ttf.
Generate RictyDiscord-Bold.ttf.
Succeeded to generate Ricty!
</pre>
<p>このフォントどうやったら使えるのか（正しい使い方）知らないので、取り敢えず<strong>/usr/share/fonts/</strong>に<em>ricty</em>って掘って入れてfc-listしたら、出てくるし…</p>
<pre><span style="color: #cc0000;">% </span><strong>fc-list | grep Ricty</strong>
<span style="color: #ff2f1c; font-weight: bold;">Ricty</span> Discord:style=Regular
<span style="color: #ff2f1c; font-weight: bold;">Ricty</span>:style=Bold
<span style="color: #ff2f1c; font-weight: bold;">Ricty</span> Discord:style=Bold
<span style="color: #ff2f1c; font-weight: bold;">Ricty</span>:style=Regular</pre>
<p>すげー。<br />じゃ、試す。</p>
<pre class="syntax lisp">(set-face-attribute 'default nil
		:family &quot;Ricty&quot;
		:height 110)
(set-fontset-font
		(frame-parameter nil 'font)
		'japanese-jisx0208
		'(&quot;Ricty&quot; . &quot;iso10646-1&quot;))</pre>
<a href="http://h1de0ut.com/wp-trunk/wp-content/uploads/2012/03/Ricty.png"><img src="http://h1de0ut.com/wp-trunk/wp-content/uploads/2012/03/Ricty-800x478.png" alt="" title="Ricty" width="620" height="370" class="alignleft size-large wp-image-1177 colorbox-1167" /></a>
<p>thanks and kudos goes to whom may it concern.</p>
<img class="colorbox-1167"  src="http://h1de0ut.com/wp-trunk/?ak_action=api_record_view&id=1167&type=feed" alt="" />
]]></content:encoded>
			<wfw:commentRss>http://h1de0ut.com/bl0g/article/2012/03/01/emacs24-ricty-centos6/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>removed rss widget.</title>
		<link>http://h1de0ut.com/bl0g/article/2012/02/06/removed-rss-widget/</link>
		<comments>http://h1de0ut.com/bl0g/article/2012/02/06/removed-rss-widget/#comments</comments>
		<pubDate>Mon, 06 Feb 2012 11:30:35 +0000</pubDate>
		<dc:creator>なかの人</dc:creator>
				<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://h1de0ut.com/bl0g/?p=1163</guid>
		<description><![CDATA[argh]]></description>
			<content:encoded><![CDATA[<p>argh</p>
<img class="colorbox-1163"  src="http://h1de0ut.com/wp-trunk/?ak_action=api_record_view&id=1163&type=feed" alt="" />
]]></content:encoded>
			<wfw:commentRss>http://h1de0ut.com/bl0g/article/2012/02/06/removed-rss-widget/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>emacs24 on Lion</title>
		<link>http://h1de0ut.com/bl0g/article/2011/08/16/emacs24-on-lion/</link>
		<comments>http://h1de0ut.com/bl0g/article/2011/08/16/emacs24-on-lion/#comments</comments>
		<pubDate>Tue, 16 Aug 2011 04:00:26 +0000</pubDate>
		<dc:creator>なかの人</dc:creator>
				<category><![CDATA[OS X]]></category>
		<category><![CDATA[emacs]]></category>
		<category><![CDATA[full screen]]></category>
		<category><![CDATA[HELLO]]></category>
		<category><![CDATA[lion]]></category>
		<category><![CDATA[maximizer]]></category>

		<guid isPermaLink="false">http://h1de0ut.com/bl0g/?p=1143</guid>
		<description><![CDATA[遅ればせながらLion。 feature-fullscreen.patch版フルスクリーン Maximizer版フルスクリーン Darwin Kernel Version 11.0.0: Sat Jun 18 12:56...  <a href="http://h1de0ut.com/bl0g/article/2011/08/16/emacs24-on-lion/" class="more-link" title="Read emacs24 on Lion">Read more &#187;</a>]]></description>
			<content:encoded><![CDATA[<p>遅ればせながらLion。</p>
<p><a href="http://h1de0ut.com/wp-trunk/wp-content/uploads/2011/08/fullscreen_patch.jpg"><img class="alignleft size-large wp-image-1147 colorbox-1143" title="fullscreen_patch" src="http://h1de0ut.com/wp-trunk/wp-content/uploads/2011/08/fullscreen_patch-800x500.jpg" alt="" width="620" height="387" /></a><br /><a href="http://cloud.github.com/downloads/hh/emacs/feature-fullscreen.patch">feature-fullscreen.patch</a>版フルスクリーン</p>
<p><a href="http://h1de0ut.com/wp-trunk/wp-content/uploads/2011/08/maximizer.png"><img class="alignleft size-large wp-image-1148 colorbox-1143" title="maximizer" src="http://h1de0ut.com/wp-trunk/wp-content/uploads/2011/08/maximizer-800x500.png" alt="" width="620" height="387" /></a><br /><a title="Maximizer" href="http://chpwn.com/apps/maximizer.html">Maximizer</a>版フルスクリーン</p>
<pre>Darwin Kernel Version 11.0.0: Sat Jun 18 12:56:35 PDT 2011; root:xnu-1699.22.73~1/RELEASE_X86_64 x86_64</pre>
<pre>% <strong>git clone git://git.savannah.gnu.org/emacs.git</strong></pre>
<p><code>commit 0653a84f2715f01b1e741a30817bf0e9fb5984eb</code></p>
<pre>emacs% <strong>patch -p1 &lt; ../feature-fullscreen.patch</strong>
patching file lisp/term/ns-win.el
Hunk #1 succeeded at 929 with fuzz 1 (offset -334 lines).
patching file src/nsfns.m
Hunk #1 succeeded at 2619 (offset 30 lines).
Hunk #2 succeeded at 2732 (offset 28 lines).
patching file src/nsterm.h
Hunk #1 succeeded at 116 (offset 21 lines).
patching file src/nsterm.m
Hunk #1 succeeded at 795 (offset 109 lines).
Hunk #2 succeeded at 1267 (offset 129 lines).
Hunk #3 succeeded at 1323 (offset 113 lines).
Hunk #4 succeeded at 6039 with fuzz 2 (offset 417 lines).
patch unexpectedly ends in middle of line
Hunk #5 succeeded at 6147 (offset 414 lines).
</pre>
<pre>emacs% <strong>./autogen.sh</strong>
Checking whether you have the necessary tools...
(Read INSTALL.BZR for more details on building Emacs)

Checking for autoconf (need at least version 2.65)...
ok
Checking for automake (need at least version 1.11)...
ok
Your system has the required tools, running autoreconf...
configure.in:646: installing `./compile'
configure.in:378: installing `./config.guess'
configure.in:378: installing `./config.sub'
configure.in:28: installing `./install-sh'
configure.in:28: installing `./missing'
lib/Makefile.am: installing `./depcomp'
You can now run `./configure'.
</pre>
<pre>emacs% <strong>./configure --with-ns</strong>

Configured for `x86_64-apple-darwin11.0.0'.

Where should the build process find the source code? /Users/HOGE/Projects/emacs
What operating system and machine description files should Emacs use?
`s/darwin.h' and `m/amdx86-64.h'
What compiler should emacs be built with? gcc -std=gnu99 -g -O2
Should Emacs use the GNU version of malloc? no
(The GNU allocators don't work with this system configuration.)
Should Emacs use a relocating allocator for buffers? no
Should Emacs use mmap(2) for buffer allocation? no
What window system should Emacs use? nextstep
What toolkit should Emacs use? none
Where do we find X Windows header files? Standard dirs
Where do we find X Windows libraries? /usr/X11/lib
Does Emacs use -lXaw3d? no
Does Emacs use -lXpm? no
Does Emacs use -ljpeg? no
Does Emacs use -ltiff? no
Does Emacs use a gif library? no
Does Emacs use -lpng? no
Does Emacs use -lrsvg-2? no
Does Emacs use imagemagick? no
Does Emacs use -lgpm? no
Does Emacs use -ldbus? no
Does Emacs use -lgconf? no
Does Emacs use GSettings? no
Does Emacs use -lselinux? no
Does Emacs use -lgnutls (2.6.x or higher)? no
Does Emacs use -lxml2? yes
Does Emacs use -lfreetype? no
Does Emacs use -lm17n-flt? no
Does Emacs use -lotf? no
Does Emacs use -lxft? no
Does Emacs use toolkit scroll bars? yes
</pre>
<img class="colorbox-1143"  src="http://h1de0ut.com/wp-trunk/?ak_action=api_record_view&id=1143&type=feed" alt="" />
]]></content:encoded>
			<wfw:commentRss>http://h1de0ut.com/bl0g/article/2011/08/16/emacs24-on-lion/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

