[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[patch] Required files to use Dogtail + Anaconda



Hello list,
this is a diff between my modifications of scripts/upd-instroot and the same file from version anaconda-11.1.2.36.

This will add around 2MB of required libraries and dogtail python module
to directory structure used for generating stage2.img

Greetings,
Alexander.
--- anaconda-11.1.2.36/scripts/upd-instroot	2007-01-12 19:58:18.000000000 +0100
+++ anaconda-modified/scripts/upd-instroot	2007-04-17 16:30:12.000000000 +0200
@@ -234,7 +234,7 @@
 fi
 
 # dogtail stuff...
-PACKAGESGR="$PACKAGESGR gail at-spi libbonobo ORBit2"
+PACKAGESGR="$PACKAGESGR gail at-spi libbonobo ORBit2 pyspi GConf2 dogtail libXevie libXtst gnome-python2-gconf"
 
 # modular xorg...
 XORGLIBS="libICE libSM libX11 libXcursor libXext libXfixes libXft libXi libxkbfile libXmu libXpm libXrandr libXrender libXt libXxf86misc libXaw liblbxutil libXfont libfontenc libXau libXdmcp libXfont libXinerama"
@@ -809,12 +809,20 @@
 usr/$LIBDIR/gtk-2.0/modules/libgail.so
 usr/libexec/bonobo-activation-server
 usr/libexec/at-spi-registryd
+usr/libexec/gconfd-2
 usr/$LIBDIR/libORBit*
 usr/$LIBDIR/libbonobo*
 usr/$LIBDIR/libspi*
 usr/$LIBDIR/libcspi*
 usr/$LIBDIR/bonobo/servers/*
 usr/$LIBDIR/libXevie*
+usr/$LIBDIR/libXtst*
+usr/$LIBDIR/libgconf-2*
+usr/$LIBDIR/GConf/2/libgconfbackend-xml.so
+usr/$LIBDIR/python?.?/site-packages/gtk-2.0/atk.so
+usr/$LIBDIR/python?.?/site-packages/gtk-2.0/gconf.so
+usr/$LIBDIR/python?.?/site-packages/atspi.so
+usr/lib/python?.?/site-packages/dogtail/*.py
 EOF
 
 
@@ -951,6 +959,22 @@
 echo "Expanding graphical packages..."
 expandPackageSet "$RPMSGR" $DESTGR $KEEPFILEGR
 
+# more dogtail stuff
+if [ -n "$NEEDGR" ]; then
+    echo "Creating customized GConf2 settings for root"
+    mkdir -p $DESTGR/.gconf/desktop/gnome/interface
+    touch $DESTGR/.gconf/desktop/%gconf.xml
+    touch $DESTGR/.gconf/desktop/gnome/%gconf.xml
+    cat > $DESTGR/.gconf/desktop/gnome/interface/%gconf.xml <<EOF
+<?xml version="1.0"?>
+<gconf>
+        <entry name="accessibility" mtime="1176200664" type="bool" value="true">
+        </entry>
+</gconf>
+EOF
+#todo: fix file permissions
+fi
+
 echo "retrieving timezones"
 TZDIR=/tmp/glibc-timezone-$$
 mkdir -p $TZDIR/usr/share/zoneinfo

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]