Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Thunderbird 3 Beta 1 Preview Release
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
mizery de aria
Guru
Guru


Joined: 07 Dec 2003
Posts: 309

PostPosted: Sun Dec 14, 2008 1:40 am    Post subject: Thunderbird 3 Beta 1 Preview Release Reply with quote

http://www.mozillamessaging.com/en-US/thunderbird/3.0b1/

I'm going to try to write an ebuild, but am still learning. Any assistant would be greatly appreciated.
_________________
Do not repIy to or othErwise communicate with me if you use religious, spiritual or similar terminologies or references in your typings.
Back to top
View user's profile Send private message
bunder
Bodhisattva
Bodhisattva


Joined: 10 Apr 2004
Posts: 5934

PostPosted: Sun Dec 14, 2008 1:43 am    Post subject: Reply with quote

-bin already has one:

http://gentoo-portage.com/mail-client/mozilla-thunderbird-bin
_________________
Neddyseagoon wrote:
The problem with leaving is that you can only do it once and it reduces your influence.

banned from #gentoo since sept 2017
Back to top
View user's profile Send private message
mizery de aria
Guru
Guru


Joined: 07 Dec 2003
Posts: 309

PostPosted: Sun Dec 14, 2008 2:37 am    Post subject: Reply with quote

Would it be okay to copy Thunderbird 2.0.0.18 ebuild to local layover as mozilla-thunderbird-3.0b1.ebuild or are any modifications to the file necessary to emerge successfully?

hmm

Code:
# cp /usr/portage/mail-client/mozilla-thunderbird/mozilla-thunderbird-2.0.0.18.ebuild /usr/local/portage/mail-client/mozilla-thunderbird/mozilla-thunderbird-3.0_beta1.ebuild


I made some changes
Code:
# diff /usr/portage/mail-client/mozilla-thunderbird/mozilla-thunderbird-2.0.0.18.ebuild /usr/local/portage/mail-client/mozilla-thunderbird/mozilla-thunderbird-3.0_beta1.ebuild
1,4d0
< # Copyright 1999-2008 Gentoo Foundation
< # Distributed under the terms of the GNU General Public License v2
< # $Header: /var/cvsroot/gentoo-x86/mail-client/mozilla-thunderbird/mozilla-thunderbird-2.0.0.18.ebuild,v 1.5 2008/11/24 20:34:39 ranger Exp $
<
9,10c5
< PATCH="${PN}-2.0.0.16-patches-0.1"
< LANGS="af be bg ca cs da de el en-GB en-US es-AR es-ES eu fi fr ga-IE he hu it ja ko lt mk nb-NO nl nn-NO pa-IN pl pt-BR pt-PT ru sk sl sv-SE tr uk zh-CN zh-TW"
---
> LANGS="af ar be cs de en-GB en-US es-AR es-ES et eu fr fy-NL ga-IE he hu id it ja ka ko lt nb-NO nl nn-NO pa-IN pl pt-BR pt-PT ro ru si sk sq sv-SE uk zh-CN zh-TW"
21,23c16,17
< MOZ_URI="http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/${PV}"
< SRC_URI="${MOZ_URI}/source/thunderbird-${PV}-source.tar.bz2
<       mirror://gentoo/${PATCH}.tar.bz2"
---
> MOZ_URI="http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/3.0b1"
> SRC_URI="http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/3.0b1/source/thunderbird-3.0b1-source.tar.bz2"
29c23
< # for i in $LANGS $SHORTLANGS; do wget $i.xpi -O ${P}-$i.xpi; done
---
> # for i in $LANGS $SHORTLANGS; do wget $i.xpi -O mozilla-thunderbird-3.0b1-$i.xpi; done
33c27
<               linguas_${X/-/_}? ( http://dev.gentooexperimental.org/~armin76/dist/${P}-xpi/${P}-${X}.xpi )"
---
>               linguas_${X/-/_}? ( http://dev.gentooexperimental.org/~armin76/dist/mozilla-thunderbird-3.0b1-xpi/mozilla-thunderbird-3.0b1-${X}.xpi )"
40c34
<                               linguas_${X%%-*}? ( http://dev.gentooexperimental.org/~armin76/dist/${P}-xpi/${P}-${X}.xpi )"
---
>                               linguas_${X%%-*}? ( http://dev.gentooexperimental.org/~armin76/dist/mozilla-thunderbird-3.0b1-xpi/mozilla-thunderbird-3.0b1-${X}.xpi )"
108c102
<       unpack thunderbird-${PV}-source.tar.bz2  ${PATCH}.tar.bz2
---
>       unpack thunderbird-3.0b1-source.tar.bz2  ${PATCH}.tar.bz2
112c106
<               [[ ${X} != "en" ]] && xpi_unpack "${P}-${X}.xpi"
---
>               [[ ${X} != "en" ]] && xpi_unpack "mozilla-thunderbird-3.0b1-${X}.xpi"
211c205
<               [[ ${X} != "en" ]] && xpi_install "${WORKDIR}"/"${P}-${X}"
---
>               [[ ${X} != "en" ]] && xpi_install "${WORKDIR}"/"mozilla-thunderbird-3.0b1-${X}"


then
Code:
# ebuild mozilla-thunderbird-3.0b1.ebuild digest


After lots of downloading:

Code:
# echo mail-client/mozilla-thunderbird > /etc/portage/package.unmask
# echo =mail-client/mozilla-thunderbird-3.0_beta1 > /etc/portage/package.keywords


Code:
# emerge -av mozilla-thunderbird
>>> Emerging (1 of 1) mail-client/mozilla-thunderbird-3.0_beta1
 * mozilla-thunderbird-3.0b1-ja.xpi RMD160 SHA1 SHA256 size ;-) ...                                                                                                                                       [ ok ]
 * thunderbird-3.0b1-source.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                                                                                                       [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                                                                                      [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                                                                                     [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                                                                                    [ ok ]
 * You are enabling official branding. You may not redistribute this build
 * to any users on your network or the internet. Doing so puts yourself into
 * a legal problem with Mozilla Foundation
 * You can disable it by emerging mozilla-thunderbird _with_ the bindist USE-flag
>>> Unpacking source...
>>> Unpacking thunderbird-3.0b1-source.tar.bz2 to /var/tmp/portage/mail-client/mozilla-thunderbird-3.0_beta1/work
>>> Unpacking .tar.bz2 to /var/tmp/portage/mail-client/mozilla-thunderbird-3.0_beta1/work
 *
 * ERROR: mail-client/mozilla-thunderbird-3.0_beta1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_unpack
 *             environment, line 3219:  Called unpack 'thunderbird-3.0b1-source.tar.bz2' '.tar.bz2'
 *               ebuild.sh, line  353:  Called die
 * The specific snippet of code:
 *              [[ ! -s ${srcdir}${x} ]] && die "${x} does not exist"
 *  The die message:
 *   .tar.bz2 does not exist
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/mail-client/mozilla-thunderbird-3.0_beta1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/mail-client/mozilla-thunderbird-3.0_beta1/temp/environment'.
 * This ebuild is from an overlay: '/usr/local/portage/'
 *

>>> Failed to emerge mail-client/mozilla-thunderbird-3.0_beta1, Log file:

>>>  '/var/tmp/portage/mail-client/mozilla-thunderbird-3.0_beta1/temp/build.log'

 * Messages for package mail-client/mozilla-thunderbird-3.0_beta1:

 * You are enabling official branding. You may not redistribute this build
 * to any users on your network or the internet. Doing so puts yourself into
 * a legal problem with Mozilla Foundation
 * You can disable it by emerging mozilla-thunderbird _with_ the bindist USE-flag
 *
 * ERROR: mail-client/mozilla-thunderbird-3.0_beta1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_unpack
 *             environment, line 3219:  Called unpack 'thunderbird-3.0b1-source.tar.bz2' '.tar.bz2'
 *               ebuild.sh, line  353:  Called die
 * The specific snippet of code:
 *              [[ ! -s ${srcdir}${x} ]] && die "${x} does not exist"
 *  The die message:
 *   .tar.bz2 does not exist
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/mail-client/mozilla-thunderbird-3.0_beta1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/mail-client/mozilla-thunderbird-3.0_beta1/temp/environment'.
 * This ebuild is from an overlay: '/usr/local/portage/'
 *


=/
_________________
Do not repIy to or othErwise communicate with me if you use religious, spiritual or similar terminologies or references in your typings.
Back to top
View user's profile Send private message
Rob Paxon
n00b
n00b


Joined: 27 Mar 2006
Posts: 26

PostPosted: Sun Dec 14, 2008 8:08 pm    Post subject: Reply with quote

There's an ebuild for 3.0_alpha2 in the mozilla overlay that you'd be better off trying to start with:

http://overlays.gentoo.org/svn/proj/mozilla


Good luck, I'm awaiting an ebuild myself so I can dump the binary version.
Back to top
View user's profile Send private message
Rob Paxon
n00b
n00b


Joined: 27 Mar 2006
Posts: 26

PostPosted: Sun Dec 14, 2008 8:19 pm    Post subject: Reply with quote

Also, there's some work on one here: https://bugs.gentoo.org/show_bug.cgi?id=234828
Back to top
View user's profile Send private message
devsk
Advocate
Advocate


Joined: 24 Oct 2003
Posts: 2995
Location: Bay Area, CA

PostPosted: Mon Dec 15, 2008 8:08 am    Post subject: Reply with quote

Does anybody else notice that Edit->Prefs doesn't show anything? It is a blank window for me. alpha versions were fine.
Back to top
View user's profile Send private message
Rob Paxon
n00b
n00b


Joined: 27 Mar 2006
Posts: 26

PostPosted: Mon Dec 15, 2008 6:10 pm    Post subject: Reply with quote

devsk wrote:
Does anybody else notice that Edit->Prefs doesn't show anything? It is a blank window for me. alpha versions were fine.


In the bin version? That doesn't happen for me, no.
Back to top
View user's profile Send private message
Gef
Apprentice
Apprentice


Joined: 17 May 2008
Posts: 180
Location: France

PostPosted: Fri Dec 26, 2008 5:05 pm    Post subject: Reply with quote

With -bin from main tree :
Quote:

/opt/thunderbird/run-mozilla.sh: line 131: 26566 Segmentation Error "$prog" ${1+"$@"}


Hell.

Quote:

Portage 2.2_rc19 (default/linux/x86/2008.0/desktop, gcc-4.3.2, glibc-2.9_p20081201-r0, 2.6.28-tuxonice-low-tickless-hrt i686)
=================================================================
System uname: Linux-2.6.28-tuxonice-low-tickless-hrt-i686-Intel-R-_Core-TM-2_Duo_CPU_T7300_@_2.00GHz-with-glibc2.0
Timestamp of tree: Fri, 26 Dec 2008 00:20:01 +0000
ccache version 2.4 [enabled]
app-shells/bash: 3.2_p48
dev-java/java-config: 1.3.7-r1, 2.1.6-r1
dev-lang/python: 2.5.2-r8
dev-util/ccache: 2.4-r8
dev-util/cmake: 2.6.2
sys-apps/baselayout: 2.0.0
sys-apps/openrc: 0.4.1
sys-apps/sandbox: 1.3.2
sys-devel/autoconf: 2.13, 2.63
sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils: 2.19
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool: 2.2.6a
virtual/os-headers: 2.6.27-r2
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=native -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y"
FEATURES="ccache collision-protect distlocks fixpackages parallel-fetch preserve-libs preserved-rebuild protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp.free.fr/mirrors/ftp.gentoo.org/ http://mirror.ovh.net/gentoo-distfiles/"
LANG="fr_FR.UTF-8"
LC_ALL="fr_FR.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,--hash-style=gnu"
LINGUAS="fr fr_FR"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/zeta-overlay /usr/portage/local/layman/desktop-effects /usr/portage/local/layman/mozilla /usr/portage/local/layman/wschlich-testing /usr/portage/local/layman/xfce-dev /usr/portage/local/layman/initng"
SYNC="rsync://rsync.fr.gentoo.org/gentoo-portage"
USE="X aac acl acpi alsa apm berkdb bluetooth branding bzip2 cairo cdr cli cracklib crypt dbus dri dvd dvdr dvdread emboss encode ffmpeg fortran gdbm gif gnutls gpm gstreamer gtk hal hda-intel iconv id3tag isdnlog jpeg lame laptop libnotify mad midi mikmod mmx mp3 mpeg mudflap ncurses nls nptl nptlonly nvidia ogg opengl openmp pam pcre pdf perl png ppds pppd python qt3support qt4 quicktime readline reflection sdl session spell spl sse sse2 ssl ssse3 svg sysfs tcpd threads tiff truetype unicode usb vorbis win32codecs x264 x86 xinerama xml xorg xulrunner xv xvid xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="canon ptp2" ELIBC="glibc" INITNG_PLUGINS="also bash_launcher chdir chroot conflict cpout critical ctrlaltdel daemon_clean debug_commands envparser find fmon fstat history idleprobe initctl interactive iparser last limit lockfile logfile netdev netprobe ngc4 ngcs nge pause provide reload renice rlparser simple_launcher stcmd stdout suid syncron syslog sysreq unneeded usplash" INPUT_DEVICES="keyboard mouse evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fr fr_FR" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset: CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

_________________
Laptop : Gentoo ~amd64
(remote) Server : Gentoo amd64
Back to top
View user's profile Send private message
Rob Paxon
n00b
n00b


Joined: 27 Mar 2006
Posts: 26

PostPosted: Mon Dec 29, 2008 12:55 am    Post subject: Reply with quote

Gef wrote:
With -bin from main tree :


I can't be of help other than to say it's worked fine for me and that I use amd64. However, I was wondering if you wouldn't mind telling me what the "-Wl,-O1 -Wl,--sort-common" LDFLAGS do. I'm familiar with the latter two you have. Obviously "-Wl,-O1" is an optimization flag, but I don't know what it does in this context. Mere curiosity mostly.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum