diff --git a/README.md b/README.md index 9457b50..f1a4a30 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,7 @@ # thunderbird +The Mozilla Thunderbird project is a redesign of Mozilla's email/news component, written using the XUL user interface language and designed to be cross-platform. +Clarification: "Mozilla Thunderbird" is just a project name, in the same way as the Mozilla Application Suite is codenamed "SeaMonkey". For more details, read about the Mozilla Branding Strategy and the Mozilla Roadmap. +If you're interested in where we're going and when we expect to get there then you probably want the Mozilla Thunderbird Roadmap.We track bugs using Bugzilla. +Because the project is small and tightly managed, bugs targeted to a particular milestone generally will be fixed by that milestone. In fact, our milestone releases are bug-driven, not date-driven. Before filing any bugs on Mozilla Thunderbird, please read the bug filing instructions. + diff --git a/calendar-it.jar b/calendar-it.jar new file mode 100644 index 0000000..4aeb00f Binary files /dev/null and b/calendar-it.jar differ diff --git a/gdata-provider-it.jar b/gdata-provider-it.jar new file mode 100644 index 0000000..fb434b8 Binary files /dev/null and b/gdata-provider-it.jar differ diff --git a/lightning-it.jar b/lightning-it.jar new file mode 100644 index 0000000..20110ec Binary files /dev/null and b/lightning-it.jar differ diff --git a/mozilla-1.9.1-jemalloc.patch b/mozilla-1.9.1-jemalloc.patch new file mode 100644 index 0000000..99a0f8d --- /dev/null +++ b/mozilla-1.9.1-jemalloc.patch @@ -0,0 +1,24 @@ +diff -r f1af606531f5 memory/jemalloc/jemalloc.h +--- mozilla/memory/jemalloc/jemalloc.h Sat Nov 22 20:22:22 2008 +0100 ++++ mozilla/memory/jemalloc/jemalloc.h Mon Dec 01 16:53:06 2008 -0500 +@@ -45,14 +45,14 @@ + } jemalloc_stats_t; + + #ifndef MOZ_MEMORY_DARWIN +-void *malloc(size_t size); +-void *valloc(size_t size); +-void *calloc(size_t num, size_t size); +-void *realloc(void *ptr, size_t size); +-void free(void *ptr); ++void *malloc(size_t size) __THROW __attribute_malloc__ __wur; ++void *valloc(size_t size) __THROW __attribute_malloc__ __wur; ++void *calloc(size_t num, size_t size) __THROW __attribute_malloc__ __wur; ++void *realloc(void *ptr, size_t size) __THROW __attribute_malloc__ __wur; ++void free(void *ptr) __THROW __attribute_malloc__ __wur; + #endif + +-int posix_memalign(void **memptr, size_t alignment, size_t size); ++int posix_memalign(void **memptr, size_t alignment, size_t size) __THROW __attribute_malloc__ __wur; + void *memalign(size_t alignment, size_t size); + size_t malloc_usable_size(const void *ptr); + void jemalloc_stats(jemalloc_stats_t *stats); \ No newline at end of file diff --git a/mozilla-thunderbird128x128.png b/mozilla-thunderbird128x128.png new file mode 100644 index 0000000..306f94d Binary files /dev/null and b/mozilla-thunderbird128x128.png differ diff --git a/thunderbird-3.0-calStorageUpgrade-v-1.patch b/thunderbird-3.0-calStorageUpgrade-v-1.patch new file mode 100644 index 0000000..8e7ba5f --- /dev/null +++ b/thunderbird-3.0-calStorageUpgrade-v-1.patch @@ -0,0 +1,21 @@ +--- comm-1.9.1/calendar/providers/storage/calStorageUpgrade.jsm 2009-12-05 02:53:54.000000000 +0100 ++++ comm-1.9.1/calendar/providers/storage/calStorageUpgrade.jsm-gil 2009-12-21 01:03:19.000000000 +0100 +@@ -1141,10 +1141,17 @@ + // then swallowing + // the error is ok too since the cols will already be added in + // v16. +- db.createStatement("SELECT recurrence_id_tz," + ++ // Stepping this statement will fail if the columns don't exist. ++ // We don't use the delegate here since it would show an error to ++ // the user, even through we expect the error. If the db is null, ++ // then swallowing the error is ok too since the cols will ++ // already be added in v16. ++ let stmt = db.createStatement("SELECT recurrence_id_tz," + + " recurrence_id" + + " FROM cal_" + tblName + + " LIMIT 1"); ++ stmt.step(); ++ stmt.finalize(); + } catch (e) { + // An error happened, which means the cols don't exist + hasColumns = false; diff --git a/thunderbird-3.0-clipboard-crash.patch b/thunderbird-3.0-clipboard-crash.patch new file mode 100644 index 0000000..cc088a1 --- /dev/null +++ b/thunderbird-3.0-clipboard-crash.patch @@ -0,0 +1,74 @@ +diff -Nru comm-1.9.1/mozilla/widget/src/gtk2/nsClipboard.cpp comm-1.9.1/mozilla/widget/src/gtk2-gil/nsClipboard.cpp +--- comm-1.9.1/mozilla/widget/src/gtk2/nsClipboard.cpp 2009-12-05 02:56:52.000000000 +0100 ++++ comm-1.9.1/mozilla/widget/src/gtk2-gil/nsClipboard.cpp 2009-12-20 16:56:48.000000000 +0100 +@@ -445,11 +445,11 @@ + + for (PRInt32 j = 0; j < n_targets; j++) { + gchar *atom_name = gdk_atom_name(targets[j]); +- if (!strcmp(atom_name, aFlavorList[i])) ++ if (!g_strcmp0(atom_name, aFlavorList[i])) + *_retval = PR_TRUE; + + // X clipboard wants image/jpeg, not image/jpg +- if (!strcmp(aFlavorList[i], kJPEGImageMime) && !strcmp(atom_name, "image/jpeg")) ++ if (!g_strcmp0(aFlavorList[i], kJPEGImageMime) && !g_strcmp0(atom_name, "image/jpeg")) + *_retval = PR_TRUE; + + g_free(atom_name); +diff -Nru comm-1.9.1/mozilla/widget/src/gtk2/nsDragService.cpp comm-1.9.1/mozilla/widget/src/gtk2-gil/nsDragService.cpp +--- comm-1.9.1/mozilla/widget/src/gtk2/nsDragService.cpp 2009-12-05 02:56:52.000000000 +0100 ++++ comm-1.9.1/mozilla/widget/src/gtk2-gil/nsDragService.cpp 2009-12-20 17:02:42.000000000 +0100 +@@ -801,15 +801,14 @@ + name = gdk_atom_name(atom); + PR_LOG(sDragLm, PR_LOG_DEBUG, + ("checking %s against %s\n", name, aDataFlavor)); +- if (name && (strcmp(name, aDataFlavor) == 0)) { ++ if (g_strcmp0(name, aDataFlavor) == 0) { + PR_LOG(sDragLm, PR_LOG_DEBUG, ("good!\n")); + *_retval = PR_TRUE; + } + // check for automatic text/uri-list -> text/x-moz-url mapping + if (*_retval == PR_FALSE && +- name && +- (strcmp(name, gTextUriListType) == 0) && +- (strcmp(aDataFlavor, kURLMime) == 0)) { ++ (g_strcmp0(name, gTextUriListType) == 0) && ++ (g_strcmp0(aDataFlavor, kURLMime) == 0)) { + PR_LOG(sDragLm, PR_LOG_DEBUG, + ("good! ( it's text/uri-list and \ + we're checking against text/x-moz-url )\n")); +@@ -817,9 +816,8 @@ + } + // check for automatic _NETSCAPE_URL -> text/x-moz-url mapping + if (*_retval == PR_FALSE && +- name && +- (strcmp(name, gMozUrlType) == 0) && +- (strcmp(aDataFlavor, kURLMime) == 0)) { ++ (g_strcmp0(name, gMozUrlType) == 0) && ++ (g_strcmp0(aDataFlavor, kURLMime) == 0)) { + PR_LOG(sDragLm, PR_LOG_DEBUG, + ("good! ( it's _NETSCAPE_URL and \ + we're checking against text/x-moz-url )\n")); +@@ -827,10 +825,9 @@ + } + // check for auto text/plain -> text/unicode mapping + if (*_retval == PR_FALSE && +- name && +- (strcmp(name, kTextMime) == 0) && +- ((strcmp(aDataFlavor, kUnicodeMime) == 0) || +- (strcmp(aDataFlavor, kFileMime) == 0))) { ++ (g_strcmp0(name, kTextMime) == 0) && ++ ((g_strcmp0(aDataFlavor, kUnicodeMime) == 0) || ++ (g_strcmp0(aDataFlavor, kFileMime) == 0))) { + PR_LOG(sDragLm, PR_LOG_DEBUG, + ("good! ( it's text plain and we're checking \ + against text/unicode or application/x-moz-file)\n")); +@@ -951,7 +948,7 @@ + GdkAtom atom = GDK_POINTER_TO_ATOM(tmp->data); + gchar *name = NULL; + name = gdk_atom_name(atom); +- if (strcmp(name, gMimeListType) == 0) ++ if (g_strcmp0(name, gMimeListType) == 0) + retval = PR_TRUE; + g_free(name); + if (retval) diff --git a/thunderbird-3.0-debuginfo-fix-include.patch b/thunderbird-3.0-debuginfo-fix-include.patch new file mode 100644 index 0000000..20eb022 --- /dev/null +++ b/thunderbird-3.0-debuginfo-fix-include.patch @@ -0,0 +1,33 @@ +diff -Nru comm-1.9.1/mozilla/toolkit/crashreporter/google-breakpad/src/client/linux/handler/exception_handler.cc comm-1.9.1/mozilla/toolkit/crashreporter/google-breakpad/src-gil/client/linux/handler/exception_handler.cc +--- comm-1.9.1/mozilla/toolkit/crashreporter/google-breakpad/src/client/linux/handler/exception_handler.cc 2009-12-05 02:56:50.000000000 +0100 ++++ comm-1.9.1/mozilla/toolkit/crashreporter/google-breakpad/src-gil/client/linux/handler/exception_handler.cc 2009-12-20 16:07:47.000000000 +0100 +@@ -33,6 +33,7 @@ + #include + #include + #include ++#include + + #include + #include +diff -Nru comm-1.9.1/mozilla/toolkit/crashreporter/google-breakpad/src/client/linux/handler/minidump_generator.cc comm-1.9.1/mozilla/toolkit/crashreporter/google-breakpad/src-gil/client/linux/handler/minidump_generator.cc +--- comm-1.9.1/mozilla/toolkit/crashreporter/google-breakpad/src/client/linux/handler/minidump_generator.cc 2009-12-05 02:56:50.000000000 +0100 ++++ comm-1.9.1/mozilla/toolkit/crashreporter/google-breakpad/src-gil/client/linux/handler/minidump_generator.cc 2009-12-20 16:08:37.000000000 +0100 +@@ -37,6 +37,7 @@ + #include + #include + #include ++#include + + #include + #include +diff -Nru comm-1.9.1/mozilla/toolkit/crashreporter/google-breakpad/src/common/linux/dump_symbols.cc comm-1.9.1/mozilla/toolkit/crashreporter/google-breakpad/src-gil/common/linux/dump_symbols.cc +--- comm-1.9.1/mozilla/toolkit/crashreporter/google-breakpad/src/common/linux/dump_symbols.cc 2009-12-05 02:56:50.000000000 +0100 ++++ comm-1.9.1/mozilla/toolkit/crashreporter/google-breakpad/src-gil/common/linux/dump_symbols.cc 2009-12-20 16:10:42.000000000 +0100 +@@ -41,6 +41,7 @@ + #include + #include + #include ++#include + + #include + #include diff --git a/thunderbird-3.0-default-browser.patch b/thunderbird-3.0-default-browser.patch new file mode 100644 index 0000000..5512eab --- /dev/null +++ b/thunderbird-3.0-default-browser.patch @@ -0,0 +1,13 @@ +--- comm-1.9.1/mail/app/profile/all-thunderbird.js 2009-12-21 01:34:07.000000000 +0100 ++++ comm-1.9.1/mail/app/profile/all-thunderbird.js-gil 2009-12-21 02:00:31.000000000 +0100 +@@ -308,6 +308,10 @@ + pref("network.protocol-handler.warn-external.https", false); + pref("network.protocol-handler.warn-external.ftp", false); + ++pref("network.protocol-handler.app.http", "/usr/bin/@DEFAULT_BROWSER@"); ++pref("network.protocol-handler.app.https", "/usr/bin/@DEFAULT_BROWSER@"); ++pref("network.protocol-handler.app.ftp", "/usr/bin/@DEFAULT_BROWSER@"); ++ + pref("network.hosts.smtp_server", "mail"); + pref("network.hosts.pop_server", "mail"); + diff --git a/thunderbird-3.0-fix-locale.patch b/thunderbird-3.0-fix-locale.patch new file mode 100644 index 0000000..39661ba --- /dev/null +++ b/thunderbird-3.0-fix-locale.patch @@ -0,0 +1,12 @@ +--- comm-1.9.1/mail/app/profile/all-thunderbird.js 2009-12-05 02:53:47.000000000 +0100 ++++ comm-1.9.1/mail/app/profile/all-thunderbird.js-gil 2009-12-20 21:53:05.000000000 +0100 +@@ -45,7 +45,8 @@ + + pref("general.useragent.extra.thunderbird", "@APP_UA_NAME@/@APP_VERSION@"); + +-pref("general.useragent.locale", "@AB_CD@"); ++pref("intl.locale.matchOS", true); ++pref("general.useragent.locale", "chrome://global/locale/intl.properties"); + pref("general.skins.selectedSkin", "classic/1.0"); + + #ifdef XP_MACOSX diff --git a/thunderbird-3.0-pref-fix.patch b/thunderbird-3.0-pref-fix.patch new file mode 100644 index 0000000..d09a1b6 --- /dev/null +++ b/thunderbird-3.0-pref-fix.patch @@ -0,0 +1,11 @@ +--- comm-1.9.1/mail/app/profile/all-thunderbird.js 2009-12-20 21:53:05.000000000 +0100 ++++ comm-1.9.1/mail/app/profile/all-thunderbird.js-gil 2009-12-20 22:01:07.000000000 +0100 +@@ -71,6 +71,8 @@ + pref("nglayout.enable_drag_images", false); + #endif + ++pref("mail.strictly_mime.parm_folding", 0); ++pref("dom.max_chrome_script_run_time", 0); + // App-specific update preferences + + // Whether or not app updates are enabled diff --git a/thunderbird-3.0-shared-error.patch b/thunderbird-3.0-shared-error.patch new file mode 100644 index 0000000..9a47b62 --- /dev/null +++ b/thunderbird-3.0-shared-error.patch @@ -0,0 +1,14 @@ +--- comm-1.9.1/mail/installer/Makefile.in 2009-12-05 02:53:48.000000000 +0100 ++++ comm-1.9.1/mail/installer/Makefile.in-gil 2009-12-20 16:45:28.000000000 +0100 +@@ -95,9 +95,11 @@ + # mozconfig instead. + ifndef MAIL_PKG_SHARED + ifndef BUILD_STATIC_LIBS ++ifeq (BUILD_STATIC_LIBS, 1) + $(error you need an "--enable-static" build to package a build) + endif + endif ++endif + + # On mozilla-central, packager.mk uses core_abspath to redefine DIST + # As the comm-central config.mk doesn't set it, do it ourselves instead diff --git a/thunderbird-3.1-missing-headers.patch b/thunderbird-3.1-missing-headers.patch new file mode 100644 index 0000000..946c35c --- /dev/null +++ b/thunderbird-3.1-missing-headers.patch @@ -0,0 +1,11 @@ +diff -up mozilla/toolkit/crashreporter/google-breakpad/src/common/linux/file_id.cc.stat mozilla/toolkit/crashreporter/google-breakpad/src/common/linux/file_id.cc +--- mozilla/toolkit/crashreporter/google-breakpad/src/common/linux/file_id.cc.stat 2010-06-16 15:12:57.000000000 +0200 ++++ mozilla/toolkit/crashreporter/google-breakpad/src/common/linux/file_id.cc 2010-06-16 15:13:02.000000000 +0200 +@@ -42,6 +42,7 @@ + #include + #include + #include ++#include + #include + + #include diff --git a/thunderbird-3.1-nsFrame.patch b/thunderbird-3.1-nsFrame.patch new file mode 100644 index 0000000..58c26ad --- /dev/null +++ b/thunderbird-3.1-nsFrame.patch @@ -0,0 +1,11 @@ +--- comm-1.9.2/mozilla/layout/generic/nsFrame.h 2010-06-23 19:46:42.000000000 +0200 ++++ comm-1.9.2/mozilla/layout/generic/nsFrame.h-gil 2010-06-30 17:46:06.000000000 +0200 +@@ -157,7 +157,7 @@ + // Left undefined; nsFrame objects are never allocated from the heap. + void* operator new(size_t sz) CPP_THROW_NEW; + +-protected: ++public: + // Overridden to prevent the global delete from being called, since + // the memory came out of an arena instead of the heap. + // diff --git a/thunderbird-3.1-version.patch b/thunderbird-3.1-version.patch new file mode 100644 index 0000000..fa3096f --- /dev/null +++ b/thunderbird-3.1-version.patch @@ -0,0 +1,12 @@ +diff -up comm-1.9.2/mail/installer/Makefile.in.version comm-1.9.2/mail/installer/Makefile.in +--- comm-1.9.2/mail/installer/Makefile.in.version 2010-05-21 11:42:45.000000000 -0700 ++++ comm-1.9.2/mail/installer/Makefile.in 2010-05-25 15:16:18.446197181 -0700 +@@ -44,6 +44,8 @@ include $(DEPTH)/config/autoconf.mk + + include $(topsrcdir)/config/rules.mk + ++MOZ_APP_VERSION="__RPM_VERSION_INTERNAL__" ++ + MOZ_PKG_REMOVALS = $(srcdir)/removed-files.in + + MOZ_PKG_MANIFEST_P = $(srcdir)/package-manifest.in diff --git a/thunderbird-3.1.1-libjpeg-turbo.patch b/thunderbird-3.1.1-libjpeg-turbo.patch new file mode 100644 index 0000000..fbd7471 --- /dev/null +++ b/thunderbird-3.1.1-libjpeg-turbo.patch @@ -0,0 +1,53 @@ +--- mozilla/modules/libpr0n/decoders/jpeg/nsJPEGDecoder.cpp 2010-07-13 23:28:39.000000000 +0200 ++++ mozilla/modules/libpr0n/decoders/jpeg/nsJPEGDecoder.cpp-gil 2010-07-25 18:04:35.000000000 +0200 +@@ -57,19 +57,6 @@ + + extern "C" { + #include "iccjpeg.h" +- +-/* Colorspace conversion (copied from jpegint.h) */ +-struct jpeg_color_deconverter { +- JMETHOD(void, start_pass, (j_decompress_ptr cinfo)); +- JMETHOD(void, color_convert, (j_decompress_ptr cinfo, +- JSAMPIMAGE input_buf, JDIMENSION input_row, +- JSAMPARRAY output_buf, int num_rows)); +-}; +- +-METHODDEF(void) +-ycc_rgb_convert_argb (j_decompress_ptr cinfo, +- JSAMPIMAGE input_buf, JDIMENSION input_row, +- JSAMPARRAY output_buf, int num_rows); + } + + NS_IMPL_ISUPPORTS1(nsJPEGDecoder, imgIDecoder) +@@ -514,14 +501,6 @@ + return NS_OK; /* I/O suspension */ + } + +- /* Force to use our YCbCr to Packed RGB converter when possible */ +- if (!mTransform && (gfxPlatform::GetCMSMode() == eCMSMode_Off) && +- mInfo.jpeg_color_space == JCS_YCbCr && mInfo.out_color_space == JCS_RGB) { +- /* Special case for the most common case: transform from YCbCr direct into packed ARGB */ +- mInfo.out_color_components = 4; /* Packed ARGB pixels are always 4 bytes...*/ +- mInfo.cconvert->color_convert = ycc_rgb_convert_argb; +- } +- + /* If this is a progressive JPEG ... */ + mState = mInfo.buffered_image ? JPEG_DECOMPRESS_PROGRESSIVE : JPEG_DECOMPRESS_SEQUENTIAL; + } +@@ -678,15 +657,6 @@ + PRUint32 *imageRow = ((PRUint32*)mImageData) + + (mInfo.output_scanline * mInfo.output_width); + +- if (mInfo.cconvert->color_convert == ycc_rgb_convert_argb) { +- /* Special case: scanline will be directly converted into packed ARGB */ +- if (jpeg_read_scanlines(&mInfo, (JSAMPARRAY)&imageRow, 1) != 1) { +- *suspend = PR_TRUE; /* suspend */ +- break; +- } +- continue; /* all done for this row! */ +- } +- + JSAMPROW sampleRow = (JSAMPROW)imageRow; + if (mInfo.output_components == 3) { + /* Put the pixels at end of row to enable in-place expansion */ diff --git a/thunderbird-3.1.3-missing-cflags.patch b/thunderbird-3.1.3-missing-cflags.patch new file mode 100644 index 0000000..f6c5ac1 --- /dev/null +++ b/thunderbird-3.1.3-missing-cflags.patch @@ -0,0 +1,8 @@ +--- mozilla/toolkit/system/gnome/Makefile.in 2010-08-25 16:28:36.000000000 +0200 ++++ mozilla/toolkit/system/gnome/Makefile.in-gil 2010-10-05 02:51:42.000000000 +0200 +@@ -93,4 +93,5 @@ + $(MOZ_GNOMEVFS_CFLAGS) \ + $(GLIB_CFLAGS) \ + $(MOZ_LIBNOTIFY_CFLAGS) \ ++ $(MOZ_GTK2_CFLAGS) \ + $(NULL) diff --git a/thunderbird-3.1.9-os2cc.patch b/thunderbird-3.1.9-os2cc.patch new file mode 100644 index 0000000..1d9712d --- /dev/null +++ b/thunderbird-3.1.9-os2cc.patch @@ -0,0 +1,11 @@ +--- mozilla/gfx/ots/src/os2.cc 2011-03-03 12:42:31.000000000 +0100 ++++ mozilla/gfx/ots/src/os2.cc-gil 2011-03-09 02:23:16.000000000 +0100 +@@ -2,6 +2,8 @@ + // Use of this source code is governed by a BSD-style license that can be + // found in the LICENSE file. + ++#include ++ + #include "os2.h" + + #include "head.h" diff --git a/thunderbird-lang.sh b/thunderbird-lang.sh new file mode 100644 index 0000000..38d02ae --- /dev/null +++ b/thunderbird-lang.sh @@ -0,0 +1,16 @@ +#!/bin/sh +# gil +THUNDERBIRD_VERSION=$1 + +if [ -z "$THUNDERBIRD_VERSION" ]; then + echo "Usage: $0 " + exit 2 +fi + +rm -rf thunderbird-$THUNDERBIRD_VERSION +mkdir thunderbird-$THUNDERBIRD_VERSION +cd thunderbird-$THUNDERBIRD_VERSION +wget -r -N -l 1 -np -nd -A "*.xpi" ftp://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/$THUNDERBIRD_VERSION/linux-i686/xpi/ +rm -f robots.txt +tar -cj *.xpi > ../thunderbird-$THUNDERBIRD_VERSION-langpacks.tar.bz2 +#rm -rf thunderbird-$THUNDERBIRD_VERSION diff --git a/thunderbird-script b/thunderbird-script new file mode 100644 index 0000000..1b2c2b7 --- /dev/null +++ b/thunderbird-script @@ -0,0 +1,79 @@ +#!/bin/sh +# +# gil +# Startup script for the openmamba Thunderbird RPM +# (based on the Mozilla & Fedora RPM launch script) +# + +## +## Variables +## + +MOZ_DIST_BIN="LIBDIR/thunderbird-MOZILLA_VERSION" +MOZ_PROGRAM="LIBDIR/thunderbird-MOZILLA_VERSION/thunderbird" +MOZ_EXTENSIONS_DIR="$MOZ_DIST_BIN/extensions" + +MOZILLA_FIVE_HOME="LIBDIR/thunderbird-MOZILLA_VERSION" + +export MOZILLA_FIVE_HOME + +## +## Select the propper plugin dir +## Wrapped plug-ins are located in /lib/mozilla/plugins-wrapped +## +if [ -x "/usr/bin/mozilla-plugin-config" ] +then + MOZ_PLUGIN_DIR="plugins-wrapped" +else + MOZ_PLUGIN_DIR="plugins" +fi + +## +## Set LD_LIBRARY_PATH +## +if [ "$LD_LIBRARY_PATH" ] +then + LD_LIBRARY_PATH=LIBDIR/thunderbird-MOZILLA_VERSION:LIBDIR/thunderbird-MOZILLA_VERSION/plugins:$LD_LIBRARY_PATH +else + LD_LIBRARY_PATH=LIBDIR/thunderbird-MOZILLA_VERSION:LIBDIR/thunderbird-MOZILLA_VERSION/plugins +fi + +export LD_LIBRARY_PATH + +## +## Make sure that we set the plugin path for backwards compatibility +## +if [ "$MOZ_PLUGIN_PATH" ] +then + MOZ_PLUGIN_PATH=$MOZ_PLUGIN_PATH:LIBDIR/mozilla/$MOZ_PLUGIN_DIR:LIBDIR/thunderbird-MOZILLA_VERSION/plugins +else + MOZ_PLUGIN_PATH=LIBDIR/mozilla/$MOZ_PLUGIN_DIR:LIBDIR/thunderbird-MOZILLA_VERSION/plugins +fi +export MOZ_PLUGIN_PATH + +SHORTMOZLOCALE=`echo $LANG | sed "s|_\([^.]*\).*||g"` +[ -f $MOZ_EXTENSIONS_DIR/langpack-${SHORTMOZLOCALE}@thunderbird.mozilla.org/chrome/$SHORTMOZLOCALE.jar ] && MOZARGS="-UILocale $SHORTMOZLOCALE" + +MOZLOCALE=`echo $LANG | sed "s|_\([^.]*\).*|-\1|g"` +[ -f $MOZ_EXTENSIONS_DIR/langpack-${MOZLOCALE}@thunderbird.mozilla.org/chrome/$MOZLOCALE.jar ] && MOZARGS="-UILocale $MOZLOCALE" + +## +## Set MOZ_ENABLE_PANGO is no longer used because Pango is enabled by default +## you may use MOZ_DISABLE_PANGO=1 to force disabling of pango +## +#MOZ_DISABLE_PANGO=1 +#export MOZ_DISABLE_PANGO + +## +## Set MOZ_APP_LAUNCHER for gnome-session +## +export MOZ_APP_LAUNCHER="/usr/bin/thunderbird" + +## +## Disable the GNOME crash dialog, Moz has it's own +## + +GNOME_DISABLE_CRASH_DIALOG=1 +export GNOME_DISABLE_CRASH_DIALOG + +exec $MOZ_PROGRAM $MOZARGS ${1+"$@"} diff --git a/thunderbird.desktop b/thunderbird.desktop new file mode 100644 index 0000000..7895448 --- /dev/null +++ b/thunderbird.desktop @@ -0,0 +1,16 @@ +[Desktop Entry] +Categories=Application;Network; +Comment=Send and Receive Email with Mozilla Thunderbird +Comment[it]=Inviare e Ricevere Email con Mozilla Thunderbird +Encoding=UTF-8 +Exec=thunderbird +GenericName=Email +Icon=thunderbird +MimeType=text/html;text/xml;application/xhtml+xml;application/xml;application/vn; +Name=Mozilla Thunderbird Mail/News +Name[it]=Mozilla Thunderbird email client +Terminal=0 +Type=Application +X-KDE-StartupNotify=true +X-MultipleArgs=false +StartupWMClass=Thunderbird-bin \ No newline at end of file diff --git a/thunderbird.spec b/thunderbird.spec new file mode 100644 index 0000000..310f1ae --- /dev/null +++ b/thunderbird.spec @@ -0,0 +1,1419 @@ +%define majversion %(echo %version | cut -d. -f 1-2) +%define mozilla_version %(echo %version | cut -d. -f 1) +%define xul_sdk_dir %(pkg-config --variable=sdkdir libxul) +%define thunderbird_internal %{majversion} +%define tbdir %{_libdir}/thunderbird-%{thunderbird_internal} +#%define enable_debug_info 0 +#%define build_langpack 1 +%define with_calendar 1 + +Name: thunderbird +Version: 17.0.8 +Release: 1mamba +Summary: Mozilla Thunderbird email, RSS, and newsgroup client +Group: Graphical Desktop/Applications/Internet +Vendor: openmamba +Distribution: openmamba +Packager: Automatic Build System +URL: http://www.mozilla.org/projects/thunderbird/ +Source0: ftp://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/source/thunderbird-%{version}.source.tar.bz2 +# wget ftp://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/3.1/linux-i686/xpi/*.xpi +# tar -cj *.xpi > ../thunderbird-%{version}-langpacks.tar.bz2 +# or +# sh thunderbird-lang.sh %{version} +Source1: thunderbird-%{version}-langpacks.tar.bz2 +Source2: thunderbird.desktop +Source3: mozilla-thunderbird128x128.png +Source4: thunderbird-script +Source5: thunderbird-lang.sh +#ftp://ftp.mozilla.org/pub/calendar/lightning/nightly/2011/03/2011-03-21-03-comm-1.9.2-l10n/linux-xpi/lightning-it.xpi +#http://l10n.mozilla.org/~hubert/pub/calendar/lightning/nightly/latest-comm-1.9.2-l10n/locales/it/ +Source6: gdata-provider-it.jar +Source7: calendar-it.jar +Source8: lightning-it.jar + +Patch0: thunderbird-3.0-shared-error.patch +Patch1: thunderbird-3.0-debuginfo-fix-include.patch +Patch2: thunderbird-3.0-clipboard-crash.patch +Patch3: mozilla-1.9.1-jemalloc.patch +Patch4: thunderbird-3.0-fix-locale.patch +Patch5: thunderbird-3.0-pref-fix.patch +# https://rocket.ryerson.ca/https/bugzilla.mozilla.org/show_bug.cgi?id=529853 +Patch6: thunderbird-3.0-calStorageUpgrade-v-1.patch + +Patch7: thunderbird-3.0-default-browser.patch +Patch8: thunderbird-3.1-version.patch +Patch9: thunderbird-3.1-nsFrame.patch +Patch10: thunderbird-3.1-missing-headers.patch +Patch11: thunderbird-3.1.1-libjpeg-turbo.patch +Patch12: thunderbird-3.1.3-missing-cflags.patch +Patch13: thunderbird-3.1.9-os2cc.patch + +License: GPL,MPL 1.1,LGPL +BuildRequires: autoconf +BuildRequires: desktop-file-utils +BuildRequires: doxygen +BuildRequires: ImageMagick-devel +BuildRequires: java-gcj-compat +BuildRequires: java-gcj-compat-runtime +BuildRequires: libart_lgpl-devel +BuildRequires: libbonobo-devel +BuildRequires: libbonoboui-devel +BuildRequires: libglitz-devel +BuildRequires: libgnome-devel +BuildRequires: libgnomecanvas-devel +BuildRequires: libgnome-keyring-devel +BuildRequires: libgnomeui-devel +BuildRequires: libgnome-vfs-devel +BuildRequires: libICE-devel +BuildRequires: libIDL-devel +BuildRequires: libiw-devel +BuildRequires: libkrb5-devel +BuildRequires: libpopt-devel +BuildRequires: libpthread-stubs-devel +BuildRequires: libSM-devel +BuildRequires: libstartup-notification-devel +BuildRequires: libxcb-util-devel +BuildRequires: libXft-devel +BuildRequires: libXinerama-devel +BuildRequires: libxml2-devel +BuildRequires: mozldap-devel +BuildRequires: perl-Gtk2 +BuildRequires: pkgconfig +BuildRequires: unzip +BuildRequires: xorg-proto-devel +BuildRequires: zip +## AUTOBUILDREQ-BEGIN +#BuildRequires: ORBit-devel +#BuildRequires: ORBit2-devel +BuildRequires: GConf-devel +BuildRequires: glibc-devel +BuildRequires: libalsa-devel +BuildRequires: libatk-devel +BuildRequires: libbzip2-devel +BuildRequires: libcairo-devel +BuildRequires: libdbus-devel +BuildRequires: libdbus-glib-devel +BuildRequires: libfontconfig-devel +BuildRequires: libfreetype-devel +BuildRequires: libgcc +BuildRequires: libgdk-pixbuf-devel +BuildRequires: libglib-devel +BuildRequires: libgtk-devel +BuildRequires: libhunspell-devel +BuildRequires: libjpeg-devel +BuildRequires: libnspr-devel +BuildRequires: libnss-devel +BuildRequires: libpango-devel +BuildRequires: libpixman-devel +BuildRequires: libpng-devel +BuildRequires: libstdc++6-devel +BuildRequires: libX11-devel +BuildRequires: libXext-devel +BuildRequires: libXrender-devel +BuildRequires: libXt-devel +BuildRequires: libz-devel +## AUTOBUILDREQ-END +BuildRequires: libnotify-devel +BuildRequires: libsqlite-devel +Obsoletes: %{name}-i18n-af +Provides: %{name}-i18n-af = %{?epoch:%epoch:}%{version}-%{release} +Obsoletes: %{name}-i18n-ar +Provides: %{name}-i18n-ar = %{?epoch:%epoch:}%{version}-%{release} +Obsoletes: %{name}-i18n-be +Provides: %{name}-i18n-be = %{?epoch:%epoch:}%{version}-%{release} +Obsoletes: %{name}-i18n-bg +Provides: %{name}-i18n-bg = %{?epoch:%epoch:}%{version}-%{release} +Obsoletes: %{name}-i18n-bn-BD +Provides: %{name}-i18n-bn-BD = %{?epoch:%epoch:}%{version}-%{release} +Obsoletes: %{name}-i18n-ca +Provides: %{name}-i18n-ca = %{?epoch:%epoch:}%{version}-%{release} +Obsoletes: %{name}-i18n-cs +Provides: %{name}-i18n-cs = %{?epoch:%epoch:}%{version}-%{release} +Obsoletes: %{name}-i18n-da +Provides: %{name}-i18n-da = %{?epoch:%epoch:}%{version}-%{release} +Obsoletes: %{name}-i18n-de +Provides: %{name}-i18n-de = %{?epoch:%epoch:}%{version}-%{release} +Obsoletes: %{name}-i18n-el +Provides: %{name}-i18n-el = %{?epoch:%epoch:}%{version}-%{release} +Obsoletes: %{name}-i18n-en-GB +Provides: %{name}-i18n-en-GB = %{?epoch:%epoch:}%{version}-%{release} +Obsoletes: %{name}-i18n-es-AR +Provides: %{name}-i18n-es-AR = %{?epoch:%epoch:}%{version}-%{release} +Obsoletes: %{name}-i18n-es-ES +Provides: %{name}-i18n-es-ES = %{?epoch:%epoch:}%{version}-%{release} +Obsoletes: %{name}-i18n-et +Provides: %{name}-i18n-et = %{?epoch:%epoch:}%{version}-%{release} +Obsoletes: %{name}-i18n-eu +Provides: %{name}-i18n-eu = %{?epoch:%epoch:}%{version}-%{release} +Obsoletes: %{name}-i18n-fi +Provides: %{name}-i18n-fi = %{?epoch:%epoch:}%{version}-%{release} +Obsoletes: %{name}-i18n-fr +Provides: %{name}-i18n-fr = %{?epoch:%epoch:}%{version}-%{release} +Obsoletes: %{name}-i18n-fy-NL +Provides: %{name}-i18n-fy-NL = %{?epoch:%epoch:}%{version}-%{release} +Obsoletes: %{name}-i18n-ga-IE +Provides: %{name}-i18n-ga-IE = %{?epoch:%epoch:}%{version}-%{release} +Obsoletes: %{name}-i18n-gl +Provides: %{name}-i18n-gl = %{?epoch:%epoch:}%{version}-%{release} +Obsoletes: %{name}-i18n-he +Provides: %{name}-i18n-he = %{?epoch:%epoch:}%{version}-%{release} +Obsoletes: %{name}-i18n-hu +Provides: %{name}-i18n-hu = %{?epoch:%epoch:}%{version}-%{release} +Obsoletes: %{name}-i18n-id +Provides: %{name}-i18n-id = %{?epoch:%epoch:}%{version}-%{release} +Obsoletes: %{name}-i18n-is +Provides: %{name}-i18n-is = %{?epoch:%epoch:}%{version}-%{release} +Obsoletes: %{name}-i18n-it +Provides: %{name}-i18n-it = %{?epoch:%epoch:}%{version}-%{release} +Obsoletes: %{name}-i18n-ja +Provides: %{name}-i18n-ja = %{?epoch:%epoch:}%{version}-%{release} +Obsoletes: %{name}-i18n-ka +Provides: %{name}-i18n-ka = %{?epoch:%epoch:}%{version}-%{release} +Obsoletes: %{name}-i18n-ko +Provides: %{name}-i18n-ko = %{?epoch:%epoch:}%{version}-%{release} +Obsoletes: %{name}-i18n-lt +Provides: %{name}-i18n-lt = %{?epoch:%epoch:}%{version}-%{release} +Obsoletes: %{name}-i18n-mk +Provides: %{name}-i18n-mk = %{?epoch:%epoch:}%{version}-%{release} +Obsoletes: %{name}-i18n-nb-NO +Provides: %{name}-i18n-nb-NO = %{?epoch:%epoch:}%{version}-%{release} +Obsoletes: %{name}-i18n-nl +Provides: %{name}-i18n-nl = %{?epoch:%epoch:}%{version}-%{release} +Obsoletes: %{name}-i18n-nn-NO +Provides: %{name}-i18n-nn-NO = %{?epoch:%epoch:}%{version}-%{release} +Obsoletes: %{name}-i18n-pa-IN +Provides: %{name}-i18n-pa-IN = %{?epoch:%epoch:}%{version}-%{release} +Obsoletes: %{name}-i18n-pl +Provides: %{name}-i18n-pl = %{?epoch:%epoch:}%{version}-%{release} +Obsoletes: %{name}-i18n-pt-BR +Provides: %{name}-i18n-pt-BR = %{?epoch:%epoch:}%{version}-%{release} +Obsoletes: %{name}-i18n-pt-PT +Provides: %{name}-i18n-pt-PT = %{?epoch:%epoch:}%{version}-%{release} +Obsoletes: %{name}-i18n-ro +Provides: %{name}-i18n-ro = %{?epoch:%epoch:}%{version}-%{release} +Obsoletes: %{name}-i18n-ru +Provides: %{name}-i18n-ru = %{?epoch:%epoch:}%{version}-%{release} +Obsoletes: %{name}-i18n-si +Provides: %{name}-i18n-si = %{?epoch:%epoch:}%{version}-%{release} +Obsoletes: %{name}-i18n-sk +Provides: %{name}-i18n-sk = %{?epoch:%epoch:}%{version}-%{release} +Obsoletes: %{name}-i18n-sl +Provides: %{name}-i18n-sl = %{?epoch:%epoch:}%{version}-%{release} +Obsoletes: %{name}-i18n-sq +Provides: %{name}-i18n-sq = %{?epoch:%epoch:}%{version}-%{release} +Obsoletes: %{name}-i18n-sr +Provides: %{name}-i18n-sr = %{?epoch:%epoch:}%{version}-%{release} +Obsoletes: %{name}-i18n-sv-SE +Provides: %{name}-i18n-sv-SE = %{?epoch:%epoch:}%{version}-%{release} +Obsoletes: %{name}-i18n-ta-LK +Provides: %{name}-i18n-ta-LK = %{?epoch:%epoch:}%{version}-%{release} +Obsoletes: %{name}-i18n-tr +Provides: %{name}-i18n-tr = %{?epoch:%epoch:}%{version}-%{release} +Obsoletes: %{name}-i18n-uk +Provides: %{name}-i18n-uk = %{?epoch:%epoch:}%{version}-%{release} +Obsoletes: %{name}-i18n-vi +Provides: %{name}-i18n-vi = %{?epoch:%epoch:}%{version}-%{release} +Obsoletes: %{name}-i18n-zh-CN +Provides: %{name}-i18n-zh-CN = %{?epoch:%epoch:}%{version}-%{release} +Obsoletes: %{name}-i18n-zh-TW +Provides: %{name}-i18n-zh-TW = %{?epoch:%epoch:}%{version}-%{release} +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +The Mozilla Thunderbird project is a redesign of Mozilla's email/news component, written using the XUL user interface language and designed to be cross-platform. +Clarification: "Mozilla Thunderbird" is just a project name, in the same way as the Mozilla Application Suite is codenamed "SeaMonkey". For more details, read about the Mozilla Branding Strategy and the Mozilla Roadmap. +If you're interested in where we're going and when we expect to get there then you probably want the Mozilla Thunderbird Roadmap.We track bugs using Bugzilla. +Because the project is small and tightly managed, bugs targeted to a particular milestone generally will be fixed by that milestone. In fact, our milestone releases are bug-driven, not date-driven. Before filing any bugs on Mozilla Thunderbird, please read the bug filing instructions. + +%package devel +Summary: Devel files for %{name} +Group: Development/Applications +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description devel +The Mozilla Thunderbird project is a redesign of Mozilla's email/news component, written using the XUL user interface language and designed to be cross-platform. +Clarification: "Mozilla Thunderbird" is just a project name, in the same way as the Mozilla Application Suite is codenamed "SeaMonkey". For more details, read about the Mozilla Branding Strategy and the Mozilla Roadmap. +If you're interested in where we're going and when we expect to get there then you probably want the Mozilla Thunderbird Roadmap.We track bugs using Bugzilla. +Because the project is small and tightly managed, bugs targeted to a particular milestone generally will be fixed by that milestone. In fact, our milestone releases are bug-driven, not date-driven. Before filing any bugs on Mozilla Thunderbird, please read the bug filing instructions. +This package contains static libraries and header files need for development. + +%prep +%setup -q -c +mv comm-*/* . + +# -D -T +#:<< __EOF + +%define _use_internal_dependency_generator 0 + +%define __find_provides %{_builddir}/thunderbird-%{version}/find_provides.sh +cat > %{_builddir}/thunderbird-%{version}/find_provides.sh <<_EOF +#! /bin/sh +grep -v %{buildroot}%{tbdir} | \ +grep -v %{buildroot}%{_libdir}/thunderbird-devel-%{majversion} | \ +%{_prefix}/lib/rpm/find-provides %{buildroot} %{_target_cpu} +_EOF +chmod +x %{_builddir}/thunderbird-%{version}/find_provides.sh + +%define __find_requires %{_builddir}/thunderbird-%{version}/find_requires.sh +cat > %{_builddir}/thunderbird-%{version}/find_requires.sh <<_EOF +#! /bin/sh +%{_prefix}/lib/rpm/find-requires %{buildroot} %{_target_cpu} 2>/dev/null | +while read line; do + [ ! -f %{buildroot}%{tbdir}/\$line -a ! -f %{buildroot}%{_libdir}/thunderbird-devel-%{majversion}/\$line ] && echo "\$line" +done +_EOF +chmod +x %{_builddir}/thunderbird-%{version}/find_requires.sh + +#%patch0 -p1 +#%if %enable_debug_info +#%patch1 -p1 +#%endif +#%patch2 -p1 +#%patch3 -p0 +%patch4 -p1 +#%patch5 +#%patch6 -p1 + +sed -e 's|@DEFAULT_BROWSER@|firefox|' %{PATCH7} | patch -p1 + +sed -e 's/__RPM_VERSION_INTERNAL__/%{thunderbird_internal}/' %{P:%%PATCH8} \ +> version.patch +%{__patch} -p1 -b --suffix .version --fuzz=0 < version.patch +#%patch9 -p1 +#%patch10 +#%patch11 +#%patch12 +#%patch13 -p0 -b .os2cc + +sed -i 's|pref("network.protocol-handler.warn-external.ftp", false);|pref("network.protocol-handler.warn-external.ftp", true);|' mail/app/profile/all-thunderbird.js +sed -i 's|pref("network.protocol-handler.warn-external.http", false);|pref("network.protocol-handler.warn-external.http", true);|' mail/app/profile/all-thunderbird.js +sed -i 's|pref("network.protocol-handler.warn-external.https", false);|pref("network.protocol-handler.warn-external.https", true);|' mail/app/profile/all-thunderbird.js + +for p in $(find . -name "*.py"); do + sed -i 's|#!/usr/bin/python|#!%{__python}|' $p + sed -i 's|#!/usr/bin/env python|#!%{__python}|' $p + sed -i 's|#!python|#!%{__python}|' $p + sed -i 's|#!/usr/local/bin/python2.1|#!%{__python}|' $p + sed -i 's|#!/usr/local/bin/python|#!%{__python}|' $p +done + +#for c in $(find . -name "configure" -o -name "configure.in"); do +# sed -i 's|python2.6 python2.5 python2.4 python|python2.6|' $c +#done + +rm -f .mozconfig +cat << EOF > .mozconfig +mk_add_options MOZ_CO_PROJECT=mail +ac_add_options --enable-application=mail +mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/objdir-tb/ +mk_add_options AUTOCONF=autoconf-2.13 +ac_add_options --prefix=%{_prefix} +ac_add_options --libdir=%{_libdir} +ac_add_options --includedir=%{_includedir} +ac_add_options --mandir=%{_mandir} +ac_add_options --with-default-mozilla-five-home=%{tbdir} +%if %with_calendar +ac_add_options --enable-calendar +%endif +#ac_add_options --with-libxul-sdk=%{xul_sdk_dir} +ac_add_options --with-system-bz2 +ac_add_options --with-system-jpeg +ac_add_options --with-system-png +ac_add_options --with-system-mng +ac_add_options --with-system-nspr +ac_add_options --with-system-nss +ac_add_options --with-system-zlib +ac_add_options --with-pthreads +ac_add_options --disable-activex +ac_add_options --disable-activex-scripting +#ac_add_options --disable-freetype2 +#ac_add_options --disable-updater +ac_add_options --disable-installer +ac_add_options --disable-tests +ac_add_options --enable-optimize="$RPM_OPT_FLAGS" +ac_add_options --enable-mathml +ac_add_options --enable-xinerama +ac_add_options --enable-default-toolkit=cairo-gtk2 +ac_add_options --disable-xprint +ac_add_options --disable-strip +ac_add_options --disable-install-strip +ac_add_options --disable-debug +ac_add_options --enable-pango +ac_add_options --disable-system-cairo +ac_add_options --enable-svg +ac_add_options --enable-svg-renderer-cairo +ac_add_options --enable-canvas +ac_add_options --enable-system-hunspell +ac_add_options --disable-crashreporter +ac_add_options --disable-mochitest +ac_add_options --disable-javaxpcom +ac_add_options --disable-elf-dynstr-gc +ac_add_options --enable-xft +ac_add_options --enable-safe-browsing +ac_add_options --enable-url-classifier +ac_add_options --enable-jemalloc +ac_add_options --enable-branding +ac_add_options --enable-official-branding +ac_add_options --enable-system-sqlite +ac_add_options --enable-oji +ac_add_options --disable-necko-wifi +ac_add_options --enable-ldap +ac_add_options --with-system-mozldap +ac_add_options --enable-storage +ac_add_options --enable-gio +ac_add_options --disable-gnomevfs + +export BUILD_OFFICIAL=1 +export MOZILLA_OFFICIAL=1 +mk_add_options BUILD_OFFICIAL=1 +mk_add_options MOZILLA_OFFICIAL=1 +EOF + +#ac_add_options --enable-strip +#ac_add_options --enable-install-strip +#ac_add_options --enable-places + +%if %enable_debug_info +echo "export CFLAGS="-gstabs+"" >> .mozconfig +echo "export CXXFLAGS="-gstabs+"" >> .mozconfig +echo "export MOZ_DEBUG_SYMBOLS="1"" >> .mozconfig +%endif + +#__EOF + +%build +#:<< __EOF + +## Disable C++ exceptions since Mozilla code is not exception-safe +#MOZ_OPT_FLAGS=$(echo "$RPM_OPT_FLAGS" | \ +# %{__sed} -e 's/-O2/-Os/' -e 's/-Wall//' -e 's/-fexceptions/-fno-exceptions/g') +#export CFLAGS=$MOZ_OPT_FLAGS +#export CXXFLAGS=$MOZ_OPT_FLAGS + +export PYTHON=%{__python} +export TB_OPT_FLAGS=$(echo $RPM_OPT_FLAGS | %{__sed} -e 's/-O2/-Os/' -e 's/-Wall//') +export RPM_OPT_FLAGS=$TB_OPT_FLAGS + +%define makeflags -j1 +%ifarch ppc +%define makeflags -j1 +%else +%define makeflags %{?_smp_mflags} +%endif + +export LDFLAGS="-Wl,-rpath,%{tbdir}" +export MAKE="gmake %{makeflags}" +export BUILD_OFFICIAL=1 +export MOZILLA_OFFICIAL=1 + +make -f client.mk build +# SDK_BIN_DIR=%{xul_sdk_dir}/sdk/bin/ +# -f client.mk build + +#%if %enable_debug_info +#cd objdir-tb +#ake buildsymbols +#%endif + +#__EOF + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +cd objdir-tb + +DESTDIR=%{buildroot} make install MOZ_SERVICES_SYNC="1" +# SDK_BIN_DIR=%{xul_sdk_dir}/sdk/bin/ + +cd - + +mkdir -p %{buildroot}%{_datadir}/applications +desktop-file-install --mode=644 --dir %{buildroot}%{_datadir}/applications %{S:2} + +for i in 16 22 24 32 48 256 ; do + mkdir -p %{buildroot}%{_datadir}/icons/hicolor/${i}x${i}/apps + cp other-licenses/branding/thunderbird/mailicon${i}.png \ + %{buildroot}%{_datadir}/icons/hicolor/${i}x${i}/apps/thunderbird.png +done +# FIXME handle system/user preferences with xdg-open +for d in %{buildroot}%{tbdir}/greprefs %{buildroot}%{tbdir}/defaults/pref ; do +mkdir -p $d +cat > $d/all-redhat.js << _EOF +pref("app.update.enabled", false); +pref("app.update.autoInstallEnabled", false); +# allow users to set custom colors +# pref("browser.display.use_system_colors", true); +pref("general.useragent.vendor", "openmamba"); +pref("general.useragent.vendorSub", "%{version}-%{release}"); +pref("intl.locale.matchOS", true); +pref("mail.shell.checkDefaultClient", false); +pref("toolkit.networkmanager.disable", false); +pref("network.protocol-handler.app.http", "%{_bindir}/firefox"); +pref("network.protocol-handler.app.https", "%{_bindir}/firefox"); +pref("network.protocol-handler.app.ftp", "%{_bindir}/firefox"); +# disable global indexing by default +pref("mailnews.database.global.indexer.enabled", false); +# do not switch to Smart Folders after upgrade to 3.x +pref("mail.folder.views.version", "1") +pref("network.protocol-handler.warn-external.ftp", true); +pref("network.protocol-handler.warn-external.http", true); +pref("network.protocol-handler.warn-external.https", true); +_EOF +done + +rm -rf %{buildroot}%{_bindir}/thunderbird +rm -rf %{buildroot}%{_bindir}/thunderbird-config + +cat %{SOURCE4} | sed -e 's/MOZILLA_VERSION/%{thunderbird_internal}/g' -e 's,LIBDIR,%{_libdir},g' > %{buildroot}%{_bindir}/thunderbird +chmod 755 %{buildroot}%{_bindir}/thunderbird + +install -d %{buildroot}%{tbdir}/extensions +install -d thunderbird-langpacks && tar -C thunderbird-langpacks -xjf %{SOURCE1} + +find thunderbird-langpacks/ -type f -name \*.xpi | \ +while read filename; do + lang=$(basename $filename .xpi) + extensiondir="\ +%{buildroot}%{tbdir}/extensions/langpack-$lang@thunderbird.mozilla.org" + install -d $extensiondir + unzip $filename -d $extensiondir + find $extensiondir -type f -exec chmod 644 {} \; +## remove + language=`echo $lang | sed -e 's/-/_/g'` + extdir=`echo $extensiondir | sed -e "s,^%{buildroot},,"` + echo "%%lang($language) $extdir" >> %{name}.lang +done + +#rm -rf %{buildroot}%{tbdir}/dictionaries +install -d -m0755 %{buildroot}%{tbdir}/dictionaries +ln -sf %{_datadir}/myspell/* %{buildroot}%{tbdir}/dictionaries/ + +mkdir -p %{buildroot}%{tbdir}/components +touch %{buildroot}%{tbdir}/components/compreg.dat +touch %{buildroot}%{tbdir}/components/xpti.dat + +mkdir -p %{buildroot}%{_libdir}/mozilla/plugins + +cd mozilla +install -c -m 644 LICENSE %{buildroot}%{tbdir} +cd - + +%if %with_calendar +mkdir -p %{buildroot}%{tbdir}/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103} +unzip -q -u objdir-tb/mozilla/dist/xpi-stage/lightning.xpi -d %{buildroot}%{tbdir}/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103} +cp -pr %{SOURCE7} %{buildroot}%{tbdir}/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/chrome/ +cp -pr %{SOURCE8} %{buildroot}%{tbdir}/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/chrome/ +mkdir -p %{buildroot}%{tbdir}/extensions/{a62ef8ec-5fdc-40c2-873c-223b8a6925cc} +unzip -q -u objdir-tb/mozilla/dist/xpi-stage/gdata-provider.xpi -d %{buildroot}%{tbdir}/extensions/{a62ef8ec-5fdc-40c2-873c-223b8a6925cc} +cp -pr %{SOURCE6} %{buildroot}%{tbdir}/extensions/{a62ef8ec-5fdc-40c2-873c-223b8a6925cc}/chrome/ +%endif + +#%if %enable_debug_info +#cp mozilla/dist/thunderbird-%{version}.en-US.linux-%{_target_cpu}-crashreporter-symbols.zip %{buildroot}%{_libdir}/debug%{tbdir} +#mkdir -p %{buildroot}%{_libdir}/debug%{tbdir} +#cp objdir-tb/mozilla/dist/thunderbird-%{version}.en-US.linux-i686.crashreporter-symbols.zip %{buildroot}%{_libdir}/debug%{tbdir} +#%endif + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post +update-desktop-database &> /dev/null || : +touch --no-create %{_datadir}/icons/hicolor +if [ -x %{_bindir}/gtk-update-icon-cache ]; then + %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : +fi + +%postun +update-desktop-database &> /dev/null || : +touch --no-create %{_datadir}/icons/hicolor +if [ -x %{_bindir}/gtk-update-icon-cache ]; then + %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : +fi +# + +%files -f %{name}.lang +%defattr(-,root,root) +%attr(755,root,root) %{_bindir}/thunderbird +%{_datadir}/applications/thunderbird.desktop +%{_datadir}/icons/hicolor/*x*/apps/thunderbird.png +%dir %{_libdir}/mozilla/plugins +%dir %{tbdir} +%{tbdir}/run-mozilla.sh +%{tbdir}/thunderbird +%{tbdir}/thunderbird-bin +%{tbdir}/LICENSE +%{tbdir}/*.ini +%{tbdir}/*.xml +%{tbdir}/chrome.manifest +%dir %{tbdir}/chrome +%dir %{tbdir}/chrome/icons +%dir %{tbdir}/chrome/icons/default +%{tbdir}/chrome/icons/default/default*.png +%dir %{tbdir}/components +%ghost %{tbdir}/components/binary.manifest +%ghost %{tbdir}/components/compreg.dat +%ghost %{tbdir}/components/xpti.dat +%{tbdir}/components/lib*.so +%dir %{tbdir}/defaults +%dir %{tbdir}/defaults/messenger +%{tbdir}/defaults/messenger/mailViews.dat +%{tbdir}/defaults/pref/*.js +%{tbdir}/dependentlibs.list +%dir %{tbdir}/distribution +%dir %{tbdir}/distribution/extensions +%{tbdir}/distribution/extensions/tbtestpilot@labs.mozilla.com.xpi +%dir %{tbdir}/dictionaries +%{tbdir}/dictionaries/* +%dir %{tbdir}/extensions +%{tbdir}/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd} +%if %with_calendar +%{tbdir}/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103} +%{tbdir}/extensions/{a62ef8ec-5fdc-40c2-873c-223b8a6925cc} +%endif +#%dir %{tbdir}/hyphenation +#%{tbdir}/hyphenation/hyph*.dic +%dir %{tbdir}/icons +%{tbdir}/icons/updater.png +%dir %{tbdir}/isp +%{tbdir}/isp/* +%{tbdir}/lib*.so +%{tbdir}/mozilla-xremote-client +%{tbdir}/plugin-container +#%{tbdir}/update.locale +%{tbdir}/updater +%dir %{tbdir}/greprefs +%{tbdir}/greprefs/*.js +%{tbdir}/omni.ja +%{tbdir}/removed-files +%dir %{tbdir}/searchplugins +%{tbdir}/searchplugins/* +%dir %{_datadir}/idl/thunderbird-%{majversion} +%{_datadir}/idl/thunderbird-%{majversion}/* +%{_datadir}/idl/thunderbird-%{majversion}/.mkdir.done + +%files devel +%defattr(-,root,root) +%dir %{_libdir}/thunderbird-devel-%{majversion} +%{_libdir}/thunderbird-devel-%{majversion}/* +%dir %{_includedir}/thunderbird-%{version} +%{_includedir}/thunderbird-%{version}/* +%{_includedir}/thunderbird-%{version}/.mkdir.done + +#%package i18n-af +#Summary: Afrikaans language support for Thunderbird +#Group: System/Internationalization +#Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +#%description i18n-af +#Afrikaans language support for Thunderbirdd. + +#%files i18n-af +#%defattr(-,root,root) +#%{tbdir}/extensions/langpack-af@thunderbird.mozilla.org/ + +#%package i18n-ar +#Summary: Arabic language support for Thunderbird +#Group: System/Internationalization +#Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +#%description i18n-ar +#Arabic language support for Thunderbirdd. + +#%files i18n-ar +#%defattr(-,root,root) +#%{tbdir}/extensions/langpack-ar@thunderbird.mozilla.org/ + +#%package i18n-be +#Summary: Belarusian language support for Thunderbird +#Group: System/Internationalization +#Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +#%description i18n-be +#Belarusian language support for Thunderbird. + +#%files i18n-be +#%defattr(-,root,root) +#%{tbdir}/extensions/langpack-be@thunderbird.mozilla.org/ + +#%package i18n-bg +#Summary: Bulgarian language support for Thunderbird +#Group: System/Internationalization +#Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +#%description i18n-bg +#Bulgarian language support for Thunderbird. + +#%files i18n-bg +#%defattr(-,root,root) +#%{tbdir}/extensions/langpack-bg@thunderbird.mozilla.org/ + +#%package i18n-bn-BD +#Summary: Bengali (Bangladesh) language support for Thunderbird +#Group: System/Internationalization +#Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +#%description i18n-bn-BD +#Bengali (Bangladesh) language support for Thunderbird. + +#%files i18n-bn-BD +#%defattr(-,root,root) +#%{tbdir}/extensions/langpack-bn-BD@thunderbird.mozilla.org/ + +#%package i18n-ca +#Summary: Catalan language support for Thunderbird +#Group: System/Internationalization +#Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +#%description i18n-ca +#Catalan language support for Thunderbird. + +#%files i18n-ca +#%defattr(-,root,root) +#%{tbdir}/extensions/langpack-ca@thunderbird.mozilla.org/ + +#%package i18n-cs +#Summary: Czech language support for Thunderbird +#Group: System/Internationalization +#Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +#%description i18n-cs +#Czech language support for Thunderbird. + +#%files i18n-cs +#%defattr(-,root,root) +#%{tbdir}/extensions/langpack-cs@thunderbird.mozilla.org/ + +#%package i18n-da +#Summary: Danish language support for Thunderbird +#Group: System/Internationalization +#Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +#%description i18n-da +#Danish language support for Thunderbird. + +#%files i18n-da +#%defattr(-,root,root) +#%{tbdir}/extensions/langpack-da@thunderbird.mozilla.org/ + +#%package i18n-de +#Summary: German language support for Thunderbird +#Group: System/Internationalization +#Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +#%description i18n-de +#German language support for Thunderbird. + +#%files i18n-de +#%defattr(-,root,root) +#%{tbdir}/extensions/langpack-de@thunderbird.mozilla.org/ + +#%package i18n-el +#Summary: Greek language support for Thunderbird +#Group: System/Internationalization +#Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +#%description i18n-el +#Greek language support for Thunderbird. + +#%files i18n-el +#%defattr(-,root,root) +#%{tbdir}/extensions/langpack-el@thunderbird.mozilla.org/ + +#%package i18n-en-GB +#Summary: English (British) language support for Thunderbird +#Group: System/Internationalization +#Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +#%description i18n-en-GB +#English (British) language support for Thunderbird. + +#%files i18n-en-GB +#%defattr(-,root,root) +#%{tbdir}/extensions/langpack-en-GB@thunderbird.mozilla.org/ + +#%package i18n-es-AR +#Summary: Spanish (Latin American) language support for Thunderbird +#Group: System/Internationalization +#Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +#%description i18n-es-AR +#Spanish (Latin American) language support for Thunderbird. + +#%files i18n-es-AR +#%defattr(-,root,root) +#%{tbdir}/extensions/langpack-es-AR@thunderbird.mozilla.org/ + +#%package i18n-es-ES +#Summary: Spanish language support for Thunderbird +#Group: System/Internationalization +#Provides: %{name}-i18n-es = %{?epoch:%epoch:}%{version}-%{release} +#Obsoletes: %{name}-i18n-es +#Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +#%description i18n-es-ES +#Spanish language support for Thunderbird. + +#%files i18n-es-ES +#%defattr(-,root,root) +#%{tbdir}/extensions/langpack-es-ES@thunderbird.mozilla.org/ + +#%package i18n-et +#Summary: Estonian language support for Thunderbird +#Group: System/Internationalization +#Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +#%description i18n-et +#Estonian language support for Thunderbird. + +#%files i18n-et +#%defattr(-,root,root) +#%{tbdir}/extensions/langpack-et@thunderbird.mozilla.org/ + +#%package i18n-eu +#Summary: Basque language support for Thunderbird +#Group: System/Internationalization +#Provides: %{name}-i18n-eu-ES = %{?epoch:%epoch:}%{version}-%{release} +#Obsoletes: %{name}-i18n-eu-ES +#Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +#%description i18n-eu +#Basque language support for Thunderbird. + +#%files i18n-eu +#%defattr(-,root,root) +#%{tbdir}/extensions/langpack-eu@thunderbird.mozilla.org/ + +#%package i18n-fi +#Summary: Finnish language support for Thunderbird +#Group: System/Internationalization +#Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +#%description i18n-fi +#Finnish language support for Thunderbird. + +#%files i18n-fi +#%defattr(-,root,root) +#%{tbdir}/extensions/langpack-fi@thunderbird.mozilla.org/ + +#%package i18n-fr +#Summary: French language support for Thunderbird +#Group: System/Internationalization +#Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +#%description i18n-fr +#French language support for Thunderbird. + +#%files i18n-fr +#%defattr(-,root,root) +#%{tbdir}/extensions/langpack-fr@thunderbird.mozilla.org/ + +#%package i18n-fy-NL +#Summary: Frisian language support for Thunderbird +#Group: System/Internationalization +#Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +#%description i18n-fy-NL +#Frisian language support for Thunderbird. + +#%files i18n-fy-NL +#%defattr(-,root,root) +#%{tbdir}/extensions/langpack-fy-NL@thunderbird.mozilla.org/ + +#%package i18n-ga-IE +#Summary: Irish language support for Thunderbird +#Group: System/Internationalization +#Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +#%description i18n-ga-IE +#Irish language support for Thunderbird. + +#%files i18n-ga-IE +#%defattr(-,root,root) +#%{tbdir}/extensions/langpack-ga-IE@thunderbird.mozilla.org/ + +#%package i18n-gl +#Summary: Galician (Galiza) language support for Thunderbird +#Group: System/Internationalization +#Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +#%description i18n-gl +#Galician (Galiza) language support for Thunderbird. + +#%files i18n-gl +#%defattr(-,root,root) +#%{tbdir}/extensions/langpack-gl@thunderbird.mozilla.org/ + +#%package i18n-he +#Summary: Hebrew language support for Thunderbird +#Group: System/Internationalization +#Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +#%description i18n-he +#Hebrew language support for Thunderbird. + +#%files i18n-he +#%defattr(-,root,root) +#%{tbdir}/extensions/langpack-he@thunderbird.mozilla.org/ + +#%package i18n-hu +#Summary: Magyar (HU) language support for Thunderbird +#Group: System/Internationalization +#Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +#%description i18n-hu +#Magyar (HU) language support for Thunderbird. + +#%files i18n-hu +#%defattr(-,root,root) +#%{tbdir}/extensions/langpack-hu@thunderbird.mozilla.org/ + +#%package i18n-id +#Summary: Bahasa Indonesia (ID) language support for Thunderbird +#Group: System/Internationalization +#Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +#%description i18n-id +#Bahasa Indonesia (ID) language support for Thunderbird. + +#%files i18n-id +#%defattr(-,root,root) +#%{tbdir}/extensions/langpack-id@thunderbird.mozilla.org/ + +#%package i18n-is +#Summary: Icelandic (IS) language support for Thunderbird +#Group: System/Internationalization +#Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +#%description i18n-is +#Icelandic (IS) language support for Thunderbird. + +#%files i18n-is +#%defattr(-,root,root) +#%{tbdir}/extensions/langpack-is@thunderbird.mozilla.org/ + +#%package i18n-it +#Summary: Italian language support for Thunderbird +#Group: System/Internationalization +#Provides: %{name}-it = %{?epoch:%epoch:}%{version}-%{release} +#Obsoletes: %{name}-it +#Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +#%description i18n-it +#Italian language support for Thunderbird. + +#%files i18n-it +#%defattr(-,root,root) +#%{tbdir}/extensions/langpack-it@thunderbird.mozilla.org/ + +#%package i18n-ja +#Summary: Japanese language support for Thunderbird +#Group: System/Internationalization +#Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +#%description i18n-ja +#Japanese language support for Thunderbird. + +#%files i18n-ja +#%defattr(-,root,root) +#%{tbdir}/extensions/langpack-ja@thunderbird.mozilla.org/ + +#%package i18n-ka +#Summary: Georgian language support for Thunderbird +#Group: System/Internationalization +#Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +#%description i18n-ka +#Georgian language support for Thunderbird. + +#%files i18n-ka +#%defattr(-,root,root) +#%{tbdir}/extensions/langpack-ka@thunderbird.mozilla.org/ + +#%package i18n-ko +#Summary: Korean language support for Thunderbird +#Group: System/Internationalization +#Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +#%description i18n-ko +#Korean language support for Thunderbird. + +#%files i18n-ko +#%defattr(-,root,root) +#%{tbdir}/extensions/langpack-ko@thunderbird.mozilla.org/ + +#%package i18n-lt +#Summary: Lithuanian language support for Thunderbird +#Group: System/Internationalization +#Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +#%description i18n-lt +#Lithuanian language support for Thunderbird. + +#%files i18n-lt +#%defattr(-,root,root) +#%{tbdir}/extensions/langpack-lt@thunderbird.mozilla.org/ + +#%package i18n-mk +#Summary: Macedonian language support for Thunderbird +#Group: System/Internationalization +#Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +#%description i18n-mk +#Macedonian language support for Thunderbird. + +#%files i18n-mk +#%defattr(-,root,root) +#%{tbdir}/extensions/langpack-mk@thunderbird.mozilla.org/ + +#%package i18n-nb-NO +#Summary: Norwegian Bokmål language support for Thunderbird +#Group: System/Internationalization +#Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} +#Obsoletes: %{name}-i18n-nb +#Provides: %{name}-i18n-nb = %{?epoch:%epoch:}%{version}-%{release} + +#%description i18n-nb-NO +#Norwegian Bokmål language support for Thunderbird. + +#%files i18n-nb-NO +#%defattr(-,root,root) +#%{tbdir}/extensions/langpack-nb-NO@thunderbird.mozilla.org/ + +#%package i18n-nl +#Summary: Dutch language support for Thunderbird +#Group: System/Internationalization +#Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +#%description i18n-nl +#Dutch language support for Thunderbird. + +#%files i18n-nl +#%defattr(-,root,root) +#%{tbdir}/extensions/langpack-nl@thunderbird.mozilla.org/ + +#%package i18n-nn-NO +#Summary: Norwegian Nynorsk language support for Thunderbird +#Group: System/Internationalization +#Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} +#Obsoletes: %{name}-i18n-nn +#Provides: %{name}-i18n-nn = %{?epoch:%epoch:}%{version}-%{release} + +#%description i18n-nn-NO +#Norwegian Nynorsk language support for Thunderbird. + +#%files i18n-nn-NO +#%defattr(-,root,root) +#%{tbdir}/extensions/langpack-nn-NO@thunderbird.mozilla.org/ + +#%package i18n-pa-IN +#Summary: Punjabi (IN) language support for Thunderbird +#Group: System/Internationalization +#Provides: %{name}-i18n-pa-IN = %{?epoch:%epoch:}%{version}-%{release} +#Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} +#Obsoletes: %{name}-i18n-pa +#Provides: %{name}-i18n-pa = %{?epoch:%epoch:}%{version}-%{release} + +#%description i18n-pa-IN +#Punjabi (IN) language support for Thunderbird. + +#%files i18n-pa-IN +#%defattr(-,root,root) +#%{tbdir}/extensions/langpack-pa-IN@thunderbird.mozilla.org/ + +#%package i18n-pl +#Summary: Polish language support for Thunderbird +#Group: System/Internationalization +#Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +#%description i18n-pl +#Polish language support for Thunderbird. + +#%files i18n-pl +#%defattr(-,root,root) +#%{tbdir}/extensions/langpack-pl@thunderbird.mozilla.org/ + +#%package i18n-pt-BR +#Summary: Portuguese (Brazilian) language support for Thunderbird +#Group: System/Internationalization +#Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +#%description i18n-pt-BR +#Portuguese (Brazilian) language support for Thunderbird. + +#%files i18n-pt-BR +#%defattr(-,root,root) +#%{tbdir}/extensions/langpack-pt-BR@thunderbird.mozilla.org/ + +#%package i18n-pt-PT +#Summary: Portuguese language support for Thunderbird +#Group: System/Internationalization +#Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} +#Obsoletes: %{name}-i18n-pt +#Provides: %{name}-i18n-pt = %{?epoch:%epoch:}%{version}-%{release} + +#%description i18n-pt-PT +#Portuguese language support for Thunderbird. + +#%files i18n-pt-PT +#%defattr(-,root,root) +#%{tbdir}/extensions/langpack-pt-PT@thunderbird.mozilla.org/ + +#%package i18n-ro +#Summary: Romanian language support for Thunderbird +#Group: System/Internationalization +#Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +#%description i18n-ro +#Romanian language support for Thunderbird. + +#%files i18n-ro +#%defattr(-,root,root) +#%{tbdir}/extensions/langpack-ro@thunderbird.mozilla.org/ + +#%package i18n-ru +#Summary: Russian language support for Thunderbird +#Group: System/Internationalization +#Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +#%description i18n-ru +#Russian language support for Thunderbird. + +#%files i18n-ru +#%defattr(-,root,root) +#%{tbdir}/extensions/langpack-ru@thunderbird.mozilla.org/ + +#%package i18n-si +#Summary: Sinhala (si-LK) language support for Thunderbird +#Group: System/Internationalization +#Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +#%description i18n-si +#Sinhala (si-LK) language support for Thunderbird. + +#%files i18n-si +#%defattr(-,root,root) +#%{tbdir}/extensions/langpack-si@thunderbird.mozilla.org/ + +#%package i18n-sk +#Summary: Slovak language support for Thunderbird +#Group: System/Internationalization +#Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +#%description i18n-sk +#Slovak language support for Thunderbird. + +#%files i18n-sk +#%defattr(-,root,root) +#%{tbdir}/extensions/langpack-sk@thunderbird.mozilla.org/ + +#%package i18n-sl +#Summary: Slovenian language support for Thunderbird +#Group: System/Internationalization +#Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +#%description i18n-sl +#Slovenian language support for Thunderbird. + +#%files i18n-sl +#%defattr(-,root,root) +#%{tbdir}/extensions/langpack-sl@thunderbird.mozilla.org/ + +#%package i18n-sq +#Summary: Albanian language support for Thunderbird +#Group: System/Internationalization +#Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +#%description i18n-sq +#Albanian language support for Thunderbird. + +#%files i18n-sq +#%defattr(-,root,root) +#%{tbdir}/extensions/langpack-sq@thunderbird.mozilla.org/ + +#%package i18n-sr +#Summary: Српски (sr) language support for Thunderbird +#Group: System/Internationalization +#Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +#%description i18n-sr +#Српски (sr) language support for Thunderbird. + +#%files i18n-sr +#%defattr(-,root,root) +#%{tbdir}/extensions/langpack-sr@thunderbird.mozilla.org/ + +#%package i18n-sv-SE +#Summary: Swedish language support for Thunderbird +#Group: System/Internationalization +#Provides: %{name}-i18n-sv-SE = %{?epoch:%epoch:}%{version}-%{release} +#Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} +#Obsoletes: %{name}-i18n-sv +#Provides: %{name}-i18n-sv = %{?epoch:%epoch:}%{version}-%{release} + +#%description i18n-sv-SE +#Swedish language support for Thunderbird. + +#%files i18n-sv-SE +#%defattr(-,root,root) +#%{tbdir}/extensions/langpack-sv-SE@thunderbird.mozilla.org/ + +#%package i18n-ta-LK +#Summary: Tamil (Sri Lanka) language support for Thunderbird +#Group: System/Internationalization +#Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +#%description i18n-ta-LK +#Tamil (Sri Lanka) language support for Thunderbird. + +#%files i18n-ta-LK +#%defattr(-,root,root) +#%{tbdir}/extensions/langpack-ta-LK@thunderbird.mozilla.org/ + +#%package i18n-tr +#Summary: Turkish language support for Thunderbird +#Group: System/Internationalization +#Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +#%description i18n-tr +#Turkish language support for Thunderbird. + +#%files i18n-tr +#%defattr(-,root,root) +#%{tbdir}/extensions/langpack-tr@thunderbird.mozilla.org/ + +#%package i18n-uk +#Summary: Ukrainian (UA) language support for Thunderbird +#Group: System/Internationalization +#Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +#%description i18n-uk +#Ukrainian (UA) language support for Thunderbird. + +#%files i18n-uk +#%defattr(-,root,root) +#%{tbdir}/extensions/langpack-uk@thunderbird.mozilla.org/ + +#%package i18n-vi +#Summary: Tiếng Việt (VN) language support for Thunderbird +#Group: System/Internationalization +#Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +#%description i18n-vi +#Tiếng Việt (VN) language support for Thunderbird + +#%files i18n-vi +#%defattr(-,root,root) +#%{tbdir}/extensions/langpack-vi@thunderbird.mozilla.org/ + +#%package i18n-zh-CN +#Summary: Chinese (Simplified) language support for Thunderbird +#Group: System/Internationalization +#Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +#%description i18n-zh-CN +#Chinese (Simplified) language support for Thunderbird. + +#%files i18n-zh-CN +#%defattr(-,root,root) +#%{tbdir}/extensions/langpack-zh-CN@thunderbird.mozilla.org/ + +#%package i18n-zh-TW +#Summary: Chinese (Traditional) language support for Thunderbird +#Group: System/Internationalization +#Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +#%description i18n-zh-TW +#Chinese (Traditional) language support for Thunderbird. + +#%files i18n-zh-TW +#%defattr(-,root,root) +#%{tbdir}/extensions/langpack-zh-TW@thunderbird.mozilla.org/ + +%changelog +* Sat Aug 10 2013 Automatic Build System 17.0.8-1mamba +- automatic version update by autodist + +* Mon Jul 15 2013 Automatic Build System 17.0.7-1mamba +- automatic version update by autodist + +* Sat May 18 2013 Automatic Build System 17.0.6-1mamba +- automatic version update by autodist + +* Sat Apr 06 2013 Automatic Build System 17.0.5-1mamba +- automatic version update by autodist + +* Tue Mar 12 2013 Automatic Build System 17.0.4-1mamba +- automatic version update by autodist + +* Wed Feb 27 2013 Automatic Build System 17.0.3-1mamba +- automatic version update by autodist + +* Fri Jan 11 2013 Automatic Build System 17.0.2-1mamba +- automatic version update by autodist + +* Wed Nov 21 2012 Automatic Build System 17.0-1mamba +- automatic version update by autodist + +* Wed Oct 31 2012 Automatic Build System 16.0.2-1mamba +- automatic version update by autodist + +* Sat Oct 13 2012 Automatic Build System 16.0.1-1mamba +- automatic version update by autodist + +* Tue Sep 11 2012 Automatic Build System 15.0.1-1mamba +- automatic version update by autodist + +* Sat Sep 01 2012 Automatic Build System 15.0-1mamba +- automatic version update by autodist + +* Tue Jul 17 2012 Automatic Build System 14.0-1mamba +- automatic version update by autodist + +* Wed Jun 20 2012 Automatic Build System 13.0.1-1mamba +- automatic version update by autodist + +* Tue Jun 12 2012 Automatic Build System 13.0-1mamba +- automatic version update by autodist + +* Thu Apr 12 2012 Automatic Build System 11.0.1-1mamba +- automatic version update by autodist + +* Thu Apr 12 2012 Automatic Build System 11.0-1mamba +- automatic version update by autodist + +* Thu Nov 17 2011 Automatic Build System 8.0-1mamba +- automatic version update by autodist + +* Tue Oct 11 2011 Automatic Build System 7.0.1-1mamba +- automatic version update by autodist + +* Tue Sep 20 2011 Automatic Build System 6.0.2-1mamba +- automatic version update by autodist + +* Wed Aug 24 2011 Silvan Calarco 6.0-2mamba +- added devel package +- don't provide internal xul libraries also in sdk directory + +* Sun Aug 21 2011 Automatic Build System 6.0-1mamba +- automatic version update by autodist + +* Sun Apr 10 2011 Ercole 'ercolinux' Carpanetto 3.1.9-4mamba +- changed libjpeg-turbo in libjpeg buildrequirement +- rebuilt with --enable-system-sqlite, the new libsqlite fix the SQLITE_SECURE_DELETE bug + +* Tue Mar 22 2011 gil 3.1.9-3mamba +- add gio support and remove libgnome-vfs support + +* Wed Mar 16 2011 gil 3.1.9-2mamba +- rebuilt with new libhunspell 1.3.2 + +* Wed Mar 09 2011 gil 3.1.9-1mamba +- update to 3.1.9 + +* Fri Dec 10 2010 gil 3.1.7-1mamba +- update to 3.1.7 + +* Sun Nov 28 2010 gil 3.1.6-3mamba +- build thunderbird lightning extension + +* Mon Nov 08 2010 Silvan Calarco 3.1.6-2mamba +- removed ac_add_options --enable-system-sqlite to avoid the bug with the SQLITE_SECURE_DELETE directive + +* Fri Oct 29 2010 gil 3.1.6-1mamba +- update to 3.1.6 + +* Sun Oct 24 2010 gil 3.1.5-1mamba +- update to 3.1.5 + +* Sat Oct 09 2010 gil 3.1.4-1mamba +- update to 3.1.4 + +* Thu Sep 16 2010 gil 3.1.3-1mamba +- update to 3.1.3 + +* Sun Jul 25 2010 gil 3.1.1-1mamba +- update to 3.1.1 + +* Mon Jun 28 2010 gil 3.1-1mamba +- update to 3.1 (codename Lanikai beach) + +* Fri Apr 02 2010 gil 3.0.4-1mamba +- update to 3.0.4 + +* Tue Mar 02 2010 gil 3.0.3-2mamba +- fix launch URL from Thunderbird 3.x to external browser + +* Tue Mar 02 2010 gil 3.0.3-1mamba +- update to 3.0.3 + +* Mon Jan 25 2010 gil 3.0.1-1mamba +- update to 3.0.1 + +* Wed Dec 23 2009 gil 3.0-4mamba +- edit configure options + +* Mon Dec 21 2009 gil 3.0-3mamba +- edit configure options + +* Mon Dec 21 2009 gil 3.0-2mamba +- rebuilt with system mozldap + +* Thu Dec 10 2009 gil 3.0-1mamba +- update to 3.0 +- edit spec file +- added thunderbird-script + +* Sat Aug 22 2009 gil 2.0.0.23-1mamba +- update to 2.0.0.23 + +* Wed Jun 24 2009 gil 2.0.0.22-1mamba +- update to 2.0.0.22 + +* Fri Mar 20 2009 gil 2.0.0.21-1mamba +- update to 2.0.0.21 + +* Fri Jan 02 2009 Silvan Calarco 2.0.0.19-1mamba +- automatic update to 2.0.0.19 by autodist + +* Wed Dec 03 2008 gil 2.0.0.18-2mamba +- edit prefs.js + +* Thu Nov 20 2008 Silvan Calarco 2.0.0.18-1mamba +- update to 2.0.0.18 + +* Fri Sep 26 2008 gil 2.0.0.17-1mamba +- update to 2.0.0.17 +- edit prefs.js + +* Sat Jul 26 2008 gil 2.0.0.16-1mamba +- update to 2.0.0.16 + +* Tue Jun 24 2008 Silvan Calarco 2.0.0.14-3mamba +- rebuild against system libnss +- change distribution name from "OpenMamba" to "openmamba" + +* Thu May 22 2008 Silvan Calarco 2.0.0.14-2mamba +- fix automatic requirements +- remove conflict for seamonkey +- license field changed from MPL to MPL 1.1 + +* Sat May 03 2008 gil 2.0.0.14-1mamba +- update to 2.0.0.14 +- update thunderbird-2.0.0.14-langpacks +- add new buildrequires: libpixman-devel +- add conflicts: seamonkey + +* Tue Apr 22 2008 Silvan Calarco 2.0.0.12-2mamba +- fixed automatic provides and requirements to avoid conflicts with thunderbird +- fixed group description + +* Wed Apr 09 2008 gil 2.0.0.12-1mamba +- package created by autospec +- copy from thunderbird.spec +- add thunderbird-2.0.0.12-langpacks.tar.bz2 +- add mozilla-thunderbird.desktop +- add mozilla-thunderbird128x128.png +- add MAKEFLAGS="-j1" +- add LDFLAGS='-lX11 -lXrender'