user-avatar
Today is Wednesday
February 22, 2012

Archives: January 2012

January 11, 2012

Compiling firefox-9.0 on linux PPC

by Thomas Capricelli — Categories: Admin, Gentoo — Tags: , Leave a comment

The good point is that yes!, it is possible to compile firefox 8.0 or 9.0 on linux-ppc.

General point of view

The mozilla foundation has stopped supporting the PPC platform for firefox starting with version 4.0. Gentoo ebuilds, quite understandably, followed upstream by removing ppc keywords for all firefox ebuilds >=4.0.

Though… I still have this nice ibook overthere. I’m not sure what it is (ibook G3 something ?) but what is for sure is that the processor is a 32-bit PPC. I use a very convenient lightweight desktop on this, based on razor-qt and such. My main usecase for this computer is … browsing. I don’t update it very often and I still had firefox 3.x on it. I thought it was time to get something more recent.

It happens that a friend of mine had similar problems updating firefox on several Mac mini, those old ones with ppc processors too (hello Olivier :-) .

The one thing to know is that some google-related stuff in the crashreporter will NOT compile under recent gcc (we tested 4.3 and 4.6 I believe). So you have to disable the crashrepoter in order to get firefox compiling. Despite this, it should be ok, even though unsupported.

Howto for Gentoo users

First thing you need to do is to force the ppc (or ~ppc) keyword for firefox. Add this line

www-client/firefox **

into /etc/portage/package.keywords (record this path can either be a file or a directory whose files will be concatenated).

Fortunately, there’s a gentoo USE flag for the crashreporter, so you just need to disable it, by adding “-crashreporter”, either to the USE variable in /etc/make.conf, or in /etc/portage/package.use

Then be patient. Of course, on such old beasts, it will need several hours of compiling.

January 8, 2012

DjangoRedmineAdmin 1.0 released

by Thomas Capricelli — Categories: Admin, Django — Tags: , Leave a comment

I recently needed (again) to ‘browse’ a redmine database, and I used my DjangoRedmineAdmin application to do so. I took this opportunity to update the code and doing some more tests/fixes. As a result I decided to tag this as 1.0.

The main modifications are:

  • updated to comply with current redmine version (1.2.1 and 1.3.0)
  • updated to use Django 1.3 instead of Django 1.2, which is now deprecated.
  • added a lot of new improvements to the admin pages, such as displaying a list of related model instead of the raw id, or presenting data in a cleaner way.
  • it now works now with mysql too. Previous version would have problems handling boolean fields on a mysql database. We need to blame ruby ORB here, which actually handle boolean differently depending on the db backend. Sqlite3 was and is still supported.

You can clone the repository or download tarballs from the mercurial source page.

The wiki has more information / documentation.

© 2012 Thomas Capricelli All rights reserved - Wallow theme v0.46.5 by ([][]) TwoBeers - Powered by WordPress - Have fun!