Mobile Gear II(MC/R450)にNetBSD-3.1/hpcmipsをインストール した時の(自分用の)メモです。
LDFLAGS="-L/usr/local/lib -L/usr/X11R6/lib"; export LDFLAGS CPPFLAGS="-I/usr/local/include -I/usr/X11R6/include"; export CPPFLAGS
-rw-r--r-- 1 m-ito users 2529838 May 11 14:01 bash-3.2.tar.gz ./configure && make && make install
-rw-r--r-- 1 m-ito users 840519 May 12 10:43 screen-4.0.2.tar.gz -rw-r--r-- 1 m-ito users 374 May 12 11:49 screen-4.0.2.diff -- patch start -- *** pty.c.ORG Sat May 12 11:33:14 2007 --- pty.c Sat May 12 11:38:37 2007 *************** *** 35,42 **** --- 35,45 ---- /* for solaris 2.1, Unixware (SVR4.2) and possibly others */ #ifdef HAVE_SVR4_PTYS + #ifdef __NetBSD__ + #else # include <sys/stropts.h> #endif + #endif #if defined(sun) && defined(LOCKPTY) && !defined(TIOCEXCL) # include <sys/ttold.h> -- patch end -- ./configure && make && make install
-rw-r--r-- 1 m-ito users 427112 May 12 12:15 jless-358.tar.gz INSTALL=/usr/bin/install ./configure && make && maken install
-rw-r--r-- 1 m-ito users 1386111 May 12 12:27 jvim-3.0.tar.gz cd src && ln -s makjunix.mak Makefile && make && make install
-rw-r--r-- 1 m-ito users 838078 May 12 13:02 gc6.8.tar.gz
-rw-r--r-- 1 m-ito users 455 May 12 13:02 gc6.8.diff
-- patch start --
*** include/private/gcconfig.h.ORG Sun Sep 3 14:41:25 2006
--- include/private/gcconfig.h Sun Sep 3 14:18:23 2006
***************
*** 1459,1465 ****
--- 1459,1467 ----
extern int etext[];
# define DATASTART GC_data_start
# define NEED_FIND_LIMIT
+ #if !defined(HPCMIPS)
# define DYNAMIC_LOADING
+ #endif
# else
# define DATASTART ((ptr_t) 0x10000000)
# define STACKBOTTOM ((ptr_t) 0x7ffff000)
-- patch end --
CFLAGS="-DHPCMIPS" ./configure -enable-threads=no --enable-static --disable-shared && make && make install
-rw-r--r-- 1 m-ito users 1564560 May 12 19:47 make-3.81.tar.gz ./configure && make && make install
-rw-r--r-- 1 m-ito users 1263065 May 12 19:59 Canna37p3.tar.bz2
xmkmf && make canna && make install && make install.man
-- /etc/rc.local --
if [ -x /usr/local/canna/sbin/cannaserver ]
then
/usr/local/canna/sbin/cannaserver -inet -syslog -u bin
echo Starting cannaserver.
fi
-rw-r--r-- 1 m-ito users 512177 May 12 22:30 kinput2-v3.1.tar.gz vi Kinput2.conf xmkmf && make Makefiles && make depend && make && make install
-rw-r--r-- 1 m-ito users 210919 May 12 23:20 kterm-6.2.0.tar.gz xmkmf -a && make && make install && make install.man
-rw-r--r-- 1 m-ito users 561950 May 12 23:34 fvwm-1.24r.i18n-jp.tar.gz xmkmf && make Makefiles && make all && make install && make install.man cp fvwm_icons/*.xpm /usr/include/X11/pixmaps/ cp fvwm_icons/*.xbm /usr/include/X11/bitmaps/ cp fvwm_icons/*.bitmap /usr/include/X11/bitmaps/ cp fvwm_icons/*.icon /usr/include/X11/bitmaps/
-rw-r--r-- 1 m-ito users 231996 May 13 11:22 elisau10.tgz cp elisau10.pcf.gz s5x8.pcf.gz /usr/X11R6/lib/X11/fonts/misc/ cat fonts.alias >>/usr/X11R6/lib/X11/fonts/misc/fonts.alias mkfontdir /usr/X11R6/lib/X11/fonts/misc/
-rw-r--r-- 1 m-ito users 1023070 May 13 13:33 fontkit-1.1-src.tar.gz cd bdf bdftopcf -o k12x10.pcf k12x10.bdf bdftopcf -o k6x10.pcf k6x10.bdf bdftopcf -o knmhn12x.pcf knmhn12x.bdf bdftopcf -o knmzn12x.pcf knmzn12x.bdf gzip knmhn12x.pcf cp *pcf.gz /usr/X11R6/lib/X11/fonts/misc/ mkfontdir /usr/X11R6/lib/X11/fonts/misc/
-rw-r--r-- 1 m-ito users 10123359 May 13 19:04 perl-5.8.8.tar.bz2 rm -f config.sh Policy.sh && sh Configure -de && make && make test && make install
-rw-r--r-- 1 m-ito users 150501 May 14 12:55 nkf207.tar.gz make && cp nkf /usr/local/bin/ cd cd NKF.mod && perl Makefile.PL && make && make install
-rw-r--r-- 1 m-ito users 1756783 May 14 12:56 gawk-3.1.5.tar.bz2 ./configure && make && make install
-rw-r--r-- 1 m-ito users 3531669 May 14 15:16 skkdic.tar.gz
ls -al SKK-JISYO*
-rw-r--r-- 1 m-ito users 14055 May 29 2001 SKK-JISYO.JIS2
-rw-r--r-- 1 m-ito users 2816928 May 29 2001 SKK-JISYO.L
-rw-r--r-- 1 m-ito users 520977 May 29 2001 SKK-JISYO.edict
-rw-r--r-- 1 m-ito users 1728337 May 29 2001 SKK-JISYO.geo
-rw-r--r-- 1 m-ito users 408438 May 29 2001 SKK-JISYO.jinmei
-rw-r--r-- 1 m-ito users 406311 May 29 2001 SKK-JISYO.law
-rw-r--r-- 1 m-ito users 1513714 May 29 2001 SKK-JISYO.office.zipcode
-rw-r--r-- 1 m-ito users 47834 May 29 2001 SKK-JISYO.okinawa
-rw-r--r-- 1 m-ito users 3980829 May 29 2001 SKK-JISYO.zipcode
-- henkan.sh start --
#! /bin/sh
#
#SKK-JISYO.JIS2
cat SKK-JISYO.JIS2 |\
nkf -e |\
grep -v '^;' |\
gawk 'BEGIN{
FS = "/";
}
{
tango = $0;
gsub(/^.* \//, "", tango);
gsub(/\//, " ", tango);
gsub(/;.* /, " ", tango);
printf("%-s #T35 %s\n", $1, tango);
}
END{
}' |\
sed -e 's/ */ /g' |\
sort |\
grep -v '^ *$' >skkjis2.t
mkbindic skkjis2.t
#
#SKK-JISYO.L
cat SKK-JISYO.L |\
nkf -e |\
grep -v '^;' |\
gawk 'BEGIN{
FS = "/";
}
{
tango = $0;
gsub(/^.* \//, "", tango);
gsub(/\//, " ", tango);
gsub(/;.* /, " ", tango);
printf("%-s #T35 %s\n", $1, tango);
}
END{
}' |\
sed -e 's/ */ /g' |\
sort |\
grep -v '^ *$' >skkl.t
mkbindic skkl.t
#
#SKK-JISYO.edict
cat SKK-JISYO.edict |\
nkf -e |\
grep -v '^;' |\
gawk 'BEGIN{
FS = "/";
}
{
tango = $0;
gsub(/^.* \//, "", tango);
gsub(/\//, " ", tango);
gsub(/;.* /, " ", tango);
printf("%-s #T35 %s\n", $1, tango);
}
END{
}' |\
sed -e 's/ */ /g' |\
sort |\
grep -v '^ *$' >skkedict.t
mkbindic skkedict.t
#
#SKK-JISYO.geo
cat SKK-JISYO.geo |\
nkf -e |\
grep -v '^;' |\
gawk 'BEGIN{
FS = "/";
}
{
tango = $0;
gsub(/^.* \//, "", tango);
gsub(/\//, " ", tango);
gsub(/;.* /, " ", tango);
printf("%-s #T35 %s\n", $1, tango);
}
END{
}' |\
sed -e 's/ */ /g' |\
sort |\
grep -v '^ *$' >skkgeo.t
mkbindic skkgeo.t
#
#SKK-JISYO.jinmei
cat SKK-JISYO.jinmei |\
nkf -e |\
grep -v '^;' |\
gawk 'BEGIN{
FS = "/";
}
{
tango = $0;
gsub(/^.* \//, "", tango);
gsub(/\//, " ", tango);
gsub(/;.* /, " ", tango);
printf("%-s #T35 %s\n", $1, tango);
}
END{
}' |\
sed -e 's/ */ /g' |\
sort |\
grep -v '^ *$' >skkname.t
mkbindic skkname.t
#
#SKK-JISYO.law
cat SKK-JISYO.law |\
nkf -e |\
grep -v '^;' |\
gawk 'BEGIN{
FS = "/";
}
{
tango = $0;
gsub(/^.* \//, "", tango);
gsub(/\//, " ", tango);
gsub(/;.* /, " ", tango);
printf("%-s #T35 %s\n", $1, tango);
}
END{
}' |\
sed -e 's/ */ /g' |\
sort |\
grep -v '^ *$' >skklaw.t
mkbindic skklaw.t
#
#SKK-JISYO.office.zipcode
cat SKK-JISYO.office.zipcode |\
nkf -e |\
grep -v '^;' |\
gawk 'BEGIN{
FS = "/";
}
{
tango = $0;
gsub(/^.* \//, "", tango);
gsub(/\//, " ", tango);
gsub(/;.* /, " ", tango);
printf("%-s #T35 %s\n", $1, tango);
}
END{
}' |\
sed -e 's/ */ /g' |\
sort |\
grep -v '^ *$' >skkozip.t
mkbindic skkozip.t
#
#SKK-JISYO.okinawa
cat SKK-JISYO.okinawa |\
nkf -e |\
grep -v '^;' |\
gawk 'BEGIN{
FS = "/";
}
{
tango = $0;
gsub(/^.* \//, "", tango);
gsub(/\//, " ", tango);
gsub(/;.* /, " ", tango);
printf("%-s #T35 %s\n", $1, tango);
}
END{
}' |\
sed -e 's/ */ /g' |\
sort |\
grep -v '^ *$' >skkoki.t
mkbindic skkoki.t
#
#SKK-JISYO.zipcode
cat SKK-JISYO.zipcode |\
nkf -e |\
grep -v '^;' |\
gawk 'BEGIN{
FS = "/";
}
{
tango = $0;
gsub(/^.* \//, "", tango);
gsub(/\//, " ", tango);
gsub(/;.* /, " ", tango);
printf("%-s #T35 %s\n", $1, tango);
}
END{
}' |\
sed -e 's/ */ /g' |\
sort |\
grep -v '^ *$' >skkzip.t
mkbindic skkzip.t
#
-- henkan.sh end --
cp *.cbd /usr/local/canna/share/canna/dic/canna/
cp *.cld /usr/local/canna/share/canna/dic/canna/
cp /usr/local/canna/share/canna/dic/canna/dics.dir /usr/local/canna/share/canna/dic/canna/dics.dir.bak
cat dics.dir >>/usr/local/canna/share/canna/dic/canna/dics.dir
chown bin.bin /usr/local/canna/share/canna/dic/canna/*.cbd
chown bin.bin /usr/local/canna/share/canna/dic/canna/*.cld
chmod 664 /usr/local/canna/share/canna/dic/canna/*.cbd
chmod 664 /usr/local/canna/share/canna/dic/canna/*.cld
-rw-r--r-- 1 m-ito users 3437299 May 15 16:33 emacs-18.59.tar.gz
-- patch start --
diff -crN emacs-18.59.ORG/Makefile emacs-18.59/Makefile
*** emacs-18.59.ORG/Makefile Tue May 15 15:42:42 2007
--- emacs-18.59/Makefile Tue May 15 15:49:38 2007
***************
*** 18,24 ****
# but there was no explanation of why, so it seems better to keep this stable.
LIBDIR= /usr/local/emacs
BINDIR= /usr/local/bin
! MANDIR= /usr/man/man1
CC= gcc
# Flags passed down to subdirectory makefiles.
--- 18,24 ----
# but there was no explanation of why, so it seems better to keep this stable.
LIBDIR= /usr/local/emacs
BINDIR= /usr/local/bin
! MANDIR= /usr/local/man/man1
CC= gcc
# Flags passed down to subdirectory makefiles.
***************
*** 71,77 ****
$(INSTALL) -c -m 444 etc/emacs.1 ${MANDIR}/emacs.1
-rm -f ${BINDIR}/emacs
mv ${BINDIR}/xemacs ${BINDIR}/emacs
! (cd /usr/local; chown -R root.root emacs)
chmod 2755 /usr/local/emacs/etc/movemail
chgrp mail /usr/local/emacs/etc/movemail
--- 71,77 ----
$(INSTALL) -c -m 444 etc/emacs.1 ${MANDIR}/emacs.1
-rm -f ${BINDIR}/emacs
mv ${BINDIR}/xemacs ${BINDIR}/emacs
! (cd /usr/local; chown -R root.wheel emacs)
chmod 2755 /usr/local/emacs/etc/movemail
chgrp mail /usr/local/emacs/etc/movemail
diff -crN emacs-18.59.ORG/etc/emacsclient.c emacs-18.59/etc/emacsclient.c
*** emacs-18.59.ORG/etc/emacsclient.c Tue May 15 15:42:45 2007
--- emacs-18.59/etc/emacsclient.c Tue May 15 15:49:55 2007
***************
*** 53,60 ****
--- 53,62 ----
#include <errno.h>
#include <sys/stat.h>
+ #if !defined(__NetBSD__)
extern int sys_nerr;
extern char *sys_errlist[];
+ #endif
extern int errno;
main (argc, argv)
diff -crN emacs-18.59.ORG/etc/env.c emacs-18.59/etc/env.c
*** emacs-18.59.ORG/etc/env.c Sun Jan 26 06:20:37 1992
--- emacs-18.59/etc/env.c Tue May 15 15:49:54 2007
***************
*** 197,204 ****
--- 197,206 ----
}
else
{
+ #if !defined(__NetBSD__)
extern int errno, sys_nerr;
extern char *sys_errlist[];
+ #endif
environ = nenv;
(void) execvp (*argv, argv);
diff -crN emacs-18.59.ORG/etc/movemail.c emacs-18.59/etc/movemail.c
*** emacs-18.59.ORG/etc/movemail.c Fri May 8 05:11:16 1992
--- emacs-18.59/etc/movemail.c Tue May 15 15:49:54 2007
***************
*** 319,326 ****
--- 319,328 ----
pfatal_with_name (name)
char *name;
{
+ #if !defined(__NetBSD__)
extern int errno, sys_nerr;
extern char *sys_errlist[];
+ #endif
char *s;
if (errno < sys_nerr)
***************
*** 333,340 ****
--- 335,344 ----
pfatal_and_delete (name)
char *name;
{
+ #if !defined(__NetBSD__)
extern int errno, sys_nerr;
extern char *sys_errlist[];
+ #endif
char *s;
if (errno < sys_nerr)
***************
*** 703,710 ****
--- 707,716 ----
char *
get_errmsg ()
{
+ #if !defined(__NetBSD__)
extern int errno, sys_nerr;
extern char *sys_errlist[];
+ #endif
char *s;
if (errno < sys_nerr)
diff -crN emacs-18.59.ORG/src/config.h emacs-18.59/src/config.h
*** emacs-18.59.ORG/src/config.h Tue May 15 15:43:19 2007
--- emacs-18.59/src/config.h Tue May 15 15:49:40 2007
***************
*** 24,30 ****
See the file ../etc/MACHINES for a list of systems and
the names of the s- files to use for them.
See s-template.h for documentation on writing s- files. */
! #include "s-linux.h"
#define ATTRIBUTE
/* Include here a m- file that describes the machine and system you use.
--- 24,31 ----
See the file ../etc/MACHINES for a list of systems and
the names of the s- files to use for them.
See s-template.h for documentation on writing s- files. */
! /* #include "s-linux.h" */
! #include "s-hpcmips.h"
#define ATTRIBUTE
/* Include here a m- file that describes the machine and system you use.
***************
*** 33,39 ****
See m-template.h for info on what m- files should define.
*/
! #include "m-linux.h"
/* Load in the conversion definitions if this system
needs them and the source file being compiled has not
--- 34,41 ----
See m-template.h for info on what m- files should define.
*/
! /* #include "m-linux.h" */
! #include "m-hpcmips.h"
/* Load in the conversion definitions if this system
needs them and the source file being compiled has not
***************
*** 48,54 ****
/* Define HAVE_X_WINDOWS if you want to use the X window system. */
! #define HAVE_X_WINDOWS
/* Define X11 if you want to use version 11 of X windows.
Otherwise, Emacs expects to use version 10. */
--- 50,56 ----
/* Define HAVE_X_WINDOWS if you want to use the X window system. */
! #undef HAVE_X_WINDOWS
/* Define X11 if you want to use version 11 of X windows.
Otherwise, Emacs expects to use version 10. */
diff -crN emacs-18.59.ORG/src/emacs.c emacs-18.59/src/emacs.c
*** emacs-18.59.ORG/src/emacs.c Tue May 15 15:43:22 2007
--- emacs-18.59/src/emacs.c Tue May 15 15:49:41 2007
***************
*** 114,120 ****
int xargc;
#endif /* HAVE_X_WINDOWS */
! #ifdef USG_SHARED_LIBRARIES
/* If nonzero, this is the place to put the end of the writable segment
at startup. */
--- 114,120 ----
int xargc;
#endif /* HAVE_X_WINDOWS */
! #if defined(USG_SHARED_LIBRARIES) || defined(__NetBSD__)
/* If nonzero, this is the place to put the end of the writable segment
at startup. */
diff -crN emacs-18.59.ORG/src/fileio.c emacs-18.59/src/fileio.c
*** emacs-18.59.ORG/src/fileio.c Tue May 15 15:43:22 2007
--- emacs-18.59/src/fileio.c Tue May 15 15:49:55 2007
***************
*** 53,61 ****
--- 53,63 ----
#ifndef vax11c
extern int errno;
+ #if !defined(__NetBSD__)
extern char *sys_errlist[];
extern int sys_nerr;
#endif
+ #endif
#define err_str(a) ((a) < sys_nerr ? sys_errlist[a] : "unknown error")
diff -crN emacs-18.59.ORG/src/m-hpcmips.h emacs-18.59/src/m-hpcmips.h
*** emacs-18.59.ORG/src/m-hpcmips.h Thu Jan 1 09:00:00 1970
--- emacs-18.59/src/m-hpcmips.h Tue May 15 15:50:18 2007
***************
*** 0 ****
--- 1,48 ----
+ #define HPCMIPS
+ #include "m-mips.h"
+ #undef HPCMIPS
+ #undef LIBS_MACHINE
+ /* #undef BIG_ENDIAN */
+ #define LIB_STANDARD -lc /usr/lib/crtend.o /usr/lib/crtn.o
+ #undef START_FILES
+ #undef COFF
+ #undef TERMINFO
+ #define MAIL_USE_FLOCK
+ #define HAVE_UNION_WAIT
+
+ #undef SIGN_EXTEND_CHAR
+ #define SIGN_EXTEND_CHAR(c) ((signed char)(c))
+ #undef UNEXEC
+ /* #define UNEXEC unexelf.o */
+
+ #define CANNOT_DUMP
+
+ /* This line starts being needed with ultrix 4.0. */
+ /* You must delete it for version 3.1. */
+ /* #define START_FILES pre-crt0.o /usr/lib/cmplrs/cc/crt0.o */
+ #define START_FILES pre-crt0.o /usr/lib/crt0.o /usr/lib/crti.o /usr/lib/crtbegin.o
+
+ /* Supposedly the following will overcome a kernel bug. */
+ #undef LD_SWITCH_MACHINE
+ #undef DATA_START
+ #if 0
+ #define DATA_START 0x10000000
+ #define DATA_SEG_BITS 0x10000000
+ #endif
+
+ /* In Ultrix 4.1, XvmsAlloc.o in libX11.a seems to insist
+ on defining malloc itself. This should avoid conflicting with it. */
+ #define SYSTEM_MALLOC
+
+ /* Override what m-mips.h says about this. */
+ #undef LINKER
+
+ /* Ultrix 4.2 (perhaps also 4.1) implements O_NONBLOCK
+ but it doesn't work right;
+ and it causes hanging in read_process_output. */
+ #undef BROKEN_O_NONBLOCK
+
+ #ifdef OSF1
+ #undef C_ALLOCA
+ #define HAVE_ALLOCA
+ #endif
diff -crN emacs-18.59.ORG/src/m-mips.h emacs-18.59/src/m-mips.h
*** emacs-18.59.ORG/src/m-mips.h Sat Mar 7 15:49:22 1992
--- emacs-18.59/src/m-mips.h Tue May 15 15:49:43 2007
***************
*** 30,36 ****
--- 30,38 ----
/* Define BIG_ENDIAN iff lowest-numbered byte in a word
is the most significant byte. */
+ #if !defined(HPCMIPS)
#define BIG_ENDIAN
+ #endif
/* Define NO_ARG_ARRAY if you cannot take the address of the first of a
* group of arguments and treat it as an array of the arguments. */
diff -crN emacs-18.59.ORG/src/nconfig.h emacs-18.59/src/nconfig.h
*** emacs-18.59.ORG/src/nconfig.h Tue May 15 15:43:29 2007
--- emacs-18.59/src/nconfig.h Tue May 15 15:49:56 2007
***************
*** 66,72 ****
#ifdef CANNA
#define LIBCANNA -lcanna
! #define INCCANNA -I/usr/include/canna -I/usr/local/include/canna
#else
#define LIBCANNA
#define INCCANNA
--- 66,72 ----
#ifdef CANNA
#define LIBCANNA -lcanna
! #define INCCANNA -I/usr/local/canna/include
#else
#define LIBCANNA
#define INCCANNA
diff -crN emacs-18.59.ORG/src/paths.h emacs-18.59/src/paths.h
*** emacs-18.59.ORG/src/paths.h Tue May 15 15:43:30 2007
--- emacs-18.59/src/paths.h Tue May 15 15:49:44 2007
***************
*** 1,6 ****
/* The default search path for Lisp function "load".
This sets load-path. */
! #define PATH_LOADSEARCH "/usr/local/emacs/lisp:/usr/local/emacs/site-lisp"
/* the extra search path for programs to invoke.
This is appended to whatever the PATH environment variable says
--- 1,6 ----
/* The default search path for Lisp function "load".
This sets load-path. */
! #define PATH_LOADSEARCH "/usr/local/emacs/lisp"
/* the extra search path for programs to invoke.
This is appended to whatever the PATH environment variable says
***************
*** 12,19 ****
with which we record what files are being modified in Emacs.
This directory should be writable by everyone.
THE STRING MUST END WITH A SLASH!!! */
! #define PATH_LOCK "/var/lock/emacs/"
/* the name of the file !!!SuperLock!!! in the directory
specified by PATH_LOCK. Yes, this is redundant. */
! #define PATH_SUPERLOCK "/vat/lock/emacs/!!!SuperLock!!!"
--- 12,19 ----
with which we record what files are being modified in Emacs.
This directory should be writable by everyone.
THE STRING MUST END WITH A SLASH!!! */
! #define PATH_LOCK "/usr/local/emacs/lock/"
/* the name of the file !!!SuperLock!!! in the directory
specified by PATH_LOCK. Yes, this is redundant. */
! #define PATH_SUPERLOCK "/usr/local/emacs/lock/!!!SuperLock!!!"
diff -crN emacs-18.59.ORG/src/process.c emacs-18.59/src/process.c
*** emacs-18.59.ORG/src/process.c Tue May 15 15:43:31 2007
--- emacs-18.59/src/process.c Tue May 15 15:49:56 2007
***************
*** 55,61 ****
#if defined(BSD) || defined(STRIDE)
#include <sys/ioctl.h>
! #if !defined (O_NDELAY) && defined (HAVE_PTYS)
#include <fcntl.h>
#endif /* HAVE_PTYS and no O_NDELAY */
#endif /* BSD or STRIDE */
--- 55,61 ----
#if defined(BSD) || defined(STRIDE)
#include <sys/ioctl.h>
! #if (!defined (O_NDELAY) && defined (HAVE_PTYS)) || defined(__NetBSD__)
#include <fcntl.h>
#endif /* HAVE_PTYS and no O_NDELAY */
#endif /* BSD or STRIDE */
***************
*** 201,211 ****
--- 201,215 ----
#endif /* no WAITTYPE */
extern errno;
+ #if !defined(__NetBSD__)
extern sys_nerr;
extern char *sys_errlist[];
+ #endif
#ifndef BSD4_1
+ #if !defined(__NetBSD__)
extern char *sys_siglist[];
+ #endif
#else
char *sys_siglist[] =
{
diff -crN emacs-18.59.ORG/src/s-hpcmips.h emacs-18.59/src/s-hpcmips.h
*** emacs-18.59.ORG/src/s-hpcmips.h Thu Jan 1 09:00:00 1970
--- emacs-18.59/src/s-hpcmips.h Tue May 15 15:49:45 2007
***************
*** 0 ****
--- 1,49 ----
+ /* Definitions file for GNU emacs running on 386BSD. */
+
+ #include "s-bsd4-3.h"
+
+ /*
+ * Define symbols to identify the version of Unix this is.
+ * BSD and BSD4_3 are defined in s-bsd4-3.h. There are some
+ * differences between 386BSD and BSD 4.3 so we need an extra
+ * symbol to identify it (the J stands for Jolitz).
+ */
+
+ #ifndef J386BSD
+ #define J386BSD
+ #endif /* J386BSD */
+
+ /* Under 386BSD the file containing the kernel's symbol
+ table is named /386bsd. */
+
+ #undef KERNEL_FILE
+ #define KERNEL_FILE "/netbsd"
+
+ /* The symbol in the kernel where the load average is found
+ is named _averunnable. */
+
+ #undef LDAV_SYMBOL
+ #define LDAV_SYMBOL "_averunnable"
+
+ /* This macro determines the number of bytes waiting to be written
+ in a FILE buffer. */
+
+ #define PENDING_OUTPUT_COUNT(FILE) ((FILE)->_p - (FILE)->_bf._base)
+
+ /* 386BSD uses GNU C. */
+
+ /* #define C_COMPILER gcc -traditional */
+ #define C_COMPILER gcc
+
+ /* 386BSD stores the termcap database in /usr/share/misc rather than
+ /etc. We use the system termcap library to avoid putting a #ifdef
+ in termcap.c or forcing the user to use the TERMCAP environment
+ variable. */
+
+ #define LIBS_TERMCAP -ltermcap
+
+ /* 386BSD is nominally a POSIX.1 OS and has setsid. */
+
+ #ifndef HAVE_SETSID
+ #define HAVE_SETSID
+ #endif /* HAVE_SETSID */
diff -crN emacs-18.59.ORG/src/sysdep.c emacs-18.59/src/sysdep.c
*** emacs-18.59.ORG/src/sysdep.c Tue May 15 15:43:37 2007
--- emacs-18.59/src/sysdep.c Tue May 15 15:49:45 2007
***************
*** 62,69 ****
--- 62,71 ----
extern int errno;
#ifndef VMS
+ #if !defined(__NetBSD__)
extern char *sys_errlist[];
#endif
+ #endif
#ifdef VMS
#include <rms.h>
diff -crN emacs-18.59.ORG/src/termcap.c emacs-18.59/src/termcap.c
*** emacs-18.59.ORG/src/termcap.c Wed Jan 9 03:08:50 1991
--- emacs-18.59/src/termcap.c Tue May 15 15:49:46 2007
***************
*** 377,384 ****
--- 377,388 ----
#ifdef VMS
tem = "emacs_library:[etc]termcap.dat";
#else
+ #if defined(__NetBSD__)
+ tem = "/usr/share/misc/termcap";
+ #else
tem = "/etc/termcap";
#endif
+ #endif
/* Here we know we must search a file and tem has its name. */
-- patch end --
-rw-r--r-- 1 m-ito users 648474 May 16 13:43 jpegsrc.v6b.tar.gz ./configure --enable-shared --enable-static && make && make install
-rw-r--r-- 1 m-ito users 484396 May 17 19:27 giflib-4.1.4.tar.bz2 ./configure && make && make install
-rw-r--r-- 1 m-ito users 482708 May 17 19:28 libungif-4.1.4.tar.bz2 ./configure --without-x && make && make install
-rw-r--r-- 1 m-ito users 623690 May 17 19:28 libpng-1.2.18.tar.bz2 ./configure && make && make install
-rw-r--r-- 1 m-ito users 1336295 May 17 19:28 tiff-3.8.2.tar.gz ./configure && make && make install
-rw-r--r-- 1 m-ito users 683242 May 17 19:28 imlib-1.9.15.tar.bz2 CPPFLAGS="-I/usr/X11R6/include -I/usr/local/include" LDFLAGS="-L/usr/X11R6/lib -L/usr/local/lib" ./configure && make && make install
-rw-r--r-- 1 m-ito users 2564455 May 17 19:28 netpbm-10.26.42.tgz -rw-r--r-- 1 m-ito users 1442 Jul 9 19:46 netpbm-10.26.42.diff -- patch start -- *** Makefile.config.in.ORG Thu May 17 07:32:23 2007 --- Makefile.config.in Thu May 17 07:33:24 2007 *************** *** 160,166 **** # That way, the parts that don't required the ixemul library won't indicate # a dependency on it. #OpenBSD: ! #CFLAGS = -I/usr/local/include # EXE is a suffix that the linker puts on any executable it generates. # In cygwin, this is .exe and most programs deal with its existence without --- 160,166 ---- # That way, the parts that don't required the ixemul library won't indicate # a dependency on it. #OpenBSD: ! CFLAGS = -I/usr/local/include # EXE is a suffix that the linker puts on any executable it generates. # In cygwin, this is .exe and most programs deal with its existence without *************** *** 198,204 **** # here with LDFLAGS =, which would mean we had to override with the same # value it already had. I suspect it will work fine with no LDFLAGS # setting at all; need to confirm this on real FreeBSD and OpenBSD systems) ! #LDFLAGS += -L/usr/local/lib # Linker options for created Netpbm shared libraries. --- 198,204 ---- # here with LDFLAGS =, which would mean we had to override with the same # value it already had. I suspect it will work fine with no LDFLAGS # setting at all; need to confirm this on real FreeBSD and OpenBSD systems) ! LDFLAGS += -L/usr/local/lib # Linker options for created Netpbm shared libraries. -- patch end -- configure && make && make package && installnetpbm
-rw-r--r-- 1 m-ito users 998420 May 17 19:28 pkg-config-0.21.tar.gz
./configure && make && make install
PKG_CONFIG_PATH="${PKG_CONFIG_PATH}:/usr/local/lib/pkgconfig"
PKG_CONFIG_PATH="${PKG_CONFIG_PATH}:/usr/X11R6/lib/pkgconfig"
export PKG_CONFIG_PATH
-rw-r--r-- 1 m-ito users 338143 May 17 19:29 libid3tag-0.15.1b.tar.gz ./configure && make && make install
-rw-r--r-- 1 m-ito users 1067705 May 17 19:29 imlib2-1.4.0.tar.gz CPPFLAGS="-I/usr/X11R6/include -I/usr/local/include" LDFLAGS="-L/usr/X11R6/lib -L/usr/local/lib" ./configure && make && make install
-rw-r--r-- 1 m-ito users 6422604 May 18 11:56 ejdic.tar.gz
-rw-r--r-- 1 m-ito users 580961 May 18 12:25 libmad-0.15.1b.tar.gz ./configure && make && make install
-rw-r--r-- 1 m-ito users 697873 May 18 13:58 madplay-0.15.2b.tar.gz ./configure && make && make install
-rw-r--r-- 1 m-ito users 302960 May 18 14:24 8hz-mp3_v02b_win3204j.tar.gz make && cp 8hz-mp3 /usr/local/bin/
-rw-r--r-- 1 m-ito users 1649818 May 18 15:52 wget-1.10.2.tar.gz -rw-r--r-- 1 m-ito users 357 May 18 15:50 wget-1.10.2.diff -- patch start -- *** ./src/http-ntlm.c.ORG Fri May 18 15:02:18 2007 --- ./src/http-ntlm.c Fri May 18 15:03:19 2007 *************** *** 46,53 **** --- 46,58 ---- #endif #include <stdlib.h> + #if defined(__NetBSD__) + #include <des.h> + #include <md4.h> + #else #include <openssl/des.h> #include <openssl/md4.h> + #endif #include "wget.h" #include "utils.h" -- patch end -- LIBS=-ldes ./configure && make && make install
-rw-r--r-- 1 m-ito users 3200642 May 18 15:56 gnupg-1.4.7.tar.bz2 ./configure && make && make install
-rw-r--r-- 1 m-ito users 3915586 May 20 12:16 tcltk8.tar.gz
-- patch start --
*** ./unix/Makefile.in.ORG Sun May 20 09:22:30 2007
--- ./unix/Makefile.in Sun May 20 11:46:29 2007
***************
*** 344,349 ****
--- 344,350 ----
rm -f ${TCL_LIB_FILE}
@MAKE_LIB@
$(RANLIB) ${TCL_LIB_FILE}
+ ln -sf ${TCL_LIB_FILE} `echo ${TCL_LIB_FILE}|sed -e 's/\.so\..*$$/.so/'`
# Make target which outputs the list of the .o contained in the Tcl lib
# usefull to build a single big shared library containing Tcl and other
***************
*** 452,457 ****
--- 453,459 ----
@$(INSTALL_DATA) $(TCL_LIB_FILE) $(LIB_INSTALL_DIR)/$(TCL_LIB_FILE)
@(cd $(LIB_INSTALL_DIR); $(RANLIB) $(TCL_LIB_FILE))
@chmod 555 $(LIB_INSTALL_DIR)/$(TCL_LIB_FILE)
+ @ln -sf $(LIB_INSTALL_DIR)/${TCL_LIB_FILE} `echo $(LIB_INSTALL_DIR)/${TCL_LIB_FILE}|sed -e 's/\.so\..*$$/.so/'`
@echo "Installing tclsh"
@$(INSTALL_PROGRAM) tclsh $(BIN_INSTALL_DIR)/tclsh$(VERSION)
@echo "Installing tclConfig.sh"
-- patch end --
cd unix && rm -f libtcl80jp.so ; make clean && ./configure --enable-shared && make
make install && ln -sf /usr/local/bin/tclsh8.0jp /usr/local/bin/tclsh
-- patch start --
*** ./unix/Makefile.in.ORG Sun May 20 11:37:28 2007
--- ./unix/Makefile.in Sun May 20 11:42:19 2007
***************
*** 326,331 ****
--- 326,332 ----
rm -f ${TK_LIB_FILE}
@MAKE_LIB@
$(RANLIB) ${TK_LIB_FILE}
+ ln -sf ${TK_LIB_FILE} `echo ${TK_LIB_FILE}|sed -e 's/\.so\..*$$/.so/'`
# Make target which outputs the list of the .o contained in the Tk lib
# usefull to build a single big shared library containing Tcl/Tk and other
***************
*** 395,400 ****
--- 396,402 ----
@$(INSTALL_DATA) $(TK_LIB_FILE) $(LIB_INSTALL_DIR)/$(TK_LIB_FILE)
@(cd $(LIB_INSTALL_DIR); $(RANLIB) $(TK_LIB_FILE))
@chmod 555 $(LIB_INSTALL_DIR)/$(TK_LIB_FILE)
+ @ln -sf $(LIB_INSTALL_DIR)/${TK_LIB_FILE} `echo $(LIB_INSTALL_DIR)/${TK_LIB_FILE}|sed -e 's/\.so\..*$$/.so/'`
@echo "Installing wish"
@$(INSTALL_PROGRAM) wish $(BIN_INSTALL_DIR)/wish$(VERSION)
@echo "Installing tkConfig.sh"
-- patch end --
CPPFLAGS=-I/usr/X11R6/include ./configure --enable-shared && make && make install
-rw-r--r-- 1 m-ito users 8067 May 20 12:39 canfep-1.0.tar.gz
-rw-r--r-- 1 m-ito users 7709 May 20 12:39 canfep-1.0.diff
-- patch start --
diff -crN ../canfep-1.0.ORG/Makefile ./Makefile
*** ../canfep-1.0.ORG/Makefile Tue Dec 18 16:09:27 2001
--- ./Makefile Sun May 20 12:35:28 2007
***************
*** 1,7 ****
# Linux
CC=c++
LIBS=-lcanna -ltermcap
! CFLAGS=-O2 -g
# Solaris 2.6J
#CC=c++
--- 1,8 ----
# Linux
CC=c++
LIBS=-lcanna -ltermcap
! CFLAGS=-O2 -g -I/usr/local/canna/include
! LDFLAGS=-L/usr/local/canna/lib
# Solaris 2.6J
#CC=c++
***************
*** 19,25 ****
all: $(TARGET)
$(TARGET): $(OBJS)
! $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS)
.C.o:
$(CC) $(CFLAGS) -c $<
--- 20,26 ----
all: $(TARGET)
$(TARGET): $(OBJS)
! $(CC) $(CFLAGS) -o $@ $(OBJS) $(LDFLAGS) $(LIBS)
.C.o:
$(CC) $(CFLAGS) -c $<
diff -crN ../canfep-1.0.ORG/pty.C ./pty.C
*** ../canfep-1.0.ORG/pty.C Sat Dec 22 23:57:31 2001
--- ./pty.C Sun May 20 12:31:58 2007
***************
*** 11,16 ****
--- 11,18 ----
char Pty::endstr[] = "";
char Pty::endmsg[] = "";
+ static char nullstr[] = "";
+ static char *Tgetstr(char *id, char **area);
// コンストラクタだよん
Pty::Pty(int ac, char** av, char* amsg, char* emsg)
{
***************
*** 30,54 ****
char* pt = funcstr;
// スタンドアウト (反転)
! so = tgetstr("so", &pt);
adjstr(so);
! se = tgetstr("se", &pt);
adjstr(se);
// アンダーライン (下線)
! us = tgetstr("us", &pt);
adjstr(us);
! ue = tgetstr("ue", &pt);
adjstr(ue);
// カーソル位置の保存,保存した位置への復帰
! sc = tgetstr("sc", &pt);
adjstr(sc);
! rc = tgetstr("rc", &pt);
adjstr(rc);
// カーソル位置から行の最後までを削除する
! ce = tgetstr("ce", &pt);
adjstr(ce);
// ステータスラインを持っているかどうか
--- 32,56 ----
char* pt = funcstr;
// スタンドアウト (反転)
! so = Tgetstr("so", &pt);
adjstr(so);
! se = Tgetstr("se", &pt);
adjstr(se);
// アンダーライン (下線)
! us = Tgetstr("us", &pt);
adjstr(us);
! ue = Tgetstr("ue", &pt);
adjstr(ue);
// カーソル位置の保存,保存した位置への復帰
! sc = Tgetstr("sc", &pt);
adjstr(sc);
! rc = Tgetstr("rc", &pt);
adjstr(rc);
// カーソル位置から行の最後までを削除する
! ce = Tgetstr("ce", &pt);
adjstr(ce);
// ステータスラインを持っているかどうか
***************
*** 62,72 ****
// ステータスラインへ移動,戻る
if (hs) {
! ts = tgoto(tgetstr("ts", &pt), 0, 0);
adjstr(ts);
! fs = tgetstr("fs", &pt);
adjstr(fs);
! ds = tgetstr("ds", &pt);
adjstr(ds);
if (ds) {
strcat(endstr, ds);
--- 64,74 ----
// ステータスラインへ移動,戻る
if (hs) {
! ts = tgoto(Tgetstr("ts", &pt), 0, 0);
adjstr(ts);
! fs = Tgetstr("fs", &pt);
adjstr(fs);
! ds = Tgetstr("ds", &pt);
adjstr(ds);
if (ds) {
strcat(endstr, ds);
***************
*** 74,98 ****
}
}
else {
! char* cs = tgoto(tgetstr("cs", &pt), tgetnum("li") - 2, 0);
adjstr(cs);
if (cs) {
write(1, ce, strlen(ce));
write(1, cs, strlen(cs));
}
! char* cl = tgetstr("cl", &pt);
adjstr(cl);
if (cl) {
write(1, cl, strlen(cl));
strcat(endstr, cl);
}
! ds = tgoto(tgetstr("cs", &pt), tgetnum("li") - 1, 0);
adjstr(ds);
if (ds) {
strcat(endstr, ds);
strcat(endstr, ce);
}
! ts = tgoto(tgetstr("cm", &pt), 0, tgetnum("li") - 1);
adjstr(ts);
fs = rc;
}
--- 76,100 ----
}
}
else {
! char* cs = tgoto(Tgetstr("cs", &pt), tgetnum("li") - 2, 0);
adjstr(cs);
if (cs) {
write(1, ce, strlen(ce));
write(1, cs, strlen(cs));
}
! char* cl = Tgetstr("cl", &pt);
adjstr(cl);
if (cl) {
write(1, cl, strlen(cl));
strcat(endstr, cl);
}
! ds = tgoto(Tgetstr("cs", &pt), tgetnum("li") - 1, 0);
adjstr(ds);
if (ds) {
strcat(endstr, ds);
strcat(endstr, ce);
}
! ts = tgoto(Tgetstr("cm", &pt), 0, tgetnum("li") - 1);
adjstr(ts);
fs = rc;
}
***************
*** 133,138 ****
--- 135,148 ----
fail();
}
if (child) {
+ #if defined(__NetBSD__)
+ //
+ // 起動してもなぜか直に終了してしまう原因はexecしたshellが
+ // 起動しきる前に、その疑似端末のマスタ側を読み込もうとし
+ // ていたかららしい。
+ //
+ sleep(1);
+ #endif
close(0);
int cc;
int ret;
***************
*** 165,170 ****
--- 175,189 ----
dup2(slave, 1);
dup2(slave, 2);
close(slave);
+ #if defined(__NetBSD__)
+ //
+ // CTRL-C(SIGINT)等のシグナルが効かなかった原因は、疑似端末の
+ // スレーブが制御端末として設定できていなかったかららしい。
+ //
+ // stdin(=疑似端末のスレーブ)を制御端末とする
+ //
+ ioctl(0, TIOCSCTTY, 0);
+ #endif
if (ac > 1)
execvp(av[1], &av[1]);
else
***************
*** 334,358 ****
tgetent(buff, term);
char funcstr[BUFSIZ];
char* pt = funcstr;
! char* cs = tgoto(tgetstr("cs", &pt), tgetnum("li") - 2, 0);
adjstr(cs);
if (cs) {
write(1, ce, strlen(ce));
write(1, cs, strlen(cs));
}
! char* cl = tgetstr("cl", &pt);
adjstr(cl);
if (cl) {
write(1, cl, strlen(cl));
strcpy(endstr, cl);
}
! ds = tgoto(tgetstr("cs", &pt), tgetnum("li") - 1, 0);
adjstr(ds);
if (ds) {
strcat(endstr, ds);
strcat(endstr, ce);
}
! ts = tgoto(tgetstr("cm", &pt), 0, tgetnum("li") - 1);
adjstr(ts);
}
--- 353,377 ----
tgetent(buff, term);
char funcstr[BUFSIZ];
char* pt = funcstr;
! char* cs = tgoto(Tgetstr("cs", &pt), tgetnum("li") - 2, 0);
adjstr(cs);
if (cs) {
write(1, ce, strlen(ce));
write(1, cs, strlen(cs));
}
! char* cl = Tgetstr("cl", &pt);
adjstr(cl);
if (cl) {
write(1, cl, strlen(cl));
strcpy(endstr, cl);
}
! ds = tgoto(Tgetstr("cs", &pt), tgetnum("li") - 1, 0);
adjstr(ds);
if (ds) {
strcat(endstr, ds);
strcat(endstr, ce);
}
! ts = tgoto(Tgetstr("cm", &pt), 0, tgetnum("li") - 1);
adjstr(ts);
}
***************
*** 365,367 ****
--- 384,399 ----
signal(SIGWINCH, (SIG_PF) winchange);
}
+ //
+ // termcapエントリが貧弱な場合core dumpするのを防ぐ為のtgetstr代替
+ //
+ static char *Tgetstr(char *id, char **area)
+ {
+ static char *str;
+ str = tgetstr(id, area);
+ if (str == (char *)NULL){
+ return(nullstr);
+ }else{
+ return(str);
+ }
+ }
diff -crN ../canfep-1.0.ORG/pty.H ./pty.H
*** ../canfep-1.0.ORG/pty.H Sat Dec 22 23:56:54 2001
--- ./pty.H Sun May 20 12:31:58 2007
***************
*** 15,21 ****
#include <sys/file.h>
#include <sys/signal.h>
#include <sys/wait.h>
! #if defined(sun)
#include <curses.h>
#else
#include <term.h>
--- 15,21 ----
#include <sys/file.h>
#include <sys/signal.h>
#include <sys/wait.h>
! #if defined(sun) || defined(__NetBSD__)
#include <curses.h>
#else
#include <term.h>
-- patch end --
make && cp canfep /usr/local/bin/
-rw-r--r-- 1 m-ito users 1328058 May 21 11:40 lame-3.97.tar.gz ./configure && make && make install
-rw-r--r-- 1 m-ito users 819456 May 21 14:16 libsndfile-1.0.17.tar.gz ./configure && make && make install
-rw-r--r-- 1 m-ito users 1866308 May 21 16:13 flac-1.1.4.tar.gz ./configure && make && make install
-rw-r--r-- 1 m-ito users 707867 May 21 16:44 libsamplerate-0.1.2.tar.gz ./configure && make && make install
-rw-r--r-- 1 m-ito users 832959 May 21 19:48 sox-13.0.0.tar.gz LIBS=-lossaudio ./configure && make && make install
-rw-r--r-- 1 m-ito users 24400 May 22 19:29 MYCONFIG -- patch start -- *** /usr/src/sys/arch/hpcmips/conf/GENERIC Mon Aug 15 06:13:54 2005 --- MYCONFIG Tue May 22 19:29:15 2007 *************** *** 48,53 **** --- 48,63 ---- options SYSTRACE # system call vetting via systrace(1) options MSGBUFSIZE=8192 # dmesg buffer size + # System V IPC Options (see man 4 options) + options SYSVMSG + options SYSVSEM + #options SEMMNI=value + #options SEMMNS=value + #options SEMUME=value + #options SEMMNU=value + options SYSVSHM + #options SHMMAXPGS=value + ## UVM options. #options UVM_PAGE_TRKOWN #options UVMHIST -- patch end --
-rw-r--r-- 1 m-ito users 2402592 May 23 20:50 ncurses-5.6.tar.gz ./configure && make && make install
-rw-r--r-- 1 m-ito users 2796407 May 24 00:09 SDL-1.2.11.tar.gz ./configure && make && make install
-rw-r--r-- 1 m-ito users 1140291 May 24 13:25 unzip552.tar.gz make -f unix/Makefile bsd && make -f unix/Makefile install
-rw-r--r-- 1 m-ito users 961121 May 24 13:41 zip232.zip make -f unix/Makefile bsd && make -f unix/Makefile install
-rw-r--r-- 1 m-ito users 248270 May 25 17:22 aalib-1.2.tar.gz -rw-r--r-- 1 m-ito users 617 May 25 17:22 aalib-1.2.diff -- patch start -- *** ./config.sub.ORG Wed May 23 17:37:57 2007 --- ./config.sub Wed May 23 17:52:40 2007 *************** *** 614,620 **** # Here we handle the default manufacturer of certain CPU types. It is in # some cases the only manufacturer, in others, it is the most popular. ! mips) if [ x$os = x-linux ]; then basic_machine=mips-unknown else --- 614,620 ---- # Here we handle the default manufacturer of certain CPU types. It is in # some cases the only manufacturer, in others, it is the most popular. ! mips | hpcmips*) if [ x$os = x-linux ]; then basic_machine=mips-unknown else -- patch end -- CPPFLAGS="-I/usr/local/include -I/usr/X11R6/include" LDFLAGS="-L/usr/local/lib -L/usr/X11R6/lib" ./configure -without-x && make && make install
-rw-r--r-- 1 m-ito users 927768 May 25 21:19 libcaca-0.99.beta11.tar.gz ./configure --without-x --disable-doc --disable-x11 && make && make install
-rw-r--r-- 1 m-ito users 585643 Jun 9 08:33 sudo-1.6.8p12.tar.gz ./configure && make && make install
-rw-r--r-- 1 m-ito users 421480 Jun 9 13:15 glib-1.2.10.tar.gz -rw-r--r-- 1 m-ito users 871 Jun 9 13:15 glib-1.2.10.diff -- patch start -- *** config.sub.ORG Sat Jan 29 20:00:02 2005 --- config.sub Sat Jan 29 20:01:23 2005 *************** *** 212,218 **** | mipstx39-* | mipstx39el-* | mcore-* \ | f301-* | armv*-* | t3e-* \ | m88110-* | m680[01234]0-* | m683?2-* | m68360-* | z8k-* | d10v-* \ ! | thumb-* | v850-* | d30v-* | tic30-* | c30-* | fr30-* ) ;; # Recognize the various machine names and aliases which stand # for a CPU type and a company and sometimes even an OS. --- 212,218 ---- | mipstx39-* | mipstx39el-* | mcore-* \ | f301-* | armv*-* | t3e-* \ | m88110-* | m680[01234]0-* | m683?2-* | m68360-* | z8k-* | d10v-* \ ! | thumb-* | v850-* | d30v-* | tic30-* | c30-* | fr30-* | hpcmips-*) ;; # Recognize the various machine names and aliases which stand # for a CPU type and a company and sometimes even an OS. -- patch end -- ./configure && make && make install
-rw-r--r-- 1 m-ito users 3059432 Jun 9 19:33 gtk+-1.2.10.tar.gz
-rw-r--r-- 1 m-ito users 1840 Jun 9 19:33 gtk+-1.2.10.diff
-- patch start --
*** config.sub.ORG Sat Jan 29 20:36:10 2005
--- config.sub Sat Jan 29 20:36:49 2005
***************
*** 212,218 ****
| mipstx39-* | mipstx39el-* | mcore-* \
| f301-* | armv*-* | t3e-* \
| m88110-* | m680[01234]0-* | m683?2-* | m68360-* | z8k-* | d10v-* \
! | thumb-* | v850-* | d30v-* | tic30-* | c30-* | fr30-* )
;;
# Recognize the various machine names and aliases which stand
# for a CPU type and a company and sometimes even an OS.
--- 212,218 ----
| mipstx39-* | mipstx39el-* | mcore-* \
| f301-* | armv*-* | t3e-* \
| m88110-* | m680[01234]0-* | m683?2-* | m68360-* | z8k-* | d10v-* \
! | thumb-* | v850-* | d30v-* | tic30-* | c30-* | fr30-* | hpcmips-* )
;;
# Recognize the various machine names and aliases which stand
# for a CPU type and a company and sometimes even an OS.
*** configure.ORG Wed Feb 23 13:05:21 2005
--- configure Wed Feb 23 13:46:31 2005
***************
*** 76,81 ****
--- 76,83 ----
--disable-glibtest Do not try to compile and run a test GLIB program"
ac_help="$ac_help
--with-x use the X Window System"
+ ac_help="$ac_help
+ --with-xlocale force use X_LOCALE"
# Initialize some variables set by options.
# The variables have the same names as the options, with
***************
*** 427,432 ****
--- 429,437 ----
# Obsolete; use --with-x.
with_x=yes ;;
+ --with-xlocale)
+ with_xlocale=yes ;;
+
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
| --x-incl | --x-inc | --x-in | --x-i)
ac_prev=x_includes ;;
***************
*** 5845,5850 ****
--- 5850,5859 ----
need_x_locale=yes
fi
rm -fr conftest*
+ fi
+
+ if test "x$with_xlocale" = xyes; then
+ need_x_locale=yes
fi
echo "$ac_t""$need_x_locale" 1>&6
-- patch end --
./configure --with-native-locale=yes && make && make install
-rw-r--r-- 1 m-ito users 1426470 Jun 10 18:46 fvwm-2.4.20.tar.bz2 ./configure && make && make install
-rw-r--r-- 1 m-ito users 224935 Jun 10 20:35 tvtwm.pl11.tar.gz -rw-r--r-- 1 m-ito users 649 Jun 10 20:35 tvtwm.pl11.diff -- patch start -- *** Imakefile.ORG Sun Jun 10 19:52:29 2007 --- Imakefile Sun Jun 10 20:33:15 2007 *************** *** 25,31 **** XCOMM will define yylineno. If you get an "Undefined symbol: _yylineno" XCOMM when linking, adjust this to work on your system. ! #if defined(i386BsdArchitecture) || defined(LinuxArchitecture) # ifdef LexCmd LEX = LexCmd -l # else --- 25,31 ---- XCOMM will define yylineno. If you get an "Undefined symbol: _yylineno" XCOMM when linking, adjust this to work on your system. ! #if defined(i386BsdArchitecture) || defined(LinuxArchitecture) || defined(NetBSDArchitecture) # ifdef LexCmd LEX = LexCmd -l # else -- patch end -- xmkmf && make depend && make && make install
-rw-r--r-- 1 m-ito users 2945807 Jun 11 21:55 fltk-1.1.7-source.tar.bz2 ./configure --enable-shared && make && make install
-rw-r--r-- 1 m-ito users 1906812 Jun 12 12:23 w3m-0.5.2.tar.gz ./configure && make && make install
-rw-r--r-- 1 m-ito users 672709 Jun 12 12:30 dillo-0.8.6-i18n-misc-20060709.tar.bz2 -rw-r--r-- 1 m-ito users 266 Jun 12 12:30 dillo-0.8.6-i18n-misc-20060709.diff -- patch start -- *** dpi/https.c.ORG Thu Jun 21 14:02:57 2007 --- dpi/https.c Thu Jun 21 14:03:23 2007 *************** *** 62,68 **** --- 62,70 ---- #include "dpiutil.h" #define ENABLE_SSL + #if 0 #undef ENABLE_SSL + #endif #ifdef ENABLE_SSL #include <openssl/ssl.h> -- patch end -- ./configure --disable-dlgui --disable-threaded-dns --disable-anti-alias && make && make install
-rw-r--r-- 1 m-ito users 1021160 Jun 13 06:36 vtwm-5.4.7.tar.gz -rw-r--r-- 1 m-ito users 1502 Jun 13 06:36 vtwm-5.4.7.diff -- patch start -- *** Imakefile.ORG Tue Jun 12 22:21:28 2007 --- Imakefile Wed Jun 13 00:37:20 2007 *************** *** 26,35 **** XCOMM (the library must conform to the POSIX 1003.2 specification) XCOMM To omit sound support, uncomment this ! XCOMM NO_SOUND_SUPPORT = -DNO_SOUND_SUPPORT XCOMM and comment these ! SOUNDLIB = -L/usr/local/lib -lrplay ! SOUNDINC = -I/usr/local/include XCOMM (sound is supported only by way of the rplay library) XCOMM To omit Internationalization support, uncomment this --- 26,35 ---- XCOMM (the library must conform to the POSIX 1003.2 specification) XCOMM To omit sound support, uncomment this ! NO_SOUND_SUPPORT = -DNO_SOUND_SUPPORT XCOMM and comment these ! XCOMM SOUNDLIB = -L/usr/local/lib -lrplay ! XCOMM SOUNDINC = -I/usr/local/include XCOMM (sound is supported only by way of the rplay library) XCOMM To omit Internationalization support, uncomment this *************** *** 42,48 **** XCOMM NO_BUILD_INFO = -DNO_BUILD_INFO XCOMM For lexers that don't track line numbers, uncomment this ! XCOMM NEED_YYLINENO_V = -DNEED_YYLINENO_V XCOMM For those systems that don't have putenv(), uncomment this XCOMM NEED_PUTENV_F = -DNEED_PUTENV_F --- 42,49 ---- XCOMM NO_BUILD_INFO = -DNO_BUILD_INFO XCOMM For lexers that don't track line numbers, uncomment this ! NEED_YYLINENO_V = -DNEED_YYLINENO_V ! LEX = lex -l XCOMM For those systems that don't have putenv(), uncomment this XCOMM NEED_PUTENV_F = -DNEED_PUTENV_F -- patch end -- xmkmf && make && vmake install
-rw-r--r-- 1 m-ito users 168968 Jun 14 21:29 xpm-3.4k.tar.gz xmkmf -a && make && make install && make install.man
-rw-r--r-- 1 m-ito users 522233 Jun 15 13:09 xpaint-2.6.9.tar.bz2
-rw-r--r-- 1 m-ito users 1605 Jun 15 13:09 xpaint-2.6.9.diff
-- patch start --
*** ./rw/rwTable.c.ORG Fri Jun 15 11:56:03 2007
--- ./rw/rwTable.c Fri Jun 15 11:56:58 2007
***************
*** 244,250 ****
--- 244,252 ----
RWGetMsg()
{
#if defined(BSD4_4)
+ #if !defined(__NetBSD__)
__const extern char *__const sys_errlist[];
+ #endif
#else
#ifndef __GLIBC__
#ifndef SYS_ERRLIST_DEFINED
*** ./misc.h.ORG Fri Jun 15 09:26:38 2007
--- ./misc.h Fri Jun 15 09:27:38 2007
***************
*** 23,29 ****
long random(void);
#endif
! #if !defined(linux) & !defined(__EMX__) & !defined(__FreeBSD__) & !defined(__CYGWIN__)
#if defined(BSD4_4) || defined(HPArchitecture) || defined(SGIArchitecture) || defined(_AIX) || defined(_SCO_DS)
void srandom(unsigned int);
#else
--- 23,29 ----
long random(void);
#endif
! #if !defined(linux) & !defined(__EMX__) & !defined(__FreeBSD__) & !defined(__CYGWIN__) & !defined(__NetBSD__)
#if defined(BSD4_4) || defined(HPArchitecture) || defined(SGIArchitecture) || defined(_AIX) || defined(_SCO_DS)
void srandom(unsigned int);
#else
*** ./Imakefile.ORG Fri Jun 15 12:18:12 2007
--- ./Imakefile Fri Jun 15 12:18:53 2007
***************
*** 89,95 ****
#endif
DEPLIBS = always xpaint.man XPaint.ad
! LOCAL_LIBRARIES = -Lrw -lrw $(XPM_LIB) $(TIFF_LIB) $(SGI_LIB) $(JPEG_LIB) $(PNG_LIB) -ldl -rdynamic
SUBDIRS = rw
--- 89,96 ----
#endif
DEPLIBS = always xpaint.man XPaint.ad
! ##LOCAL_LIBRARIES = -Lrw -lrw $(XPM_LIB) $(TIFF_LIB) $(SGI_LIB) $(JPEG_LIB) $(PNG_LIB) -ldl -rdynamic
! LOCAL_LIBRARIES = -Lrw -lrw $(XPM_LIB) $(TIFF_LIB) $(SGI_LIB) $(JPEG_LIB) $(PNG_LIB) -rdynamic
SUBDIRS = rw
-- patch end --
xmkmf -a && make && make install && make install.man
-rw-r--r-- 1 m-ito users 447363 Jun 16 23:50 live.2007.04.24a.tar.gz ./genMakefiles openbsd && make && cd .. && cp -r live /usr/local/lib/
-rw-r--r-- 1 m-ito users 9428101 Jun 16 23:50 MPlayer-1.0rc1.tar.bz2
-rw-r--r-- 1 m-ito users 1290 Jun 16 23:50 cddb_fix_20070605.diff
-rw-r--r-- 1 m-ito users 3411 Jun 16 23:50 MPlayer-1.0rc1.diff
-rw-r--r-- 1 m-ito users 255757 Jun 16 23:50 26204-700.zip
-rw-r--r-- 1 m-ito users 292640 Jun 16 23:50 26104-610.zip
-rw-r--r-- 1 m-ito users 13808014 Jun 16 23:50 all-20061022.tar.bz2
-rw-r--r-- 1 m-ito users 157024 Jun 16 23:51 Blue-small-1.4.tar.bz2
-rw-r--r-- 1 m-ito users 55604 Jun 17 00:18 disappearer-1.1.tar.bz2
-rw-r--r-- 1 m-ito users 222567 Jun 17 00:18 Blue-1.7.tar.bz2
# http://www.mplayerhq.hu/MPlayer/patches/cddb_fix_20070605.diff
patch <cddb_fix_20070605.diff
-- patch start --
*** ./libass/ass_render.c.ORG Thu May 31 13:02:55 2007
--- ./libass/ass_render.c Thu May 31 13:28:16 2007
***************
*** 281,287 ****
--- 281,289 ----
ass_face_cache_done();
ass_glyph_cache_done();
if (render_context.stroker) {
+ #if !defined(__NetBSD__)
FT_Stroker_Done(render_context.stroker);
+ #endif
render_context.stroker = 0;
}
if (priv && priv->library) FT_Done_FreeType(priv->library);
***************
*** 631,636 ****
--- 633,639 ----
b = 64 * border * frame_context.border_scale;
if (b > 0) {
if (!render_context.stroker) {
+ #if !defined(__NetBSD__)
int error;
#if (FREETYPE_MAJOR > 2) || ((FREETYPE_MAJOR == 2) && (FREETYPE_MINOR > 1))
error = FT_Stroker_New( ass_instance->library, &render_context.stroker );
***************
*** 641,654 ****
--- 644,662 ----
mp_msg(MSGT_GLOBAL, MSGL_V, "failed to get stroker\n");
render_context.stroker = 0;
}
+ #endif
}
+ #if !defined(__NetBSD__)
if (render_context.stroker)
FT_Stroker_Set( render_context.stroker, b,
FT_STROKER_LINECAP_ROUND,
FT_STROKER_LINEJOIN_ROUND,
0 );
+ #endif
} else {
+ #if !defined(__NetBSD__)
FT_Stroker_Done(render_context.stroker);
+ #endif
render_context.stroker = 0;
}
}
***************
*** 1297,1306 ****
--- 1305,1316 ----
if (render_context.stroker) {
info->outline_glyph = info->glyph;
+ #if !defined(__NetBSD__)
error = FT_Glyph_Stroke( &(info->outline_glyph), render_context.stroker, 0 ); // don't destroy original
if (error) {
mp_msg(MSGT_GLOBAL, MSGL_WARN, "FT_Glyph_Stroke error %d \n", error);
}
+ #endif
} else {
info->outline_glyph = 0;
}
*** ./configure.ORG Wed May 23 13:13:19 2007
--- ./configure Wed May 23 13:15:19 2007
***************
*** 584,590 ****
# host's CPU/instruction set
host_arch=`uname -p 2>&1`
case "$host_arch" in
! i386|sparc|ppc|alpha|arm|mips|vax)
;;
powerpc) # Darwin returns 'powerpc'
host_arch=ppc
--- 584,590 ----
# host's CPU/instruction set
host_arch=`uname -p 2>&1`
case "$host_arch" in
! i386|sparc|ppc|alpha|arm|mips|vax|mipsel)
;;
powerpc) # Darwin returns 'powerpc'
host_arch=ppc
***************
*** 1368,1374 ****
fi
;;
! mips)
_def_arch='#define ARCH_SGI_MIPS 1'
_target_arch='TARGET_ARCH_SGI_MIPS = yes'
iproc='sgi-mips'
--- 1368,1374 ----
fi
;;
! mips|mipsel)
_def_arch='#define ARCH_SGI_MIPS 1'
_target_arch='TARGET_ARCH_SGI_MIPS = yes'
iproc='sgi-mips'
*** ./Makefile.ORG Sun May 27 12:03:46 2007
--- ./Makefile Thu May 31 09:43:03 2007
***************
*** 68,75 ****
OBJS_MPLAYER = $(SRCS_MPLAYER:.c=.o)
VO_LIBS = $(AA_LIB) \
- $(X_LIB) \
$(SDL_LIB) \
$(GGI_LIB) \
$(SVGA_LIB) \
$(DIRECTFB_LIB) \
--- 68,75 ----
OBJS_MPLAYER = $(SRCS_MPLAYER:.c=.o)
VO_LIBS = $(AA_LIB) \
$(SDL_LIB) \
+ $(X_LIB) \
$(GGI_LIB) \
$(SVGA_LIB) \
$(DIRECTFB_LIB) \
***************
*** 380,386 ****
--- 380,388 ----
$(GUI_LIBS) \
$(COMMON_LIBS) \
$(VO_LIBS) \
+ $(ADHOC_VO_LIBS) \
$(AO_LIBS) \
+ $(ADHOC_AO_LIBS) \
$(STATIC_LIB) \
$(PRG): $(MPLAYER_DEP)
-- patch end --
unzip 26104-610.zip
unzip 26104-610_ANSI_C_source_code.zip
mv c-code libavcodec/amr_float
unzip 26204-600.zip
unzip 26204-600_ANSI-C_source_code.zip
mv c-code libavcodec/amrwb_float
CPPFLAGS="-I/usr/local/include -I/usr/X11R6/include" LDFLAGS="-L/usr/local/lib -L/usr/X11R6/lib" ./configure --enable-gui --enable-aa --enable-caca --enable-live --with-livelibdir=/usr/local/lib/live
make ADHOC_VO_LIBS="-laa -lcaca -lncurses" && make install
tar xvzf all-20061022.tar.bz2
mkdir /usr/local/lib/codecs
cp all-20061022/* /usr/local/lib/codecs/
cd /usr/local/share/mplayer/
ln -s /usr/X11R6/lib/X11/fonts/TTF/Vera.ttf subfont.ttf
cd /usr/local/share/mplayer/
mkdir skins
cd skins
tar xvjf Blue-1.7.tar.bz2
ln -s Blue default
#! /bin/sh # # usage : dvd2hpcmips.sh 出力ファイル名 # mencoder dvd://1 -afm libmad, -vfm ffmpeg, -af resample=8000:0:2,format=s16le,pan=1:.5:.5 -vf scale -zoom -xy 180 -oac lavc -ovc lavc -lavcopts acodec=mp3:abitrate=32:vcodec=mpeg4:vbitrate=64:vhq:vpass=1 -ofps 10 -o /dev/null mencoder dvd://1 -afm libmad, -vfm ffmpeg, -af resample=8000:0:2,format=s16le,pan=1:.5:.5 -vf scale -zoom -xy 180 -oac lavc -ovc lavc -lavcopts acodec=mp3:abitrate=32:vcodec=mpeg4:vbitrate=64:vhq:vpass=2 -ofps 10 -o $1
#! /bin/sh
while [ $# != 0 ]
do
audioctl -w play.rate=8000
mplayer -really-quiet -msglevel all=-1 -framedrop -vo sdl -ao oss -vfm ffmpeg, -afm libmad, -monitorpixelaspect 1:1 $1
shift
done
-rw-r--r-- 1 m-ito users 423193 Jun 17 17:11 mgl2-alpha-020.tar.gz
-rw-r--r-- 1 m-ito users 28993 Jun 17 17:12 mgterm-wp.2002.10.15.patch.gz
-rw-r--r-- 1 m-ito users 34060 Jun 17 17:12 mgl2-alpha-020.diff
-- patch start --
*** ./bin/imsoft.c.ORG Sun Jun 17 15:31:08 2007
--- ./bin/imsoft.c Sun Jun 17 15:34:14 2007
***************
*** 57,109 ****
*/
! static char *kb_layout1="\
! -----------------------------------------------+
! |
! -----------------------------------------------+
! Esc| 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | BS|
! ---+---+---+---+---+---+---+---+---+---+---+---+
! Tab| q | w | e | r | t | y | u | i | o | p |Ent|
! ---+---+---+---+---+---+---+---+---+---+---+- |
! Caps| a | s | d | f | g | h | j | k | l | ; |er|
! ----+---+---+---+---+---+---+---+---+---+---+--|
! Shift| z | x | c | v | b | n | m | , | . |↑|@ |
! -----+---+---+---+---+---+---+---+---+---+--+--+
! Ctrl |Alt |Hide | |Kanji |←|↓|→|
! -----+-----+-----+-------------+-----------+---+
! ";
!
! static char *kb_layout2="\
! -----------------------------------------------+
! |
! -----------------------------------------------+
! Esc| ! | \" | # | $ | % | & | ' | ( | ) | ~ | BS|
! ---+---+---+---+---+---+---+---+---+---+---+---+
! Tab| Q | W | E | R | T | Y | U | I | O | P |Ent|
! ---+---+---+---+---+---+---+---+---+---+---+- |
! Caps| A | S | D | F | G | H | J | K | L | + |er|
! ----+---+---+---+---+---+---+---+---+---+---+--|
! Shift| Z | X | C | V | B | N | M | < | > |↑|` |
! -----+---+---+---+---+---+---+---+---+---+--+--+
! Ctrl |Alt |Hide | |Kanji |←|↓|→|
! -----+-----+-----+-------------+-----------+---+
! ";
!
! static char *kb_layout3="\
! -----------------------------------------------+
! |
! -----------------------------------------------+
! Esc| | BS|
! ---+---+---+---+---+---+---+---+---+---+---+---+
! Han| q | w | e | r | t | y | u | i | o | p |Ent|
! ---+---+---+---+---+---+---+---+---+---+---+- |
! Zen | a | s | d | f | g | h | j | k | l | ; |er|
! ----+---+---+---+---+---+---+---+---+---+---+--|
! Kata | z | x | c | v | b | n | m | , | . |↑|/ |
! -----+---+---+---+---+---+---+---+---+---+--+--+
! Dic | \\ | @ | - | = | |Alpha |←|↓|→|
! -----+-----+-----+-------------+-----------+---+
! ";
#define MK_CAPS MK_V1
#define MK_SHIFT MK_V2
--- 57,106 ----
*/
! static char *kb_layout1=
! "-----------------------------------------------+\n"
! " |\n"
! "-----------------------------------------------+\n"
! "Esc| 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | BS|\n"
! "---+---+---+---+---+---+---+---+---+---+---+---+\n"
! "Tab| q | w | e | r | t | y | u | i | o | p |Ent|\n"
! "---+---+---+---+---+---+---+---+---+---+---+- |\n"
! "Caps| a | s | d | f | g | h | j | k | l | ; |er|\n"
! "----+---+---+---+---+---+---+---+---+---+---+--|\n"
! "Shift| z | x | c | v | b | n | m | , | . |↑|@ |\n"
! "-----+---+---+---+---+---+---+---+---+---+--+--+\n"
! "Ctrl |Alt |Hide | |Kanji |←|↓|→|\n"
! "-----+-----+-----+-------------+-----------+---+\n";
!
! static char *kb_layout2=
! "-----------------------------------------------+\n"
! " |\n"
! "-----------------------------------------------+\n"
! "Esc| ! | \" | # | $ | % | & | ' | ( | ) | ~ | BS|\n"
! "---+---+---+---+---+---+---+---+---+---+---+---+\n"
! "Tab| Q | W | E | R | T | Y | U | I | O | P |Ent|\n"
! "---+---+---+---+---+---+---+---+---+---+---+- |\n"
! "Caps| A | S | D | F | G | H | J | K | L | + |er|\n"
! "----+---+---+---+---+---+---+---+---+---+---+--|\n"
! "Shift| Z | X | C | V | B | N | M | < | > |↑|` |\n"
! "-----+---+---+---+---+---+---+---+---+---+--+--+\n"
! "Ctrl |Alt |Hide | |Kanji |←|↓|→|\n"
! "-----+-----+-----+-------------+-----------+---+\n";
!
! static char *kb_layout3=
! "-----------------------------------------------+\n"
! " |\n"
! "-----------------------------------------------+\n"
! "Esc| | BS|\n"
! "---+---+---+---+---+---+---+---+---+---+---+---+\n"
! "Han| q | w | e | r | t | y | u | i | o | p |Ent|\n"
! "---+---+---+---+---+---+---+---+---+---+---+- |\n"
! "Zen | a | s | d | f | g | h | j | k | l | ; |er|\n"
! "----+---+---+---+---+---+---+---+---+---+---+--|\n"
! "Kata | z | x | c | v | b | n | m | , | . |↑|/ |\n"
! "-----+---+---+---+---+---+---+---+---+---+--+--+\n"
! "Dic | \\ | @ | - | = | |Alpha |←|↓|→|\n"
! "-----+-----+-----+-------------+-----------+---+\n";
#define MK_CAPS MK_V1
#define MK_SHIFT MK_V2
*** ./demos/iconedit.c.ORG Sun Jun 17 16:11:14 2007
--- ./demos/iconedit.c Sun Jun 17 16:18:50 2007
***************
*** 91,311 ****
/* 読み込みファイル名 */
char load_name[256]="icon_c.mgr";
! char *icon_edit ="\
! #MGR000200160016
! ++++++++++++++++
! ++iiiiiiiiiii+++
! +iiiiiiii@iiii++
! +iiiiiii@B@iii++
! +iiiiii@BBB@ii++
! +iiiii@BBBBB@i++
! +iiii@BBBBB@ii++
! +iii@BBBBB@iii++
! +ii@k@BBB@iiii++
! +ii@kk@B@iiiii++
! +ii@@kk@iiiiii++
! +ii@@@@iiiiiii++
! +iiiiiiiiiiiii++
! ++iiiiiiiiiii+++
! ++++++++++++++++
! ++++++++++++++++
! ";
!
! char *icon_pen ="\
! #MGR000200160016
! +iiiiiiiiiii++++
! iiiiiiii@iiii+++
! iiiiiii@B@iii+++
! iiiiii@BBB@ii+++
! iiiii@BBBBB@i+++
! iiii@BBBBB@ii+++
! iii@BBBBB@iii+++
! ii@k@BBB@iiii+++
! ii@kk@B@iiiii+++
! ii@@kk@iiiiii+++
! ii@@@@iiiiiii+++
! iiiiiiiiiiiii+++
! +iiiiiiiiiii++++
! ++++++++++++++++
! ++++++++++++++++
! ++++++++++++++++
! ";
!
! char *icon_brush="\
! #MGR000200160016
! +iiiiiiiiiii++++
! iiii@@@@@iiii+++
! iiii@jjj@iiii+++
! iiii@jjj@iiii+++
! i@@@@jjj@@@@i+++
! i@jjjjjjjjj@i+++
! i@jjjjjjjjj@i+++
! i@@@@@@@@@@@i+++
! iiEBEBEBEBEii+++
! iiEBEBEBEBEii+++
! iiEBEBEBEBEii+++
! iEBEBEBEBEiii+++
! +iiiiiiiiiii++++
! ++++++++++++++++
! ++++++++++++++++
! ++++++++++++++++
! ";
!
! char *icon_pickup="\
! #MGR000200160016
! +iiiiiiiiiii++++
! ii@@@iiiiiiii+++
! ii@@@iiiiiiii+++
! i@@@@@@@@@@@i+++
! i@+++@@@+++@i+++
! i@++@SSS@++@i+++
! i@+@SSSSS@+@i+++
! i@+@SSSSS@+@i+++
! i@++@SSS@++@i+++
! i@+++@@@+++@i+++
! i@@@@@@@@@@@i+++
! iiiiiiiiiiiii+++
! +iiiiiiiiiii++++
! ++++++++++++++++
! ++++++++++++++++
! ++++++++++++++++
! ";
! char *icon_load ="\
! #MGR000200160016
! +iiiiiiiiiii++++
! i@@@@@@@@@iii+++
! i@=@==;;@=@ii+++
! i@=@==;;@==@i+++
! i@=@==;;@==@i+++
! i@=@@@@@@==@i+++
! i@==r======@i+++
! i@==r======@i+++
! i@==r======@i+++
! i@==r======@i+++
! i@==rrrrr==@i+++
! i@@@@@@@@@@@i+++
! +iiiiiiiiiii++++
! ++++++++++++++++
! ++++++++++++++++
! ++++++++++++++++
! ";
!
! char *icon_save ="\
! #MGR000200160016
! +iiiiiiiiiii++++
! i@@@@@@@@@iii+++
! i@=@==;;@=@ii+++
! i@=@==;;@==@i+++
! i@=@==;;@==@i+++
! i@=@@@@@@==@i+++
! i@===rrrr==@i+++
! i@==r======@i+++
! i@===rr====@i+++
! i@=====r===@i+++
! i@=rrrr====@i+++
! i@@@@@@@@@@@i+++
! +iiiiiiiiiii++++
! ++++++++++++++++
! ++++++++++++++++
! ++++++++++++++++
! ";
!
! char *icon_down ="\
! #MGR000200160016
! +iiiiiiiiiii++++
! iiii@@@@@iiii+++
! iiii@TTT@iiii+++
! iiii@TTT@iiii+++
! iiii@TTT@iiii+++
! i@@@@TTT@@@@i+++
! i@TTTTTTTTT@i+++
! ii@TTTTTTT@ii+++
! iii@TTTTT@iii+++
! iiii@TTT@iiii+++
! iiiii@T@iiiii+++
! iiiiii@iiiiii+++
! +iiiiiiiiiii++++
! ++++++++++++++++
! ++++++++++++++++
! ++++++++++++++++
! ";
! char *icon_up ="\
! #MGR000200160016
! +iiiiiiiiiii++++
! iiiiii@iiiiii+++
! iiiii@T@iiiii+++
! iiii@TTT@iiii+++
! iii@TTTTT@iii+++
! ii@TTTTTTT@ii+++
! i@TTTTTTTTT@i+++
! i@@@@TTT@@@@i+++
! iiii@TTT@iiii+++
! iiii@TTT@iiii+++
! iiii@TTT@iiii+++
! iiii@@@@@iiii+++
! +iiiiiiiiiii++++
! ++++++++++++++++
! ++++++++++++++++
! ++++++++++++++++
! ";
! char *icon_left ="\
! #MGR000200160016
! +iiiiiiiiiii++++
! iiiiii@@iiiii+++
! iiiii@T@iiiii+++
! iiii@TT@iiiii+++
! iii@TTT@@@@@i+++
! ii@TTTTTTTT@i+++
! i@TTTTTTTTT@i+++
! ii@TTTTTTTT@i+++
! iii@TTT@@@@@i+++
! iiii@TT@iiiii+++
! iiiii@T@iiiii+++
! iiiiii@@iiiii+++
! +iiiiiiiiiii++++
! ++++++++++++++++
! ++++++++++++++++
! ++++++++++++++++
! ";
! char *icon_right ="\
! #MGR000200160016
! +iiiiiiiiiii++++
! iiiii@@iiiiii+++
! iiiii@T@iiiii+++
! iiiii@TT@iiii+++
! i@@@@@TTT@iii+++
! i@TTTTTTTT@ii+++
! i@TTTTTTTTT@i+++
! i@TTTTTTTT@ii+++
! i@@@@@TTT@iii+++
! iiiii@TT@iiii+++
! iiiii@T@iiiii+++
! iiiii@@iiiiii+++
! +iiiiiiiiiii++++
! ++++++++++++++++
! ++++++++++++++++
! ++++++++++++++++
! ";
!
! char *icon_gray ="\
! #MGR000200160016
! +iiiiiiiiiii++++
! i@@@@@@@@@@@i+++
! i@@@@@@****@i+++
! i@@@@@@****@i+++
! i@@@@@@****@i+++
! i@@@@@@****@i+++
! i@@@@@@@@@@@i+++
! i@++++@....@i+++
! i@++++@....@i+++
! i@++++@....@i+++
! i@++++@....@i+++
! i@@@@@@@@@@@i+++
! +iiiiiiiiiii++++
! ++++++++++++++++
! ++++++++++++++++
! ++++++++++++++++
! ";
#ifndef NULL
#define NULL (void *)0
--- 91,304 ----
/* 読み込みファイル名 */
char load_name[256]="icon_c.mgr";
! char *icon_edit =
! "#MGR000200160016\n"
! "++++++++++++++++\n"
! "++iiiiiiiiiii+++\n"
! "+iiiiiiii@iiii++\n"
! "+iiiiiii@B@iii++\n"
! "+iiiiii@BBB@ii++\n"
! "+iiiii@BBBBB@i++\n"
! "+iiii@BBBBB@ii++\n"
! "+iii@BBBBB@iii++\n"
! "+ii@k@BBB@iiii++\n"
! "+ii@kk@B@iiiii++\n"
! "+ii@@kk@iiiiii++\n"
! "+ii@@@@iiiiiii++\n"
! "+iiiiiiiiiiiii++\n"
! "++iiiiiiiiiii+++\n"
! "++++++++++++++++\n"
! "++++++++++++++++\n";
!
! char *icon_pen =
! "#MGR000200160016\n"
! "+iiiiiiiiiii++++\n"
! "iiiiiiii@iiii+++\n"
! "iiiiiii@B@iii+++\n"
! "iiiiii@BBB@ii+++\n"
! "iiiii@BBBBB@i+++\n"
! "iiii@BBBBB@ii+++\n"
! "iii@BBBBB@iii+++\n"
! "ii@k@BBB@iiii+++\n"
! "ii@kk@B@iiiii+++\n"
! "ii@@kk@iiiiii+++\n"
! "ii@@@@iiiiiii+++\n"
! "iiiiiiiiiiiii+++\n"
! "+iiiiiiiiiii++++\n"
! "++++++++++++++++\n"
! "++++++++++++++++\n"
! "++++++++++++++++\n";
!
! char *icon_brush=
! "#MGR000200160016\n"
! "+iiiiiiiiiii++++\n"
! "iiii@@@@@iiii+++\n"
! "iiii@jjj@iiii+++\n"
! "iiii@jjj@iiii+++\n"
! "i@@@@jjj@@@@i+++\n"
! "i@jjjjjjjjj@i+++\n"
! "i@jjjjjjjjj@i+++\n"
! "i@@@@@@@@@@@i+++\n"
! "iiEBEBEBEBEii+++\n"
! "iiEBEBEBEBEii+++\n"
! "iiEBEBEBEBEii+++\n"
! "iEBEBEBEBEiii+++\n"
! "+iiiiiiiiiii++++\n"
! "++++++++++++++++\n"
! "++++++++++++++++\n"
! "++++++++++++++++\n";
!
! char *icon_pickup=
! "#MGR000200160016\n"
! "+iiiiiiiiiii++++\n"
! "ii@@@iiiiiiii+++\n"
! "ii@@@iiiiiiii+++\n"
! "i@@@@@@@@@@@i+++\n"
! "i@+++@@@+++@i+++\n"
! "i@++@SSS@++@i+++\n"
! "i@+@SSSSS@+@i+++\n"
! "i@+@SSSSS@+@i+++\n"
! "i@++@SSS@++@i+++\n"
! "i@+++@@@+++@i+++\n"
! "i@@@@@@@@@@@i+++\n"
! "iiiiiiiiiiiii+++\n"
! "+iiiiiiiiiii++++\n"
! "++++++++++++++++\n"
! "++++++++++++++++\n"
! "++++++++++++++++\n";
!
! char *icon_load =
! "#MGR000200160016\n"
! "+iiiiiiiiiii++++\n"
! "i@@@@@@@@@iii+++\n"
! "i@=@==;;@=@ii+++\n"
! "i@=@==;;@==@i+++\n"
! "i@=@==;;@==@i+++\n"
! "i@=@@@@@@==@i+++\n"
! "i@==r======@i+++\n"
! "i@==r======@i+++\n"
! "i@==r======@i+++\n"
! "i@==r======@i+++\n"
! "i@==rrrrr==@i+++\n"
! "i@@@@@@@@@@@i+++\n"
! "+iiiiiiiiiii++++\n"
! "++++++++++++++++\n"
! "++++++++++++++++\n"
! "++++++++++++++++\n";
!
! char *icon_save =
! "#MGR000200160016\n"
! "+iiiiiiiiiii++++\n"
! "i@@@@@@@@@iii+++\n"
! "i@=@==;;@=@ii+++\n"
! "i@=@==;;@==@i+++\n"
! "i@=@==;;@==@i+++\n"
! "i@=@@@@@@==@i+++\n"
! "i@===rrrr==@i+++\n"
! "i@==r======@i+++\n"
! "i@===rr====@i+++\n"
! "i@=====r===@i+++\n"
! "i@=rrrr====@i+++\n"
! "i@@@@@@@@@@@i+++\n"
! "+iiiiiiiiiii++++\n"
! "++++++++++++++++\n"
! "++++++++++++++++\n"
! "++++++++++++++++\n";
!
! char *icon_down =
! "#MGR000200160016\n"
! "+iiiiiiiiiii++++\n"
! "iiii@@@@@iiii+++\n"
! "iiii@TTT@iiii+++\n"
! "iiii@TTT@iiii+++\n"
! "iiii@TTT@iiii+++\n"
! "i@@@@TTT@@@@i+++\n"
! "i@TTTTTTTTT@i+++\n"
! "ii@TTTTTTT@ii+++\n"
! "iii@TTTTT@iii+++\n"
! "iiii@TTT@iiii+++\n"
! "iiiii@T@iiiii+++\n"
! "iiiiii@iiiiii+++\n"
! "+iiiiiiiiiii++++\n"
! "++++++++++++++++\n"
! "++++++++++++++++\n"
! "++++++++++++++++\n";
!
! char *icon_up =
! "#MGR000200160016\n"
! "+iiiiiiiiiii++++\n"
! "iiiiii@iiiiii+++\n"
! "iiiii@T@iiiii+++\n"
! "iiii@TTT@iiii+++\n"
! "iii@TTTTT@iii+++\n"
! "ii@TTTTTTT@ii+++\n"
! "i@TTTTTTTTT@i+++\n"
! "i@@@@TTT@@@@i+++\n"
! "iiii@TTT@iiii+++\n"
! "iiii@TTT@iiii+++\n"
! "iiii@TTT@iiii+++\n"
! "iiii@@@@@iiii+++\n"
! "+iiiiiiiiiii++++\n"
! "++++++++++++++++\n"
! "++++++++++++++++\n"
! "++++++++++++++++\n";
!
! char *icon_left =
! "#MGR000200160016\n"
! "+iiiiiiiiiii++++\n"
! "iiiiii@@iiiii+++\n"
! "iiiii@T@iiiii+++\n"
! "iiii@TT@iiiii+++\n"
! "iii@TTT@@@@@i+++\n"
! "ii@TTTTTTTT@i+++\n"
! "i@TTTTTTTTT@i+++\n"
! "ii@TTTTTTTT@i+++\n"
! "iii@TTT@@@@@i+++\n"
! "iiii@TT@iiiii+++\n"
! "iiiii@T@iiiii+++\n"
! "iiiiii@@iiiii+++\n"
! "+iiiiiiiiiii++++\n"
! "++++++++++++++++\n"
! "++++++++++++++++\n"
! "++++++++++++++++\n";
!
! char *icon_right =
! "#MGR000200160016\n"
! "+iiiiiiiiiii++++\n"
! "iiiii@@iiiiii+++\n"
! "iiiii@T@iiiii+++\n"
! "iiiii@TT@iiii+++\n"
! "i@@@@@TTT@iii+++\n"
! "i@TTTTTTTT@ii+++\n"
! "i@TTTTTTTTT@i+++\n"
! "i@TTTTTTTT@ii+++\n"
! "i@@@@@TTT@iii+++\n"
! "iiiii@TT@iiii+++\n"
! "iiiii@T@iiiii+++\n"
! "iiiii@@iiiiii+++\n"
! "+iiiiiiiiiii++++\n"
! "++++++++++++++++\n"
! "++++++++++++++++\n"
! "++++++++++++++++\n";
!
! char *icon_gray =
! "#MGR000200160016\n"
! "+iiiiiiiiiii++++\n"
! "i@@@@@@@@@@@i+++\n"
! "i@@@@@@****@i+++\n"
! "i@@@@@@****@i+++\n"
! "i@@@@@@****@i+++\n"
! "i@@@@@@****@i+++\n"
! "i@@@@@@@@@@@i+++\n"
! "i@++++@....@i+++\n"
! "i@++++@....@i+++\n"
! "i@++++@....@i+++\n"
! "i@++++@....@i+++\n"
! "i@@@@@@@@@@@i+++\n"
! "+iiiiiiiiiii++++\n"
! "++++++++++++++++\n"
! "++++++++++++++++\n"
! "++++++++++++++++\n";
#ifndef NULL
#define NULL (void *)0
*** ./demos/mgldialog.c.ORG Sun Jun 17 16:21:08 2007
--- ./demos/mgldialog.c Sun Jun 17 16:21:57 2007
***************
*** 5,29 ****
#define NULL (void *)0
#endif
! char *icon_warn ="\
! #MGR000200160016
! ++++++++++++++++
! ++++++fff+++++++
! +++++ff@ff++++++
! ++++ff@@@ff+++++
! +++ff@ppp@ff++++
! ++ff@@ppp@@ff+++
! +ff@@@ppp@@@ff++
! +f@@@@ppp@@@@f++
! +ff@@@@p@@@@ff++
! ++ff@@@@@@@ff+++
! +++ff@ppp@ff++++
! ++++ffpppff+++++
! +++++ff@ff++++++
! ++++++fff+++++++
! ++++++++++++++++
! ++++++++++++++++
! ";
main(int argc,char *argv[]) {
int x,y,xs,ys;
--- 5,28 ----
#define NULL (void *)0
#endif
! char *icon_warn =
! "#MGR000200160016\n"
! "++++++++++++++++\n"
! "++++++fff+++++++\n"
! "+++++ff@ff++++++\n"
! "++++ff@@@ff+++++\n"
! "+++ff@ppp@ff++++\n"
! "++ff@@ppp@@ff+++\n"
! "+ff@@@ppp@@@ff++\n"
! "+f@@@@ppp@@@@f++\n"
! "+ff@@@@p@@@@ff++\n"
! "++ff@@@@@@@ff+++\n"
! "+++ff@ppp@ff++++\n"
! "++++ffpppff+++++\n"
! "+++++ff@ff++++++\n"
! "++++++fff+++++++\n"
! "++++++++++++++++\n"
! "++++++++++++++++\n";
main(int argc,char *argv[]) {
int x,y,xs,ys;
*** ./demos/vkdemo.c.ORG Sun Jun 17 16:23:38 2007
--- ./demos/vkdemo.c Sun Jun 17 16:25:27 2007
***************
*** 55,101 ****
*/
! char *kb_layout1="\
! -----------------------------------------------+
! Esc| 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | BS|
! ---+---+---+---+---+---+---+---+---+---+---+---+
! Tab| q | w | e | r | t | y | u | i | o | p |Ent|
! ---+---+---+---+---+---+---+---+---+---+---+- |
! Caps| a | s | d | f | g | h | j | k | l | ; |er|
! ----+---+---+---+---+---+---+---+---+---+---+--|
! Shift| z | x | c | v | b | n | m | , | . |↑|@ |
! -----+---+---+---+---+---+---+---+---+---+--+--+
! Ctrl |Alt |Hide | |Kanji |←|↓|→|
! -----+-----+-----+-------------+-----------+---+
! ";
!
! char *kb_layout2="\
! -----------------------------------------------+
! Esc| ! | \" | # | $ | % | & | ' | ( | ) | ~ | BS|
! ---+---+---+---+---+---+---+---+---+---+---+---+
! Tab| Q | W | E | R | T | Y | U | I | O | P |Ent|
! ---+---+---+---+---+---+---+---+---+---+---+- |
! Caps| A | S | D | F | G | H | J | K | L | + |er|
! ----+---+---+---+---+---+---+---+---+---+---+--|
! Shift| Z | X | C | V | B | N | M | < | > |↑|` |
! -----+---+---+---+---+---+---+---+---+---+--+--+
! Ctrl |Alt |Hide | |Kanji |←|↓|→|
! -----+-----+-----+-------------+-----------+---+
! ";
!
! char *kb_layout3="\
! -----------------------------------------------+
! Esc| | BS|
! ---+---+---+---+---+---+---+---+---+---+---+---+
! Han| q | w | e | r | t | y | u | i | o | p |Ent|
! ---+---+---+---+---+---+---+---+---+---+---+- |
! Zen | a | s | d | f | g | h | j | k | l | ; |er|
! ----+---+---+---+---+---+---+---+---+---+---+--|
! Kata | z | x | c | v | b | n | m | , | . |↑|/ |
! -----+---+---+---+---+---+---+---+---+---+--+--+
! Dic | \\ | @ | - | = | |Alpha |←|↓|→|
! -----+-----+-----+-------------+-----------+---+
! ";
struct {
char *str;
--- 55,98 ----
*/
! char *kb_layout1=
! "-----------------------------------------------+\n"
! "Esc| 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | BS|\n"
! "---+---+---+---+---+---+---+---+---+---+---+---+\n"
! "Tab| q | w | e | r | t | y | u | i | o | p |Ent|\n"
! "---+---+---+---+---+---+---+---+---+---+---+- |\n"
! "Caps| a | s | d | f | g | h | j | k | l | ; |er|\n"
! "----+---+---+---+---+---+---+---+---+---+---+--|\n"
! "Shift| z | x | c | v | b | n | m | , | . |↑|@ |\n"
! "-----+---+---+---+---+---+---+---+---+---+--+--+\n"
! "Ctrl |Alt |Hide | |Kanji |←|↓|→|\n"
! "-----+-----+-----+-------------+-----------+---+\n";
!
! char *kb_layout2=
! "-----------------------------------------------+\n"
! "Esc| ! | \" | # | $ | % | & | ' | ( | ) | ~ | BS|\n"
! "---+---+---+---+---+---+---+---+---+---+---+---+\n"
! "Tab| Q | W | E | R | T | Y | U | I | O | P |Ent|\n"
! "---+---+---+---+---+---+---+---+---+---+---+- |\n"
! "Caps| A | S | D | F | G | H | J | K | L | + |er|\n"
! "----+---+---+---+---+---+---+---+---+---+---+--|\n"
! "Shift| Z | X | C | V | B | N | M | < | > |↑|` |\n"
! "-----+---+---+---+---+---+---+---+---+---+--+--+\n"
! "Ctrl |Alt |Hide | |Kanji |←|↓|→|\n"
! "-----+-----+-----+-------------+-----------+---+\n";
!
! char *kb_layout3=
! "-----------------------------------------------+\n"
! "Esc| | BS|\n"
! "---+---+---+---+---+---+---+---+---+---+---+---+\n"
! "Han| q | w | e | r | t | y | u | i | o | p |Ent|\n"
! "---+---+---+---+---+---+---+---+---+---+---+- |\n"
! "Zen | a | s | d | f | g | h | j | k | l | ; |er|\n"
! "----+---+---+---+---+---+---+---+---+---+---+--|\n"
! "Kata | z | x | c | v | b | n | m | , | . |↑|/ |\n"
! "-----+---+---+---+---+---+---+---+---+---+--+--+\n"
! "Dic | \\ | @ | - | = | |Alpha |←|↓|→|\n"
! "-----+-----+-----+-------------+-----------+---+\n";
struct {
char *str;
*** ./lib/emcons.c.ORG Sun Jun 17 08:51:08 2007
--- ./lib/emcons.c Sun Jun 17 08:55:39 2007
***************
*** 134,158 ****
#define VT_TRUE 1
#endif
! static char *mouse_icon="\
! #MGR000200160016
! @@++++++++++++++
! @G@+++++++++++++
! @GG@++++++++++++
! @GGG@+++++++++++
! @GGGG@++++++++++
! @GGGGG@+++++++++
! @GGGGGG@++++++++
! @GGGGGG@@+++++++
! @GGGGG@+++++++++
! @G@@G@++++++++++
! @@++@G@+++++++++
! ++++@GG@++++++++
! ++++@GGG@+++++++
! ++++@GGG@@++++++
! ++++@G@@++++++++
! ++++@@++++++++++
! ";
static int mouse_pattern[16][16];
--- 134,157 ----
#define VT_TRUE 1
#endif
! static char *mouse_icon=
! "#MGR000200160016\n"
! "@@++++++++++++++\n"
! "@G@+++++++++++++\n"
! "@GG@++++++++++++\n"
! "@GGG@+++++++++++\n"
! "@GGGG@++++++++++\n"
! "@GGGGG@+++++++++\n"
! "@GGGGGG@++++++++\n"
! "@GGGGGG@@+++++++\n"
! "@GGGGG@+++++++++\n"
! "@G@@G@++++++++++\n"
! "@@++@G@+++++++++\n"
! "++++@GG@++++++++\n"
! "++++@GGG@+++++++\n"
! "++++@GGG@@++++++\n"
! "++++@G@@++++++++\n"
! "++++@@++++++++++\n";
static int mouse_pattern[16][16];
*** ./lib/emsvr.c.ORG Sun Jun 17 10:19:48 2007
--- ./lib/emsvr.c Sun Jun 17 10:27:36 2007
***************
*** 274,418 ****
int MK_NINE = MK_F8;
#endif
#endif
! char *icon_mini="\
! #MGR000200160016
! ++++++++++++++++
! +++WWWWWWWWW++++
! ++WXXXXXXXXXW+++
! +WXXXXXXXXXXXW++
! WXXXXXXXXXXXXXW+
! WXXXXXXXXXXXXXW+
! WXXXXXXXXXXXXXW+
! WXXXXXXXXXXXXXW+
! WXXXXXXXXXXXXXW+
! WXXXXXXXXXXXXXW+
! WXXXXXXXXXXXXXW+
! WXXXXXXXXXXXXXW+
! +WXXXXXXXXXXXW++
! ++WXXXXXXXXXW+++
! +++WWWWWWWWW++++
! ++++++++++++++++
! ";
!
! char *icon_main="\
! #MGR000200160016
! ++++++++++++++++
! WWWWWWWWWWWWWWW+
! WjjjjjjjjjjjjjW+
! WjjjjjjjjjjjjjW+
! WjjjjjjjjjjjjjW+
! WjjjjjjjjjjjjjW+
! WjjjjjjjjjjjjjW+
! WjjjjjjjjjjjjjW+
! WjjjjjjjjjjjjjW+
! WjjjjjjjjjjjjjW+
! WjjjjjjjjjjjjjW+
! WjjjjjjjjjjjjjW+
! WjjjjjjjjjjjjjW+
! WjjjjjjjjjjjjjW+
! WWWWWWWWWWWWWWW+
! ++++++++++++++++
! ";
!
! char *icon_ac="\
! #MGR000200160016
! ++++++++++++++++
! ++++++++++++++++
! ++++++++++++++++
! ++++++++++++++++
! +++++++@@@@@++++
! ++++++@@@@@@++++
! +++++@@@@@@@@@@+
! +++++@@@@@@@++++
! @@@@@@@@@@@@++++
! +++++@@@@@@@++++
! +++++@@@@@@@@@@+
! ++++++@@@@@@++++
! +++++++@@@@@++++
! ++++++++++++++++
! ++++++++++++++++
! ++++++++++++++++
! ";
!
! char *icon_batt="\
! #MGR000200160016
! ++++++++++++++++
! ++++++++++++++++
! ++++++++++++++++
! ++++++++++++++++
! @@@@@@@@@@@@@@++
! @GGGGGGGGGGGG@++
! @GGGGGGGGGGGG@++
! @GGGGGGGGGGGG@@@
! @GGGGGGGGGGGG@@@
! @GGGGGGGGGGGG@@@
! @GGGGGGGGGGGG@++
! @GGGGGGGGGGGG@++
! @@@@@@@@@@@@@@++
! ++++++++++++++++
! ++++++++++++++++
! ++++++++++++++++
! ";
!
! char *icon_im="\
! #MGR000200160016
! ++++++++++++++++
! +++++++@++++++++
! ++++++@r@+++++++
! +++++@rrr@++++++
! ++++@rrrrr@+++++
! +++@rrrrrrr@++++
! ++@rrrrrrrrr@+++
! +@rrrrrrrrrrr@++
! +@@@@@rrr@@@@@++
! +++++@rrr@++++++
! +++++@rrr@++++++
! +++++@rrr@++++++
! +++++@rrr@++++++
! +++++@rrr@++++++
! +++++@rrr@++++++
! +++++@@@@@++++++
! ";
!
! char *icon_nine="\
! #MGR000200160016
! ++++++++++++++++
! ++++ggggggg+++++
! +++gkkkkkkkg++++
! ++gkkkkkgkkkg+++
! +gkkkkkggkkkkg++
! +gkkkkggkkkkkg++
! +gkkkggkkkkkkg++
! +gkkggkkkkkkkg++
! +gkgggggggggkg++
! +gkkkkkkggkkkg++
! +gkkkkgggkkkkg++
! +gkkkggkkkkkkg++
! ++gkkgkkkkkkg+++
! +++gkkkkkkkg++++
! ++++ggggggg+++++
! ++++++++++++++++
! ";
!
! char *icon_nine_num="\
! #MGR000200160016
! ++++++++++++++++
! ++++ggggggg+++++
! +++gkkkkkkkg++++
! ++gkkkkkkkkkg+++
! +gkkggkkkggkkg++
! +gkkgggkkggkkg++
! +gkkgggkkggkkg++
! +gkkggkgkggkkg++
! +gkkggkgkggkkg++
! +gkkggkkgggkkg++
! +gkkggkkgggkkg++
! +gkkggkkkggkkg++
! ++gkkkkkkkkgg+++
! +++gkkkkkkkg++++
! ++++ggggggg+++++
! ++++++++++++++++
! ";
#define SWS_INITIALIZING 1
#define SWS_FORGROUND 3
--- 274,411 ----
int MK_NINE = MK_F8;
#endif
#endif
! char *icon_mini=
! "#MGR000200160016\n"
! "++++++++++++++++\n"
! "+++WWWWWWWWW++++\n"
! "++WXXXXXXXXXW+++\n"
! "+WXXXXXXXXXXXW++\n"
! "WXXXXXXXXXXXXXW+\n"
! "WXXXXXXXXXXXXXW+\n"
! "WXXXXXXXXXXXXXW+\n"
! "WXXXXXXXXXXXXXW+\n"
! "WXXXXXXXXXXXXXW+\n"
! "WXXXXXXXXXXXXXW+\n"
! "WXXXXXXXXXXXXXW+\n"
! "WXXXXXXXXXXXXXW+\n"
! "+WXXXXXXXXXXXW++\n"
! "++WXXXXXXXXXW+++\n"
! "+++WWWWWWWWW++++\n"
! "++++++++++++++++\n";
!
! char *icon_main=
! "#MGR000200160016\n"
! "++++++++++++++++\n"
! "WWWWWWWWWWWWWWW+\n"
! "WjjjjjjjjjjjjjW+\n"
! "WjjjjjjjjjjjjjW+\n"
! "WjjjjjjjjjjjjjW+\n"
! "WjjjjjjjjjjjjjW+\n"
! "WjjjjjjjjjjjjjW+\n"
! "WjjjjjjjjjjjjjW+\n"
! "WjjjjjjjjjjjjjW+\n"
! "WjjjjjjjjjjjjjW+\n"
! "WjjjjjjjjjjjjjW+\n"
! "WjjjjjjjjjjjjjW+\n"
! "WjjjjjjjjjjjjjW+\n"
! "WjjjjjjjjjjjjjW+\n"
! "WWWWWWWWWWWWWWW+\n"
! "++++++++++++++++\n";
!
! char *icon_ac=
! "#MGR000200160016\n"
! "++++++++++++++++\n"
! "++++++++++++++++\n"
! "++++++++++++++++\n"
! "++++++++++++++++\n"
! "+++++++@@@@@++++\n"
! "++++++@@@@@@++++\n"
! "+++++@@@@@@@@@@+\n"
! "+++++@@@@@@@++++\n"
! "@@@@@@@@@@@@++++\n"
! "+++++@@@@@@@++++\n"
! "+++++@@@@@@@@@@+\n"
! "++++++@@@@@@++++\n"
! "+++++++@@@@@++++\n"
! "++++++++++++++++\n"
! "++++++++++++++++\n"
! "++++++++++++++++\n";
!
! char *icon_batt=
! "#MGR000200160016\n"
! "++++++++++++++++\n"
! "++++++++++++++++\n"
! "++++++++++++++++\n"
! "++++++++++++++++\n"
! "@@@@@@@@@@@@@@++\n"
! "@GGGGGGGGGGGG@++\n"
! "@GGGGGGGGGGGG@++\n"
! "@GGGGGGGGGGGG@@@\n"
! "@GGGGGGGGGGGG@@@\n"
! "@GGGGGGGGGGGG@@@\n"
! "@GGGGGGGGGGGG@++\n"
! "@GGGGGGGGGGGG@++\n"
! "@@@@@@@@@@@@@@++\n"
! "++++++++++++++++\n"
! "++++++++++++++++\n"
! "++++++++++++++++\n";
!
! char *icon_im=
! "#MGR000200160016\n"
! "++++++++++++++++\n"
! "+++++++@++++++++\n"
! "++++++@r@+++++++\n"
! "+++++@rrr@++++++\n"
! "++++@rrrrr@+++++\n"
! "+++@rrrrrrr@++++\n"
! "++@rrrrrrrrr@+++\n"
! "+@rrrrrrrrrrr@++\n"
! "+@@@@@rrr@@@@@++\n"
! "+++++@rrr@++++++\n"
! "+++++@rrr@++++++\n"
! "+++++@rrr@++++++\n"
! "+++++@rrr@++++++\n"
! "+++++@rrr@++++++\n"
! "+++++@rrr@++++++\n"
! "+++++@@@@@++++++\n";
!
! char *icon_nine=
! "#MGR000200160016\n"
! "++++++++++++++++\n"
! "++++ggggggg+++++\n"
! "+++gkkkkkkkg++++\n"
! "++gkkkkkgkkkg+++\n"
! "+gkkkkkggkkkkg++\n"
! "+gkkkkggkkkkkg++\n"
! "+gkkkggkkkkkkg++\n"
! "+gkkggkkkkkkkg++\n"
! "+gkgggggggggkg++\n"
! "+gkkkkkkggkkkg++\n"
! "+gkkkkgggkkkkg++\n"
! "+gkkkggkkkkkkg++\n"
! "++gkkgkkkkkkg+++\n"
! "+++gkkkkkkkg++++\n"
! "++++ggggggg+++++\n"
! "++++++++++++++++\n";
!
! char *icon_nine_num=
! "#MGR000200160016\n"
! "++++++++++++++++\n"
! "++++ggggggg+++++\n"
! "+++gkkkkkkkg++++\n"
! "++gkkkkkkkkkg+++\n"
! "+gkkggkkkggkkg++\n"
! "+gkkgggkkggkkg++\n"
! "+gkkgggkkggkkg++\n"
! "+gkkggkgkggkkg++\n"
! "+gkkggkgkggkkg++\n"
! "+gkkggkkgggkkg++\n"
! "+gkkggkkgggkkg++\n"
! "+gkkggkkkggkkg++\n"
! "++gkkkkkkkkgg+++\n"
! "+++gkkkkkkkg++++\n"
! "++++ggggggg+++++\n"
! "++++++++++++++++\n";
#define SWS_INITIALIZING 1
#define SWS_FORGROUND 3
*** ./mgterm/mdate.c.ORG Sun Jun 17 15:36:01 2007
--- ./mgterm/mdate.c Sun Jun 17 15:37:07 2007
***************
*** 65,89 ****
void mdate();
! static char *icon_mdate="\
! #MGR000200160016
! ++++++++++++++++
! +@@@@@@@@@@@@@++
! +@...........@++
! +@...........@++
! +@.@.@.@.@.@.@++
! +@.@.@.@.@.@.@++
! +@...........@++
! +@.@.@.@.@.@.@++
! +@...........@++
! +@.@.@.@.@.@.@++
! +@...........@++
! +@.@.@.@.@.@.@++
! +@...........@++
! +@@@@@@@@@@@@@++
! ++++++++++++++++
! ++++++++++++++++
! ";
main() {
int c;
mgl_apli_type = AT_MINIAPLI;
--- 65,88 ----
void mdate();
! static char *icon_mdate=
! "#MGR000200160016\n"
! "++++++++++++++++\n"
! "+@@@@@@@@@@@@@++\n"
! "+@...........@++\n"
! "+@...........@++\n"
! "+@.@.@.@.@.@.@++\n"
! "+@.@.@.@.@.@.@++\n"
! "+@...........@++\n"
! "+@.@.@.@.@.@.@++\n"
! "+@...........@++\n"
! "+@.@.@.@.@.@.@++\n"
! "+@...........@++\n"
! "+@.@.@.@.@.@.@++\n"
! "+@...........@++\n"
! "+@@@@@@@@@@@@@++\n"
! "++++++++++++++++\n"
! "++++++++++++++++\n";
main() {
int c;
mgl_apli_type = AT_MINIAPLI;
*** ./mgterm/mgterm.c.ORG Sun Jun 17 15:38:48 2007
--- ./mgterm/mgterm.c Sun Jun 17 15:46:57 2007
***************
*** 26,50 ****
*
*/
#ifndef MGL1
! char *icon_mgterm="\
! #MGR000200160016
! +.............++
! ...............+
! ...*********...+
! ..*VVVVVVVVV*..+
! ..*VjjVVVjjV*..+
! ..*VjVjVjVjV*..+
! ..*VjVVjVVjV*..+
! ..*VjVVVVVjV*..+
! ..*VVVVVVVVV*..+
! .*************.+
! .*8.8.8.8.8.8*.+
! .*.8.8.8.8.8.*.+
! .*************.+
! ...............+
! +.............++
! ++++++++++++++++
! ";
#endif
#ifndef MGL1
--- 26,49 ----
*
*/
#ifndef MGL1
! char *icon_mgterm=
! "#MGR000200160016\n"
! "+.............++\n"
! "...............+\n"
! "...*********...+\n"
! "..*VVVVVVVVV*..+\n"
! "..*VjjVVVjjV*..+\n"
! "..*VjVjVjVjV*..+\n"
! "..*VjVVjVVjV*..+\n"
! "..*VjVVVVVjV*..+\n"
! "..*VVVVVVVVV*..+\n"
! ".*************.+\n"
! ".*8.8.8.8.8.8*.+\n"
! ".*.8.8.8.8.8.*.+\n"
! ".*************.+\n"
! "...............+\n"
! "+.............++\n"
! "++++++++++++++++\n";
#endif
#ifndef MGL1
*** ./mgterm/msame.c.ORG Sun Jun 17 15:52:07 2007
--- ./mgterm/msame.c Sun Jun 17 15:59:03 2007
***************
*** 32,146 ****
#include "mgl2.h"
char *picts[6] ={
! "\
! #MGR000200160016
! ++++++++++++++++
! +++++++@@+++++++
! +++++@@BB@@@++++
! +++@@BBBBBBB@+++
! ++@~@@B@B@B@@@++
! +@~~~~@~@~@~~~@+
! ++@~+~~~+~~+~~@+
! ++@~~~~~~~~~~@++
! ++@~~+~~+~~+~@++
! +++@~~~~~~~~~@++
! +++@~~+~~~~~@+++
! ++++@~~~~+~@++++
! +++++@~~+~~@++++
! ++++++@~~~@+++++
! +++++++@@@++++++
! ++++++++++++++++
! ","\
! #MGR000200160016
! ++++++++++++++++
! ++++++++++++@@++
! ++++++++++++@@++
! ++@@@@++++++@@++
! +@@::@@+++@@+@++
! +@::::@@@@@++@++
! +@::::@++++++@++
! +@@:::@+++++@@++
! ++@:::@++++@@+++
! +++@@@@@@@@@++++
! ++++++@:::@@++++
! +++++@@::::@++++
! +++++@@::::@++++
! ++++++@:::@@++++
! +++++++@@@@+++++
! ++++++++++++++++
! ","\
! #MGR000200160016
! ++++++++++++++++
! ++++++++++++++++
! ++++@@@@@@@@++++
! +++@CCCBCBCB@+++
! ++@CCCBBCBCBB@++
! +@BCCBBCCBBCBB@+
! +@BCCBBCCBBCBB@+
! +@BCCBBCCBBCBB@+
! +@BCCBBCCBBCCB@+
! +@BBCBBCCBBCCB@+
! +@BBCBBCCBBCBB@+
! ++@BCBBCCCBCB@++
! +++@BCBCCBBB@+++
! ++++@@@@@@@@++++
! ++++++++++++++++
! ++++++++++++++++
! ","\
! #MGR000200160016
! ++++++++++++++++
! ++++++++++++++++
! ++++++++++++@@++
! +++++@@@@+++@@++
! ++++@YYY@+++@@++
! ++++@YYY@++@@@++
! ++++@@@Y@@@@@+++
! +++@YYY@YYY@++++
! +++@YYY@YYY@++++
! +++@YYY@YY@@@+++
! ++@@@Y@@@@YYY@++
! +@YYY@YYY@YYY@++
! +@YYY@YYY@YYY@++
! +@YYY@YYY@@@@+++
! ++@@@+@@@+++++++
! ++++++++++++++++
! ","\
! #MGR000200160016
! ++++++++++++++++
! +++++++@@@++++++
! +++++@@BBB@+++++
! ++++@l@BBB@@++++
! +++@lll@@@ll@+++
! ++@ljlljlllll@++
! +@llllllllljll@+
! +@lljlljlllllj@+
! +@jlllllllllll@+
! +@llljllllljll@+
! +@ljllllljllll@+
! ++@lljllllljl@++
! +++@llljllll@+++
! ++++@@@@@@@@++++
! ++++++++++++++++
! ++++++++++++++++
! ","\
! #MGR000200160016
! ++++++++++++++++
! ++++++++@+++++++
! +++++@@@@@@@++++
! +++@@ee@eeee@+++
! ++@eeee@eeeee@++
! ++@ee@eeee@eee@+
! +@eeee@@@@eeee@+
! +@eeeeeeeeeeee@+
! +@eeeeeeeeeeee@+
! +@eeeeeeeeeeee@+
! +@eeeeeeeeeeee@+
! ++@eeeeeeeeee@++
! ++@eeeeeeeeee@++
! +++@eeeeeeee@+++
! ++++@@@@@@@@++++
! ++++++++++++++++
! "};
static int vk_attached=0;
static struct virtual_key *vk_canvas;
static struct screen *ps[6];
--- 32,145 ----
#include "mgl2.h"
char *picts[6] ={
! "#MGR000200160016\n"
! "++++++++++++++++\n"
! "+++++++@@+++++++\n"
! "+++++@@BB@@@++++\n"
! "+++@@BBBBBBB@+++\n"
! "++@~@@B@B@B@@@++\n"
! "+@~~~~@~@~@~~~@+\n"
! "++@~+~~~+~~+~~@+\n"
! "++@~~~~~~~~~~@++\n"
! "++@~~+~~+~~+~@++\n"
! "+++@~~~~~~~~~@++\n"
! "+++@~~+~~~~~@+++\n"
! "++++@~~~~+~@++++\n"
! "+++++@~~+~~@++++\n"
! "++++++@~~~@+++++\n"
! "+++++++@@@++++++\n"
! "++++++++++++++++\n"
! ,
! "#MGR000200160016\n"
! "++++++++++++++++\n"
! "++++++++++++@@++\n"
! "++++++++++++@@++\n"
! "++@@@@++++++@@++\n"
! "+@@::@@+++@@+@++\n"
! "+@::::@@@@@++@++\n"
! "+@::::@++++++@++\n"
! "+@@:::@+++++@@++\n"
! "++@:::@++++@@+++\n"
! "+++@@@@@@@@@++++\n"
! "++++++@:::@@++++\n"
! "+++++@@::::@++++\n"
! "+++++@@::::@++++\n"
! "++++++@:::@@++++\n"
! "+++++++@@@@+++++\n"
! "++++++++++++++++\n"
! ,
! "#MGR000200160016\n"
! "++++++++++++++++\n"
! "++++++++++++++++\n"
! "++++@@@@@@@@++++\n"
! "+++@CCCBCBCB@+++\n"
! "++@CCCBBCBCBB@++\n"
! "+@BCCBBCCBBCBB@+\n"
! "+@BCCBBCCBBCBB@+\n"
! "+@BCCBBCCBBCBB@+\n"
! "+@BCCBBCCBBCCB@+\n"
! "+@BBCBBCCBBCCB@+\n"
! "+@BBCBBCCBBCBB@+\n"
! "++@BCBBCCCBCB@++\n"
! "+++@BCBCCBBB@+++\n"
! "++++@@@@@@@@++++\n"
! "++++++++++++++++\n"
! "++++++++++++++++\n"
! ,
! "#MGR000200160016\n"
! "++++++++++++++++\n"
! "++++++++++++++++\n"
! "++++++++++++@@++\n"
! "+++++@@@@+++@@++\n"
! "++++@YYY@+++@@++\n"
! "++++@YYY@++@@@++\n"
! "++++@@@Y@@@@@+++\n"
! "+++@YYY@YYY@++++\n"
! "+++@YYY@YYY@++++\n"
! "+++@YYY@YY@@@+++\n"
! "++@@@Y@@@@YYY@++\n"
! "+@YYY@YYY@YYY@++\n"
! "+@YYY@YYY@YYY@++\n"
! "+@YYY@YYY@@@@+++\n"
! "++@@@+@@@+++++++\n"
! "++++++++++++++++\n"
! ,
! "#MGR000200160016\n"
! "++++++++++++++++\n"
! "+++++++@@@++++++\n"
! "+++++@@BBB@+++++\n"
! "++++@l@BBB@@++++\n"
! "+++@lll@@@ll@+++\n"
! "++@ljlljlllll@++\n"
! "+@llllllllljll@+\n"
! "+@lljlljlllllj@+\n"
! "+@jlllllllllll@+\n"
! "+@llljllllljll@+\n"
! "+@ljllllljllll@+\n"
! "++@lljllllljl@++\n"
! "+++@llljllll@+++\n"
! "++++@@@@@@@@++++\n"
! "++++++++++++++++\n"
! "++++++++++++++++\n"
! ,
! "#MGR000200160016\n"
! "++++++++++++++++\n"
! "++++++++@+++++++\n"
! "+++++@@@@@@@++++\n"
! "+++@@ee@eeee@+++\n"
! "++@eeee@eeeee@++\n"
! "++@ee@eeee@eee@+\n"
! "+@eeee@@@@eeee@+\n"
! "+@eeeeeeeeeeee@+\n"
! "+@eeeeeeeeeeee@+\n"
! "+@eeeeeeeeeeee@+\n"
! "+@eeeeeeeeeeee@+\n"
! "++@eeeeeeeeee@++\n"
! "++@eeeeeeeeee@++\n"
! "+++@eeeeeeee@+++\n"
! "++++@@@@@@@@++++\n"
! "++++++++++++++++\n"
! };
static int vk_attached=0;
static struct virtual_key *vk_canvas;
static struct screen *ps[6];
*** ./mgterm/mcalc.c.ORG Sun Jun 17 16:00:57 2007
--- ./mgterm/mcalc.c Sun Jun 17 16:01:49 2007
***************
*** 257,281 ****
void mcalc();
! static char *icon_calc="\
! #MGR000200160016
! ++++++++++++++++
! ++@@@@@@@@@@@@++
! ++@..........@++
! ++@.********.@++
! ++@.********.@++
! ++@.********.@++
! ++@..........@++
! ++@.@@.@@.@@.@++
! ++@.@@.@@.@@.@++
! ++@..........@++
! ++@.@@.@@.@@.@++
! ++@.@@.@@.@@.@++
! ++@..........@++
! ++@@@@@@@@@@@@++
! ++++++++++++++++
! ++++++++++++++++
! ";
main(int argc, char *argv[]) {
int c;
--- 257,280 ----
void mcalc();
! static char *icon_calc=
! "#MGR000200160016\n"
! "++++++++++++++++\n"
! "++@@@@@@@@@@@@++\n"
! "++@..........@++\n"
! "++@.********.@++\n"
! "++@.********.@++\n"
! "++@.********.@++\n"
! "++@..........@++\n"
! "++@.@@.@@.@@.@++\n"
! "++@.@@.@@.@@.@++\n"
! "++@..........@++\n"
! "++@.@@.@@.@@.@++\n"
! "++@.@@.@@.@@.@++\n"
! "++@..........@++\n"
! "++@@@@@@@@@@@@++\n"
! "++++++++++++++++\n"
! "++++++++++++++++\n";
main(int argc, char *argv[]) {
int c;
*** ./mil/mil.c.ORG Sun Jun 17 16:04:00 2007
--- ./mil/mil.c Sun Jun 17 16:05:00 2007
***************
*** 27,51 ****
*
*/
! char *icon_mil ="\
! #MGR000200160016
! +ooooooooooooo++
! ooooooooooooooo+
! ooEEEoooooooooo+
! oooooEEoooooooo+
! ooooooooooooooo+
! ooEEEoooooooooo+
! oooooEEoooooooo+
! ooooooooEoEoooo+
! ooEEEoooEoEoooo+
! oooooEEoEoEoooo+
! ooooooooEoEooEo+
! oooooooEEoEoEoo+
! ooooooEoooEEooo+
! ooooooooooooooo+
! +ooooooooooooo++
! ++++++++++++++++
! ";
#include <stdio.h>
#include <stdlib.h>
--- 27,50 ----
*
*/
! char *icon_mil =
! "#MGR000200160016\n"
! "+ooooooooooooo++\n"
! "ooooooooooooooo+\n"
! "ooEEEoooooooooo+\n"
! "oooooEEoooooooo+\n"
! "ooooooooooooooo+\n"
! "ooEEEoooooooooo+\n"
! "oooooEEoooooooo+\n"
! "ooooooooEoEoooo+\n"
! "ooEEEoooEoEoooo+\n"
! "oooooEEoEoEoooo+\n"
! "ooooooooEoEooEo+\n"
! "oooooooEEoEoEoo+\n"
! "ooooooEoooEEooo+\n"
! "ooooooooooooooo+\n"
! "+ooooooooooooo++\n"
! "++++++++++++++++\n";
#include <stdio.h>
#include <stdlib.h>
-- patch end --
mkdir /usr/pkg/lib
CC="cc -I/usr/X11R6/include -I/usr/local/canna/include" make && make install
-rw-r--r-- 1 m-ito users 9787 Jun 17 17:21 mgdraw-0.2.1.tar.gz
-rwxr-xr-x 1 m-ito users 5787 Jun 18 12:55 canvas.tk
-rw-r--r-- 1 m-ito users 5783682 Jun 19 14:44 ImageMagick-6.3.4-1.tar.bz2 ./configure && make && make install