Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 263039 - www-client/seamonkey-2.0_beta1: revision bump
Summary: www-client/seamonkey-2.0_beta1: revision bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-19 14:22 UTC by Denis Kaganovich
Modified: 2009-07-27 12:18 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
www-client/seamonkey-2.0_alpha3.ebuild (seamonkey-2.0_alpha3.ebuild,11.39 KB, text/plain)
2009-03-19 14:25 UTC, Denis Kaganovich
Details
not crytical fix (eclass dependece, overloaded) (seamonkey-2.0_alpha3.ebuild,11.39 KB, text/plain)
2009-03-19 15:15 UTC, Denis Kaganovich
Details
Disabled usupported "xforms" flags (seamonkey-2.0_alpha3.ebuild,11.38 KB, text/plain)
2009-03-19 16:51 UTC, Denis Kaganovich
Details
Removed dirt char in KEYWORDS (seamonkey-2.0_alpha3.ebuild,11.37 KB, text/plain)
2009-03-19 17:20 UTC, Denis Kaganovich
Details
Patches against mozilla eclasses mindf**king anti-optimizations (moz-eclasses-optimize.patch,3.31 KB, patch)
2009-03-19 19:04 UTC, Denis Kaganovich
Details | Diff
fixed directfb + system-cairo, fixed system-hunspell (seamonkey-2.0_alpha3.ebuild,11.83 KB, text/plain)
2009-03-20 20:14 UTC, Denis Kaganovich
Details
fixed xulrunner (x86_32 firefox segfaults), still too experemental, works on x86_64 (moz-eclasses-optimize.patch,5.10 KB, text/plain)
2009-03-20 20:38 UTC, Denis Kaganovich
Details
problems on x86_32 (moz-eclasses-optimize.patch,5.10 KB, patch)
2009-03-20 21:04 UTC, Denis Kaganovich
Details | Diff
fixes (seamonkey-2.0_alpha3.ebuild,11.79 KB, text/plain)
2009-03-23 15:29 UTC, Denis Kaganovich
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Denis Kaganovich 2009-03-19 14:22:30 UTC
There are www-client/seamonkey-2.0_alpha3 revision bump. Ebuild attached next. Used patches:

http://mahatma.bspu.unibel.by/download/transit/enigmail-0.95.7-cvs-20090317.tar.bz2
- 200k patch (unpacked - near 1.4g) to update enigmail-0.95.7 to current cvs (requred for USE="crypt");

mozilla-firefox-3.0.7-patches-0.1.tar.bz2
- current firefox patches from gentoo. May be removed by commenting out "PATCH="mozilla-firefox-3.0.7-patches-0.1" string in ebuild, work same for me, but I dummy add patches without meditation on it. ;)

Notes:

With Cairo with USE="directfb" ("directfb surface feature") used built-in mozilla's Cairo (this is required now), without USE="directfb" - system.

On x86_64 target I have near 1 of 10 make failed. Just retry emerge command before panic. My x86_32 too slow to test loop builds, just all works even with "-O3" (yes, I use patched eclasses with additional CFLAGS and configure optimizations, but think Gentoo gays do not like it idea, but I may post it in bugzilla if you ask).

Reproducible: Always
Comment 1 Denis Kaganovich 2009-03-19 14:25:39 UTC
Created attachment 185522 [details]
www-client/seamonkey-2.0_alpha3.ebuild
Comment 2 Denis Kaganovich 2009-03-19 14:27:11 UTC
> http://mahatma.bspu.unibel.by/download/transit/enigmail-0.95.7-cvs-20090317.tar.bz2
> - 200k patch (unpacked - near 1.4g) to update enigmail-0.95.7 to current cvs
> (requred for USE="crypt");

unpacked - near 1.4m ;). Don't worry.
Comment 3 Denis Kaganovich 2009-03-19 15:15:58 UTC
Created attachment 185527 [details]
not crytical fix (eclass dependece, overloaded)
Comment 4 Denis Kaganovich 2009-03-19 16:51:50 UTC
Created attachment 185538 [details]
Disabled usupported "xforms" flags
Comment 5 Denis Kaganovich 2009-03-19 17:20:12 UTC
Created attachment 185544 [details]
Removed dirt char in KEYWORDS
Comment 6 Denis Kaganovich 2009-03-19 19:04:11 UTC
Created attachment 185561 [details, diff]
Patches against mozilla eclasses mindf**king anti-optimizations

There are patches against mozilla eclasses mindf**king anti-optimizations. While bug reporter historically denyed in ebuilds, I see no sense in this. Only "--disable-strip*" may have other reasons, but while I don't know it - I switched it off.

I only don't touch "-fPIC" for amd64 target - I don't find this legend source ("-fPIC and x86_64") even in Google. But it may slow down code too.

In most cases, I sure, system-wide C*FLAGS good for mozilla too.

Also this patch contains "moznopango" fix for seamonkey-1 and related.

PS I pessimistic about including this into portage, just subject-related FYI.
Comment 7 Denis Kaganovich 2009-03-20 20:14:30 UTC
Created attachment 185657 [details]
fixed directfb + system-cairo, fixed system-hunspell
Comment 8 Denis Kaganovich 2009-03-20 20:38:45 UTC
Created attachment 185660 [details]
fixed xulrunner (x86_32 firefox segfaults), still too experemental, works on x86_64
Comment 9 Denis Kaganovich 2009-03-20 21:04:22 UTC
Created attachment 185667 [details, diff]
problems on x86_32
Comment 10 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-03-21 22:54:40 UTC
I'd love to see this in portage. mozilla herd is there any chance for the _alpha versions?
Comment 11 Denis Kaganovich 2009-03-23 15:17:01 UTC
Next(In reply to comment #10)
> I'd love to see this in portage. mozilla herd is there any chance for the
> _alpha versions?

I don't know. Eclass patch must be not in portage - sure, just experemental, mozillas give segfaults on improved optimization. But just ebuild - may be. www-app/seamonkey-bin-2.0a3 alredy exists in portage, only this fact give me idea to post ebuild - I disdain precompiled binaries ;). IMHO source package must trap to official portage before binary, exclude compilation problems.

Next I will post IMHO last fixed ebuild here. Now I send request to add my overlay to layman list - svn http://raw.googlecode.com/svn/trunk/ - for my development branch of PSPacer and some of ebuilds, absent in known to me places, inluding seamonkey-2.0a3 (but with "experemental" eclasses, sorry;) ).

But may be I skip some formal procedures/etc., this is normal fo me. ;)
Comment 12 Denis Kaganovich 2009-03-23 15:29:37 UTC
Created attachment 185995 [details]
fixes

Last stability question - "on" or "off" firefox patches. "X" relations (breaking without "X" flag on gtk & Cairo) removed to help experiments with "directfb" flag. Let it breaks in other stages. Also added useflag "moznosystem" to force using possible internal libraries (to any goal - testing, stability or dependences).
Comment 13 Federico Moro 2009-04-03 01:37:33 UTC
There is a problem doing sed for localization.

    if [[ -n ${LANG} && ${LANG} != "en" ]]; then
       elog "Setting default locale to ${LANG}"
       dosed -e "s:general.useragent.locale\", \"en-US\":general.useragent.loca
le\", \"${LANG}\":" \
           "${MOZILLA_FIVE_HOME}"/defaults/pref*/*.js ||
           die "sed failed to change locale"
    fi

It fails, I've not the erro now, and exits after seamonkey have been compiled, so I'd to comment it for get it install and also merge.

You can reproduce it yourself using LANG != en .

I think that it can be solved changing ${MOZILLA_FIVE_HOME}"/defaults/pref*/*.js for ${MOZILLA_FIVE_HOME}"/defaults/pref/defaults/pref/suite-l10n.js since this is the only file in /usr/lib/seamonkey that has this line.

This file (sutie-l10n.js), also include this line:
pref("spellchecker.dictionary", "en-US");

That should be replaced by 
pref("spellchecker.dictionary", "$LANG");

so everything can be done at same replacing ebuild lines I wrote before with this:

    if [[ -n ${LANG} && ${LANG} != "en" ]]; then
       elog "Setting default locale to ${LANG}"
       dosed -e "s:general.useragent.locale\", \"en-US\":general.useragent.loca
le\", \"${LANG}\":" \
           "${MOZILLA_FIVE_HOME}"/defaults/pref/suite-l18n.js ||
           die "sed failed to change locale"
       dosed -e "s:spellchecker.dictionary\", \"en-US\":general.useragent.loca
le\", \"${LANG}\":" \
           "${MOZILLA_FIVE_HOME}"/defaults/pref/suite-l18n.js ||
           die "sed failed to change locale"
    fi

But I think it could be a good idea erase the || die, cause this is not a reason for stop installing.

P.S. Sorry about my english.
Comment 14 Federico Moro 2009-04-03 01:43:07 UTC
Also, it would be a good idea include this in /usr/lib/seamonkey/seamonkey

MOZ_USER_DIR="${HOME}/.mozilla/seamonkey"

since seamonkey request for it.
Comment 15 Federico Moro 2009-04-07 00:15:06 UTC
I've test lines I wrotte 2 post ago, and they work fine, setting locales and hunspell to your language.
...and it also compile and works on PPC (I've test it too), so this keyword should be added to the ebuild too (I don't know why most of people ommit this keyword!!!).
Comment 16 Federico Moro 2009-04-16 13:47:32 UTC
Excuse me, I had a mistake on my first comment (#13).
File who has to be modified is 'suite-l10n.js', so...

    if [[ -n ${LANG} && ${LANG} != "en" ]]; then
       elog "Setting default locale to ${LANG}"
       dosed -e "s:general.useragent.locale\", \"en-US\":general.useragent.loca
le\", \"${LANG}\":" \
           "${MOZILLA_FIVE_HOME}"/defaults/pref/suite-l10n.js ||
           die "sed failed to change locale"
       dosed -e "s:spellchecker.dictionary\", \"en-US\":general.useragent.loca
le\", \"${LANG}\":" \
           "${MOZILLA_FIVE_HOME}"/defaults/pref/suite-l10n.js ||
           die "sed failed to change locale"
    fi

P.S. Now mozilla-firefox-patches-3.0.7-0.1 doesn't exist, so ebuild should be modified to use mozilla-firefox-patches-3.0.8-0.1 or nothing, because this patches aren't needed for compile and use seamonkey-2.
Comment 17 Denis Kaganovich 2009-04-17 15:49:06 UTC
(In reply to comment #16)
> Excuse me, I had a mistake on my first comment (#13).
> File who has to be modified is 'suite-l10n.js', so...
x-patches-3.0.7-0.1 doesn't exist, so ebuild should be
> modified to use mozilla-firefox-patches-3.0.8-0.1 or nothing, because this
> patches aren't needed for compile and use seamonkey-2.
... 

Interesting. First: why wildcards do no work? I widely using wildcards and all OK, but if in some case it. It wors: http://raw.googlecode.com/svn/trunk/www-client/seamonkey/seamonkey-2.0_alpha3.ebuild. Another sense to use double wildcard are: I was think about "xulrunner" option, like Firefox and directory name will be changed. Now I just satisfyed by Seamonkey and do not think to add this option (external xulrunner not support "-O3" optimization, but Seamonkey flying sure).

Second. I know about dictionary, but:
2.1. I think, "app-text/hunspell" used by default instead of Mozilla's locale dictionary. Other package locale name MAY do not be equals to Mozilla's locale name (for example: "ru", "ru_RU", etc.). In Firefox ebuild this way more advanced (synthesed various locales aliases), but I prefer simple code (just add present locales). In many cases locales substitution are not trivial (for example, in CIS area).
2.2. I prefer foreign dictionary :)) to my native language dictionary.
2.3. I have my dictionary changed after install anymore to Russian by default and do not check this message. I do not deep dig this.
Comment 18 Denis Kaganovich 2009-04-18 09:33:34 UTC
(In reply to comment #16)

I was not right.
Now is good?

	if [[ -n ${LANG} && ${LANG} != "en" ]]; then
		elog "Setting default locale to ${LANG}"
		dosed -e "s:\"en-US\":\"${LANG}\":g" \
			"${MOZILLA_FIVE_HOME}"/defaults/pref/suite-l10n.js ||
			die "sed failed to change locale"
	fi

PS http://raw.googlecode.com/svn/trunk/www-client/seamonkey/seamonkey-2.0_alpha3.ebuild or "layman -s raw"
Comment 19 Denis Kaganovich 2009-04-18 09:38:51 UTC
PPS ... but old locale was working (exclude dictionary) and if you know case when wildcards ("*") do not work - please, describe! (or "g" sed flag was required in your case?)
Comment 20 Raúl Porcel (RETIRED) gentoo-dev 2009-04-27 14:42:28 UTC
I've added seamonkey-2.0_alpha3 to the mozilla overlay.
It doesn't have enigmail, though. And i need to have a look at the ldap stuff.

Have fun
Comment 21 Denis Kaganovich 2009-05-18 15:53:35 UTC
(In reply to comment #20)
> I've added seamonkey-2.0_alpha3 to the mozilla overlay.
> It doesn't have enigmail, though. And i need to have a look at the ldap stuff.
> 
> Have fun

OK. My ebuild in raw overlay was broken. But now you may get fixes also for latest state of pango/gcc/sqlite/etc (in overlay). "PATCH=.." line may be commented out. -O3 + system-sqlite don't work more ;(
Comment 22 Jory A. Pratt gentoo-dev 2009-07-13 04:20:52 UTC
(In reply to comment #10)
> I'd love to see this in portage. mozilla herd is there any chance for the
> _alpha versions?
> 

It is avaliable via mozilla overlay. It will not appear in tree until we get to the rc's.
Comment 23 Jory A. Pratt gentoo-dev 2009-07-20 05:58:29 UTC
No beta/alpha will be added to the tree for mozilla products. Please refer to overlay for ebuilds.
Comment 24 Denis Kaganovich 2009-07-22 17:20:09 UTC
Initial (tests in progress) release of www-client/seamonkey-2.0_beta1 added to "raw" overlay. Not posted here while 1 patch (now) required. Usual "001-seamonkey_gentoo_install_dirs.patch" replaced by sed command.
Direct links:

http://raw.googlecode.com/svn/trunk/www-client/seamonkey/seamonkey-2.0_beta1.ebuild
http://raw.googlecode.com/svn/trunk/www-client/seamonkey/files/2.0_beta1/001-ogg_debug.patch
Comment 25 Jory A. Pratt gentoo-dev 2009-07-24 03:33:42 UTC
(In reply to comment #24)
> Initial (tests in progress) release of www-client/seamonkey-2.0_beta1 added to
> "raw" overlay. Not posted here while 1 patch (now) required. Usual
> "001-seamonkey_gentoo_install_dirs.patch" replaced by sed command.
> Direct links:
> 
> http://raw.googlecode.com/svn/trunk/www-client/seamonkey/seamonkey-2.0_beta1.ebuild
> http://raw.googlecode.com/svn/trunk/www-client/seamonkey/files/2.0_beta1/001-ogg_debug.patch
> 

If you want to see this supported, you need to provide patches based off of work already done, we do not have time to resort threw an entire ebuild just to see what you have changed and why, you also need to provide info as to where the patch comes from. All credit needs to be given to the author of patch. Bug will be reopened for a few days while I give ya time to update info as requested, if you do not I will be forced to leave out the patch and make another bump in the overlay without your feedback.
Comment 26 Jory A. Pratt gentoo-dev 2009-07-24 04:13:26 UTC
Denis, I should have also mentioned I would like to see your overlay closer to that of what mozilla has in the overlay, your using a bit out of date eclass (mozilla-launcher) which has been drop'd in the ovleray
Comment 27 Denis Kaganovich 2009-07-24 19:20:56 UTC
(In reply to comment #26)
> Denis, I should have also mentioned I would like to see your overlay closer to
> that of what mozilla has in the overlay, your using a bit out of date eclass
> (mozilla-launcher) which has been drop'd in the ovleray

OK. There are preview: cleaned (may be not all - before understanding) and some around default mozcoreconf:
http://raw.googlecode.com/svn/trunk/www-client/seamonkey/seamonkey-2.0_beta1-r1.ebuild
(some changed cross-looked-up from mozilla overlay, but I keep EAPI-1 while)
(patch - same, patch comes from me & same sources)

Are I must to use mozcoreconf[-2]? Now I use [fixed] mozcoreconf.eclass. I may rewrite ebuild to:
1) No mozcoreconf[-2] (I just move fixed mozcoreconf into ebuild and forget to CFLAGS filtering or move fixed filtering);
2) mozcoreconf (now used, simple to do);
3) mozcoreconf-2.

Suggestions?

PS Zero-release tested, working. This r1 - in progress. After tests may be provided as patch against seamonkey-1 - if required.
Comment 28 Jory A. Pratt gentoo-dev 2009-07-26 02:40:10 UTC
(In reply to comment #27)
> (In reply to comment #26)
> > Denis, I should have also mentioned I would like to see your overlay closer to
> > that of what mozilla has in the overlay, your using a bit out of date eclass
> > (mozilla-launcher) which has been drop'd in the ovleray
> 
> OK. There are preview: cleaned (may be not all - before understanding) and some
> around default mozcoreconf:
> http://raw.googlecode.com/svn/trunk/www-client/seamonkey/seamonkey-2.0_beta1-r1.ebuild
> (some changed cross-looked-up from mozilla overlay, but I keep EAPI-1 while)
> (patch - same, patch comes from me & same sources)
> 
> Are I must to use mozcoreconf[-2]? Now I use [fixed] mozcoreconf.eclass. I may
> rewrite ebuild to:
> 1) No mozcoreconf[-2] (I just move fixed mozcoreconf into ebuild and forget to
> CFLAGS filtering or move fixed filtering);
> 2) mozcoreconf (now used, simple to do);
> 3) mozcoreconf-2.
> 
> Suggestions?
> 
> PS Zero-release tested, working. This r1 - in progress. After tests may be
> provided as patch against seamonkey-1 - if required.
> 

The problem is mozilla herd is moving everything to eapi 2, mozilla-launcher will be masked soon as last few packages using it are removed/masked. I would suggest you update your overlay to match the mozilla overlay, and provide patches based around the mozilla overlay. If you have any question feel free to email me I will answer any question that you might have.
Comment 29 Jory A. Pratt gentoo-dev 2009-07-27 09:25:41 UTC
(In reply to comment #28)
> (In reply to comment #27)
> > (In reply to comment #26)
> > > Denis, I should have also mentioned I would like to see your overlay closer to
> > > that of what mozilla has in the overlay, your using a bit out of date eclass
> > > (mozilla-launcher) which has been drop'd in the ovleray
> > 
> > OK. There are preview: cleaned (may be not all - before understanding) and some
> > around default mozcoreconf:
> > http://raw.googlecode.com/svn/trunk/www-client/seamonkey/seamonkey-2.0_beta1-r1.ebuild
> > (some changed cross-looked-up from mozilla overlay, but I keep EAPI-1 while)
> > (patch - same, patch comes from me & same sources)
> > 
> > Are I must to use mozcoreconf[-2]? Now I use [fixed] mozcoreconf.eclass. I may
> > rewrite ebuild to:
> > 1) No mozcoreconf[-2] (I just move fixed mozcoreconf into ebuild and forget to
> > CFLAGS filtering or move fixed filtering);
> > 2) mozcoreconf (now used, simple to do);
> > 3) mozcoreconf-2.
> > 
> > Suggestions?
> > 
> > PS Zero-release tested, working. This r1 - in progress. After tests may be
> > provided as patch against seamonkey-1 - if required.
> > 
> 
> The problem is mozilla herd is moving everything to eapi 2, mozilla-launcher
> will be masked soon as last few packages using it are removed/masked. I would
> suggest you update your overlay to match the mozilla overlay, and provide
> patches based around the mozilla overlay. If you have any question feel free to
> email me I will answer any question that you might have.
> 

Initial beta 1 is in the mozilla overlay, any bugs please open a new bug report.
Comment 30 Denis Kaganovich 2009-07-27 12:16:24 UTC
seamonkey-2.0_beta1-r1 in "raw" overlay / URLs now works and full-featured (IMHO). But bug is closed and I will not post diffs here.
Comment 31 Jory A. Pratt gentoo-dev 2009-07-27 12:18:36 UTC
(In reply to comment #30)
> seamonkey-2.0_beta1-r1 in "raw" overlay / URLs now works and full-featured
> (IMHO). But bug is closed and I will not post diffs here.
> 

Dennis please email me the diffs directly at gentoobugsie@gmail.com.