Search Results: "codehelp"

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.

Next.

Previous.