• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Commit MetaInfo

Revisão8b65d0152f70c78c009c80b596e9b838a414c3a4 (tree)
Hora2012-03-16 22:33:26
Autormatsuand <matsuand@user...>
Commitermatsuand

Mensagem de Log

[BLFS] Added docbook-utils'-related.

Mudança Sumário

Diff

--- /dev/null
+++ b/BLFS/docbook-dsssl.sh
@@ -0,0 +1,61 @@
1+#!/bin/sh
2+
3+VER=1.79
4+TARGET=docbook-dsssl-$VER
5+TARGETBALL=$TARGET.tar.bz2
6+TARGETDIR=$TARGET
7+
8+. ./_blfsset.sh
9+
10+echo Check Required...
11+./_checkRequired.sh sgml-common || exit 1
12+if test "$1" == "check"; then
13+ exit 0
14+fi
15+
16+cd $SRC
17+
18+echo $TARGET
19+
20+echo \ \ Removing old directory...
21+rm -fr $TARGETDIR
22+
23+. $WRK/_extract.sh
24+
25+cd $TARGETDIR
26+
27+echo \ \ Extracting doc...
28+tar xf $DLD/docbook-dsssl-doc-$VER.tar.bz2
29+
30+install -v -m755 bin/collateindex.pl /usr/bin
31+
32+paco -p $TARGET "\
33+install -v -m644 bin/collateindex.pl.1 /usr/share/man/man1" \
34+ 1> $LOG/$TARGET.1_conf.log 2>&1
35+
36+install -v -d -m755 /usr/share/sgml/docbook/dsssl-stylesheets-$VER
37+
38+paco -p+ $TARGET "\
39+cp -v -R * /usr/share/sgml/docbook/dsssl-stylesheets-$VER" \
40+ 1>> $LOG/$TARGET.1_conf.log 2>&1
41+
42+paco -p+ $TARGET "\
43+install-catalog --add /etc/sgml/dsssl-docbook-stylesheets.cat \
44+ /usr/share/sgml/docbook/dsssl-stylesheets-$VER/catalog" \
45+ 1>> $LOG/$TARGET.1_conf.log 2>&1
46+
47+paco -p+ $TARGET "\
48+install-catalog --add /etc/sgml/dsssl-docbook-stylesheets.cat \
49+ /usr/share/sgml/docbook/dsssl-stylesheets-$VER/common/catalog" \
50+ 1>> $LOG/$TARGET.1_conf.log 2>&1
51+
52+paco -p+ $TARGET "\
53+install-catalog --add /etc/sgml/sgml-docbook.cat \
54+ /etc/sgml/dsssl-docbook-stylesheets.cat" \
55+ 1>> $LOG/$TARGET.1_conf.log 2>&1
56+
57+echo -n \ \ Pacoing:\ && paco -a1 | grep $TARGET || echo none
58+
59+echo \ \ Removing directory...
60+cd .. && rm -fr $TARGETDIR
61+
--- /dev/null
+++ b/BLFS/docbook-sgml-dtd.sh
@@ -0,0 +1,47 @@
1+#!/bin/sh
2+
3+VER=3.1
4+TARGET=docbook-sgml-dtd-$VER
5+TARGETBALL=docbk31.zip
6+TARGETDIR=$TARGET
7+
8+. ./_blfsset.sh
9+
10+echo Check Required...
11+./_checkRequired.sh unzip || exit 1
12+
13+cd $SRC
14+
15+echo $TARGET
16+
17+echo \ \ Removing old directory...
18+rm -fr $TARGETDIR
19+
20+mkdir -pv $TARGETDIR
21+cd $TARGETDIR
22+
23+echo \ \ Extracting...
24+unzip $DLD/$TARGETBALL 1> /dev/null || exit 1
25+
26+sed -i -e '/ISO 8879/d' \
27+ -e 's|DTDDECL "-//OASIS//DTD DocBook V3.1//EN"|SGMLDECL|g' \
28+ docbook.cat
29+
30+install -v -d -m755 /usr/share/sgml/docbook/sgml-dtd-3.1
31+chown -R root:root .
32+install -v docbook.cat /usr/share/sgml/docbook/sgml-dtd-3.1/catalog
33+paco -p $TARGET "cp -v -af *.dtd *.mod *.dcl /usr/share/sgml/docbook/sgml-dtd-3.1"
34+
35+paco -p+ $TARGET "\
36+install-catalog --add /etc/sgml/sgml-docbook-dtd-3.1.cat \
37+ /usr/share/sgml/docbook/sgml-dtd-3.1/catalog"
38+
39+paco -p+ $TARGET "\
40+install-catalog --add /etc/sgml/sgml-docbook-dtd-3.1.cat \
41+ /etc/sgml/sgml-docbook.cat"
42+
43+echo -n \ \ Pacoing:\ && paco -a1 | grep $TARGET || echo none
44+
45+echo \ \ Removing directory...
46+cd .. && rm -fr $TARGETDIR
47+
--- /dev/null
+++ b/BLFS/docbook-utils.sh
@@ -0,0 +1,55 @@
1+#!/bin/sh
2+
3+VER=0.6.14
4+TARGET=docbook-utils-$VER
5+TARGETBALL=$TARGET.tar.gz
6+TARGETDIR=$TARGET
7+
8+. ./_blfsset.sh
9+
10+echo Check Required...
11+./_checkRequired.sh openjade docbook-dsssl docbook-sgml-dtd || exit 1
12+if test "$1" == "check"; then
13+ exit 0
14+fi
15+
16+cd $SRC
17+
18+echo $TARGET
19+
20+echo \ \ Removing old directory...
21+rm -fr $TARGETDIR
22+
23+. $WRK/_extract.sh
24+
25+cd $TARGETDIR
26+
27+echo \ \ Patching...
28+patch -Np1 -i $DLD/docbook-utils-0.6.14-grep_fix-1.patch \
29+ 1> $LOG/$TARGET.0_patch.log 2>&1 || exit 1
30+
31+sed -i 's:/html::' doc/HTML/Makefile.in
32+
33+echo \ \ Configuring...
34+./configure --prefix=/usr \
35+ 1> $LOG/$TARGET.1_conf.log 2>&1 || exit 1
36+
37+echo \ \ Making...
38+make \
39+ 1> $LOG/$TARGET.2_make.log 2>&1 || exit 1
40+
41+echo \ \ Installing...
42+paco -p $TARGET 'make install' \
43+ 1> $LOG/$TARGET.3_install.log 2>&1 || exit 1
44+
45+echo -n \ \ Pacoing:\ && paco -a1 | grep $TARGET || echo none
46+
47+for doctype in html ps dvi man pdf rtf tex texi txt
48+do
49+ paco -p+ $TARGET "ln -s docbook2$doctype /usr/bin/db2$doctype"
50+done
51+
52+
53+echo \ \ Removing directory...
54+cd .. && rm -fr $TARGETDIR
55+
--- /dev/null
+++ b/BLFS/openjade.sh
@@ -0,0 +1,65 @@
1+#!/bin/sh
2+
3+VER=1.3.2
4+TARGET=openjade-$VER
5+TARGETBALL=$TARGET.tar.gz
6+TARGETDIR=$TARGET
7+
8+. ./_blfsset.sh
9+
10+echo Check Required...
11+./_checkRequired.sh OpenSP || exit 1
12+if test "$1" == "check"; then
13+ exit 0
14+fi
15+
16+cd $SRC
17+
18+echo $TARGET
19+
20+echo \ \ Removing old directory...
21+rm -fr $TARGETDIR
22+
23+. $WRK/_extract.sh
24+
25+cd $TARGETDIR
26+
27+echo \ \ Patching...
28+patch -Np1 -i $DLD/openjade-$VER-gcc_4.6-1.patch \
29+ 1> $LOG/$TARGET.0_patch.log 2>&1 || exit 1
30+
31+echo \ \ Configuring...
32+./configure --prefix=/usr --enable-http --disable-static \
33+ --enable-default-catalog=/etc/sgml/catalog \
34+ --enable-default-search-path=/usr/share/sgml \
35+ --datadir=/usr/share/sgml/openjade-$VER \
36+ 1> $LOG/$TARGET.1_conf.log 2>&1 || exit 1
37+
38+echo \ \ Making...
39+make \
40+ 1> $LOG/$TARGET.2_make.log 2>&1 || exit 1
41+
42+echo \ \ Installing...
43+paco -p $TARGET "make install" \
44+ 1> $LOG/$TARGET.3_install.log 2>&1 || exit 1
45+
46+echo -n \ \ Pacoing:\ && paco -a1 | grep $TARGET || echo none
47+
48+paco -p+ $TARGET "make install-man" \
49+ 1>> $LOG/$TARGET.3_install.log 2>&1 || exit 1
50+
51+ln -v -sf openjade /usr/bin/jade
52+ln -v -sf libogrove.so /usr/lib/libgrove.so
53+ln -v -sf libospgrove.so /usr/lib/libspgrove.so
54+ln -v -sf libostyle.so /usr/lib/libstyle.so
55+install -v -m644 dsssl/catalog /usr/share/sgml/openjade-$VER/
56+install -v -m644 dsssl/*.{dtd,dsl,sgm} \
57+ /usr/share/sgml/openjade-$VER
58+install-catalog --add /etc/sgml/openjade-$VER.cat \
59+ /usr/share/sgml/openjade-$VER/catalog
60+install-catalog --add /etc/sgml/sgml-docbook.cat \
61+ /etc/sgml/openjade-$VER.cat
62+
63+echo \ \ Removing directory...
64+cd .. && rm -fr $TARGETDIR
65+
--- /dev/null
+++ b/BLFS/opensp.sh
@@ -0,0 +1,58 @@
1+#!/bin/sh
2+
3+VER=1.5.2
4+TARGET=OpenSP-$VER
5+TARGETBALL=$TARGET.tar.gz
6+TARGETDIR=$TARGET
7+
8+. ./_blfsset.sh
9+
10+echo Check Required...
11+./_checkRequired.sh sgml-common || exit 1
12+if test "$1" == "check"; then
13+ exit 0
14+fi
15+
16+cd $SRC
17+
18+echo $TARGET
19+
20+echo \ \ Removing old directory...
21+rm -fr $TARGETDIR
22+
23+. $WRK/_extract.sh
24+
25+cd $TARGETDIR
26+
27+sed -i 's:32,:253,:' lib/Syntax.cxx
28+sed -i 's:LITLEN 240 :LITLEN 8092:' \
29+ unicode/{gensyntax.pl,unicode.syn}
30+
31+echo \ \ Configuring...
32+./configure --prefix=/usr --disable-static --disable-doc-build \
33+ --enable-default-catalog=/etc/sgml/catalog --enable-http \
34+ --enable-default-search-path=/usr/share/sgml \
35+ 1> $LOG/$TARGET.1_conf.log 2>&1 || exit 1
36+
37+echo \ \ Making...
38+make pkgdatadir=/usr/share/sgml/OpenSP-$VER \
39+ 1> $LOG/$TARGET.2_make.log 2>&1 || exit 1
40+
41+echo \ \ Installing...
42+make pkgdatadir=/usr/share/sgml/OpenSP-$VER install \
43+ 1> $LOG/$TARGET.3_install.log 2>&1 || exit 1
44+
45+echo -n \ \ Pacoing:\ && paco -a1 | grep $TARGET || echo none
46+
47+paco -p+ $TARGET "ln -v -sf onsgmls /usr/bin/nsgmls"
48+paco -p+ $TARGET "ln -v -sf osgmlnorm /usr/bin/sgmlnorm"
49+paco -p+ $TARGET "ln -v -sf ospam /usr/bin/spam"
50+paco -p+ $TARGET "ln -v -sf ospcat /usr/bin/spcat"
51+paco -p+ $TARGET "ln -v -sf ospent /usr/bin/spent"
52+paco -p+ $TARGET "ln -v -sf osx /usr/bin/sx"
53+paco -p+ $TARGET "ln -v -sf osx /usr/bin/sgml2xml"
54+paco -p+ $TARGET "ln -v -sf libosp.so /usr/lib/libsp.so"
55+
56+echo \ \ Removing directory...
57+cd .. && rm -fr $TARGETDIR
58+
--- /dev/null
+++ b/BLFS/sgml-common.sh
@@ -0,0 +1,58 @@
1+#!/bin/sh
2+
3+VER=0.6.3
4+TARGET=sgml-common-$VER
5+TARGETBALL=$TARGET.tgz
6+TARGETDIR=$TARGET
7+
8+. ./_blfsset.sh
9+
10+echo Check Required...
11+./_checkRequired.sh || exit 1
12+if test "$1" == "check"; then
13+ exit 0
14+fi
15+
16+cd $SRC
17+
18+echo $TARGET
19+
20+echo \ \ Removing old directory...
21+rm -fr $TARGETDIR
22+
23+. $WRK/_extract.sh
24+
25+cd $TARGETDIR
26+
27+echo \ \ Patching...
28+patch -Np1 -i $DLD/sgml-common-$VER-manpage-1.patch
29+
30+autoreconf -f -i
31+
32+echo \ \ Configuring...
33+./configure --prefix=/usr --sysconfdir=/etc \
34+ 1> $LOG/$TARGET.1_conf.log 2>&1 || exit 1
35+
36+echo \ \ Making...
37+make \
38+ 1> $LOG/$TARGET.2_make.log 2>&1 || exit 1
39+
40+echo \ \ Installing...
41+paco -p $TARGET "make install" \
42+ 1> $LOG/$TARGET.3_install.log 2>&1 || exit 1
43+
44+echo -n \ \ Pacoing:\ && paco -a1 | grep $TARGET || echo none
45+
46+paco -p+ $TARGET "\
47+install-catalog --add /etc/sgml/sgml-ent.cat \
48+ /usr/share/sgml/sgml-iso-entities-8879.1986/catalog" \
49+ 1>> $LOG/$TARGET.3_install.log 2>&1 || exit 1
50+
51+paco -p+ $TARGET "\
52+install-catalog --add /etc/sgml/sgml-docbook.cat \
53+ /etc/sgml/sgml-ent.cat" \
54+ 1>> $LOG/$TARGET.3_install.log 2>&1 || exit 1
55+
56+echo \ \ Removing directory...
57+cd .. && rm -fr $TARGETDIR
58+