
今月はじめにちょっと紹介した、Linux 上でクロスコンパイルしたバイナリが使用する DLL をチェックするプログラム、wbc - Win32 Binary Checker ですが、ウィジェット上に表示されるイメージなどを整備しました。

まだ実装していない機能がありますが、当初自分が欲しかった機能が既に実現できているので、とりあえず今週末をターゲットに最初のリリースを目指したいと考えています。
すぐりふひとのプログラミングメモ
Date: Fri, 25 Jan 2008 17:02:33 -0500
From: dgp at nist.gov
To: tcl-core at lists.sourceforge.net
Subject: [TCLCORE] Tcl/Tk 8.5.1 RC0 available
First crack at release candidates for Tcl/Tk 8.5.1
are up at ftp://ftp.tcl.tk/pub/tcl/tcl8_5/
Still aiming for the actual release on Feb. 1.
Report problems with these RCs and/or progress
on critical bugs and fixes in the usual way.
DGP
$ rpm -q ttmkfdir
ttmkfdir-3.0.9-24.fc7
$ rpm -ivh cabextract-0.6-1.src.rpm
1:cabextract warning: user noa does not exist - using root
warning: group noa does not exist - using root
warning: user noa does not exist - using root 99%)
warning: group noa does not exist - using root
########################################### [100%]
Summary: a program to extract Microsoft Cabinet files
Name: cabextract
Version: 0.6
Release: 1
Group: Applications/Archiving
Copyright: GPL
Source: http://www.kyz.uklinux.net/downloads/%{name}-%{version}.tar.gz
URL: http://www.kyz.uklinux.net/cabextract.php3
BuildRoot: %{_tmppath}/%{name}-%{version}-root
Prefix: /usr
:
:
$ rpmbuild -ba cabextract.spec
Executing(%prep): /bin/sh -e /home/bitwalk/tmp/rpm-tmp.79402
+ umask 022
+ cd /home/bitwalk/redhat/BUILD
+ LANG=C
+ export LANG
:
:
Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/bitwalk/tmp/cabextract-0.6-root
Wrote: /home/bitwalk/redhat/SRPMS/cabextract-0.6-1.src.rpm
Wrote: /home/bitwalk/redhat/RPMS/i386/cabextract-0.6-1.i386.rpm
Wrote: /home/bitwalk/redhat/RPMS/i386/cabextract-debuginfo-0.6-1.i386.rpm
Executing(%clean): /bin/sh -e /home/bitwalk/tmp/rpm-tmp.85923
+ umask 022
+ cd /home/bitwalk/redhat/BUILD
+ cd cabextract-0.6
+ rm -rf /home/bitwalk/tmp/cabextract-0.6-root
+ exit 0
$ su
Password:
# rpm -ivh /home/bitwalk/redhat/RPMS/i386/cabextract-0.6-1.i386.rpm
$ rpmbuild -ba msttcorefonts-1.3-4.spec
Executing(%prep): /bin/sh -e /home/bitwalk/tmp/rpm-tmp.85774
+ umask 022
+ cd /home/bitwalk/redhat/BUILD
+ LANG=C
+ export LANG
+ unset DISPLAY
+ rm -rf msttcorefonts
+ mkdir msttcorefonts
+ cd msttcorefonts
+ for i in andale32.exe webdin32.exe trebuc32.exe georgi32.exe verdan32.exe comic32.exe arialb32.exe impact32.exe arial32.exe times32.exe courie32.exe
+ wget http://easynews.dl.sourceforge.net/sourceforge/corefonts/andale32.exe
--12:33:56-- http://easynews.dl.sourceforge.net/sourceforge/corefonts/andale32.exe
=> `andale32.exe'
Resolving easynews.dl.sourceforge.net... 69.16.168.245
Connecting to easynews.dl.sourceforge.net|69.16.168.245|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 198,384 (194K) [application/octet-stream]
100%[====================================>] 198,384 164.66K/s
12:33:57 (164.34 KB/s) - `andale32.exe' saved [198384/198384]
:
:
exec i386-mingw32-objdump -p ファイル名 | grep "DLL Name:"
Date: Wed, 02 Jan 2008 15:32:26 -0500
From: Donald G Porter <dgp at nist.gov>
To: Tcl Core List <tcl-core at lists.sourceforge.net>
Subject: [TCLCORE] Draft Release Calendar for 2008
Here is my current thinking about release dates in 2008.
January 4, 2008 Tcl/Tk 8.4.17
Get the current set of 8.4 bug fixes out in a release.
February 1, 2008 Tcl/Tk 8.5.1
March 14, 2008 Tcl/Tk 8.4.18; Tcl/Tk 8.5.2; Tcl/Tk 8.6a0
Intent is for 8.4.18 to be the "final" release of Tcl/Tk 8.4.
Any lingering bugs needing fixing... someone should get busy
doing so by then, or get resigned to living with them for good.
The 8.5.2 and 8.6a0 releases are intended to be exactly the
same code, with version number being the only difference.
The development point right between the two releases is the
point where the HEAD will become devoted to 8.6 development,
and a new branch, core-8-5-branch will spawn to generate further
8.5.* patch releases.
May 16, 2008 Tcl/Tk 8.6a1; Tcl/Tk 8.5.3
July 18, 2008 Tcl/Tk 8.6a2; Tcl/Tk 8.5.4
Sept. 19, 2008 Tcl/Tk 8.6b1; Tcl/Tk 8.5.5
This gets us to beta status for Tcl/Tk 8.6 right in time for
the 2008 Tcl Conference (Sept. 22-26, 2008). The schedule
for 8.5.* patch releases proposed here is a minimum. More
frequent patch releases might happen if number/severity of
bug fixes warrants.
In some circles, a full year of development time to get to 8.6 beta
might seem sluggish, but in context of our history, this is a pretty
aggressive schedule.
This schedule offers three target dates for new features in Tcl/Tk 8.6.
If the shouts of protest aren't too loud, what I'd like to do next is
place the proposed 8.6[ab]* release dates on the "Tcl 8.6 Wish List"
page on the Wiki <URL: http://wiki.tcl.tk/20539 > and invite developers
to place their desired features under one of the target dates, and to
name some person(s) actively working to get that feature ready by that
date.
All of this is subject to revision, based on your comments.
--
| Don Porter Mathematical and Computational Sciences Division |
| donald.porter at nist.gov Information Technology Laboratory |
| http://math.nist.gov/~DPorter/ NIST |
|______________________________________________________________________|
#!/bin/sh
# the next line restarts using wish \
exec wish "$0" "$@"
# ----------------------------------------------------------------------------
# dummy work
# ----------------------------------------------------------------------------
proc dummyStart {varName} {
upvar #0 $varName x; # widget variable has gloval scope
for {set i 1} {$i <= 100} {incr i} {
set x $i
update
after 100
}
}
# ----------------------------------------------------------------------------
# MAIN
# ----------------------------------------------------------------------------
wm title . "ttk::progressbar"
ttk::style theme use "clam"
ttk::progressbar .p1 -length 200 -variable p -mode determinate
ttk::progressbar .p2 -length 200 -variable p -mode indeterminate
ttk::button .start -text "START" -command {dummyStart "p"}
grid .p1 -pady 5 -padx 10
grid .p2 -pady 5 -padx 10
grid .start -padx 10 -pady 5 -sticky news
grid columnconfigure . all -weight 1
# ---
# ttkwidget_progressbar.tcl
#!/bin/sh
# the next line restarts using wish \
exec wish "$0" "$@"
package require Iwidgets
# ----------------------------------------------------------------------------
# dummy work
# ----------------------------------------------------------------------------
proc dummyStart {w} {
$w reset
for {set i 0} {$i < 100} {incr i} {
$w step
after 100
}
}
# ----------------------------------------------------------------------------
# MAIN
# ----------------------------------------------------------------------------
wm title . "iwidgets::feedback"
iwidgets::feedback .fb \
-labeltext " percentage of completion " \
-steps 100 \
-barheight 10
button .start -text "START" \
-command {dummyStart .fb}
pack .fb -padx 4 -pady 4
pack .start -padx 4 -pady 4
# ---
# iwidgets_feedback.tcl
#!/bin/sh
# the next line restarts using wish \
exec wish "$0" "$@"
# ----------------------------------------------------------------------------
# add a tab to notebook widget
# ----------------------------------------------------------------------------
proc addTab {w n} {
set m "${w}.tab${n}"
set tlab "TAB ${n}"
ttk::frame $m
$w add $m -text $tlab
return $m
}
# ----------------------------------------------------------------------------
# MAIN
# ----------------------------------------------------------------------------
wm title . "tk::notebook"
ttk::style theme use "clam"
# make the notebook
ttk::notebook .note
pack .note -fill both -expand 1 -padx 2 -pady 2
# TAB 1
set tab1 [addTab .note 1]
$tab1 configure -width 200 -height 200
# TAB 2
set tab2 [addTab .note 2]
# TAB 3
set tab3 [addTab .note 3]
# ---
# ttkwidget_notebook.tcl
#!/bin/sh
# the next line restarts using wish \
exec wish "$0" "$@"
package require BWidget
# ----------------------------------------------------------------------------
# MAIN
# ----------------------------------------------------------------------------
wm title . "NoteBook"
# make the NoteBook
NoteBook .nb -side bottom
pack .nb
# TAB 1
set tab1 [.nb insert end 1 -text "TAB 1"]
pack [frame $tab1.f -width 200 -height 200]
# TAB 2
set tab2 [.nb insert end 2 -text "TAB 2"]
# TAB 3
set tab3 [.nb insert end 3 -text "TAB 3"]
# show TAB 1
.nb raise 1
# ---
# bwidget_notebook.tcl