Esempio n. 1
0
	def build(self, shutit):
		import sd_util
		sd_util.setup_x_environment(shutit)
		shutit.send('mkdir -p /tmp/build/util_macros')
		shutit.send('cd /tmp/build/util_macros')
		shutit.send('curl -L http://xorg.freedesktop.org/releases/individual/util/util-macros-1.19.0.tar.bz2 | bunzip2 -c | tar -xf -')
		shutit.send('cd util*')
		shutit.send('./configure $XORG_CONFIG')
		shutit.send('make install')
		return True
Esempio n. 2
0
	def build(self, shutit):
		import sd_util
		sd_util.setup_x_environment(shutit)
		shutit.send('mkdir -p /tmp/build/xcb_proto')
		shutit.send('cd /tmp/build/xcb_proto')
		shutit.send('curl -L http://xcb.freedesktop.org/dist/xcb-proto-1.11.tar.bz2 | bunzip2 -c | tar -xf -')
		shutit.send('cd xcb-proto*')
		shutit.send('./configure $XORG_CONFIG')
		shutit.send('make install')
		return True
Esempio n. 3
0
	def build(self, shutit):
		import sd_util
		sd_util.setup_x_environment(shutit)
		shutit.send('mkdir -p /tmp/build/libxau')
		shutit.send('cd /tmp/build/libxau')
		shutit.send('curl -L http://xorg.freedesktop.org/releases/individual/lib/libXau-1.0.8.tar.bz2 | bunzip2 -c | tar -xf -')
		shutit.send('cd libX*')
		shutit.send('./configure $XORG_CONFIG')
		shutit.send('make')
		shutit.send('make install')
		return True
Esempio n. 4
0
	def build(self, shutit):
		import sd_util
		sd_util.setup_x_environment(shutit)
		shutit.send('mkdir /tmp/build/x7proto')
		shutit.send('cd /tmp/build/x7proto')
		shutit.send('mkdir build')
		shutit.send('cd build')
		shutit.send_host_file('/tmp/build/x7proto/proto-7.7.md5','context/proto-7.7.md5')
		shutit.send('''grep -v '^#' ../proto-7.7.md5 | awk '{print $2}' | wget -i- -c -B http://xorg.freedesktop.org/releases/individual/proto/''')
		shutit.send('md5sum -c ../proto-7.7.md5')
		shutit.send('''for package in $(grep -v '^#' ../proto-7.7.md5 | awk '{print $2}'); do packagedir=${package%.tar.bz2}; tar -xf $package; pushd $packagedir; ./configure $XORG_CONFIG; make; make install; popd; rm -rf $packagedir; done''')
		return True
Esempio n. 5
0
 def build(self, shutit):
     import sd_util
     sd_util.setup_x_environment(shutit)
     shutit.send('mkdir -p /tmp/build/util_macros')
     shutit.send('cd /tmp/build/util_macros')
     shutit.send(
         'curl -L http://xorg.freedesktop.org/releases/individual/util/util-macros-1.19.0.tar.bz2 | bunzip2 -c | tar -xf -'
     )
     shutit.send('cd util*')
     shutit.send('./configure $XORG_CONFIG')
     shutit.send('make install')
     return True
Esempio n. 6
0
	def build(self, shutit):
		import sd_util
		sd_util.setup_x_environment(shutit)
		shutit.send('mkdir -p /tmp/build/libxcb')
		shutit.send('cd /tmp/build/libxcb')
		shutit.send('curl -L http://xcb.freedesktop.org/dist/libxcb-1.11.tar.bz2 | bunzip2 -c | tar -xf -')
		shutit.send('cd libxcb*')
		shutit.send('sed "s/pthread-stubs//" -i configure')
		shutit.send('''./configure $XORG_CONFIG --enable-xinput --docdir='${datadir}'/doc/libxcb-1.11''')
		shutit.send('make')
		shutit.send('make install')
		return True
Esempio n. 7
0
 def build(self, shutit):
     import sd_util
     sd_util.setup_x_environment(shutit)
     shutit.send('mkdir -p /tmp/build/libxau')
     shutit.send('cd /tmp/build/libxau')
     shutit.send(
         'curl -L http://xorg.freedesktop.org/releases/individual/lib/libXau-1.0.8.tar.bz2 | bunzip2 -c | tar -xf -'
     )
     shutit.send('cd libX*')
     shutit.send('./configure $XORG_CONFIG')
     shutit.send('make')
     shutit.send('make install')
     return True
Esempio n. 8
0
 def build(self, shutit):
     import sd_util
     sd_util.setup_x_environment(shutit)
     shutit.send('mkdir -p /tmp/build/libxcb')
     shutit.send('cd /tmp/build/libxcb')
     shutit.send(
         'curl -L http://xcb.freedesktop.org/dist/libxcb-1.11.tar.bz2 | bunzip2 -c | tar -xf -'
     )
     shutit.send('cd libxcb*')
     shutit.send('sed "s/pthread-stubs//" -i configure')
     shutit.send(
         '''./configure $XORG_CONFIG --enable-xinput --docdir='${datadir}'/doc/libxcb-1.11'''
     )
     shutit.send('make')
     shutit.send('make install')
     return True
Esempio n. 9
0
    def build(self, shutit):
        import sd_util
        sd_util.setup_x_environment(shutit)
        shutit.send('mkdir -p /tmp/build/x7lib')
        shutit.send('cd /tmp/build/x7lib')
        shutit.send_host_file('/tmp/build/x7lib/lib-7.7.md5',
                              'context/lib-7.7.md5')
        shutit.send('mkdir lib')
        shutit.send('cd lib')
        shutit.send(
            r'''grep -v '^#' ../lib-7.7.md5 | awk '{print $2}' | wget -i- -c -B http://xorg.freedesktop.org/releases/individual/lib/'''
        )
        shutit.send('md5sum -c ../lib-7.7.md5')
        shutit.run_script('''
			for package in $(grep -v '^#' ../lib-7.7.md5 | awk '{print $2}')
			do
			  packagedir=${package%.tar.bz2}
			  tar -xf $package
			  pushd $packagedir
			  case $packagedir in
			    libXfont-[0-9]* )
			      ./configure $XORG_CONFIG --disable-devel-docs
			    ;;
			    libXt-[0-9]* )
			      ./configure $XORG_CONFIG \
			                  --with-appdefaultdir=/etc/X11/app-defaults
			    ;;
			    * )
			      ./configure $XORG_CONFIG
			    ;;
			  esac
			  make
			  make install
			  popd
			  rm -rf $packagedir
			  /sbin/ldconfig
			done
		''')
        return True
Esempio n. 10
0
	def build(self, shutit):
		import sd_util
		sd_util.setup_x_environment(shutit)
		shutit.send('mkdir -p /tmp/build/x7lib')
		shutit.send('cd /tmp/build/x7lib')
		shutit.send_host_file('/tmp/build/x7lib/lib-7.7.md5','context/lib-7.7.md5')
		shutit.send('mkdir lib')
		shutit.send('cd lib')
		shutit.send(r'''grep -v '^#' ../lib-7.7.md5 | awk '{print $2}' | wget -i- -c -B http://xorg.freedesktop.org/releases/individual/lib/''')
		shutit.send('md5sum -c ../lib-7.7.md5')
		shutit.run_script('''
			for package in $(grep -v '^#' ../lib-7.7.md5 | awk '{print $2}')
			do
			  packagedir=${package%.tar.bz2}
			  tar -xf $package
			  pushd $packagedir
			  case $packagedir in
			    libXfont-[0-9]* )
			      ./configure $XORG_CONFIG --disable-devel-docs
			    ;;
			    libXt-[0-9]* )
			      ./configure $XORG_CONFIG \
			                  --with-appdefaultdir=/etc/X11/app-defaults
			    ;;
			    * )
			      ./configure $XORG_CONFIG
			    ;;
			  esac
			  make
			  make install
			  popd
			  rm -rf $packagedir
			  /sbin/ldconfig
			done
		''')
		return True