pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mail/thunderbird-bin import thunderbird-bin-0.3 from p...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/208e147d4ad0
branches:  trunk
changeset: 464150:208e147d4ad0
user:      grant <grant%pkgsrc.org@localhost>
date:      Thu Dec 04 05:24:42 2003 +0000

description:
import thunderbird-bin-0.3 from pkgsrc-wip.

Mozilla Thunderbird is a redesign of the Mozilla mail component. The
goal is to produce a cross platform stand alone mail application using
the XUL user interface language.

diffstat:

 mail/thunderbird-bin/DESCR                |   3 +
 mail/thunderbird-bin/Makefile             |  81 +++++++++++++++++++++++++++++++
 mail/thunderbird-bin/Makefile.Linux.i386  |  11 ++++
 mail/thunderbird-bin/Makefile.SunOS.i386  |  10 +++
 mail/thunderbird-bin/PLIST                |   2 +
 mail/thunderbird-bin/TODO                 |   6 ++
 mail/thunderbird-bin/distinfo             |   6 ++
 mail/thunderbird-bin/files/thunderbird.sh |   7 ++
 8 files changed, 126 insertions(+), 0 deletions(-)

diffs (158 lines):

diff -r e795fd8cd887 -r 208e147d4ad0 mail/thunderbird-bin/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/thunderbird-bin/DESCR        Thu Dec 04 05:24:42 2003 +0000
@@ -0,0 +1,3 @@
+Mozilla Thunderbird is a redesign of the Mozilla mail component. The
+goal is to produce a cross platform stand alone mail application using
+the XUL user interface language.
diff -r e795fd8cd887 -r 208e147d4ad0 mail/thunderbird-bin/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/thunderbird-bin/Makefile     Thu Dec 04 05:24:42 2003 +0000
@@ -0,0 +1,81 @@
+# $NetBSD: Makefile,v 1.1.1.1 2003/12/04 05:24:42 grant Exp $
+#
+
+DISTNAME=              # see Makefile.${OPSYS}.${ARCH}
+PKGNAME=               thunderbird-bin-0.3
+WRKSRC=                        ${WRKDIR}/thunderbird
+CATEGORIES=            mail
+
+MAINTAINER=            grant%NetBSD.org@localhost
+HOMEPAGE=              http://www.mozilla.org/projects/thunderbird/
+COMMENT=               Redesign of the Mozilla mail client (binary pkg)
+
+ONLY_FOR_PLATFORM=     Linux-*-i[3-6]86 SunOS-5.[89]*-i386
+
+NO_CONFIGURE=          # defined
+
+USE_PKGINSTALL=                YES
+
+.include "../../mk/bsd.prefs.mk"
+
+FILES_SUBST+=          PLATFORM=${PLATFORM}
+PLIST_SRC=             ${WRKDIR}/PLIST_DYNAMIC
+
+do-build:
+
+post-build:
+       @${SED} ${FILES_SUBST_SED} ${FILESDIR}/thunderbird.sh > \
+               ${WRKDIR}/thunderbird.sh
+
+do-install:
+       ${INSTALL_DATA_DIR} ${MOZILLA_LIB}
+       cd ${WRKSRC} && ${PAX} -rw -pm . ${MOZILLA_LIB}
+       ${INSTALL_SCRIPT} ${WRKDIR}/thunderbird.sh \
+               ${PREFIX}/bin/thunderbird-${PLATFORM}
+
+post-install:
+# this build wants exactly 'libgtk-1.2.so.0', etc.
+.if ${OPSYS} == "SunOS" || ${OPSYS} == "Linux"
+       @cd ${MOZILLA_LIB} && \
+       ${LN} -s ${PREFIX}/lib/libatk-1.0.*so* .;                       \
+       ${LN} -s ${X11PREFIX}/lib/libgdk-x11-2.0.*so* .;                \
+       ${LN} -s ${PREFIX}/lib/libgdk_pixbuf-2.0.*so* .;                \
+       ${LN} -s ${PREFIX}/lib/libglib-2.0.*so* .;                      \
+       ${LN} -s ${PREFIX}/lib/libgmodule-2.0.*so* .;                   \
+       ${LN} -s ${PREFIX}/lib/libgobject-2.0.*so* .;                   \
+       ${LN} -s ${X11PREFIX}/lib/libgtk-x11-2.0.*so* .;                \
+       ${LN} -s ${PREFIX}/lib/libpango-1.0.*so* .;                     \
+       ${LN} -s ${PREFIX}/lib/libpangox-1.0.*so* .;                    \
+       ${LN} -s ${PREFIX}/lib/libpangoxft-1.0.*so* .;                  \
+       \
+       ${LN} -s libatk-1.0.so libatk-1.0.so.0;                         \
+       ${LN} -s libgdk-x11-2.0.so libgdk-x11-2.0.so.0;                 \
+       ${LN} -s libgdk_pixbuf-2.0.so libgdk_pixbuf-2.0.so.0;           \
+       ${LN} -s libglib-2.0.so libglib-2.0.so.0;                       \
+       ${LN} -s libgmodule-2.0.so libgmodule-2.0.so.0;                 \
+       ${LN} -s libgobject-2.0.so libgobject-2.0.so.0;                 \
+       ${LN} -s libgtk-x11-2.0.so libgtk-x11-2.0.so.0;                 \
+       ${LN} -s libpango-1.0.so libpango-1.0.so.0;                     \
+       ${LN} -s libpangox-1.0.so libpangox-1.0.so.0;                   \
+       ${LN} -s libpangoxft-1.0.so libpangoxft-1.0.so.0
+.endif
+       @${CP} -f ${PKGDIR}/PLIST ${PLIST_SRC}
+       @${ECHO} bin/thunderbird-${PLATFORM} >> ${PLIST_SRC}
+       @${FIND} ${MOZILLA_LIB} \( -type f -o -type l \) -print         \
+               | ${SORT} | ${SED} -e "s,${PREFIX}/,,g"                 \
+               >> ${PLIST_SRC}
+       @${FIND} ${MOZILLA_LIB} -type d -print                          \
+               | ${SORT} -r | ${SED} -e "s,${PREFIX}/,@dirrm ,g"       \
+               >> ${PLIST_SRC}
+
+.include "../../mk/bsd.prefs.mk"
+
+# everything specific to your OS/Arch goes into it's own Makefile
+# group together i386, i486, i586 and i686 (for Linux)
+ARCH=${MACHINE_ARCH:C/i[3-6]86/i386/g}
+
+.if exists(Makefile.${OPSYS}.${ARCH})
+.  include "Makefile.${OPSYS}.${ARCH}"
+.endif
+
+.include "../../mk/bsd.pkg.mk"
diff -r e795fd8cd887 -r 208e147d4ad0 mail/thunderbird-bin/Makefile.Linux.i386
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/thunderbird-bin/Makefile.Linux.i386  Thu Dec 04 05:24:42 2003 +0000
@@ -0,0 +1,11 @@
+# $NetBSD: Makefile.Linux.i386,v 1.1.1.1 2003/12/04 05:24:42 grant Exp $
+#
+
+DISTNAME=      thunderbird-0.3-i686-pc-linux-gtk2-gnu
+EXTRACT_SUFX=  .tar.bz2
+MASTER_SITES=  http://ftp.mozilla.org/pub/thunderbird/releases/0.3/
+
+PLATFORM=      linux
+MOZILLA_LIB=   ${PREFIX}/lib/thunderbird-${PLATFORM}
+
+DEPENDS+=      gtk2+>=2.2:../../x11/gtk2
diff -r e795fd8cd887 -r 208e147d4ad0 mail/thunderbird-bin/Makefile.SunOS.i386
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/thunderbird-bin/Makefile.SunOS.i386  Thu Dec 04 05:24:42 2003 +0000
@@ -0,0 +1,10 @@
+# $NetBSD: Makefile.SunOS.i386,v 1.1.1.1 2003/12/04 05:24:42 grant Exp $
+#
+
+DISTNAME=      thunderbird-0.3-i386-pc-solaris2.8
+MASTER_SITES=  http://ftp.mozilla.org/pub/thunderbird/releases/0.3/contrib/
+
+DEPENDS+=      gtk2+>=2.2:../../x11/gtk2
+
+PLATFORM=      solaris
+MOZILLA_LIB=   ${PREFIX}/lib/thunderbird-${PLATFORM}
diff -r e795fd8cd887 -r 208e147d4ad0 mail/thunderbird-bin/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/thunderbird-bin/PLIST        Thu Dec 04 05:24:42 2003 +0000
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2003/12/04 05:24:42 grant Exp $
+@comment this PLIST intentionally left blank
diff -r e795fd8cd887 -r 208e147d4ad0 mail/thunderbird-bin/TODO
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/thunderbird-bin/TODO Thu Dec 04 05:24:42 2003 +0000
@@ -0,0 +1,6 @@
+This currently doesn't work on NetBSD because it needs a Linux GTK+
+2.x. I intend to build x11/gtk2 on Linux and package it so that this
+package can depend on it.
+
+This is completely untested except that it installs and uninstalls
+cleanly on NetBSD.
diff -r e795fd8cd887 -r 208e147d4ad0 mail/thunderbird-bin/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/thunderbird-bin/distinfo     Thu Dec 04 05:24:42 2003 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2003/12/04 05:24:42 grant Exp $
+
+SHA1 (thunderbird-0.3-i686-pc-linux-gtk2-gnu.tar.bz2) = d5f8571705f5490038e699ee70f9189aa7ecaec5
+Size (thunderbird-0.3-i686-pc-linux-gtk2-gnu.tar.bz2) = 10164247 bytes
+SHA1 (thunderbird-0.3-i386-pc-solaris2.8.tar.gz) = 2104352719c02cbfbf8852c27e98b33bdd048c6e
+Size (thunderbird-0.3-i386-pc-solaris2.8.tar.gz) = 13264518 bytes
diff -r e795fd8cd887 -r 208e147d4ad0 mail/thunderbird-bin/files/thunderbird.sh
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/thunderbird-bin/files/thunderbird.sh Thu Dec 04 05:24:42 2003 +0000
@@ -0,0 +1,7 @@
+#!@SH@
+# $NetBSD: thunderbird.sh,v 1.1.1.1 2003/12/04 05:24:42 grant Exp $
+
+LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:@PREFIX@/lib/thunderbird-@PLATFORM@:@PREFIX@/lib"
+export LD_LIBRARY_PATH
+
+exec @PREFIX@/lib/thunderbird-@PLATFORM@/thunderbird "$@"



Home | Main Index | Thread Index | Old Index