Hi Jan,

Firstly, note I'm not the guy from the original posting.

Some time ago I've got to the same problem, then with help from
Joshua Rubin and Markus Kotilainen
I've successfully built a PKGBUILD for mozilla-thunderbird with rss support.
Bellow is the original post.

Armando


Hi,

Excuse me for so long delay in replying, I was really very very busy lately.
I've got it to work using the directions from Joshua Rubin and Markus Kotilainen (with just a small modification).

Summarizing: from the package mozilla-thunderbird-1.0-1 you have to:

- modify the file mozconfig to include xmlextras and webservices to ac_add_options:

   ac_add_options --enable-extensions=wallet,spellcheck,xmlextras,webservices

- modify PKGBUILD to reflect the change in md5sum of the file above:

   md5sums=('232ffe434fd65f5f0284a760d6e4ba2a' 'e79634ee1e611182b6c227daa362b20d'\
        'aaaa941f1a25075d65c60180fb608955' '904bcfd107d5ead431e976d7ec925140'\
        '04115f0e204444eac76a092a63c89027' 'db60d6f5059e10d8b1a54a97c0675563'\
        'd889e999601f3145b2a7403e2636d156')      <- just the last md5sum

- modify PKGBUILD to include RSS and movemail support:
     ### Include RSS and movemail support
     cp -Lr $startdir/src/mozilla/dist/bin/defaults/isp $startdir/pkg/opt/mozilla/lib/thunderbird-$pkgver/defaults
   (here I've had to change .../opt/$pkgname/lib/... sugested by Markus to .../opt/mozilla/lib/...)

It worked fine for me. Now I have the "Movemail" and "RSS News & Blogs" options in the "Account Wizard" when I create a new account and I was able to set up some RSS subscriptions (I've not tried the Movemail stuff).

Attached are PKGBUILD and mozconfig files.

Again, thank you a lot,
Armando

Markus Kotilainen wrote:

(about PKGBUILD for Thunderbird)

This line should be put after the make install command.
cp -Lr dist/bin/defaults/isp $startdir/pkg/usr/lib/$pkgname-$pkgver/defaults

This will enable all RSS and movemail functionality for the Thunderbird
package.


As Arch uses a slightly different directory structure, I modified that a bit to
cp -Lr $startdir/src/mozilla/dist/bin/defaults/isp $startdir/pkg/opt/$pkgname/lib/thunderbird-$pkgver/defaults
which seems to work. However, when I try to add a new RSS feed, it hangs at "Verifying the feed..." - the program doesn't crash, it just doesn't seem to do anything (even with totally bogus URLs). The dialogue can be closed but then no feed will be added. Oh well, at least the _option_ to add a RSS feed is now there ;-)

FWIW I couldn't get it to compile with freetype2-2.1.9-2, had to revert back to freetype2-2.1.7-1.


Joshua Rubin wrote:

| However, when I try to add a new RSS feed, it hangs
| at "Verifying the feed..."


Oh yeah, I think I know the answer to this too:

- --enable-extensions=wallet,spellcheck,xmlextras,webservices


I altered that line in mozconfig (it only had wallet and spellcheck) adding xmlextras and webservices, calculated a new md5sum and modified the PKGBUILD accordingly, but although those extensions get compiled the result is the same, it just hangs at "Verifying the feed...".
-- 
.markus

_______________________________________________
arch mailing list
[email protected]
http://www.archlinux.org/mailman/listinfo/arch



# $Id: PKGBUILD,v 1.9 2005/01/18 13:39:01 dale Exp $ # Maintainer: Dale Blount <[EMAIL PROTECTED]> # Contributor: Anders Bostrom <[EMAIL PROTECTED]> pkgname=mozilla-thunderbird pkgver=1.0 pkgrel=1 pkgdesc="Standalone Mail/News reader from mozilla.org" url="" class="moz-txt-link-rfc2396E" href="http://www.mozilla.org/projects/thunderbird">"http://www.mozilla.org/projects/thunderbird" depends=('gtk2' 'libidl2' 'mozilla-common') makedepends=('zip') source=(ftp://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/$pkgver/source/thunderbird-$pkgver-source.tar.bz2 \ mozilla-1.7.3-ft2.patch launcher.patch \ mozilla-thunderbird-nonroot.tar.gz \ mozilla-thunderbird.png mozilla-thunderbird.desktop \ mozconfig) md5sums=('232ffe434fd65f5f0284a760d6e4ba2a' 'e79634ee1e611182b6c227daa362b20d'\ 'aaaa941f1a25075d65c60180fb608955' '904bcfd107d5ead431e976d7ec925140'\ '04115f0e204444eac76a092a63c89027' 'db60d6f5059e10d8b1a54a97c0675563'\ 'd889e999601f3145b2a7403e2636d156')

build() {
  cd $startdir/src/mozilla
  patch -Np0 -i $startdir/src/mozilla-1.7.3-ft2.patch
  patch -Np0 -i $startdir/src/launcher.patch
  sed "[EMAIL PROTECTED]@[EMAIL PROTECTED]" $startdir/src/mozconfig >.mozconfig
  export MOZ_THUNDERBIRD=1
	
  # fix typo (mozilla bug 258177)
  sed -i "[EMAIL PROTECTED]@DESTDIR@" $startdir/src/mozilla/mail/app/Makefile.in || return 1

  ./configure
  make || return 1

  make DESTDIR=$startdir/pkg install || return 1
  

  cd $startdir/pkg/opt/mozilla/lib && ln -s thunderbird-$pkgver thunderbird

  # initialize some data so that thunderbird will run as a non-root user
  cd $startdir/pkg/opt/mozilla/lib/thunderbird-$pkgver/
  tar zxf $startdir/src/$pkgname-nonroot.tar.gz || return 1

  ### Include RSS and movemail support
  cp -Lr $startdir/src/mozilla/dist/bin/defaults/isp $startdir/pkg/opt/mozilla/lib/thunderbird-$pkgver/defaults


  # Remove common mozilla aclocal stuff
  rm -rf $startdir/pkg/opt/mozilla/share
  rm -rf $startdir/pkg/opt/mozilla/include
  rm -rf $startdir/pkg/opt/mozilla/lib/pkgconfig

  # Remove useless default profile setup
  rm -rf $startdir/pkg/opt/mozilla/bin/defaults

  install -m755 -dD $startdir/pkg/usr/share/applications
  install -m755 -dD $startdir/pkg/usr/share/pixmaps
  install -m644 $startdir/src/mozilla-thunderbird.desktop $startdir/pkg/usr/share/applications/
  install -m644 $startdir/src/mozilla-thunderbird.png $startdir/pkg/usr/share/pixmaps/
}

# load defaults from src tarball . $topsrcdir/mail/config/mozconfig # add our own options ac_add_options --prefix=/opt/mozilla ac_add_options --with-default-mozilla-five-home=/opt/mozilla/lib/thunderbird ac_add_options --enable-crypto ac_add_options --enable-optimize="#CFLAGS#" ac_add_options --enable-official-branding ac_add_options --disable-debug ac_add_options --disable-tests ac_add_options --disable-logging ac_add_options --disable-installer ac_add_options --disable-mathml ac_add_options --disable-activex ac_add_options --disable-activex-scripting ac_add_options --enable-strip ac_add_options --enable-xft ac_add_options --enable-toolkit-gtk2 ac_add_options --enable-default-toolkit=gtk2 ac_add_options --disable-toolkit-gtk ac_add_options --disable-toolkit-xlib ac_add_options --disable-toolkit-qt ac_add_options --disable-necko-disk-cache ac_add_options --enable-single-profile ac_add_options --disable-profilesharing ac_add_options --enable-extensions=wallet,spellcheck,xmlextras,webservices ac_add_options --enable-necko-protocols=http,file,jar,viewsource,res,data ac_add_options --enable-image-decoders=png,gif,jpeg ac_add_options --with-system-jpeg ac_add_options --with-system-zlib ac_add_options --with-system-png ac_add_options --with-system-mng ac_add_options --with-pthreads ac_add_options --disable-pedantic

_______________________________________________ arch mailing list [email protected] http://www.archlinux.org/mailman/listinfo/arch



Jan de Groot wrote:
On Tue, 2005-03-22 at 13:33 +0100, gyula wrote:
  
hello

i've installed via pacman the mozilla-thunderbird package,and i cannot 
find the rss feed in it.
why is it missing? i had to compile it from source,and it's works since 
that.Is it really missing or
it's just missing for me somehow? sorry for the stupid question.
Bye
Gy.

_______________________________________________
arch mailing list
[email protected]
http://www.archlinux.org/mailman/listinfo/arch
    

Please tell what steps you took to add the missing rss reader to
thunderbird. 1.0.2 is coming soon, so I can take that in the package
then.


_______________________________________________
arch mailing list
[email protected]
http://www.archlinux.org/mailman/listinfo/arch


  
_______________________________________________
arch mailing list
[email protected]
http://www.archlinux.org/mailman/listinfo/arch

Reply via email to