You are not logged in.
It's a modified version of the thunderbird3-de pkgbuild for United States english. Works for me, but that rarely means it works all 'round.
pkgname=thunderbird3-en-US
_lang=en-US
pkgver=3.0
pkgrel=1
pkgdesc="Standalone Mail/News reader (installs besides thunderbird2)"
arch=('i686' 'x86_64')
url="http://www.mozilla.org/projects/thunderbird"
license=('GPL')
depends=('gtk2>=2.10.0' 'libidl2' 'mozilla-common' 'nss>=3.11.4' 'libxt')
makedepends=('imagemagick')
provides=(thunderbird3)
source=(ftp://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/$pkgver/linux-i686/$_lang/thunderbird-$pkgver.tar.bz2 thunderbird3.desktop)
md5sums=('f2a14133264d51f0fd5a690b4e7d814d' 'a5648e652d6f989f7b9e45c83f707910')
build() {
install -d $startdir/pkg/opt/mozilla/{,bin} \
$startdir/pkg/usr/bin \
$startdir/pkg/usr/share/{applications,pixmaps}
cp -r $startdir/src/thunderbird $startdir/pkg/opt/mozilla/thunderbird3
# Remove common mozilla aclocal stuff, XULRunner has it
rm -rf $startdir/pkg/opt/mozilla/thunderbird3/share
rm -rf $startdir/pkg/opt/mozilla/thunderbird3/include
rm -rf $startdir/pkg/opt/mozilla/thunderbird3/pkgconfig
ln -sf /opt/mozilla/thunderbird3/thunderbird $startdir/pkg/usr/bin/thunderbird3
convert $startdir/src/thunderbird/icons/mozicon50.xpm $startdir/pkg/usr/share/pixmaps/thunderbird3.png
install -m644 $startdir/src/thunderbird3.desktop $startdir/pkg/usr/share/applications/
}
It's dangerous to go alone. Take this with you: http://aur.archlinux.org/packages/thund … d3.desktop
Last edited by z.s.tar.gz (2009-12-09 21:39:55)
I need to find a way out so everyone can find their way out.
Resregietd Lunix Uesr: 485581
Offline
You're missing some dependencies for x86_64.
Some lib32-* packages are needed e.g. lib32-gtk2 but this one has too much dependencies for so I didn't go any further.
I'm working on a PKGBUILD for installing TB3 using the sources but I got a problem the linker seem not to be able to link against some libs while the installation is started by makepkg.
../../mozilla/staticlib/components/libdocshell.a(nsDBusHandlerApp.o): In function `nsDBusHandlerApp::LaunchWithURI(nsIURI*, nsIInterfaceRequestor*)':
nsDBusHandlerApp.cpp:(.text+0x21a): undefined reference to `dbus_error_init'
nsDBusHandlerApp.cpp:(.text+0x224): undefined reference to `dbus_bus_get'
nsDBusHandlerApp.cpp:(.text+0x22f): undefined reference to `dbus_error_is_set'
nsDBusHandlerApp.cpp:(.text+0x23b): undefined reference to `dbus_error_free'
nsDBusHandlerApp.cpp:(.text+0x253): undefined reference to `dbus_connection_set_exit_on_disconnect'
nsDBusHandlerApp.cpp:(.text+0x268): undefined reference to `dbus_message_new_method_call'
nsDBusHandlerApp.cpp:(.text+0x282): undefined reference to `dbus_message_set_no_reply'
nsDBusHandlerApp.cpp:(.text+0x28d): undefined reference to `dbus_message_iter_init_append'
nsDBusHandlerApp.cpp:(.text+0x2a2): undefined reference to `dbus_message_iter_append_basic'
nsDBusHandlerApp.cpp:(.text+0x2af): undefined reference to `dbus_connection_send'
nsDBusHandlerApp.cpp:(.text+0x2bb): undefined reference to `dbus_connection_flush'
nsDBusHandlerApp.cpp:(.text+0x2c3): undefined reference to `dbus_message_unref'
nsDBusHandlerApp.cpp:(.text+0x2cf): undefined reference to `dbus_message_unref'
collect2: ld gab 1 als Ende-Status zurück
make[4]: *** [thunderbird-bin] Fehler 1
make[4]: Leaving directory `/home/alw/.absroot/local/thunderbird3-src/src/comm-1.9.1/mail/app'
make[3]: *** [libs] Fehler 2
make[3]: Leaving directory `/home/alw/.absroot/local/thunderbird3-src/src/comm-1.9.1/mail'
make[2]: *** [libs_tier_app] Fehler 2
make[2]: Leaving directory `/home/alw/.absroot/local/thunderbird3-src/src/comm-1.9.1'
make[1]: *** [tier_app] Fehler 2
make[1]: Leaving directory `/home/alw/.absroot/local/thunderbird3-src/src/comm-1.9.1'
make: *** [default] Fehler 2
==> FEHLER: Build fehlgeschlagen.
Breche ab ...
Here is teh PKGBUIILD I've written until now:
# Contributor: Andrwe Lord Weber <lord-weber-andrwe at renona-studios.org>
pkgname=thunderbird3-src
pkgver=3.0
pkgrel=1
pkgdesc="Standalone Mail/News reader (installs besides thunderbird2)"
arch=('i686' 'x86_64')
url="http://www.mozilla.org/projects/thunderbird"
license=('GPL')
depends=('gtk2>=2.10.0' 'libidl2' 'mozilla-common' 'nss>=3.11.4' 'libxt')
makedepends=()
optdepends=()
provides=(thunderbird3)
conflicts=()
replaces=()
backup=()
options=()
install=""
source=(ftp://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/$pkgver/source/thunderbird-$pkgver.source.tar.bz2 thunderbird3.desktop)
noextract=()
md5sums=('9a564ac2489b1b0f9348dc298b913f6c'
'a5648e652d6f989f7b9e45c83f707910')
build() {
cd "${srcdir}"/comm-1.9.1
./configure --disable-windows-mobile-components --disable-vista-sdk-requirements --with-x --disable-os2-high-mem --enable-native-uconv --enable-application=mail --prefix=/usr --enable-static
make || return 1
make DESTDIR="${pkgdir}" install || return 1
}
Unfortunately the compiling only stops if the commands of the PKGBUILD are run by makepkg but if I run them manualy all works.
Last edited by Andrwe (2009-12-09 21:53:32)
Website: andrwe.org
Repository: repo.andrwe.org/<archtiecture>
Offline
Is it too dangerous to run it manually or could you tell us (if anyone is interested) how to run the script by hand?
So far I'm only used to build via makepkg.
EDIT:
Hard linking to the .desktop file seems to make makepkg work
# Contributor: Andrwe Lord Weber <lord-weber-andrwe at renona-studios.org>
pkgname=thunderbird3-src
pkgver=3.0
pkgrel=1
pkgdesc="Standalone Mail/News reader (installs besides thunderbird2)"
arch=('i686' 'x86_64')
url="http://www.mozilla.org/projects/thunderbird"
license=('GPL')
depends=('gtk2>=2.10.0' 'libidl2' 'mozilla-common' 'nss>=3.11.4' 'libxt')
makedepends=()
optdepends=()
provides=(thunderbird3)
conflicts=()
replaces=()
backup=()
options=()
install=""
source=(ftp://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/$pkgver/source/thunderbird-$pkgver.source.tar.bz2 http://aur.archlinux.org/packages/thunderbird3-de/thunderbird3-de/thunderbird3.desktop)
noextract=()
md5sums=('9a564ac2489b1b0f9348dc298b913f6c'
'a5648e652d6f989f7b9e45c83f707910')
build() {
cd "${srcdir}"/comm-1.9.1
./configure --disable-windows-mobile-components --disable-vista-sdk-requirements --with-x --disable-os2-high-mem --enable-native-uconv --enable-application=mail --prefix=/usr --enable-static
make || return 1
make DESTDIR="${pkgdir}" install || return 1
}
But don't know if this is correct on a PKGBUILD script...
Last edited by masterLoki (2009-12-10 08:35:01)
masterLoki - Trying to understand the universe
Offline
Is it too dangerous to run it manually or could you tell us (if anyone is interested) how to run the script by hand?
So far I'm only used to build via makepkg.
I've just executed the commands of the build() function in a terminal.
EDIT:
Hard linking to the .desktop file seems to make makepkg work
For me the hard linking doesn't work.
Website: andrwe.org
Repository: repo.andrwe.org/<archtiecture>
Offline