(Please excuse the formatting; I typed this from a tablet)
Firstly, I couldn't give a rat's ass if it ran on Mer or not, but it's still a target and, as such, Tear should be made to work well. And it does do so, really well in fact, despite being mainly developed for Maemo (and this just shows Vala's portability and the skill of Bundyo). But it does have issues:
Two issues that I can think of are:
- It crashes with maemo-launcher support enabled. I'm writing this one off as a Mer bug as maemo-launcher support - in Maemo - worksforme.

However, to make it easier for Mer (and Bundyo; if he finds himself debugging it), the maemo-launcher support should only be enabled if the user explicitly runs dpkg-buildpackage with DEB_BUILD_OPTIONS="maemo-launcher". The current behaviour is to enable it by default unless a "nolauncher" option is given. The autobuilder exports "maemo-launcher" as a deb_build_option so uploading it there would still result in a maemo-launcher build. If this is OK with you (Bundyo), this is what I'd like to commit tomorrow.
- Tear looks for userstyles.css in /home/user/.tear. Fine for Maemo, but bad for Mer and people packaging it.

As this contains code, I would appriciate you making your own version.

I've attached a patch that does the following:
-- Tear will use /etc/tear/userstyles.css as its userstyles.css if (psuedo-code) "g_get_home_dir()+/.tear/userstyles.css" does not exist. (Not sure how it knows to use "userstyles.css" - I couldn't find one reference in the source?) (I couldn't care about it being installed in ~ for Mer; my interest in getting this fixed for Mer does not extend there. At all.)
-- The packaging will install userstyles.css into the aforementioned path.
-- The postinst will copy, and chown, the userstyles.css from /etc into /home/user/.tear/ if it meets two test conditions - the postinst is being ran on a device running Maemo, and /home/user/.tear/userstyles.css does not exist. This also eradicates the need for the preinst moving the file beforehand.
http

/slexy.org/view/s201WdauE2
Hide user comments