• R/O
  • HTTP
  • SSH
  • HTTPS

コミット

タグ
未設定

よく使われているワード(クリックで追加)

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

コミットメタ情報

リビジョンdac6b664e32a9d2b3c51e2e07e3ca7921f865333 (tree)
日時2012-03-04 18:16:08
作者matsuand <matsuand@user...>
コミッターmatsuand

ログメッセージ

[BLFS] Added git+{2,3}.

変更サマリ

差分

--- /dev/null
+++ b/BLFS/gtk+2.sh
@@ -0,0 +1,81 @@
1+#!/bin/sh
2+
3+VER=2.24.8
4+TARGET=gtk+-$VER
5+TARGETBALL=$TARGET.tar.xz
6+TARGETDIR=$TARGET
7+
8+LFS=/mnt/lfs
9+SRC=$LFS/sources/BLFS
10+DLD=$LFS/download/BLFS
11+WRK=$LFS/work/BLFS
12+LOG=$WRK/log
13+
14+mkdir -pv $LOG
15+
16+echo Check Required...
17+./_checkRequired.sh cairo pango atk jasper gdk-pixbuf || exit 1
18+if test "$1" == "check"; then
19+ exit 0
20+fi
21+
22+echo Check Options...
23+. ./_checkOptions.sh hicolor-icon-theme indent
24+
25+cd $SRC
26+
27+echo $TARGET
28+
29+echo \ \ Removing old directory...
30+rm -fr $TARGETDIR
31+
32+echo \ \ Extracting...
33+if ! test -f $DLD/$TARGETBALL; then
34+ echo \ \ Tarball not found: $TARGETBALL && exit 1
35+else
36+ tar xf $DLD/$TARGETBALL
37+fi
38+
39+cd $TARGETDIR
40+
41+#echo \ \ Patching unofficial ...
42+#patch -Np1 -i $WRK/patch/gtk+-2.21.7.patch \
43+# 1> $LOG/$TARGET.0_patch.log 2>&1 || exit 1
44+
45+sed -i '/db2html/i@HAVE_DOCBOOK_TRUE@\t mkdir gtk-tut; \\
46+/gtk-tut html/i@HAVE_DOCBOOK_TRUE@\t mv *.html gtk-tut; \\' \
47+ docs/tutorial/Makefile.in &&
48+sed -i '/db2html/i@HAVE_DOCBOOK_TRUE@\t mkdir gtk-faq; \\
49+/gtk-faq html/i@HAVE_DOCBOOK_TRUE@\t mv *.html gtk-faq; \\' \
50+ docs/faq/Makefile.in &&
51+sed -i 's#^\( gtk_icon_view_\)l#\1queue_l#' gtk/gtkiconview.c
52+
53+echo \ \ Configuring...
54+./configure --prefix=/usr --sysconfdir=/etc \
55+ --with-libjasper --disable-gtk-doc \
56+ 1> $LOG/$TARGET.1_conf.log 2>&1 || exit 1
57+
58+echo \ \ Making...
59+make \
60+ 1> $LOG/$TARGET.2_make.log 2>&1 || exit 1
61+
62+echo \ \ Installing...
63+paco -p $TARGET "make install" \
64+ 1> $LOG/$TARGET.3_install.log 2>&1 || exit 1
65+
66+install -v -m755 -d /usr/share/doc/gtk+-$VER/{faq,tutorial}
67+
68+paco -p+ $TARGET "cp -v -R docs/faq/html/* /usr/share/doc/gtk+-$VER/faq" \
69+ 1> $LOG/$TARGET.4_install.log 2>&1 || echo Error occured faq
70+
71+paco -p+ $TARGET "cp -v -R docs/tutorial/html/* /usr/share/doc/gtk+-$VER/tutorial" \
72+ 1>> $LOG/$TARGET.4_install.log 2>&1 || echo Error occured tutorial
73+
74+paco -p+ $TARGET "install -v -m644 docs/*.txt /usr/share/doc/gtk+-$VER" \
75+ 1>> $LOG/$TARGET.4_install.log 2>&1 || echo Error occured txt
76+
77+echo -n \ \ Pacoing:\ && paco -a1 | grep $TARGET || echo none
78+
79+echo \ \ Removing directory...
80+cd .. && rm -fr $TARGETDIR
81+
--- /dev/null
+++ b/BLFS/gtk+3.sh
@@ -0,0 +1,51 @@
1+#!/bin/sh
2+
3+VER=3.2.3
4+TARGET=gtk+-$VER
5+TARGETBALL=$TARGET.tar.xz
6+TARGETDIR=$TARGET
7+
8+. ./_blfsset.sh
9+
10+echo Check Required...
11+./_checkRequired.sh cairo pango atk gdk-pixbuf || exit 1
12+if test "$1" == "check"; then
13+ exit 0
14+fi
15+
16+echo Check Options...
17+. ./_checkOptions.sh cups colord gobject-introspection
18+
19+cd $SRC
20+
21+echo $TARGET
22+
23+echo \ \ Removing old directory...
24+rm -fr $TARGETDIR
25+
26+echo \ \ Extracting...
27+if ! test -f $DLD/$TARGETBALL; then
28+ echo \ \ Tarball not found: $TARGETBALL && exit 1
29+else
30+ tar xf $DLD/$TARGETBALL
31+fi
32+
33+cd $TARGETDIR
34+
35+echo \ \ Configuring...
36+./configure --prefix=/usr --sysconfdir=/etc \
37+ 1> $LOG/$TARGET.1_conf.log 2>&1 || exit 1
38+
39+echo \ \ Making...
40+make \
41+ 1> $LOG/$TARGET.2_make.log 2>&1 || exit 1
42+
43+echo \ \ Installing...
44+paco -p $TARGET "make install" \
45+ 1> $LOG/$TARGET.3_install.log 2>&1 || exit 1
46+
47+echo -n \ \ Pacoing:\ && paco -a1 | grep $TARGET || echo none
48+
49+echo \ \ Removing directory...
50+cd .. && rm -fr $TARGETDIR
51+