Revisión | acbe5104a7ffb66be68b884599dd0da0f46c063d (tree) |
---|---|
Tiempo | 2012-03-20 16:09:25 |
Autor | matsuand <matsuand@user...> |
Commiter | matsuand |
[BLFS] gnome/gconf.
@@ -0,0 +1,67 @@ | ||
1 | +#!/bin/sh | |
2 | + | |
3 | +VER=3.2.3 | |
4 | +TARGET=GConf-$VER | |
5 | +TARGETBALL=$TARGET.tar.xz | |
6 | +TARGETDIR=$TARGET | |
7 | + | |
8 | +. ../_blfsset.sh | |
9 | +. ../Xorg/_xorgset.sh | |
10 | +. ./_gnomeset.sh | |
11 | + | |
12 | +echo Check Required... | |
13 | +../_checkRequired.sh dbus-glib intltool libxml2 || exit 1 | |
14 | +if test "$1" == "check"; then | |
15 | + exit 0 | |
16 | +fi | |
17 | + | |
18 | +cd $SRC | |
19 | + | |
20 | +echo $TARGET | |
21 | + | |
22 | +echo \ \ Removing old directory... | |
23 | +rm -fr $TARGETDIR | |
24 | + | |
25 | +. $WRK/_extract.sh | |
26 | + | |
27 | +cd $TARGETDIR | |
28 | + | |
29 | +echo \ \ Configuring... | |
30 | +./configure --prefix=$GNOME_PREFIX \ | |
31 | + --sysconfdir=$GNOME_SYSCONFDIR \ | |
32 | + --libexecdir=$GNOME_PREFIX/lib/GConf \ | |
33 | + --disable-orbit \ | |
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 | +paco -p+ $TARGET "\ | |
45 | +install -v -m755 -d $GNOME_SYSCONFDIR/gconf/gconf.xml.system" \ | |
46 | + 1>> $LOG/$TARGET.3_install.log 2>&1 || exit 1 | |
47 | + | |
48 | +cat > /etc/dbus-1/system-local.conf << "EOF" | |
49 | +<!DOCTYPE busconfig PUBLIC | |
50 | + "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN" | |
51 | + "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd"> | |
52 | +<busconfig> | |
53 | + | |
54 | + <!-- Search for .conf files in $GNOME_SYSCONFDIR/dbus-1/system.d --> | |
55 | + <includedir>$GNOME_SYSCONFDIR/dbus-1/system.d</includedir> | |
56 | + | |
57 | + <!-- Search for .service files in $GNOME_PREFIX/share/dbus-1/system-services --> | |
58 | + <!-- <servicedir>$GNOME_PREFIX/share/dbus-1/system-services</servicedir> --> | |
59 | + | |
60 | +</busconfig> | |
61 | +EOF | |
62 | + | |
63 | +echo -n \ \ Pacoing:\ && paco -a1 | grep $TARGET || echo none | |
64 | + | |
65 | +echo \ \ Removing directory... | |
66 | +cd .. && rm -fr $TARGETDIR | |
67 | + |