<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>短期記憶容量少ナキ我ガ爲ノ備忘録也</title>
    <link>http://microgroove.jp/shaolin/</link>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2012</copyright>
    <lastBuildDate>Tue, 11 Oct 2011 16:12:00 +0900</lastBuildDate>
    <generator>http://www.sixapart.com/movabletype/</generator>
    <docs>http://www.rssboard.org/rss-specification</docs>
    
      <item>
        <title>Storing VM disk image files on a sparse bundle  </title>
        <description><![CDATA[<p lang="ja">
<a href="http://www.virtualbox.org/" target="_blank">VirtualBox</a> などで使用する、仮想マシン用のディスクイメージ。これを効率的にバックアップするのには少しコツが要ります。既に広く知られているとは思いますが、個人的メモも兼ねて書いておきます。
</p>]]></description>
        <link>http://microgroove.jp/shaolin/2011/10/storing_vm_disk_image_files_on_a_sparse_bundle.html</link>
        <guid>http://microgroove.jp/shaolin/2011/10/storing_vm_disk_image_files_on_a_sparse_bundle.html</guid>
        
          <category domain="http://www.sixapart.com/ns/types#category"></category>
        
          <category domain="http://www.sixapart.com/ns/types#category"></category>
        
          <category domain="http://www.sixapart.com/ns/types#category"></category>
        
        
          <category domain="http://www.sixapart.com/ns/types#tag">Mac</category>
        
          <category domain="http://www.sixapart.com/ns/types#tag">OSX</category>
        
          <category domain="http://www.sixapart.com/ns/types#tag">Sparce Bundle</category>
        
          <category domain="http://www.sixapart.com/ns/types#tag">VirtualBox</category>
        
        <pubDate>Tue, 11 Oct 2011 16:12:00 +0900</pubDate>
      </item>
    
      <item>
        <title>Apple Products I Ever Bought  </title>
        <description><![CDATA[<p lang="ja">
今までに買ってきた/所有してきた Apple 製品を思い出してみた。ただなんとなく。
</p>

<p lang="ja">
故 Jobs 氏への強い思い入れは不思議とほとんどなかったのかな、
と改めて思いました。
むしろ Bill Atkinson さん、故 Jeff Raskin さん、
Andy Hertzfeld さん、Joanna Hoffman さん、といった、
エンジニアな方々への興味の方が強かったのかな、と。
</p>
]]></description>
        <link>http://microgroove.jp/shaolin/2011/10/apple_products_i_ever_bought.html</link>
        <guid>http://microgroove.jp/shaolin/2011/10/apple_products_i_ever_bought.html</guid>
        
          <category domain="http://www.sixapart.com/ns/types#category"></category>
        
          <category domain="http://www.sixapart.com/ns/types#category"></category>
        
          <category domain="http://www.sixapart.com/ns/types#category"></category>
        
        
          <category domain="http://www.sixapart.com/ns/types#tag">Apple</category>
        
          <category domain="http://www.sixapart.com/ns/types#tag">iPhone</category>
        
          <category domain="http://www.sixapart.com/ns/types#tag">MacBook</category>
        
          <category domain="http://www.sixapart.com/ns/types#tag">Macintosh</category>
        
          <category domain="http://www.sixapart.com/ns/types#tag">Power Mac</category>
        
          <category domain="http://www.sixapart.com/ns/types#tag">PowerBook</category>
        
          <category domain="http://www.sixapart.com/ns/types#tag">Vine Linux</category>
        
        <pubDate>Fri, 07 Oct 2011 11:15:00 +0900</pubDate>
      </item>
    
      <item>
        <title>Installing Vine Linux on MacBook Air (Middle 2011)  </title>
        <description><![CDATA[<p lang="ja" style="font-style: italic;">
要約:
<br />
日常的に Vine マシンとして使っている MacBook Early 2008 の後釜として、MacBook Air Middle 2011 を購入。現時点で Vine が MBA 上でどの程度動くか動かないか、とりあえず現状を確認しました。で、安定するまで当分は OS X 上の VirtualBox に Vine 環境を移そうか、と考えています。
</p>

<br />
<hr width="80%" />
<br />

<p lang="en">
Bought a <strong>MacBook Air (Middle 2011)</strong>
 - 11inch, US Keyboard, 4GB Memory, 128GB SSD and Core i7 -
to replace my MacBook (Early 2008) that has served me very hard
as a Vine Linux development environment as a daily basis for a few years.
</p>

<br />

<div style="text-align: center;" lang="en">
<a href="http://instagr.am/p/J74AO/" target="_blank"><img class="link" alt="[MacBook Air Mid 2011 11-inch]" width="306" height="306" src="http://distillery.s3.amazonaws.com/media/2011/08/11/b3198d2f6ccf42099dafe7cf4644aa56_6.jpg" /></a>
</div>

<br />

<p lang="en">
To be honest,
I always have used my whity MacBook with Vine - Mac OS X is always there
on the harddrive in a separated partition, but I seldom booted it up on my
MacBook - maybe once or twice a year? Another OSX machine at home,
an old PowerMac G4 MDD, is still there and serving me as a daily basis as well,
to store my huge digital music contents (almost all in lossless format) on iTunes
(still hundreds of CDs left to get ripped though), 
and as a scanning machine (connected to the old SCSI A3 flatbed scanner).
</p>

<p lang="en">
The first thing I did on my new toy was to play around the new OS for a while
that amazed me a bit. This was the first time for me to play with the 
multi-touch trackpad and gestures. I felt Gestures and "Mission Control" are
really great for portable computers with small screens like this MBA 11inch.
</p>

<p lang="en">
And the next thing I gonna do was, of course, to figure out how well
this brand new machine is supported on Linux - I know there are so much
to get done on the Linux kernel, the X thing, and some userland utilities,
to run Linux on the MBA 2011 flawlessly, but I just thought it was worth
checking out and playing around.
</p>

<br />

<div style="text-align: center;" lang="en">
<img class="link" alt="[MacBook Air Mid 2011 11-inch vs MacBook Early 2008]" width="450" height="300" src="http://microgroove.jp/shaolin/img/MBA2011_vs_MB2008.jpg" />
</div>

<br />]]></description>
        <link>http://microgroove.jp/shaolin/2011/08/installing_vine_linux_on_macbook_air_middle_2011.html</link>
        <guid>http://microgroove.jp/shaolin/2011/08/installing_vine_linux_on_macbook_air_middle_2011.html</guid>
        
          <category domain="http://www.sixapart.com/ns/types#category"></category>
        
          <category domain="http://www.sixapart.com/ns/types#category"></category>
        
          <category domain="http://www.sixapart.com/ns/types#category"></category>
        
        
          <category domain="http://www.sixapart.com/ns/types#tag">MacBook</category>
        
          <category domain="http://www.sixapart.com/ns/types#tag">MacBook Air</category>
        
          <category domain="http://www.sixapart.com/ns/types#tag">Middle 2011</category>
        
          <category domain="http://www.sixapart.com/ns/types#tag">Vine Linux</category>
        
          <category domain="http://www.sixapart.com/ns/types#tag">VirtualBox</category>
        
        <pubDate>Tue, 16 Aug 2011 15:36:30 +0900</pubDate>
      </item>
    
      <item>
        <title>kernel panic on shutdown w/ vboxdrv  </title>
        <description><![CDATA[<p lang="en">
On my environment (VineSeed/Vine Linux 6 on MacBook Early 2008), the system always crashes with a kernel panic when trying to shut the system down like this:
</p>

<blockquote lang="en" style="overflow: auto">
<pre>
panic occurred, switching back to text console
BUG: scheduling while atomic: swapper/0/0x10010000
Modules linked in: sit tunnel4 rfcomm sco bnep l2cap vboxnetadp vboxnetflt vboxdrv autofs4 sunrpc
ipv6 acpi_cpufreq freq_table mperf dm_mirror dm_region_hash dm_log dm_mod uinput snd_hda_codec_realtek
snd_hda_intel lib80211_crypt_tkip snd_hda_codec wl(P) snd_hwdep uvcvideo btusb snd_seq_dummy
snd_seq_oss snd_seq_midi_event snd_seq videodev bluetooth ohci1394 v4l1_compat snd_seq_device
applesmc snd_pcm_oss snd_pcm hwmon rfkill lib80211 ieee1394 led_class snd_timer snd firewire_ohci
soundcore firewire_core i2c_i801 snd_page_alloc sky2 input_polldev mbp_nvidia_bl pcspkr crc_itu_t
joydev iTCO_wdt iTCO_vendor_support appletouch processor battery thermal ac ata_generic pata_acpi
uhci_hcd ohci_hcd ehci_hcd i915 dkms_kms_helper drm i2c_algo_bit button i2c_core video output
[last unloaded: cpufreq_ondemand]
Pid: 0, comm: swapper Tainted: P       D     2.6.35-20vl6 #1
Call Trace:
[&lt;c102d3a6&gt;] __schedule_bug+0x1/0x56
[&lt;c1359495&gt;] schedule+0x83/0x4b9
[&lt;f7d7b78e&gt;] ? drm_crtc_helper_set_config+0x84/0x65b [drm_kms_helper]
[&lt;c135999d&gt;] _cond_resched+0x2e/0x47
[&lt;c10c8b80&gt;] __kmalloc+0xa8/0x145
[&lt;f7d7b78e&gt;] drm_crtc_helper_set_config+0x94/0x65b [drm_kms_helper]
[&lt;c1005e37&gt;] ?show_trace_log_lvl+0x39/0x43
[&lt;f7d7aae8&gt;] drm_fb_helper_force_kernel_mode+0x2b/0x5b [drm_kms_helper]
[&lt;f7d7ab62&gt;] drm_fb_helper_panic+0x17/0x1d [drm_kms_helper]
[&lt;c104b6c3&gt;] notifier_call_chain+0x14/0x16
[&lt;c1359289&gt;] atomic_notifier_call_chain+0x14/0x16
[&lt;c1359289&gt;] panic+0x73/0xbc
[&lt;c1005c17&gt;] oops_end+0x7a/0x88
[&lt;c102088f&gt;] no_context+0x115/0x11f
[&lt;c102098a&gt;] __bad_area_nosemaphore+0xf1/0xf9
[&lt;c1020af0&gt;] ? do_page_fault+0x0/0x2eb
[&lt;c10209a4&gt;] bad_area_nosemaphore+0x12/0x15
[&lt;c1020c32&gt;] d0_page_fault+0x142/0x2eb
[&lt;c10080fd&gt;] ?sched_clock+0x9/0xd
[&lt;c104bfb3&gt;] ?sched_clock_local+0x17/0x11e
[&lt;c1020af0&gt;] ?do_page_fault_0x0/0x2eb
[&lt;c135b9b6&gt;] error_code+0x66/0x6c
[&lt;c104007b&gt;] ? ignore_signals+0x21/0x27
[&lt;c1020af0&gt;] ?do_page_fault+0x0/0x2eb
[&lt;f91a3e0d&gt;] ?rtMpNotificationLinuxOnCurrentCPU+0xa/0x9d [vboxdrv]
[&lt;f91a3a51&gt;] rtmpLinuxWrapper+0x22/0x27 [vboxdrv]
[&lt;c10572e7&gt;] generic_smp_call_function_single_interrupt+0xa0/0xba
[&lt;c1017e29&gt;] smp_call_function_single_interrupt+0xa0/0xba
[&lt;c135b546&gt;] call_function_single_interuupt+0x2a/0x30
[&lt;c104007b&gt;] ? ignore_signals+0x21/0x27
[&lt;f86fa1ea&gt;] ? acpi_idle_enter_bm+0x24d/0x289 [processor]
[&lt;c12b7475&gt;] cpuidle_idle_call+0x73/0xce
[&lt;c10023a3&gt;] cpu_idle+0x4e/0x67
[&lt;c1357280&gt;] start_secondary+0x1a8/0x1ad
</pre>
</blockquote>

<br />

<p lang="en">
I'd been looking for the solution to the issue, and finally I found this was it:
</p>

<ul lang="en">
<li><a href="http://www.virtualbox.org/ticket/9305" target="_blank">Ticket #9305: VBox modules randomly cause kernel panic on computer shutdown -&gt; fixed as of 28-Jul 2011</a>
</ul>

<br />

<p lang="en">
The fix itself was very trivial:
</p>

<blockquote lang="en" style="overflow: auto">
<pre>
--- src/VBox/Runtime/r0drv/linux/mpnotification-r0drv-linux.c	(revision 73209)
+++ src/VBox/Runtime/r0drv/linux/mpnotification-r0drv-linux.c	(revision 73210)
@@ -77,7 +77,7 @@
  * @param pvUser2           The notification event.
  * @remarks This can be invoked in interrupt context.
  */
-static void rtMpNotificationLinuxOnCurrentCpu(RTCPUID idCpu, void *pvUser1, void *pvUser2)
+static DECLCALLBACK(void) rtMpNotificationLinuxOnCurrentCpu(RTCPUID idCpu, void *pvUser1, void *pvUser2)
 {
     unsigned long ulNativeEvent = *(unsigned long *)pvUser2;
     NOREF(pvUser1);
</pre>
</blockquote>

<br />

<p lang="en">
Now the fix has been included on VirtualBox-4.1.0-2vl7 (VineSeed).
</p>

<p lang="en">
Same fix for Vine Linux 6 (more precisely, packages for VinePlus/6) will be uploaded as 4.1.0-2vl6 as well shortly.
</p>]]></description>
        <link>http://microgroove.jp/shaolin/2011/08/kernel_panic_on_shutdown_w_vboxdrv.html</link>
        <guid>http://microgroove.jp/shaolin/2011/08/kernel_panic_on_shutdown_w_vboxdrv.html</guid>
        
          <category domain="http://www.sixapart.com/ns/types#category"></category>
        
          <category domain="http://www.sixapart.com/ns/types#category"></category>
        
        
          <category domain="http://www.sixapart.com/ns/types#tag">Vine Linux</category>
        
          <category domain="http://www.sixapart.com/ns/types#tag">VineSeed</category>
        
          <category domain="http://www.sixapart.com/ns/types#tag">VirtualBox</category>
        
        <pubDate>Tue, 09 Aug 2011 13:26:57 +0900</pubDate>
      </item>
    
      <item>
        <title>Installing Vine Linux 6.0 beta2 on ZOTAC IONITX-P-E  </title>
        <description><![CDATA[<p lang="ja">
自宅のリビングのテレビに接続するメディアサーバ (<a href="http://xbmc.org/" target="_blank">xbmc</a> とか <a href="http://www.videolan.org/" target="_blank">vlc</a> とか) 的な、省電力で安価なマシンが欲しかったので、ION + 定電圧 (CULV) 版 Celeron SU2300 という、変態(?)構成なマザーボード <a href="http://www.zotacusa.com/zotac-ionitx-p-e-intel-celeron-su2300-1-2ghz-dual-core-mini-itx-intel-motherboard.html" target="_blank">ZOTAC IONITX-P-E</a> を購入し、ちょうどベータ版がリリースされている <a href="http://vinelinux.org/" target="_blank">Vine Linux</a> 6.0 をテストがてらインストールしてみました。
</p>

<br />

<div style="text-align: center;">
<a href="http://www.zotacusa.com/zotac-ionitx-p-e-intel-celeron-su2300-1-2ghz-dual-core-mini-itx-intel-motherboard.html" target="_blank"><img alt="[ZOTAC IONITX-P-E]" src="http://microgroove.jp/shaolin/img/ZOTAC-IONITX-P-E.jpg" /></a>
</div>]]></description>
        <link>http://microgroove.jp/shaolin/2011/07/installing_vine_linux_60_beta2_on_zotac_ionitx-p-e.html</link>
        <guid>http://microgroove.jp/shaolin/2011/07/installing_vine_linux_60_beta2_on_zotac_ionitx-p-e.html</guid>
        
          <category domain="http://www.sixapart.com/ns/types#category"></category>
        
          <category domain="http://www.sixapart.com/ns/types#category"></category>
        
        
          <category domain="http://www.sixapart.com/ns/types#tag">ION</category>
        
          <category domain="http://www.sixapart.com/ns/types#tag">IONITX-P-E</category>
        
          <category domain="http://www.sixapart.com/ns/types#tag">Nvidia</category>
        
          <category domain="http://www.sixapart.com/ns/types#tag">Vine Linux</category>
        
          <category domain="http://www.sixapart.com/ns/types#tag">xbmc</category>
        
          <category domain="http://www.sixapart.com/ns/types#tag">XOrg</category>
        
          <category domain="http://www.sixapart.com/ns/types#tag">ZOTAC</category>
        
        <pubDate>Wed, 06 Jul 2011 17:01:00 +0900</pubDate>
      </item>
    
      <item>
        <title>any good sports for my daughter? (1 comment)</title>
        <description><![CDATA[<p lang="en">
Yesterday afternoon we went to the <a href="http://www.bigk.co.jp/" target="_blank">tennis school</a> (where we once lived near and I had regular lesson for several years) with my daughter to see how the kids tennis lesson (&ldquo;Kinder Class&rdquo;) was like.
</p>

<p lang="en">
We just watched the class behind the fence - not the trial lesson for my daughter. Sorry for her - she complained that she wanted to join the class and play with balls and racquets. Very sorry for her. Anyway we watched 80% of the whole lesson - about 40 minutes - until my daughter got bored of standing behind the fence, watching the kids class on the tennis court.
</p>

<p lang="en">
Not bad. We saw two children (two four-years-old boys) in the class on that day, while on the neighbouring court &ldquo;Players' Course&rdquo; (a very serious class for teens who wants to be professional tennis players) was playing very hard. The two kids were having fun at the class, moving and playing with much joy. They didn't look like they got bored.
</p>
]]></description>
        <link>http://microgroove.jp/shaolin/2011/06/any_good_sports_for_my_daughter.html</link>
        <guid>http://microgroove.jp/shaolin/2011/06/any_good_sports_for_my_daughter.html</guid>
        
          <category domain="http://www.sixapart.com/ns/types#category"></category>
        
          <category domain="http://www.sixapart.com/ns/types#category"></category>
        
        
        <pubDate>Tue, 14 Jun 2011 06:00:00 +0900</pubDate>
      </item>
    
      <item>
        <title>Progress bar on the the Plymouth startup screen &quot;Script&quot; theme  </title>
        <description><![CDATA[<p lang="en">
This is the startup screenshot of the soon-to-come Vine Linux 6.0 - the &ldquo;script&rdquo; theme from the <a href="http://freedesktop.org/software/plymouth/releases" target="_blank">Plymouth</a> graphical boot animation.
</p>

<br />

<div style="text-align: center;">
<img src="http://microgroove.jp/shaolin/img/Plymouth_Script_Startup.jpg" />
</div>

<br />

<p lang="en">
To tell the truth I have been always wondering, why the <strong>progress bar</strong> on the boot-up screen looks like this. The progress bar is placed on the black background - the border is drawn in white colour - so the which is the progress bar itself, black one, or white one?
</p>

<p lang="en">
Seems like the &ldquo;script&rdquo; theme itself adopts black-coloured bar as a progress bar itself. So the following screenshot means that the boot-up process is now about 20% complete:
</p>

<br />

<div style="text-align: center;">
<img src="http://microgroove.jp/shaolin/img/Plymouth_Script_Progressbar.jpg" />
</div>

<br />

<p lang="en">
But don't you think it a bit strange? Sometimes do you see this as &ldquo;the progress bar coming from the right side, now approximately 80% complete&rdquo; or something?
</p>

<p lang="en">
I believe, in this example (black background, progress bar with white border),  the following screenshot should represents &ldquo;approximately 20% complete&rdquo; far better:
</p>

<br />

<div style="text-align: center;">
<img src="http://microgroove.jp/shaolin/img/Plymouth_Script_Progressbar2.jpg" />
</div>

<br />

<p lang="en">
If the latter one is still ambiguous, how about the following example whose border colour and the progress bar colour is bit different? I like this much better IMHO.
</p>

<br />

<div style="text-align: center;">
<img src="http://microgroove.jp/shaolin/img/Plymouth_Script_Progressbar3.jpg" />
</div>

<br />

<p lang="en">
What would you think? Am I the only one who think it different?
</p>

<br />

<p lang="en" style="font-style: italic;">
<strong>P.S.</strong><br />This change can be easily done by editing the following png files:
<p>

<blockquote lang="en">
<pre>/usr/share/plymouth/themes/script/progress_bar.png
/usr/share/plymouth/themes/script/progress_box.png</pre>
</blockquote>

<br />

<p lang="en" style="font-style: italic;">
And don't forget to execute &ldquo;<code>sudo /sbin/new-kernel-pkg --mkinitrd --depmod --install (kernel_version)</code>&rdquo; (<code>kernel_version</code> = <code>2.6.35-18vl6</code> for example)</code> to take effect.
</p>

<br />

<p lang="en" style="font-style: italic;">
<strong>P.S. 2</strong><br />
Soon after this article was published, I noticed other Vine members were talking on the IRC channel about changing the default Plymouth theme from Script to Spinfinity - okay, okay - that's another solution to avoid the Script theme...
</p>

<br />

<p lang="en" style="font-style: italic;">
<strong>P.S. 3</strong><br />
Then here's yet another canditate from <a href="http://dicey.org/blog/" target="_blank">Daisuke</a>-san - looking good. The very best IMHO.
Now we can clearly distinguish the progress bar itself - no confusion here.
</p>

<br />

<div style="text-align: center;">
<img src="http://microgroove.jp/shaolin/img/Plymouth_Script_Progressbar4.jpg" />
</div>]]></description>
        <link>http://microgroove.jp/shaolin/2011/06/progress_bar_on_the_the_plymouth_startup_screen_script_theme.html</link>
        <guid>http://microgroove.jp/shaolin/2011/06/progress_bar_on_the_the_plymouth_startup_screen_script_theme.html</guid>
        
          <category domain="http://www.sixapart.com/ns/types#category"></category>
        
          <category domain="http://www.sixapart.com/ns/types#category"></category>
        
        
          <category domain="http://www.sixapart.com/ns/types#tag">Plymouth</category>
        
          <category domain="http://www.sixapart.com/ns/types#tag">Vine Linux</category>
        
          <category domain="http://www.sixapart.com/ns/types#tag">VineSeed</category>
        
        <pubDate>Thu, 09 Jun 2011 14:08:00 +0900</pubDate>
      </item>
    
      <item>
        <title>digikam vs libjpeg-turbo  </title>
        <description><![CDATA[<p lang="en">
<a href="http://www.digikam.org/" target="_blank">digikam</a> can't compile on the current version of <a href="http://vinelinux.org/vineseed.html" target="_blank">VineSeed</a> (development/unstable version of Vine Linux, and soon-to-be Vine Linux 6.0).
</p>

<p lang="en">
I found the following lines on the <code>CMakeLists.txt</code> in the digikam source code:
</p>

<blockquote lang="en" style="overflow: auto">
<pre># Extract version of libjpeg so that we can use the appropriate dir
# See bug #227313, #228483
FILE(READ "${JPEG_INCLUDE_DIR}/jpeglib.h" jpeglib_h_content)
STRING(REGEX REPLACE ".*#define +JPEG_LIB_VERSION +([0-9]+).*" "\\1" jpeglib_version "${jpeglib_h_content}")
MESSAGE(STATUS "Identified libjpeg version: ${jpeglib_version}")

IF ("${jpeglib_version}" LESS 80)
    SET(DIGIKAM_LIBJPEG_DIR libjpeg-62)
ELSE ("${jpeglib_version}" LESS 80)
    SET(DIGIKAM_LIBJPEG_DIR libjpeg-80)
ENDIF ("${jpeglib_version}" LESS 80)</pre>
</blockquote>

<br />

<p lang="en">
while on the other hand  VineSeed now has <a href="http://libjpeg-turbo.virtualgl.org/" target="_blank">libjpeg-turbo</a> instead of the ancient <a href="http://libjpeg.sourceforge.net/" target="_blank">libjpeg6b</a>.
</p>

<p lang="en">
<code>jpeglib.h</code> from libjpeg-turbo does <strong>NOT</strong> have the line starting from <code>#define JPEG_LIB_VERSION</code>: instead the declaration is in another header file <code>jconfig.h</code> like this:
</p>

<blockquote lang="en" style="overflow: auto">
<pre>#define JPEG_LIB_VERSION 62</pre>
</blockquote>

<br />

<p lang="en">
So the trivial hack (<em>until the upstream fix this tiny issue</em>) is like this:
</p>

<blockquote lang="en" style="overflow: auto">
<pre>
--- digikam-1.9.0/CMakeLists.txt.orig   2011-02-28 05:16:18.000000000 +0900
+++ digikam-1.9.0/CMakeLists.txt        2011-06-08 14:10:15.000000000 +0900
@@ -153,7 +153,9 @@
 
 # Extract version of libjpeg so that we can use the appropriate dir
 # See bug #227313, #228483
-FILE(READ "${JPEG_INCLUDE_DIR}/jpeglib.h" jpeglib_h_content)
+# VINE: better check jconfig.h in place of jpeglib.h on libjpeg-turbo
+# FILE(READ "${JPEG_INCLUDE_DIR}/jpeglib.h" jpeglib_h_content)
+FILE(READ "${JPEG_INCLUDE_DIR}/jconfig.h" jpeglib_h_content)
 STRING(REGEX REPLACE ".*#define +JPEG_LIB_VERSION +([0-9]+).*" "\\1" jpeglib_version "${jpeglib_h_content}")
 MESSAGE(STATUS "Identified libjpeg version: ${jpeglib_version}")
</pre>
</blockquote>]]></description>
        <link>http://microgroove.jp/shaolin/2011/06/digikam_vs_libjpeg-turbo.html</link>
        <guid>http://microgroove.jp/shaolin/2011/06/digikam_vs_libjpeg-turbo.html</guid>
        
          <category domain="http://www.sixapart.com/ns/types#category"></category>
        
          <category domain="http://www.sixapart.com/ns/types#category"></category>
        
        
          <category domain="http://www.sixapart.com/ns/types#tag">digikam</category>
        
          <category domain="http://www.sixapart.com/ns/types#tag">Vine Linux</category>
        
          <category domain="http://www.sixapart.com/ns/types#tag">VineSeed</category>
        
        <pubDate>Wed, 08 Jun 2011 15:17:00 +0900</pubDate>
      </item>
    
      <item>
        <title>懐かしの8ビットマイコンゲーム?  </title>
        <description><![CDATA[<p lang="ja">
現在の手元のマシン (MacBook w/ Intel GM965 Graphic Controller) の VineSeed、<code>XOrg 1.10.0</code>、<code lang="en">xorg-x11-drv-intel-2.14.0-2vl6.i686</code>、<code>Adobe Flash Plugin10.2.152.27</code> で、
</p>

<ul>
<li><a href="http://www.youtube.com/watch?v=w14v4vGUDdg" target="_blank">Tick Tock - student short film for Emory Campus MovieFest 2011</a> (YouTube)
</ul>

<p lang="ja">
を観ようとすると、
</p>

<br />

<div style="text-align: center;">
<img src="http://microgroove.jp/img/YouTube_TickTock_WithHardwareAcceleration.jpg" />
</div>

<br />

<p lang="ja">
。。。。
</p>

<p lang="ja">
どこか懐かしさもある、大昔遊んだマイコンのテレビゲームみたいな。。。。
</p>

<br />
<hr width="80%" />
<br />

<p lang="ja">
結局、Flash の <strong>ハードウェアアクセラレーションを無効にする</strong>、というのが正解だった模様です。特定の YouTube 映像のみでおかしくなっていたので、まあなんか特定のエンコーディング用のアクセラレータの問題ではないかと思ってはいたのですが。
<br />
なにせ VineSeed でちょうど <code>XOrg 1.10</code> 一式が投入された直後ということもあり、原因はなんだなんだということに。。。
</p>

<br />

<div style="text-align: center;">
<img src="http://microgroove.jp/img/AdobeFlash_DisableHardwareAcceleration.jpg" />
</div>

<br />

<blockquote lang="ja">
&lt;d&gt; flash10.2からVAAPI/VDPAUつかったh264のアクセラレーションが使われるようになったのだけど
<br />
&lt;d&gt; h264のプロファイルによっては壊れる
<br />
&lt;d&gt; &一回こわれるとflashプロセスを殺さないと
<br />
&lt;d&gt; 全部に影響するっぽい
</blockquote>

<br />

<p lang="ja">
ということだと。<a href="http://dicey.org/d/">だいさめ</a> 情報サンクス。
</p>

<br />

<div style="text-align: center;">
<img src="http://microgroove.jp/img/YouTube_TickTock_WithoutHardwareAceleration.jpg" />
</div>
]]></description>
        <link>http://microgroove.jp/shaolin/2011/03/hardware_acceleration_sometimes_might_no_do_any_good.html</link>
        <guid>http://microgroove.jp/shaolin/2011/03/hardware_acceleration_sometimes_might_no_do_any_good.html</guid>
        
          <category domain="http://www.sixapart.com/ns/types#category"></category>
        
          <category domain="http://www.sixapart.com/ns/types#category"></category>
        
          <category domain="http://www.sixapart.com/ns/types#category"></category>
        
        
          <category domain="http://www.sixapart.com/ns/types#tag">Acceleration</category>
        
          <category domain="http://www.sixapart.com/ns/types#tag">Adobe</category>
        
          <category domain="http://www.sixapart.com/ns/types#tag">Flash</category>
        
          <category domain="http://www.sixapart.com/ns/types#tag">MacBook</category>
        
          <category domain="http://www.sixapart.com/ns/types#tag">Plugin</category>
        
          <category domain="http://www.sixapart.com/ns/types#tag">Vine Linux</category>
        
          <category domain="http://www.sixapart.com/ns/types#tag">VineSeed</category>
        
          <category domain="http://www.sixapart.com/ns/types#tag">XOrg</category>
        
        <pubDate>Sun, 06 Mar 2011 12:21:00 +0900</pubDate>
      </item>
    
      <item>
        <title>a tiny patch for recpt1/tssplitter_lite.c  </title>
        <description><![CDATA[<p lang="ja">
年明けに <a href="http://twitter.com/northeye" target="_blank">northeye</a> さんに代理購入して頂いていたのに、半年も受け取る機会に恵まれず（長らくすんませんでした）、結局7月3日に無事受け取りを済ませた <a href="http://earthsoft.jp/PT/index.html" target="_blank">PT2</a>。
</p>

<p lang="ja">
その後も箱に入れたままになっていましたが、8月12日に1998年製造のブラウン管アナログテレビがついに壊れてしまい、安い REGZA (32R1) を購入したのを機に、うちに転がっていた古いキューブ型PCにやっとこさ取り付けたのが8月20日。
</p>

<p lang="ja">
いまなら linux カーネルに入っている <a href="http://bitbucket.org/hiranotaka/dvb-pt1/" target="_blank">DVB 版ドライバ</a> を使うのが素直なんでしょうが、そのキューブ型PCに入れたのがたまたま <a href="http://www.vinelinux.org/vineseed.html" target="_blank">VineSeed</a> (linux-2.6.35) ではなく <a href="http://www.vinelinux.org/aboutvine5.html" target="_blank">Vine 5.1</a> (linux-2.6.27) だったため、なんとなく <a href="http://hg.honeyplanet.jp/pt1/" target="_blank">以前からある方の chardev 版 PT1 ドライバ</a> で環境を構築しました。
</p>

<p lang="ja">
<span lang="en">tssplitter_lite</span> 相当の動作が内包された <strong lang="en">recpt1</strong> もお手軽でいい感じですし、これまたお手軽操作の <a href="http://www.mda.or.jp/epgrec/" target="_blank"><strong lang="en">epgrec</strong></a> も悪くない。
</p>

<p lang="ja">
が、WOWOW の SD 放送の録画でちょっと面倒臭いことになってしまい、時間を見つけてはあれこれ調べていました。以下経緯と経過。
</p>]]></description>
        <link>http://microgroove.jp/shaolin/2010/09/a_tiny_patch_for_recpt1tssplitter_litec.html</link>
        <guid>http://microgroove.jp/shaolin/2010/09/a_tiny_patch_for_recpt1tssplitter_litec.html</guid>
        
          <category domain="http://www.sixapart.com/ns/types#category"></category>
        
          <category domain="http://www.sixapart.com/ns/types#category"></category>
        
          <category domain="http://www.sixapart.com/ns/types#category"></category>
        
        
          <category domain="http://www.sixapart.com/ns/types#tag">Earthsoft</category>
        
          <category domain="http://www.sixapart.com/ns/types#tag">epgrec</category>
        
          <category domain="http://www.sixapart.com/ns/types#tag">PT1</category>
        
          <category domain="http://www.sixapart.com/ns/types#tag">PT2</category>
        
          <category domain="http://www.sixapart.com/ns/types#tag">recpt1</category>
        
          <category domain="http://www.sixapart.com/ns/types#tag">tssplitter_lite</category>
        
        <pubDate>Fri, 03 Sep 2010 15:41:00 +0900</pubDate>
      </item>
    
      <item>
        <title>iScrob - a perfect replacement for iPod app  </title>
        <description><![CDATA[<p lang="ja">
相変わらず、古式懐しく円盤回転メディア（CD、LP、EP、シングル盤、そしてSP盤）から直接音楽を聴く機会の多い私。
</p>

<p lang="ja">
カセットのウォークマンやCDウォークマンを携帯してヘッドフォンで聴きながら外出していたのも遠い昔の思い出。もうここ10年程は、外出中にヘッドフォンなどを使って音楽を聴くこともなくなりました。
</p>

<p lang="ja">
外出中は、世界中の生音を聞いてる方がよっぽど楽しいですからね。
</p>

<p lang="ja">
静寂、喧騒、機械や車両の動作音、世間話、客寄せサウンド、虫や鳥や犬や猫のたてる音、赤ん坊の鳴き声、子供たちの元気な会話、殺伐とした空気感、耳なり、風の音、自分の鼓動、その他もろもろ。
</p>]]></description>
        <link>http://microgroove.jp/shaolin/2010/08/iscrob_a_perfect_replacement_for_ipod_app.html</link>
        <guid>http://microgroove.jp/shaolin/2010/08/iscrob_a_perfect_replacement_for_ipod_app.html</guid>
        
          <category domain="http://www.sixapart.com/ns/types#category"></category>
        
          <category domain="http://www.sixapart.com/ns/types#category"></category>
        
        
          <category domain="http://www.sixapart.com/ns/types#tag">iPhone</category>
        
          <category domain="http://www.sixapart.com/ns/types#tag">iPod</category>
        
          <category domain="http://www.sixapart.com/ns/types#tag">iScrob</category>
        
          <category domain="http://www.sixapart.com/ns/types#tag">Last.fm</category>
        
          <category domain="http://www.sixapart.com/ns/types#tag">scrobble</category>
        
          <category domain="http://www.sixapart.com/ns/types#tag">Scrobblepod</category>
        
        <pubDate>Tue, 10 Aug 2010 19:45:00 +0900</pubDate>
      </item>
    
      <item>
        <title>OSX から Samba 共有がマウントできない  </title>
        <description><![CDATA[<p lang="ja">
自宅サーバ上で動作させている Samba、今まで特に問題なく自宅の他のマシン (Linux、Mac OSX、Windows) からマウントして使っていました。
</p>

<p lang="ja">
それが昨日、突然ある1台のマシンからのみ、マウントできなくなってしまいました。
</p>

<p lang="ja">
結局解決はできたのですが、なぜこうなったのかは未だに疑問です。
</p>

<p lang="ja">
というわけで、以下、解決への流れを。
</p>]]></description>
        <link>http://microgroove.jp/shaolin/2010/07/cant_mount_samba_public_from_osx.html</link>
        <guid>http://microgroove.jp/shaolin/2010/07/cant_mount_samba_public_from_osx.html</guid>
        
          <category domain="http://www.sixapart.com/ns/types#category"></category>
        
          <category domain="http://www.sixapart.com/ns/types#category"></category>
        
        
          <category domain="http://www.sixapart.com/ns/types#tag">Finder</category>
        
          <category domain="http://www.sixapart.com/ns/types#tag">OSX</category>
        
          <category domain="http://www.sixapart.com/ns/types#tag">Samba</category>
        
        <pubDate>Thu, 29 Jul 2010 16:37:00 +0900</pubDate>
      </item>
    
      <item>
        <title>Phoenix Slides  </title>
        <description><![CDATA[<p lang="ja">
てっとりばやく JPEG ロスレス回転させるのにはよさげ。
</p>

<blockquote lang="en">
<a href="http://blyt.net/phxslides/" target="_blank"><strong>Phoenix Slides</strong></a> is a fast full-screen slideshow program/image browser, for flipping through folders or disks full of images. Phoenix Slides also does lossless JPEG transformations and can display EXIF data. It requires Mac OS X 10.3 or later.
<br />
Version 1.2.6 released 2009 August 31 
</blockquote>]]></description>
        <link>http://microgroove.jp/shaolin/2010/07/phoenix_slides.html</link>
        <guid>http://microgroove.jp/shaolin/2010/07/phoenix_slides.html</guid>
        
          <category domain="http://www.sixapart.com/ns/types#category"></category>
        
        
        <pubDate>Mon, 19 Jul 2010 11:28:00 +0900</pubDate>
      </item>
    
      <item>
        <title>写真取り込み＆EXIF情報にあわせてファイル名を変更  </title>
        <description><![CDATA[<p lang="ja">
デジタルカメラやメモリカード、iPhoneなどから、まったりと「イメージキャプチャ」で OSX 上に画像を取り込み、<code>Exif.Photo.DateTimeOriginal</code> の値に従ってファイル名を変更するための Automator 用シェルスクリプト。まったりと<strong>手抜き</strong>で書いてみたところ。
</p>]]></description>
        <link>http://microgroove.jp/shaolin/2010/07/osx_automator_script_for_renaming_files_using_exif_datetime.html</link>
        <guid>http://microgroove.jp/shaolin/2010/07/osx_automator_script_for_renaming_files_using_exif_datetime.html</guid>
        
          <category domain="http://www.sixapart.com/ns/types#category"></category>
        
        
          <category domain="http://www.sixapart.com/ns/types#tag">Automator</category>
        
          <category domain="http://www.sixapart.com/ns/types#tag">bash</category>
        
          <category domain="http://www.sixapart.com/ns/types#tag">exiftool</category>
        
          <category domain="http://www.sixapart.com/ns/types#tag">exiv2</category>
        
          <category domain="http://www.sixapart.com/ns/types#tag">Mac</category>
        
          <category domain="http://www.sixapart.com/ns/types#tag">OSX</category>
        
          <category domain="http://www.sixapart.com/ns/types#tag">イメージキャプチャ</category>
        
        <pubDate>Mon, 12 Jul 2010 21:17:00 +0900</pubDate>
      </item>
    
      <item>
        <title>ルーテシア2 ダッシュボード脱着 (1 comment)</title>
        <description><![CDATA[<p lang="ja">
訳あって(笑)、再びダッシュボードを取り外すことになりました。
</p>

<p lang="ja">
<a href="http://microgroove.jp/shaolin/2010/04/replacing_car_audio_for_renault_clio2_rs.html">前回</a>は、杉並サンクの古田さんに作業をお願いしましたが、その時に作業をじっくり見学させてもらったおかげで、今回は自力でさくっとできました。
</p>

<br />

<div style="text-align: center;">
<img class="link" title="[Removing/refitting Clio2 ph1's dashboard]" alt="[Removing/refitting Clio2 ph1's dashboard]" width="400" height="300" src="http://microgroove.jp/shaolin/img/20100429_DSCF6675.jpg" />
</div>]]></description>
        <link>http://microgroove.jp/shaolin/2010/04/removing_dashboard_on_renault_clio2_ph1.html</link>
        <guid>http://microgroove.jp/shaolin/2010/04/removing_dashboard_on_renault_clio2_ph1.html</guid>
        
          <category domain="http://www.sixapart.com/ns/types#category"></category>
        
        
          <category domain="http://www.sixapart.com/ns/types#tag">Clio</category>
        
          <category domain="http://www.sixapart.com/ns/types#tag">Lutecia</category>
        
          <category domain="http://www.sixapart.com/ns/types#tag">Renault</category>
        
          <category domain="http://www.sixapart.com/ns/types#tag">ダッシュボード</category>
        
          <category domain="http://www.sixapart.com/ns/types#tag">ルーテシア</category>
        
        <pubDate>Thu, 29 Apr 2010 22:30:00 +0900</pubDate>
      </item>
    
  </channel>
</rss> 
