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