Annotation of OpenXM/misc/packages/Linux/Debian2/note-ja.txt, Revision 1.18
1.1 takayama 1: Todo: Makefile-fix, cf. misc-2005/A2/knoppix-2006/Makefile-asir, .TeXmacs $B4XO"(B.
2:
3: Q. $B%Q%C%1!<%8$r?7$7$/$7$?$$(B.
4: A.
1.11 takayama 5: 0. [knoppix/math $B$G$O(B apt-get install sun-java5-jdk (unstable) $B$r$7$F$*$/(B
1.18 ! takayama 6: dpkg-dev, debhelper, fakeroot $B$bI,MW(B.
1.12 takayama 7: dpkg --list | grep sun-java $BEy$GD4$Y$k(B.
1.11 takayama 8: nkf, texinfo $BEy$O(B knoppix/math $B$J$i(BOK $B$@$,G0$N$?$a3NG'(B.
9: dpkg --list | grep texinfo
10: ]
1.12 takayama 11: [OpenXM/rc/webasir $B$r;H$&$J$i(B pstoimg $B$,I,MW(B.
1.13 takayama 12: apt-get install latex2html (non-free). latex2html $B$,2u$l$F$$$?$i(B, $BL>A0$rJQ$($F$7$^$&(B.]
1.9 takayama 13: [knoppix/math: gpg --key-gen $B$G(B .gnupg $B$K(B changelog $B$KBP1~$9$k(B
1.11 takayama 14: e-mail address $B$N80$r:n@.$7$F$*$/(B.
15: ~/.gnupg $B$r(B orange2 $BEy$+$i%3%T!<$7$F$*$/(B.
16: ]
1.18 ! takayama 17: << Etch: waiting for lock on .... random_seed ==> dpkg-buildpackage -uc -us (add option of no signature)
! 18: $BKt$O(B export GNUPGHOME=nfs $B$G$J$$(B directory $B$N(B .gnupg $B$7$F(B,
! 19: debian@math.kobe-u.ac.jp $B$G%5%$%s(B. -uc -us $B$O$H$k(B.>>
1.17 takayama 20:
1.1 takayama 21: 1. $B$9$Y$F$N:n6H$O(B
1.8 takayama 22: source ./dot.bashrc (./$B$rIU$1$k$N$r$o$9$l$J$$$3$H(B)
1.1 takayama 23: $B$r$7$F$+$i(B. ($B0lIt9b;3MQ(B)
1.18 ! takayama 24: export GNUPGHOME=/private/taka/.gnupg $BEy$bK:$l$:$K(B.
! 25:
1.1 takayama 26: 2. debian/changelog $B$r=$@5(B. date $B$O(B rfc822 format $B$r<i$k;v(B.
27: ( dpkg-parsechangelog $B$G(B check.
1.11 takayama 28: $B=pL>$9$k$K$O(B, mail address $B$r(B gnupg $B$N$b$N$HF10l$K(B.)
1.1 takayama 29: 3. Makefile $B$N(B VERSION $B$rJQ99(B. $B%3%a%s%H$K$"$kB>$N%U%!%$%k$N(B VERSION $B$bJQ99(B.
1.10 takayama 30: make update-version $B$r;H$&$H$$$$$+$b(B.
1.1 takayama 31: 4. make clean
32: 5. make
1.9 takayama 33: [knoppix/math: make USER=taka ]
1.1 takayama 34: 6. make copy-tar-ball-and-asir
1.9 takayama 35: [knoppix/math: make USER=taka copy-tar-ball-and-asir]
1.14 takayama 36: (7. orange2 $B$G(B /root/bin/mirror-pub
1.18 ! takayama 37: http://fe.math.kobe-u.ac.jp/KnoppixMath $B$N8E$$(B deb $B$r(B Attic $B$X(B.
1.11 takayama 38: KnoppixMath $B$G(B Update-apt.sh (http://fe.math.kobe-u.ac.jp/KnoppixMath)
39: )
1.1 takayama 40:
41: Q. $B3F%9%F%C%W$G$O2?$r$d$C$F$$$^$9$+(B? $BCm0U;v9`$O(B?
42: A.
43: 1. source dot.bashrc
44: 2. debian/changelog $B$r=$@5(B. date $B$O(B rfc822 format $B$r<i$k;v(B.
45: 3. Makefile $B$N(B VERSION $B$rJQ99(B. $B%3%a%s%H$K$"$kB>$N%U%!%$%k$N(B VERSION $B$bJQ99(B.
46: VERSION $B$O(B OpenXM/download/version.txt $B$H$7$F%3%T!<$5$l$k(B.
47: $BJ8Kv$N6uGrEy2C$($J$$$h$&$K(B.
48: version $B$O(B $B%@%&%s%m!<%I$9$k%U%!%$%kL>$KH?1G$5$l$k(B.
49: 4. make clean
50: 5. make
51: fetch : work/OpenXM, work/OpenXM_contrib2
52: build: work/OpenXM $B$GI8=`E*$J(B OpenXM $B$r(B make install
53: build-knoppix: OpenXM/bin/asir $B$,(B /home/knoppix/.asir-tmp/asir $B$X$N(B symbolic link $B$K(B.
54: OpenXM/lib/asir/FLL $B$N%i%$%V%i%j$b(B.
55: asir-port.sh, asir-install.sh $B$r%$%s%9%H!<%k(B.
56: tar $B$r:n@.(B. md5 $B$r(B work/OpenXM/lib/asir $B$X(B.
57: make-tar-ball-2:
58: work/OpenXM $B$r(B tar ball $B$K(B.
59: tar $B$9$k(B directory $B$O(B Makefile $B$r$_$h(B.
60: exclude-files.txt $B$K=|$/%U%!%$%k$,(B.
61: md5 $B$r(B OpenXM/download $B$X(B.
62: build: deb $B$r@8@.(B.
63: $B$3$N%W%m%;%9$O(B, OpenXM/download/*.md5 $B$,M?$($l$F$$$l$PB>$H$OFHN)(B.
64: 6. make copy-tar-ball-and-asir
65:
66: openxm*.deb,
67: openxm-binary*.tar.gz ($BK\BN(B)
68: asir*
69: $B$r(B ftp $B%5!<%P$X%3%T!<$9$k(B.
70:
71: (7. orange2 $B$G(B /root/bin/mirror.ftp)
72:
73:
74: Q. openxm-binary*.tar.gz $B$r%$%s%9%H!<%k$9$k;EAH$_$O(B?
75: A. OpenXM/download/openxm-install.sh (OpenXM/bin/opennxm-install.sh)
76: $B$,(B oxfetch.sh $B$G(B openxm-binary*.tar.gz $B$r%M%C%H%o!<%/%$%s%9%H!<%k$7$^$9(B.
77: $HOME/OpenXM_tmp (/root/OpenXM_tmp ) $B$K(B openxm-binary*tar.gz $B$,0l;~$*$+$l$^$9(B.
78: $B$3$N%9%/%j%W%H$O(B, Debian/openxm.postinst $B$h$j5/F0$5$l$F$$$^$9(B.
79:
80: Q. OpenXM $BItJ,$N=$@5$N$_$,$"$j$^$9(B.
81: A.
82: rm -f .fetch_done
83: work/OpenXM $B0J2<$r=$@5(B. ($BI,MW$,$"$l$P(B kerberos $B$X(B commit)
84: make
85: make copy-tar-ball-and-asir
86:
87: md5 $B$rL5;k$9$k>l9g$O(B openxm*deb $B$N=$@5$OITMW(B.
88:
89: openxm*deb $B$O(B oxfetch.sh, openxm-install.sh ($B$H(B OpenXM/download/*md5 )
90: $B$N=$@5$N;~$N$_=$@5(B.
91:
92: Q. openxm*deb $B$N$_=$@5$7$?$$(B.
93: A. make build-deb
94:
95:
1.2 takayama 96: Q. $B%Q%C%1!<%8$N%F%9%H(B.
97: ($B3+H/<T$N4D6-$G$O(B iyokan-6. source dot.bashrc $B$7$F$+$i(B export OpenXM_HOME= )
1.1 takayama 98: A.
99: $B%$%s%9%H!<%k(B.
100: ln -s $B=q$-9~$a$k>l=j(B /home/knoppix/.asir-tmp
101: rm -rf /home/knoppix/.asir-tmp/*
102: sudo dpkg --install openxm*.deb
103:
104: $B<B9T(B.
105: openxm asir-port.sh
106:
107: $B:o=|(B.
108: sudo dpkg --remove openxm
109:
110:
111: $B$J$*(B package $B$N%$%s%9%H!<%k$G;O$a$N<ALd$K(B no $B$HEz$($?>l9g(B,
112: openxm-binary*.tar.gz $B$,%$%s%9%H!<%k$5$l$^$;$s(B.
113: $B%$%s%9%H!<%k$9$k$K$O(B,
114: sudo update-menus
115: sudo OpenXM_HOME=/usr/local/OpenXM /usr/local/OpenXM/download/openxm-install.sh
116: sudo OpenXM_HOME=/usr/local/OpenXM ; /usr/local/bin/openxm asir-install.sh
117:
1.2 takayama 118: Q. kde $B$N(B menu $B$r(B /usr/lib/menu/openxm-binary $B$+$i(B /usr/lib/menu/openxm $B$KJQ99$7$?$$(B.
119: A.
120: work/OpenXM $B0J2<$K$O$9$G$K(B package build $B$r$7$?%3%s%Q%$%k:Q$_$N%=!<%9$,E83+$5$l$F$$$k$H2>Dj(B.
121:
122: OpenXM/rc/kde/openxm-binary-knoppix $B$r(B debian/rules $B$N(B install $B%?!<%2%C%H$G(B deb $B%Q%C%1!<%8$K(B
123: $B%3%T!<$7$F$$$k(B.
124: work/OpenXM/rc/kde/openxm-knoppix $B$r2C$($F(B. cvs $B$G(Badd.
125:
126: (1) debian/changelog, Makefile, OpenXM/deoanload/Makefile work/OpenXM/src/asir-port/Makefile
127: $B$N(B minior version $B$r>e$2$k(B.
128: (2) debian/rules $B$G(B openxm $B$r(B /usr/lib/menu $B$X%3%T!<$9$k$h$&$K@_DjJQ99(B.
129: (3) Binary file $B$d%$%s%9%H!<%k$5$l$k%i%$%V%i%j$K$OJQ99$J$$$N$G(B, Full build $B$OI,MW$J$$(B.
130: Knoppix $BFH<+$NJQ99$J$N$G(B,
131:
132: rm .build-knoppix_done .make-tar-ball*done
133:
134: make $B$G(B OK.
135:
136: (4) make copy-tar-ball-and-asir (orange2 $B$G(B /root/bin/mirror.ftp)
137:
138: $B$"$H$O%F%9%H(B. $B$&$^$/$$$+$J$$$H$-$O(B, $B=$@5$N$"$H(B (3) $B$K$b$I$C$F7+$jJV$9(B.
139:
140: (5) $B$3$N(B directory $B$G(B commit
141: cd work/OpenXM $B$GI,MW$J$b$N$r(B commit.
142:
143: (*) OpenXM/download/version.txt $B$O(B work/OpenXM/src/asir-port $B$N(B Makefile $B$G@8@.$5$l$k(B.
144:
1.3 takayama 145: Q. deb file $B$KF~$C$F$k$b$N$r$H$j$@$7$?$$(B.
146: A.
147: dpkg-deb --extract xxxyyy.deb tmp-any
148: dpkg-deb --control xxxyyy.deb
1.2 takayama 149:
1.4 takayama 150: Q. rm -f .build* .make* ; make $B$G(B asir $B$r(B work/OpenXM/bin $B$X%3%T!<$9$k$H$3$m$G(B,
151: $B%(%i!<$r$*$3$7$^$9(B. [2006-02-11]
152: A. work/OpenXM/bin/asir $B$,(B /home/knoppix/.asir-tmp $B$X$N%j%s%/$H$J$C$F$k$N$,860x$G(B
153: $B$7$g$&(B.
154: $B$^$:(B
155: (cd work/OpenXM/asir/asir-port ; make uninstall-for-knoppix)
156: $B$r$7$F2<$5$$(B.
157:
158: Q. work/OpenXM/src/asir-contrib/packages/doc $B$r99?7$7$^$7$?(B.
159: A. $B$^$:(B rm work/OpenXM/asir/asir-contrib/packages/doc/.*done $B$7$F$+$i(B make $B$7$F2<$5$$(B.
160:
161:
1.5 takayama 162: Q. work/OpenXM/src/asir-doc/extract_func.c $B$,99?7$5$l$?(B.
163: work/OpenXM_contrib2/asir2000/ $B$,99?7$5$l$?(B.
164: A. rm .build*done .make*done
165: (cd work/OpenXM/src/asir2000 ; rm .make*done .install*done)
166: (cd work/OpenXM/src/asir-contrib/packages/doc ; rm .install*done)
167: make
168: make copy-tar-ball-and-asir
169: # $B%F%9%H$O0J2<$N$h$&$K$7$F$b$G$-$k(B.
170: #(cd work/OpenXM/src/asir-port ; make uninstall-for-knoppix)
171: #(cd work/OpenXM/rc ; make ; source dot.bashrc ; openxm asir $B$J$I(B)
172:
1.6 takayama 173: Q. openxm asir-port.sh --> $B%U%!%$%k$,$J$$$H$$$o$l$^$9(B.
174: A. /usr/local/bin/openxm $B$,@5$7$/@8@.$5$l$F$$$J$$$+$i$G$"$m$&(B.
175: (cd work/OpenXM/rc ; make clean) $B$7$F$+$i(B, tar ball $B$r@8@.(B.
176: [ Makefile $B$b$=$N$h$&$K99?7$7$?(B.
177: rm .make*tar*done ; make ; make copy-tar-ball-and-asir ]
178:
1.7 takayama 179: Q. asir $B$N%=!<%9%3!<%I$KJQ99$,$"$C$?(B.
180: A. rm -f work/OpenXM/src/asir2000/.make_done
181: (cd work; rcvs update OpenXM_contrib2/asir2000)
182: rm -f .build*done .make-tar*
183: make
184: make copy-tar-ball-and-asir
185:
186:
1.15 takayama 187: Q. openxm $B$N:o=|(B, $B99?7$,$&$^$/$$$-$^$;$s(B.
188: A. license $B4XO"$GFC<l$J9=B$$N$?$a(B, apt-get upgrade $B$O$G$-$^$;$s(B.
189:
190: $B$^$:(B openxm package $B$r:o=|$7$^$9(B.
191: (a) sudo dpkg --remove openxm ($B$^$?$O(B sudo dpkg --purge openxm)
192: (b) sudo rm -rf ~/OpenXM_tmp ~/.asir-tmp
193:
194: $B$3$l$i$r$*$3$J$C$?$"$H$G$J$$$H(B,
195: apt-get install openxm
196: $B$d(B
197: dpkg --install openxm*deb
198: $B$O$&$^$/$$$-$^$;$s(B.
199:
200:
1.16 takayama 201: To update package, please do as follows.
202: (a) sudo dpkg --purge openxm
203: (b) (sudo) rm -rf ~/OpenXM_tmp ~/.asir-tmp
204:
205: (c) sudo apt-get update
206: (d) sudo apt-get install openxm
207:
208: "apt-get update openxm" will not work, because of a special structure
209: of the package due to a license restriction.
210:
1.18 ! takayama 211: $OpenXM: OpenXM/misc/packages/Linux/Debian2/note-ja.txt,v 1.17 2007/08/23 08:32:26 takayama Exp $
1.1 takayama 212:
213:
214:
215:
216:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>