Paul's Blog Entries for October 2009
Thursday 1st October 2009
Local Packages
Raised CPAN RT#50144 to upstream my patch for perl-Sendmail-PMilter that makes the no-op functions settimeout and setdbg return success values rather that failure values to avoid warnings like failed to set timeout from applications using these functions
Friday 2nd October 2009
Local Packages
Updated perl-ExtUtils-ParseXS to 2.200403
Completed importing all of my packages into subversion and trac, a task that has taken nearly 4 months
Saturday 3rd October 2009
Local Packages
Rebuilt libgpg-error for Fedora_12_Mass_Rebuild
Updated perl-Module-CoreList to 2.20 (update for perl 5.11.1; make Module::Corelist recognise $] as a version number on 5.11.0)
Tuesday 6th October 2009
Local Packages
Updated dovecot to 1.2.6 and the managesieve patch to the 1.2.6 version; I had to add a patch to revert the ssl_proxy_get_security_string() function to the dovecot-1.2.5 version if we have openssl < 0.9.8, which does not have the functions SSL_COMP_get_name and SSL_get_current_compression required by the dovecot-1.2.6 version
Updated perl-ExtUtils-ParseXS to 2.21
Wednesday 7th October 2009
Local Packages
Updated libxml2 to 2.7.6 (restore thread support, off by default in 2.7.5)
Thursday 8th October 2009
Local Packages
Updated getmail to 4.12.0 (handle MSExchange failure to deliver message gracefully; documentation updates regarding Python IMAP memory bug; fix bad tag in documentation)
Updated perl-XML-LibXML to 1.70 (changes too numerous to mention)
Removed perl-XML-LibXML-Common, obsoleted by perl-XML-LibXML >= 1.70
Friday 9th October 2009
Local Packages
New package perl-XML-LibXSLT (1.70)
Monday 12th October 2009
Local Packages
Updated mod_fcgid to 2.3.4; configuration directives changed name again
Fedora Project
Updated mod_fcgid in the devel branch (this will be used in Fedora 13) to 2.3.4 as per my local package; will think about whether or not to make this change in Fedora 12 as it might be considered too late
Thursday 15th October 2009
Local Packages
Updated getmail to 4.13.0 (fix new log message not having trailing newline)
Monday 19th October 2009
Local Packages
Updated davfs2 to 1.4.3, also adding a manual dependency on fuse though I remain unconvinced that it's actually needed; CentOS 5 users will need CentOS 5.4 to satisfy this dependency
Updated dovecot-sieve to 0.1.13
Tuesday 20th October 2009
Local Packages
Updated unrar to 3.9.6
Wednesday 21st October 2009
Fedora Project
Updated mod_fcgid (devel and F-12 branches) to include fixes from svn for a bunch of issues, most notably that the fixconf script had an error in the regexp, which resulted in a prefix of FcgidFcgid on the updated directives (raised rel-eng ticket 2622 to get the build tagged for dist-f12)
Updated proftpd to 1.3.2b in the devel and F-12 branches (raised rel-eng ticket 2623 to get the build tagged for dist-f12)
Local Packages
Updated contagged to 0.7.1; upstream have in their infinite wisdom decided to create release tarballs named after a git tag rather than using the project's version number like everyone else
Updated mod_fcgid as per the Fedora version
Updated proftpd as per the Fedora version
Thursday 22nd October 2009
Local Packages
Updated dovecot to show imap_capability in the login banner if set (Bug #524485), fix the initscript for the case when no action was specified, and fix the license tag, elaborate on what's licensed as what in the spec
Updated perl-Module-CoreList to 2.22 (add is_deprecated function and %deprecated hash)
Friday 23rd October 2009
Local Packages
Updated perl-version to 0.78 (improve v-string heuristics for Perl 5.8.0 and earlier (CPAN RT#50347); DTRT when installing on top of Perl >= 5.10.0 releases (CPAN RT#49667))
Monday 26th October 2009
Local Packages
New package metamail (2.7); well, hardly new but imported from PLD Linux and including the debian patches to fix known security issues and also patched by me to get rid of the multitude of gcc warnings in current Fedora releases
Tuesday 27th October 2009
Local Packages
Updated perl-Pod-Simple to 3.09 (many bugfixes including CPAN RT#12239, CPAN RT#37107, CPAN RT#40450, CPAN RT#43903, CPAN RT#49615 - see ChangeLog for details)
Wednesday 28th October 2009
Fedora Project
On Monday, ausil edited lat to exclude the sparc64 architecture, but neglected to add a reference to a corresponding bug as mandated in the Packaging Guidelines. This may well have been because there was no ExcludeArch tracker bug for the sparc64 architecture at all. So today I raised Bug #531446 (ExcludeArch Tracker for sparc64), then Bug #531450 (mono not available on sparc64), and then Bug #531451 (lat unavailable on sparc64) and set up the appropriate dependency hierarchy between these bugs. I was then able to add a reference to the latter bug in the spec file for lat.
Whilst looking at lat, I noticed a bunch of warnings during the build about the use of obsolete API's:
./AboutDialog.cs(41,28): warning CS0618: `Gtk.AboutDialog.Name' is obsolete: `Use ProgramName instead' ./AboutDialog.cs(41,28): warning CS0618: `Gtk.AboutDialog.Name' is obsolete: `Use ProgramName instead' ./ProfileDialog.cs(205,44): warning CS0618: `Gtk.AboutDialog.Name' is obsolete: `Use ProgramName instead' ./ProfileDialog.cs(230,44): warning CS0618: `Gtk.AboutDialog.Name' is obsolete: `Use ProgramName instead' ./ProfileDialog.cs(205,44): warning CS0618: `Gtk.AboutDialog.Name' is obsolete: `Use ProgramName instead' ./ProfileDialog.cs(230,44): warning CS0618: `Gtk.AboutDialog.Name' is obsolete: `Use ProgramName instead' ./Window.cs(329,25): warning CS0612: `Gtk.Tooltips' is obsolete ./Window.cs(329,42): warning CS0612: `Gtk.Tooltips' is obsolete ./Window.cs(333,43): warning CS0612: `Gtk.ToolItem.SetTooltip(Gtk.Tooltips, string, string)' is obsolete ./Window.cs(336,42): warning CS0612: `Gtk.ToolItem.SetTooltip(Gtk.Tooltips, string, string)' is obsolete ./Window.cs(339,44): warning CS0612: `Gtk.ToolItem.SetTooltip(Gtk.Tooltips, string, string)' is obsolete ./Window.cs(401,25): warning CS0612: `Gtk.Tooltips' is obsolete ./Window.cs(401,42): warning CS0612: `Gtk.Tooltips' is obsolete ./Window.cs(405,43): warning CS0612: `Gtk.ToolItem.SetTooltip(Gtk.Tooltips, string, string)' is obsolete ./Window.cs(409,46): warning CS0612: `Gtk.ToolItem.SetTooltip(Gtk.Tooltips, string, string)' is obsolete ./Window.cs(413,42): warning CS0612: `Gtk.ToolItem.SetTooltip(Gtk.Tooltips, string, string)' is obsolete ./Window.cs(417,43): warning CS0612: `Gtk.ToolItem.SetTooltip(Gtk.Tooltips, string, string)' is obsolete ./Window.cs(329,25): warning CS0612: `Gtk.Tooltips' is obsolete ./Window.cs(329,42): warning CS0612: `Gtk.Tooltips' is obsolete ./Window.cs(333,43): warning CS0612: `Gtk.ToolItem.SetTooltip(Gtk.Tooltips, string, string)' is obsolete ./Window.cs(336,42): warning CS0612: `Gtk.ToolItem.SetTooltip(Gtk.Tooltips, string, string)' is obsolete ./Window.cs(339,44): warning CS0612: `Gtk.ToolItem.SetTooltip(Gtk.Tooltips, string, string)' is obsolete ./Window.cs(401,25): warning CS0612: `Gtk.Tooltips' is obsolete ./Window.cs(401,42): warning CS0612: `Gtk.Tooltips' is obsolete ./Window.cs(405,43): warning CS0612: `Gtk.ToolItem.SetTooltip(Gtk.Tooltips, string, string)' is obsolete ./Window.cs(409,46): warning CS0612: `Gtk.ToolItem.SetTooltip(Gtk.Tooltips, string, string)' is obsolete ./Window.cs(413,42): warning CS0612: `Gtk.ToolItem.SetTooltip(Gtk.Tooltips, string, string)' is obsolete ./Window.cs(417,43): warning CS0612: `Gtk.ToolItem.SetTooltip(Gtk.Tooltips, string, string)' is obsolete Compilation succeeded - 14 warning(s)
Whilst this didn't prevent the build from completing, I figured it was going to be a problem at some point so after a great deal of googling to find documentation on the new ToolTips API in gtk-sharp 2.12 and later (there's basically no documentation and I eventually found an example I could use in the Muine project), I created this patch to get rid of the warnings:
diff -up lat-1.2.3/lat/AboutDialog.cs.dep lat-1.2.3/lat/AboutDialog.cs --- lat-1.2.3/lat/AboutDialog.cs.dep 2007-09-02 12:54:16.000000000 +0100 +++ lat-1.2.3/lat/AboutDialog.cs 2009-10-27 16:49:48.009259770 +0000 @@ -38,7 +38,7 @@ namespace lat ab.Comments = _desc; ab.Copyright = _copy; ab.Documenters = _docs; - ab.Name = Defines.PACKAGE; + ab.ProgramName = Defines.PACKAGE; ab.TranslatorCredits = _translators; ab.Version = Defines.VERSION; ab.Icon = Global.latIcon; diff -up lat-1.2.3/lat/ProfileDialog.cs.dep lat-1.2.3/lat/ProfileDialog.cs --- lat-1.2.3/lat/ProfileDialog.cs.dep 2007-09-02 12:54:16.000000000 +0100 +++ lat-1.2.3/lat/ProfileDialog.cs 2009-10-27 16:49:48.010419363 +0000 @@ -202,7 +202,7 @@ namespace lat ab.Authors = vp.Authors; ab.Comments = vp.Description; ab.Copyright = vp.Copyright; - ab.Name = vp.Name; + ab.ProgramName = vp.Name; ab.Version = vp.Version; ab.Icon = vp.Icon; @@ -227,7 +227,7 @@ namespace lat ab.Authors = vp.Authors; ab.Comments = vp.Description; ab.Copyright = vp.Copyright; - ab.Name = vp.Name; + ab.ProgramName = vp.Name; ab.Version = vp.Version; ab.Run (); diff -up lat-1.2.3/lat/Window.cs.dep lat-1.2.3/lat/Window.cs --- lat-1.2.3/lat/Window.cs.dep 2007-09-02 12:54:16.000000000 +0100 +++ lat-1.2.3/lat/Window.cs 2009-10-28 11:26:52.719168938 +0000 @@ -326,17 +326,11 @@ namespace lat void SetBrowserTooltips () { - Tooltips t = new Tooltips (); - string tipMsg = null; - - tipMsg = "Create a new directory entry"; - newMenuToolButton.SetTooltip (t, tipMsg, tipMsg); + newMenuToolButton.TooltipText = "Create a new directory entry"; - tipMsg = "Delete an entry from the directory"; - deleteToolButton.SetTooltip (t, tipMsg, tipMsg); + deleteToolButton.TooltipText = "Delete an entry from the directory"; - tipMsg = "Manage templates for creating new entries"; - templateToolButton.SetTooltip (t, tipMsg, tipMsg); + templateToolButton.TooltipText = "Manage templates for creating new entries"; } void TogglePages (bool pageOneState, bool pageTwoState, bool pageThreeState, bool pageFourState) @@ -398,23 +392,22 @@ namespace lat void SetupToolbar (ViewPlugin vp) { - Tooltips t = new Tooltips (); string tipMsg = null; tipMsg = String.Format ("Create a new {0}", vp.Name.ToLower()); - newMenuToolButton.SetTooltip (t, tipMsg, tipMsg); + newMenuToolButton.TooltipText = tipMsg; newMenuToolButton.Clicked += new EventHandler (viewDataTreeView.OnNewEntryActivate); tipMsg = String.Format ("Edit the properties of a {0}", vp.Name.ToLower()); - propertiesToolButton.SetTooltip (t, tipMsg, tipMsg); + propertiesToolButton.TooltipText = tipMsg; propertiesToolButton.Clicked += new EventHandler (viewDataTreeView.OnEditActivate); tipMsg = String.Format ("Delete a {0} from the directory", vp.Name.ToLower()); - deleteToolButton.SetTooltip (t, tipMsg, tipMsg); + deleteToolButton.TooltipText = tipMsg; deleteToolButton.Clicked += new EventHandler (viewDataTreeView.OnDeleteActivate); tipMsg = "Refreshes the data from the server"; - refreshToolButton.SetTooltip (t, tipMsg, tipMsg); + refreshToolButton.TooltipText = tipMsg; refreshToolButton.Clicked += new EventHandler (viewDataTreeView.OnRefreshActivate); ToggleButtons (true);
I updated lat with this patch and a couple of others from upstream svn, removed a bunch of things in the spec file that were only needed for compatibility with older distributions and did builds for devel and F-12, requesting that the F-12 build be tagged for the final release.
Local Packages
Updated perl-Convert-UUlib to 1.33 (handle yEnc files with part end=0 and total= more gracefully)
Thursday 29th October 2009
Fedora Project
Upstream for perl-Math-Pari released version 2.010802 yesterday so today I looked at doing the update in Fedora. Something I've been meaning to do for a long time is switch to using the system pari library rather than building it (and an old version of it too - 2.1.7 is the latest version still fully supported for the Perl Math::Pari module, whereas the system pari library is currently version 2.3.4) as part of perl-Math-Pari (which is actually severely frowned upon in Fedora and many other distributions).
The Math::Pari build system does now provide hooks for building against a system library, but if you do this it doesn't include as many tests nor as much documentation as it does if you build the library locally. However, I found it was quite easy to fix this problem by including the library sources even though I was linking against the system pari library, and patching Makefile.PL like this:
--- Math-Pari-2.010802/Makefile.PL.orig 2009-10-29 10:47:15.349216927 +0000 +++ Math-Pari-2.010802/Makefile.PL 2009-10-29 11:12:54.651293844 +0000 @@ -102,11 +102,13 @@ } my %opts; + +# We want to build the docs and the test suite even though we're using the system pari lib +build_tests $paridir; # Convert the test suite +make_pod 'libPARI.pod', '-to_pod', $paridir; # Now the docs +make_pod 'libPARI.dumb.pod', '-to_dumb_pod', $paridir; + unless ($common::parilib) { - build_tests $paridir; # Convert the test suite - make_pod 'libPARI.pod', '-to_pod', $paridir; # Now the docs - make_pod 'libPARI.dumb.pod', '-to_dumb_pod', $paridir; - # ... and paricfg.h %opts = build_paricfg($paridir, $common::do_configure, $pari_version); if ($ENV{MATH_PARI_REPORT_CODES}) {
I also found that the test suite fell over on 64-bit builds because of missing results files. The pari test suite, when run normally, copies over the expected results from the 32-bit results directory if the expected file in the 64-bit results directory is missing, but that step was missing from the Math::Pari build, so I did it myself:
# If 64-bit test results missing, they should be copied from 32-bit test results cd pari-%{pari_version}/src/test/in for test in *; do [ ! -f ../64/${test} ] && %{__cp} -a ../32/${test} ../64/${test} done cd -
That was enough to get the test suite running and passing with the system pari version 2.3.4.
In order to ensure that the perl-Math-Pari package stays in step with the system pari package, I added a fixed version dependency on the system pari library to the perl-Math-Pari. I've requested watchcommits and watchbugzilla access to pari so I'll know when there's going to be a change.
The only issue now is that the system pari dependency now pulls in lots of unwanted dependencies:
# yum install perl-Math-Pari-2.010802-1.fc12.x86_64.rpm Loaded plugins: refresh-packagekit Setting up Install Process ... --> Finished Dependency Resolution Dependencies Resolved ===================================================================================== Package Arch Version Repository Size ===================================================================================== Installing: perl-Math-Pari x86_64 2.010802-1.fc12 /perl-Math-Pari-2.010802-1.fc12.x86_64 869 k Installing for dependencies: Xaw3d x86_64 1.5E-14.fc11 fedora-dvd 170 k kpathsea x86_64 2007-42.fc11 fedora 118 k pari x86_64 2.3.4-2.fc11 fedora 1.4 M t1lib x86_64 5.1.2-3.fc11 fedora 214 k texlive x86_64 2007-42.fc11 fedora 2.2 M texlive-dvips x86_64 2007-42.fc11 fedora 200 k texlive-texmf noarch 2007-28.fc11 fedora 3.5 M texlive-texmf-dvips noarch 2007-28.fc11 fedora 392 k texlive-texmf-errata noarch 2007-6.fc11 fedora 4.8 k texlive-texmf-errata-dvips noarch 2007-6.fc11 fedora 4.9 k texlive-texmf-errata-fonts noarch 2007-6.fc11 fedora 5.0 k texlive-texmf-fonts noarch 2007-28.fc11 fedora 57 M xdvik x86_64 22.84.14-6.fc11 updates 735 k Transaction Summary ===================================================================================== Install 14 Package(s) Upgrade 0 Package(s) Total size: 66 M Total download size: 66 M Is this ok [y/N]: n Exiting on user Command Complete!
It's even worse on a system with no X libraries. So I've added my voice to the request to split the libraries in pari off to a subpackage in Bug #530565.
Friday 30th October 2009
Local Packages
New package moin-theme-solenoid, a packaging of the Solenoid theme for moin; I also updated the main moin package to support this theme better
Updated perl-ExtUtils-CBuilder to 0.27
Updated python-setuptools to 0.6c11
Previous Month: September 2009
Next Month: November 2009