View Single Post
Posts: 2,802 | Thanked: 4,491 times | Joined on Nov 2007
#401
Originally Posted by maacruz View Post
It is python, so the package itself can be the sources (I haven't looked at it)
That doesn't help with re-packaging it, though one can produce a more compatible version with something like:

Code:
wget https://garage.maemo.org/frs/download.php/4479/sliderotate-0.0.27.diablo.deb
mkdir -p tmpdir/DEBIAN
dpkg-deb -x sliderotate-0.0.27.diablo.deb tmpdir/
dpkg-deb -e sliderotate-0.0.27.diablo.deb tmpdir/DEBIAN/
perl -pi -e 's/xserver-xomap \(=/xserver-xomap \(>=/' tmpdir/DEBIAN/control
chmod 755 tmpdir/DEBIAN/postinst tmpdir/DEBIAN/postrm tmpdir/DEBIAN/prerm
dpkg-deb -b tmpdir/ sliderotate-0.0.27modified.diablo.deb
on a deb-based system and test the result (not attaching here since I can't find licencing information anywhere in the package). It still needs an xmodmap package, and someone should probably rip out the parts that install the older kernel & xserver.
 

The Following User Says Thank You to lma For This Useful Post: