Search Results: "Neil Williams"

20 May 2007

Neil Williams: DD upstream

I've been wondering if it is worth packages.d.o indicating if the DD is also (one of) the
upstream developer(s) of their maintained (non-native?) packages. I'd expect that it may help bug reporters to know this, with regard to where to file certain bug reports or just be useful information generally. It could help by indicating whether a quick release is possible and whether patches will migrate upstream automatically.

debian/copyright isn't sufficient for this because there isn't necessarily a match between the upstream and Debian email addresses, but maybe it's yet another field for debian/control.

Just idle musings really.

7 May 2007

Neil Williams: Smaller libc6

libc6 is by far the largest package in the current Emdebian repository and as part of a rootfs it is simply overpowering. So various ideas cropped up on Emdebian IRC. Split the gconv libraries into three or more packages. Split the binaries into a new package and split out libnss into another. Have to see how if pans out and whether an over-arching pseudo package is needed later to make it easier to package reverse dependencies of libc6.

(Yes, uclibc is an option and Emdebian is actively working on that too but it would be nice to be able to have the flexibility of something inbetween uclibc and the behemoth that is Debian libc6.)

22 April 2007

Neil Williams: Mandatory -dbg packages for libraries

I'd like to see all library source packages having a minimum of 4 binary packages required by Policy: the SONAME, the -dev (without SONAME), the -dbg (with SONAME) and a -doc package (without SONAME). (Libraries for perl or other non-compiled languages would be exempt from -dbg packages but not -doc.)

Currently, only a -dev is mandated. I'm currently writing a GtkHTML extension for quicklist and writing code to use an undocumented library is PITA.

Libraries without a -dbg are worse because Debian doesn't need any upstream involvement to create -dbg packages. Things like that make Debian a nicer environment to be upstream, not just a nice environment to be a DD or user.

Are there libraries written in compiled languages that cannot provide a -dbg?

16 April 2007

Neil Williams: QA logjam

Nico's post on creating RSS feed for a website page cited the Debian QA page for Orphaned packages with wrong maintainer and so I thought I'd stop by.

Turns out that the method for fixing the issues on that page is problematic. If a package is orphaned it may be because it has RC bugs. Many RC bugs are FTBFS. The way to fix the issues on the QA page is to - you guessed - change debian/control and debian/changelog then build from source.

Hmm.

Note to self and anyone else interested: When working through the QA page, check the bug reports for each package. Note to anyone more involved in Debian QA: it may be an idea to highlight such packages on the page.

How much of a problem is it that the maintainer field is wrong? Is there another method for changing the maintainer field? (Directly in the Debian records maybe?)

10 April 2007

Neil Williams: pilot-qof finally leaves NEW

One version of pilot-qof went into Etch (0.1.1-3) with 0.1.2-1 uploaded to unstable after the freeze and just migrated into Lenny. A new release had sat in the NEW queue for a month due to the final stage of the Etch freeze. Finally, it is moving into unstable. 0.1.3-1 separates the pilot-qof binary from the perl, XSL and documentation making four packages in all, three under the new title: datafreedom. See data-freedom.org.

Hopefully, splitting existing Debian packages will not require a spell in the NEW queue in future - or at least a reduced queue, after all these packages have been checked once already. (Hence Sam was my first choice as DPL - congratulations again, Sam.)

If you previously used the XSL stylesheets from pilot-qof, you will now need the datafreedom-qsfxsl package. Note that the location of the XML catalog (and the XSL stylesheets) has changed too. See NEWS.Debian in the pilot-qof package. (zless /usr/share/doc/pilot-qof/NEWS.Debian.gz).

The intention is that the datafreedom packages will now mature to support a wider range of small utilities like pilot-qof - there is already support for calcurse, contacts, dates, gpe-expenses, gpe-calendar and a few others - justifying the package name change.

The XSL is (predictably) limited to converting from XML so if XSL is used to convert to a non-XML format, you'll also need the datafreedom-perl package to support conversion of non-XML data back into XML for inclusion into pilot-qof or conversion to other formats via XSL. The perl scripts also include support for aggregating data sources to create new data sets, e.g. combining addressbook, expenses and contacts data sources into a simple invoice. If, like me, you enter new data into your Palm whilst travelling around on business, you can HotSync the Palm and generate all your invoices in one script!

The perl package includes a number of new scripts and brings in a few new perl module packages and this is where the majority of updates are likely to occur in future.

Enjoy!

8 April 2007

Neil Williams: Etch release!

First time I've had the chance to see a Debian release - I waited before blogging and all my boxes have upgraded smoothly. Some had already moved to testing from unstable a while ago and it's great that I can now move some to stable. One or two can even go directly from unstable to stable.

Well done to everyone involved!

Interesting point for me: 1,881 packages are going into testing tonight! Ouch!

(I've got a few updates for unstable but those will keep for a day or so until things settle down a bit.)

Hopefully, the NEW queue will start moving too - one reason to vote for Sam Hocevar was to speed up admission of packages that result from splitting an existing source package. pilot-qof introduces some new binary packages and it is frustrating that simply reorganising existing code causes the same delay as a completely new source package. Sam also expressed an interest in embedded work which is always a good sign.

3 April 2007

Neil Williams: Cross-building and chroots

My brain hurts. Cross-building can get very confusing at times. I've been experimenting with debootstrap, trying to make a complete Emdebian cross-building environment that can be compressed to a base.tgz as with pbuilder. Changes to the chroot can be discarded, just as with pbuilder, allowing dependencies to be tested. The main benefit is that packages can be built without having to install long chains of cross dependencies via apt-cross or dpkg-cross on
the main system. To me, it's the only way to cross-build GUI suites like GPE against a background of changing dependencies.

The same code should also be able to create a native chroot so that the cross-built packages can be installed alongside each other for more testing. These chroots have already been tested and instructions exist in the Wiki.

Between that and the ongoing problems with empath: navigating a path from package_set A to package B via a changing set of build-dependencies . . .

28 March 2007

Neil Williams: Cross-building a rootfs

With updated cross-building toolchains and a much improved emdebian-tools package, work has finally started on actually building cross-built packages for Emdebian. Wookey has identified the first set - a usable rootfs. http://wiki.debian.org/EmdebianRootfs

Nineteen packages have been cross-built so far, from base-files and popt to util-linux and ncurses so I thought I'd make a note of how it has gone at this early stage. Packages, patches and build logs can be viewed at: http://www.emdebian.org/packages/search.php

Results:
======

1. CDBS cross-builds like a dream. No failures, no missing files, no misplaced files, no files Emdebian doesn't want (like changelogs and manpages). em_make replaces one makefile with a customised one and everything else falls into place. Fantastic.

2. debhelper packages generally cross-build quite well - as long as debian/rules sticks to actually using debhelper rather than creating bespoke rules that just do what dh_foo would have done anyway! (I then have to go behind them and remove the custom rules to get rid of manpages etc. when if the task had been left to dh_foo, em_make would have removed dh_foo automatically. Grrr.)

3. Packages built without CDBS or debhelper are an absolute PITA. I know it is a good exercise to build without "high-level" tools, but PLEASE, only put non-debhelper packages in the main archive if you really cannot have debhelper involved. It'd make my life SO much easier right now. :-)

4. Splitting out the translation files into individual, dedicated, packages one per language is having two related effects: there are a plethora of packages in the repository with only 19 source packages built; the size of the main binary packages has dropped substantially. Some translation packages are 30-60kb in size but in Debian, 12 maybe 30 of these are packaged inside the main binary or a similar combined _common package. Users get no choice, it's no translations or all translations. I cribbed the idea from OpenEmbedded and it's nice to see it paying off, even if it means that 'apt-cache search' listings will be at least an order of magnitude longer in Emdebian. (Sounds like a wrapper is needed.) Need to start testing 'langupdate' soon to make sure it can cope with keeping users up to date with translations of installed programs.

So far, haven't needed too many cache files to be used with ./configure --cache-file but I'm bound to meet those soon.

Overall, things are going well (famous last words).

24 March 2007

Neil Williams: Emdebian repository layout

OK, after a long time and a few reshuffles, emdebian has a 'logical' SVN repository layout with a clear division between current and superceded code, clear module separation and updated documentation.
[ wiki docs ]
[ website docs ]
[ repository browser ]

To check out the current code:
svn co http://buildd.emdebian.org/repos/current/

A full check out of even just the current code can easily be over 20Mb and is likely to increase as more packages are emdebianised. See the list of modules available.

Neil Williams: sid or unstable in /etc/apt/sources.list

I've just come across a tricky little bug in using non-standard directory options to apt when /etc/apt/sources.list contains references to 'sid' rather than 'unstable'.

Update: guess what I'll be working to fix tomorrow . . .

23 March 2007

Neil Williams: gecko, nvidia, fonts and editing forms - Bug 345700

Update: Fixed. The workaround described in bug 345700 works perfectly.

Add Option "XaaNoSolidFillRect" to the Screen Section of /etc/X11/xorg.conf, as described in the bug report.

It's hard to identify initially - first thoughts are always to blame Gecko-based browsers but gradually the problem migrates into the nvidia driver.

When editing text in a HTML form entry field, moving the cursor with the cursor keys results in horrid vertical lines: a b c 4 e which disappear when clicking elsewhere in the control but make editing VERY difficult. The vertical lines do not always appear between characters, they often overlay the characters, something I cannot represent here. (The bug report provides a good description.)

It is definitely something to do with Gecko because Gtk does not suffer this problem (which is one reason why I use drivel for blog entries).

Galeon, Iceweasel and epiphany-browser are all affected.

One simple example is the Debian wiki - normal, uncomplicated text inputs, no special Javascript, but moving around the text in a control is almost impossible.

22 March 2007

Neil Williams: gecko, nvidia, fonts and editing forms - Help!

I'm looking for inspiration - and for someone else with the same problem - to work out how to fix and/or report a long-standing problem with all Gecko-based browsers in Gnome with nvidia.

When editing text in a HTML form entry field, moving the cursor with the cursor keys results in horrid vertical lines: a b c 4 e which disappear when clicking elsewhere in the control but make editing VERY difficult. The vertical lines do not always appear between characters, they often overlay the characters, something I cannot represent here. I'll try a screenshot later.

It is definitely something to do with Gecko because Gtk does not suffer this problem (which is one reason why I use drivel for blog entries).

Galeon, Iceweasel and epiphany-browser are all affected.

One simple example is the Debian wiki - normal, uncomplicated text inputs, no special Javascript, but moving around the text in a control is almost impossible.

I've taken to cutting the text into gedit and pasting it back, which is a nasty hack.

Update: I've had comments since posting that indicate that this is likely to be a bug in the pairing of gecko and the free software nvidia driver which can be 'solved' by using the proprietary driver. I won't be doing that so a little more investigation is in order . . .

Neil Williams: gecko, amd64, fonts and editing forms - Help!

I'm looking for inspiration - and for someone else with the same problem - to work out how to fix and/or report a long-standing problem with all Gecko-based browsers in Gnome on amd64. It might not be amd64, it's just that I don't get it on powerpc.

When editing text in a HTML form entry field, moving the cursor with the cursor keys results in horrid vertical lines: a b c 4 e which disappear when clicking elsewhere in the control but make editing VERY difficult. The vertical lines do not always appear between characters, they often overlay the characters, something I cannot represent here. I'll try a screenshot later.

It is definitely something to do with Gecko because Gtk does not suffer this problem (which is one reason why I use drivel for blog entries).

Galeon, Iceweasel and epiphany-browser are all affected.

One simple example is the Debian wiki - normal, uncomplicated text inputs, no special Javascript, but moving around the text in a control is almost impossible.

I've taken to cutting the text into gedit and pasting it back, which is a nasty hack.

Any ideas?

19 March 2007

Neil Williams: network-manager failures

In response to a couple of comments about my post about pesky binary firmware, I can only say that after removing the last entrails of network-manager and network-manager-gnome, everything appears fine. Command-line configuration wins over GUI eye candy, again. ;-)

At no point did network-manager[-gnome] cope with my setup, principally due to WPA difficulties, it did connect once when WPA was disabled at my Access Point at home but that simply isn't an option in the real world. (And it's not a problem with my home setup because network-manager also failed (comprehensively) with a completely different wifi setup - the one I'm using here on hols.)

Oh and by the by, if anyone has a problem with the template I've chosen for my blog, there is always the option to select a different template via the drop-down box. I happen to like the current one and it's my blog so, umm, that's how it will stay. :-)

18 March 2007

Neil Williams: pesky binary firmware

Aaarrgh! Trying to post the last blog entry revealed that my wireless connection had simply died. Various restart options failed (ifdown/ifup, dbus restart etc) so the realisation dawned that the binary blob that gets the Airport Extreme card working is not always coming out of suspend correctly. This time, I did a full restart (shutdown -r now) but I hope this isn't necessary every time. Next time, I'm going to see if a quick suspend / unsuspend is sufficient - watch this space....

Neil Williams: roaming SMTP in sylpheed

After finally getting wireless connectivity whilst on hols, the only thing left was email. I'd already configured fetchmail by copying the fetchmailrc from my email server before I left but I'd forgotten to do procmail maildrop. Some reason, can't seem to get maildrop to work with maildir (which is what sylpheed uses for 'local' email accounts) so I'm filtering messages manually for now. Adding a custom action to sylpheed to run 'fetchmail -s' is nice but it would be even better is sylpheed could call that action when checking for email. (I feel a wishlist bug coming on.)

SMTP was initially more of a problem - SMTP AUTH was available via the excellent ukfsn so creating a new Roaming account in sylpheed allows the configuration of SMTP AUTH just for that account. Problems with forwarded email addresses (like codehelp at d.o) and mailing list subscriptions meant that I'm now using a private server but ukfsn were perfectly usable for non-mailing list usage of 'normal' email accounts. It's only my own, overly complicated, forwarding and greylisting systems that made mailing list submissions into a problem.

The remaining problem is power consumption - the wireless connection on this iBook (Airport Extreme internal) seems very power hungry. All the testing and configuring that was needed for the above cut my battery life in half. I can normally get 4hrs plus of 'average workload'. This will have implications for using wireless at DebConf etc. Even if sylpheed could call a custom Action (like fetchmail) automatically, it wouldn't be wise to keep the original 10minute checks without AC power.

14 March 2007

Neil Williams: g++-3.4 and g++-4.1 cross-built side-by-side

edos-debcheck reports that the emdebian toolchain for alpha built from gcc-3.4 cannot be installed on i386 (and possibly amd64) when the repository also contains the toolchain for gcc-4.1:
libstdc++6-dev-alpha-cross (= 3.4.6-5): FAILED
The following constraints cannot be satisfied:
libstdc++6-dev-alpha-cross (= 3.4.6-5) depends on libstdc++6-alpha-cross (>= 3.4.6-5) libstdc++6-alpha-cross (= 4.1.1-21)

Yet there is no problem with these for arm or other architectures (except possibly s390). In the main Debian archive (native build), g++-3.4 depends on the gcc-4.1 version of libstdc++6. http://packages.debian.org/unstable/devel/g++-3.4.

$ edos-debcheck -explain -failures -check libstdc++6-dev-arm-cross combined

reports no errors.
('combined' here is a result of appending the Packages file from Debian to the Packages file from Emdebian although the Emdebian repository is slightly behind my own data. I'll sort out the update tomorrow.).

The repository can only contain one version of libstdc++6, just like any one system can only install one version (at least in /usr/lib):
$ reprepro list unstable libstdc++6-alpha-cross
unstable main i386: libstdc++6-alpha-cross 4.1.1-21
unstable main amd64: libstdc++6-alpha-cross 4.1.1-21
unstable main powerpc: libstdc++6-alpha-cross 4.1.1-21

By building separately, the emdebian cross-build has a dependency on 3.4.6-5 and despite the >=, edos-debcheck reports that the dependency cannot be satisfied.
$ dpkg -I /var/emdebian/debian/pool/main/g/gcc-3.4/libstdc++6-dev-alpha-cross_3.4.6-5_all.deb grep Depends
Depends: gcc-3.4-base (= 3.4.6-5), g++-3.4-alpha-linux-gnu (= 3.4.6-5), libstdc++6-alpha-cross (>= 3.4.6-5), libc6.1-dev-alpha-cross (>= 2.3.5-10)

The next cross-build of gcc-3.4 on i386 for alpha needs to use the version of libstdc++6 from the repository instead of making an older version via dpkg-cross. Not sure why this only affects alpha cross-builds.

Neil Williams: dpkg-cross armel support

With the Etch release pending for 2/4/7 [0], dpkg-cross 1.36 has gone into experimental, at least until the preliminary armel support has been tested more widely. See #414085. I'm going to have a go at an armel toolchain using the updated emdebian-tools too.

[0] That's UK format, Day/Month/Year.

11 February 2007

Christian Perrier: fr: 99.817%, cs: 93.199%

Curves are again with the "right" slope. Thanks to Neil Williams upload for dpkg-cross. Good news also for libapache-mod-backhand who has been uploaded today. We're now left with atokx, atokx2 and wmmoonclock. Today, I worked on remaining issues of various ways to "break" PO files in a few packages. This was affecting the import of material in i18n.debian.net which I intend to get as clean as possible. That will mean a small bunch of NMUs for these package as they currently require hacks in the sync scripts, which I don't like. Ah, and Rapha l Poir e got a very last medal in biathlon..:-)

9 February 2007

Christian Perrier: Hunting a moving target

Some day, I feel like we, translators, are constantly hunting a moving target, which constantly moves away. So, yesterday, the very same day Neil Williams uploaded dpkg-cross with completed debconf translations for a few languages, including mine, the atokx maintainer uploaded a new version of his package. And, of course, as one would have expected, he felt the need to change the bloody debconf templates and, therefore, break AGAIN the translations. Not to mention the *awful* use of English in these templates. There are days like today where you really really need to have a virtual but very hard cluebat. Of course, I took it the diplomatic way and sent a polite notice asking for more consideration to translators next time.

Next.

Previous.