Cedega7.3 in Ubuntu9.04

直接安裝deb時會顯示缺少python2.4-dbus
但是源裡面卻沒有這套件,於是在ubuntu fourm

CD into the place that cedega is in and run:
$mkdir -p cedega_000133_all/DEBIAN
This will create an "all folder."
Then simply run all of these:
$ar p cedega_000133_all.deb data.tar.gz | tar zx -C cedega_000133_all/
$ar p cedega_000133_all.deb control.tar.gz | tar zx -C cedega_000133_all/DEBIAN/
$mv cedega_000133_all.deb cedega_000133_all.prerebuild.deb
$perl -pi -e 's/python2.4-dbus/python-dbus/' cedega_000133_all/DEBIAN/control
$dpkg-deb --build cedega_000133_all
$rm -rf cedega_000133_all
$sudo dpkg -i cedega_000133_all.deb

沒有留言:

張貼留言