Hello again Martin,
I've just done my first try of SIP Communicator's debian package and its generator.
Excellent work! I didn't experience any serious problem building the package and was able to rapidly install and run SC! You've really done a great job!
While testing the package I've added some modifications/improvements that I found appropriate. Please let me know whether you are ok with all of them.
The following might also be of interest to other package maintainers.
First I've set .sip-communicator/log to be the official logging directory for installed versions of sip-communicator (as opposed to those run directly from the cvs sandbox). I therefore needed to add a
mkdir -p ~/.sip-communicator/log
line in sip-communicator.sh cause apparently the java.util.logging logger does not create automatically.
I also had to add sc-bundles/util.jar to the classpath (again in sip-communicator.sh) as it contains the ScLogFormatter which is used for all sip-communicator logging. Without this all file logs get printed in xml and console logs do not have the standard SIP Communicator format.
I've created a new instance of the logging.properties file and have added it to resources/install for use by all installers (that's one of the points that other package maintainers may be interested in). This instance of logging.properties has a reduced log level for console logs and stores log files inside the ~/.sip-communicator/log directory.
Again in sip-communicator.sh i've added an "export" line for LD_LIBRARY_PATH in order to make sure that JMF .so's are usable by SC.
I've removed the better part of the jars in /usr/share/sc/lib as they are already included in the bundles that are using them. This also goes for liblog4j and libbcprov so I've removed the dependencies that the package had on them. I've therefore modified the rules script so that it would only copy those libs that are necessary.
This situation is kind of unclear however. I think it would be better to simply designate directories that contain shared jars and others that only contain bundle specific jars so that we could avoid having all package maintainers enumerate them one by one.
Anyways, a thing worth mentioning here is the fact that removing all these jars has brought the package size down to 5.5M
I also had to add jmf.jar to the classpath (sip-communicator.sh) and change default values for some log4j properties used in one of the packages.
Well, I think that's all. Let me know if you find any problems with my changes (I apologize if you do!).
Once you confirm they are ok, I'll add them to the cruisecontrol build so that they get generated on every CC build and uploaded to a location of you choice (a SC debian repo? )
Thanks again for the great work Martin.