So finally, there is no option in stdeb to indicate some files to copy to some system dirs (for* icons* for exemple) so I here is a method to get it. Concerning* launchers*, setup.py indicate leoc & leo entry_points and leo-install.py script which are copied to /usr/bin .
- Install stdeb : sudo pip install stdeb - Edit setup.py to add '*.desktop' to datapats - Create a leo.desktop file with this content : [Desktop Entry] > Name=Leo > Type=Application > Exec=/usr/bin/leo > Terminal=false > Icon=/usr/share/icons/SplashScreen_trans.png > Comment=Leonine Editor with Outlines > NoDisplay=false > Categories=Development;IDE > Name[en]=Leo > - Create a stdeb.cfg with this content : [DEFAULT] > package = leo-editor > mime-desktop-files = leo.desktop > copyright-file = LICENSE.TXT > - Generate source tarball & debian archives : python setup.py --command-packages=stdeb.command sdist_dsc - Modify "deb_dist/leo-5.0b2/debian/leo-editor.install" to copy an icon : echo "leo/Icons/SplashScreen_trans.png usr/share/icons/" >> deb_dist/leo- 5.0b2/debian/leo-editor.install - Regenerate the debian sources archives to include previous modification : cd deb_dist/leo-5.0b2 dpkg-source -b . This will give you debian sources that could be intergrated to debian mainline packaging process, or simply uploaded on leo launchpad ppa account to autobuild it for several ubuntu distributions. - To build the .deb package locally, just do cd deb_dist/leo-5.0b2 dpkg-buildpackage -rfakeroot -uc -b Finally, we just have to think about dependencies for various python/qt versions in order to complete stdeb.cfg file. Maybe we could think about mime file, changelog and other customizations (https://github.com/astraw/stdeb#customizing-the-produced-debian-source-package-config-options) Then, create launchpad ppas for stable and maybe nightly builds of leo, and maybe a debian repository (for squeeze, wheezy and Jessie) and that's it ! I can push that on github if you like. -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/leo-editor. For more options, visit https://groups.google.com/d/optout.
