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