Post by Sourav K. Mandalhttp://forums.gentoo.org/viewtopic.php?p=1318855#1318855
It builds/installs from CVS source, not frozen code. A DSV ebuild is
included as well.
Any feedback would be appreciated.
As I run gentoo myself, I had tried to a do an ebuild as well, but
you got way further than I did. (And at the time - a few months ago -
wxPython 2.4.2.4 wasn't even listed in the ebuilds. Note that BitPim
won't actually work with wxPython earlier than 2.4.2.4 so you may
want to make the version more explicit).
Some comments in no particular order:
- It is really cool that you did this since it should also work for
people on non-x86 versions of Linux.
- I have no issue with installing from CVS. There won't be source tarballs
of BitPim unless someone provides code for automating the process of
uploading files to SourceForge, and filling out all the stupid forms they
have.
- There is a versioning issue, in that head of CVS gets you exactly that.
There is a 0.7 release every two weeks, so I don't know how that is handled
in Gentoo. I do tag each build (eg most recent tag is BITPIM_0_7_14) but
don't know if you want to create an ebuild for every single version every
two weeks.
- Please change the homepage to www.bitpim.org
- CVS_RSH should not be present. When you use pserver, rsh is not used so
the presence of the variable in the script will be confusing.
- qt is NOT used. wxPython uses gtk. I don't believe you need to mention
gtk in this ebuild since it is implicit in the use of wxPython.
- I have the same complaints as you for the docpr stuff in ebuilds :-)
- I now see why you mention Qt - for qtopiadesktop. BitPim just reads the
files directly which are in XML format, and so no part of the qt libraries
are used. Note that people are most likely to install qtopiadesktop
from tarballs or other things, so it is quite possible to have ~qt
yet be running qtopiadesktop. I would recommend always copying the
qtopiadesktop module since it doesn't bring in any other dependencies.
- You should junk the docs bit since they are not relevant. I will also
be rearranging some of that shortly.
- My preference is for BitPim to be installed below /usr/lib/bitpim-version
rather than in the site-packages directory. Stuff in site-packages
generally is done via distutils and is more of a "package" rather than
an application like BitPim.
- You will also need to make an ebuild for paramiko as I will be removing
the private copy in the bitpim source soon. It is distutils based and
should be a simple search and replace on the dsv ebuild :-)
- I would like the version.py file to be modified so that we can tell this
is a head of CVS gentoo version rather than an official build. I think
the version number should displayed by BitPim should look something like
0.7.14-gentoo-CVS-date
This will require some modifications of that file which I will do.
- I am happy for the ebuild script to live in BitPim cvs if that would
be of any use.
- I deliberately don't do support on all sorts of web forums, so people
who want their support questions answered need to use the bitpim-user
mailing list.
Roger