hns - 日記自動生成システム - Version 2.19.9

先月 2013年05月 来月
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
Namazu for hns による簡易全文検索
詳しくは 詳細指定/ヘルプを参照して下さい
検索式:

2013年05月14日(火) 旧暦 [n年日記] [更新:"2013/05/15 14:35:08"]

#1 [Gimp] Gimp で楕円 (Gimp 2.8)

  1. から shape-path-0.91.scm をもらって来る
  2. shape-path-0.91.scm を ~/.gimp-2.8/scripts に置く
  3. Filters -> Script Fu -> Refresh Scripts
    として、今置いた scripts を有効にする(読ませる)
  4. Windows -> Dockable Dialogs -> Brushes (Shift+Control+B) を使って
    Paint brush の設定をしておく (後の 10. で使う) (多分、そうではなくて) Tool Box の下の色の設定のところ から色を設定しておく




  5. Path (B) で一度 path を何か作っておく (後で消える)
    このおまじないをしないと、 9. では何も起きない

  6. 楕円を置く中心にマウスを持って行き、左下に表示される座標を(頭に)記憶する
    記憶しなくても、表示が見えるようにしておけば、見て写せば良いようです
  7. Script Fu -> Shape Paths -> Ellipse ... とすると、右上のような窓が出て来るので、四つの数字を手で入力する
    • 最初の二つは、上で記憶した数字
    • 後の二つは楕円の大きさ
    • Stroke Path にチェックを入れると、太さが自由にならない (ようだ、固定の太さの線が描かれる)
  8. たとえば、楕円の大きさや、色が決っているなら、上の shape-path-0.91.scm を予め変更しておくのも一つの手
    僕は shape-path-0.91.diff の変更をしていて、そうすると、始めから、窓の中の設定は図に示した値になる。 Center X: と Center Y: は 0 0 ですけれど
    (ここの色は、実はこの説明の方法では、使われていない気がします)
  9. OK をすると楕円の Path が作られる
  10. Edit -> Stroke Path ... とすると、右の窓が出て来るので(僕の場合は) Stroke with a paint tool の方を選んで Paintbrush のままにして Stroke ボタンを押す
  11. 左のような楕円の線が描かれる。 画面には左のように Path がそのまま見えているが、これで保存すれば色の線だけが書かれる


この覚え書きを作るにあたっては、次の情報が大変役に立ちました。ありがとうございます。

#2 [pkgsrc] xulrunner says Shared object "libstdc++.so.6" not found

Some strange situation, recently build wants obsoleted shared library even does not exist.
m08@makoto 23:22:59/130514(..packages/All)% sh -xv `which firefox`
#! /bin/sh
#
# $NetBSD: firefox.sh.in,v 1.2 2012/08/28 12:42:02 ryoon Exp $
#
# We currently overwrite the nsXULStub launcher with this wrapper script.
# The stub causes problems like HTTPS protocol not working.
# XXX to be investigated

exec /usr/pkg/lib/xulrunner/xulrunner /usr/pkg/lib/firefox/application.ini "$@"
+ exec /usr/pkg/lib/xulrunner/xulrunner '/usr/pkg/lib/firefox/application.ini'
Shared object "libstdc++.so.6" not found
m08@makoto 23:23:08/130514(..packages/All)% find /usr -name libstdc++\*
find: /usr/games/hide: Permission denied
/usr/lib/libstdc++.so.7.1
/usr/lib/libstdc++.so
/usr/lib/libstdc++.so.7
/usr/lib/libstdc++_p.a
/usr/lib/libstdc++.a
/usr/lib/libstdc++_pic.a
/usr/lib/i386/libstdc++.so.7
/usr/lib/i386/libstdc++.so.7.1
/usr/lib/i386/libstdc++.so
/usr/lib/i386/libstdc++.a
/usr/lib/i386/libstdc++_p.a
/usr/lib/i386/libstdc++_pic.a
m08@makoto 23:23:40/130514(..packages/All)% ldd  /usr/pkg/lib/xulrunner/xulrunner
/usr/pkg/lib/xulrunner/xulrunner:
        -lpthread.1 => /usr/lib/libpthread.so.1
        -lgcc_s.1 => /usr/lib/libgcc_s.so.1
        -lc.12 => /usr/lib/libc.so.12
        -lstdc++.6 => not found
        -lm.0 => /usr/lib/libm.so.0
m08@makoto 23:24:15/130514(..packages/All)% xulrunner --version
Shared object "libstdc++.so.6" not found
m08@makoto 23:24:25/130514(..packages/All)% ls -l   /usr/pkg/lib/xulrunner/xulrunner
-rwxr-xr-x  1 root  wheel  81960 May 14 01:15 /usr/pkg/lib/xulrunner/xulrunner
m08@makoto 23:24:31/130514(..packages/All)% ls -l /usr/lib/libstdc++.so.7.1
-r--r--r--  1 root  wheel  1299229 Mar 16 13:52 /usr/lib/libstdc++.so.7.1
m08@makoto 23:25:37/130514(..packages/All)% 
The package was built on chrooted environmet, but it does not the old one either.
m08@makoto 23:29:11/130514(..packages/All)% ls -l /export/CHROOT/usr/lib/libstdc*
-r--r--r--  1 root  wheel  2521788 Mar 16 13:52 /export/CHROOT/usr/lib/libstdc++.a
lrwxr-xr-x  1 root  wheel       16 Mar 16 13:52 /export/CHROOT/usr/lib/libstdc++.so -> libstdc++.so.7.1
lrwxr-xr-x  1 root  wheel       16 Mar 16 13:52 /export/CHROOT/usr/lib/libstdc++.so.7 -> libstdc++.so.7.1
-r--r--r--  1 root  wheel  1299229 Mar 16 13:52 /export/CHROOT/usr/lib/libstdc++.so.7.1
-r--r--r--  1 root  wheel  2675770 Mar 16 13:52 /export/CHROOT/usr/lib/libstdc++_p.a
-r--r--r--  1 root  wheel  2549064 Mar 16 13:52 /export/CHROOT/usr/lib/libstdc++_pic.a
I found it...
  9820866 May  6 10:59 /export/CHROOT/usr/pkg_bulk/gcc47/lib/libstdc++.a
      963 May  6 10:59 /export/CHROOT/usr/pkg_bulk/gcc47/lib/libstdc++.la
       17 May  6 10:59 /export/CHROOT/usr/pkg_bulk/gcc47/lib/libstdc++.so -> libstdc++.so.6.17
       17 May  6 10:59 /export/CHROOT/usr/pkg_bulk/gcc47/lib/libstdc++.so.6 -> libstdc++.so.6.17
  4136273 May  6 10:59 /export/CHROOT/usr/pkg_bulk/gcc47/lib/libstdc++.so.6.17
     2323 May  6 10:59 /export/CHROOT/usr/pkg_bulk/gcc47/lib/libstdc++.so.6.17-gdb.py

make help topic=USE_GCC_RUNTIME:

# USE_PKGSRC_GCC_RUNTIME
#       When set to "yes", the runtime gcc libraries (libgcc, libstdc++
#       etc) will be used from pkgsrc rather than the native compiler.

# USE_GCC_RUNTIME
#       Packages which build shared libraries but do not use libtool to
#       do so should define this variable.  It is used to determine whether
#       the gcc runtime should be depended upon when a user has enabled
#       USE_PKGSRC_GCC_RUNTIME.
そう言えば、この機械の chroot を 6.1_RC2 にした時に gcc47 は作り直さなかったかな?
m08@root 08:06:54/130515(..lang/gcc47)% \
   env PATH=/usr/pkg_bulk/bin:/usr/pkg_bulk/sbin:${PATH} pkg_delete gcc47
original MD5 checksum failed, not deleting: 
   /usr/pkg_bulk/gcc47/lib/gcc/x86_64--netbsd/4.7.3/include-fixed/stdio.h
original MD5 checksum failed, not deleting: 
   /usr/pkg_bulk/gcc47/lib/gcc/x86_64--netbsd/4.7.3/include/ssp/stdio.h
original MD5 checksum failed, not deleting: 
   /usr/pkg_bulk/gcc47/lib/gcc/x86_64--netbsd/4.7.3/include/ssp/string.h
original MD5 checksum failed, not deleting: 
   /usr/pkg_bulk/gcc47/lib/gcc/x86_64--netbsd/4.7.3/include/ssp/unistd.h
pkg_delete: couldn't entirely delete package `gcc47-4.7.3'



最近の日記
2024年05月08日
comparison on ./buildsh tools
2024年05月06日
py-setuptools (python 3.11.9)
make release took 1 hours and 10 min
qemu invocation for 10.99.10
2024年05月05日
Windows 10 version
serial connection
bc bench
2024年05月04日
Trial on 10.99.10
another version (later trial) to succeed
2024年04月29日
dkim
以上、1 日分です。
タイトル一覧
カテゴリ分類
Powered by hns-2.19.9, HyperNikkiSystem Project

Count.cgi (since 2000/02/05)